Pull request #9 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than d0b3b46500a58795089dcd695830f2888fc472e1 Obtained Jenkinsfile from 1b057092ee19ade1a8316e5cb795699e1e50525a Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh599885875735730666.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15748173740057967421.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9491349338381510122.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5143239259284385136.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10822352502255323519.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1669 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-9 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit d0b3b46500a58795089dcd695830f2888fc472e1 Merge succeeded, producing d0b3b46500a58795089dcd695830f2888fc472e1 Checking out Revision d0b3b46500a58795089dcd695830f2888fc472e1 (PR-9) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:25:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:25:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:25:51 ========================================================= 09:25:51 EdgeX Global Pipelines Version Info 09:25:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 09:25:52 ------------------- 09:25:52 stable info: 09:25:52 ------------------- 09:25:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:25:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:25:52 Message: update stable to v1.0.258 09:25:53 ------------------- 09:25:53 experimental info: 09:25:53 ------------------- 09:25:53 Commited By: **** collab-it+edgex@linuxfoundation.org 09:25:53 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:25:53 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:25:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b3b46 [Pipeline] echo 09:25:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:54 provisioning config files... 09:25:54 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config6779984323766063662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:54 ---> ****-login.sh 09:25:54 nexus3.edgexfoundry.org:10001 09:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:54 Configure a credential helper to remove this warning. See 09:25:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:54 09:25:54 Login Succeeded 09:25:54 nexus3.edgexfoundry.org:10002 09:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 nexus3.edgexfoundry.org:10003 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 nexus3.edgexfoundry.org:10004 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 ****.io 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 ---> ****-login.sh ends [Pipeline] } 09:25:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:25:56 + git rev-list -1 --merges d0b3b46500a58795089dcd695830f2888fc472e1~1..d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo 09:25:56 -----------> git rev-list -1 --merges d0b3b46500a58795089dcd695830f2888fc472e1~1..d0b3b46500a58795089dcd695830f2888fc472e1 d0b3b46500a58795089dcd695830f2888fc472e1 [false] [Pipeline] sh 09:25:56 + git log --format=format:%s -1 d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo 09:25:56 ========================================================= 09:25:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:25:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:57 + git log --format=format:%s -1 d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo 09:25:57 [semverPrep] GIT_COMMIT: d0b3b46500a58795089dcd695830f2888fc472e1, Commit Message: fix: fix test process [Pipeline] echo 09:25:57 [semverPrep] This is not a build commit. [Pipeline] sh 09:25:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:25:57 + grep -v github /etc/ssh/ssh_known_hosts 09:25:57 + [ -e /tmp/ssh_known_hosts ] 09:25:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:25:57 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:25:57 sudo tee -a /etc/ssh/ssh_known_hosts 09:25:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:57 09:25:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:58 0.1.4: Pulling from edgex-devops/py-git-semver 09:25:58 b85a868b505f: Pulling fs layer 09:25:58 e2be974225ed: Pulling fs layer 09:25:58 339a4e72a1f5: Pulling fs layer 09:25:58 988bab9f4d93: Pulling fs layer 09:25:58 1469e6f7b9e6: Pulling fs layer 09:25:58 eaf3925da568: Pulling fs layer 09:25:58 bab4dde63d76: Pulling fs layer 09:25:58 bde34c3a00c8: Pulling fs layer 09:25:58 b352a97aabf1: Pulling fs layer 09:25:58 4872d77fe225: Pulling fs layer 09:25:58 5851b861e8e6: Pulling fs layer 09:25:58 988bab9f4d93: Waiting 09:25:58 1469e6f7b9e6: Waiting 09:25:58 5851b861e8e6: Waiting 09:25:58 b352a97aabf1: Waiting 09:25:58 eaf3925da568: Waiting 09:25:58 bde34c3a00c8: Waiting 09:25:58 e2be974225ed: Download complete 09:25:58 988bab9f4d93: Verifying Checksum 09:25:58 988bab9f4d93: Download complete 09:25:58 339a4e72a1f5: Verifying Checksum 09:25:58 339a4e72a1f5: Download complete 09:25:58 1469e6f7b9e6: Verifying Checksum 09:25:58 1469e6f7b9e6: Download complete 09:25:58 eaf3925da568: Verifying Checksum 09:25:58 eaf3925da568: Download complete 09:25:58 bde34c3a00c8: Download complete 09:25:58 b352a97aabf1: Download complete 09:25:58 4872d77fe225: Verifying Checksum 09:25:58 4872d77fe225: Download complete 09:25:58 5851b861e8e6: Verifying Checksum 09:25:58 5851b861e8e6: Download complete 09:25:58 b85a868b505f: Download complete 09:25:58 bab4dde63d76: Verifying Checksum 09:25:58 bab4dde63d76: Download complete 09:25:59 b85a868b505f: Pull complete 09:25:59 e2be974225ed: Pull complete 09:26:00 339a4e72a1f5: Pull complete 09:26:00 988bab9f4d93: Pull complete 09:26:00 1469e6f7b9e6: Pull complete 09:26:00 eaf3925da568: Pull complete 09:26:02 bab4dde63d76: Pull complete 09:26:02 bde34c3a00c8: Pull complete 09:26:02 b352a97aabf1: Pull complete 09:26:02 4872d77fe225: Pull complete 09:26:02 5851b861e8e6: Pull complete 09:26:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:26:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:02 prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container 09:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:26:05 $ docker top 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 -eo pid,comm 09:26:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:26:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:05 [ssh-agent] Looking for ssh-agent implementation... 09:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:05 $ docker exec 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent 09:26:05 SSH_AUTH_SOCK=/tmp/ssh-CP27KJEWZcp5/agent.32 09:26:05 SSH_AGENT_PID=38 09:26:05 Running ssh-add (command line suppressed) 09:26:06 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5970407196210826900.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5970407196210826900.key) 09:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:06 + git tag --points-at HEAD [Pipeline] } 09:26:06 $ docker exec --env ******** --env ******** 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent -k 09:26:06 unset SSH_AUTH_SOCK; 09:26:06 unset SSH_AGENT_PID; 09:26:06 echo Agent pid 38 killed; 09:26:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:26:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:06 [ssh-agent] Looking for ssh-agent implementation... 09:26:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:06 $ docker exec 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent 09:26:06 SSH_AUTH_SOCK=/tmp/ssh-PNDjYGCcZVaE/agent.70 09:26:06 SSH_AGENT_PID=76 09:26:06 Running ssh-add (command line suppressed) 09:26:06 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5304279786407026502.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5304279786407026502.key) 09:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:07 + git semver init 09:26:07 2024-02-25 09:26:07,359 [run_init] DEBUG init version:0.0.0 force:False 09:26:07 2024-02-25 09:26:07,360 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:26:07 2024-02-25 09:26:07,360 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:26:07 2024-02-25 09:26:07,360 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-9/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9, universal_newlines=False, shell=None, istream=None) 09:26:08 2024-02-25 09:26:08,005 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude 09:26:08 2024-02-25 09:26:08,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False 09:26:08 2024-02-25 09:26:08,005 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:26:08 2024-02-25 09:26:08,009 [execute] INFO git cat-file --batch-check 09:26:08 2024-02-25 09:26:08,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:26:08 2024-02-25 09:26:08,015 [execute] INFO git cat-file --batch 09:26:08 2024-02-25 09:26:08,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:26:08 2024-02-25 09:26:08,020 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:26:08 0.0.0 [Pipeline] } 09:26:08 $ docker exec --env ******** --env ******** 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent -k 09:26:08 unset SSH_AUTH_SOCK; 09:26:08 unset SSH_AGENT_PID; 09:26:08 echo Agent pid 76 killed; 09:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:08 + git semver [Pipeline] } 09:26:09 $ docker stop --time=1 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 09:26:10 $ docker rm -f --volumes 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 [Pipeline] // withDockerContainer [Pipeline] sh 09:26:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:26:10 Stashed 1 file(s) [Pipeline] echo 09:26:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:11 provisioning config files... 09:26:11 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config10493592999982611159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:11 ---> ****-login.sh 09:26:11 nexus3.edgexfoundry.org:10001 09:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:11 Configure a credential helper to remove this warning. See 09:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:11 09:26:11 Login Succeeded 09:26:11 nexus3.edgexfoundry.org:10002 09:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:11 Configure a credential helper to remove this warning. See 09:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:11 09:26:11 Login Succeeded 09:26:11 nexus3.edgexfoundry.org:10003 09:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:11 Configure a credential helper to remove this warning. See 09:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:11 09:26:11 Login Succeeded 09:26:11 nexus3.edgexfoundry.org:10004 09:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:11 Configure a credential helper to remove this warning. See 09:26:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:11 09:26:11 Login Succeeded 09:26:11 ****.io 09:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:12 Configure a credential helper to remove this warning. See 09:26:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:12 09:26:12 Login Succeeded 09:26:12 ---> ****-login.sh ends [Pipeline] } 09:26:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:26:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:26:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:26:12 ========================================================= 09:26:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:26:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:26:12 Sending build context to Docker daemon 560.6kB 09:26:12 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:26:12 Step 2/10 : FROM ${BASE} AS builder 09:26:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:26:12 7264a8db6415: Pulling fs layer 09:26:12 c4d48a809fc2: Pulling fs layer 09:26:12 4f1c88b9dad5: Pulling fs layer 09:26:12 ad3a456e5733: Pulling fs layer 09:26:12 69c7f0334f64: Pulling fs layer 09:26:12 1f1c1a5573a3: Pulling fs layer 09:26:12 ce7588e14bc9: Pulling fs layer 09:26:12 1f1c1a5573a3: Waiting 09:26:12 b5e4710f87ac: Pulling fs layer 09:26:12 69c7f0334f64: Waiting 09:26:12 ce7588e14bc9: Waiting 09:26:12 b5e4710f87ac: Waiting 09:26:12 c4d48a809fc2: Verifying Checksum 09:26:12 c4d48a809fc2: Download complete 09:26:12 ad3a456e5733: Download complete 09:26:13 69c7f0334f64: Download complete 09:26:13 7264a8db6415: Verifying Checksum 09:26:13 7264a8db6415: Download complete 09:26:13 1f1c1a5573a3: Verifying Checksum 09:26:13 1f1c1a5573a3: Download complete 09:26:13 7264a8db6415: Pull complete 09:26:13 b5e4710f87ac: Verifying Checksum 09:26:13 b5e4710f87ac: Download complete 09:26:13 c4d48a809fc2: Pull complete 09:26:13 4f1c88b9dad5: Download complete 09:26:13 ce7588e14bc9: Verifying Checksum 09:26:13 ce7588e14bc9: Download complete 09:26:16 4f1c88b9dad5: Pull complete 09:26:16 ad3a456e5733: Pull complete 09:26:16 69c7f0334f64: Pull complete 09:26:16 1f1c1a5573a3: Pull complete 09:26:18 ce7588e14bc9: Pull complete 09:26:19 b5e4710f87ac: Pull complete 09:26:19 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 09:26:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:26:19 ---> 88b5674ff536 09:26:19 Step 3/10 : ARG MAKE=make build 09:26:24 ---> Running in 11681e587e73 09:26:24 Removing intermediate container 11681e587e73 09:26:24 ---> b265ebe20c03 09:26:24 Step 4/10 : WORKDIR /device-s7 09:26:24 ---> Running in c23c6d4ac59d 09:26:24 Removing intermediate container c23c6d4ac59d 09:26:24 ---> c954140bb888 09:26:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:26:24 ---> Running in 9a9cea01020e 09:26:24 Removing intermediate container 9a9cea01020e 09:26:24 ---> c3e717abe116 09:26:24 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:26:24 ---> Running in 086484f2b4f7 09:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:26:25 OK: 264 MiB in 52 packages 09:26:25 Removing intermediate container 086484f2b4f7 09:26:25 ---> 8b53239d5227 09:26:25 Step 7/10 : COPY go.mod vendor* ./ 09:26:25 ---> ad9a65ae6864 09:26:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:25 ---> Running in f102d4be0b59 09:26:26 Still waiting to schedule task 09:26:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:27:12 Removing intermediate container f102d4be0b59 09:27:12 ---> 27213cf61d3d 09:27:12 Step 9/10 : COPY . . 09:27:12 ---> 4e6d0902177b 09:27:12 Step 10/10 : RUN ${MAKE} 09:27:12 ---> Running in c1a327a2eb3d 09:27:12 noop 09:27:12 Removing intermediate container c1a327a2eb3d 09:27:12 ---> cc260458ddf2 09:27:12 Successfully built cc260458ddf2 09:27:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:13 + docker inspect -f . ci-base-image-x86_64 09:27:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:13 prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container 09:27:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:27:13 $ docker top 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:13 + go version 09:27:13 go version go1.21.0 linux/amd64 [Pipeline] } 09:27:13 $ docker stop --time=1 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a 09:27:15 $ docker rm -f --volumes 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:15 + docker inspect -f . ci-base-image-x86_64 09:27:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:15 prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container 09:27:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:27:16 $ docker top db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh 09:27:16 + make test 09:27:16 go test -race -coverprofile=coverage.out ./... 09:27:23 ? github.com/edgexfoundry/device-s7 [no test files] 09:27:33 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:27:33 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:27:51 go vet ./... 09:27:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:27:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:27:52 ./bin/test-attribution-txt.sh [Pipeline] echo 09:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:27:53 $ docker stop --time=1 db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b 09:27:58 $ docker rm -f --volumes db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b [Pipeline] // withDockerContainer [Pipeline] sh 09:27:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:27:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:27:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:28:00 + ls -al . 09:28:00 total 136 09:28:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:27 . 09:28:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:25 .. 09:28:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:27 .git 09:28:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:25 .github 09:28:00 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:25 .gitignore 09:28:00 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:25 .golangci.yml 09:28:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:26 .semver 09:28:00 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:25 Attribution.txt 09:28:00 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:25 Dockerfile 09:28:00 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:25 Jenkinsfile 09:28:00 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:25 LICENSE 09:28:00 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:25 Makefile 09:28:00 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:25 OWNERS.md 09:28:00 -rw-rw-r-- 1 jenkins jenkins 4079 Feb 25 09:25 README.md 09:28:00 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:26 VERSION 09:28:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:25 bin 09:28:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:25 cmd 09:28:00 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:27 coverage.out 09:28:00 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:25 go.mod 09:28:00 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:25 go.sum 09:28:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:25 internal 09:28:00 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:00 + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 --label arch=amd64 --label version=0.0.0 . 09:28:00 Sending build context to Docker daemon 561.7kB 09:28:00 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:28:00 Step 2/24 : FROM ${BASE} AS builder 09:28:00 ---> cc260458ddf2 09:28:00 Step 3/24 : ARG MAKE=make build 09:28:00 ---> Running in 0d23d2e3629f 09:28:00 Removing intermediate container 0d23d2e3629f 09:28:00 ---> 3b4d01b52e7a 09:28:00 Step 4/24 : WORKDIR /device-s7 09:28:00 ---> Running in 4423674c2e88 09:28:00 Removing intermediate container 4423674c2e88 09:28:00 ---> 31b02f9e1be8 09:28:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:28:00 ---> Running in f3756015d21e 09:28:01 Removing intermediate container f3756015d21e 09:28:01 ---> 50e4a936e285 09:28:01 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:28:01 ---> Running in d4ca9faef733 09:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:28:01 OK: 264 MiB in 52 packages 09:28:01 Removing intermediate container d4ca9faef733 09:28:01 ---> 3d0174e1b8ad 09:28:01 Step 7/24 : COPY go.mod vendor* ./ 09:28:02 ---> 1aa128fcc2fe 09:28:02 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:02 ---> Running in 1c2000e0ef4c 09:28:02 Removing intermediate container 1c2000e0ef4c 09:28:02 ---> b2409640209d 09:28:02 Step 9/24 : COPY . . 09:28:03 ---> 6f114504a8d2 09:28:03 Step 10/24 : RUN ${MAKE} 09:28:03 ---> Running in fd39fe2b148d 09:28:03 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:28:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1670 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws 09:28:13 Running in /w/workspace/device-s7/5 [Pipeline] { [Pipeline] checkout 09:28:13 Selected Git installation does not exist. Using Default 09:28:13 The recommended git tool is: NONE 09:28:22 using credential edgex-jenkins-ssh 09:28:22 Cloning the remote Git repository 09:28:23 Cloning repository git@github.com:edgexfoundry/device-s7.git 09:28:23 > git init /w/workspace/device-s7/5 # timeout=10 09:28:23 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:28:23 > git --version # timeout=10 09:28:23 > git --version # 'git version 2.25.1' 09:28:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:25 Removing intermediate container fd39fe2b148d 09:28:25 ---> 446528999ccd 09:28:25 Step 11/24 : FROM alpine:3.18 09:28:25 3.18: Pulling from library/alpine 09:28:25 619be1103602: Pulling fs layer 09:28:25 619be1103602: Download complete 09:28:25 619be1103602: Pull complete 09:28:25 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:28:25 Status: Downloaded newer image for alpine:3.18 09:28:25 ---> d3782b16ccc9 09:28:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:28:25 ---> Running in 2a9a5eb86bfe 09:28:25 Removing intermediate container 2a9a5eb86bfe 09:28:25 ---> f9767b3cdf55 09:28:25 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:28:25 ---> Running in b0dccccd69b7 09:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:28:25 (1/1) Installing dumb-init (1.2.5-r2) 09:28:25 Executing busybox-1.36.1-r5.trigger 09:28:25 OK: 7 MiB in 16 packages 09:28:25 Removing intermediate container b0dccccd69b7 09:28:25 ---> 714b078b255e 09:28:25 Step 14/24 : RUN apk --no-cache upgrade 09:28:25 ---> Running in 501d643f389b 09:28:24 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:28:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:28:26 OK: 7 MiB in 16 packages 09:28:26 Removing intermediate container 501d643f389b 09:28:26 ---> 2088a35c1d13 09:28:26 Step 15/24 : WORKDIR / 09:28:26 ---> Running in 2633ecc0d38f 09:28:26 Removing intermediate container 2633ecc0d38f 09:28:26 ---> 0a4d5219b6b6 09:28:26 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:28:26 ---> 215a6e95c4bd 09:28:26 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:28:27 ---> 6b4ec48be331 09:28:27 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:28:27 ---> d90ac204d36f 09:28:27 Step 19/24 : EXPOSE 59994 09:28:27 ---> Running in af5c2697c6f9 09:28:27 Removing intermediate container af5c2697c6f9 09:28:27 ---> f33c097cf855 09:28:27 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:28:27 ---> Running in 580b1fab49b6 09:28:27 Removing intermediate container 580b1fab49b6 09:28:27 ---> 1d793f0f1ac7 09:28:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:28:27 ---> Running in 6e4ccf49a6c6 09:28:28 Removing intermediate container 6e4ccf49a6c6 09:28:28 ---> 5f386c7beecb 09:28:28 Step 22/24 : LABEL arch=amd64 09:28:28 ---> Running in 0f6cd545b388 09:28:28 Removing intermediate container 0f6cd545b388 09:28:28 ---> 4565dafecb4d 09:28:28 Step 23/24 : LABEL git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 09:28:28 ---> Running in 2ace15646977 09:28:28 Removing intermediate container 2ace15646977 09:28:28 ---> 98e342f3995b 09:28:28 Step 24/24 : LABEL version=0.0.0 09:28:28 ---> Running in f5b76430f41d 09:28:28 Removing intermediate container f5b76430f41d 09:28:28 ---> 03b0e9049b8e 09:28:28 [Warning] One or more build-args [ARCH] were not consumed 09:28:28 Successfully built 03b0e9049b8e 09:28:28 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 09:28:28 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit d0b3b46500a58795089dcd695830f2888fc472e1 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:28 Merge succeeded, producing d0b3b46500a58795089dcd695830f2888fc472e1 09:28:28 Checking out Revision d0b3b46500a58795089dcd695830f2888fc472e1 (PR-9) 09:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:28:29 09:28:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:28:29 latest: Pulling from edgex-lftools-log-publisher 09:28:29 5eb5b503b376: Pulling fs layer 09:28:29 5c69ac0246d0: Pulling fs layer 09:28:29 ec43610c2a17: Pulling fs layer 09:28:29 3a2ae6a8a46f: Pulling fs layer 09:28:29 33b1e0a273af: Pulling fs layer 09:28:29 5d3b04190fa2: Pulling fs layer 09:28:29 2f39f015ded8: Pulling fs layer 09:28:29 5d3b04190fa2: Waiting 09:28:29 33b1e0a273af: Waiting 09:28:29 2f39f015ded8: Waiting 09:28:29 3a2ae6a8a46f: Waiting 09:28:29 5c69ac0246d0: Verifying Checksum 09:28:29 5c69ac0246d0: Download complete 09:28:29 3a2ae6a8a46f: Download complete 09:28:29 33b1e0a273af: Verifying Checksum 09:28:29 33b1e0a273af: Download complete 09:28:29 5d3b04190fa2: Download complete 09:28:29 ec43610c2a17: Verifying Checksum 09:28:29 ec43610c2a17: Download complete 09:28:27 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:28:27 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:28:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:28:28 > git config core.sparsecheckout # timeout=10 09:28:28 > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 09:28:28 > git remote # timeout=10 09:28:28 > git config --get remote.origin.url # timeout=10 09:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:28 > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 09:28:28 > git rev-parse HEAD^{commit} # timeout=10 09:28:28 > git config core.sparsecheckout # timeout=10 09:28:28 > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 09:28:29 5eb5b503b376: Download complete 09:28:30 2f39f015ded8: Verifying Checksum 09:28:30 2f39f015ded8: Download complete 09:28:30 5eb5b503b376: Pull complete 09:28:30 5c69ac0246d0: Pull complete 09:28:31 ec43610c2a17: Pull complete 09:28:31 3a2ae6a8a46f: Pull complete 09:28:31 33b1e0a273af: Pull complete 09:28:31 5d3b04190fa2: Pull complete 09:28:32 Commit message: "fix: fix test process" 09:28:32 09:28:32 GitHub has been notified of this commit’s build result 09:28:32 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:28:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:28:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:28:33 Dload Upload Total Spent Left Speed 09:28:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 09:28:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:28:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:28:34 + sudo tee /etc/docker/daemon.new 09:28:34 { 09:28:34 "registry-mirrors": [ 09:28:34 "https://nexus3.edgexfoundry.org:10001" 09:28:34 ], 09:28:34 "bip": "10.250.0.254/24", 09:28:34 "hosts": [ 09:28:34 "tcp://0.0.0.0:5555", 09:28:34 "unix:///var/run/docker.sock" 09:28:34 ], 09:28:34 "mtu": 1458, 09:28:34 "selinux-enabled": true, 09:28:34 "seccomp-profile": "/etc/docker/seccomp.json" 09:28:34 } [Pipeline] sh 09:28:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:28:35 + sudo service docker restart 09:28:36 2f39f015ded8: Pull complete 09:28:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:28:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:28:36 prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container 09:28:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:28:40 $ docker top c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:45 ---> job-cost.sh 09:28:45 lf-activate-venv: SKIPPING 09:28:45 INFO: No Stack... 09:28:45 INFO: Retrieving Pricing Info for: v3-standard-8 09:28:45 INFO: Archiving Costs [Pipeline] sh 09:28:45 + + cut -d, -f6cat 09:28:45 /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [Pipeline] lock 09:28:45 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] 09:28:45 Resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] did not exist. Created. 09:28:45 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:28:46 + echo total: 0.2199999988079071 [Pipeline] stash 09:28:46 Stashed 1 file(s) [Pipeline] } 09:28:46 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:28:46 $ docker stop --time=1 c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 09:28:47 $ docker rm -f --volumes c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:53 provisioning config files... 09:28:53 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/5@tmp/config10786605755678101996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:53 ---> ****-login.sh 09:28:53 nexus3.edgexfoundry.org:10001 09:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:54 Configure a credential helper to remove this warning. See 09:28:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:54 09:28:54 Login Succeeded 09:28:54 nexus3.edgexfoundry.org:10002 09:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:55 Configure a credential helper to remove this warning. See 09:28:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:55 09:28:55 Login Succeeded 09:28:55 nexus3.edgexfoundry.org:10003 09:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:55 Configure a credential helper to remove this warning. See 09:28:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:55 09:28:55 Login Succeeded 09:28:55 nexus3.edgexfoundry.org:10004 09:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:55 Configure a credential helper to remove this warning. See 09:28:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:55 09:28:55 Login Succeeded 09:28:55 ****.io 09:28:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:56 Configure a credential helper to remove this warning. See 09:28:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:56 09:28:56 Login Succeeded 09:28:56 ---> ****-login.sh ends [Pipeline] } 09:28:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:56 ========================================================= 09:28:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:28:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:28:57 Sending build context to Docker daemon 421.9kB 09:28:57 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:28:57 Step 2/10 : FROM ${BASE} AS builder 09:28:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:28:57 9fda8d8052c6: Pulling fs layer 09:28:57 5d54e960e981: Pulling fs layer 09:28:57 c4a7e357bf2a: Pulling fs layer 09:28:57 f0e02332f6b5: Pulling fs layer 09:28:57 872ee5b61b7b: Pulling fs layer 09:28:57 0c6a40ed1a82: Pulling fs layer 09:28:57 94ae7d8d031c: Pulling fs layer 09:28:57 f0e02332f6b5: Waiting 09:28:57 872ee5b61b7b: Waiting 09:28:57 0c6a40ed1a82: Waiting 09:28:57 94ae7d8d031c: Waiting 09:28:57 5d54e960e981: Verifying Checksum 09:28:57 5d54e960e981: Download complete 09:28:57 f0e02332f6b5: Verifying Checksum 09:28:57 f0e02332f6b5: Download complete 09:28:57 872ee5b61b7b: Verifying Checksum 09:28:57 872ee5b61b7b: Download complete 09:28:57 9fda8d8052c6: Download complete 09:28:58 94ae7d8d031c: Verifying Checksum 09:28:58 94ae7d8d031c: Download complete 09:28:58 9fda8d8052c6: Pull complete 09:28:59 5d54e960e981: Pull complete 09:28:59 c4a7e357bf2a: Verifying Checksum 09:28:59 c4a7e357bf2a: Download complete 09:29:01 0c6a40ed1a82: Verifying Checksum 09:29:01 0c6a40ed1a82: Download complete 09:29:13 c4a7e357bf2a: Pull complete 09:29:13 f0e02332f6b5: Pull complete 09:29:13 872ee5b61b7b: Pull complete 09:29:21 0c6a40ed1a82: Pull complete 09:29:23 94ae7d8d031c: Pull complete 09:29:23 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:29:23 ---> 86de565de09d 09:29:23 Step 3/10 : ARG MAKE=make build 09:29:24 ---> Running in 79e0a8474a50 09:29:25 Removing intermediate container 79e0a8474a50 09:29:25 ---> 298735b6a2d1 09:29:25 Step 4/10 : WORKDIR /device-s7 09:29:25 ---> Running in 03e207fa96ba 09:29:25 Removing intermediate container 03e207fa96ba 09:29:25 ---> 909bcb540b9e 09:29:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:29:25 ---> Running in 4eb30aa2a1f0 09:29:25 Removing intermediate container 4eb30aa2a1f0 09:29:25 ---> 028bea7d687a 09:29:25 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:29:25 ---> Running in 99f918cbeb13 09:29:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:29:28 OK: 266 MiB in 52 packages 09:29:29 Removing intermediate container 99f918cbeb13 09:29:29 ---> 926c6a268b25 09:29:29 Step 7/10 : COPY go.mod vendor* ./ 09:29:29 ---> 0f031f23346f 09:29:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:29 ---> Running in 78c1edc09157 09:30:51 Removing intermediate container 78c1edc09157 09:30:51 ---> 8c409f3016fc 09:30:51 Step 9/10 : COPY . . 09:30:51 ---> 3f59e0827850 09:30:51 Step 10/10 : RUN ${MAKE} 09:30:51 ---> Running in f4d20ca3d394 09:30:51 noop 09:30:51 Removing intermediate container f4d20ca3d394 09:30:51 ---> 43e4aef3db22 09:30:51 Successfully built 43e4aef3db22 09:30:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:51 + docker inspect -f . ci-base-image-arm64 09:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:52 prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container 09:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:53 $ docker top c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:54 + go version 09:30:54 go version go1.21.0 linux/arm64 [Pipeline] } 09:30:54 $ docker stop --time=1 c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 09:30:55 $ docker rm -f --volumes c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:56 + docker inspect -f . ci-base-image-arm64 09:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container 09:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:30:58 $ docker top 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:58 + git config --global --add safe.directory /w/workspace/device-s7/5 [Pipeline] fileExists [Pipeline] sh 09:30:59 + make test 09:30:59 go test -race -coverprofile=coverage.out ./... 09:31:31 ? github.com/edgexfoundry/device-s7 [no test files] 09:33:08 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:33:08 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:33:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:33:08 go vet ./... 09:34:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:34:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:34:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:34:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:34:46 $ docker stop --time=1 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 09:34:48 $ docker rm -f --volumes 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:34:49 Warning: overwriting stash ‘coverage-report’ 09:34:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:51 + ls -al . 09:34:51 total 132 09:34:51 drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:31 . 09:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:28 .. 09:34:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:28 .git 09:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:28 .github 09:34:51 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:28 .gitignore 09:34:51 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:28 .golangci.yml 09:34:51 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:28 Attribution.txt 09:34:51 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:28 Dockerfile 09:34:51 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:28 Jenkinsfile 09:34:51 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:28 LICENSE 09:34:51 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:28 Makefile 09:34:51 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:28 OWNERS.md 09:34:51 -rw-rw-r-- 1 jenkins jenkins 4079 Feb 25 09:28 README.md 09:34:51 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:26 VERSION 09:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:28 bin 09:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:28 cmd 09:34:51 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:31 coverage.out 09:34:51 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:28 go.mod 09:34:51 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:28 go.sum 09:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:28 internal 09:34:51 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:51 + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 --label arch=arm64 --label version=0.0.0 . 09:34:51 Sending build context to Docker daemon 422.9kB 09:34:51 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:34:51 Step 2/24 : FROM ${BASE} AS builder 09:34:51 ---> 43e4aef3db22 09:34:51 Step 3/24 : ARG MAKE=make build 09:34:52 ---> Running in 476ee340f41d 09:34:52 Removing intermediate container 476ee340f41d 09:34:52 ---> 035cceb07ac3 09:34:52 Step 4/24 : WORKDIR /device-s7 09:34:52 ---> Running in dbffdf062d25 09:34:52 Removing intermediate container dbffdf062d25 09:34:52 ---> 0868013e8c50 09:34:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:34:52 ---> Running in 0eb63508d9a5 09:34:52 Removing intermediate container 0eb63508d9a5 09:34:52 ---> 1c4f930bb05a 09:34:52 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:34:53 ---> Running in 0df3a2ccc179 09:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:34:55 OK: 266 MiB in 52 packages 09:34:56 Removing intermediate container 0df3a2ccc179 09:34:56 ---> f370e40fc3cf 09:34:56 Step 7/24 : COPY go.mod vendor* ./ 09:34:56 ---> 22fb3fbf59ff 09:34:56 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:56 ---> Running in 09309155c9e6 09:35:03 Removing intermediate container 09309155c9e6 09:35:03 ---> 81c0c080d8a3 09:35:03 Step 9/24 : COPY . . 09:35:03 ---> 6ad408d35b19 09:35:03 Step 10/24 : RUN ${MAKE} 09:35:03 ---> Running in 1b55713dfcbb 09:35:04 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:36:57 Removing intermediate container 1b55713dfcbb 09:36:57 ---> fceceaeacb4a 09:36:57 Step 11/24 : FROM alpine:3.18 09:36:57 3.18: Pulling from library/alpine 09:36:57 c6b39de5b339: Pulling fs layer 09:36:57 c6b39de5b339: Verifying Checksum 09:36:57 c6b39de5b339: Download complete 09:36:57 c6b39de5b339: Pull complete 09:36:57 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:36:57 Status: Downloaded newer image for alpine:3.18 09:36:57 ---> 33abbf032149 09:36:57 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:36:57 ---> Running in a14b550dff9b 09:36:57 Removing intermediate container a14b550dff9b 09:36:57 ---> ee5edc947eec 09:36:57 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:36:57 ---> Running in f801e655ffd4 09:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:36:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:36:57 (1/1) Installing dumb-init (1.2.5-r2) 09:36:57 Executing busybox-1.36.1-r5.trigger 09:36:57 OK: 8 MiB in 16 packages 09:36:59 Removing intermediate container f801e655ffd4 09:36:59 ---> e264738d4144 09:36:59 Step 14/24 : RUN apk --no-cache upgrade 09:36:59 ---> Running in a62fb61b2b39 09:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:37:01 OK: 8 MiB in 16 packages 09:37:01 Removing intermediate container a62fb61b2b39 09:37:01 ---> fd596db4ccb4 09:37:01 Step 15/24 : WORKDIR / 09:37:01 ---> Running in 997f9c327f02 09:37:02 Removing intermediate container 997f9c327f02 09:37:02 ---> ac40eb2a4a7d 09:37:02 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:37:02 ---> 17592f7ed71f 09:37:02 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:37:04 ---> 3dc757e43cde 09:37:04 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:37:04 ---> 45f1381c641b 09:37:04 Step 19/24 : EXPOSE 59994 09:37:04 ---> Running in 9a4f8a60e23d 09:37:04 Removing intermediate container 9a4f8a60e23d 09:37:04 ---> d030f6a4f892 09:37:04 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:37:05 ---> Running in 09c44d6d43a8 09:37:05 Removing intermediate container 09c44d6d43a8 09:37:05 ---> a7927c946416 09:37:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:37:05 ---> Running in 6f0e0045ff50 09:37:05 Removing intermediate container 6f0e0045ff50 09:37:05 ---> 97b951b0b36e 09:37:05 Step 22/24 : LABEL arch=arm64 09:37:05 ---> Running in 3ee347011ea1 09:37:05 Removing intermediate container 3ee347011ea1 09:37:05 ---> d463a973fb08 09:37:05 Step 23/24 : LABEL git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 09:37:05 ---> Running in ab6c11b52750 09:37:06 Removing intermediate container ab6c11b52750 09:37:06 ---> de2555c27b8c 09:37:06 Step 24/24 : LABEL version=0.0.0 09:37:06 ---> Running in 1cd4aa514b4f 09:37:06 Removing intermediate container 1cd4aa514b4f 09:37:06 ---> 6e80f9104564 09:37:06 [Warning] One or more build-args [ARCH] were not consumed 09:37:06 Successfully built 6e80f9104564 09:37:06 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:07 09:37:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:07 arm64: Pulling from edgex-lftools-log-publisher 09:37:07 8998bd30e6a1: Pulling fs layer 09:37:07 04944245beec: Pulling fs layer 09:37:07 699f458cf7ca: Pulling fs layer 09:37:07 765212b225bb: Pulling fs layer 09:37:07 f23df028b6ca: Pulling fs layer 09:37:07 d65c8cfc05b1: Pulling fs layer 09:37:07 2437ff75d9bd: Pulling fs layer 09:37:07 765212b225bb: Waiting 09:37:07 f23df028b6ca: Waiting 09:37:07 d65c8cfc05b1: Waiting 09:37:07 2437ff75d9bd: Waiting 09:37:08 04944245beec: Verifying Checksum 09:37:08 04944245beec: Download complete 09:37:08 765212b225bb: Verifying Checksum 09:37:08 765212b225bb: Download complete 09:37:08 f23df028b6ca: Download complete 09:37:08 d65c8cfc05b1: Verifying Checksum 09:37:08 d65c8cfc05b1: Download complete 09:37:08 699f458cf7ca: Verifying Checksum 09:37:08 699f458cf7ca: Download complete 09:37:08 8998bd30e6a1: Verifying Checksum 09:37:08 8998bd30e6a1: Download complete 09:37:11 2437ff75d9bd: Verifying Checksum 09:37:11 2437ff75d9bd: Download complete 09:37:13 8998bd30e6a1: Pull complete 09:37:13 04944245beec: Pull complete 09:37:14 699f458cf7ca: Pull complete 09:37:15 765212b225bb: Pull complete 09:37:16 f23df028b6ca: Pull complete 09:37:16 d65c8cfc05b1: Pull complete 09:37:34 2437ff75d9bd: Pull complete 09:37:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:37:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:34 prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container 09:37:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-s7/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:37:37 $ docker top c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:38 ---> job-cost.sh 09:37:38 lf-activate-venv: SKIPPING 09:37:38 INFO: No Stack... 09:37:38 INFO: Retrieving Pricing Info for: v3-standard-4 09:37:39 INFO: Archiving Costs [Pipeline] sh 09:37:39 + + cut -d, -f6 09:37:40 cat /w/workspace/device-s7/5/archives/cost.csv [Pipeline] lock 09:37:40 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] 09:37:40 Resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] did not exist. Created. 09:37:40 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:37:40 /w/workspace/device-s7/5@tmp/durable-daf9e2bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:37:41 + echo total: 0.10999999940395355 [Pipeline] stash 09:37:41 Warning: overwriting stash ‘stack-cost’ 09:37:41 Stashed 1 file(s) [Pipeline] } 09:37:41 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:37:41 $ docker stop --time=1 c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 09:37:43 $ docker rm -f --volumes c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:37:45 provisioning config files... 09:37:45 not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:37:46 + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] 09:37:46 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:37:46 total 16 09:37:46 drwxr-xr-x 3 root root 4096 Feb 25 09:28 . 09:37:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:28 .. 09:37:46 drwxr-xr-x 2 root root 4096 Feb 25 09:28 cost 09:37:46 -rw-r--r-- 1 root root 79 Feb 25 09:28 cost.csv 09:37:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:37:46 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:37:46 total 16 09:37:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:28 . 09:37:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:28 .. 09:37:46 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:28 cost 09:37:46 -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:37:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:37:48 ---> package-listing.sh 09:37:48 ++ facter osfamily 09:37:48 ++ tr '[:upper:]' '[:lower:]' 09:37:48 + OS_FAMILY=debian 09:37:48 + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 09:37:48 + START_PACKAGES=/tmp/packages_start.txt 09:37:48 + END_PACKAGES=/tmp/packages_end.txt 09:37:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:37:48 + PACKAGES=/tmp/packages_start.txt 09:37:48 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:37:48 + PACKAGES=/tmp/packages_end.txt 09:37:48 + case "${OS_FAMILY}" in 09:37:48 + grep '^ii' 09:37:48 + dpkg -l 09:37:48 + '[' -f /tmp/packages_start.txt ']' 09:37:48 + '[' -f /tmp/packages_end.txt ']' 09:37:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:48 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:37:48 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ 09:37:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo 09:37:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:37:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:49 prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container 09:37:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:37:49 $ docker top 4b48170d33749b3877ffe49bc74c82d600ecace9087550474b5c6c57d030eba6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:50 + touch /tmp/pre-build-complete [Pipeline] sh 09:37:50 + mkdir -p /var/log/sysstat [Pipeline] sh 09:37:50 + ls /var/log/sa-host 09:37:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:50 provisioning config files... 09:37:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config3925743946915329967tmp [Pipeline] { [Pipeline] echo 09:37:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:51 ---> create-netrc.sh [Pipeline] } 09:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:37:51 ---> python-tools-install.sh [Pipeline] echo 09:37:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:37:51 ---> sudo-logs.sh 09:37:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:37:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:37:52 ---> job-cost.sh 09:37:52 lf-activate-venv: SKIPPING 09:37:52 DEBUG: total: 0.2199999988079071 09:37:52 INFO: Retrieving Stack Cost... 09:37:52 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:53 INFO: Archiving Costs [Pipeline] echo 09:37:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:53 ---> logs-deploy.sh 09:37:53 lf-activate-venv: SKIPPING 09:37:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/5 09:37:53 INFO: archiving workspace using pattern(s): 09:37:54 Archives upload complete. 09:37:54 INFO: archiving logs to Nexus