Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+2e75981913cbc41681b9c59fd5d2458c5db5b5f2 (fcf76acc563429610042d298fceba552e0349a86) 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-ssh8369157190460313513.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10118136375069690084.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15239528488906998949.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6031712456299453079.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-ssh17275169356835528215.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8072 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 > 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 Merging remotes/origin/main commit 2e75981913cbc41681b9c59fd5d2458c5db5b5f2 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 4f4b9eefe509284006cf4d142f060394c255410d Checking out Revision 4f4b9eefe509284006cf4d142f060394c255410d (PR-229) > 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 2e75981913cbc41681b9c59fd5d2458c5db5b5f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f4b9eefe509284006cf4d142f060394c255410d # timeout=10 Commit message: "Merge commit '2e75981913cbc41681b9c59fd5d2458c5db5b5f2' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 6500e28385577e1a0a530cb3c021fd6590985c11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:40 ========================================================= 21:06:40 EdgeX Global Pipelines Version Info 21:06:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:40 ------------------- 21:06:40 stable info: 21:06:40 ------------------- 21:06:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:40 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:40 Message: update stable to v1.0.254 21:06:41 ------------------- 21:06:41 experimental info: 21:06:41 ------------------- 21:06:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:06:41 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f4b9eefe509284006cf4d142f060394c255410d [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f4b9ee [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:42 provisioning config files... 21:06:42 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config15225297091749463877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:42 ---> docker-login.sh 21:06:42 nexus3.edgexfoundry.org:10001 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10002 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10003 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10004 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 docker.io 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 ---> docker-login.sh ends [Pipeline] } 21:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:43 + git rev-list -1 --merges 4f4b9eefe509284006cf4d142f060394c255410d~1..4f4b9eefe509284006cf4d142f060394c255410d [Pipeline] echo 21:06:43 -----------> git rev-list -1 --merges 4f4b9eefe509284006cf4d142f060394c255410d~1..4f4b9eefe509284006cf4d142f060394c255410d 4f4b9eefe509284006cf4d142f060394c255410d 21:06:43 4f4b9eefe509284006cf4d142f060394c255410d [false] [Pipeline] sh 21:06:44 + git log --format=format:%s -1 4f4b9eefe509284006cf4d142f060394c255410d [Pipeline] echo 21:06:44 ========================================================= 21:06:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:44 + git log --format=format:%s -1 4f4b9eefe509284006cf4d142f060394c255410d [Pipeline] echo 21:06:44 [semverPrep] GIT_COMMIT: 4f4b9eefe509284006cf4d142f060394c255410d, Commit Message: Merge commit '2e75981913cbc41681b9c59fd5d2458c5db5b5f2' into HEAD [Pipeline] echo 21:06:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:44 + grep -v github /etc/ssh/ssh_known_hosts 21:06:44 + [ -e /tmp/ssh_known_hosts ] 21:06:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:45 21:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:45 b85a868b505f: Pulling fs layer 21:06:45 e2be974225ed: Pulling fs layer 21:06:45 339a4e72a1f5: Pulling fs layer 21:06:45 988bab9f4d93: Pulling fs layer 21:06:45 1469e6f7b9e6: Pulling fs layer 21:06:45 eaf3925da568: Pulling fs layer 21:06:45 bab4dde63d76: Pulling fs layer 21:06:45 bde34c3a00c8: Pulling fs layer 21:06:45 b352a97aabf1: Pulling fs layer 21:06:45 4872d77fe225: Pulling fs layer 21:06:45 5851b861e8e6: Pulling fs layer 21:06:45 eaf3925da568: Waiting 21:06:45 bab4dde63d76: Waiting 21:06:45 5851b861e8e6: Waiting 21:06:45 988bab9f4d93: Waiting 21:06:45 1469e6f7b9e6: Waiting 21:06:45 bde34c3a00c8: Waiting 21:06:45 4872d77fe225: Waiting 21:06:45 b352a97aabf1: Waiting 21:06:45 e2be974225ed: Download complete 21:06:45 988bab9f4d93: Verifying Checksum 21:06:45 988bab9f4d93: Download complete 21:06:45 1469e6f7b9e6: Verifying Checksum 21:06:45 1469e6f7b9e6: Download complete 21:06:45 339a4e72a1f5: Verifying Checksum 21:06:45 339a4e72a1f5: Download complete 21:06:45 eaf3925da568: Verifying Checksum 21:06:45 eaf3925da568: Download complete 21:06:45 bde34c3a00c8: Download complete 21:06:45 b352a97aabf1: Download complete 21:06:45 4872d77fe225: Verifying Checksum 21:06:45 4872d77fe225: Download complete 21:06:45 5851b861e8e6: Download complete 21:06:45 b85a868b505f: Verifying Checksum 21:06:45 b85a868b505f: Download complete 21:06:46 bab4dde63d76: Verifying Checksum 21:06:46 bab4dde63d76: Download complete 21:06:47 b85a868b505f: Pull complete 21:06:47 e2be974225ed: Pull complete 21:06:47 339a4e72a1f5: Pull complete 21:06:47 988bab9f4d93: Pull complete 21:06:47 1469e6f7b9e6: Pull complete 21:06:47 eaf3925da568: Pull complete 21:06:49 bab4dde63d76: Pull complete 21:06:49 bde34c3a00c8: Pull complete 21:06:49 b352a97aabf1: Pull complete 21:06:49 4872d77fe225: Pull complete 21:06:49 5851b861e8e6: Pull complete 21:06:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:49 prd-ubuntu20.04-docker-8c-8g-8072 does not seem to be running inside a container 21:06: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:06:52 $ docker top 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 -eo pid,comm 21:06:52 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:06:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:53 [ssh-agent] Looking for ssh-agent implementation... 21:06:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:53 $ docker exec 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 ssh-agent 21:06:53 SSH_AUTH_SOCK=/tmp/ssh-gMO6vJF3urg0/agent.33 21:06:53 SSH_AGENT_PID=39 21:06:53 Running ssh-add (command line suppressed) 21:06:53 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_14050073548273181857.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_14050073548273181857.key) 21:06:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:53 + git tag --points-at HEAD [Pipeline] } 21:06:53 $ docker exec --env ******** --env ******** 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 ssh-agent -k 21:06:53 unset SSH_AUTH_SOCK; 21:06:53 unset SSH_AGENT_PID; 21:06:53 echo Agent pid 39 killed; 21:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:53 [ssh-agent] Looking for ssh-agent implementation... 21:06:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:53 $ docker exec 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 ssh-agent 21:06:54 SSH_AUTH_SOCK=/tmp/ssh-KHIFCZW0ztWS/agent.72 21:06:54 SSH_AGENT_PID=78 21:06:54 Running ssh-add (command line suppressed) 21:06:54 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3802980698362530418.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3802980698362530418.key) 21:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:54 + git semver init 21:06:54 2023-09-27 21:06:54,591 [run_init] DEBUG init version:0.0.0 force:False 21:06:54 2023-09-27 21:06:54,592 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:06:54 2023-09-27 21:06:54,593 [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:06:54 2023-09-27 21:06:54,593 [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:06:55 2023-09-27 21:06:55,559 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:06:55 2023-09-27 21:06:55,560 [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:06:55 2023-09-27 21:06:55,560 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:55 2023-09-27 21:06:55,565 [execute] INFO git cat-file --batch-check 21:06:55 2023-09-27 21:06:55,565 [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:06:55 2023-09-27 21:06:55,571 [execute] INFO git cat-file --batch 21:06:55 2023-09-27 21:06:55,572 [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:06:55 2023-09-27 21:06:55,578 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:06:55 0.0.0 [Pipeline] } 21:06:55 $ docker exec --env ******** --env ******** 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 ssh-agent -k 21:06:55 unset SSH_AUTH_SOCK; 21:06:55 unset SSH_AGENT_PID; 21:06:55 echo Agent pid 78 killed; 21:06:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:56 + git semver [Pipeline] } 21:06:56 $ docker stop --time=1 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 21:06:57 $ docker rm -f --volumes 9b45d356a6533126544441fae0a2712660522e04542648b3cf61725b47ddce12 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:58 Stashed 1 file(s) [Pipeline] echo 21:06:58 [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:06:58 provisioning config files... 21:06:58 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config124133218434296321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:58 ---> docker-login.sh 21:06:58 nexus3.edgexfoundry.org:10001 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 nexus3.edgexfoundry.org:10002 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 nexus3.edgexfoundry.org:10003 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 nexus3.edgexfoundry.org:10004 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 docker.io 21:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:59 Configure a credential helper to remove this warning. See 21:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:59 21:06:59 Login Succeeded 21:06:59 ---> docker-login.sh ends [Pipeline] } 21:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:59 ========================================================= 21:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:06:59 Sending build context to Docker daemon 4.35MB 21:06:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:06:59 Step 2/12 : FROM ${BASE} AS builder 21:06:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:59 7264a8db6415: Pulling fs layer 21:06:59 c4d48a809fc2: Pulling fs layer 21:06:59 4f1c88b9dad5: Pulling fs layer 21:06:59 ad3a456e5733: Pulling fs layer 21:06:59 33e27b845d1e: Pulling fs layer 21:06:59 c68163c4e522: Pulling fs layer 21:06:59 50da416c3ac9: Pulling fs layer 21:06:59 23d2d4c4bb30: Pulling fs layer 21:06:59 ad3a456e5733: Waiting 21:06:59 33e27b845d1e: Waiting 21:06:59 c68163c4e522: Waiting 21:06:59 23d2d4c4bb30: Waiting 21:06:59 50da416c3ac9: Waiting 21:06:59 c4d48a809fc2: Verifying Checksum 21:06:59 c4d48a809fc2: Download complete 21:06:59 ad3a456e5733: Verifying Checksum 21:06:59 ad3a456e5733: Download complete 21:06:59 33e27b845d1e: Verifying Checksum 21:06:59 33e27b845d1e: Download complete 21:06:59 7264a8db6415: Verifying Checksum 21:06:59 7264a8db6415: Download complete 21:06:59 c68163c4e522: Verifying Checksum 21:06:59 c68163c4e522: Download complete 21:06:59 7264a8db6415: Pull complete 21:07:00 23d2d4c4bb30: Verifying Checksum 21:07:00 c4d48a809fc2: Pull complete 21:07:00 4f1c88b9dad5: Verifying Checksum 21:07:00 4f1c88b9dad5: Download complete 21:07:00 50da416c3ac9: Verifying Checksum 21:07:00 50da416c3ac9: Download complete 21:07:03 4f1c88b9dad5: Pull complete 21:07:03 ad3a456e5733: Pull complete 21:07:03 33e27b845d1e: Pull complete 21:07:03 c68163c4e522: Pull complete 21:07:05 50da416c3ac9: Pull complete 21:07:06 23d2d4c4bb30: Pull complete 21:07:06 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:07:06 ---> 0786185ac409 21:07:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:09 ---> Running in 7c133b2070dc 21:07:09 Removing intermediate container 7c133b2070dc 21:07:09 ---> 75df78d78411 21:07:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:09 ---> Running in 23aaec9cfe49 21:07:09 Removing intermediate container 23aaec9cfe49 21:07:09 ---> bd65458de808 21:07:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:09 ---> Running in f9aef6b39825 21:07:09 Removing intermediate container f9aef6b39825 21:07:09 ---> 0e25063a3c7c 21:07:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:09 ---> Running in 10362e2a5f08 21:07:09 Removing intermediate container 10362e2a5f08 21:07:09 ---> 1a85c7e911d5 21:07:09 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:09 ---> Running in 502ebfda72ff 21:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:07:10 OK: 264 MiB in 52 packages 21:07:10 Removing intermediate container 502ebfda72ff 21:07:10 ---> 9e5d603583b4 21:07:10 Step 8/12 : WORKDIR /app 21:07:10 ---> Running in b562f7a467b5 21:07:10 Removing intermediate container b562f7a467b5 21:07:10 ---> 9cc58faa2657 21:07:10 Step 9/12 : COPY go.mod vendor* ./ 21:07:10 ---> 593d092c2444 21:07:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:10 ---> Running in a186d53f3b93 21:07:13 Still waiting to schedule task 21:07:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:57 Removing intermediate container a186d53f3b93 21:07:57 ---> 4a649604714d 21:07:57 Step 11/12 : COPY . . 21:07:57 ---> 2dba1d7e9298 21:07:57 Step 12/12 : RUN $MAKE 21:07:57 ---> Running in 1af65fd58df4 21:07:57 noop 21:07:57 Removing intermediate container 1af65fd58df4 21:07:57 ---> 8670b49cde5b 21:07:57 Successfully built 8670b49cde5b 21:07:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:57 + docker inspect -f . ci-base-image-x86_64 21:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:57 prd-ubuntu20.04-docker-8c-8g-8072 does not seem to be running inside a container 21:07:57 $ 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:07:58 $ docker top 98bc27aace2416d69da9f760a2f998db7907bbd64e96000d01f89cadd4d561d6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:58 + go version 21:07:58 go version go1.21.0 linux/amd64 [Pipeline] } 21:07:58 $ docker stop --time=1 98bc27aace2416d69da9f760a2f998db7907bbd64e96000d01f89cadd4d561d6 21:07:59 $ docker rm -f --volumes 98bc27aace2416d69da9f760a2f998db7907bbd64e96000d01f89cadd4d561d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:00 + docker inspect -f . ci-base-image-x86_64 21:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:00 prd-ubuntu20.04-docker-8c-8g-8072 does not seem to be running inside a container 21:08:00 $ 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:00 $ docker top f30c3f3bc34eada202843c8667ed081ee434634ab9c4a0acf42321fb5b88899a -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:01 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:08:01 + make test 21:08:01 go test ./... -coverprofile=coverage.out ./... 21:08:02 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:18 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.427s coverage: 40.6% of statements 21:08:18 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.242s coverage: 51.9% of statements 21:08:18 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 21:08:40 go vet ./... 21:08:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:40 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:41 $ docker stop --time=1 f30c3f3bc34eada202843c8667ed081ee434634ab9c4a0acf42321fb5b88899a 21:08:43 $ docker rm -f --volumes f30c3f3bc34eada202843c8667ed081ee434634ab9c4a0acf42321fb5b88899a 21:08:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8073 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 21:08:43 Running in /w/workspace/device-rfid-llrp-go/21 [Pipeline] { [Pipeline] checkout 21:08:43 The recommended git tool is: git 21:08:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:44 + ls -al . 21:08:44 total 644 21:08:44 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:08 . 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:06 .. 21:08:44 -rw-rw-r-- 1 jenkins jenkins 134 Sep 27 21:06 .dockerignore 21:08:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:08 .git 21:08:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:06 .github 21:08:44 -rw-rw-r-- 1 jenkins jenkins 946 Sep 27 21:06 .gitignore 21:08:44 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:06 .golangci.yml 21:08:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:06 .semver 21:08:44 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 27 21:06 Attribution.txt 21:08:44 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 27 21:06 CHANGELOG.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 27 21:06 Dockerfile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:06 GOVERNANCE.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 683 Sep 27 21:06 Jenkinsfile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 27 21:06 LICENSE 21:08:44 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 27 21:06 Makefile 21:08:44 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 21:06 OWNERS.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 27 21:06 README.md 21:08:44 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:06 VERSION 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:06 bin 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:06 cmd 21:08:44 -rw-r--r-- 1 jenkins jenkins 459493 Sep 27 21:08 coverage.out 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:06 examples 21:08:44 -rw-rw-r-- 1 jenkins jenkins 3877 Sep 27 21:06 go.mod 21:08:44 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 21:06 go.sum 21:08:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:06 images 21:08:44 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 21:06 internal 21:08:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:06 snap 21:08:44 -rw-rw-r-- 1 jenkins jenkins 193 Sep 27 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:44 + 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=4f4b9eefe509284006cf4d142f060394c255410d --label arch=amd64 --label version=0.0.0 . 21:08:44 Sending build context to Docker daemon 4.35MB 21:08:44 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:08:44 Step 2/24 : FROM ${BASE} AS builder 21:08:44 ---> 8670b49cde5b 21:08:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:45 ---> Running in 9b4ff685cfb6 21:08:45 Removing intermediate container 9b4ff685cfb6 21:08:45 ---> 1cf35f2859f3 21:08:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:45 ---> Running in 136d331ad7cf 21:08:45 Removing intermediate container 136d331ad7cf 21:08:45 ---> d12773b55585 21:08:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:45 ---> Running in 5cb9fc6cf928 21:08:45 Removing intermediate container 5cb9fc6cf928 21:08:45 ---> b255ba9aa2e2 21:08:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:45 ---> Running in b895344d0bb1 21:08:45 Removing intermediate container b895344d0bb1 21:08:45 ---> ed2ac456bbb0 21:08:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:45 ---> Running in f804ab584302 21:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:08:46 OK: 264 MiB in 52 packages 21:08:46 Removing intermediate container f804ab584302 21:08:46 ---> 3567acfda6db 21:08:46 Step 8/24 : WORKDIR /app 21:08:46 ---> Running in af2b4ef6d901 21:08:46 Removing intermediate container af2b4ef6d901 21:08:46 ---> 15273dd7d7ce 21:08:46 Step 9/24 : COPY go.mod vendor* ./ 21:08:46 ---> e1b80e7f6dc1 21:08:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:46 ---> Running in d53b41cd6ee2 21:08:47 Removing intermediate container d53b41cd6ee2 21:08:47 ---> aea780198231 21:08:47 Step 11/24 : COPY . . 21:08:47 ---> 77a3ceabcbe9 21:08:47 Step 12/24 : RUN $MAKE 21:08:48 ---> Running in 7e84fbbe7e37 21:08:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:08:48 using credential edgex-jenkins-ssh 21:08:48 Cloning the remote Git repository 21:08:48 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:48 > git init /w/workspace/device-rfid-llrp-go/21 # timeout=10 21:08:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:48 > git --version # timeout=10 21:08:48 > git --version # 'git version 2.25.1' 21:08:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:51 Merging remotes/origin/main commit 2e75981913cbc41681b9c59fd5d2458c5db5b5f2 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:08:52 Merge succeeded, producing c3e7eabc65b2b59ee522850eb9d0fa1ef40378b3 21:08:52 Checking out Revision c3e7eabc65b2b59ee522850eb9d0fa1ef40378b3 (PR-229) 21:08:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:51 > 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:08:51 > git config core.sparsecheckout # timeout=10 21:08:51 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:08:51 > git remote # timeout=10 21:08:51 > git config --get remote.origin.url # timeout=10 21:08:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:51 > git merge 2e75981913cbc41681b9c59fd5d2458c5db5b5f2 # timeout=10 21:08:52 > git rev-parse HEAD^{commit} # timeout=10 21:08:52 > git config core.sparsecheckout # timeout=10 21:08:52 > git checkout -f c3e7eabc65b2b59ee522850eb9d0fa1ef40378b3 # timeout=10 21:08:55 Commit message: "Merge commit '2e75981913cbc41681b9c59fd5d2458c5db5b5f2' into HEAD" 21:08:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:56 Dload Upload Total Spent Left Speed 21:08:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k 21:08:55 > git rev-list --no-walk 6500e28385577e1a0a530cb3c021fd6590985c11 # timeout=10 [Pipeline] sh 21:08:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:57 + sudo tee /etc/docker/daemon.new 21:08:57 { 21:08:57 "registry-mirrors": [ 21:08:57 "https://nexus3.edgexfoundry.org:10001" 21:08:57 ], 21:08:57 "bip": "10.250.0.254/24", 21:08:57 "hosts": [ 21:08:57 "tcp://0.0.0.0:5555", 21:08:57 "unix:///var/run/docker.sock" 21:08:57 ], 21:08:57 "mtu": 1458, 21:08:57 "selinux-enabled": true, 21:08:57 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:57 } [Pipeline] sh 21:08:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:58 + sudo service docker restart 21:09:10 Removing intermediate container 7e84fbbe7e37 21:09:10 ---> fb1870fb4497 21:09:10 Step 13/24 : FROM alpine:3.18 21:09:10 3.18: Pulling from library/alpine 21:09:10 7264a8db6415: Already exists 21:09:10 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:09:10 Status: Downloaded newer image for alpine:3.18 21:09:10 ---> 7e01a0d0a1dc 21:09:10 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:09:10 ---> Running in a73e67a7f74d 21:09:10 Removing intermediate container a73e67a7f74d 21:09:10 ---> 0921f3bdf76c 21:09:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:10 ---> Running in 7ce6103f8ee4 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:09:10 (1/1) Installing dumb-init (1.2.5-r2) 21:09:10 Executing busybox-1.36.1-r2.trigger 21:09:10 OK: 7 MiB in 16 packages 21:09:10 Removing intermediate container 7ce6103f8ee4 21:09:10 ---> e8211e6ac52b 21:09:10 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:10 ---> 360a1dd505ed 21:09:10 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:10 ---> 56e7c6c37f21 21:09:10 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:11 ---> e61ffdae3260 21:09:11 Step 19/24 : EXPOSE 59989 21:09:11 ---> Running in 836dd03d987a 21:09:11 Removing intermediate container 836dd03d987a 21:09:11 ---> 4089d8045b06 21:09:11 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:11 ---> Running in 04457c4f8908 21:09:11 Removing intermediate container 04457c4f8908 21:09:11 ---> e26060e42d68 21:09:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:11 ---> Running in 92e41733887d 21:09:11 Removing intermediate container 92e41733887d 21:09:11 ---> 9386bbaba610 21:09:11 Step 22/24 : LABEL arch=amd64 21:09:11 ---> Running in bd567c6b3f74 21:09:11 Removing intermediate container bd567c6b3f74 21:09:11 ---> 974d85e2befa 21:09:11 Step 23/24 : LABEL git_sha=4f4b9eefe509284006cf4d142f060394c255410d 21:09:11 ---> Running in 419f055d34cb 21:09:11 Removing intermediate container 419f055d34cb 21:09:11 ---> be2881684255 21:09:11 Step 24/24 : LABEL version=0.0.0 21:09:11 ---> Running in b8b6aa4e37e9 21:09:11 Removing intermediate container b8b6aa4e37e9 21:09:11 ---> 1ac0340fc9f0 21:09:11 [Warning] One or more build-args [ARCH] were not consumed 21:09:11 Successfully built 1ac0340fc9f0 21:09:11 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:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:12 21:09:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:12 latest: Pulling from edgex-lftools-log-publisher 21:09:12 5eb5b503b376: Pulling fs layer 21:09:12 5c69ac0246d0: Pulling fs layer 21:09:12 ec43610c2a17: Pulling fs layer 21:09:12 3a2ae6a8a46f: Pulling fs layer 21:09:12 33b1e0a273af: Pulling fs layer 21:09:12 5d3b04190fa2: Pulling fs layer 21:09:12 2f39f015ded8: Pulling fs layer 21:09:12 5d3b04190fa2: Waiting 21:09:12 3a2ae6a8a46f: Waiting 21:09:12 33b1e0a273af: Waiting 21:09:12 2f39f015ded8: Waiting 21:09:12 5c69ac0246d0: Verifying Checksum 21:09:12 5c69ac0246d0: Download complete 21:09:12 3a2ae6a8a46f: Download complete 21:09:12 33b1e0a273af: Verifying Checksum 21:09:12 33b1e0a273af: Download complete 21:09:12 5d3b04190fa2: Verifying Checksum 21:09:12 5d3b04190fa2: Download complete 21:09:12 ec43610c2a17: Verifying Checksum 21:09:12 ec43610c2a17: Download complete 21:09:12 5eb5b503b376: Verifying Checksum 21:09:12 5eb5b503b376: Download complete 21:09:13 2f39f015ded8: Verifying Checksum 21:09:13 2f39f015ded8: Download complete 21:09:13 5eb5b503b376: Pull complete 21:09:14 5c69ac0246d0: Pull complete 21:09:14 ec43610c2a17: Pull complete 21:09:14 3a2ae6a8a46f: Pull complete 21:09:14 33b1e0a273af: Pull complete 21:09:14 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:16 provisioning config files... 21:09:16 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/21@tmp/config11833770609014978022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:16 ---> docker-login.sh 21:09:16 nexus3.edgexfoundry.org:10001 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:17 Configure a credential helper to remove this warning. See 21:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:17 21:09:17 Login Succeeded 21:09:17 nexus3.edgexfoundry.org:10002 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:17 Configure a credential helper to remove this warning. See 21:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:17 21:09:17 Login Succeeded 21:09:17 nexus3.edgexfoundry.org:10003 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:18 Configure a credential helper to remove this warning. See 21:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:18 21:09:18 Login Succeeded 21:09:18 nexus3.edgexfoundry.org:10004 21:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:18 Configure a credential helper to remove this warning. See 21:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:18 21:09:18 Login Succeeded 21:09:18 docker.io 21:09:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:19 Configure a credential helper to remove this warning. See 21:09:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:19 21:09:19 Login Succeeded 21:09:19 ---> docker-login.sh ends [Pipeline] } 21:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:19 ========================================================= 21:09:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:09:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:09:19 Sending build context to Docker daemon 1.219MB 21:09:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:09:19 Step 2/12 : FROM ${BASE} AS builder 21:09:20 2f39f015ded8: Pull complete 21:09:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:20 prd-ubuntu20.04-docker-8c-8g-8072 does not seem to be running inside a container 21:09:20 $ 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:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:23 9fda8d8052c6: Pulling fs layer 21:09:23 5d54e960e981: Pulling fs layer 21:09:23 c4a7e357bf2a: Pulling fs layer 21:09:23 f0e02332f6b5: Pulling fs layer 21:09:23 cefa15bbcfad: Pulling fs layer 21:09:23 17808c966233: Pulling fs layer 21:09:23 f4c1fc716caa: Pulling fs layer 21:09:23 f0e02332f6b5: Waiting 21:09:23 cefa15bbcfad: Waiting 21:09:23 17808c966233: Waiting 21:09:23 f4c1fc716caa: Waiting 21:09:23 5d54e960e981: Verifying Checksum 21:09:23 5d54e960e981: Download complete 21:09:23 f0e02332f6b5: Verifying Checksum 21:09:23 f0e02332f6b5: Download complete 21:09:23 cefa15bbcfad: Verifying Checksum 21:09:23 cefa15bbcfad: Download complete 21:09:23 9fda8d8052c6: Verifying Checksum 21:09:23 9fda8d8052c6: Download complete 21:09:23 f4c1fc716caa: Verifying Checksum 21:09:23 f4c1fc716caa: Download complete 21:09:23 $ docker top a16e954c79a094ddc1b44410cbc2816ada2e91ffd6d90a28d6b6e0aaaf9115c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:24 9fda8d8052c6: Pull complete 21:09:24 ---> job-cost.sh 21:09:24 lf-activate-venv: SKIPPING 21:09:24 INFO: No Stack... 21:09:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:24 5d54e960e981: Pull complete 21:09:25 c4a7e357bf2a: Verifying Checksum 21:09:25 c4a7e357bf2a: Download complete 21:09:25 INFO: Archiving Costs [Pipeline] sh 21:09:25 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:09:25 + cut -d, -f6 [Pipeline] lock 21:09:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] 21:09:25 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] did not exist. Created. 21:09:25 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:25 17808c966233: Verifying Checksum 21:09:25 17808c966233: Download complete 21:09:25 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:25 Stashed 1 file(s) [Pipeline] } 21:09:25 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:25 $ docker stop --time=1 a16e954c79a094ddc1b44410cbc2816ada2e91ffd6d90a28d6b6e0aaaf9115c6 21:09:26 $ docker rm -f --volumes a16e954c79a094ddc1b44410cbc2816ada2e91ffd6d90a28d6b6e0aaaf9115c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:37 c4a7e357bf2a: Pull complete 21:09:37 f0e02332f6b5: Pull complete 21:09:37 cefa15bbcfad: Pull complete 21:09:44 17808c966233: Pull complete 21:09:46 f4c1fc716caa: Pull complete 21:09:46 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:09:46 ---> ea914061e18c 21:09:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:47 ---> Running in 3cade3a67e94 21:09:47 Removing intermediate container 3cade3a67e94 21:09:47 ---> 86adaf6d3571 21:09:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:47 ---> Running in 2d277de4ddc6 21:09:48 Removing intermediate container 2d277de4ddc6 21:09:48 ---> c934ba53a812 21:09:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:48 ---> Running in 87f1b2f6317d 21:09:48 Removing intermediate container 87f1b2f6317d 21:09:48 ---> 4bc79fa6803b 21:09:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:48 ---> Running in fe9dce8b39af 21:09:48 Removing intermediate container fe9dce8b39af 21:09:48 ---> b4b69b5e4a0d 21:09:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:49 ---> Running in 30914ce8110c 21:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:09:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:09:51 OK: 266 MiB in 52 packages 21:09:52 Removing intermediate container 30914ce8110c 21:09:52 ---> 9a5c773ed249 21:09:52 Step 8/12 : WORKDIR /app 21:09:52 ---> Running in d1768d846146 21:09:52 Removing intermediate container d1768d846146 21:09:52 ---> df6aa4df38d3 21:09:52 Step 9/12 : COPY go.mod vendor* ./ 21:09:53 ---> 19d0a4270aeb 21:09:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:53 ---> Running in 40973c8e5806 21:11:01 Removing intermediate container 40973c8e5806 21:11:01 ---> 91576194e681 21:11:01 Step 11/12 : COPY . . 21:11:01 ---> 861111e5b830 21:11:01 Step 12/12 : RUN $MAKE 21:11:01 ---> Running in 043f22438f46 21:11:01 noop 21:11:01 Removing intermediate container 043f22438f46 21:11:01 ---> 8cbcef5a1869 21:11:02 Successfully built 8cbcef5a1869 21:11:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:02 + docker inspect -f . ci-base-image-arm64 21:11:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:02 prd-ubuntu20.04-docker-arm64-4c-16g-8073 does not seem to be running inside a container 21:11:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/21 -v /w/workspace/device-rfid-llrp-go/21:/w/workspace/device-rfid-llrp-go/21:rw,z -v /w/workspace/device-rfid-llrp-go/21@tmp:/w/workspace/device-rfid-llrp-go/21@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:11:03 $ docker top 048fd837cd606b6e21915a1d54bfba5db350bdeb7ba89bada95b320397780890 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:04 + go version 21:11:04 go version go1.21.0 linux/arm64 [Pipeline] } 21:11:04 $ docker stop --time=1 048fd837cd606b6e21915a1d54bfba5db350bdeb7ba89bada95b320397780890 21:11:06 $ docker rm -f --volumes 048fd837cd606b6e21915a1d54bfba5db350bdeb7ba89bada95b320397780890 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:06 + docker inspect -f . ci-base-image-arm64 21:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:07 prd-ubuntu20.04-docker-arm64-4c-16g-8073 does not seem to be running inside a container 21:11:07 $ 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/21 -v /w/workspace/device-rfid-llrp-go/21:/w/workspace/device-rfid-llrp-go/21:rw,z -v /w/workspace/device-rfid-llrp-go/21@tmp:/w/workspace/device-rfid-llrp-go/21@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:11:08 $ docker top dce2e81f4ab72ca4c8cae24c1d77efded8fd08481db0bf30a97417154b3312c9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:08 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/21 [Pipeline] fileExists [Pipeline] sh 21:11:09 + make test 21:11:09 go test ./... -coverprofile=coverage.out ./... 21:11:14 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:12:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:12:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:13:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.254s coverage: 40.6% of statements 21:13:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.519s coverage: 51.9% of statements 21:13:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.035s coverage: 96.4% of statements 21:13:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:13:13 go vet ./... 21:13:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:45 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:45 $ docker stop --time=1 dce2e81f4ab72ca4c8cae24c1d77efded8fd08481db0bf30a97417154b3312c9 21:13:47 $ docker rm -f --volumes dce2e81f4ab72ca4c8cae24c1d77efded8fd08481db0bf30a97417154b3312c9 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:48 Warning: overwriting stash ‘coverage-report’ 21:13:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:50 + ls -al . 21:13:50 total 640 21:13:50 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:11 . 21:13:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:08 .. 21:13:50 -rw-rw-r-- 1 jenkins jenkins 134 Sep 27 21:08 .dockerignore 21:13:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:08 .git 21:13:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:08 .github 21:13:50 -rw-rw-r-- 1 jenkins jenkins 946 Sep 27 21:08 .gitignore 21:13:50 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:08 .golangci.yml 21:13:50 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 27 21:08 Attribution.txt 21:13:50 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 27 21:08 CHANGELOG.md 21:13:50 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 27 21:08 Dockerfile 21:13:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:08 GOVERNANCE.md 21:13:50 -rw-rw-r-- 1 jenkins jenkins 683 Sep 27 21:08 Jenkinsfile 21:13:50 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 27 21:08 LICENSE 21:13:50 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 27 21:08 Makefile 21:13:50 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 21:08 OWNERS.md 21:13:50 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 27 21:08 README.md 21:13:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:06 VERSION 21:13:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:08 bin 21:13:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:08 cmd 21:13:50 -rw-r--r-- 1 jenkins jenkins 459493 Sep 27 21:13 coverage.out 21:13:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:08 examples 21:13:50 -rw-rw-r-- 1 jenkins jenkins 3877 Sep 27 21:08 go.mod 21:13:50 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 21:08 go.sum 21:13:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:08 images 21:13:50 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 21:08 internal 21:13:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:08 snap 21:13:50 -rw-rw-r-- 1 jenkins jenkins 193 Sep 27 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:50 + 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=c3e7eabc65b2b59ee522850eb9d0fa1ef40378b3 --label arch=arm64 --label version=0.0.0 . 21:13:51 Sending build context to Docker daemon 1.219MB 21:13:51 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:13:51 Step 2/24 : FROM ${BASE} AS builder 21:13:51 ---> 8cbcef5a1869 21:13:51 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:13:51 ---> Running in c04abc290862 21:13:51 Removing intermediate container c04abc290862 21:13:51 ---> c2c7e72eebd5 21:13:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:52 ---> Running in 07fb08c7e5a0 21:13:52 Removing intermediate container 07fb08c7e5a0 21:13:52 ---> b66419ee9d4f 21:13:52 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:13:52 ---> Running in cc1e01546285 21:13:52 Removing intermediate container cc1e01546285 21:13:52 ---> b2aa623b8bae 21:13:52 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:13:52 ---> Running in d091d5b1ce65 21:13:53 Removing intermediate container d091d5b1ce65 21:13:53 ---> e4ed2e1c2f31 21:13:53 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:53 ---> Running in aed8e8d5f2e9 21:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:13:55 OK: 266 MiB in 52 packages 21:13:59 Removing intermediate container aed8e8d5f2e9 21:13:59 ---> 8e4be23825dd 21:13:59 Step 8/24 : WORKDIR /app 21:13:59 ---> Running in 2ef2a19fa9bc 21:13:59 Removing intermediate container 2ef2a19fa9bc 21:13:59 ---> fccff0951ff2 21:13:59 Step 9/24 : COPY go.mod vendor* ./ 21:13:59 ---> 4bfaf1a930fa 21:13:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:59 ---> Running in 723ef9163934 21:14:02 Removing intermediate container 723ef9163934 21:14:02 ---> db8033fb7b79 21:14:02 Step 11/24 : COPY . . 21:14:03 ---> 3054e2f9735b 21:14:03 Step 12/24 : RUN $MAKE 21:14:03 ---> Running in 86fb5346b07d 21:14:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:15:56 Removing intermediate container 86fb5346b07d 21:15:56 ---> daf9a48d9f6e 21:15:56 Step 13/24 : FROM alpine:3.18 21:15:56 3.18: Pulling from library/alpine 21:15:56 9fda8d8052c6: Already exists 21:15:56 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:15:56 Status: Downloaded newer image for alpine:3.18 21:15:56 ---> f6648c04cd6c 21:15:56 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:56 ---> Running in f07fd0482ab5 21:15:56 Removing intermediate container f07fd0482ab5 21:15:56 ---> b8aee0a14003 21:15:56 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:15:56 ---> Running in 0e82483d89ab 21:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:15:56 (1/1) Installing dumb-init (1.2.5-r2) 21:15:56 Executing busybox-1.36.1-r2.trigger 21:15:56 OK: 8 MiB in 16 packages 21:15:56 Removing intermediate container 0e82483d89ab 21:15:56 ---> 56d106d46ea1 21:15:56 Step 16/24 : COPY --from=builder /app/LICENSE / 21:15:56 ---> c9fe5a00d426 21:15:56 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:15:57 ---> d1cd07e753c8 21:15:57 Step 18/24 : COPY --from=builder /app/cmd/ / 21:15:58 ---> f60fe54bf6fe 21:15:58 Step 19/24 : EXPOSE 59989 21:15:58 ---> Running in 4dcbec1ba04e 21:15:59 Removing intermediate container 4dcbec1ba04e 21:15:59 ---> ec5d6b30cf66 21:15:59 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:15:59 ---> Running in 0ec75adaf3cf 21:15:59 Removing intermediate container 0ec75adaf3cf 21:15:59 ---> 1327574cd098 21:15:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:15:59 ---> Running in 4a18d84a655c 21:15:59 Removing intermediate container 4a18d84a655c 21:15:59 ---> 988a3bf5905e 21:15:59 Step 22/24 : LABEL arch=arm64 21:15:59 ---> Running in 777901220dc0 21:16:00 Removing intermediate container 777901220dc0 21:16:00 ---> 5f303300b380 21:16:00 Step 23/24 : LABEL git_sha=c3e7eabc65b2b59ee522850eb9d0fa1ef40378b3 21:16:00 ---> Running in 29ab29ac9118 21:16:00 Removing intermediate container 29ab29ac9118 21:16:00 ---> 339ef3a921c6 21:16:00 Step 24/24 : LABEL version=0.0.0 21:16:00 ---> Running in 6ab4ead8cd8b 21:16:00 Removing intermediate container 6ab4ead8cd8b 21:16:00 ---> 635e3ccc17e6 21:16:00 [Warning] One or more build-args [ARCH] were not consumed 21:16:00 Successfully built 635e3ccc17e6 21:16:00 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:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:01 21:16:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:01 arm64: Pulling from edgex-lftools-log-publisher 21:16:01 8998bd30e6a1: Pulling fs layer 21:16:01 04944245beec: Pulling fs layer 21:16:01 699f458cf7ca: Pulling fs layer 21:16:01 765212b225bb: Pulling fs layer 21:16:01 f23df028b6ca: Pulling fs layer 21:16:01 d65c8cfc05b1: Pulling fs layer 21:16:01 2437ff75d9bd: Pulling fs layer 21:16:01 f23df028b6ca: Waiting 21:16:01 d65c8cfc05b1: Waiting 21:16:01 765212b225bb: Waiting 21:16:01 2437ff75d9bd: Waiting 21:16:01 04944245beec: Verifying Checksum 21:16:01 04944245beec: Download complete 21:16:01 765212b225bb: Verifying Checksum 21:16:01 765212b225bb: Download complete 21:16:01 f23df028b6ca: Verifying Checksum 21:16:01 f23df028b6ca: Download complete 21:16:01 d65c8cfc05b1: Verifying Checksum 21:16:01 d65c8cfc05b1: Download complete 21:16:01 699f458cf7ca: Verifying Checksum 21:16:01 699f458cf7ca: Download complete 21:16:04 2437ff75d9bd: Verifying Checksum 21:16:04 2437ff75d9bd: Download complete 21:16:05 8998bd30e6a1: Download complete 21:16:08 8998bd30e6a1: Pull complete 21:16:08 04944245beec: Pull complete 21:16:10 699f458cf7ca: Pull complete 21:16:10 765212b225bb: Pull complete 21:16:11 f23df028b6ca: Pull complete 21:16:11 d65c8cfc05b1: Pull complete 21:16:26 2437ff75d9bd: Pull complete 21:16:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:26 prd-ubuntu20.04-docker-arm64-4c-16g-8073 does not seem to be running inside a container 21:16:26 $ 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/21 -v /w/workspace/device-rfid-llrp-go/21:/w/workspace/device-rfid-llrp-go/21:rw,z -v /w/workspace/device-rfid-llrp-go/21@tmp:/w/workspace/device-rfid-llrp-go/21@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:16:28 $ docker top 71e8ffe3b373115b8e7ce24c2529dbeebc37280525bb834a5ef2ea8a4ef96574 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:29 ---> job-cost.sh 21:16:29 lf-activate-venv: SKIPPING 21:16:29 INFO: No Stack... 21:16:29 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:30 INFO: Archiving Costs [Pipeline] sh 21:16:31 + cat /w/workspace/device-rfid-llrp-go/21/archives/cost.csv 21:16:31 + cut -d, -f6 [Pipeline] lock 21:16:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] 21:16:31 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] did not exist. Created. 21:16:31 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:31 /w/workspace/device-rfid-llrp-go/21@tmp/durable-e24b31a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:32 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:32 Warning: overwriting stash ‘stack-cost’ 21:16:32 Stashed 1 file(s) [Pipeline] } 21:16:32 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-21-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:32 $ docker stop --time=1 71e8ffe3b373115b8e7ce24c2529dbeebc37280525bb834a5ef2ea8a4ef96574 21:16:33 $ docker rm -f --volumes 71e8ffe3b373115b8e7ce24c2529dbeebc37280525bb834a5ef2ea8a4ef96574 [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:16:34 provisioning config files... 21:16:34 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config16279702052896864134tmp [Pipeline] { [Pipeline] sh 21:16:34 + set +x 21:16:34 + curl -s https://codecov.io/bash 21:16:34 + bash -s -- 21:16:34 21:16:34 _____ _ 21:16:34 / ____| | | 21:16:34 | | ___ __| | ___ ___ _____ __ 21:16:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:34 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:34 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:34 Bash-1.0.6 21:16:34 21:16:34 21:16:34 ==> git version 2.25.1 found 21:16:34 ==> 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:16:34 Release-Date: 2020-01-08 21:16:34 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:16:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:34 ==> Jenkins CI detected. 21:16:34 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:34 project root: . 21:16:34 --> token set from env 21:16:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:34 ==> Running gcov in . (disable via -X gcov) 21:16:34 ==> Python coveragepy not found 21:16:34 ==> Searching for coverage reports in: 21:16:34 + . 21:16:34 -> Found 1 reports 21:16:34 ==> Detecting git/mercurial file structure 21:16:34 ==> Reading reports 21:16:34 + ./coverage.out bytes=459493 21:16:34 ==> Appending adjustments 21:16:34 https://docs.codecov.io/docs/fixing-reports 21:16:34 + Found adjustments 21:16:34 ==> Gzipping contents 21:16:34 52K /tmp/codecov.Hta2pV.gz 21:16:34 ==> Uploading reports 21:16:34 url: https://codecov.io 21:16:34 query: branch=PR-229&commit=4f4b9eefe509284006cf4d142f060394c255410d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:34 -> Pinging Codecov 21:16:34 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=4f4b9eefe509284006cf4d142f060394c255410d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:16:34 -> Uploading to 21:16:34 https://storage.googleapis.com/codecov/v4/raw/2023-09-27/581DD39554BDF9B6E22D074273EAD858/4f4b9eefe509284006cf4d142f060394c255410d/f9cbde0e-973a-4bff-9440-710b5b1f7559.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T211634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a76318285d32d26dab312ccf110e2dd620e29547ec644f2bff82c91be25c1d5 21:16:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:35 Dload Upload Total Spent Left Speed 21:16:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50512 0 0 100 50512 0 162k --:--:-- --:--:-- --:--:-- 162k 21:16:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4f4b9eefe509284006cf4d142f060394c255410d [Pipeline] } 21:16:35 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:16:36 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:16:36 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:36 total 16 21:16:36 drwxr-xr-x 3 root root 4096 Sep 27 21:09 . 21:16:36 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 21:09 .. 21:16:36 drwxr-xr-x 2 root root 4096 Sep 27 21:09 cost 21:16:36 -rw-r--r-- 1 root root 92 Sep 27 21:09 cost.csv 21:16:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:36 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:16:36 total 16 21:16:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:09 . 21:16:36 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 21:09 .. 21:16:36 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:09 cost 21:16:36 -rw-r--r-- 1 jenkins jenkins 92 Sep 27 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:37 ---> package-listing.sh 21:16:37 ++ facter osfamily 21:16:37 ++ tr '[:upper:]' '[:lower:]' 21:16:37 + OS_FAMILY=debian 21:16:37 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:16:37 + START_PACKAGES=/tmp/packages_start.txt 21:16:37 + END_PACKAGES=/tmp/packages_end.txt 21:16:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:37 + PACKAGES=/tmp/packages_start.txt 21:16:37 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:37 + PACKAGES=/tmp/packages_end.txt 21:16:37 + case "${OS_FAMILY}" in 21:16:37 + dpkg -l 21:16:37 + grep '^ii' 21:16:37 + '[' -f /tmp/packages_start.txt ']' 21:16:37 + '[' -f /tmp/packages_end.txt ']' 21:16:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:37 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:16:37 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:16:37 + 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:16:37 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:16:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:38 prd-ubuntu20.04-docker-8c-8g-8072 does not seem to be running inside a container 21:16:38 $ 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:16:38 $ docker top 99b72bc6700cf5ef5e0d1dff4bc30a5bea49d958571d884e76cd12d7d0d43545 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:39 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:39 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:39 + ls /var/log/sa-host 21:16:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:39 provisioning config files... 21:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config85241987626205547tmp [Pipeline] { [Pipeline] echo 21:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:40 ---> create-netrc.sh [Pipeline] } 21:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:40 ---> python-tools-install.sh [Pipeline] echo 21:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:40 ---> sudo-logs.sh 21:16:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:41 ---> job-cost.sh 21:16:41 lf-activate-venv: SKIPPING 21:16:41 DEBUG: total: 0.2199999988079071 21:16:41 INFO: Retrieving Stack Cost... 21:16:41 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:41 INFO: Archiving Costs [Pipeline] echo 21:16:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:42 ---> logs-deploy.sh 21:16:42 lf-activate-venv: SKIPPING 21:16:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/21 21:16:42 INFO: archiving workspace using pattern(s): 21:16:43 Archives upload complete. 21:16:43 INFO: archiving logs to Nexus