Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a26dba54f84c59b3a7ab2b4550af960912cafc66+8a0ded6a109e73f73bbc2acaa9cab3879554e026 (e161a6b4ec8d2f8c5f7c9ee9b1ce6e0a2e3a5250) 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-ssh9121294491014614832.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-ssh12841839389627427577.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-ssh3082553163826049276.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-ssh19142931768632210.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-ssh7165491342922503425.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-17548 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 8a0ded6a109e73f73bbc2acaa9cab3879554e026 into PR head commit a26dba54f84c59b3a7ab2b4550af960912cafc66 Merge succeeded, producing 084965d1ba9a03ceddc0880b3bf639222f0afccf Checking out Revision 084965d1ba9a03ceddc0880b3bf639222f0afccf (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 8a0ded6a109e73f73bbc2acaa9cab3879554e026 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 084965d1ba9a03ceddc0880b3bf639222f0afccf # timeout=10 Commit message: "Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk fa21479be40aaf59f48995e7d8130b1487f80b87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:05:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:05:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:05:29 ========================================================= 21:05:29 EdgeX Global Pipelines Version Info 21:05:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:05:30 ------------------- 21:05:30 stable info: 21:05:30 ------------------- 21:05:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:05:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:05:30 Message: update stable to v1.0.249 21:05:30 ------------------- 21:05:30 experimental info: 21:05:30 ------------------- 21:05:30 Commited By: **** collab-it+edgex@linuxfoundation.org 21:05:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:05:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:05:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 084965d1ba9a03ceddc0880b3bf639222f0afccf [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 084965d [Pipeline] echo 21:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:31 provisioning config files... 21:05:31 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config5315662149316305783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:31 ---> docker-login.sh 21:05:31 nexus3.edgexfoundry.org:10001 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10002 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10003 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 nexus3.edgexfoundry.org:10004 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 docker.io 21:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:32 Configure a credential helper to remove this warning. See 21:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:32 21:05:32 Login Succeeded 21:05:32 ---> docker-login.sh ends [Pipeline] } 21:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:05:33 + git rev-list -1 --merges 084965d1ba9a03ceddc0880b3bf639222f0afccf~1..084965d1ba9a03ceddc0880b3bf639222f0afccf [Pipeline] echo 21:05:33 -----------> git rev-list -1 --merges 084965d1ba9a03ceddc0880b3bf639222f0afccf~1..084965d1ba9a03ceddc0880b3bf639222f0afccf 084965d1ba9a03ceddc0880b3bf639222f0afccf 21:05:33 084965d1ba9a03ceddc0880b3bf639222f0afccf [false] [Pipeline] sh 21:05:33 + git log --format=format:%s -1 084965d1ba9a03ceddc0880b3bf639222f0afccf [Pipeline] echo 21:05:33 ========================================================= 21:05:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:05:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:33 + git log --format=format:%s -1 084965d1ba9a03ceddc0880b3bf639222f0afccf [Pipeline] echo 21:05:33 [semverPrep] GIT_COMMIT: 084965d1ba9a03ceddc0880b3bf639222f0afccf, Commit Message: Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD [Pipeline] echo 21:05:33 [semverPrep] This is not a build commit. [Pipeline] sh 21:05:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:34 + grep -v github /etc/ssh/ssh_known_hosts 21:05:34 + [ -e /tmp/ssh_known_hosts ] 21:05:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:05:34 + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 21:05:34 /etc/ssh/ssh_known_hosts 21:05:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:34 21:05:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:34 0.1.4: Pulling from edgex-devops/py-git-semver 21:05:34 b85a868b505f: Pulling fs layer 21:05:34 e2be974225ed: Pulling fs layer 21:05:34 339a4e72a1f5: Pulling fs layer 21:05:34 988bab9f4d93: Pulling fs layer 21:05:34 1469e6f7b9e6: Pulling fs layer 21:05:34 988bab9f4d93: Waiting 21:05:34 eaf3925da568: Pulling fs layer 21:05:34 bab4dde63d76: Pulling fs layer 21:05:34 bde34c3a00c8: Pulling fs layer 21:05:34 b352a97aabf1: Pulling fs layer 21:05:34 4872d77fe225: Pulling fs layer 21:05:34 5851b861e8e6: Pulling fs layer 21:05:34 1469e6f7b9e6: Waiting 21:05:34 eaf3925da568: Waiting 21:05:34 bab4dde63d76: Waiting 21:05:34 bde34c3a00c8: Waiting 21:05:34 b352a97aabf1: Waiting 21:05:34 4872d77fe225: Waiting 21:05:34 5851b861e8e6: Waiting 21:05:34 e2be974225ed: Download complete 21:05:34 988bab9f4d93: Download complete 21:05:35 1469e6f7b9e6: Verifying Checksum 21:05:35 1469e6f7b9e6: Download complete 21:05:35 eaf3925da568: Verifying Checksum 21:05:35 eaf3925da568: Download complete 21:05:35 339a4e72a1f5: Verifying Checksum 21:05:35 339a4e72a1f5: Download complete 21:05:35 bde34c3a00c8: Verifying Checksum 21:05:35 bde34c3a00c8: Download complete 21:05:35 b352a97aabf1: Verifying Checksum 21:05:35 b352a97aabf1: Download complete 21:05:35 4872d77fe225: Verifying Checksum 21:05:35 4872d77fe225: Download complete 21:05:35 b85a868b505f: Download complete 21:05:35 5851b861e8e6: Download complete 21:05:35 bab4dde63d76: Verifying Checksum 21:05:35 bab4dde63d76: Download complete 21:05:36 b85a868b505f: Pull complete 21:05:36 e2be974225ed: Pull complete 21:05:37 339a4e72a1f5: Pull complete 21:05:37 988bab9f4d93: Pull complete 21:05:37 1469e6f7b9e6: Pull complete 21:05:37 eaf3925da568: Pull complete 21:05:39 bab4dde63d76: Pull complete 21:05:39 bde34c3a00c8: Pull complete 21:05:39 b352a97aabf1: Pull complete 21:05:39 4872d77fe225: Pull complete 21:05:39 5851b861e8e6: Pull complete 21:05:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:39 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:05:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:05:42 $ docker top a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 -eo pid,comm 21:05:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:05:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:42 [ssh-agent] Looking for ssh-agent implementation... 21:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:42 $ docker exec a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 ssh-agent 21:05:42 SSH_AUTH_SOCK=/tmp/ssh-OrPfNvVWJnTw/agent.31 21:05:42 SSH_AGENT_PID=37 21:05:42 Running ssh-add (command line suppressed) 21:05:42 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_6292904456249884421.key (/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_6292904456249884421.key) 21:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:43 + git tag --points-at HEAD [Pipeline] } 21:05:43 $ docker exec --env ******** --env ******** a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 ssh-agent -k 21:05:43 unset SSH_AUTH_SOCK; 21:05:43 unset SSH_AGENT_PID; 21:05:43 echo Agent pid 37 killed; 21:05:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:05:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:43 [ssh-agent] Looking for ssh-agent implementation... 21:05:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:43 $ docker exec a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 ssh-agent 21:05:43 SSH_AUTH_SOCK=/tmp/ssh-I46aDRqclrJT/agent.69 21:05:43 SSH_AGENT_PID=75 21:05:43 Running ssh-add (command line suppressed) 21:05:43 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_3697864481051362274.key (/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/private_key_3697864481051362274.key) 21:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:43 + git semver init 21:05:44 2023-05-31 21:05:44,133 [run_init] DEBUG init version:0.0.0 force:False 21:05:44 2023-05-31 21:05:44,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver 21:05:44 2023-05-31 21:05:44,135 [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:05:44 2023-05-31 21:05:44,135 [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:05:45 2023-05-31 21:05:44,901 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-238/.git/info/exclude 21:05:45 2023-05-31 21:05:44,901 [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:05:45 2023-05-31 21:05:44,902 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-238/.semver/PR-238 21:05:45 2023-05-31 21:05:44,906 [execute] INFO git cat-file --batch-check 21:05:45 2023-05-31 21:05:44,906 [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:05:45 2023-05-31 21:05:44,912 [execute] INFO git cat-file --batch 21:05:45 2023-05-31 21:05:44,912 [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:05:45 2023-05-31 21:05:44,917 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-238/.semver/PR-238 21:05:45 0.0.0 [Pipeline] } 21:05:45 $ docker exec --env ******** --env ******** a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 ssh-agent -k 21:05:45 unset SSH_AUTH_SOCK; 21:05:45 unset SSH_AGENT_PID; 21:05:45 echo Agent pid 75 killed; 21:05:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:45 + git semver [Pipeline] } 21:05:45 $ docker stop --time=1 a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 21:05:47 $ docker rm -f --volumes a73c72b3ec89f28c169eb384e8560c18545c3f7fe57e30b3d316dc6ad06423c4 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:05:47 Stashed 1 file(s) [Pipeline] echo 21:05:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:47 provisioning config files... 21:05:47 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config10696284884425773709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:48 ---> docker-login.sh 21:05:48 nexus3.edgexfoundry.org:10001 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 nexus3.edgexfoundry.org:10002 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 nexus3.edgexfoundry.org:10003 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 nexus3.edgexfoundry.org:10004 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 docker.io 21:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:48 Configure a credential helper to remove this warning. See 21:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:48 21:05:48 Login Succeeded 21:05:48 ---> docker-login.sh ends [Pipeline] } 21:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:48 ========================================================= 21:05:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:05:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17564 in /w/workspace/undry_device-rfid-llrp-go_PR-238 [Pipeline] { 21:05:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:05:49 Sending build context to Docker daemon 4.275MB 21:05:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:05:49 Step 2/12 : FROM ${BASE} AS builder 21:05:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:05:49 f56be85fc22e: Pulling fs layer 21:05:49 85791d961cd3: Pulling fs layer 21:05:49 d694b5ae8c79: Pulling fs layer 21:05:49 9f32a84ed3da: Pulling fs layer 21:05:49 4d19c01a9841: Pulling fs layer 21:05:49 9325e15d5711: Pulling fs layer 21:05:49 556b6ee489ea: Pulling fs layer 21:05:49 c5a4b2cf53e6: Pulling fs layer 21:05:49 9f32a84ed3da: Waiting 21:05:49 9325e15d5711: Waiting 21:05:49 556b6ee489ea: Waiting 21:05:49 4d19c01a9841: Waiting 21:05:49 c5a4b2cf53e6: Waiting [Pipeline] ws 21:05:49 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 21:05:49 Selected Git installation does not exist. Using Default 21:05:49 The recommended git tool is: NONE 21:05:49 85791d961cd3: Verifying Checksum 21:05:49 85791d961cd3: Download complete 21:05:49 9f32a84ed3da: Download complete 21:05:49 4d19c01a9841: Download complete 21:05:49 f56be85fc22e: Verifying Checksum 21:05:49 f56be85fc22e: Download complete 21:05:49 9325e15d5711: Verifying Checksum 21:05:49 9325e15d5711: Download complete 21:05:49 f56be85fc22e: Pull complete 21:05:49 85791d961cd3: Pull complete 21:05:49 c5a4b2cf53e6: Verifying Checksum 21:05:49 c5a4b2cf53e6: Download complete 21:05:50 d694b5ae8c79: Verifying Checksum 21:05:50 d694b5ae8c79: Download complete 21:05:50 556b6ee489ea: Verifying Checksum 21:05:50 556b6ee489ea: Download complete 21:05:53 d694b5ae8c79: Pull complete 21:05:53 9f32a84ed3da: Pull complete 21:05:53 4d19c01a9841: Pull complete 21:05:53 9325e15d5711: Pull complete 21:05:54 using credential edgex-jenkins-ssh 21:05:54 Cloning the remote Git repository 21:05:54 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:54 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 21:05:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:54 > git --version # timeout=10 21:05:54 > git --version # 'git version 2.25.1' 21:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:56 556b6ee489ea: Pull complete 21:05:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:05:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:56 c5a4b2cf53e6: Pull complete 21:05:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:05:56 ---> c4be618373d6 21:05:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:05:57 Merging remotes/origin/main commit 8a0ded6a109e73f73bbc2acaa9cab3879554e026 into PR head commit a26dba54f84c59b3a7ab2b4550af960912cafc66 21:05:57 Merge succeeded, producing 3fce5937fdb08b8913d1de4f0c36f9e0da2a9c3b 21:05:57 Checking out Revision 3fce5937fdb08b8913d1de4f0c36f9e0da2a9c3b (PR-238) 21:05:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:05:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:05:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:05:57 > git config core.sparsecheckout # timeout=10 21:05:57 > git checkout -f a26dba54f84c59b3a7ab2b4550af960912cafc66 # timeout=10 21:05:57 > git remote # timeout=10 21:05:57 > git config --get remote.origin.url # timeout=10 21:05:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:57 > git merge 8a0ded6a109e73f73bbc2acaa9cab3879554e026 # timeout=10 21:05:57 > git rev-parse HEAD^{commit} # timeout=10 21:05:57 > git config core.sparsecheckout # timeout=10 21:05:57 > git checkout -f 3fce5937fdb08b8913d1de4f0c36f9e0da2a9c3b # timeout=10 21:06:00 ---> Running in e79ede41744e 21:06:00 Removing intermediate container e79ede41744e 21:06:00 ---> 8cd62b4cdabd 21:06:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:00 ---> Running in 0e9d24876ed1 21:06:00 Removing intermediate container 0e9d24876ed1 21:06:00 ---> 37d2f00ce366 21:06:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:06:00 ---> Running in f17fa4eead29 21:06:00 Removing intermediate container f17fa4eead29 21:06:00 ---> e6ccebef7d7b 21:06:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:00 ---> Running in 683dca9a9e6a 21:06:00 Removing intermediate container 683dca9a9e6a 21:06:00 ---> cb94fbc151df 21:06:00 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:00 ---> Running in cbfd2927b3fb 21:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:01 Commit message: "Merge commit '8a0ded6a109e73f73bbc2acaa9cab3879554e026' into HEAD" 21:06:01 First time build. Skipping changelog. 21:06:01 OK: 265 MiB in 53 packages 21:06:01 Removing intermediate container cbfd2927b3fb 21:06:01 ---> efa6a7c8ded5 21:06:01 Step 8/12 : WORKDIR /app 21:06:01 ---> Running in 648ba0b8c6c0 21:06:01 Removing intermediate container 648ba0b8c6c0 21:06:01 ---> e417bc23461e 21:06:01 Step 9/12 : COPY go.mod vendor* ./ [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:01 ---> fca4cf8019d8 21:06:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:01 ---> Running in c61a49c0422d 21:06:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:02 Dload Upload Total Spent Left Speed 21:06:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 21:06:01 > git rev-list --no-walk fa21479be40aaf59f48995e7d8130b1487f80b87 # timeout=10 [Pipeline] sh 21:06:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:06:03 sudo tee /etc/docker/daemon.new 21:06:03 { 21:06:03 "registry-mirrors": [ 21:06:03 "https://nexus3.edgexfoundry.org:10001" 21:06:03 ], 21:06:03 "bip": "10.250.0.254/24", 21:06:03 "hosts": [ 21:06:03 "tcp://0.0.0.0:5555", 21:06:03 "unix:///var/run/docker.sock" 21:06:03 ], 21:06:03 "mtu": 1458, 21:06:03 "selinux-enabled": true, 21:06:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:03 } [Pipeline] sh 21:06:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:22 provisioning config files... 21:06:22 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config13953359006166948551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:22 ---> docker-login.sh 21:06:22 nexus3.edgexfoundry.org:10001 21:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:22 Configure a credential helper to remove this warning. See 21:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:22 21:06:22 Login Succeeded 21:06:22 nexus3.edgexfoundry.org:10002 21:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:23 Configure a credential helper to remove this warning. See 21:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:23 21:06:23 Login Succeeded 21:06:23 nexus3.edgexfoundry.org:10003 21:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:23 Removing intermediate container c61a49c0422d 21:06:23 ---> f8921b4ad9e7 21:06:23 Step 11/12 : COPY . . 21:06:23 ---> d3f42b937b46 21:06:23 Step 12/12 : RUN $MAKE 21:06:23 ---> Running in 63ee341dcc7c 21:06:23 noop 21:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:23 Configure a credential helper to remove this warning. See 21:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:23 21:06:23 Login Succeeded 21:06:23 nexus3.edgexfoundry.org:10004 21:06:23 Removing intermediate container 63ee341dcc7c 21:06:23 ---> 10586c8267af 21:06:23 Successfully built 10586c8267af 21:06:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 docker.io 21:06:24 + docker inspect -f . ci-base-image-x86_64 21:06:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:24 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:06:24 $ 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 ******** ci-base-image-x86_64 cat 21:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:24 Configure a credential helper to remove this warning. See 21:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:24 21:06:24 Login Succeeded 21:06:24 ---> docker-login.sh ends 21:06:24 $ docker top 2e8bbea9688b67818fd022028d51323045bb04c98b35da671a37889c47277395 -eo pid,comm [Pipeline] { [Pipeline] } 21:06:24 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 21:06:25 + go version 21:06:25 go version go1.20.2 linux/amd64 [Pipeline] echo 21:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:25 $ docker stop --time=1 2e8bbea9688b67818fd022028d51323045bb04c98b35da671a37889c47277395 21:06:26 $ docker rm -f --volumes 2e8bbea9688b67818fd022028d51323045bb04c98b35da671a37889c47277395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] echo 21:06:26 ========================================================= 21:06:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:06:26 ========================================================= [Pipeline] fileExists [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:06:26 + docker inspect -f . ci-base-image-x86_64 21:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:26 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:06:26 $ 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 ******** ci-base-image-x86_64 cat 21:06:27 $ docker top fd9643c33b6af25cfb94647883057f1b7d8838aefa3c4f87576b05c59decee1d -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:27 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-238 [Pipeline] fileExists [Pipeline] sh 21:06:27 Sending build context to Docker daemon 1.217MB 21:06:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:06:27 Step 2/12 : FROM ${BASE} AS builder 21:06:27 + make test 21:06:27 go test ./... -coverprofile=coverage.out ./... 21:06:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:27 c41833b44d91: Pulling fs layer 21:06:27 ed15518f5707: Pulling fs layer 21:06:27 feae8fd75edb: Pulling fs layer 21:06:27 242c74f7c9fa: Pulling fs layer 21:06:27 3cdef696dda3: Pulling fs layer 21:06:27 2ced38df9373: Pulling fs layer 21:06:27 58f1dce35555: Pulling fs layer 21:06:27 242c74f7c9fa: Waiting 21:06:27 3cdef696dda3: Waiting 21:06:27 2ced38df9373: Waiting 21:06:27 58f1dce35555: Waiting 21:06:27 ed15518f5707: Verifying Checksum 21:06:27 ed15518f5707: Download complete 21:06:27 242c74f7c9fa: Verifying Checksum 21:06:27 242c74f7c9fa: Download complete 21:06:27 3cdef696dda3: Verifying Checksum 21:06:27 3cdef696dda3: Download complete 21:06:27 c41833b44d91: Verifying Checksum 21:06:27 c41833b44d91: Download complete 21:06:28 c41833b44d91: Pull complete 21:06:29 ed15518f5707: Pull complete 21:06:29 58f1dce35555: Verifying Checksum 21:06:29 58f1dce35555: Download complete 21:06:30 feae8fd75edb: Verifying Checksum 21:06:30 feae8fd75edb: Download complete 21:06:30 2ced38df9373: Verifying Checksum 21:06:30 2ced38df9373: Download complete 21:06:31 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:06:41 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:06:41 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:06:42 feae8fd75edb: Pull complete 21:06:42 242c74f7c9fa: Pull complete 21:06:42 3cdef696dda3: Pull complete 21:06:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.641s coverage: 40.5% of statements 21:06:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 51.9% of statements 21:06:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.011s coverage: 95.5% of statements 21:06:48 2ced38df9373: Pull complete 21:06:50 58f1dce35555: Pull complete 21:06:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:06:50 ---> fadd8f120f05 21:06:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:06:52 ---> Running in 51a71a227ab3 21:06:52 Removing intermediate container 51a71a227ab3 21:06:52 ---> 651229124934 21:06:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:53 ---> Running in 379c65f4bcdb 21:06:53 Removing intermediate container 379c65f4bcdb 21:06:53 ---> 46669799b18a 21:06:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:06:53 ---> Running in 011f23aad25f 21:06:53 go vet ./... 21:06:53 Removing intermediate container 011f23aad25f 21:06:53 ---> 505143f845e8 21:06:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:06:53 ---> Running in c17ef63fa2be 21:06:54 Removing intermediate container c17ef63fa2be 21:06:54 ---> efdbae495d83 21:06:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:54 ---> Running in 17bbe6307716 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:56 ./bin/test-attribution-txt.sh 21:06:56 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:06:56 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:56 $ docker stop --time=1 fd9643c33b6af25cfb94647883057f1b7d8838aefa3c4f87576b05c59decee1d 21:06:56 OK: 263 MiB in 53 packages 21:06:57 Removing intermediate container 17bbe6307716 21:06:57 ---> 12f4a0b57790 21:06:57 Step 8/12 : WORKDIR /app 21:06:57 ---> Running in 2d38ae7f2655 21:06:57 Removing intermediate container 2d38ae7f2655 21:06:57 ---> ac97752fdde3 21:06:57 Step 9/12 : COPY go.mod vendor* ./ 21:06:58 ---> 24cda354efb5 21:06:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:58 ---> Running in a511a94f6b5a 21:07:00 $ docker rm -f --volumes fd9643c33b6af25cfb94647883057f1b7d8838aefa3c4f87576b05c59decee1d [Pipeline] // withDockerContainer [Pipeline] sh 21:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:01 + ls -al . 21:07:01 total 636 21:07:01 drwxrwxr-x 11 jenkins jenkins 4096 May 31 21:06 . 21:07:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 .. 21:07:01 -rw-rw-r-- 1 jenkins jenkins 134 May 31 21:05 .dockerignore 21:07:01 drwxrwxr-x 8 jenkins jenkins 4096 May 31 21:05 .git 21:07:01 drwxrwxr-x 3 jenkins jenkins 4096 May 31 21:05 .github 21:07:01 -rw-rw-r-- 1 jenkins jenkins 946 May 31 21:05 .gitignore 21:07:01 -rw-rw-r-- 1 jenkins jenkins 41 May 31 21:05 .golangci.yml 21:07:01 drwxr-xr-x 3 jenkins jenkins 4096 May 31 21:05 .semver 21:07:01 -rw-rw-r-- 1 jenkins jenkins 10794 May 31 21:05 Attribution.txt 21:07:01 -rw-rw-r-- 1 jenkins jenkins 10365 May 31 21:05 CHANGELOG.md 21:07:01 -rw-rw-r-- 1 jenkins jenkins 1347 May 31 21:05 Dockerfile 21:07:01 -rw-rw-r-- 1 jenkins jenkins 677 May 31 21:05 GOVERNANCE.md 21:07:01 -rw-rw-r-- 1 jenkins jenkins 683 May 31 21:05 Jenkinsfile 21:07:01 -rw-rw-r-- 1 jenkins jenkins 11347 May 31 21:05 LICENSE 21:07:01 -rw-rw-r-- 1 jenkins jenkins 2053 May 31 21:05 Makefile 21:07:01 -rw-rw-r-- 1 jenkins jenkins 625 May 31 21:05 OWNERS.md 21:07:01 -rw-rw-r-- 1 jenkins jenkins 29016 May 31 21:05 README.md 21:07:01 -rw-rw-r-- 1 jenkins jenkins 5 May 31 21:05 VERSION 21:07:01 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 bin 21:07:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 cmd 21:07:01 -rw-r--r-- 1 jenkins jenkins 458039 May 31 21:06 coverage.out 21:07:01 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 examples 21:07:01 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 21:05 go.mod 21:07:01 -rw-rw-r-- 1 jenkins jenkins 31072 May 31 21:05 go.sum 21:07:01 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 images 21:07:01 drwxrwxr-x 5 jenkins jenkins 4096 May 31 21:05 internal 21:07:01 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 snap 21:07:01 -rw-rw-r-- 1 jenkins jenkins 193 May 31 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:01 + 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=084965d1ba9a03ceddc0880b3bf639222f0afccf --label arch=amd64 --label version=0.0.0 . 21:07:01 Sending build context to Docker daemon 4.275MB 21:07:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:07:01 Step 2/24 : FROM ${BASE} AS builder 21:07:01 ---> 10586c8267af 21:07:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:07:01 ---> Running in 141c16d3722a 21:07:02 Removing intermediate container 141c16d3722a 21:07:02 ---> 623f9a2bc2bb 21:07:02 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:02 ---> Running in 83d6f48d214e 21:07:02 Removing intermediate container 83d6f48d214e 21:07:02 ---> 35ebae959350 21:07:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:07:02 ---> Running in 78e8d4416fe3 21:07:02 Removing intermediate container 78e8d4416fe3 21:07:02 ---> dbe88eb07017 21:07:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:07:02 ---> Running in bb1d80525c29 21:07:02 Removing intermediate container bb1d80525c29 21:07:02 ---> d3b933b3233b 21:07:02 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:02 ---> Running in 85bb139f8023 21:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:02 OK: 265 MiB in 53 packages 21:07:03 Removing intermediate container 85bb139f8023 21:07:03 ---> bfc27aa37f2e 21:07:03 Step 8/24 : WORKDIR /app 21:07:03 ---> Running in 6d9fd5c7eb58 21:07:03 Removing intermediate container 6d9fd5c7eb58 21:07:03 ---> a7b10095d8dc 21:07:03 Step 9/24 : COPY go.mod vendor* ./ 21:07:03 ---> 0420082bfdaa 21:07:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:03 ---> Running in cdfc846f4862 21:07:03 Removing intermediate container cdfc846f4862 21:07:03 ---> 2c332d043e1b 21:07:03 Step 11/24 : COPY . . 21:07:04 ---> 0acdbc4c54fb 21:07:04 Step 12/24 : RUN $MAKE 21:07:04 ---> Running in f1b58bc732b4 21:07:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:07:22 Removing intermediate container f1b58bc732b4 21:07:22 ---> 163e01e4f42a 21:07:22 Step 13/24 : FROM alpine:3.17 21:07:22 3.17: Pulling from library/alpine 21:07:22 f56be85fc22e: Already exists 21:07:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:07:22 Status: Downloaded newer image for alpine:3.17 21:07:22 ---> 9ed4aefc74f6 21:07:22 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:07:22 ---> Running in 6ad517b0f4de 21:07:22 Removing intermediate container 6ad517b0f4de 21:07:22 ---> 3f5196053ac3 21:07:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:07:22 ---> Running in 8c9d31463448 21:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:22 (1/1) Installing dumb-init (1.2.5-r2) 21:07:22 Executing busybox-1.35.0-r29.trigger 21:07:22 OK: 7 MiB in 16 packages 21:07:23 Removing intermediate container 8c9d31463448 21:07:23 ---> 6a02024cd871 21:07:23 Step 16/24 : COPY --from=builder /app/LICENSE / 21:07:23 ---> b6eab20474b4 21:07:23 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:07:23 ---> 8bce8e538441 21:07:23 Step 18/24 : COPY --from=builder /app/cmd/ / 21:07:24 ---> ca75c640e501 21:07:24 Step 19/24 : EXPOSE 59989 21:07:24 ---> Running in 4b3ba5cf4b0a 21:07:24 Removing intermediate container 4b3ba5cf4b0a 21:07:24 ---> cd34789afa1f 21:07:24 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:07:24 ---> Running in 457b994d8e55 21:07:24 Removing intermediate container 457b994d8e55 21:07:24 ---> edbd06700f0e 21:07:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:07:24 ---> Running in 1dfcf3976d4f 21:07:24 Removing intermediate container 1dfcf3976d4f 21:07:24 ---> 0e89ad2dec8c 21:07:24 Step 22/24 : LABEL arch=amd64 21:07:24 ---> Running in b757a4d0fc0c 21:07:24 Removing intermediate container b757a4d0fc0c 21:07:24 ---> 3ef11999daa6 21:07:24 Step 23/24 : LABEL git_sha=084965d1ba9a03ceddc0880b3bf639222f0afccf 21:07:24 ---> Running in c2ffb8449ef0 21:07:24 Removing intermediate container c2ffb8449ef0 21:07:24 ---> 037140e24ed0 21:07:24 Step 24/24 : LABEL version=0.0.0 21:07:24 ---> Running in 39d5be660a9b 21:07:24 Removing intermediate container 39d5be660a9b 21:07:24 ---> 5a07b34ac0e2 21:07:24 [Warning] One or more build-args [ARCH] were not consumed 21:07:24 Successfully built 5a07b34ac0e2 21:07:24 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:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:25 21:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:25 latest: Pulling from edgex-lftools-log-publisher 21:07:25 5eb5b503b376: Pulling fs layer 21:07:25 5c69ac0246d0: Pulling fs layer 21:07:25 ec43610c2a17: Pulling fs layer 21:07:25 3a2ae6a8a46f: Pulling fs layer 21:07:25 33b1e0a273af: Pulling fs layer 21:07:25 5d3b04190fa2: Pulling fs layer 21:07:25 2f39f015ded8: Pulling fs layer 21:07:25 33b1e0a273af: Waiting 21:07:25 2f39f015ded8: Waiting 21:07:25 5d3b04190fa2: Waiting 21:07:25 3a2ae6a8a46f: Waiting 21:07:25 5c69ac0246d0: Download complete 21:07:25 3a2ae6a8a46f: Verifying Checksum 21:07:25 3a2ae6a8a46f: Download complete 21:07:25 33b1e0a273af: Verifying Checksum 21:07:25 33b1e0a273af: Download complete 21:07:25 ec43610c2a17: Verifying Checksum 21:07:25 ec43610c2a17: Download complete 21:07:25 5d3b04190fa2: Verifying Checksum 21:07:25 5d3b04190fa2: Download complete 21:07:25 5eb5b503b376: Verifying Checksum 21:07:25 5eb5b503b376: Download complete 21:07:26 2f39f015ded8: Download complete 21:07:26 5eb5b503b376: Pull complete 21:07:26 5c69ac0246d0: Pull complete 21:07:27 ec43610c2a17: Pull complete 21:07:27 3a2ae6a8a46f: Pull complete 21:07:27 33b1e0a273af: Pull complete 21:07:27 5d3b04190fa2: Pull complete 21:07:31 2f39f015ded8: Pull complete 21:07:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:32 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-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:07:36 $ docker top b32a6c9a04bdbcc499afd47d8ebfb0552d1e1ed603f32cbe1b73bdd40cfb81ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:36 ---> job-cost.sh 21:07:36 lf-activate-venv: SKIPPING 21:07:36 INFO: No Stack... 21:07:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:37 INFO: Archiving Costs [Pipeline] sh 21:07:38 + cat /w/workspace/undry_device-rfid-llrp-go_PR-238/archives/cost.csv 21:07:38 + cut -d, -f6 [Pipeline] lock 21:07:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] 21:07:38 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] did not exist. Created. 21:07:38 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:07:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:07:38 Stashed 1 file(s) [Pipeline] } 21:07:38 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:38 $ docker stop --time=1 b32a6c9a04bdbcc499afd47d8ebfb0552d1e1ed603f32cbe1b73bdd40cfb81ce 21:07:39 $ docker rm -f --volumes b32a6c9a04bdbcc499afd47d8ebfb0552d1e1ed603f32cbe1b73bdd40cfb81ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:08:06 Removing intermediate container a511a94f6b5a 21:08:06 ---> e1aae78891dd 21:08:06 Step 11/12 : COPY . . 21:08:06 ---> c264b7144203 21:08:06 Step 12/12 : RUN $MAKE 21:08:06 ---> Running in 7de4bdb0dbcd 21:08:06 noop 21:08:06 Removing intermediate container 7de4bdb0dbcd 21:08:06 ---> 1825c312370a 21:08:06 Successfully built 1825c312370a 21:08:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:06 + docker inspect -f . ci-base-image-arm64 21:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-17564 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/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:08 $ docker top 26ce7c730b8f7c5b242ec5002a0e80a751aebefe3a0242aa3cace545a6893aa3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:09 + go version 21:08:09 go version go1.20.2 linux/arm64 [Pipeline] } 21:08:09 $ docker stop --time=1 26ce7c730b8f7c5b242ec5002a0e80a751aebefe3a0242aa3cace545a6893aa3 21:08:10 $ docker rm -f --volumes 26ce7c730b8f7c5b242ec5002a0e80a751aebefe3a0242aa3cace545a6893aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:11 + docker inspect -f . ci-base-image-arm64 21:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:11 prd-ubuntu20.04-docker-arm64-4c-16g-17564 does not seem to be running inside a container 21:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:12 $ docker top 29761887c62f83c2de734999515427ae83a31d56da68281093e4b25edfec9211 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:13 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/3 [Pipeline] fileExists [Pipeline] sh 21:08:13 + make test 21:08:13 go test ./... -coverprofile=coverage.out ./... 21:08:46 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:10:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:10:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:11:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.475s coverage: 40.5% of statements 21:11:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.601s coverage: 52.0% of statements 21:11:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.036s coverage: 95.5% of statements 21:11:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:10 go vet ./... 21:11:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:36 ./bin/test-attribution-txt.sh 21:11:36 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:11:36 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:11:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:36 $ docker stop --time=1 29761887c62f83c2de734999515427ae83a31d56da68281093e4b25edfec9211 21:11:38 $ docker rm -f --volumes 29761887c62f83c2de734999515427ae83a31d56da68281093e4b25edfec9211 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:39 Warning: overwriting stash ‘coverage-report’ 21:11:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:41 + ls -al . 21:11:41 total 632 21:11:41 drwxrwxr-x 10 jenkins jenkins 4096 May 31 21:08 . 21:11:41 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 .. 21:11:41 -rw-rw-r-- 1 jenkins jenkins 134 May 31 21:05 .dockerignore 21:11:41 drwxrwxr-x 8 jenkins jenkins 4096 May 31 21:05 .git 21:11:41 drwxrwxr-x 3 jenkins jenkins 4096 May 31 21:05 .github 21:11:41 -rw-rw-r-- 1 jenkins jenkins 946 May 31 21:05 .gitignore 21:11:41 -rw-rw-r-- 1 jenkins jenkins 41 May 31 21:05 .golangci.yml 21:11:41 -rw-rw-r-- 1 jenkins jenkins 10794 May 31 21:05 Attribution.txt 21:11:41 -rw-rw-r-- 1 jenkins jenkins 10365 May 31 21:05 CHANGELOG.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 1347 May 31 21:05 Dockerfile 21:11:41 -rw-rw-r-- 1 jenkins jenkins 677 May 31 21:05 GOVERNANCE.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 683 May 31 21:05 Jenkinsfile 21:11:41 -rw-rw-r-- 1 jenkins jenkins 11347 May 31 21:05 LICENSE 21:11:41 -rw-rw-r-- 1 jenkins jenkins 2053 May 31 21:05 Makefile 21:11:41 -rw-rw-r-- 1 jenkins jenkins 625 May 31 21:05 OWNERS.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 29016 May 31 21:05 README.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 5 May 31 21:05 VERSION 21:11:41 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 bin 21:11:41 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 cmd 21:11:41 -rw-r--r-- 1 jenkins jenkins 458039 May 31 21:11 coverage.out 21:11:41 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 examples 21:11:41 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 21:05 go.mod 21:11:41 -rw-rw-r-- 1 jenkins jenkins 31072 May 31 21:05 go.sum 21:11:41 drwxrwxr-x 2 jenkins jenkins 4096 May 31 21:05 images 21:11:41 drwxrwxr-x 5 jenkins jenkins 4096 May 31 21:05 internal 21:11:41 drwxrwxr-x 4 jenkins jenkins 4096 May 31 21:05 snap 21:11:41 -rw-rw-r-- 1 jenkins jenkins 193 May 31 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:41 + docker build -t device-rfid-llrp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3fce5937fdb08b8913d1de4f0c36f9e0da2a9c3b --label arch=arm64 --label version=0.0.0 . 21:11:42 Sending build context to Docker daemon 1.217MB 21:11:42 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:11:42 Step 2/24 : FROM ${BASE} AS builder 21:11:42 ---> 1825c312370a 21:11:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:11:42 ---> Running in 5ef0aa7de4ae 21:11:42 Removing intermediate container 5ef0aa7de4ae 21:11:42 ---> b6a6e5619a53 21:11:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:42 ---> Running in 6bf91ac985a8 21:11:42 Removing intermediate container 6bf91ac985a8 21:11:42 ---> 6ff46e1e9840 21:11:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:11:42 ---> Running in a365573c2319 21:11:43 Removing intermediate container a365573c2319 21:11:43 ---> 1bc99fadfaa6 21:11:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:11:43 ---> Running in 85e73b1cb344 21:11:43 Removing intermediate container 85e73b1cb344 21:11:43 ---> 97ec26c537ff 21:11:43 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:43 ---> Running in b4baadc61a32 21:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:46 OK: 263 MiB in 53 packages 21:11:47 Removing intermediate container b4baadc61a32 21:11:47 ---> 16f3c8b386fe 21:11:47 Step 8/24 : WORKDIR /app 21:11:47 ---> Running in 0900463c4305 21:11:47 Removing intermediate container 0900463c4305 21:11:47 ---> f0d91f7e4e67 21:11:47 Step 9/24 : COPY go.mod vendor* ./ 21:11:48 ---> 3f27d43b4031 21:11:48 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:48 ---> Running in d40919403e2a 21:11:50 Removing intermediate container d40919403e2a 21:11:50 ---> 93b12b9f23e8 21:11:50 Step 11/24 : COPY . . 21:11:51 ---> 05a346a5e0d2 21:11:51 Step 12/24 : RUN $MAKE 21:11:51 ---> Running in bd40c0a0dbd2 21:11:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:14:13 Removing intermediate container bd40c0a0dbd2 21:14:13 ---> 4c769eb89612 21:14:13 Step 13/24 : FROM alpine:3.17 21:14:13 3.17: Pulling from library/alpine 21:14:13 c41833b44d91: Already exists 21:14:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:14:13 Status: Downloaded newer image for alpine:3.17 21:14:13 ---> 51e60588ff2c 21:14:13 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:14:13 ---> Running in 23b9a25e486d 21:14:13 Removing intermediate container 23b9a25e486d 21:14:13 ---> dc9b2d394941 21:14:13 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:14:13 ---> Running in da221f222f90 21:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:13 (1/1) Installing dumb-init (1.2.5-r2) 21:14:13 Executing busybox-1.35.0-r29.trigger 21:14:13 OK: 8 MiB in 16 packages 21:14:13 Removing intermediate container da221f222f90 21:14:13 ---> 2e90572152d7 21:14:13 Step 16/24 : COPY --from=builder /app/LICENSE / 21:14:13 ---> 4cace935e193 21:14:13 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:14:13 ---> 5349cf65be17 21:14:13 Step 18/24 : COPY --from=builder /app/cmd/ / 21:14:13 ---> 232d2a8bb5b9 21:14:13 Step 19/24 : EXPOSE 59989 21:14:13 ---> Running in 701f7523eae2 21:14:13 Removing intermediate container 701f7523eae2 21:14:13 ---> 7bc63a079685 21:14:13 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:14:13 ---> Running in 5e8e92e09efe 21:14:13 Removing intermediate container 5e8e92e09efe 21:14:13 ---> c1cdb3c9f039 21:14:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:14:13 ---> Running in 9b464d3a9e0c 21:14:13 Removing intermediate container 9b464d3a9e0c 21:14:13 ---> 9e905d01151c 21:14:13 Step 22/24 : LABEL arch=arm64 21:14:13 ---> Running in 795d84385a7d 21:14:13 Removing intermediate container 795d84385a7d 21:14:13 ---> 3f9674ab181c 21:14:13 Step 23/24 : LABEL git_sha=3fce5937fdb08b8913d1de4f0c36f9e0da2a9c3b 21:14:13 ---> Running in 9f69e6cf6095 21:14:13 Removing intermediate container 9f69e6cf6095 21:14:13 ---> 96e062968a2b 21:14:13 Step 24/24 : LABEL version=0.0.0 21:14:13 ---> Running in b20e0016c394 21:14:13 Removing intermediate container b20e0016c394 21:14:13 ---> 0aa6acb7e7a0 21:14:13 [Warning] One or more build-args [ARCH] were not consumed 21:14:13 Successfully built 0aa6acb7e7a0 21:14: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:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:14 21:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:14 arm64: Pulling from edgex-lftools-log-publisher 21:14:14 8998bd30e6a1: Pulling fs layer 21:14:14 04944245beec: Pulling fs layer 21:14:14 699f458cf7ca: Pulling fs layer 21:14:14 765212b225bb: Pulling fs layer 21:14:14 f23df028b6ca: Pulling fs layer 21:14:14 d65c8cfc05b1: Pulling fs layer 21:14:14 2437ff75d9bd: Pulling fs layer 21:14:14 f23df028b6ca: Waiting 21:14:14 d65c8cfc05b1: Waiting 21:14:14 2437ff75d9bd: Waiting 21:14:14 765212b225bb: Waiting 21:14:15 04944245beec: Verifying Checksum 21:14:15 04944245beec: Download complete 21:14:15 765212b225bb: Download complete 21:14:15 f23df028b6ca: Verifying Checksum 21:14:15 f23df028b6ca: Download complete 21:14:15 d65c8cfc05b1: Verifying Checksum 21:14:15 d65c8cfc05b1: Download complete 21:14:15 699f458cf7ca: Verifying Checksum 21:14:15 699f458cf7ca: Download complete 21:14:15 8998bd30e6a1: Verifying Checksum 21:14:15 8998bd30e6a1: Download complete 21:14:18 2437ff75d9bd: Verifying Checksum 21:14:18 2437ff75d9bd: Download complete 21:14:19 8998bd30e6a1: Pull complete 21:14:19 04944245beec: Pull complete 21:14:21 699f458cf7ca: Pull complete 21:14:21 765212b225bb: Pull complete 21:14:22 f23df028b6ca: Pull complete 21:14:23 d65c8cfc05b1: Pull complete 21:14:38 2437ff75d9bd: Pull complete 21:14:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:38 prd-ubuntu20.04-docker-arm64-4c-16g-17564 does not seem to be running inside a container 21:14:38 $ 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/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:41 $ docker top 1a6d7517d29a3ff9441a291d6bb44d014a35f97d2d2462b7e4209fe50ad45a21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:41 ---> job-cost.sh 21:14:42 lf-activate-venv: SKIPPING 21:14:42 INFO: No Stack... 21:14:42 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:43 INFO: Archiving Costs [Pipeline] sh 21:14:43 + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csv 21:14:43 + cut -d, -f6 [Pipeline] lock 21:14:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] 21:14:43 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] did not exist. Created. 21:14:43 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:44 /w/workspace/device-rfid-llrp-go/3@tmp/durable-c110f694/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:44 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:44 Warning: overwriting stash ‘stack-cost’ 21:14:44 Stashed 1 file(s) [Pipeline] } 21:14:44 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-238-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:44 $ docker stop --time=1 1a6d7517d29a3ff9441a291d6bb44d014a35f97d2d2462b7e4209fe50ad45a21 21:14:46 $ docker rm -f --volumes 1a6d7517d29a3ff9441a291d6bb44d014a35f97d2d2462b7e4209fe50ad45a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:14:46 provisioning config files... 21:14:46 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config9280770308311952125tmp [Pipeline] { [Pipeline] sh 21:14:46 + set +x 21:14:46 + + curl -s https://codecov.io/bash 21:14:46 bash -s -- 21:14:46 21:14:46 _____ _ 21:14:46 / ____| | | 21:14:46 | | ___ __| | ___ ___ _____ __ 21:14:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:46 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:46 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:46 Bash-1.0.6 21:14:46 21:14:46 21:14:46 ==> git version 2.25.1 found 21:14:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:46 Release-Date: 2020-01-08 21:14:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:46 ==> Jenkins CI detected. 21:14:46 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-238 21:14:46 project root: . 21:14:46 --> token set from env 21:14:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:46 ==> Running gcov in . (disable via -X gcov) 21:14:46 ==> Python coveragepy not found 21:14:46 ==> Searching for coverage reports in: 21:14:46 + . 21:14:47 -> Found 1 reports 21:14:47 ==> Detecting git/mercurial file structure 21:14:47 ==> Reading reports 21:14:47 + ./coverage.out bytes=458039 21:14:47 ==> Appending adjustments 21:14:47 https://docs.codecov.io/docs/fixing-reports 21:14:47 + Found adjustments 21:14:47 ==> Gzipping contents 21:14:47 52K /tmp/codecov.0TIXxb.gz 21:14:47 ==> Uploading reports 21:14:47 url: https://codecov.io 21:14:47 query: branch=PR-238&commit=084965d1ba9a03ceddc0880b3bf639222f0afccf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-238%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=238&job=&cmd_args= 21:14:47 -> Pinging Codecov 21:14:47 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=084965d1ba9a03ceddc0880b3bf639222f0afccf&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-238%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=238&job=&cmd_args= 21:14:47 -> Uploading to 21:14:47 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/581DD39554BDF9B6E22D074273EAD858/084965d1ba9a03ceddc0880b3bf639222f0afccf/a6c04ee1-45da-49ee-ac4e-251bf8fa8d24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T211447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3f7018b4f3cb16bb26432cc50c4720cfc7a9942a4059bac0a995125f05d45e8 21:14:47 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:47 Dload Upload Total Spent Left Speed 21:14:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50484 0 0 100 50484 0 214k --:--:-- --:--:-- --:--:-- 214k 21:14:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/084965d1ba9a03ceddc0880b3bf639222f0afccf [Pipeline] } 21:14:47 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:14:48 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-238/archives ] 21:14:48 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:14:48 total 16 21:14:48 drwxr-xr-x 3 root root 4096 May 31 21:07 . 21:14:48 drwxrwxr-x 12 jenkins jenkins 4096 May 31 21:07 .. 21:14:48 drwxr-xr-x 2 root root 4096 May 31 21:07 cost 21:14:48 -rw-r--r-- 1 root root 92 May 31 21:07 cost.csv 21:14:48 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:14:48 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-238/archives 21:14:48 total 16 21:14:48 drwxr-xr-x 3 jenkins jenkins 4096 May 31 21:07 . 21:14:48 drwxrwxr-x 12 jenkins jenkins 4096 May 31 21:07 .. 21:14:48 drwxr-xr-x 2 jenkins jenkins 4096 May 31 21:07 cost 21:14:48 -rw-r--r-- 1 jenkins jenkins 92 May 31 21:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:49 ---> package-listing.sh 21:14:49 ++ facter osfamily 21:14:49 ++ tr '[:upper:]' '[:lower:]' 21:14:49 + OS_FAMILY=debian 21:14:49 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-238 21:14:49 + START_PACKAGES=/tmp/packages_start.txt 21:14:49 + END_PACKAGES=/tmp/packages_end.txt 21:14:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:49 + PACKAGES=/tmp/packages_start.txt 21:14:49 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-238 ']' 21:14:49 + PACKAGES=/tmp/packages_end.txt 21:14:49 + case "${OS_FAMILY}" in 21:14:49 + dpkg -l 21:14:49 + grep '^ii' 21:14:49 + '[' -f /tmp/packages_start.txt ']' 21:14:49 + '[' -f /tmp/packages_end.txt ']' 21:14:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:49 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-238 ']' 21:14:49 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-238/archives/ 21:14:49 + 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:14:49 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:14:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:50 prd-ubuntu20.04-docker-8c-8g-17548 does not seem to be running inside a container 21:14:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:50 $ docker top 8b4d3e1105119a26b288ed387e2e87e2102ef9b736a81c6d89c848cd2bbb2856 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:50 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:51 + ls /var/log/sa-host 21:14:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:51 provisioning config files... 21:14:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-238@tmp/config15534568368323062106tmp [Pipeline] { [Pipeline] echo 21:14:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:51 ---> create-netrc.sh [Pipeline] } 21:14:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:52 ---> python-tools-install.sh [Pipeline] echo 21:14:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:52 ---> sudo-logs.sh 21:14:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:52 ---> job-cost.sh 21:14:52 lf-activate-venv: SKIPPING 21:14:52 DEBUG: total: 0.2199999988079071 21:14:52 INFO: Retrieving Stack Cost... 21:14:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:53 INFO: Archiving Costs [Pipeline] echo 21:14:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:53 ---> logs-deploy.sh 21:14:53 lf-activate-venv: SKIPPING 21:14:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-238/3 21:14:53 INFO: archiving workspace using pattern(s): 21:14:54 Archives upload complete. 21:14:54 INFO: archiving logs to Nexus