Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+4d5d7787f034dd5542ee48778370d67321a0492e (8d23a0a2620ab83d541c2d6bf004b031386702f8) 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-ssh15707109270876757900.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh16283378597887000238.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/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-rfid-llrp-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5716941425257526989.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh14734166851446810896.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-rfid-llrp-go/branches/PR-229/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-rfid-llrp-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16893804016904550478.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-rfid-llrp-go, buildSnap:false] ========================================================= [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-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-rfid-llrp 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17360’ Running on prd-ubuntu20.04-docker-8c-8g-17364 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [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-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.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-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d5d7787f034dd5542ee48778370d67321a0492e into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 26b6b66569e79959a925736adff6451eabaa91cd Checking out Revision 26b6b66569e79959a925736adff6451eabaa91cd (PR-229) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.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-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # 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 4d5d7787f034dd5542ee48778370d67321a0492e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26b6b66569e79959a925736adff6451eabaa91cd # timeout=10 Commit message: "Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:40 ========================================================= 21:07:40 EdgeX Global Pipelines Version Info 21:07:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 78bb442a3bdf5a43a9501d3555747cd978b6e06e # timeout=10 21:07:40 ------------------- 21:07:40 stable info: 21:07:40 ------------------- 21:07:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:40 Message: update stable to v1.0.249 21:07:41 ------------------- 21:07:41 experimental info: 21:07:41 ------------------- 21:07:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:41 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26b6b66569e79959a925736adff6451eabaa91cd [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26b6b66 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:41 provisioning config files... 21:07:41 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config11051067206526688086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:42 ---> docker-login.sh 21:07:42 nexus3.edgexfoundry.org:10001 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10002 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10003 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10004 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 docker.io 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:43 Configure a credential helper to remove this warning. See 21:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:43 21:07:43 Login Succeeded 21:07:43 ---> docker-login.sh ends [Pipeline] } 21:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:43 + git rev-list -1 --merges 26b6b66569e79959a925736adff6451eabaa91cd~1..26b6b66569e79959a925736adff6451eabaa91cd [Pipeline] echo 21:07:43 -----------> git rev-list -1 --merges 26b6b66569e79959a925736adff6451eabaa91cd~1..26b6b66569e79959a925736adff6451eabaa91cd 26b6b66569e79959a925736adff6451eabaa91cd 21:07:43 26b6b66569e79959a925736adff6451eabaa91cd [false] [Pipeline] sh 21:07:43 + git log --format=format:%s -1 26b6b66569e79959a925736adff6451eabaa91cd [Pipeline] echo 21:07:43 ========================================================= 21:07:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:44 + git log --format=format:%s -1 26b6b66569e79959a925736adff6451eabaa91cd [Pipeline] echo 21:07:44 [semverPrep] GIT_COMMIT: 26b6b66569e79959a925736adff6451eabaa91cd, Commit Message: Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD [Pipeline] echo 21:07:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:44 + grep -v github /etc/ssh/ssh_known_hosts 21:07:44 + [ -e /tmp/ssh_known_hosts ] 21:07:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:44 21:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:45 b85a868b505f: Pulling fs layer 21:07:45 e2be974225ed: Pulling fs layer 21:07:45 339a4e72a1f5: Pulling fs layer 21:07:45 988bab9f4d93: Pulling fs layer 21:07:45 1469e6f7b9e6: Pulling fs layer 21:07:45 eaf3925da568: Pulling fs layer 21:07:45 bab4dde63d76: Pulling fs layer 21:07:45 bde34c3a00c8: Pulling fs layer 21:07:45 b352a97aabf1: Pulling fs layer 21:07:45 4872d77fe225: Pulling fs layer 21:07:45 5851b861e8e6: Pulling fs layer 21:07:45 988bab9f4d93: Waiting 21:07:45 1469e6f7b9e6: Waiting 21:07:45 eaf3925da568: Waiting 21:07:45 4872d77fe225: Waiting 21:07:45 5851b861e8e6: Waiting 21:07:45 bab4dde63d76: Waiting 21:07:45 b352a97aabf1: Waiting 21:07:45 bde34c3a00c8: Waiting 21:07:45 e2be974225ed: Verifying Checksum 21:07:45 e2be974225ed: Download complete 21:07:45 988bab9f4d93: Verifying Checksum 21:07:45 988bab9f4d93: Download complete 21:07:45 1469e6f7b9e6: Verifying Checksum 21:07:45 1469e6f7b9e6: Download complete 21:07:45 339a4e72a1f5: Verifying Checksum 21:07:45 339a4e72a1f5: Download complete 21:07:45 eaf3925da568: Verifying Checksum 21:07:45 eaf3925da568: Download complete 21:07:45 bde34c3a00c8: Download complete 21:07:45 b352a97aabf1: Download complete 21:07:45 4872d77fe225: Verifying Checksum 21:07:45 4872d77fe225: Download complete 21:07:45 5851b861e8e6: Download complete 21:07:45 b85a868b505f: Verifying Checksum 21:07:45 b85a868b505f: Download complete 21:07:45 bab4dde63d76: Verifying Checksum 21:07:45 bab4dde63d76: Download complete 21:07:46 b85a868b505f: Pull complete 21:07:46 e2be974225ed: Pull complete 21:07:47 339a4e72a1f5: Pull complete 21:07:47 988bab9f4d93: Pull complete 21:07:47 1469e6f7b9e6: Pull complete 21:07:47 eaf3925da568: Pull complete 21:07:49 bab4dde63d76: Pull complete 21:07:49 bde34c3a00c8: Pull complete 21:07:49 b352a97aabf1: Pull complete 21:07:49 4872d77fe225: Pull complete 21:07:49 5851b861e8e6: Pull complete 21:07:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:49 prd-ubuntu20.04-docker-8c-8g-17364 does not seem to be running inside a container 21:07:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:51 $ docker top 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 -eo pid,comm 21:07:51 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). 21:07:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:51 [ssh-agent] Looking for ssh-agent implementation... 21:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:51 $ docker exec 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 ssh-agent 21:07:51 SSH_AUTH_SOCK=/tmp/ssh-wmWpYT5JPHzE/agent.31 21:07:51 SSH_AGENT_PID=37 21:07:51 Running ssh-add (command line suppressed) 21:07:51 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4718507401794246374.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4718507401794246374.key) 21:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:51 + git tag --points-at HEAD [Pipeline] } 21:07:51 $ docker exec --env ******** --env ******** 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 ssh-agent -k 21:07:52 unset SSH_AUTH_SOCK; 21:07:52 unset SSH_AGENT_PID; 21:07:52 echo Agent pid 37 killed; 21:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:52 [ssh-agent] Looking for ssh-agent implementation... 21:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:52 $ docker exec 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 ssh-agent 21:07:52 SSH_AUTH_SOCK=/tmp/ssh-DZOvrftxQKVO/agent.69 21:07:52 SSH_AGENT_PID=75 21:07:52 Running ssh-add (command line suppressed) 21:07:52 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_11485826125199596830.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_11485826125199596830.key) 21:07:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:52 + git semver init 21:07:52 2023-05-30 21:07:52,901 [run_init] DEBUG init version:0.0.0 force:False 21:07:52 2023-05-30 21:07:52,903 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:07:52 2023-05-30 21:07:52,903 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:07:52 2023-05-30 21:07:52,903 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:07:53 2023-05-30 21:07:53,656 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:07:53 2023-05-30 21:07:53,656 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:07:53 2023-05-30 21:07:53,656 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:07:53 2023-05-30 21:07:53,664 [execute] INFO git cat-file --batch-check 21:07:53 2023-05-30 21:07:53,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:07:53 2023-05-30 21:07:53,671 [execute] INFO git cat-file --batch 21:07:53 2023-05-30 21:07:53,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:07:53 2023-05-30 21:07:53,676 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:07:53 0.0.0 [Pipeline] } 21:07:53 $ docker exec --env ******** --env ******** 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 ssh-agent -k 21:07:54 unset SSH_AUTH_SOCK; 21:07:54 unset SSH_AGENT_PID; 21:07:54 echo Agent pid 75 killed; 21:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:54 + git semver [Pipeline] } 21:07:54 $ docker stop --time=1 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 21:07:55 $ docker rm -f --volumes 49ab6d406faca0e95e68a9f5711a7661617ce60e739fd209377cbddcdc49f660 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:56 Stashed 1 file(s) [Pipeline] echo 21:07:56 [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 21:07:56 provisioning config files... 21:07:56 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config3331499661264608881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:56 ---> docker-login.sh 21:07:56 nexus3.edgexfoundry.org:10001 21:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:56 Configure a credential helper to remove this warning. See 21:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:56 21:07:56 Login Succeeded 21:07:56 nexus3.edgexfoundry.org:10002 21:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:56 Configure a credential helper to remove this warning. See 21:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:56 21:07:56 Login Succeeded 21:07:56 nexus3.edgexfoundry.org:10003 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10004 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 docker.io 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 ---> docker-login.sh ends [Pipeline] } 21:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:57 ========================================================= 21:07:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:57 Sending build context to Docker daemon 4.272MB 21:07:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:57 Step 2/12 : FROM ${BASE} AS builder 21:07:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:57 f56be85fc22e: Pulling fs layer 21:07:57 85791d961cd3: Pulling fs layer 21:07:57 d694b5ae8c79: Pulling fs layer 21:07:57 9f32a84ed3da: Pulling fs layer 21:07:57 4d19c01a9841: Pulling fs layer 21:07:57 9325e15d5711: Pulling fs layer 21:07:57 556b6ee489ea: Pulling fs layer 21:07:57 c5a4b2cf53e6: Pulling fs layer 21:07:57 9f32a84ed3da: Waiting 21:07:57 4d19c01a9841: Waiting 21:07:57 9325e15d5711: Waiting 21:07:57 556b6ee489ea: Waiting 21:07:57 c5a4b2cf53e6: Waiting 21:07:57 85791d961cd3: Download complete 21:07:57 9f32a84ed3da: Download complete 21:07:57 f56be85fc22e: Verifying Checksum 21:07:57 f56be85fc22e: Download complete 21:07:57 4d19c01a9841: Verifying Checksum 21:07:57 4d19c01a9841: Download complete 21:07:58 9325e15d5711: Verifying Checksum 21:07:58 9325e15d5711: Download complete 21:07:58 f56be85fc22e: Pull complete 21:07:58 85791d961cd3: Pull complete 21:07:58 c5a4b2cf53e6: Download complete 21:07:58 d694b5ae8c79: Verifying Checksum 21:07:58 d694b5ae8c79: Download complete 21:07:58 556b6ee489ea: Verifying Checksum 21:07:58 556b6ee489ea: Download complete 21:08:02 d694b5ae8c79: Pull complete 21:08:02 9f32a84ed3da: Pull complete 21:08:02 4d19c01a9841: Pull complete 21:08:02 9325e15d5711: Pull complete 21:08:04 556b6ee489ea: Pull complete 21:08:05 c5a4b2cf53e6: Pull complete 21:08:05 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:05 ---> c4be618373d6 21:08:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:06 ---> Running in 0841ef4c661c 21:08:06 Removing intermediate container 0841ef4c661c 21:08:06 ---> 61c40a656287 21:08:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:06 ---> Running in 82f6259d0abd 21:08:06 Removing intermediate container 82f6259d0abd 21:08:06 ---> 0f465dc5e9e8 21:08:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:06 ---> Running in 1dc694884c77 21:08:06 Removing intermediate container 1dc694884c77 21:08:06 ---> 6c12414152a1 21:08:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:06 ---> Running in 7a46fa9ce7c3 21:08:07 Removing intermediate container 7a46fa9ce7c3 21:08:07 ---> 923ca4368590 21:08:07 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:07 ---> Running in 4ab828f8b976 21:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:07 OK: 265 MiB in 53 packages 21:08:07 Removing intermediate container 4ab828f8b976 21:08:07 ---> b9d0b84edf28 21:08:07 Step 8/12 : WORKDIR /app 21:08:08 ---> Running in f7291f1e46dc 21:08:08 Removing intermediate container f7291f1e46dc 21:08:08 ---> 1a78f5640c22 21:08:08 Step 9/12 : COPY go.mod vendor* ./ 21:08:08 ---> 7700c0940ded 21:08:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:08 ---> Running in 91fb23343f58 21:08:11 Still waiting to schedule task 21:08:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17361’ 21:08:26 Removing intermediate container 91fb23343f58 21:08:26 ---> 174df0e44214 21:08:26 Step 11/12 : COPY . . 21:08:26 ---> 44a0cbb188e5 21:08:26 Step 12/12 : RUN $MAKE 21:08:26 ---> Running in 6feb2f84992b 21:08:26 noop 21:08:27 Removing intermediate container 6feb2f84992b 21:08:27 ---> 56ae62b94a4c 21:08:27 Successfully built 56ae62b94a4c 21:08:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:27 + docker inspect -f . ci-base-image-x86_64 21:08:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:27 prd-ubuntu20.04-docker-8c-8g-17364 does not seem to be running inside a container 21:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 ******** ci-base-image-x86_64 cat 21:08:27 $ docker top a8bc46174499d6e9273d7d4553cd45e803ef18fdd7d51260831aa3143556bfbc -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:28 + go version 21:08:28 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:28 $ docker stop --time=1 a8bc46174499d6e9273d7d4553cd45e803ef18fdd7d51260831aa3143556bfbc 21:08:29 $ docker rm -f --volumes a8bc46174499d6e9273d7d4553cd45e803ef18fdd7d51260831aa3143556bfbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:29 + docker inspect -f . ci-base-image-x86_64 21:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:29 prd-ubuntu20.04-docker-8c-8g-17364 does not seem to be running inside a container 21:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 ******** ci-base-image-x86_64 cat 21:08:30 $ docker top ffc8c4ef8160383eeffe0e74a41eef518439f7b625de3b76a0d2bdd245afeacf -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:30 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:08:31 + make test 21:08:31 go test ./... -coverprofile=coverage.out ./... 21:08:36 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.489s coverage: 40.5% of statements 21:08:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.242s coverage: 51.9% of statements 21:08:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 21:08:55 go vet ./... 21:08:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:59 ./bin/test-attribution-txt.sh 21:08:59 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:59 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:59 $ docker stop --time=1 ffc8c4ef8160383eeffe0e74a41eef518439f7b625de3b76a0d2bdd245afeacf 21:09:02 $ docker rm -f --volumes ffc8c4ef8160383eeffe0e74a41eef518439f7b625de3b76a0d2bdd245afeacf [Pipeline] // withDockerContainer [Pipeline] sh 21:09:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:03 + ls -al . 21:09:03 total 632 21:09:03 drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:08 . 21:09:03 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 .. 21:09:03 -rw-rw-r-- 1 jenkins jenkins 134 May 30 21:07 .dockerignore 21:09:03 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:07 .git 21:09:03 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:07 .github 21:09:03 -rw-rw-r-- 1 jenkins jenkins 946 May 30 21:07 .gitignore 21:09:03 -rw-rw-r-- 1 jenkins jenkins 41 May 30 21:07 .golangci.yml 21:09:03 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:07 .semver 21:09:03 -rw-rw-r-- 1 jenkins jenkins 10794 May 30 21:07 Attribution.txt 21:09:03 -rw-rw-r-- 1 jenkins jenkins 10365 May 30 21:07 CHANGELOG.md 21:09:03 -rw-rw-r-- 1 jenkins jenkins 1347 May 30 21:07 Dockerfile 21:09:03 -rw-rw-r-- 1 jenkins jenkins 677 May 30 21:07 GOVERNANCE.md 21:09:03 -rw-rw-r-- 1 jenkins jenkins 683 May 30 21:07 Jenkinsfile 21:09:03 -rw-rw-r-- 1 jenkins jenkins 11347 May 30 21:07 LICENSE 21:09:03 -rw-rw-r-- 1 jenkins jenkins 2053 May 30 21:07 Makefile 21:09:03 -rw-rw-r-- 1 jenkins jenkins 625 May 30 21:07 OWNERS.md 21:09:03 -rw-rw-r-- 1 jenkins jenkins 28505 May 30 21:07 README.md 21:09:03 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:07 VERSION 21:09:03 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 bin 21:09:03 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 cmd 21:09:03 -rw-r--r-- 1 jenkins jenkins 458039 May 30 21:08 coverage.out 21:09:03 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 examples 21:09:03 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:07 go.mod 21:09:03 -rw-rw-r-- 1 jenkins jenkins 30982 May 30 21:07 go.sum 21:09:03 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 images 21:09:03 drwxrwxr-x 5 jenkins jenkins 4096 May 30 21:07 internal 21:09:03 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 snap 21:09:03 -rw-rw-r-- 1 jenkins jenkins 193 May 30 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:03 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=26b6b66569e79959a925736adff6451eabaa91cd --label arch=amd64 --label version=0.0.0 . 21:09:03 Sending build context to Docker daemon 4.272MB 21:09:03 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:09:03 Step 2/24 : FROM ${BASE} AS builder 21:09:03 ---> 56ae62b94a4c 21:09:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:09:03 ---> Running in 99f0290ec4f4 21:09:03 Removing intermediate container 99f0290ec4f4 21:09:03 ---> cb0587b70303 21:09:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:03 ---> Running in f40121dc5613 21:09:03 Removing intermediate container f40121dc5613 21:09:03 ---> 1a5efe647c20 21:09:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:09:03 ---> Running in 865c19e9bf67 21:09:03 Removing intermediate container 865c19e9bf67 21:09:03 ---> 2636bb536a91 21:09:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:09:03 ---> Running in 1c3a1b978ea3 21:09:03 Removing intermediate container 1c3a1b978ea3 21:09:03 ---> 3d6243e0b378 21:09:03 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:04 ---> Running in 21bab2def0c8 21:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:04 OK: 265 MiB in 53 packages 21:09:04 Removing intermediate container 21bab2def0c8 21:09:04 ---> ae8336bdb26e 21:09:04 Step 8/24 : WORKDIR /app 21:09:04 ---> Running in 8dc09462b29e 21:09:04 Removing intermediate container 8dc09462b29e 21:09:04 ---> 0edef7c5848b 21:09:04 Step 9/24 : COPY go.mod vendor* ./ 21:09:05 ---> cbed5e52f1a8 21:09:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:05 ---> Running in e802a9d76697 21:09:05 Removing intermediate container e802a9d76697 21:09:05 ---> 9a106e88f86b 21:09:05 Step 11/24 : COPY . . 21:09:06 ---> 95eb5a9df565 21:09:06 Step 12/24 : RUN $MAKE 21:09:06 ---> Running in 5ca06f3d2efc 21:09:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:24 Removing intermediate container 5ca06f3d2efc 21:09:24 ---> 715f32361081 21:09:24 Step 13/24 : FROM alpine:3.17 21:09:24 3.17: Pulling from library/alpine 21:09:24 f56be85fc22e: Already exists 21:09:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:09:24 Status: Downloaded newer image for alpine:3.17 21:09:24 ---> 9ed4aefc74f6 21:09:24 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:24 ---> Running in 34abd1bc2211 21:09:24 Removing intermediate container 34abd1bc2211 21:09:24 ---> 4695db955c85 21:09:24 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:24 ---> Running in 93695352acfd 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:24 (1/1) Installing dumb-init (1.2.5-r2) 21:09:24 Executing busybox-1.35.0-r29.trigger 21:09:24 OK: 7 MiB in 16 packages 21:09:24 Removing intermediate container 93695352acfd 21:09:24 ---> 7c798de58c09 21:09:24 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:24 ---> 29a9754df54a 21:09:24 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:24 ---> a3faac0c78c8 21:09:24 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:25 ---> 415147439684 21:09:25 Step 19/24 : EXPOSE 59989 21:09:25 ---> Running in 8e279959ca9c 21:09:25 Removing intermediate container 8e279959ca9c 21:09:25 ---> 7a089a7b9f6a 21:09:25 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:25 ---> Running in fa0a09c76606 21:09:25 Removing intermediate container fa0a09c76606 21:09:25 ---> 000358328d6d 21:09:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:25 ---> Running in 2323b68f6e6e 21:09:25 Removing intermediate container 2323b68f6e6e 21:09:25 ---> cb40851e3b33 21:09:25 Step 22/24 : LABEL arch=amd64 21:09:25 ---> Running in 1a2e3f065eff 21:09:25 Removing intermediate container 1a2e3f065eff 21:09:25 ---> 9a80fadf3135 21:09:25 Step 23/24 : LABEL git_sha=26b6b66569e79959a925736adff6451eabaa91cd 21:09:25 ---> Running in 820c2090d9f6 21:09:25 Removing intermediate container 820c2090d9f6 21:09:25 ---> b43c34a64ff3 21:09:25 Step 24/24 : LABEL version=0.0.0 21:09:25 ---> Running in 500f70485ab9 21:09:25 Removing intermediate container 500f70485ab9 21:09:25 ---> f6d70b5618af 21:09:25 [Warning] One or more build-args [ARCH] were not consumed 21:09:25 Successfully built f6d70b5618af 21:09:25 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 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 21:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:26 21:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:26 latest: Pulling from edgex-lftools-log-publisher 21:09:26 5eb5b503b376: Pulling fs layer 21:09:26 5c69ac0246d0: Pulling fs layer 21:09:26 ec43610c2a17: Pulling fs layer 21:09:26 3a2ae6a8a46f: Pulling fs layer 21:09:26 33b1e0a273af: Pulling fs layer 21:09:26 5d3b04190fa2: Pulling fs layer 21:09:26 2f39f015ded8: Pulling fs layer 21:09:26 3a2ae6a8a46f: Waiting 21:09:26 33b1e0a273af: Waiting 21:09:26 5d3b04190fa2: Waiting 21:09:26 5c69ac0246d0: Download complete 21:09:26 3a2ae6a8a46f: Download complete 21:09:26 33b1e0a273af: Verifying Checksum 21:09:26 33b1e0a273af: Download complete 21:09:26 5d3b04190fa2: Download complete 21:09:26 ec43610c2a17: Verifying Checksum 21:09:26 ec43610c2a17: Download complete 21:09:26 5eb5b503b376: Verifying Checksum 21:09:26 5eb5b503b376: Download complete 21:09:27 2f39f015ded8: Download complete 21:09:28 5eb5b503b376: Pull complete 21:09:28 5c69ac0246d0: Pull complete 21:09:28 ec43610c2a17: Pull complete 21:09:28 3a2ae6a8a46f: Pull complete 21:09:28 33b1e0a273af: Pull complete 21:09:28 5d3b04190fa2: Pull complete 21:09:32 2f39f015ded8: Pull complete 21:09:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:32 prd-ubuntu20.04-docker-8c-8g-17364 does not seem to be running inside a container 21:09:32 $ 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/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:35 $ docker top fd8b379817842e279db5b11b38fd2ad6da709e5d4dd86b3d343055c0cd0157d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:35 ---> job-cost.sh 21:09:35 lf-activate-venv: SKIPPING 21:09:35 INFO: No Stack... 21:09:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:36 INFO: Archiving Costs [Pipeline] sh 21:09:36 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:09:36 + cut -d, -f6 [Pipeline] lock 21:09:36 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] 21:09:36 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] did not exist. Created. 21:09:36 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:36 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:36 Stashed 1 file(s) [Pipeline] } 21:09:36 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:36 $ docker stop --time=1 fd8b379817842e279db5b11b38fd2ad6da709e5d4dd86b3d343055c0cd0157d1 21:09:38 $ docker rm -f --volumes fd8b379817842e279db5b11b38fd2ad6da709e5d4dd86b3d343055c0cd0157d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:11:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17366 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:11:24 Running in /w/workspace/device-rfid-llrp-go/8 [Pipeline] { [Pipeline] checkout 21:11:24 Selected Git installation does not exist. Using Default 21:11:24 The recommended git tool is: NONE 21:11:29 using credential edgex-jenkins-ssh 21:11:29 Cloning the remote Git repository 21:11:29 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:29 > git init /w/workspace/device-rfid-llrp-go/8 # timeout=10 21:11:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:30 > git --version # timeout=10 21:11:30 > git --version # 'git version 2.25.1' 21:11:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:11:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:11:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:11:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:11:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:11:33 Merging remotes/origin/main commit 4d5d7787f034dd5542ee48778370d67321a0492e into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:11:33 Merge succeeded, producing 13a2c5584ac1e9c1247707e72fac1ed510badd8a 21:11:33 Checking out Revision 13a2c5584ac1e9c1247707e72fac1ed510badd8a (PR-229) 21:11:33 > git config core.sparsecheckout # timeout=10 21:11:33 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:11:33 > git remote # timeout=10 21:11:33 > git config --get remote.origin.url # timeout=10 21:11:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:33 > git merge 4d5d7787f034dd5542ee48778370d67321a0492e # timeout=10 21:11:33 > git rev-parse HEAD^{commit} # timeout=10 21:11:33 > git config core.sparsecheckout # timeout=10 21:11:33 > git checkout -f 13a2c5584ac1e9c1247707e72fac1ed510badd8a # timeout=10 21:11:37 Commit message: "Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD" 21:11:37 First time build. Skipping changelog. 21:11:37 > git rev-list --no-walk 78bb442a3bdf5a43a9501d3555747cd978b6e06e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:11:37 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:37 Dload Upload Total Spent Left Speed 21:11:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 21:11:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:11:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:11:39 + sudo tee /etc/docker/daemon.new 21:11:39 { 21:11:39 "registry-mirrors": [ 21:11:39 "https://nexus3.edgexfoundry.org:10001" 21:11:39 ], 21:11:39 "bip": "10.250.0.254/24", 21:11:39 "hosts": [ 21:11:39 "tcp://0.0.0.0:5555", 21:11:39 "unix:///var/run/docker.sock" 21:11:39 ], 21:11:39 "mtu": 1458, 21:11:39 "selinux-enabled": true, 21:11:39 "seccomp-profile": "/etc/docker/seccomp.json" 21:11:39 } [Pipeline] sh 21:11:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:11:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:58 provisioning config files... 21:11:58 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/8@tmp/config3654150355527873787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:58 ---> docker-login.sh 21:11:58 nexus3.edgexfoundry.org:10001 21:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:58 Configure a credential helper to remove this warning. See 21:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:58 21:11:58 Login Succeeded 21:11:58 nexus3.edgexfoundry.org:10002 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 nexus3.edgexfoundry.org:10003 21:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:59 Configure a credential helper to remove this warning. See 21:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:59 21:11:59 Login Succeeded 21:11:59 nexus3.edgexfoundry.org:10004 21:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:00 Configure a credential helper to remove this warning. See 21:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:00 21:12:00 Login Succeeded 21:12:00 docker.io 21:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:00 Configure a credential helper to remove this warning. See 21:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:00 21:12:00 Login Succeeded 21:12:00 ---> docker-login.sh ends [Pipeline] } 21:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:00 ========================================================= 21:12:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:12:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:12:01 Sending build context to Docker daemon 1.217MB 21:12:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:12:01 Step 2/12 : FROM ${BASE} AS builder 21:12:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:01 c41833b44d91: Pulling fs layer 21:12:01 ed15518f5707: Pulling fs layer 21:12:01 feae8fd75edb: Pulling fs layer 21:12:01 242c74f7c9fa: Pulling fs layer 21:12:01 3cdef696dda3: Pulling fs layer 21:12:01 2ced38df9373: Pulling fs layer 21:12:01 58f1dce35555: Pulling fs layer 21:12:01 2ced38df9373: Waiting 21:12:01 58f1dce35555: Waiting 21:12:01 242c74f7c9fa: Waiting 21:12:01 3cdef696dda3: Waiting 21:12:01 ed15518f5707: Verifying Checksum 21:12:01 ed15518f5707: Download complete 21:12:01 242c74f7c9fa: Verifying Checksum 21:12:01 242c74f7c9fa: Download complete 21:12:01 3cdef696dda3: Verifying Checksum 21:12:01 3cdef696dda3: Download complete 21:12:01 c41833b44d91: Verifying Checksum 21:12:02 c41833b44d91: Pull complete 21:12:03 58f1dce35555: Verifying Checksum 21:12:03 58f1dce35555: Download complete 21:12:03 ed15518f5707: Pull complete 21:12:04 feae8fd75edb: Verifying Checksum 21:12:04 feae8fd75edb: Download complete 21:12:04 2ced38df9373: Verifying Checksum 21:12:04 2ced38df9373: Download complete 21:12:17 feae8fd75edb: Pull complete 21:12:17 242c74f7c9fa: Pull complete 21:12:17 3cdef696dda3: Pull complete 21:12:22 2ced38df9373: Pull complete 21:12:25 58f1dce35555: Pull complete 21:12:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:12:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:12:25 ---> fadd8f120f05 21:12:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:12:27 ---> Running in fdd688b98d35 21:12:27 Removing intermediate container fdd688b98d35 21:12:27 ---> 16ef3decd3eb 21:12:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:27 ---> Running in 70f84150d27c 21:12:27 Removing intermediate container 70f84150d27c 21:12:27 ---> 1f23f781e6fc 21:12:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:12:27 ---> Running in ba92d912d8e5 21:12:28 Removing intermediate container ba92d912d8e5 21:12:28 ---> cc800ceaf12d 21:12:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:12:28 ---> Running in 346f2471f830 21:12:28 Removing intermediate container 346f2471f830 21:12:28 ---> cb52b6271e08 21:12:28 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:28 ---> Running in a88cbfb92f63 21:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:12:31 OK: 263 MiB in 53 packages 21:12:32 Removing intermediate container a88cbfb92f63 21:12:32 ---> 0669caa4b26c 21:12:32 Step 8/12 : WORKDIR /app 21:12:32 ---> Running in 1be50b7c8de7 21:12:32 Removing intermediate container 1be50b7c8de7 21:12:32 ---> 315499dd783d 21:12:32 Step 9/12 : COPY go.mod vendor* ./ 21:12:33 ---> 71f4754772ef 21:12:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:33 ---> Running in e1d4742139fe 21:13:41 Removing intermediate container e1d4742139fe 21:13:41 ---> 7b434b7832e7 21:13:41 Step 11/12 : COPY . . 21:13:41 ---> ec0bc2ca5d5b 21:13:41 Step 12/12 : RUN $MAKE 21:13:41 ---> Running in d4ee1cf1c65c 21:13:41 noop 21:13:41 Removing intermediate container d4ee1cf1c65c 21:13:41 ---> 80850390608f 21:13:41 Successfully built 80850390608f 21:13:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + docker inspect -f . ci-base-image-arm64 21:13:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:41 prd-ubuntu20.04-docker-arm64-4c-16g-17366 does not seem to be running inside a container 21:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@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 ******** ci-base-image-arm64 cat 21:13:43 $ docker top b7f4e3361fc9119a599658ce0064c8b4582dc0e0c70b05e5d8a90b5753b774ba -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:43 + go version 21:13:43 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:43 $ docker stop --time=1 b7f4e3361fc9119a599658ce0064c8b4582dc0e0c70b05e5d8a90b5753b774ba 21:13:45 $ docker rm -f --volumes b7f4e3361fc9119a599658ce0064c8b4582dc0e0c70b05e5d8a90b5753b774ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:46 + docker inspect -f . ci-base-image-arm64 21:13:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:46 prd-ubuntu20.04-docker-arm64-4c-16g-17366 does not seem to be running inside a container 21:13:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@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 ******** ci-base-image-arm64 cat 21:13:50 $ docker top df15e5027a210534898a7df260aa679051d445fc8142c73aac4057d0f278bb55 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:51 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/8 [Pipeline] fileExists [Pipeline] sh 21:13:52 + make test 21:13:52 go test ./... -coverprofile=coverage.out ./... 21:14:24 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:31 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:31 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:17:09 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.779s coverage: 40.5% of statements 21:17:09 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.563s coverage: 51.9% of statements 21:17:09 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.047s coverage: 95.5% of statements 21:17:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:09 go vet ./... 21:17:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:36 ./bin/test-attribution-txt.sh 21:17:36 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:17:36 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:17:36 $ docker stop --time=1 df15e5027a210534898a7df260aa679051d445fc8142c73aac4057d0f278bb55 21:17:38 $ docker rm -f --volumes df15e5027a210534898a7df260aa679051d445fc8142c73aac4057d0f278bb55 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:17:39 Warning: overwriting stash ‘coverage-report’ 21:17:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:17:41 + ls -al . 21:17:41 total 628 21:17:41 drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:13 . 21:17:41 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:11 .. 21:17:41 -rw-rw-r-- 1 jenkins jenkins 134 May 30 21:11 .dockerignore 21:17:41 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:11 .git 21:17:41 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:11 .github 21:17:41 -rw-rw-r-- 1 jenkins jenkins 946 May 30 21:11 .gitignore 21:17:41 -rw-rw-r-- 1 jenkins jenkins 41 May 30 21:11 .golangci.yml 21:17:41 -rw-rw-r-- 1 jenkins jenkins 10794 May 30 21:11 Attribution.txt 21:17:41 -rw-rw-r-- 1 jenkins jenkins 10365 May 30 21:11 CHANGELOG.md 21:17:41 -rw-rw-r-- 1 jenkins jenkins 1347 May 30 21:11 Dockerfile 21:17:41 -rw-rw-r-- 1 jenkins jenkins 677 May 30 21:11 GOVERNANCE.md 21:17:41 -rw-rw-r-- 1 jenkins jenkins 683 May 30 21:11 Jenkinsfile 21:17:41 -rw-rw-r-- 1 jenkins jenkins 11347 May 30 21:11 LICENSE 21:17:41 -rw-rw-r-- 1 jenkins jenkins 2053 May 30 21:11 Makefile 21:17:41 -rw-rw-r-- 1 jenkins jenkins 625 May 30 21:11 OWNERS.md 21:17:41 -rw-rw-r-- 1 jenkins jenkins 28505 May 30 21:11 README.md 21:17:41 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:07 VERSION 21:17:41 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:11 bin 21:17:41 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:11 cmd 21:17:41 -rw-r--r-- 1 jenkins jenkins 458039 May 30 21:17 coverage.out 21:17:41 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:11 examples 21:17:41 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:11 go.mod 21:17:41 -rw-rw-r-- 1 jenkins jenkins 30982 May 30 21:11 go.sum 21:17:41 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:11 images 21:17:41 drwxrwxr-x 5 jenkins jenkins 4096 May 30 21:11 internal 21:17:41 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:11 snap 21:17:41 -rw-rw-r-- 1 jenkins jenkins 193 May 30 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:41 + docker build -t device-rfid-llrp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=13a2c5584ac1e9c1247707e72fac1ed510badd8a --label arch=arm64 --label version=0.0.0 . 21:17:42 Sending build context to Docker daemon 1.217MB 21:17:42 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:17:42 Step 2/24 : FROM ${BASE} AS builder 21:17:42 ---> 80850390608f 21:17:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:17:42 ---> Running in 01d3b811a3e6 21:17:42 Removing intermediate container 01d3b811a3e6 21:17:42 ---> c41a378673be 21:17:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:42 ---> Running in 46948f875f2f 21:17:42 Removing intermediate container 46948f875f2f 21:17:42 ---> d5e5db3c314d 21:17:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:17:42 ---> Running in e96beb4e2ee4 21:17:43 Removing intermediate container e96beb4e2ee4 21:17:43 ---> 1396b78e91fa 21:17:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:17:43 ---> Running in f20ab61b87bf 21:17:43 Removing intermediate container f20ab61b87bf 21:17:43 ---> ae4862499716 21:17:43 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:43 ---> Running in 78ea68323aaf 21:17:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:46 OK: 263 MiB in 53 packages 21:17:47 Removing intermediate container 78ea68323aaf 21:17:47 ---> 7acc052ffcf3 21:17:47 Step 8/24 : WORKDIR /app 21:17:47 ---> Running in 85e4de9a47b2 21:17:47 Removing intermediate container 85e4de9a47b2 21:17:47 ---> 9e234c6dbe42 21:17:47 Step 9/24 : COPY go.mod vendor* ./ 21:17:48 ---> cd7e956c3a15 21:17:48 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:48 ---> Running in ed99da28d243 21:17:50 Removing intermediate container ed99da28d243 21:17:50 ---> 637812edc01f 21:17:50 Step 11/24 : COPY . . 21:17:52 ---> 0e4bcdc502cf 21:17:52 Step 12/24 : RUN $MAKE 21:17:52 ---> Running in e199be07d20c 21:17:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:20:15 Removing intermediate container e199be07d20c 21:20:15 ---> 9c4ba0b91432 21:20:15 Step 13/24 : FROM alpine:3.17 21:20:15 3.17: Pulling from library/alpine 21:20:15 c41833b44d91: Already exists 21:20:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:20:15 Status: Downloaded newer image for alpine:3.17 21:20:15 ---> 51e60588ff2c 21:20:15 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:15 ---> Running in d52dfa881a51 21:20:15 Removing intermediate container d52dfa881a51 21:20:15 ---> 16ac66279555 21:20:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:15 ---> Running in aa2d7ce3427d 21:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:15 (1/1) Installing dumb-init (1.2.5-r2) 21:20:15 Executing busybox-1.35.0-r29.trigger 21:20:15 OK: 8 MiB in 16 packages 21:20:15 Removing intermediate container aa2d7ce3427d 21:20:15 ---> b3cb349c9ba2 21:20:15 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:15 ---> 37fdc90d04d7 21:20:15 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:15 ---> b0c2e7cae5a7 21:20:15 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:15 ---> a6e6b9714faa 21:20:15 Step 19/24 : EXPOSE 59989 21:20:15 ---> Running in 4be8b5508ea7 21:20:15 Removing intermediate container 4be8b5508ea7 21:20:15 ---> 30c4c23d9207 21:20:15 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:15 ---> Running in 5b80d7936303 21:20:15 Removing intermediate container 5b80d7936303 21:20:15 ---> fb29e079f43f 21:20:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:15 ---> Running in 73d94f56f40a 21:20:15 Removing intermediate container 73d94f56f40a 21:20:15 ---> a1eb9afa54c0 21:20:15 Step 22/24 : LABEL arch=arm64 21:20:15 ---> Running in 431157a4963c 21:20:15 Removing intermediate container 431157a4963c 21:20:15 ---> 4b191fa103fa 21:20:15 Step 23/24 : LABEL git_sha=13a2c5584ac1e9c1247707e72fac1ed510badd8a 21:20:15 ---> Running in d56db77ad8e1 21:20:15 Removing intermediate container d56db77ad8e1 21:20:15 ---> 1a3ae7ac74b3 21:20:15 Step 24/24 : LABEL version=0.0.0 21:20:15 ---> Running in b9102b256506 21:20:15 Removing intermediate container b9102b256506 21:20:15 ---> b5a1dc376ab5 21:20:15 [Warning] One or more build-args [ARCH] were not consumed 21:20:15 Successfully built b5a1dc376ab5 21:20:15 Successfully tagged device-rfid-llrp-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 21:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:15 21:20:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:16 arm64: Pulling from edgex-lftools-log-publisher 21:20:16 8998bd30e6a1: Pulling fs layer 21:20:16 04944245beec: Pulling fs layer 21:20:16 699f458cf7ca: Pulling fs layer 21:20:16 765212b225bb: Pulling fs layer 21:20:16 f23df028b6ca: Pulling fs layer 21:20:16 d65c8cfc05b1: Pulling fs layer 21:20:16 2437ff75d9bd: Pulling fs layer 21:20:16 f23df028b6ca: Waiting 21:20:16 d65c8cfc05b1: Waiting 21:20:16 2437ff75d9bd: Waiting 21:20:16 765212b225bb: Waiting 21:20:16 04944245beec: Verifying Checksum 21:20:16 04944245beec: Download complete 21:20:16 765212b225bb: Verifying Checksum 21:20:16 765212b225bb: Download complete 21:20:16 f23df028b6ca: Verifying Checksum 21:20:16 f23df028b6ca: Download complete 21:20:16 d65c8cfc05b1: Download complete 21:20:16 699f458cf7ca: Verifying Checksum 21:20:16 699f458cf7ca: Download complete 21:20:16 8998bd30e6a1: Download complete 21:20:18 2437ff75d9bd: Verifying Checksum 21:20:18 2437ff75d9bd: Download complete 21:20:20 8998bd30e6a1: Pull complete 21:20:20 04944245beec: Pull complete 21:20:21 699f458cf7ca: Pull complete 21:20:21 765212b225bb: Pull complete 21:20:22 f23df028b6ca: Pull complete 21:20:22 d65c8cfc05b1: Pull complete 21:20:37 2437ff75d9bd: Pull complete 21:20:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:37 prd-ubuntu20.04-docker-arm64-4c-16g-17366 does not seem to be running inside a container 21:20:37 $ 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-rfid-llrp-go/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:40 $ docker top 4c0abe2df1fc25db7c91566cb6010738822dd5b50ae5a846bac9bde4c0528a95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:41 ---> job-cost.sh 21:20:41 lf-activate-venv: SKIPPING 21:20:41 INFO: No Stack... 21:20:41 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:42 INFO: Archiving Costs [Pipeline] sh 21:20:42 + cat /w/workspace/device-rfid-llrp-go/8/archives/cost.csv 21:20:42 + cut -d, -f6 [Pipeline] lock 21:20:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] 21:20:42 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] did not exist. Created. 21:20:42 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:43 /w/workspace/device-rfid-llrp-go/8@tmp/durable-06f8efc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:43 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:43 Warning: overwriting stash ‘stack-cost’ 21:20:43 Stashed 1 file(s) [Pipeline] } 21:20:43 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-8-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:43 $ docker stop --time=1 4c0abe2df1fc25db7c91566cb6010738822dd5b50ae5a846bac9bde4c0528a95 21:20:45 $ docker rm -f --volumes 4c0abe2df1fc25db7c91566cb6010738822dd5b50ae5a846bac9bde4c0528a95 [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 21:20:45 provisioning config files... 21:20:45 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config8082961134979414679tmp [Pipeline] { [Pipeline] sh 21:20:45 + set +x 21:20:45 + + curl -s https://codecov.io/bash 21:20:45 bash -s -- 21:20:45 21:20:45 _____ _ 21:20:45 / ____| | | 21:20:45 | | ___ __| | ___ ___ _____ __ 21:20:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:20:45 | |___| (_) | (_| | __/ (_| (_) \ V / 21:20:45 \_____\___/ \__,_|\___|\___\___/ \_/ 21:20:45 Bash-1.0.6 21:20:45 21:20:45 21:20:45 ==> git version 2.25.1 found 21:20:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:20:45 Release-Date: 2020-01-08 21:20:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:20:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:20:45 ==> Jenkins CI detected. 21:20:45 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:20:45 project root: . 21:20:45 --> token set from env 21:20:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:20:45 ==> Running gcov in . (disable via -X gcov) 21:20:45 ==> Python coveragepy not found 21:20:45 ==> Searching for coverage reports in: 21:20:45 + . 21:20:45 -> Found 1 reports 21:20:45 ==> Detecting git/mercurial file structure 21:20:45 ==> Reading reports 21:20:45 + ./coverage.out bytes=458039 21:20:45 ==> Appending adjustments 21:20:45 https://docs.codecov.io/docs/fixing-reports 21:20:46 + Found adjustments 21:20:46 ==> Gzipping contents 21:20:46 52K /tmp/codecov.rLyNjH.gz 21:20:46 ==> Uploading reports 21:20:46 url: https://codecov.io 21:20:46 query: branch=PR-229&commit=26b6b66569e79959a925736adff6451eabaa91cd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:20:46 -> Pinging Codecov 21:20:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-229&commit=26b6b66569e79959a925736adff6451eabaa91cd&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:20:46 -> Uploading to 21:20:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/581DD39554BDF9B6E22D074273EAD858/26b6b66569e79959a925736adff6451eabaa91cd/45408671-5565-4a96-b982-ce4790f224e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T212046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7aac54022bf6372847f6bd2a55e23dee004e7f3053386b1b29052524e9b79d6 21:20:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:46 Dload Upload Total Spent Left Speed 21:20:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50483 0 0 100 50483 0 232k --:--:-- --:--:-- --:--:-- 232k 21:20:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/26b6b66569e79959a925736adff6451eabaa91cd [Pipeline] } 21:20:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:20:47 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:20:47 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:20:47 total 16 21:20:47 drwxr-xr-x 3 root root 4096 May 30 21:09 . 21:20:47 drwxrwxr-x 12 jenkins jenkins 4096 May 30 21:09 .. 21:20:47 drwxr-xr-x 2 root root 4096 May 30 21:09 cost 21:20:47 -rw-r--r-- 1 root root 91 May 30 21:09 cost.csv 21:20:47 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:20:47 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:20:47 total 16 21:20:47 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:09 . 21:20:47 drwxrwxr-x 12 jenkins jenkins 4096 May 30 21:09 .. 21:20:47 drwxr-xr-x 2 jenkins jenkins 4096 May 30 21:09 cost 21:20:47 -rw-r--r-- 1 jenkins jenkins 91 May 30 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:48 ---> package-listing.sh 21:20:48 ++ facter osfamily 21:20:48 ++ tr '[:upper:]' '[:lower:]' 21:20:48 + OS_FAMILY=debian 21:20:48 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:20:48 + START_PACKAGES=/tmp/packages_start.txt 21:20:48 + END_PACKAGES=/tmp/packages_end.txt 21:20:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:48 + PACKAGES=/tmp/packages_start.txt 21:20:48 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:20:48 + PACKAGES=/tmp/packages_end.txt 21:20:48 + case "${OS_FAMILY}" in 21:20:48 + dpkg -l 21:20:48 + grep '^ii' 21:20:48 + '[' -f /tmp/packages_start.txt ']' 21:20:48 + '[' -f /tmp/packages_end.txt ']' 21:20:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:48 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:20:48 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:20:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:20: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/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:20:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:49 prd-ubuntu20.04-docker-8c-8g-17364 does not seem to be running inside a container 21:20: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/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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-lftools-log-publisher:latest cat 21:20:49 $ docker top 3583613f906a7cafcb8d7647a682facb6640522d990b7b757537331f6df500a9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:50 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:50 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:50 + ls /var/log/sa-host 21:20:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:50 provisioning config files... 21:20:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config917435847802778159tmp [Pipeline] { [Pipeline] echo 21:20:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> create-netrc.sh [Pipeline] } 21:20:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> python-tools-install.sh [Pipeline] echo 21:20:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> sudo-logs.sh 21:20:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:20:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:20:52 ---> job-cost.sh 21:20:52 lf-activate-venv: SKIPPING 21:20:52 DEBUG: total: 0.2199999988079071 21:20:52 INFO: Retrieving Stack Cost... 21:20:52 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:52 INFO: Archiving Costs [Pipeline] echo 21:20:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:20:53 ---> logs-deploy.sh 21:20:53 lf-activate-venv: SKIPPING 21:20:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/8 21:20:53 INFO: archiving workspace using pattern(s): 21:20:54 Archives upload complete. 21:20:54 INFO: archiving logs to Nexus