Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+427759c4c8768a0667949273cf9123d5f3339a5e (2bbaaf5c99a1488e682e0f47b40beb0bd497a9cc) 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-ssh14605532662679580727.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1428564765843994773.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7117681783539844292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16029428224459888476.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-ssh12754342679212750872.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16577 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 427759c4c8768a0667949273cf9123d5f3339a5e into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 8a797225da8df981a2caa45a9fa3931456e13e66 Checking out Revision 8a797225da8df981a2caa45a9fa3931456e13e66 (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 427759c4c8768a0667949273cf9123d5f3339a5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a797225da8df981a2caa45a9fa3931456e13e66 # timeout=10 Commit message: "Merge commit '427759c4c8768a0667949273cf9123d5f3339a5e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk f2eb7421cb60fce98dfafa71a09c397f42f00207 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:09:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:09:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:09:12 ========================================================= 21:09:12 EdgeX Global Pipelines Version Info 21:09:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:09:12 ------------------- 21:09:12 stable info: 21:09:12 ------------------- 21:09:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:09:12 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:09:12 Message: update stable to v1.0.249 21:09:13 ------------------- 21:09:13 experimental info: 21:09:13 ------------------- 21:09:13 Commited By: **** collab-it+edgex@linuxfoundation.org 21:09:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:09:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:09:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a797225da8df981a2caa45a9fa3931456e13e66 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a79722 [Pipeline] echo 21:09:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:14 provisioning config files... 21:09:14 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config14016257381309443356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:14 ---> docker-login.sh 21:09:14 nexus3.edgexfoundry.org:10001 21:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:14 Configure a credential helper to remove this warning. See 21:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:14 21:09:14 Login Succeeded 21:09:14 nexus3.edgexfoundry.org:10002 21:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:14 Configure a credential helper to remove this warning. See 21:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:14 21:09:14 Login Succeeded 21:09:14 nexus3.edgexfoundry.org:10003 21:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:15 Configure a credential helper to remove this warning. See 21:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:15 21:09:15 Login Succeeded 21:09:15 nexus3.edgexfoundry.org:10004 21:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:15 Configure a credential helper to remove this warning. See 21:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:15 21:09:15 Login Succeeded 21:09:15 docker.io 21:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:15 Configure a credential helper to remove this warning. See 21:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:15 21:09:15 Login Succeeded 21:09:15 ---> docker-login.sh ends [Pipeline] } 21:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:09:15 + git rev-list -1 --merges 8a797225da8df981a2caa45a9fa3931456e13e66~1..8a797225da8df981a2caa45a9fa3931456e13e66 [Pipeline] echo 21:09:16 -----------> git rev-list -1 --merges 8a797225da8df981a2caa45a9fa3931456e13e66~1..8a797225da8df981a2caa45a9fa3931456e13e66 8a797225da8df981a2caa45a9fa3931456e13e66 21:09:16 8a797225da8df981a2caa45a9fa3931456e13e66 [false] [Pipeline] sh 21:09:16 + git log --format=format:%s -1 8a797225da8df981a2caa45a9fa3931456e13e66 [Pipeline] echo 21:09:16 ========================================================= 21:09:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:09:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:16 + git log --format=format:%s -1 8a797225da8df981a2caa45a9fa3931456e13e66 [Pipeline] echo 21:09:16 [semverPrep] GIT_COMMIT: 8a797225da8df981a2caa45a9fa3931456e13e66, Commit Message: Merge commit '427759c4c8768a0667949273cf9123d5f3339a5e' into HEAD [Pipeline] echo 21:09:16 [semverPrep] This is not a build commit. [Pipeline] sh 21:09:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:17 + grep -v github /etc/ssh/ssh_known_hosts 21:09:17 + [ -e /tmp/ssh_known_hosts ] 21:09:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:09:17 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:09:17 sudo tee -a /etc/ssh/ssh_known_hosts 21:09:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:17 21:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:17 0.1.4: Pulling from edgex-devops/py-git-semver 21:09:17 b85a868b505f: Pulling fs layer 21:09:17 e2be974225ed: Pulling fs layer 21:09:17 339a4e72a1f5: Pulling fs layer 21:09:17 988bab9f4d93: Pulling fs layer 21:09:17 1469e6f7b9e6: Pulling fs layer 21:09:17 eaf3925da568: Pulling fs layer 21:09:17 bab4dde63d76: Pulling fs layer 21:09:17 bde34c3a00c8: Pulling fs layer 21:09:17 b352a97aabf1: Pulling fs layer 21:09:17 4872d77fe225: Pulling fs layer 21:09:17 5851b861e8e6: Pulling fs layer 21:09:17 988bab9f4d93: Waiting 21:09:17 b352a97aabf1: Waiting 21:09:17 4872d77fe225: Waiting 21:09:17 1469e6f7b9e6: Waiting 21:09:17 eaf3925da568: Waiting 21:09:17 5851b861e8e6: Waiting 21:09:17 bde34c3a00c8: Waiting 21:09:17 bab4dde63d76: Waiting 21:09:17 e2be974225ed: Download complete 21:09:17 988bab9f4d93: Download complete 21:09:17 1469e6f7b9e6: Verifying Checksum 21:09:17 1469e6f7b9e6: Download complete 21:09:17 339a4e72a1f5: Verifying Checksum 21:09:17 339a4e72a1f5: Download complete 21:09:17 eaf3925da568: Verifying Checksum 21:09:17 eaf3925da568: Download complete 21:09:17 bde34c3a00c8: Verifying Checksum 21:09:17 bde34c3a00c8: Download complete 21:09:17 b352a97aabf1: Verifying Checksum 21:09:17 b352a97aabf1: Download complete 21:09:17 4872d77fe225: Verifying Checksum 21:09:17 4872d77fe225: Download complete 21:09:17 5851b861e8e6: Verifying Checksum 21:09:17 5851b861e8e6: Download complete 21:09:17 b85a868b505f: Verifying Checksum 21:09:17 b85a868b505f: Download complete 21:09:18 bab4dde63d76: Verifying Checksum 21:09:18 bab4dde63d76: Download complete 21:09:19 b85a868b505f: Pull complete 21:09:19 e2be974225ed: Pull complete 21:09:19 339a4e72a1f5: Pull complete 21:09:19 988bab9f4d93: Pull complete 21:09:19 1469e6f7b9e6: Pull complete 21:09:20 eaf3925da568: Pull complete 21:09:22 bab4dde63d76: Pull complete 21:09:22 bde34c3a00c8: Pull complete 21:09:22 b352a97aabf1: Pull complete 21:09:22 4872d77fe225: Pull complete 21:09:22 5851b861e8e6: Pull complete 21:09:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:22 prd-ubuntu20.04-docker-8c-8g-16577 does not seem to be running inside a container 21:09:22 $ 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:09:23 $ docker top 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 -eo pid,comm 21:09:23 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:09:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:23 [ssh-agent] Looking for ssh-agent implementation... 21:09:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:23 $ docker exec 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 ssh-agent 21:09:23 SSH_AUTH_SOCK=/tmp/ssh-q5CKSGB4tr3t/agent.32 21:09:23 SSH_AGENT_PID=38 21:09:23 Running ssh-add (command line suppressed) 21:09:23 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_5250724395490424585.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_5250724395490424585.key) 21:09:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:24 + git tag --points-at HEAD [Pipeline] } 21:09:24 $ docker exec --env ******** --env ******** 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 ssh-agent -k 21:09:24 unset SSH_AUTH_SOCK; 21:09:24 unset SSH_AGENT_PID; 21:09:24 echo Agent pid 38 killed; 21:09:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:09:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:24 [ssh-agent] Looking for ssh-agent implementation... 21:09:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:24 $ docker exec 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 ssh-agent 21:09:24 SSH_AUTH_SOCK=/tmp/ssh-XG0ylDy7yuJ7/agent.72 21:09:24 SSH_AGENT_PID=78 21:09:24 Running ssh-add (command line suppressed) 21:09:24 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_8779309232596695960.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_8779309232596695960.key) 21:09:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:25 + git semver init 21:09:25 2023-05-23 21:09:25,244 [run_init] DEBUG init version:0.0.0 force:False 21:09:25 2023-05-23 21:09:25,245 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:09:25 2023-05-23 21:09:25,245 [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:09:25 2023-05-23 21:09:25,246 [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:09:26 2023-05-23 21:09:25,985 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:09:26 2023-05-23 21:09:25,985 [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:09:26 2023-05-23 21:09:25,986 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:09:26 2023-05-23 21:09:25,990 [execute] INFO git cat-file --batch-check 21:09:26 2023-05-23 21:09:25,990 [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:09:26 2023-05-23 21:09:25,996 [execute] INFO git cat-file --batch 21:09:26 2023-05-23 21:09:25,996 [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:09:26 2023-05-23 21:09:26,000 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:09:26 0.0.0 [Pipeline] } 21:09:26 $ docker exec --env ******** --env ******** 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 ssh-agent -k 21:09:26 unset SSH_AUTH_SOCK; 21:09:26 unset SSH_AGENT_PID; 21:09:26 echo Agent pid 78 killed; 21:09:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:26 + git semver [Pipeline] } 21:09:26 $ docker stop --time=1 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 21:09:28 $ docker rm -f --volumes 649c5cb1207e9a36324faaf81053b76b4566603b0f637160328661603d9545b2 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:09:28 Stashed 1 file(s) [Pipeline] echo 21:09:28 [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:09:28 provisioning config files... 21:09:28 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config5412770529049597132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:29 ---> docker-login.sh 21:09:29 nexus3.edgexfoundry.org:10001 21:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:29 Configure a credential helper to remove this warning. See 21:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:29 21:09:29 Login Succeeded 21:09:29 nexus3.edgexfoundry.org:10002 21:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:29 Configure a credential helper to remove this warning. See 21:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:29 21:09:29 Login Succeeded 21:09:29 nexus3.edgexfoundry.org:10003 21:09:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16575 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:09:29 Running in /w/workspace/device-rfid-llrp-go/5 [Pipeline] { [Pipeline] checkout 21:09:29 Selected Git installation does not exist. Using Default 21:09:29 The recommended git tool is: NONE 21:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:29 Configure a credential helper to remove this warning. See 21:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:29 21:09:29 Login Succeeded 21:09:29 nexus3.edgexfoundry.org:10004 21:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:29 Configure a credential helper to remove this warning. See 21:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:29 21:09:29 Login Succeeded 21:09:29 docker.io 21:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:29 Configure a credential helper to remove this warning. See 21:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:29 21:09:29 Login Succeeded 21:09:29 ---> docker-login.sh ends [Pipeline] } 21:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:29 ========================================================= 21:09:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:09:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:09:30 Sending build context to Docker daemon 4.258MB 21:09:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:09:30 Step 2/12 : FROM ${BASE} AS builder 21:09:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:09:30 f56be85fc22e: Pulling fs layer 21:09:30 85791d961cd3: Pulling fs layer 21:09:30 d694b5ae8c79: Pulling fs layer 21:09:30 9f32a84ed3da: Pulling fs layer 21:09:30 4d19c01a9841: Pulling fs layer 21:09:30 9325e15d5711: Pulling fs layer 21:09:30 556b6ee489ea: Pulling fs layer 21:09:30 c5a4b2cf53e6: Pulling fs layer 21:09:30 9f32a84ed3da: Waiting 21:09:30 4d19c01a9841: Waiting 21:09:30 9325e15d5711: Waiting 21:09:30 556b6ee489ea: Waiting 21:09:30 c5a4b2cf53e6: Waiting 21:09:30 85791d961cd3: Verifying Checksum 21:09:30 85791d961cd3: Download complete 21:09:30 9f32a84ed3da: Verifying Checksum 21:09:30 9f32a84ed3da: Download complete 21:09:30 4d19c01a9841: Verifying Checksum 21:09:30 4d19c01a9841: Download complete 21:09:30 f56be85fc22e: Verifying Checksum 21:09:30 f56be85fc22e: Download complete 21:09:30 9325e15d5711: Verifying Checksum 21:09:30 9325e15d5711: Download complete 21:09:30 f56be85fc22e: Pull complete 21:09:30 85791d961cd3: Pull complete 21:09:30 c5a4b2cf53e6: Verifying Checksum 21:09:30 c5a4b2cf53e6: Download complete 21:09:30 d694b5ae8c79: Verifying Checksum 21:09:30 d694b5ae8c79: Download complete 21:09:30 556b6ee489ea: Download complete 21:09:34 d694b5ae8c79: Pull complete 21:09:34 9f32a84ed3da: Pull complete 21:09:34 4d19c01a9841: Pull complete 21:09:34 9325e15d5711: Pull complete 21:09:35 using credential edgex-jenkins-ssh 21:09:35 Cloning the remote Git repository 21:09:35 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:35 > git init /w/workspace/device-rfid-llrp-go/5 # timeout=10 21:09:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:35 > git --version # timeout=10 21:09:35 > git --version # 'git version 2.25.1' 21:09:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:37 556b6ee489ea: Pull complete 21:09:37 c5a4b2cf53e6: Pull complete 21:09:37 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:09:37 ---> c4be618373d6 21:09:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:39 ---> Running in c5d773590bb4 21:09:39 Removing intermediate container c5d773590bb4 21:09:39 ---> 2bd4813d01b9 21:09:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:39 ---> Running in 7cc7c4a4ad0b 21:09:39 Removing intermediate container 7cc7c4a4ad0b 21:09:39 ---> 5d670a12bb55 21:09:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:39 ---> Running in c5c6e8e24868 21:09:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:09:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:39 Removing intermediate container c5c6e8e24868 21:09:39 ---> 01c8361ff977 21:09:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:39 ---> Running in 6feae3e3968d 21:09:39 Removing intermediate container 6feae3e3968d 21:09:39 ---> df276b4f92d2 21:09:39 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:39 ---> Running in aa931a221fa5 21:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:40 OK: 265 MiB in 53 packages 21:09:40 Removing intermediate container aa931a221fa5 21:09:40 ---> 7a942f9d9b16 21:09:40 Step 8/12 : WORKDIR /app 21:09:40 ---> Running in a0600965421d 21:09:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:09:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:09:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:40 > 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:09:41 Merging remotes/origin/main commit 427759c4c8768a0667949273cf9123d5f3339a5e into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:09:41 Removing intermediate container a0600965421d 21:09:41 ---> c1db0604cfe8 21:09:41 Step 9/12 : COPY go.mod vendor* ./ 21:09:41 ---> 52da0909ad6d 21:09:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:41 ---> Running in cca4b9449955 21:09:41 Merge succeeded, producing 9cad5be8f76f1820a4e813201d2558e3a6cf11c1 21:09:41 Checking out Revision 9cad5be8f76f1820a4e813201d2558e3a6cf11c1 (PR-229) 21:09:41 > git config core.sparsecheckout # timeout=10 21:09:41 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:09:41 > git remote # timeout=10 21:09:41 > git config --get remote.origin.url # timeout=10 21:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:41 > git merge 427759c4c8768a0667949273cf9123d5f3339a5e # timeout=10 21:09:41 > git rev-parse HEAD^{commit} # timeout=10 21:09:41 > git config core.sparsecheckout # timeout=10 21:09:41 > git checkout -f 9cad5be8f76f1820a4e813201d2558e3a6cf11c1 # timeout=10 21:09:45 Commit message: "Merge commit '427759c4c8768a0667949273cf9123d5f3339a5e' into HEAD" 21:09:45 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:45 Dload Upload Total Spent Left Speed 21:09:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 21:09:45 > git rev-list --no-walk f2eb7421cb60fce98dfafa71a09c397f42f00207 # timeout=10 [Pipeline] sh 21:09:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:46 + sudo tee /etc/docker/daemon.new 21:09:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:09:46 { 21:09:46 "registry-mirrors": [ 21:09:46 "https://nexus3.edgexfoundry.org:10001" 21:09:46 ], 21:09:46 "bip": "10.250.0.254/24", 21:09:46 "hosts": [ 21:09:46 "tcp://0.0.0.0:5555", 21:09:46 "unix:///var/run/docker.sock" 21:09:46 ], 21:09:46 "mtu": 1458, 21:09:46 "selinux-enabled": true, 21:09:46 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:46 } [Pipeline] sh 21:09:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:47 + sudo service docker restart 21:10:07 Removing intermediate container cca4b9449955 21:10:07 ---> 4cedf76127eb 21:10:07 Step 11/12 : COPY . . 21:10:07 ---> 53610fe0cfdc 21:10:07 Step 12/12 : RUN $MAKE 21:10:07 ---> Running in cc2e336d021d 21:10:08 noop 21:10:08 Removing intermediate container cc2e336d021d 21:10:08 ---> 2934d78c3ab5 21:10:08 Successfully built 2934d78c3ab5 21:10:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:08 + docker inspect -f . ci-base-image-x86_64 21:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:08 prd-ubuntu20.04-docker-8c-8g-16577 does not seem to be running inside a container 21:10:08 $ 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:10:09 $ docker top e6241871f507079fc92ea65619bfa47c7f0ceebbec7ae65e30c26026b8d2c864 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:09 + go version 21:10:09 go version go1.20.2 linux/amd64 [Pipeline] } 21:10:09 $ docker stop --time=1 e6241871f507079fc92ea65619bfa47c7f0ceebbec7ae65e30c26026b8d2c864 21:10:10 $ docker rm -f --volumes e6241871f507079fc92ea65619bfa47c7f0ceebbec7ae65e30c26026b8d2c864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider 21:10:10 provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 21:10:10 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/5@tmp/config14931125503490516509tmp [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:11 + docker inspect -f . ci-base-image-x86_64 21:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:11 prd-ubuntu20.04-docker-8c-8g-16577 does not seem to be running inside a container 21:10:11 ---> docker-login.sh 21:10:11 nexus3.edgexfoundry.org:10001 21:10:11 $ 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:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 $ docker top 36d4e7e7ba7cc78ec1ebd2035a5001d1c14088653efce1f3cdf9bc01c7989c57 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 nexus3.edgexfoundry.org:10002 21:10:11 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:12 + make test 21:10:12 go test ./... -coverprofile=coverage.out ./... 21:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:12 Configure a credential helper to remove this warning. See 21:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:12 21:10:12 Login Succeeded 21:10:12 nexus3.edgexfoundry.org:10003 21:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:12 Configure a credential helper to remove this warning. See 21:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:12 21:10:12 Login Succeeded 21:10:12 nexus3.edgexfoundry.org:10004 21:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:12 Configure a credential helper to remove this warning. See 21:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:12 21:10:12 Login Succeeded 21:10:12 docker.io 21:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:13 Configure a credential helper to remove this warning. See 21:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:13 21:10:13 Login Succeeded 21:10:13 ---> docker-login.sh ends [Pipeline] } 21:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:13 ========================================================= 21:10:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:10:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:10:14 Sending build context to Docker daemon 1.212MB 21:10:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:10:14 Step 2/12 : FROM ${BASE} AS builder 21:10:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:14 c41833b44d91: Pulling fs layer 21:10:14 ed15518f5707: Pulling fs layer 21:10:14 feae8fd75edb: Pulling fs layer 21:10:14 242c74f7c9fa: Pulling fs layer 21:10:14 3cdef696dda3: Pulling fs layer 21:10:14 2ced38df9373: Pulling fs layer 21:10:14 242c74f7c9fa: Waiting 21:10:14 3cdef696dda3: Waiting 21:10:14 58f1dce35555: Pulling fs layer 21:10:14 58f1dce35555: Waiting 21:10:14 2ced38df9373: Waiting 21:10:14 ed15518f5707: Verifying Checksum 21:10:14 ed15518f5707: Download complete 21:10:14 242c74f7c9fa: Verifying Checksum 21:10:14 242c74f7c9fa: Download complete 21:10:14 3cdef696dda3: Verifying Checksum 21:10:14 3cdef696dda3: Download complete 21:10:14 c41833b44d91: Verifying Checksum 21:10:14 c41833b44d91: Download complete 21:10:16 c41833b44d91: Pull complete 21:10:16 58f1dce35555: Verifying Checksum 21:10:16 58f1dce35555: Download complete 21:10:16 ed15518f5707: Pull complete 21:10:16 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:10:17 feae8fd75edb: Verifying Checksum 21:10:17 feae8fd75edb: Download complete 21:10:17 2ced38df9373: Verifying Checksum 21:10:17 2ced38df9373: Download complete 21:10:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:10:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:10:29 feae8fd75edb: Pull complete 21:10:29 242c74f7c9fa: Pull complete 21:10:29 3cdef696dda3: Pull complete 21:10:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.648s coverage: 40.5% of statements 21:10:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 52.0% of statements 21:10:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 21:10:36 2ced38df9373: Pull complete 21:10:37 go vet ./... 21:10:39 58f1dce35555: Pull complete 21:10:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:10:39 ---> fadd8f120f05 21:10:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:10:40 ---> Running in 8d839f5194e2 21:10:41 Removing intermediate container 8d839f5194e2 21:10:41 ---> 6c23711bcd6a 21:10:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:41 ---> Running in baa518e3326f 21:10:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:41 ./bin/test-attribution-txt.sh 21:10:41 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:10:41 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:10:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:41 $ docker stop --time=1 36d4e7e7ba7cc78ec1ebd2035a5001d1c14088653efce1f3cdf9bc01c7989c57 21:10:41 Removing intermediate container baa518e3326f 21:10:41 ---> 76bc8ab60b5a 21:10:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:10:41 ---> Running in b0d92adf99a8 21:10:41 Removing intermediate container b0d92adf99a8 21:10:41 ---> d116db5f0ef4 21:10:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:10:41 ---> Running in 17e19b757cac 21:10:41 Removing intermediate container 17e19b757cac 21:10:41 ---> ec8a55ece15a 21:10:41 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:42 ---> Running in f9f9039abc12 21:10:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:10:43 $ docker rm -f --volumes 36d4e7e7ba7cc78ec1ebd2035a5001d1c14088653efce1f3cdf9bc01c7989c57 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:10:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:10:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:44 OK: 263 MiB in 53 packages 21:10:44 + ls -al . 21:10:44 total 628 21:10:44 drwxrwxr-x 11 jenkins jenkins 4096 May 23 21:10 . 21:10:44 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 .. 21:10:44 -rw-rw-r-- 1 jenkins jenkins 134 May 23 21:09 .dockerignore 21:10:44 drwxrwxr-x 8 jenkins jenkins 4096 May 23 21:09 .git 21:10:44 drwxrwxr-x 3 jenkins jenkins 4096 May 23 21:09 .github 21:10:44 -rw-rw-r-- 1 jenkins jenkins 946 May 23 21:09 .gitignore 21:10:44 -rw-rw-r-- 1 jenkins jenkins 41 May 23 21:09 .golangci.yml 21:10:44 drwxr-xr-x 3 jenkins jenkins 4096 May 23 21:09 .semver 21:10:44 -rw-rw-r-- 1 jenkins jenkins 10794 May 23 21:09 Attribution.txt 21:10:44 -rw-rw-r-- 1 jenkins jenkins 5905 May 23 21:09 CHANGELOG.md 21:10:44 -rw-rw-r-- 1 jenkins jenkins 1347 May 23 21:09 Dockerfile 21:10:44 -rw-rw-r-- 1 jenkins jenkins 677 May 23 21:09 GOVERNANCE.md 21:10:44 -rw-rw-r-- 1 jenkins jenkins 683 May 23 21:09 Jenkinsfile 21:10:44 -rw-rw-r-- 1 jenkins jenkins 11347 May 23 21:09 LICENSE 21:10:44 -rw-rw-r-- 1 jenkins jenkins 2053 May 23 21:09 Makefile 21:10:44 -rw-rw-r-- 1 jenkins jenkins 625 May 23 21:09 OWNERS.md 21:10:44 -rw-rw-r-- 1 jenkins jenkins 28505 May 23 21:09 README.md 21:10:44 -rw-rw-r-- 1 jenkins jenkins 5 May 23 21:09 VERSION 21:10:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 bin 21:10:44 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 cmd 21:10:44 -rw-r--r-- 1 jenkins jenkins 458038 May 23 21:10 coverage.out 21:10:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 examples 21:10:44 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 21:09 go.mod 21:10:44 -rw-rw-r-- 1 jenkins jenkins 31078 May 23 21:09 go.sum 21:10:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 images 21:10:44 drwxrwxr-x 5 jenkins jenkins 4096 May 23 21:09 internal 21:10:44 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 snap 21:10:44 -rw-rw-r-- 1 jenkins jenkins 193 May 23 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10: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=8a797225da8df981a2caa45a9fa3931456e13e66 --label arch=amd64 --label version=0.0.0 . 21:10:44 Sending build context to Docker daemon 4.258MB 21:10:44 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:10:44 Step 2/24 : FROM ${BASE} AS builder 21:10:44 ---> 2934d78c3ab5 21:10:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:10:44 ---> Running in 8e0b859aeaf7 21:10:44 Removing intermediate container 8e0b859aeaf7 21:10:44 ---> d5e8cde1c82f 21:10:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:44 ---> Running in f013e973e9f1 21:10:45 Removing intermediate container f013e973e9f1 21:10:45 ---> 535e3cc4075a 21:10:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:10:45 ---> Running in 86612e182096 21:10:45 Removing intermediate container 86612e182096 21:10:45 ---> 689ffbba9902 21:10:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:10:45 ---> Running in 2c490cfe6834 21:10:45 Removing intermediate container 2c490cfe6834 21:10:45 ---> a459e5c6c18d 21:10:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:45 ---> Running in 15062390192e 21:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:45 Removing intermediate container f9f9039abc12 21:10:45 ---> 445925a29cd3 21:10:45 Step 8/12 : WORKDIR /app 21:10:45 ---> Running in 600fd61ddde4 21:10:45 Removing intermediate container 600fd61ddde4 21:10:45 ---> 0775ce606368 21:10:45 Step 9/12 : COPY go.mod vendor* ./ 21:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:46 OK: 265 MiB in 53 packages 21:10:46 ---> 3820f47aece2 21:10:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:46 ---> Running in 14cd8b1a5f86 21:10:46 Removing intermediate container 15062390192e 21:10:46 ---> db43bb2a0e5f 21:10:46 Step 8/24 : WORKDIR /app 21:10:46 ---> Running in fd5f6958b7ad 21:10:46 Removing intermediate container fd5f6958b7ad 21:10:46 ---> d21661438022 21:10:46 Step 9/24 : COPY go.mod vendor* ./ 21:10:46 ---> 2c19523ce605 21:10:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:46 ---> Running in 6ce17dfea525 21:10:47 Removing intermediate container 6ce17dfea525 21:10:47 ---> 5d2d564801e9 21:10:47 Step 11/24 : COPY . . 21:10:47 ---> cc7d22826c72 21:10:47 Step 12/24 : RUN $MAKE 21:10:47 ---> Running in 2888a7068c50 21:10:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:11:05 Removing intermediate container 2888a7068c50 21:11:05 ---> 127acfe688bb 21:11:05 Step 13/24 : FROM alpine:3.17 21:11:05 3.17: Pulling from library/alpine 21:11:05 f56be85fc22e: Already exists 21:11:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:11:05 Status: Downloaded newer image for alpine:3.17 21:11:05 ---> 9ed4aefc74f6 21:11:05 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:11:05 ---> Running in a64a07ebafcc 21:11:05 Removing intermediate container a64a07ebafcc 21:11:05 ---> d8d1177600e3 21:11:05 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:11:05 ---> Running in 71504f5c07df 21:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:11:05 (1/1) Installing dumb-init (1.2.5-r2) 21:11:05 Executing busybox-1.35.0-r29.trigger 21:11:05 OK: 7 MiB in 16 packages 21:11:05 Removing intermediate container 71504f5c07df 21:11:05 ---> 3fbf601b384a 21:11:05 Step 16/24 : COPY --from=builder /app/LICENSE / 21:11:05 ---> c92d377fa3ca 21:11:05 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:11:05 ---> 6ec1b429ac80 21:11:05 Step 18/24 : COPY --from=builder /app/cmd/ / 21:11:05 ---> 6f13c17329df 21:11:05 Step 19/24 : EXPOSE 59989 21:11:05 ---> Running in f23e0c15810d 21:11:05 Removing intermediate container f23e0c15810d 21:11:05 ---> b77c6d3335b8 21:11:05 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:11:05 ---> Running in 027cb75f0cd7 21:11:05 Removing intermediate container 027cb75f0cd7 21:11:05 ---> 25caf4a730db 21:11:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:11:06 ---> Running in 4b8a3e4d978d 21:11:06 Removing intermediate container 4b8a3e4d978d 21:11:06 ---> 88c196b3aaeb 21:11:06 Step 22/24 : LABEL arch=amd64 21:11:06 ---> Running in 244fde3ce1bf 21:11:06 Removing intermediate container 244fde3ce1bf 21:11:06 ---> 57dc6ab91e81 21:11:06 Step 23/24 : LABEL git_sha=8a797225da8df981a2caa45a9fa3931456e13e66 21:11:06 ---> Running in 73551864d337 21:11:06 Removing intermediate container 73551864d337 21:11:06 ---> f5fcdfc8fd8a 21:11:06 Step 24/24 : LABEL version=0.0.0 21:11:06 ---> Running in 27ea6db1116d 21:11:06 Removing intermediate container 27ea6db1116d 21:11:06 ---> 2bb1643268d8 21:11:06 [Warning] One or more build-args [ARCH] were not consumed 21:11:06 Successfully built 2bb1643268d8 21:11:06 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:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:06 21:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:07 latest: Pulling from edgex-lftools-log-publisher 21:11:07 5eb5b503b376: Pulling fs layer 21:11:07 5c69ac0246d0: Pulling fs layer 21:11:07 ec43610c2a17: Pulling fs layer 21:11:07 3a2ae6a8a46f: Pulling fs layer 21:11:07 33b1e0a273af: Pulling fs layer 21:11:07 5d3b04190fa2: Pulling fs layer 21:11:07 2f39f015ded8: Pulling fs layer 21:11:07 33b1e0a273af: Waiting 21:11:07 5d3b04190fa2: Waiting 21:11:07 2f39f015ded8: Waiting 21:11:07 3a2ae6a8a46f: Waiting 21:11:07 5c69ac0246d0: Download complete 21:11:07 3a2ae6a8a46f: Download complete 21:11:07 33b1e0a273af: Verifying Checksum 21:11:07 33b1e0a273af: Download complete 21:11:07 ec43610c2a17: Verifying Checksum 21:11:07 ec43610c2a17: Download complete 21:11:07 5d3b04190fa2: Verifying Checksum 21:11:07 5d3b04190fa2: Download complete 21:11:07 5eb5b503b376: Verifying Checksum 21:11:07 5eb5b503b376: Download complete 21:11:08 2f39f015ded8: Download complete 21:11:08 5eb5b503b376: Pull complete 21:11:08 5c69ac0246d0: Pull complete 21:11:08 ec43610c2a17: Pull complete 21:11:09 3a2ae6a8a46f: Pull complete 21:11:09 33b1e0a273af: Pull complete 21:11:09 5d3b04190fa2: Pull complete 21:11:13 2f39f015ded8: Pull complete 21:11:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:13 prd-ubuntu20.04-docker-8c-8g-16577 does not seem to be running inside a container 21:11:13 $ 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:11:14 $ docker top bd3a0b22ab06c1021004a9d11862e2486400243f7184bde21903578a464f7bcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:15 ---> job-cost.sh 21:11:15 lf-activate-venv: SKIPPING 21:11:15 INFO: No Stack... 21:11:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:15 INFO: Archiving Costs [Pipeline] sh 21:11:16 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:11:16 + cut -d, -f6 [Pipeline] lock 21:11:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] 21:11:16 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] did not exist. Created. 21:11:16 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:16 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:16 Stashed 1 file(s) [Pipeline] } 21:11:16 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:16 $ docker stop --time=1 bd3a0b22ab06c1021004a9d11862e2486400243f7184bde21903578a464f7bcb 21:11:17 $ docker rm -f --volumes bd3a0b22ab06c1021004a9d11862e2486400243f7184bde21903578a464f7bcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:11:54 Removing intermediate container 14cd8b1a5f86 21:11:54 ---> ccaf67f006ea 21:11:54 Step 11/12 : COPY . . 21:11:54 ---> 46e356bb2420 21:11:54 Step 12/12 : RUN $MAKE 21:11:54 ---> Running in 73308734b07a 21:11:54 noop 21:11:54 Removing intermediate container 73308734b07a 21:11:54 ---> c8093ccea779 21:11:54 Successfully built c8093ccea779 21:11:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:54 + docker inspect -f . ci-base-image-arm64 21:11:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:54 prd-ubuntu20.04-docker-arm64-4c-16g-16575 does not seem to be running inside a container 21:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:11:56 $ docker top 2e70e99029e9c3339c53c95de7b2af6cfd28bdb6499a6dd115d1e53181782a66 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:57 + go version 21:11:57 go version go1.20.2 linux/arm64 [Pipeline] } 21:11:57 $ docker stop --time=1 2e70e99029e9c3339c53c95de7b2af6cfd28bdb6499a6dd115d1e53181782a66 21:11:58 $ docker rm -f --volumes 2e70e99029e9c3339c53c95de7b2af6cfd28bdb6499a6dd115d1e53181782a66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:59 + docker inspect -f . ci-base-image-arm64 21:11:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:59 prd-ubuntu20.04-docker-arm64-4c-16g-16575 does not seem to be running inside a container 21:11:59 $ 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/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:00 $ docker top fb1c20848afc4053f3a691c7a80910137bdf086861ac6d8cbd4efbb34b52cfdb -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:01 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/5 [Pipeline] fileExists [Pipeline] sh 21:12:02 + make test 21:12:02 go test ./... -coverprofile=coverage.out ./... 21:12:34 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:14:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:14:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:14:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 22.036s coverage: 40.5% of statements 21:14:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.565s coverage: 51.9% of statements 21:14:48 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.028s coverage: 95.5% of statements 21:14:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:14:48 go vet ./... 21:15:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:15:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:15:14 ./bin/test-attribution-txt.sh 21:15:14 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:15:14 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:15:14 $ docker stop --time=1 fb1c20848afc4053f3a691c7a80910137bdf086861ac6d8cbd4efbb34b52cfdb 21:15:16 $ docker rm -f --volumes fb1c20848afc4053f3a691c7a80910137bdf086861ac6d8cbd4efbb34b52cfdb [Pipeline] // withDockerContainer [Pipeline] sh 21:15:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:15:17 Warning: overwriting stash ‘coverage-report’ 21:15:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:15:19 + ls -al . 21:15:19 total 624 21:15:19 drwxrwxr-x 10 jenkins jenkins 4096 May 23 21:12 . 21:15:19 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 .. 21:15:19 -rw-rw-r-- 1 jenkins jenkins 134 May 23 21:09 .dockerignore 21:15:19 drwxrwxr-x 8 jenkins jenkins 4096 May 23 21:09 .git 21:15:19 drwxrwxr-x 3 jenkins jenkins 4096 May 23 21:09 .github 21:15:19 -rw-rw-r-- 1 jenkins jenkins 946 May 23 21:09 .gitignore 21:15:19 -rw-rw-r-- 1 jenkins jenkins 41 May 23 21:09 .golangci.yml 21:15:19 -rw-rw-r-- 1 jenkins jenkins 10794 May 23 21:09 Attribution.txt 21:15:19 -rw-rw-r-- 1 jenkins jenkins 5905 May 23 21:09 CHANGELOG.md 21:15:19 -rw-rw-r-- 1 jenkins jenkins 1347 May 23 21:09 Dockerfile 21:15:19 -rw-rw-r-- 1 jenkins jenkins 677 May 23 21:09 GOVERNANCE.md 21:15:19 -rw-rw-r-- 1 jenkins jenkins 683 May 23 21:09 Jenkinsfile 21:15:19 -rw-rw-r-- 1 jenkins jenkins 11347 May 23 21:09 LICENSE 21:15:19 -rw-rw-r-- 1 jenkins jenkins 2053 May 23 21:09 Makefile 21:15:19 -rw-rw-r-- 1 jenkins jenkins 625 May 23 21:09 OWNERS.md 21:15:19 -rw-rw-r-- 1 jenkins jenkins 28505 May 23 21:09 README.md 21:15:19 -rw-rw-r-- 1 jenkins jenkins 5 May 23 21:09 VERSION 21:15:19 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 bin 21:15:19 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 cmd 21:15:19 -rw-r--r-- 1 jenkins jenkins 458038 May 23 21:14 coverage.out 21:15:19 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 examples 21:15:19 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 21:09 go.mod 21:15:19 -rw-rw-r-- 1 jenkins jenkins 31078 May 23 21:09 go.sum 21:15:19 drwxrwxr-x 2 jenkins jenkins 4096 May 23 21:09 images 21:15:19 drwxrwxr-x 5 jenkins jenkins 4096 May 23 21:09 internal 21:15:19 drwxrwxr-x 4 jenkins jenkins 4096 May 23 21:09 snap 21:15:19 -rw-rw-r-- 1 jenkins jenkins 193 May 23 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:19 + 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=9cad5be8f76f1820a4e813201d2558e3a6cf11c1 --label arch=arm64 --label version=0.0.0 . 21:15:19 Sending build context to Docker daemon 1.212MB 21:15:19 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:15:19 Step 2/24 : FROM ${BASE} AS builder 21:15:19 ---> c8093ccea779 21:15:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:15:20 ---> Running in 72c195500034 21:15:20 Removing intermediate container 72c195500034 21:15:20 ---> 4ce443f89148 21:15:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:15:20 ---> Running in 3f8cb22ab9b4 21:15:20 Removing intermediate container 3f8cb22ab9b4 21:15:20 ---> fac05dfd651a 21:15:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:15:21 ---> Running in ddd3ad951479 21:15:21 Removing intermediate container ddd3ad951479 21:15:21 ---> e676a155a122 21:15:21 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:15:21 ---> Running in 57e57a406abd 21:15:21 Removing intermediate container 57e57a406abd 21:15:21 ---> 0b32440c4c3d 21:15:21 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:21 ---> Running in 3dcdcf9bac00 21:15:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:15:24 OK: 263 MiB in 53 packages 21:15:25 Removing intermediate container 3dcdcf9bac00 21:15:25 ---> 74bfcff71693 21:15:25 Step 8/24 : WORKDIR /app 21:15:25 ---> Running in 73c1e0f4946c 21:15:25 Removing intermediate container 73c1e0f4946c 21:15:25 ---> f01c1c3d60bf 21:15:25 Step 9/24 : COPY go.mod vendor* ./ 21:15:26 ---> 8dd8ce2a8831 21:15:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:26 ---> Running in 1676eb41652a 21:15:28 Removing intermediate container 1676eb41652a 21:15:28 ---> 69d7769f852f 21:15:28 Step 11/24 : COPY . . 21:15:29 ---> eaba0936c6b8 21:15:29 Step 12/24 : RUN $MAKE 21:15:29 ---> Running in 146a6b0eff45 21:15:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:17:39 Removing intermediate container 146a6b0eff45 21:17:39 ---> b169ea946740 21:17:39 Step 13/24 : FROM alpine:3.17 21:17:39 3.17: Pulling from library/alpine 21:17:39 c41833b44d91: Already exists 21:17:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:17:39 Status: Downloaded newer image for alpine:3.17 21:17:39 ---> 51e60588ff2c 21:17:39 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:17:39 ---> Running in bd251048484f 21:17:39 Removing intermediate container bd251048484f 21:17:39 ---> fa94248dc9ff 21:17:39 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:17:39 ---> Running in 4d3129c7a227 21:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:39 (1/1) Installing dumb-init (1.2.5-r2) 21:17:39 Executing busybox-1.35.0-r29.trigger 21:17:39 OK: 8 MiB in 16 packages 21:17:39 Removing intermediate container 4d3129c7a227 21:17:39 ---> 0428fc040e41 21:17:39 Step 16/24 : COPY --from=builder /app/LICENSE / 21:17:40 ---> 9b26a11b4ef7 21:17:40 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:17:40 ---> a255e6fdd779 21:17:40 Step 18/24 : COPY --from=builder /app/cmd/ / 21:17:41 ---> 44cb9526a2de 21:17:41 Step 19/24 : EXPOSE 59989 21:17:41 ---> Running in 87e65417ca42 21:17:42 Removing intermediate container 87e65417ca42 21:17:42 ---> 89b304cdc05c 21:17:42 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:17:42 ---> Running in ccf3d643daa0 21:17:42 Removing intermediate container ccf3d643daa0 21:17:42 ---> a9b88c4c4949 21:17:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:17:42 ---> Running in 7590c2b6cba6 21:17:42 Removing intermediate container 7590c2b6cba6 21:17:42 ---> c49f19b233e4 21:17:42 Step 22/24 : LABEL arch=arm64 21:17:42 ---> Running in 539e8050280a 21:17:43 Removing intermediate container 539e8050280a 21:17:43 ---> 782218ff9306 21:17:43 Step 23/24 : LABEL git_sha=9cad5be8f76f1820a4e813201d2558e3a6cf11c1 21:17:43 ---> Running in ac58e01dfe8b 21:17:43 Removing intermediate container ac58e01dfe8b 21:17:43 ---> d9c1ac960f2f 21:17:43 Step 24/24 : LABEL version=0.0.0 21:17:43 ---> Running in 893f022fccfb 21:17:43 Removing intermediate container 893f022fccfb 21:17:43 ---> 7e5764e743d1 21:17:43 [Warning] One or more build-args [ARCH] were not consumed 21:17:43 Successfully built 7e5764e743d1 21:17:43 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:17:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:44 21:17:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:44 arm64: Pulling from edgex-lftools-log-publisher 21:17:44 8998bd30e6a1: Pulling fs layer 21:17:44 04944245beec: Pulling fs layer 21:17:44 699f458cf7ca: Pulling fs layer 21:17:44 765212b225bb: Pulling fs layer 21:17:44 f23df028b6ca: Pulling fs layer 21:17:44 d65c8cfc05b1: Pulling fs layer 21:17:44 2437ff75d9bd: Pulling fs layer 21:17:44 765212b225bb: Waiting 21:17:44 f23df028b6ca: Waiting 21:17:44 d65c8cfc05b1: Waiting 21:17:44 2437ff75d9bd: Waiting 21:17:44 04944245beec: Verifying Checksum 21:17:44 04944245beec: Download complete 21:17:44 765212b225bb: Verifying Checksum 21:17:44 765212b225bb: Download complete 21:17:44 f23df028b6ca: Verifying Checksum 21:17:44 f23df028b6ca: Download complete 21:17:44 d65c8cfc05b1: Verifying Checksum 21:17:44 d65c8cfc05b1: Download complete 21:17:44 699f458cf7ca: Verifying Checksum 21:17:44 699f458cf7ca: Download complete 21:17:45 8998bd30e6a1: Verifying Checksum 21:17:45 8998bd30e6a1: Download complete 21:17:48 2437ff75d9bd: Download complete 21:17:50 8998bd30e6a1: Pull complete 21:17:50 04944245beec: Pull complete 21:17:51 699f458cf7ca: Pull complete 21:17:51 765212b225bb: Pull complete 21:17:52 f23df028b6ca: Pull complete 21:17:52 d65c8cfc05b1: Pull complete 21:18:07 2437ff75d9bd: Pull complete 21:18:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:07 prd-ubuntu20.04-docker-arm64-4c-16g-16575 does not seem to be running inside a container 21:18:07 $ 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/5 -v /w/workspace/device-rfid-llrp-go/5:/w/workspace/device-rfid-llrp-go/5:rw,z -v /w/workspace/device-rfid-llrp-go/5@tmp:/w/workspace/device-rfid-llrp-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:18:10 $ docker top 520a88bd09733e0d16685cc87f79c50ade9d6def0951a46d751feee6d16716f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:11 ---> job-cost.sh 21:18:11 lf-activate-venv: SKIPPING 21:18:11 INFO: No Stack... 21:18:11 INFO: Retrieving Pricing Info for: v3-standard-4 21:18:12 INFO: Archiving Costs [Pipeline] sh 21:18:12 + + catcut /w/workspace/device-rfid-llrp-go/5/archives/cost.csv -d, 21:18:12 -f6 [Pipeline] lock 21:18:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] 21:18:12 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] did not exist. Created. 21:18:12 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:13 /w/workspace/device-rfid-llrp-go/5@tmp/durable-d39f1d65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:18:13 + echo total: 0.10999999940395355 [Pipeline] stash 21:18:13 Warning: overwriting stash ‘stack-cost’ 21:18:13 Stashed 1 file(s) [Pipeline] } 21:18:13 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:13 $ docker stop --time=1 520a88bd09733e0d16685cc87f79c50ade9d6def0951a46d751feee6d16716f0 21:18:17 $ docker rm -f --volumes 520a88bd09733e0d16685cc87f79c50ade9d6def0951a46d751feee6d16716f0 [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:18:18 provisioning config files... 21:18:18 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config802220257848783606tmp [Pipeline] { [Pipeline] sh 21:18:18 + set +x 21:18:18 + curl -s https://codecov.io/bash 21:18:18 + bash -s -- 21:18:18 21:18:18 _____ _ 21:18:18 / ____| | | 21:18:18 | | ___ __| | ___ ___ _____ __ 21:18:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:18:18 | |___| (_) | (_| | __/ (_| (_) \ V / 21:18:18 \_____\___/ \__,_|\___|\___\___/ \_/ 21:18:18 Bash-1.0.6 21:18:18 21:18:18 21:18:18 ==> git version 2.25.1 found 21:18:18 ==> 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:18:18 Release-Date: 2020-01-08 21:18:18 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:18:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:18:18 ==> Jenkins CI detected. 21:18:18 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:18:18 project root: . 21:18:18 --> token set from env 21:18:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:18:18 ==> Running gcov in . (disable via -X gcov) 21:18:18 ==> Python coveragepy not found 21:18:18 ==> Searching for coverage reports in: 21:18:18 + . 21:18:18 -> Found 1 reports 21:18:18 ==> Detecting git/mercurial file structure 21:18:18 ==> Reading reports 21:18:18 + ./coverage.out bytes=458038 21:18:18 ==> Appending adjustments 21:18:18 https://docs.codecov.io/docs/fixing-reports 21:18:19 + Found adjustments 21:18:19 ==> Gzipping contents 21:18:19 52K /tmp/codecov.NClqWy.gz 21:18:19 ==> Uploading reports 21:18:19 url: https://codecov.io 21:18:19 query: branch=PR-229&commit=8a797225da8df981a2caa45a9fa3931456e13e66&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:18:19 -> Pinging Codecov 21:18:19 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=8a797225da8df981a2caa45a9fa3931456e13e66&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:18:19 -> Uploading to 21:18:19 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/581DD39554BDF9B6E22D074273EAD858/8a797225da8df981a2caa45a9fa3931456e13e66/5fef7aa7-9950-449b-97f1-ace61345ca0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T211819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1dca0d15224741d0f2858a97315077aff7c9b52d446ea11147ab05750dce414 21:18:19 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:19 Dload Upload Total Spent Left Speed 21:18:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50497 0 0 100 50497 0 223k --:--:-- --:--:-- --:--:-- 222k 100 50497 0 0 100 50497 0 217k --:--:-- --:--:-- --:--:-- 217k 21:18:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/8a797225da8df981a2caa45a9fa3931456e13e66 [Pipeline] } 21:18:19 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:18:20 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:18:20 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:18:20 total 16 21:18:20 drwxr-xr-x 3 root root 4096 May 23 21:11 . 21:18:20 drwxrwxr-x 12 jenkins jenkins 4096 May 23 21:11 .. 21:18:20 drwxr-xr-x 2 root root 4096 May 23 21:11 cost 21:18:20 -rw-r--r-- 1 root root 91 May 23 21:11 cost.csv 21:18:20 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:18:20 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:18:20 total 16 21:18:20 drwxr-xr-x 3 jenkins jenkins 4096 May 23 21:11 . 21:18:20 drwxrwxr-x 12 jenkins jenkins 4096 May 23 21:11 .. 21:18:20 drwxr-xr-x 2 jenkins jenkins 4096 May 23 21:11 cost 21:18:20 -rw-r--r-- 1 jenkins jenkins 91 May 23 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:18:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:18:21 ---> package-listing.sh 21:18:21 ++ facter osfamily 21:18:21 ++ tr '[:upper:]' '[:lower:]' 21:18:21 + OS_FAMILY=debian 21:18:21 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:18:21 + START_PACKAGES=/tmp/packages_start.txt 21:18:21 + END_PACKAGES=/tmp/packages_end.txt 21:18:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:18:21 + PACKAGES=/tmp/packages_start.txt 21:18:21 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:18:21 + PACKAGES=/tmp/packages_end.txt 21:18:21 + case "${OS_FAMILY}" in 21:18:21 + dpkg -l 21:18:21 + grep '^ii' 21:18:21 + '[' -f /tmp/packages_start.txt ']' 21:18:21 + '[' -f /tmp/packages_end.txt ']' 21:18:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:18:21 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:18:21 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:18:21 + 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:18:21 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:18:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:22 prd-ubuntu20.04-docker-8c-8g-16577 does not seem to be running inside a container 21:18:22 $ 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:18:23 $ docker top 97233441f9619f4a2b8515912d0c6ad40af4c32d8795d0a6ae8e39d98bab3ba7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:23 + touch /tmp/pre-build-complete [Pipeline] sh 21:18:24 + mkdir -p /var/log/sysstat [Pipeline] sh 21:18:24 + ls /var/log/sa-host 21:18:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:24 provisioning config files... 21:18:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config14685808685100305168tmp [Pipeline] { [Pipeline] echo 21:18:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:18:24 ---> create-netrc.sh [Pipeline] } 21:18:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:18:25 ---> python-tools-install.sh [Pipeline] echo 21:18:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:18:25 ---> sudo-logs.sh 21:18:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:18:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:18:25 ---> job-cost.sh 21:18:25 lf-activate-venv: SKIPPING 21:18:25 DEBUG: total: 0.2199999988079071 21:18:25 INFO: Retrieving Stack Cost... 21:18:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:26 INFO: Archiving Costs [Pipeline] echo 21:18:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:18:26 ---> logs-deploy.sh 21:18:26 lf-activate-venv: SKIPPING 21:18:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/5 21:18:26 INFO: archiving workspace using pattern(s): 21:18:28 Archives upload complete. 21:18:28 INFO: archiving logs to Nexus