Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a26dba54f84c59b3a7ab2b4550af960912cafc66+4d5d7787f034dd5542ee48778370d67321a0492e (9c87aeab9b87fef55d2aa6aebccc93d1d1646258) 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-ssh13703886167774674801.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-ssh16464028820739018983.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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2682485328369053091.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-ssh7728740627184701953.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12610757159669581739.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17360’ Running on prd-ubuntu20.04-docker-8c-8g-17363 in /w/workspace/undry_device-rfid-llrp-go_PR-238 [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-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4d5d7787f034dd5542ee48778370d67321a0492e into PR head commit a26dba54f84c59b3a7ab2b4550af960912cafc66 Merge succeeded, producing 872cb42b1b8f5b478e6b02760a77b08330bd447f Checking out Revision 872cb42b1b8f5b478e6b02760a77b08330bd447f (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f a26dba54f84c59b3a7ab2b4550af960912cafc66 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d5d7787f034dd5542ee48778370d67321a0492e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 872cb42b1b8f5b478e6b02760a77b08330bd447f # timeout=10 Commit message: "Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD" > git rev-list --no-walk a26dba54f84c59b3a7ab2b4550af960912cafc66 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:15 ========================================================= 21:07:15 EdgeX Global Pipelines Version Info 21:07:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:15 ------------------- 21:07:15 stable info: 21:07:15 ------------------- 21:07:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:15 Message: update stable to v1.0.249 21:07:16 ------------------- 21:07:16 experimental info: 21:07:16 ------------------- 21:07:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:07:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 872cb42b1b8f5b478e6b02760a77b08330bd447f [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 872cb42 [Pipeline] echo 21:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:17 provisioning config files... 21:07:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config2322453363558354544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:17 ---> docker-login.sh 21:07:17 nexus3.edgexfoundry.org:10001 21:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:17 Configure a credential helper to remove this warning. See 21:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:17 21:07:17 Login Succeeded 21:07:17 nexus3.edgexfoundry.org:10002 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 nexus3.edgexfoundry.org:10003 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 nexus3.edgexfoundry.org:10004 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 docker.io 21:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:18 Configure a credential helper to remove this warning. See 21:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:18 21:07:18 Login Succeeded 21:07:18 ---> docker-login.sh ends [Pipeline] } 21:07:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:18 + git rev-list -1 --merges 872cb42b1b8f5b478e6b02760a77b08330bd447f~1..872cb42b1b8f5b478e6b02760a77b08330bd447f [Pipeline] echo 21:07:18 -----------> git rev-list -1 --merges 872cb42b1b8f5b478e6b02760a77b08330bd447f~1..872cb42b1b8f5b478e6b02760a77b08330bd447f 872cb42b1b8f5b478e6b02760a77b08330bd447f 21:07:18 872cb42b1b8f5b478e6b02760a77b08330bd447f [false] [Pipeline] sh 21:07:19 + git log --format=format:%s -1 872cb42b1b8f5b478e6b02760a77b08330bd447f [Pipeline] echo 21:07:19 ========================================================= 21:07:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:19 + git log --format=format:%s -1 872cb42b1b8f5b478e6b02760a77b08330bd447f [Pipeline] echo 21:07:19 [semverPrep] GIT_COMMIT: 872cb42b1b8f5b478e6b02760a77b08330bd447f, Commit Message: Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD [Pipeline] echo 21:07:19 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:19 + grep -v github /etc/ssh/ssh_known_hosts 21:07:19 + [ -e /tmp/ssh_known_hosts ] 21:07:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:19 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:20 21:07:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:20 b85a868b505f: Pulling fs layer 21:07:20 e2be974225ed: Pulling fs layer 21:07:20 339a4e72a1f5: Pulling fs layer 21:07:20 988bab9f4d93: Pulling fs layer 21:07:20 1469e6f7b9e6: Pulling fs layer 21:07:20 eaf3925da568: Pulling fs layer 21:07:20 bab4dde63d76: Pulling fs layer 21:07:20 bde34c3a00c8: Pulling fs layer 21:07:20 b352a97aabf1: Pulling fs layer 21:07:20 4872d77fe225: Pulling fs layer 21:07:20 5851b861e8e6: Pulling fs layer 21:07:20 bab4dde63d76: Waiting 21:07:20 bde34c3a00c8: Waiting 21:07:20 b352a97aabf1: Waiting 21:07:20 4872d77fe225: Waiting 21:07:20 5851b861e8e6: Waiting 21:07:20 988bab9f4d93: Waiting 21:07:20 eaf3925da568: Waiting 21:07:20 e2be974225ed: Verifying Checksum 21:07:20 e2be974225ed: Download complete 21:07:20 988bab9f4d93: Verifying Checksum 21:07:20 988bab9f4d93: Download complete 21:07:20 1469e6f7b9e6: Verifying Checksum 21:07:20 1469e6f7b9e6: Download complete 21:07:20 eaf3925da568: Verifying Checksum 21:07:20 eaf3925da568: Download complete 21:07:20 339a4e72a1f5: Verifying Checksum 21:07:20 339a4e72a1f5: Download complete 21:07:20 bde34c3a00c8: Download complete 21:07:20 b352a97aabf1: Download complete 21:07:20 4872d77fe225: Verifying Checksum 21:07:20 4872d77fe225: Download complete 21:07:20 5851b861e8e6: Download complete 21:07:21 b85a868b505f: Verifying Checksum 21:07:21 b85a868b505f: Download complete 21:07:21 bab4dde63d76: Verifying Checksum 21:07:21 bab4dde63d76: Download complete 21:07:22 b85a868b505f: Pull complete 21:07:22 e2be974225ed: Pull complete 21:07:22 339a4e72a1f5: Pull complete 21:07:22 988bab9f4d93: Pull complete 21:07:23 1469e6f7b9e6: Pull complete 21:07:23 eaf3925da568: Pull complete 21:07:25 bab4dde63d76: Pull complete 21:07:25 bde34c3a00c8: Pull complete 21:07:25 b352a97aabf1: Pull complete 21:07:25 4872d77fe225: Pull complete 21:07:25 5851b861e8e6: Pull complete 21:07:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:25 prd-ubuntu20.04-docker-8c-8g-17363 does not seem to be running inside a container 21:07:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-238 -v /w/workspace/undry_device-rfid-llrp-go_PR-238:/w/workspace/undry_device-rfid-llrp-go_PR-238:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:27 $ docker top 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 -eo pid,comm 21:07:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:07:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:27 [ssh-agent] Looking for ssh-agent implementation... 21:07:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:27 $ docker exec 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 ssh-agent 21:07:27 SSH_AUTH_SOCK=/tmp/ssh-KeXOyPYehBdK/agent.33 21:07:27 SSH_AGENT_PID=38 21:07:27 Running ssh-add (command line suppressed) 21:07:27 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_7180464100309820572.key (/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_7180464100309820572.key) 21:07:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:27 + git tag --points-at HEAD [Pipeline] } 21:07:27 $ docker exec --env ******** --env ******** 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 ssh-agent -k 21:07:27 unset SSH_AUTH_SOCK; 21:07:27 unset SSH_AGENT_PID; 21:07:27 echo Agent pid 38 killed; 21:07:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:27 [ssh-agent] Looking for ssh-agent implementation... 21:07:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:28 $ docker exec 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 ssh-agent 21:07:28 SSH_AUTH_SOCK=/tmp/ssh-hbyk0lEDetGZ/agent.70 21:07:28 SSH_AGENT_PID=76 21:07:28 Running ssh-add (command line suppressed) 21:07:28 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_4927093238982067859.key (/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_4927093238982067859.key) 21:07:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:28 + git semver init 21:07:28 2023-05-30 21:07:28,767 [run_init] DEBUG init version:0.0.0 force:False 21:07:28 2023-05-30 21:07:28,768 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver 21:07:28 2023-05-30 21:07:28,769 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-238/.semver 21:07:28 2023-05-30 21:07:28,769 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-238, universal_newlines=False, shell=None, istream=None) 21:07:29 2023-05-30 21:07:29,527 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-238/.git/info/exclude 21:07:29 2023-05-30 21:07:29,527 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver/PR-238 with force:False 21:07:29 2023-05-30 21:07:29,527 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver/PR-238 21:07:29 2023-05-30 21:07:29,531 [execute] INFO git cat-file --batch-check 21:07:29 2023-05-30 21:07:29,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver, universal_newlines=False, shell=None, istream=) 21:07:29 2023-05-30 21:07:29,537 [execute] INFO git cat-file --batch 21:07:29 2023-05-30 21:07:29,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver, universal_newlines=False, shell=None, istream=) 21:07:29 2023-05-30 21:07:29,541 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-238/.semver/PR-238 21:07:29 0.0.0 [Pipeline] } 21:07:29 $ docker exec --env ******** --env ******** 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 ssh-agent -k 21:07:29 unset SSH_AUTH_SOCK; 21:07:29 unset SSH_AGENT_PID; 21:07:29 echo Agent pid 76 killed; 21:07:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:30 + git semver [Pipeline] } 21:07:30 $ docker stop --time=1 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 21:07:31 $ docker rm -f --volumes 40e1251cbface5c09e3c37dbc9d7ea568fea2c95ff8a4c69985d27eb9bce4e78 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:32 Stashed 1 file(s) [Pipeline] echo 21:07:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:32 provisioning config files... 21:07:32 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config8884134806830749463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:32 ---> docker-login.sh 21:07:32 nexus3.edgexfoundry.org:10001 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10002 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10003 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 nexus3.edgexfoundry.org:10004 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 docker.io 21:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 ---> docker-login.sh ends [Pipeline] } 21:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:33 ========================================================= 21:07:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:33 Sending build context to Docker daemon 4.272MB 21:07:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:33 Step 2/12 : FROM ${BASE} AS builder 21:07:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:33 f56be85fc22e: Pulling fs layer 21:07:33 85791d961cd3: Pulling fs layer 21:07:33 d694b5ae8c79: Pulling fs layer 21:07:33 9f32a84ed3da: Pulling fs layer 21:07:33 4d19c01a9841: Pulling fs layer 21:07:33 9325e15d5711: Pulling fs layer 21:07:33 556b6ee489ea: Pulling fs layer 21:07:33 c5a4b2cf53e6: Pulling fs layer 21:07:33 c5a4b2cf53e6: Waiting 21:07:33 9325e15d5711: Waiting 21:07:33 9f32a84ed3da: Waiting 21:07:33 4d19c01a9841: Waiting 21:07:33 556b6ee489ea: Waiting 21:07:33 85791d961cd3: Verifying Checksum 21:07:33 85791d961cd3: Download complete 21:07:33 9f32a84ed3da: Verifying Checksum 21:07:33 9f32a84ed3da: Download complete 21:07:33 4d19c01a9841: Verifying Checksum 21:07:33 4d19c01a9841: Download complete 21:07:33 f56be85fc22e: Verifying Checksum 21:07:33 f56be85fc22e: Download complete 21:07:34 9325e15d5711: Verifying Checksum 21:07:34 9325e15d5711: Download complete 21:07:34 f56be85fc22e: Pull complete 21:07:34 85791d961cd3: Pull complete 21:07:34 c5a4b2cf53e6: Verifying Checksum 21:07:34 c5a4b2cf53e6: Download complete 21:07:34 d694b5ae8c79: Verifying Checksum 21:07:34 d694b5ae8c79: Download complete 21:07:34 556b6ee489ea: Verifying Checksum 21:07:34 556b6ee489ea: Download complete 21:07:38 d694b5ae8c79: Pull complete 21:07:38 9f32a84ed3da: Pull complete 21:07:38 4d19c01a9841: Pull complete 21:07:38 9325e15d5711: Pull complete 21:07:40 556b6ee489ea: Pull complete 21:07:41 c5a4b2cf53e6: Pull complete 21:07:41 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:41 ---> c4be618373d6 21:07:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:43 ---> Running in 7f5c17851fa7 21:07:43 Removing intermediate container 7f5c17851fa7 21:07:43 ---> a6ab9b894670 21:07:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:43 ---> Running in 99d978d19588 21:07:43 Removing intermediate container 99d978d19588 21:07:43 ---> 37365d90d67c 21:07:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:43 ---> Running in 6cb16350426b 21:07:43 Removing intermediate container 6cb16350426b 21:07:43 ---> efbd33019c85 21:07:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:43 ---> Running in 281c51dcb7e7 21:07:43 Removing intermediate container 281c51dcb7e7 21:07:43 ---> c5a9578a219f 21:07:43 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:43 ---> Running in 8f9eac02b7da 21:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:44 OK: 265 MiB in 53 packages 21:07:44 Removing intermediate container 8f9eac02b7da 21:07:44 ---> e4c7b7311ea4 21:07:44 Step 8/12 : WORKDIR /app 21:07:44 ---> Running in 6781ce114b20 21:07:44 Removing intermediate container 6781ce114b20 21:07:44 ---> 62a274473d00 21:07:44 Step 9/12 : COPY go.mod vendor* ./ 21:07:44 ---> 14f33fc0123d 21:07:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:44 ---> Running in 103ce018a46b 21:07:47 Still waiting to schedule task 21:07:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17361’ 21:08:06 Removing intermediate container 103ce018a46b 21:08:06 ---> 555d0b9d464e 21:08:06 Step 11/12 : COPY . . 21:08:06 ---> 62d0ac875edf 21:08:06 Step 12/12 : RUN $MAKE 21:08:06 ---> Running in 57f908e9f6e0 21:08:06 noop 21:08:06 Removing intermediate container 57f908e9f6e0 21:08:06 ---> 745bb2b33edc 21:08:06 Successfully built 745bb2b33edc 21:08:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:06 + docker inspect -f . ci-base-image-x86_64 21:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:07 prd-ubuntu20.04-docker-8c-8g-17363 does not seem to be running inside a container 21:08:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-238 -v /w/workspace/undry_device-rfid-llrp-go_PR-238:/w/workspace/undry_device-rfid-llrp-go_PR-238:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:07 $ docker top a909cbd0a2f4b563fb5f2a6d95d717209445ce0911cef7243216c4337fee25eb -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:07 + go version 21:08:07 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:07 $ docker stop --time=1 a909cbd0a2f4b563fb5f2a6d95d717209445ce0911cef7243216c4337fee25eb 21:08:09 $ docker rm -f --volumes a909cbd0a2f4b563fb5f2a6d95d717209445ce0911cef7243216c4337fee25eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:09 + docker inspect -f . ci-base-image-x86_64 21:08:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:09 prd-ubuntu20.04-docker-8c-8g-17363 does not seem to be running inside a container 21:08:09 $ 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-238 -v /w/workspace/undry_device-rfid-llrp-go_PR-238:/w/workspace/undry_device-rfid-llrp-go_PR-238:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:09 $ docker top 80582fadeae32d8eee959c37414a017645171f344e4311966bc4b8481420a27d -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:10 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-238 [Pipeline] fileExists [Pipeline] sh 21:08:10 + make test 21:08:10 go test ./... -coverprofile=coverage.out ./... 21:08:14 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.937s coverage: 40.5% of statements 21:08:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.247s coverage: 52.0% of statements 21:08:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 96.4% of statements 21:08:36 go vet ./... 21:08:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:39 ./bin/test-attribution-txt.sh 21:08:39 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:08:39 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:08:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:39 $ docker stop --time=1 80582fadeae32d8eee959c37414a017645171f344e4311966bc4b8481420a27d 21:08:41 $ docker rm -f --volumes 80582fadeae32d8eee959c37414a017645171f344e4311966bc4b8481420a27d [Pipeline] // withDockerContainer [Pipeline] sh 21:08:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:43 + ls -al . 21:08:43 total 632 21:08:43 drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:08 . 21:08:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 .. 21:08:43 -rw-rw-r-- 1 jenkins jenkins 134 May 30 21:07 .dockerignore 21:08:43 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:07 .git 21:08:43 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:07 .github 21:08:43 -rw-rw-r-- 1 jenkins jenkins 946 May 30 21:07 .gitignore 21:08:43 -rw-rw-r-- 1 jenkins jenkins 41 May 30 21:07 .golangci.yml 21:08:43 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:07 .semver 21:08:43 -rw-rw-r-- 1 jenkins jenkins 10794 May 30 21:07 Attribution.txt 21:08:43 -rw-rw-r-- 1 jenkins jenkins 10365 May 30 21:07 CHANGELOG.md 21:08:43 -rw-rw-r-- 1 jenkins jenkins 1347 May 30 21:07 Dockerfile 21:08:43 -rw-rw-r-- 1 jenkins jenkins 677 May 30 21:07 GOVERNANCE.md 21:08:43 -rw-rw-r-- 1 jenkins jenkins 683 May 30 21:07 Jenkinsfile 21:08:43 -rw-rw-r-- 1 jenkins jenkins 11347 May 30 21:07 LICENSE 21:08:43 -rw-rw-r-- 1 jenkins jenkins 2053 May 30 21:07 Makefile 21:08:43 -rw-rw-r-- 1 jenkins jenkins 625 May 30 21:07 OWNERS.md 21:08:43 -rw-rw-r-- 1 jenkins jenkins 28505 May 30 21:07 README.md 21:08:43 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:07 VERSION 21:08:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 bin 21:08:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 cmd 21:08:43 -rw-r--r-- 1 jenkins jenkins 458039 May 30 21:08 coverage.out 21:08:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 examples 21:08:43 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:07 go.mod 21:08:43 -rw-rw-r-- 1 jenkins jenkins 31072 May 30 21:07 go.sum 21:08:43 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:07 images 21:08:43 drwxrwxr-x 5 jenkins jenkins 4096 May 30 21:07 internal 21:08:43 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:07 snap 21:08:43 -rw-rw-r-- 1 jenkins jenkins 193 May 30 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:43 + 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=872cb42b1b8f5b478e6b02760a77b08330bd447f --label arch=amd64 --label version=0.0.0 . 21:08:43 Sending build context to Docker daemon 4.272MB 21:08:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:43 Step 2/24 : FROM ${BASE} AS builder 21:08:43 ---> 745bb2b33edc 21:08:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:43 ---> Running in 1236ea410089 21:08:43 Removing intermediate container 1236ea410089 21:08:43 ---> d0bb68966a6c 21:08:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:43 ---> Running in 525324ddce58 21:08:43 Removing intermediate container 525324ddce58 21:08:43 ---> b40460900615 21:08:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:43 ---> Running in 2384e8d998cf 21:08:43 Removing intermediate container 2384e8d998cf 21:08:43 ---> 14bbcecb4acb 21:08:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:43 ---> Running in 15aad59b0307 21:08:43 Removing intermediate container 15aad59b0307 21:08:43 ---> 2b7c68e76ed4 21:08:43 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:43 ---> Running in 2ba6f54f3c17 21:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:44 OK: 265 MiB in 53 packages 21:08:44 Removing intermediate container 2ba6f54f3c17 21:08:44 ---> 906b947c7d6a 21:08:44 Step 8/24 : WORKDIR /app 21:08:45 ---> Running in 36f1113c53da 21:08:45 Removing intermediate container 36f1113c53da 21:08:45 ---> 1abd643406b1 21:08:45 Step 9/24 : COPY go.mod vendor* ./ 21:08:45 ---> becdddcab951 21:08:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:45 ---> Running in d3e38b970e31 21:08:45 Removing intermediate container d3e38b970e31 21:08:45 ---> c72ed4c4ec96 21:08:45 Step 11/24 : COPY . . 21:08:46 ---> ca9ff1495588 21:08:46 Step 12/24 : RUN $MAKE 21:08:46 ---> Running in 81a0465ac171 21:08:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:04 Removing intermediate container 81a0465ac171 21:09:04 ---> f0cf09238518 21:09:04 Step 13/24 : FROM alpine:3.17 21:09:04 3.17: Pulling from library/alpine 21:09:04 f56be85fc22e: Already exists 21:09:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:09:04 Status: Downloaded newer image for alpine:3.17 21:09:04 ---> 9ed4aefc74f6 21:09:04 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:04 ---> Running in 23aa71379f97 21:09:04 Removing intermediate container 23aa71379f97 21:09:04 ---> db5c83c1453f 21:09:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:04 ---> Running in 0c430b47a06d 21:09:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:05 (1/1) Installing dumb-init (1.2.5-r2) 21:09:05 Executing busybox-1.35.0-r29.trigger 21:09:05 OK: 7 MiB in 16 packages 21:09:05 Removing intermediate container 0c430b47a06d 21:09:05 ---> 0c169a3aafa5 21:09:05 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:06 ---> 90f64aa12018 21:09:06 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:06 ---> 32d657e0b49b 21:09:06 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:06 ---> 90640106d7c0 21:09:06 Step 19/24 : EXPOSE 59989 21:09:06 ---> Running in b560434694c7 21:09:06 Removing intermediate container b560434694c7 21:09:06 ---> d42dd33bc3e5 21:09:06 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:06 ---> Running in 7907537ad996 21:09:06 Removing intermediate container 7907537ad996 21:09:06 ---> b080b3a245ba 21:09:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:06 ---> Running in 4719ed3271c9 21:09:06 Removing intermediate container 4719ed3271c9 21:09:06 ---> 8ef03663289a 21:09:06 Step 22/24 : LABEL arch=amd64 21:09:06 ---> Running in 668fdd285678 21:09:07 Removing intermediate container 668fdd285678 21:09:07 ---> b9fe3f5570d0 21:09:07 Step 23/24 : LABEL git_sha=872cb42b1b8f5b478e6b02760a77b08330bd447f 21:09:07 ---> Running in 7cbcce52d056 21:09:07 Removing intermediate container 7cbcce52d056 21:09:07 ---> a373297ec808 21:09:07 Step 24/24 : LABEL version=0.0.0 21:09:07 ---> Running in 6cb81927b823 21:09:07 Removing intermediate container 6cb81927b823 21:09:07 ---> bee48973ed64 21:09:07 [Warning] One or more build-args [ARCH] were not consumed 21:09:07 Successfully built bee48973ed64 21:09:07 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:07 21:09:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:08 latest: Pulling from edgex-lftools-log-publisher 21:09:08 5eb5b503b376: Pulling fs layer 21:09:08 5c69ac0246d0: Pulling fs layer 21:09:08 ec43610c2a17: Pulling fs layer 21:09:08 3a2ae6a8a46f: Pulling fs layer 21:09:08 33b1e0a273af: Pulling fs layer 21:09:08 5d3b04190fa2: Pulling fs layer 21:09:08 2f39f015ded8: Pulling fs layer 21:09:08 3a2ae6a8a46f: Waiting 21:09:08 33b1e0a273af: Waiting 21:09:08 2f39f015ded8: Waiting 21:09:08 5c69ac0246d0: Download complete 21:09:08 3a2ae6a8a46f: Download complete 21:09:08 33b1e0a273af: Verifying Checksum 21:09:08 33b1e0a273af: Download complete 21:09:08 5d3b04190fa2: Verifying Checksum 21:09:08 5d3b04190fa2: Download complete 21:09:08 ec43610c2a17: Verifying Checksum 21:09:08 5eb5b503b376: Verifying Checksum 21:09:08 5eb5b503b376: Download complete 21:09:08 2f39f015ded8: Download complete 21:09:09 5eb5b503b376: Pull complete 21:09:09 5c69ac0246d0: Pull complete 21:09:10 ec43610c2a17: Pull complete 21:09:10 3a2ae6a8a46f: Pull complete 21:09:10 33b1e0a273af: Pull complete 21:09:10 5d3b04190fa2: Pull complete 21:09:14 2f39f015ded8: Pull complete 21:09:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:14 prd-ubuntu20.04-docker-8c-8g-17363 does not seem to be running inside a container 21:09:14 $ 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-238 -v /w/workspace/undry_device-rfid-llrp-go_PR-238:/w/workspace/undry_device-rfid-llrp-go_PR-238:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:16 $ docker top d6b3450be62c28099a9386e8d54995dd02188b4a9cb2ba46d4f810c4f0e8b42d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:17 ---> job-cost.sh 21:09:17 lf-activate-venv: SKIPPING 21:09:17 INFO: No Stack... 21:09:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:17 INFO: Archiving Costs [Pipeline] sh 21:09:17 + cat /w/workspace/undry_device-rfid-llrp-go_PR-238/archives/cost.csv 21:09:17 + cut -d, -f6 [Pipeline] lock 21:09:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] 21:09:17 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] did not exist. Created. 21:09:17 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:18 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:18 Stashed 1 file(s) [Pipeline] } 21:09:18 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:18 $ docker stop --time=1 d6b3450be62c28099a9386e8d54995dd02188b4a9cb2ba46d4f810c4f0e8b42d 21:09:19 $ docker rm -f --volumes d6b3450be62c28099a9386e8d54995dd02188b4a9cb2ba46d4f810c4f0e8b42d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17365 in /w/workspace/undry_device-rfid-llrp-go_PR-238 [Pipeline] { [Pipeline] ws 21:10:38 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 21:10:38 Selected Git installation does not exist. Using Default 21:10:38 The recommended git tool is: NONE 21:10:43 using credential edgex-jenkins-ssh 21:10:43 Cloning the remote Git repository 21:10:43 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:43 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 21:10:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:44 > git --version # timeout=10 21:10:44 > git --version # 'git version 2.25.1' 21:10:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:46 Merging remotes/origin/main commit 4d5d7787f034dd5542ee48778370d67321a0492e into PR head commit a26dba54f84c59b3a7ab2b4550af960912cafc66 21:10:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:10:46 > git config core.sparsecheckout # timeout=10 21:10:46 > git checkout -f a26dba54f84c59b3a7ab2b4550af960912cafc66 # timeout=10 21:10:46 > git remote # timeout=10 21:10:46 > git config --get remote.origin.url # timeout=10 21:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:46 > git merge 4d5d7787f034dd5542ee48778370d67321a0492e # timeout=10 21:10:47 Merge succeeded, producing fa21479be40aaf59f48995e7d8130b1487f80b87 21:10:47 Checking out Revision fa21479be40aaf59f48995e7d8130b1487f80b87 (PR-238) 21:10:47 > git rev-parse HEAD^{commit} # timeout=10 21:10:47 > git config core.sparsecheckout # timeout=10 21:10:47 > git checkout -f fa21479be40aaf59f48995e7d8130b1487f80b87 # timeout=10 21:10:50 Commit message: "Merge commit '4d5d7787f034dd5542ee48778370d67321a0492e' into HEAD" 21:10:50 > git rev-list --no-walk a26dba54f84c59b3a7ab2b4550af960912cafc66 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:51 Dload Upload Total Spent Left Speed 21:10:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62200 0 --:--:-- --:--:-- --:--:-- 62200 [Pipeline] sh 21:10:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:52 + sudo tee /etc/docker/daemon.new 21:10:52 { 21:10:52 "registry-mirrors": [ 21:10:52 "https://nexus3.edgexfoundry.org:10001" 21:10:52 ], 21:10:52 "bip": "10.250.0.254/24", 21:10:52 "hosts": [ 21:10:52 "tcp://0.0.0.0:5555", 21:10:52 "unix:///var/run/docker.sock" 21:10:52 ], 21:10:52 "mtu": 1458, 21:10:52 "selinux-enabled": true, 21:10:52 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:52 } [Pipeline] sh 21:10:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:11 provisioning config files... 21:11:11 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config8609485842814384314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:11 ---> docker-login.sh 21:11:11 nexus3.edgexfoundry.org:10001 21:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:12 Configure a credential helper to remove this warning. See 21:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:12 21:11:12 Login Succeeded 21:11:12 nexus3.edgexfoundry.org:10002 21:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:12 Configure a credential helper to remove this warning. See 21:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:12 21:11:12 Login Succeeded 21:11:12 nexus3.edgexfoundry.org:10003 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 nexus3.edgexfoundry.org:10004 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:13 Configure a credential helper to remove this warning. See 21:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:13 21:11:13 Login Succeeded 21:11:13 docker.io 21:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:14 Configure a credential helper to remove this warning. See 21:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:14 21:11:14 Login Succeeded 21:11:14 ---> docker-login.sh ends [Pipeline] } 21:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:14 ========================================================= 21:11:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:11:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:11:14 Sending build context to Docker daemon 1.217MB 21:11:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:11:14 Step 2/12 : FROM ${BASE} AS builder 21:11:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:11:15 c41833b44d91: Pulling fs layer 21:11:15 ed15518f5707: Pulling fs layer 21:11:15 feae8fd75edb: Pulling fs layer 21:11:15 242c74f7c9fa: Pulling fs layer 21:11:15 3cdef696dda3: Pulling fs layer 21:11:15 2ced38df9373: Pulling fs layer 21:11:15 58f1dce35555: Pulling fs layer 21:11:15 3cdef696dda3: Waiting 21:11:15 2ced38df9373: Waiting 21:11:15 58f1dce35555: Waiting 21:11:15 ed15518f5707: Verifying Checksum 21:11:15 ed15518f5707: Download complete 21:11:15 242c74f7c9fa: Verifying Checksum 21:11:15 242c74f7c9fa: Download complete 21:11:15 3cdef696dda3: Verifying Checksum 21:11:15 3cdef696dda3: Download complete 21:11:15 c41833b44d91: Verifying Checksum 21:11:15 c41833b44d91: Download complete 21:11:16 c41833b44d91: Pull complete 21:11:16 58f1dce35555: Verifying Checksum 21:11:16 58f1dce35555: Download complete 21:11:16 ed15518f5707: Pull complete 21:11:17 feae8fd75edb: Verifying Checksum 21:11:17 feae8fd75edb: Download complete 21:11:17 2ced38df9373: Verifying Checksum 21:11:17 2ced38df9373: Download complete 21:11:30 feae8fd75edb: Pull complete 21:11:30 242c74f7c9fa: Pull complete 21:11:30 3cdef696dda3: Pull complete 21:11:36 2ced38df9373: Pull complete 21:11:39 58f1dce35555: Pull complete 21:11:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:39 ---> fadd8f120f05 21:11:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:40 ---> Running in 1f3394c6e97d 21:11:41 Removing intermediate container 1f3394c6e97d 21:11:41 ---> a8c491453c52 21:11:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:41 ---> Running in c6f35d78bba6 21:11:41 Removing intermediate container c6f35d78bba6 21:11:41 ---> 3c5f195d5fa6 21:11:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:41 ---> Running in 0c72581e1aae 21:11:41 Removing intermediate container 0c72581e1aae 21:11:41 ---> 3b0d49fe47cc 21:11:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:41 ---> Running in 8a3ce0f83077 21:11:42 Removing intermediate container 8a3ce0f83077 21:11:42 ---> 26b52f598a25 21:11:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:42 ---> Running in 152ace7769d6 21:11:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:44 OK: 263 MiB in 53 packages 21:11:45 Removing intermediate container 152ace7769d6 21:11:45 ---> 065f6c74cc7f 21:11:45 Step 8/12 : WORKDIR /app 21:11:45 ---> Running in 7b180c5ec1c6 21:11:45 Removing intermediate container 7b180c5ec1c6 21:11:45 ---> e2a24428e013 21:11:45 Step 9/12 : COPY go.mod vendor* ./ 21:11:49 ---> da999b367de7 21:11:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:49 ---> Running in d9360cff337a 21:12:57 Removing intermediate container d9360cff337a 21:12:57 ---> 5f6144bd2d2e 21:12:57 Step 11/12 : COPY . . 21:12:57 ---> 5b865570abaf 21:12:57 Step 12/12 : RUN $MAKE 21:12:57 ---> Running in cfc90c7bb401 21:12:57 noop 21:12:57 Removing intermediate container cfc90c7bb401 21:12:57 ---> 3f319a5c15ea 21:12:57 Successfully built 3f319a5c15ea 21:12:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:57 + docker inspect -f . ci-base-image-arm64 21:12:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:57 prd-ubuntu20.04-docker-arm64-4c-16g-17365 does not seem to be running inside a container 21:12:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:12:58 $ docker top 1fd63cafce8e871f43fa80baab5c9dbb1bd6aa4268b46c98cfd4ea03c50c326a -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:59 + go version 21:12:59 go version go1.20.2 linux/arm64 [Pipeline] } 21:12:59 $ docker stop --time=1 1fd63cafce8e871f43fa80baab5c9dbb1bd6aa4268b46c98cfd4ea03c50c326a 21:13:01 $ docker rm -f --volumes 1fd63cafce8e871f43fa80baab5c9dbb1bd6aa4268b46c98cfd4ea03c50c326a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:02 + docker inspect -f . ci-base-image-arm64 21:13:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:02 prd-ubuntu20.04-docker-arm64-4c-16g-17365 does not seem to be running inside a container 21:13:02 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:03 $ docker top 7aac8dec9ecc3b2d66ed89c92c129cfe2ce0e55863b4d4e17bb9f25aeae7d6b3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:04 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh 21:13:04 + make test 21:13:04 go test ./... -coverprofile=coverage.out ./... 21:13:37 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:15:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:15:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:16:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 31.897s coverage: 40.5% of statements 21:16:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.582s coverage: 51.9% of statements 21:16:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 21:16:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:16:07 go vet ./... 21:16:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:35 ./bin/test-attribution-txt.sh 21:16:35 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:16:35 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:16:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:35 $ docker stop --time=1 7aac8dec9ecc3b2d66ed89c92c129cfe2ce0e55863b4d4e17bb9f25aeae7d6b3 21:16:37 $ docker rm -f --volumes 7aac8dec9ecc3b2d66ed89c92c129cfe2ce0e55863b4d4e17bb9f25aeae7d6b3 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:38 Warning: overwriting stash ‘coverage-report’ 21:16:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:40 + ls -al . 21:16:40 total 628 21:16:40 drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:13 . 21:16:40 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:10 .. 21:16:40 -rw-rw-r-- 1 jenkins jenkins 134 May 30 21:10 .dockerignore 21:16:40 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:10 .git 21:16:40 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:10 .github 21:16:40 -rw-rw-r-- 1 jenkins jenkins 946 May 30 21:10 .gitignore 21:16:40 -rw-rw-r-- 1 jenkins jenkins 41 May 30 21:10 .golangci.yml 21:16:40 -rw-rw-r-- 1 jenkins jenkins 10794 May 30 21:10 Attribution.txt 21:16:40 -rw-rw-r-- 1 jenkins jenkins 10365 May 30 21:10 CHANGELOG.md 21:16:40 -rw-rw-r-- 1 jenkins jenkins 1347 May 30 21:10 Dockerfile 21:16:40 -rw-rw-r-- 1 jenkins jenkins 677 May 30 21:10 GOVERNANCE.md 21:16:40 -rw-rw-r-- 1 jenkins jenkins 683 May 30 21:10 Jenkinsfile 21:16:40 -rw-rw-r-- 1 jenkins jenkins 11347 May 30 21:10 LICENSE 21:16:40 -rw-rw-r-- 1 jenkins jenkins 2053 May 30 21:10 Makefile 21:16:40 -rw-rw-r-- 1 jenkins jenkins 625 May 30 21:10 OWNERS.md 21:16:40 -rw-rw-r-- 1 jenkins jenkins 28505 May 30 21:10 README.md 21:16:40 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:07 VERSION 21:16:40 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:10 bin 21:16:40 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:10 cmd 21:16:40 -rw-r--r-- 1 jenkins jenkins 458039 May 30 21:16 coverage.out 21:16:40 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:10 examples 21:16:40 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:10 go.mod 21:16:40 -rw-rw-r-- 1 jenkins jenkins 31072 May 30 21:10 go.sum 21:16:40 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:10 images 21:16:40 drwxrwxr-x 5 jenkins jenkins 4096 May 30 21:10 internal 21:16:40 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:10 snap 21:16:40 -rw-rw-r-- 1 jenkins jenkins 193 May 30 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:40 + 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=fa21479be40aaf59f48995e7d8130b1487f80b87 --label arch=arm64 --label version=0.0.0 . 21:16:40 Sending build context to Docker daemon 1.217MB 21:16:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:16:40 Step 2/24 : FROM ${BASE} AS builder 21:16:40 ---> 3f319a5c15ea 21:16:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:16:40 ---> Running in 75eedd7726d4 21:16:40 Removing intermediate container 75eedd7726d4 21:16:40 ---> bbf31df5b392 21:16:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:41 ---> Running in b93e3b88a49b 21:16:41 Removing intermediate container b93e3b88a49b 21:16:41 ---> dd0117080895 21:16:41 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:16:41 ---> Running in 9dd1da0b79c7 21:16:41 Removing intermediate container 9dd1da0b79c7 21:16:41 ---> 6752d4032d5b 21:16:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:16:41 ---> Running in 74b980c14dd9 21:16:41 Removing intermediate container 74b980c14dd9 21:16:41 ---> 32ae9c3acae7 21:16:41 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:42 ---> Running in 917cbcf2cca6 21:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:45 OK: 263 MiB in 53 packages 21:16:46 Removing intermediate container 917cbcf2cca6 21:16:46 ---> 70a098ca3f9a 21:16:46 Step 8/24 : WORKDIR /app 21:16:46 ---> Running in 8e014e407929 21:16:46 Removing intermediate container 8e014e407929 21:16:46 ---> f48cd3260033 21:16:46 Step 9/24 : COPY go.mod vendor* ./ 21:16:47 ---> 1ddfb64ff613 21:16:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:47 ---> Running in 26040739f9d4 21:16:50 Removing intermediate container 26040739f9d4 21:16:50 ---> b75257711d66 21:16:50 Step 11/24 : COPY . . 21:16:50 ---> 228b1133e0c9 21:16:50 Step 12/24 : RUN $MAKE 21:16:50 ---> Running in 00aa99f13d0a 21:16:51 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:19:13 Removing intermediate container 00aa99f13d0a 21:19:13 ---> 5f244d2259ff 21:19:13 Step 13/24 : FROM alpine:3.17 21:19:13 3.17: Pulling from library/alpine 21:19:13 c41833b44d91: Already exists 21:19:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:19:13 Status: Downloaded newer image for alpine:3.17 21:19:13 ---> 51e60588ff2c 21:19:13 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:19:13 ---> Running in c5f97ef1f82f 21:19:13 Removing intermediate container c5f97ef1f82f 21:19:13 ---> 019519253ae6 21:19:13 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:19:13 ---> Running in bcf24758ff30 21:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:19:13 (1/1) Installing dumb-init (1.2.5-r2) 21:19:13 Executing busybox-1.35.0-r29.trigger 21:19:13 OK: 8 MiB in 16 packages 21:19:13 Removing intermediate container bcf24758ff30 21:19:13 ---> 07ad003e6f28 21:19:13 Step 16/24 : COPY --from=builder /app/LICENSE / 21:19:13 ---> e2de529d65f3 21:19:13 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:19:13 ---> 14e6c58b9ed9 21:19:13 Step 18/24 : COPY --from=builder /app/cmd/ / 21:19:13 ---> 52ae7c32c8b2 21:19:13 Step 19/24 : EXPOSE 59989 21:19:13 ---> Running in 2d42ad236c62 21:19:13 Removing intermediate container 2d42ad236c62 21:19:13 ---> 5ab8b770a8c3 21:19:13 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:19:13 ---> Running in 8ac308525486 21:19:13 Removing intermediate container 8ac308525486 21:19:13 ---> ae727ca51891 21:19:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:19:13 ---> Running in 4f0dd8c9a2d1 21:19:13 Removing intermediate container 4f0dd8c9a2d1 21:19:13 ---> 6e3268d442d9 21:19:13 Step 22/24 : LABEL arch=arm64 21:19:13 ---> Running in e3c88d0139c8 21:19:13 Removing intermediate container e3c88d0139c8 21:19:13 ---> 1b070c27191a 21:19:13 Step 23/24 : LABEL git_sha=fa21479be40aaf59f48995e7d8130b1487f80b87 21:19:13 ---> Running in 43a732bc52df 21:19:13 Removing intermediate container 43a732bc52df 21:19:13 ---> c02d84ca3138 21:19:13 Step 24/24 : LABEL version=0.0.0 21:19:13 ---> Running in a6f907b435ff 21:19:13 Removing intermediate container a6f907b435ff 21:19:13 ---> 65f2b2e4f182 21:19:13 [Warning] One or more build-args [ARCH] were not consumed 21:19:13 Successfully built 65f2b2e4f182 21:19:13 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:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:13 21:19:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:14 arm64: Pulling from edgex-lftools-log-publisher 21:19:14 8998bd30e6a1: Pulling fs layer 21:19:14 04944245beec: Pulling fs layer 21:19:14 699f458cf7ca: Pulling fs layer 21:19:14 765212b225bb: Pulling fs layer 21:19:14 f23df028b6ca: Pulling fs layer 21:19:14 d65c8cfc05b1: Pulling fs layer 21:19:14 2437ff75d9bd: Pulling fs layer 21:19:14 f23df028b6ca: Waiting 21:19:14 d65c8cfc05b1: Waiting 21:19:14 765212b225bb: Waiting 21:19:14 2437ff75d9bd: Waiting 21:19:14 04944245beec: Verifying Checksum 21:19:14 04944245beec: Download complete 21:19:14 765212b225bb: Verifying Checksum 21:19:14 765212b225bb: Download complete 21:19:14 f23df028b6ca: Download complete 21:19:14 d65c8cfc05b1: Verifying Checksum 21:19:14 d65c8cfc05b1: Download complete 21:19:14 699f458cf7ca: Verifying Checksum 21:19:14 699f458cf7ca: Download complete 21:19:14 8998bd30e6a1: Verifying Checksum 21:19:14 8998bd30e6a1: Download complete 21:19:17 2437ff75d9bd: Verifying Checksum 21:19:17 2437ff75d9bd: Download complete 21:19:18 8998bd30e6a1: Pull complete 21:19:19 04944245beec: Pull complete 21:19:20 699f458cf7ca: Pull complete 21:19:20 765212b225bb: Pull complete 21:19:21 f23df028b6ca: Pull complete 21:19:21 d65c8cfc05b1: Pull complete 21:19:36 2437ff75d9bd: Pull complete 21:19:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:19:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-17365 does not seem to be running inside a container 21:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:19:39 $ docker top 2604f244f5959855dbb1e63e79e3dc5bbad4d0fc491df1adda84c630d6111ce6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:40 ---> job-cost.sh 21:19:40 lf-activate-venv: SKIPPING 21:19:40 INFO: No Stack... 21:19:40 INFO: Retrieving Pricing Info for: v3-standard-4 21:19:41 INFO: Archiving Costs [Pipeline] sh 21:19:41 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 21:19:41 + cut -d, -f6 [Pipeline] lock 21:19:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] 21:19:41 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] did not exist. Created. 21:19:41 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:41 /w/workspace/device-rfid-llrp-go/2@tmp/durable-5da43eb8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:19:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:19:42 Warning: overwriting stash ‘stack-cost’ 21:19:42 Stashed 1 file(s) [Pipeline] } 21:19:42 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:42 $ docker stop --time=1 2604f244f5959855dbb1e63e79e3dc5bbad4d0fc491df1adda84c630d6111ce6 21:19:44 $ docker rm -f --volumes 2604f244f5959855dbb1e63e79e3dc5bbad4d0fc491df1adda84c630d6111ce6 [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:19:44 provisioning config files... 21:19:44 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config4340193490378978343tmp [Pipeline] { [Pipeline] sh 21:19:44 + set +x 21:19:44 + curl -s https://codecov.io/bash 21:19:44 + bash -s -- 21:19:44 21:19:44 _____ _ 21:19:44 / ____| | | 21:19:44 | | ___ __| | ___ ___ _____ __ 21:19:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:19:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:19:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:19:44 Bash-1.0.6 21:19:44 21:19:44 21:19:44 ==> git version 2.25.1 found 21:19:44 ==> 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:19:44 Release-Date: 2020-01-08 21:19:44 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:19:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:19:44 ==> Jenkins CI detected. 21:19:44 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-238 21:19:44 project root: . 21:19:44 --> token set from env 21:19:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:19:44 ==> Running gcov in . (disable via -X gcov) 21:19:44 ==> Python coveragepy not found 21:19:44 ==> Searching for coverage reports in: 21:19:44 + . 21:19:45 -> Found 1 reports 21:19:45 ==> Detecting git/mercurial file structure 21:19:45 ==> Reading reports 21:19:45 + ./coverage.out bytes=458039 21:19:45 ==> Appending adjustments 21:19:45 https://docs.codecov.io/docs/fixing-reports 21:19:45 + Found adjustments 21:19:45 ==> Gzipping contents 21:19:45 52K /tmp/codecov.K8wlGj.gz 21:19:45 ==> Uploading reports 21:19:45 url: https://codecov.io 21:19:45 query: branch=PR-238&commit=872cb42b1b8f5b478e6b02760a77b08330bd447f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=238&job=&cmd_args= 21:19:45 -> Pinging Codecov 21:19:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-238&commit=872cb42b1b8f5b478e6b02760a77b08330bd447f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-238%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=238&job=&cmd_args= 21:19:45 -> Uploading to 21:19:45 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/581DD39554BDF9B6E22D074273EAD858/872cb42b1b8f5b478e6b02760a77b08330bd447f/9d93145d-ee32-4c24-bc92-662fd1ed3e33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T211945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de358c4c704afa352eb451de7a098548c983060b8d6f44c5d22f64cfdef48f42 21:19:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:45 Dload Upload Total Spent Left Speed 21:19:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50483 0 0 100 50483 0 223k --:--:-- --:--:-- --:--:-- 222k 100 50483 0 0 100 50483 0 211k --:--:-- --:--:-- --:--:-- 210k 21:19:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/872cb42b1b8f5b478e6b02760a77b08330bd447f [Pipeline] } 21:19:45 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:19:46 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-238/archives ] 21:19:46 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:19:46 total 16 21:19:46 drwxr-xr-x 3 root root 4096 May 30 21:09 . 21:19:46 drwxrwxr-x 12 jenkins jenkins 4096 May 30 21:09 .. 21:19:46 drwxr-xr-x 2 root root 4096 May 30 21:09 cost 21:19:46 -rw-r--r-- 1 root root 91 May 30 21:09 cost.csv 21:19:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:19:46 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:19:46 total 16 21:19:46 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:09 . 21:19:46 drwxrwxr-x 12 jenkins jenkins 4096 May 30 21:09 .. 21:19:46 drwxr-xr-x 2 jenkins jenkins 4096 May 30 21:09 cost 21:19:46 -rw-r--r-- 1 jenkins jenkins 91 May 30 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:19:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:19:47 ---> package-listing.sh 21:19:47 ++ facter osfamily 21:19:47 ++ tr '[:upper:]' '[:lower:]' 21:19:47 + OS_FAMILY=debian 21:19:47 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-238 21:19:47 + START_PACKAGES=/tmp/packages_start.txt 21:19:47 + END_PACKAGES=/tmp/packages_end.txt 21:19:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:19:47 + PACKAGES=/tmp/packages_start.txt 21:19:47 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-238 ']' 21:19:47 + PACKAGES=/tmp/packages_end.txt 21:19:47 + case "${OS_FAMILY}" in 21:19:47 + dpkg -l 21:19:47 + grep '^ii' 21:19:47 + '[' -f /tmp/packages_start.txt ']' 21:19:47 + '[' -f /tmp/packages_end.txt ']' 21:19:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:19:47 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-238 ']' 21:19:47 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-238/archives/ 21:19:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-238/archives/ [Pipeline] echo 21:19:47 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:19:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:48 prd-ubuntu20.04-docker-8c-8g-17363 does not seem to be running inside a container 21:19:48 $ 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-238/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-238 -v /w/workspace/undry_device-rfid-llrp-go_PR-238:/w/workspace/undry_device-rfid-llrp-go_PR-238:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-238@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:19:48 $ docker top 7f1256a429767df69ed6c60deb50f020840cc10be25158e621ef6d2bb14468c9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:19:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:19:49 + ls /var/log/sa-host 21:19:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:49 provisioning config files... 21:19:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config12794638697953175627tmp [Pipeline] { [Pipeline] echo 21:19:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:19:50 ---> create-netrc.sh [Pipeline] } 21:19:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:19:50 ---> python-tools-install.sh [Pipeline] echo 21:19:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:19:50 ---> sudo-logs.sh 21:19:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:19:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:19:51 ---> job-cost.sh 21:19:51 lf-activate-venv: SKIPPING 21:19:51 DEBUG: total: 0.2199999988079071 21:19:51 INFO: Retrieving Stack Cost... 21:19:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:52 INFO: Archiving Costs [Pipeline] echo 21:19:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:19:52 ---> logs-deploy.sh 21:19:52 lf-activate-venv: SKIPPING 21:19:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-238/2 21:19:52 INFO: archiving workspace using pattern(s): 21:19:53 Archives upload complete. 21:19:53 INFO: archiving logs to Nexus