Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+8a0ded6a109e73f73bbc2acaa9cab3879554e026 (f998ff0db7345194e9cfbc95b42d9fffe231c580) 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-ssh4058811310484825438.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-ssh3933692423142039408.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-ssh7663692139078840779.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-ssh8341260357290868009.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-ssh7818660797092458621.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 Running on prd-ubuntu20.04-docker-8c-8g-17552 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 8a0ded6a109e73f73bbc2acaa9cab3879554e026 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing af223c68737ef57ac9d71d9bb41c25647c921134 Checking out Revision af223c68737ef57ac9d71d9bb41c25647c921134 (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 8a0ded6a109e73f73bbc2acaa9cab3879554e026 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af223c68737ef57ac9d71d9bb41c25647c921134 # timeout=10 Commit message: "Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 13a2c5584ac1e9c1247707e72fac1ed510badd8a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:05:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:05:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:05:29 ========================================================= 21:05:29 EdgeX Global Pipelines Version Info 21:05:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:05:30 ------------------- 21:05:30 stable info: 21:05:30 ------------------- 21:05:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:05:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:05:30 Message: update stable to v1.0.249 21:05:31 ------------------- 21:05:31 experimental info: 21:05:31 ------------------- 21:05:31 Commited By: **** collab-it+edgex@linuxfoundation.org 21:05:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:05:31 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af223c68737ef57ac9d71d9bb41c25647c921134 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af223c6 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:31 provisioning config files... 21:05:31 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config1196306268045315515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:31 ---> docker-login.sh 21:05:31 nexus3.edgexfoundry.org:10001 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10002 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10003 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10004 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 docker.io 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 ---> docker-login.sh ends [Pipeline] } 21:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:05:33 + git rev-list -1 --merges af223c68737ef57ac9d71d9bb41c25647c921134~1..af223c68737ef57ac9d71d9bb41c25647c921134 [Pipeline] echo 21:05:33 -----------> git rev-list -1 --merges af223c68737ef57ac9d71d9bb41c25647c921134~1..af223c68737ef57ac9d71d9bb41c25647c921134 af223c68737ef57ac9d71d9bb41c25647c921134 21:05:33 af223c68737ef57ac9d71d9bb41c25647c921134 [false] [Pipeline] sh 21:05:33 + git log --format=format:%s -1 af223c68737ef57ac9d71d9bb41c25647c921134 [Pipeline] echo 21:05:33 ========================================================= 21:05:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:05:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:33 + git log --format=format:%s -1 af223c68737ef57ac9d71d9bb41c25647c921134 [Pipeline] echo 21:05:33 [semverPrep] GIT_COMMIT: af223c68737ef57ac9d71d9bb41c25647c921134, Commit Message: Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD [Pipeline] echo 21:05:33 [semverPrep] This is not a build commit. [Pipeline] sh 21:05:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:34 + grep -v github /etc/ssh/ssh_known_hosts 21:05:34 + [ -e /tmp/ssh_known_hosts ] 21:05:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:05:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:05:34 + sudo tee -a /etc/ssh/ssh_known_hosts 21:05:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:34 21:05:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:35 0.1.4: Pulling from edgex-devops/py-git-semver 21:05:35 b85a868b505f: Pulling fs layer 21:05:35 e2be974225ed: Pulling fs layer 21:05:35 339a4e72a1f5: Pulling fs layer 21:05:35 988bab9f4d93: Pulling fs layer 21:05:35 1469e6f7b9e6: Pulling fs layer 21:05:35 eaf3925da568: Pulling fs layer 21:05:35 bab4dde63d76: Pulling fs layer 21:05:35 bde34c3a00c8: Pulling fs layer 21:05:35 b352a97aabf1: Pulling fs layer 21:05:35 4872d77fe225: Pulling fs layer 21:05:35 5851b861e8e6: Pulling fs layer 21:05:35 eaf3925da568: Waiting 21:05:35 bab4dde63d76: Waiting 21:05:35 bde34c3a00c8: Waiting 21:05:35 b352a97aabf1: Waiting 21:05:35 4872d77fe225: Waiting 21:05:35 5851b861e8e6: Waiting 21:05:35 988bab9f4d93: Waiting 21:05:35 1469e6f7b9e6: Waiting 21:05:35 e2be974225ed: Verifying Checksum 21:05:35 e2be974225ed: Download complete 21:05:35 988bab9f4d93: Verifying Checksum 21:05:35 988bab9f4d93: Download complete 21:05:35 1469e6f7b9e6: Verifying Checksum 21:05:35 1469e6f7b9e6: Download complete 21:05:35 eaf3925da568: Download complete 21:05:35 339a4e72a1f5: Verifying Checksum 21:05:35 339a4e72a1f5: Download complete 21:05:35 bde34c3a00c8: Verifying Checksum 21:05:35 bde34c3a00c8: Download complete 21:05:35 b352a97aabf1: Download complete 21:05:35 5851b861e8e6: Verifying Checksum 21:05:35 5851b861e8e6: Download complete 21:05:35 b85a868b505f: Verifying Checksum 21:05:35 b85a868b505f: Download complete 21:05:35 bab4dde63d76: Verifying Checksum 21:05:35 bab4dde63d76: Download complete 21:05:36 b85a868b505f: Pull complete 21:05:36 e2be974225ed: Pull complete 21:05:37 339a4e72a1f5: Pull complete 21:05:37 988bab9f4d93: Pull complete 21:05:37 1469e6f7b9e6: Pull complete 21:05:37 eaf3925da568: Pull complete 21:05:39 bab4dde63d76: Pull complete 21:05:39 bde34c3a00c8: Pull complete 21:05:39 b352a97aabf1: Pull complete 21:05:39 4872d77fe225: Pull complete 21:05:39 5851b861e8e6: Pull complete 21:05:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:39 prd-ubuntu20.04-docker-8c-8g-17552 does not seem to be running inside a container 21:05:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:05:41 $ docker top 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 -eo pid,comm 21:05:41 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:05:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:41 [ssh-agent] Looking for ssh-agent implementation... 21:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:42 $ docker exec 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 ssh-agent 21:05:42 SSH_AUTH_SOCK=/tmp/ssh-iUmLwD9qrw7d/agent.32 21:05:42 SSH_AGENT_PID=39 21:05:42 Running ssh-add (command line suppressed) 21:05:42 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_656888166948180524.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_656888166948180524.key) 21:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:42 + git tag --points-at HEAD [Pipeline] } 21:05:42 $ docker exec --env ******** --env ******** 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 ssh-agent -k 21:05:42 unset SSH_AUTH_SOCK; 21:05:42 unset SSH_AGENT_PID; 21:05:42 echo Agent pid 39 killed; 21:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:42 [ssh-agent] Looking for ssh-agent implementation... 21:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:42 $ docker exec 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 ssh-agent 21:05:43 SSH_AUTH_SOCK=/tmp/ssh-FnuOibyb9fDR/agent.71 21:05:43 SSH_AGENT_PID=77 21:05:43 Running ssh-add (command line suppressed) 21:05:43 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_12185316207354902562.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_12185316207354902562.key) 21:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:43 + git semver init 21:05:43 2023-05-31 21:05:43,602 [run_init] DEBUG init version:0.0.0 force:False 21:05:43 2023-05-31 21:05:43,603 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:05:43 2023-05-31 21:05:43,603 [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:05:43 2023-05-31 21:05:43,604 [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:05:44 2023-05-31 21:05:44,415 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:05:44 2023-05-31 21:05:44,416 [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:05:44 2023-05-31 21:05:44,416 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:05:44 2023-05-31 21:05:44,421 [execute] INFO git cat-file --batch-check 21:05:44 2023-05-31 21:05:44,422 [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:05:44 2023-05-31 21:05:44,428 [execute] INFO git cat-file --batch 21:05:44 2023-05-31 21:05:44,428 [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:05:44 2023-05-31 21:05:44,434 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:05:44 0.0.0 [Pipeline] } 21:05:44 $ docker exec --env ******** --env ******** 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 ssh-agent -k 21:05:44 unset SSH_AUTH_SOCK; 21:05:44 unset SSH_AGENT_PID; 21:05:44 echo Agent pid 77 killed; 21:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:45 + git semver [Pipeline] } 21:05:45 $ docker stop --time=1 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 21:05:46 $ docker rm -f --volumes 43fb2b84eb130846b825a50b8649b5eff99f09583bf6ebaed67f71e56f21dd37 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:05:47 Stashed 1 file(s) [Pipeline] echo 21:05:47 [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:05:47 provisioning config files... 21:05:47 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config1749592079644545396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:47 ---> docker-login.sh 21:05:47 nexus3.edgexfoundry.org:10001 21:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:47 Configure a credential helper to remove this warning. See 21:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:47 21:05:47 Login Succeeded 21:05:47 nexus3.edgexfoundry.org:10002 21:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:47 Configure a credential helper to remove this warning. See 21:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:47 21:05:47 Login Succeeded 21:05:47 nexus3.edgexfoundry.org:10003 21:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:47 Configure a credential helper to remove this warning. See 21:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:47 21:05:47 Login Succeeded 21:05:47 nexus3.edgexfoundry.org:10004 21:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:47 Configure a credential helper to remove this warning. See 21:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:47 21:05:47 Login Succeeded 21:05:47 docker.io 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 ---> docker-login.sh ends [Pipeline] } 21:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:48 ========================================================= 21:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:05:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:48 + 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:05:48 Sending build context to Docker daemon 4.275MB 21:05:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:05:48 Step 2/12 : FROM ${BASE} AS builder 21:05:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:05:48 f56be85fc22e: Pulling fs layer 21:05:48 85791d961cd3: Pulling fs layer 21:05:48 d694b5ae8c79: Pulling fs layer 21:05:48 9f32a84ed3da: Pulling fs layer 21:05:48 4d19c01a9841: Pulling fs layer 21:05:48 9325e15d5711: Pulling fs layer 21:05:48 9f32a84ed3da: Waiting 21:05:48 4d19c01a9841: Waiting 21:05:48 556b6ee489ea: Pulling fs layer 21:05:48 9325e15d5711: Waiting 21:05:48 c5a4b2cf53e6: Pulling fs layer 21:05:48 c5a4b2cf53e6: Waiting 21:05:48 85791d961cd3: Download complete 21:05:48 9f32a84ed3da: Verifying Checksum 21:05:48 9f32a84ed3da: Download complete 21:05:48 4d19c01a9841: Verifying Checksum 21:05:48 4d19c01a9841: Download complete 21:05:48 f56be85fc22e: Verifying Checksum 21:05:48 f56be85fc22e: Download complete 21:05:48 9325e15d5711: Verifying Checksum 21:05:48 9325e15d5711: Download complete 21:05:48 f56be85fc22e: Pull complete 21:05:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17563 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:05:49 Running in /w/workspace/device-rfid-llrp-go/9 [Pipeline] { [Pipeline] checkout 21:05:49 Selected Git installation does not exist. Using Default 21:05:49 The recommended git tool is: NONE 21:05:49 85791d961cd3: Pull complete 21:05:49 c5a4b2cf53e6: Verifying Checksum 21:05:49 c5a4b2cf53e6: Download complete 21:05:49 d694b5ae8c79: Download complete 21:05:49 556b6ee489ea: Verifying Checksum 21:05:49 556b6ee489ea: Download complete 21:05:52 d694b5ae8c79: Pull complete 21:05:52 9f32a84ed3da: Pull complete 21:05:52 4d19c01a9841: Pull complete 21:05:52 9325e15d5711: Pull complete 21:05:54 using credential edgex-jenkins-ssh 21:05:54 Cloning the remote Git repository 21:05:54 556b6ee489ea: Pull complete 21:05:54 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:54 > git init /w/workspace/device-rfid-llrp-go/9 # timeout=10 21:05:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:54 > git --version # timeout=10 21:05:54 > git --version # 'git version 2.25.1' 21:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:55 c5a4b2cf53e6: Pull complete 21:05:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:05:55 ---> c4be618373d6 21:05:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:05:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:05:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:57 Merging remotes/origin/main commit 8a0ded6a109e73f73bbc2acaa9cab3879554e026 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:05:57 Merge succeeded, producing d85a73ad96887b77aacc5f82f1d541fe7662176f 21:05:57 Checking out Revision d85a73ad96887b77aacc5f82f1d541fe7662176f (PR-229) 21:05:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:05:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:56 > 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:05:57 > git config core.sparsecheckout # timeout=10 21:05:57 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:05:57 > git remote # timeout=10 21:05:57 > git config --get remote.origin.url # timeout=10 21:05:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:57 > git merge 8a0ded6a109e73f73bbc2acaa9cab3879554e026 # timeout=10 21:05:57 > git rev-parse HEAD^{commit} # timeout=10 21:05:57 > git config core.sparsecheckout # timeout=10 21:05:57 > git checkout -f d85a73ad96887b77aacc5f82f1d541fe7662176f # timeout=10 21:06:00 ---> Running in 0efbaec24b87 21:06:00 Removing intermediate container 0efbaec24b87 21:06:00 ---> 59c0bffae896 21:06:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:00 ---> Running in 5aeb6d242906 21:06:00 Removing intermediate container 5aeb6d242906 21:06:00 ---> 4b0526b27e2e 21:06:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:06:00 ---> Running in b306a1ab3802 21:06:00 Removing intermediate container b306a1ab3802 21:06:00 ---> fb99e12889ba 21:06:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:00 ---> Running in af6077374502 21:06:00 Removing intermediate container af6077374502 21:06:00 ---> 70566b106f26 21:06:00 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:00 ---> Running in 58c2c27e8eea 21:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:01 OK: 265 MiB in 53 packages 21:06:01 Commit message: "Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD" 21:06:01 First time build. Skipping changelog. 21:06:01 Removing intermediate container 58c2c27e8eea 21:06:01 ---> 9cd32ffa0779 21:06:01 Step 8/12 : WORKDIR /app 21:06:01 ---> Running in 069a40590d99 21:06:01 Removing intermediate container 069a40590d99 21:06:01 ---> 110f775cc7de 21:06:01 Step 9/12 : COPY go.mod vendor* ./ 21:06:01 ---> dc79df3a2c3b 21:06:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:01 ---> Running in e0e23eab1e9e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:02 Dload Upload Total Spent Left Speed 21:06:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k 21:06:01 > git rev-list --no-walk 13a2c5584ac1e9c1247707e72fac1ed510badd8a # timeout=10 [Pipeline] sh 21:06:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:03 + sudo tee /etc/docker/daemon.new 21:06:03 { 21:06:03 "registry-mirrors": [ 21:06:03 "https://nexus3.edgexfoundry.org:10001" 21:06:03 ], 21:06:03 "bip": "10.250.0.254/24", 21:06:03 "hosts": [ 21:06:03 "tcp://0.0.0.0:5555", 21:06:03 "unix:///var/run/docker.sock" 21:06:03 ], 21:06:03 "mtu": 1458, 21:06:03 "selinux-enabled": true, 21:06:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:03 } [Pipeline] sh 21:06:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:22 provisioning config files... 21:06:22 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/9@tmp/config9217183140269054704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:22 ---> docker-login.sh 21:06:22 nexus3.edgexfoundry.org:10001 21:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:23 Configure a credential helper to remove this warning. See 21:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:23 21:06:23 Login Succeeded 21:06:23 nexus3.edgexfoundry.org:10002 21:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:23 Configure a credential helper to remove this warning. See 21:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:23 21:06:23 Login Succeeded 21:06:23 nexus3.edgexfoundry.org:10003 21:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:23 Configure a credential helper to remove this warning. See 21:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:23 21:06:23 Login Succeeded 21:06:23 nexus3.edgexfoundry.org:10004 21:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 docker.io 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 ---> docker-login.sh ends [Pipeline] } 21:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:24 ========================================================= 21:06:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:06:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:25 + 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:06:25 Sending build context to Docker daemon 1.217MB 21:06:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:25 Step 2/12 : FROM ${BASE} AS builder 21:06:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:28 c41833b44d91: Pulling fs layer 21:06:28 ed15518f5707: Pulling fs layer 21:06:28 feae8fd75edb: Pulling fs layer 21:06:28 242c74f7c9fa: Pulling fs layer 21:06:28 3cdef696dda3: Pulling fs layer 21:06:28 2ced38df9373: Pulling fs layer 21:06:28 58f1dce35555: Pulling fs layer 21:06:28 2ced38df9373: Waiting 21:06:28 58f1dce35555: Waiting 21:06:28 242c74f7c9fa: Waiting 21:06:28 3cdef696dda3: Waiting 21:06:28 ed15518f5707: Verifying Checksum 21:06:28 ed15518f5707: Download complete 21:06:28 242c74f7c9fa: Verifying Checksum 21:06:28 242c74f7c9fa: Download complete 21:06:28 3cdef696dda3: Download complete 21:06:28 c41833b44d91: Verifying Checksum 21:06:28 c41833b44d91: Download complete 21:06:28 c41833b44d91: Pull complete 21:06:28 58f1dce35555: Verifying Checksum 21:06:28 58f1dce35555: Download complete 21:06:29 ed15518f5707: Pull complete 21:06:30 feae8fd75edb: Verifying Checksum 21:06:30 feae8fd75edb: Download complete 21:06:30 2ced38df9373: Verifying Checksum 21:06:30 2ced38df9373: Download complete 21:06:40 Removing intermediate container e0e23eab1e9e 21:06:40 ---> 4c04628ef20e 21:06:40 Step 11/12 : COPY . . 21:06:40 ---> edd30a17846d 21:06:40 Step 12/12 : RUN $MAKE 21:06:40 ---> Running in 07d05a5ca444 21:06:40 noop 21:06:40 Removing intermediate container 07d05a5ca444 21:06:40 ---> b4cd80d5aeb8 21:06:40 Successfully built b4cd80d5aeb8 21:06:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:40 + docker inspect -f . ci-base-image-x86_64 21:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:40 prd-ubuntu20.04-docker-8c-8g-17552 does not seem to be running inside a container 21:06:40 $ 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 ******** ci-base-image-x86_64 cat 21:06:41 $ docker top 159fcfb576a2d86d825e22df19a36a065f65924299d9ea218bf8626499c69755 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:41 + go version 21:06:41 go version go1.20.2 linux/amd64 [Pipeline] } 21:06:41 $ docker stop --time=1 159fcfb576a2d86d825e22df19a36a065f65924299d9ea218bf8626499c69755 21:06:42 feae8fd75edb: Pull complete 21:06:42 242c74f7c9fa: Pull complete 21:06:42 3cdef696dda3: Pull complete 21:06:42 $ docker rm -f --volumes 159fcfb576a2d86d825e22df19a36a065f65924299d9ea218bf8626499c69755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:43 + docker inspect -f . ci-base-image-x86_64 21:06:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:43 prd-ubuntu20.04-docker-8c-8g-17552 does not seem to be running inside a container 21:06:43 $ 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 ******** ci-base-image-x86_64 cat 21:06:43 $ docker top 8bc7ba10b6edf37a388af6c4a36e622d090edf299af0ed36fcac541afa573e58 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:44 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:06:44 + make test 21:06:44 go test ./... -coverprofile=coverage.out ./... 21:06:47 2ced38df9373: Pull complete 21:06:49 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:06:50 58f1dce35555: Pull complete 21:06:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:06:50 ---> fadd8f120f05 21:06:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:52 ---> Running in c005583152f8 21:06:53 Removing intermediate container c005583152f8 21:06:53 ---> 67ebfa8428a7 21:06:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:53 ---> Running in 8c7bc82feb77 21:06:53 Removing intermediate container 8c7bc82feb77 21:06:53 ---> 42f41c8be0a7 21:06:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:06:53 ---> Running in 0160d09545b7 21:06:53 Removing intermediate container 0160d09545b7 21:06:53 ---> 13e2a92418be 21:06:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:53 ---> Running in 2bf72d895394 21:06:54 Removing intermediate container 2bf72d895394 21:06:54 ---> 14e9523dcc64 21:06:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:54 ---> Running in 3571623a79d8 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:56 OK: 263 MiB in 53 packages 21:06:57 Removing intermediate container 3571623a79d8 21:06:57 ---> 1b66a0e6c204 21:06:57 Step 8/12 : WORKDIR /app 21:06:57 ---> Running in a40e4a551425 21:06:57 Removing intermediate container a40e4a551425 21:06:57 ---> b2b1066e0a4e 21:06:57 Step 9/12 : COPY go.mod vendor* ./ 21:06:58 ---> f967d34a31ce 21:06:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:58 ---> Running in af13ca28e3b6 21:07:01 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:07:01 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:07:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.219s coverage: 40.5% of statements 21:07:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.260s coverage: 52.0% of statements 21:07:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.022s coverage: 96.4% of statements 21:07:14 go vet ./... 21:07:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:17 ./bin/test-attribution-txt.sh 21:07:17 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:07:17 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:07:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:17 $ docker stop --time=1 8bc7ba10b6edf37a388af6c4a36e622d090edf299af0ed36fcac541afa573e58 21:07:22 $ docker rm -f --volumes 8bc7ba10b6edf37a388af6c4a36e622d090edf299af0ed36fcac541afa573e58 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:24 + ls -al . 21:07:24 total 636 21:07:24 drwxrwxr-x 11 jenkins jenkins 4096 May 31 21:06 . 21:07:24 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 .. 21:07:24 -rw-rw-r-- 1 jenkins jenkins 134 May 31 21:05 .dockerignore 21:07:24 drwxrwxr-x 8 jenkins jenkins 4096 May 31 21:05 .git 21:07:24 drwxrwxr-x 3 jenkins jenkins 4096 May 31 21:05 .github 21:07:24 -rw-rw-r-- 1 jenkins jenkins 946 May 31 21:05 .gitignore 21:07:24 -rw-rw-r-- 1 jenkins jenkins 41 May 31 21:05 .golangci.yml 21:07:24 drwxr-xr-x 3 jenkins jenkins 4096 May 31 21:05 .semver 21:07:24 -rw-rw-r-- 1 jenkins jenkins 10794 May 31 21:05 Attribution.txt 21:07:24 -rw-rw-r-- 1 jenkins jenkins 10365 May 31 21:05 CHANGELOG.md 21:07:24 -rw-rw-r-- 1 jenkins jenkins 1347 May 31 21:05 Dockerfile 21:07:24 -rw-rw-r-- 1 jenkins jenkins 677 May 31 21:05 GOVERNANCE.md 21:07:24 -rw-rw-r-- 1 jenkins jenkins 683 May 31 21:05 Jenkinsfile 21:07:24 -rw-rw-r-- 1 jenkins jenkins 11347 May 31 21:05 LICENSE 21:07:24 -rw-rw-r-- 1 jenkins jenkins 2053 May 31 21:05 Makefile 21:07:24 -rw-rw-r-- 1 jenkins jenkins 625 May 31 21:05 OWNERS.md 21:07:24 -rw-rw-r-- 1 jenkins jenkins 29016 May 31 21:05 README.md 21:07:24 -rw-rw-r-- 1 jenkins jenkins 5 May 31 21:05 VERSION 21:07:24 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 bin 21:07:24 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 cmd 21:07:24 -rw-r--r-- 1 jenkins jenkins 458039 May 31 21:07 coverage.out 21:07:24 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 examples 21:07:24 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 21:05 go.mod 21:07:24 -rw-rw-r-- 1 jenkins jenkins 30982 May 31 21:05 go.sum 21:07:24 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 images 21:07:24 drwxrwxr-x 5 jenkins jenkins 4096 May 31 21:05 internal 21:07:24 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 snap 21:07:24 -rw-rw-r-- 1 jenkins jenkins 193 May 31 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:24 + 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=af223c68737ef57ac9d71d9bb41c25647c921134 --label arch=amd64 --label version=0.0.0 . 21:07:24 Sending build context to Docker daemon 4.275MB 21:07:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:07:24 Step 2/24 : FROM ${BASE} AS builder 21:07:24 ---> b4cd80d5aeb8 21:07:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:07:24 ---> Running in 138d8a272d00 21:07:24 Removing intermediate container 138d8a272d00 21:07:24 ---> 3a19c4ca677a 21:07:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:25 ---> Running in 1a10c385fb0c 21:07:25 Removing intermediate container 1a10c385fb0c 21:07:25 ---> dde8cb5bfd83 21:07:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:07:25 ---> Running in d6c91b1eca70 21:07:25 Removing intermediate container d6c91b1eca70 21:07:25 ---> 8fa9c0f582ad 21:07:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:07:25 ---> Running in c3da49579f19 21:07:26 Removing intermediate container c3da49579f19 21:07:26 ---> 4381f83e3d6d 21:07:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:26 ---> Running in 900ed41c2294 21:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:26 OK: 265 MiB in 53 packages 21:07:27 Removing intermediate container 900ed41c2294 21:07:27 ---> ebe596d3c574 21:07:27 Step 8/24 : WORKDIR /app 21:07:27 ---> Running in 2d48e11d3bf7 21:07:27 Removing intermediate container 2d48e11d3bf7 21:07:27 ---> 3d6d1cea48a4 21:07:27 Step 9/24 : COPY go.mod vendor* ./ 21:07:28 ---> 3ee97872d53c 21:07:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:28 ---> Running in ff2878170bf6 21:07:29 Removing intermediate container ff2878170bf6 21:07:29 ---> feae53b17682 21:07:29 Step 11/24 : COPY . . 21:07:29 ---> dcbce0dba10b 21:07:29 Step 12/24 : RUN $MAKE 21:07:29 ---> Running in 599f806ec288 21:07: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:07:57 Removing intermediate container 599f806ec288 21:07:57 ---> e892a17a1e08 21:07:57 Step 13/24 : FROM alpine:3.17 21:07:57 3.17: Pulling from library/alpine 21:07:57 f56be85fc22e: Already exists 21:07:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:07:57 Status: Downloaded newer image for alpine:3.17 21:07:57 ---> 9ed4aefc74f6 21:07:57 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:07:57 ---> Running in 03db5a36dd0d 21:07:57 Removing intermediate container 03db5a36dd0d 21:07:57 ---> 11ae4ed63e25 21:07:57 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:07:57 ---> Running in a03749c3577e 21:07:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:57 (1/1) Installing dumb-init (1.2.5-r2) 21:07:57 Executing busybox-1.35.0-r29.trigger 21:07:57 OK: 7 MiB in 16 packages 21:07:57 Removing intermediate container a03749c3577e 21:07:57 ---> 65342e1b3b74 21:07:57 Step 16/24 : COPY --from=builder /app/LICENSE / 21:07:57 ---> 1bb8489bb460 21:07:57 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:07:58 ---> c3d6ed460868 21:07:58 Step 18/24 : COPY --from=builder /app/cmd/ / 21:08:00 ---> cb4fa74dc417 21:08:00 Step 19/24 : EXPOSE 59989 21:08:00 ---> Running in d689eaf6c5e7 21:08:00 Removing intermediate container d689eaf6c5e7 21:08:00 ---> 28e28c00ee86 21:08:00 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:08:00 ---> Running in 133a9aa1a2f5 21:08:01 Removing intermediate container 133a9aa1a2f5 21:08:01 ---> a283f3b39f98 21:08:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:08:01 ---> Running in 49e3352329b7 21:08:01 Removing intermediate container 49e3352329b7 21:08:01 ---> 17f1d581941f 21:08:01 Step 22/24 : LABEL arch=amd64 21:08:02 ---> Running in 7337e913c97f 21:08:02 Removing intermediate container 7337e913c97f 21:08:02 ---> 00abd9b1d4f9 21:08:02 Step 23/24 : LABEL git_sha=af223c68737ef57ac9d71d9bb41c25647c921134 21:08:02 ---> Running in 755db9999de1 21:08:02 Removing intermediate container 755db9999de1 21:08:02 ---> de4c265bc7e3 21:08:02 Step 24/24 : LABEL version=0.0.0 21:08:02 ---> Running in da9def7bcef7 21:08:03 Removing intermediate container da9def7bcef7 21:08:03 ---> dd53de41db4f 21:08:03 [Warning] One or more build-args [ARCH] were not consumed 21:08:03 Successfully built dd53de41db4f 21:08:03 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:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:03 21:08:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:04 latest: Pulling from edgex-lftools-log-publisher 21:08:04 5eb5b503b376: Pulling fs layer 21:08:04 5c69ac0246d0: Pulling fs layer 21:08:04 ec43610c2a17: Pulling fs layer 21:08:04 3a2ae6a8a46f: Pulling fs layer 21:08:04 33b1e0a273af: Pulling fs layer 21:08:04 5d3b04190fa2: Pulling fs layer 21:08:04 2f39f015ded8: Pulling fs layer 21:08:04 3a2ae6a8a46f: Waiting 21:08:04 5d3b04190fa2: Waiting 21:08:04 2f39f015ded8: Waiting 21:08:04 33b1e0a273af: Waiting 21:08:04 5c69ac0246d0: Verifying Checksum 21:08:04 5c69ac0246d0: Download complete 21:08:04 3a2ae6a8a46f: Verifying Checksum 21:08:04 3a2ae6a8a46f: Download complete 21:08:04 33b1e0a273af: Verifying Checksum 21:08:04 33b1e0a273af: Download complete 21:08:04 5d3b04190fa2: Download complete 21:08:04 ec43610c2a17: Verifying Checksum 21:08:04 ec43610c2a17: Download complete 21:08:04 5eb5b503b376: Verifying Checksum 21:08:04 5eb5b503b376: Download complete 21:08:04 2f39f015ded8: Verifying Checksum 21:08:04 2f39f015ded8: Download complete 21:08:05 5eb5b503b376: Pull complete 21:08:05 5c69ac0246d0: Pull complete 21:08:06 Removing intermediate container af13ca28e3b6 21:08:06 ---> e09e2b9dc28f 21:08:06 Step 11/12 : COPY . . 21:08:06 ---> 23a0b9d8e2a7 21:08:06 Step 12/12 : RUN $MAKE 21:08:06 ---> Running in 881444818d13 21:08:06 noop 21:08:06 Removing intermediate container 881444818d13 21:08:06 ---> 4c74d11fbd65 21:08:06 Successfully built 4c74d11fbd65 21:08:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:06 ec43610c2a17: Pull complete 21:08:06 3a2ae6a8a46f: Pull complete 21:08:06 + docker inspect -f . ci-base-image-arm64 21:08:06 . 21:08:06 33b1e0a273af: Pull complete 21:08:06 5d3b04190fa2: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-17563 does not seem to be running inside a container 21:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/9 -v /w/workspace/device-rfid-llrp-go/9:/w/workspace/device-rfid-llrp-go/9:rw,z -v /w/workspace/device-rfid-llrp-go/9@tmp:/w/workspace/device-rfid-llrp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:08 $ docker top 51b1892ab660ef9314d1f7146e8b6671c89626a135b537a23a7a968f365cefc3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:08 + go version 21:08:08 go version go1.20.2 linux/arm64 [Pipeline] } 21:08:08 $ docker stop --time=1 51b1892ab660ef9314d1f7146e8b6671c89626a135b537a23a7a968f365cefc3 21:08:10 $ docker rm -f --volumes 51b1892ab660ef9314d1f7146e8b6671c89626a135b537a23a7a968f365cefc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:10 2f39f015ded8: Pull complete 21:08:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:11 + docker inspect -f . ci-base-image-arm64 21:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:11 prd-ubuntu20.04-docker-arm64-4c-16g-17563 does not seem to be running inside a container 21:08:11 $ 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/9 -v /w/workspace/device-rfid-llrp-go/9:/w/workspace/device-rfid-llrp-go/9:rw,z -v /w/workspace/device-rfid-llrp-go/9@tmp:/w/workspace/device-rfid-llrp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:12 $ docker top 2df073ad54ce45b5a5aaf365ebcd59656e023978b0c5a565d4150cb38d4cf2d0 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:12 prd-ubuntu20.04-docker-8c-8g-17552 does not seem to be running inside a container 21:08:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:13 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/9 21:08:22 $ docker top efd08cfe8922fc00d89ceb2d6791da4e935cdc851303efa1c278eebfa1c3d86c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 21:08:22 ---> job-cost.sh 21:08:22 lf-activate-venv: SKIPPING 21:08:22 INFO: No Stack... 21:08:22 + make test 21:08:22 go test ./... -coverprofile=coverage.out ./... 21:08:23 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:23 INFO: Archiving Costs [Pipeline] sh 21:08:23 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:08:23 + cut -d, -f6 [Pipeline] lock 21:08:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] 21:08:23 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] did not exist. Created. 21:08:23 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:24 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:24 Stashed 1 file(s) [Pipeline] } 21:08:24 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:24 $ docker stop --time=1 efd08cfe8922fc00d89ceb2d6791da4e935cdc851303efa1c278eebfa1c3d86c 21:08:25 $ docker rm -f --volumes efd08cfe8922fc00d89ceb2d6791da4e935cdc851303efa1c278eebfa1c3d86c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:08:55 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:10:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:10:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:11:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.654s coverage: 40.5% of statements 21:11:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.601s coverage: 51.9% of statements 21:11:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 21:11:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:25 go vet ./... 21:11:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:52 ./bin/test-attribution-txt.sh 21:11:52 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:11:52 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:11:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:52 $ docker stop --time=1 2df073ad54ce45b5a5aaf365ebcd59656e023978b0c5a565d4150cb38d4cf2d0 21:11:54 $ docker rm -f --volumes 2df073ad54ce45b5a5aaf365ebcd59656e023978b0c5a565d4150cb38d4cf2d0 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:55 Warning: overwriting stash ‘coverage-report’ 21:11:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:56 + ls -al . 21:11:56 total 632 21:11:56 drwxrwxr-x 10 jenkins jenkins 4096 May 31 21:08 . 21:11:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 .. 21:11:56 -rw-rw-r-- 1 jenkins jenkins 134 May 31 21:05 .dockerignore 21:11:56 drwxrwxr-x 8 jenkins jenkins 4096 May 31 21:05 .git 21:11:56 drwxrwxr-x 3 jenkins jenkins 4096 May 31 21:05 .github 21:11:56 -rw-rw-r-- 1 jenkins jenkins 946 May 31 21:05 .gitignore 21:11:56 -rw-rw-r-- 1 jenkins jenkins 41 May 31 21:05 .golangci.yml 21:11:56 -rw-rw-r-- 1 jenkins jenkins 10794 May 31 21:05 Attribution.txt 21:11:56 -rw-rw-r-- 1 jenkins jenkins 10365 May 31 21:05 CHANGELOG.md 21:11:56 -rw-rw-r-- 1 jenkins jenkins 1347 May 31 21:05 Dockerfile 21:11:56 -rw-rw-r-- 1 jenkins jenkins 677 May 31 21:05 GOVERNANCE.md 21:11:56 -rw-rw-r-- 1 jenkins jenkins 683 May 31 21:05 Jenkinsfile 21:11:56 -rw-rw-r-- 1 jenkins jenkins 11347 May 31 21:05 LICENSE 21:11:56 -rw-rw-r-- 1 jenkins jenkins 2053 May 31 21:05 Makefile 21:11:56 -rw-rw-r-- 1 jenkins jenkins 625 May 31 21:05 OWNERS.md 21:11:56 -rw-rw-r-- 1 jenkins jenkins 29016 May 31 21:05 README.md 21:11:56 -rw-rw-r-- 1 jenkins jenkins 5 May 31 21:05 VERSION 21:11:56 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 bin 21:11:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 cmd 21:11:56 -rw-r--r-- 1 jenkins jenkins 458039 May 31 21:11 coverage.out 21:11:56 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 examples 21:11:56 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 21:05 go.mod 21:11:56 -rw-rw-r-- 1 jenkins jenkins 30982 May 31 21:05 go.sum 21:11:56 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 images 21:11:56 drwxrwxr-x 5 jenkins jenkins 4096 May 31 21:05 internal 21:11:56 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 snap 21:11:56 -rw-rw-r-- 1 jenkins jenkins 193 May 31 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:57 + 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=d85a73ad96887b77aacc5f82f1d541fe7662176f --label arch=arm64 --label version=0.0.0 . 21:11:57 Sending build context to Docker daemon 1.217MB 21:11:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:11:57 Step 2/24 : FROM ${BASE} AS builder 21:11:57 ---> 4c74d11fbd65 21:11:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:11:57 ---> Running in 74aa97e060fe 21:11:57 Removing intermediate container 74aa97e060fe 21:11:57 ---> 93af5ea75399 21:11:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:58 ---> Running in a13e716e2e85 21:11:58 Removing intermediate container a13e716e2e85 21:11:58 ---> 764ad123f745 21:11:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:11:58 ---> Running in d2f30c1d0218 21:11:58 Removing intermediate container d2f30c1d0218 21:11:58 ---> 7269a8e591d0 21:11:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:11:58 ---> Running in 5411a2f77b53 21:11:58 Removing intermediate container 5411a2f77b53 21:11:58 ---> 63190efdd3b7 21:11:58 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:58 ---> Running in b6c8989aac0e 21:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:12:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:12:01 OK: 263 MiB in 53 packages 21:12:02 Removing intermediate container b6c8989aac0e 21:12:02 ---> d82fe99f6a50 21:12:02 Step 8/24 : WORKDIR /app 21:12:02 ---> Running in c80201247e76 21:12:02 Removing intermediate container c80201247e76 21:12:02 ---> fc9c6e279210 21:12:02 Step 9/24 : COPY go.mod vendor* ./ 21:12:03 ---> bfb484520b15 21:12:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:03 ---> Running in 09f88fc2e24a 21:12:05 Removing intermediate container 09f88fc2e24a 21:12:05 ---> 5e82cc7d9078 21:12:05 Step 11/24 : COPY . . 21:12:06 ---> fb35f0b4850e 21:12:06 Step 12/24 : RUN $MAKE 21:12:06 ---> Running in 68cbf57739b2 21:12:07 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:14:29 Removing intermediate container 68cbf57739b2 21:14:29 ---> 4ca02f6035bd 21:14:29 Step 13/24 : FROM alpine:3.17 21:14:29 3.17: Pulling from library/alpine 21:14:29 c41833b44d91: Already exists 21:14:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:14:29 Status: Downloaded newer image for alpine:3.17 21:14:29 ---> 51e60588ff2c 21:14:29 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:14:29 ---> Running in cb032bc29971 21:14:29 Removing intermediate container cb032bc29971 21:14:29 ---> f290d1c1d919 21:14:29 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:14:29 ---> Running in 5d48d284f13f 21:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:29 (1/1) Installing dumb-init (1.2.5-r2) 21:14:29 Executing busybox-1.35.0-r29.trigger 21:14:29 OK: 8 MiB in 16 packages 21:14:29 Removing intermediate container 5d48d284f13f 21:14:29 ---> 8c6cb743662c 21:14:29 Step 16/24 : COPY --from=builder /app/LICENSE / 21:14:29 ---> 4f089e880a33 21:14:29 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:14:29 ---> cfbe2d118ea7 21:14:29 Step 18/24 : COPY --from=builder /app/cmd/ / 21:14:29 ---> 3adc99e494e1 21:14:29 Step 19/24 : EXPOSE 59989 21:14:29 ---> Running in b54312186273 21:14:29 Removing intermediate container b54312186273 21:14:29 ---> 7a3bd94dec73 21:14:29 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:14:29 ---> Running in d7a5a0be0219 21:14:29 Removing intermediate container d7a5a0be0219 21:14:29 ---> 04c5538d5ea2 21:14:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:14:29 ---> Running in 1f0abaa7afb1 21:14:29 Removing intermediate container 1f0abaa7afb1 21:14:29 ---> 60cccc93fb7d 21:14:29 Step 22/24 : LABEL arch=arm64 21:14:29 ---> Running in 1fbe2b7dff38 21:14:29 Removing intermediate container 1fbe2b7dff38 21:14:29 ---> 28be9f325ac3 21:14:29 Step 23/24 : LABEL git_sha=d85a73ad96887b77aacc5f82f1d541fe7662176f 21:14:29 ---> Running in b41b5335153d 21:14:29 Removing intermediate container b41b5335153d 21:14:29 ---> 1b0e06c40a3c 21:14:29 Step 24/24 : LABEL version=0.0.0 21:14:29 ---> Running in 1a65032987d9 21:14:29 Removing intermediate container 1a65032987d9 21:14:29 ---> f3ba9b81a6e5 21:14:29 [Warning] One or more build-args [ARCH] were not consumed 21:14:29 Successfully built f3ba9b81a6e5 21:14:29 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:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:29 21:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:29 arm64: Pulling from edgex-lftools-log-publisher 21:14:29 8998bd30e6a1: Pulling fs layer 21:14:29 04944245beec: Pulling fs layer 21:14:29 699f458cf7ca: Pulling fs layer 21:14:29 765212b225bb: Pulling fs layer 21:14:29 f23df028b6ca: Pulling fs layer 21:14:29 d65c8cfc05b1: Pulling fs layer 21:14:29 2437ff75d9bd: Pulling fs layer 21:14:29 f23df028b6ca: Waiting 21:14:29 d65c8cfc05b1: Waiting 21:14:29 765212b225bb: Waiting 21:14:29 2437ff75d9bd: Waiting 21:14:30 04944245beec: Verifying Checksum 21:14:30 04944245beec: Download complete 21:14:30 765212b225bb: Verifying Checksum 21:14:30 765212b225bb: Download complete 21:14:30 f23df028b6ca: Download complete 21:14:30 d65c8cfc05b1: Verifying Checksum 21:14:30 d65c8cfc05b1: Download complete 21:14:30 699f458cf7ca: Verifying Checksum 21:14:30 699f458cf7ca: Download complete 21:14:30 8998bd30e6a1: Verifying Checksum 21:14:30 8998bd30e6a1: Download complete 21:14:32 2437ff75d9bd: Verifying Checksum 21:14:32 2437ff75d9bd: Download complete 21:14:35 8998bd30e6a1: Pull complete 21:14:36 04944245beec: Pull complete 21:14:37 699f458cf7ca: Pull complete 21:14:37 765212b225bb: Pull complete 21:14:38 f23df028b6ca: Pull complete 21:14:38 d65c8cfc05b1: Pull complete 21:14:50 2437ff75d9bd: Pull complete 21:14:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:51 prd-ubuntu20.04-docker-arm64-4c-16g-17563 does not seem to be running inside a container 21:14:51 $ 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/9 -v /w/workspace/device-rfid-llrp-go/9:/w/workspace/device-rfid-llrp-go/9:rw,z -v /w/workspace/device-rfid-llrp-go/9@tmp:/w/workspace/device-rfid-llrp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:53 $ docker top 332a79445eaf9143ca188f53cb0e3a1ee7c97d6b44dff998cd0d653e0a5bc5ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:54 ---> job-cost.sh 21:14:54 lf-activate-venv: SKIPPING 21:14:54 INFO: No Stack... 21:14:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:55 INFO: Archiving Costs [Pipeline] sh 21:14:55 + cut -d, -f6 21:14:55 + cat /w/workspace/device-rfid-llrp-go/9/archives/cost.csv [Pipeline] lock 21:14:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] 21:14:55 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] did not exist. Created. 21:14:55 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:56 /w/workspace/device-rfid-llrp-go/9@tmp/durable-8f7ed96c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:56 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:56 Warning: overwriting stash ‘stack-cost’ 21:14:56 Stashed 1 file(s) [Pipeline] } 21:14:56 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:56 $ docker stop --time=1 332a79445eaf9143ca188f53cb0e3a1ee7c97d6b44dff998cd0d653e0a5bc5ae 21:14:58 $ docker rm -f --volumes 332a79445eaf9143ca188f53cb0e3a1ee7c97d6b44dff998cd0d653e0a5bc5ae [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:14:58 provisioning config files... 21:14:58 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config5488022235158811531tmp [Pipeline] { [Pipeline] sh 21:14:58 + set +x 21:14:58 + curl -s https://codecov.io/bash 21:14:58 + bash -s -- 21:14:58 21:14:58 _____ _ 21:14:58 / ____| | | 21:14:58 | | ___ __| | ___ ___ _____ __ 21:14:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:58 Bash-1.0.6 21:14:58 21:14:58 21:14:58 ==> git version 2.25.1 found 21:14:58 ==> 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:14:58 Release-Date: 2020-01-08 21:14:58 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:14:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:58 ==> Jenkins CI detected. 21:14:58 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:14:58 project root: . 21:14:58 --> token set from env 21:14:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:58 ==> Running gcov in . (disable via -X gcov) 21:14:58 ==> Python coveragepy not found 21:14:58 ==> Searching for coverage reports in: 21:14:58 + . 21:14:58 -> Found 1 reports 21:14:58 ==> Detecting git/mercurial file structure 21:14:58 ==> Reading reports 21:14:58 + ./coverage.out bytes=458039 21:14:58 ==> Appending adjustments 21:14:58 https://docs.codecov.io/docs/fixing-reports 21:14:59 + Found adjustments 21:14:59 ==> Gzipping contents 21:14:59 52K /tmp/codecov.36Qq7z.gz 21:14:59 ==> Uploading reports 21:14:59 url: https://codecov.io 21:14:59 query: branch=PR-229&commit=af223c68737ef57ac9d71d9bb41c25647c921134&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:14:59 -> Pinging Codecov 21:14:59 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=af223c68737ef57ac9d71d9bb41c25647c921134&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:14:59 -> Uploading to 21:14:59 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/581DD39554BDF9B6E22D074273EAD858/af223c68737ef57ac9d71d9bb41c25647c921134/3813e132-7bc6-4dfd-a919-85f84e4e1b76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T211459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cee9aa29eefecd5af971d670c296c82c1c6e4f5f8528bfa1f358bf59dd3f0302 21:14:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:59 Dload Upload Total Spent Left Speed 21:14:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50483 0 0 100 50483 0 172k --:--:-- --:--:-- --:--:-- 172k 21:14:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/af223c68737ef57ac9d71d9bb41c25647c921134 [Pipeline] } 21:14:59 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:15:00 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:15:00 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:15:00 total 16 21:15:00 drwxr-xr-x 3 root root 4096 May 31 21:08 . 21:15:00 drwxrwxr-x 12 jenkins jenkins 4096 May 31 21:08 .. 21:15:00 drwxr-xr-x 2 root root 4096 May 31 21:08 cost 21:15:00 -rw-r--r-- 1 root root 92 May 31 21:08 cost.csv 21:15:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:15:00 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:15:00 total 16 21:15:00 drwxr-xr-x 3 jenkins jenkins 4096 May 31 21:08 . 21:15:00 drwxrwxr-x 12 jenkins jenkins 4096 May 31 21:08 .. 21:15:00 drwxr-xr-x 2 jenkins jenkins 4096 May 31 21:08 cost 21:15:00 -rw-r--r-- 1 jenkins jenkins 92 May 31 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:01 ---> package-listing.sh 21:15:01 ++ tr '[:upper:]' '[:lower:]' 21:15:01 ++ facter osfamily 21:15:01 + OS_FAMILY=debian 21:15:01 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:15:01 + START_PACKAGES=/tmp/packages_start.txt 21:15:01 + END_PACKAGES=/tmp/packages_end.txt 21:15:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:01 + PACKAGES=/tmp/packages_start.txt 21:15:01 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:15:01 + PACKAGES=/tmp/packages_end.txt 21:15:01 + case "${OS_FAMILY}" in 21:15:01 + dpkg -l 21:15:01 + grep '^ii' 21:15:01 + '[' -f /tmp/packages_start.txt ']' 21:15:01 + '[' -f /tmp/packages_end.txt ']' 21:15:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:01 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:15:01 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:15:01 + 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:15:01 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:15:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:02 prd-ubuntu20.04-docker-8c-8g-17552 does not seem to be running inside a container 21:15:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:02 $ docker top db704f1ce5c495e903b051f50f7d7c2c8e6d0c94223a3516640caa9c2e7a6f32 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:03 + ls /var/log/sa-host 21:15:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:03 provisioning config files... 21:15:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config16603606409522939886tmp [Pipeline] { [Pipeline] echo 21:15:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:04 ---> create-netrc.sh [Pipeline] } 21:15:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:04 ---> python-tools-install.sh [Pipeline] echo 21:15:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:04 ---> sudo-logs.sh 21:15:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:05 ---> job-cost.sh 21:15:05 lf-activate-venv: SKIPPING 21:15:05 DEBUG: total: 0.2199999988079071 21:15:05 INFO: Retrieving Stack Cost... 21:15:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:05 INFO: Archiving Costs [Pipeline] echo 21:15:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:05 ---> logs-deploy.sh 21:15:05 lf-activate-venv: SKIPPING 21:15:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/9 21:15:05 INFO: archiving workspace using pattern(s): 21:15:06 Archives upload complete. 21:15:06 INFO: archiving logs to Nexus