Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+bd8b86e6a893c9f074626212dc18efab5eec6be1 (28245271b431cb1a927690f8e71b6ad13b1d3722) 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-ssh10439636969744680473.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-ssh13910014417238808056.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8991631143274285933.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-ssh7430228201503380772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17153269851363789645.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16041’ Running on prd-ubuntu20.04-docker-8c-8g-16044 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bd8b86e6a893c9f074626212dc18efab5eec6be1 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 5f930b0292112e47140d269c79cba913aacac8b8 Checking out Revision 5f930b0292112e47140d269c79cba913aacac8b8 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bd8b86e6a893c9f074626212dc18efab5eec6be1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f930b0292112e47140d269c79cba913aacac8b8 # timeout=10 Commit message: "Merge commit 'bd8b86e6a893c9f074626212dc18efab5eec6be1' into HEAD" > git rev-list --no-walk 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:08:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:08:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:08:14 ========================================================= 21:08:14 EdgeX Global Pipelines Version Info 21:08:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:08:15 ------------------- 21:08:15 stable info: 21:08:15 ------------------- 21:08:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:08:15 Message: update stable to v1.0.249 21:08:16 ------------------- 21:08:16 experimental info: 21:08:16 ------------------- 21:08:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:08:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f930b0292112e47140d269c79cba913aacac8b8 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f930b0 [Pipeline] echo 21:08:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:16 provisioning config files... 21:08:16 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config16446896617430839361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:17 ---> docker-login.sh 21:08:17 nexus3.edgexfoundry.org:10001 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 nexus3.edgexfoundry.org:10002 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:17 Configure a credential helper to remove this warning. See 21:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:17 21:08:17 Login Succeeded 21:08:17 nexus3.edgexfoundry.org:10003 21:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:18 Configure a credential helper to remove this warning. See 21:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:18 21:08:18 Login Succeeded 21:08:18 nexus3.edgexfoundry.org:10004 21:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:18 Configure a credential helper to remove this warning. See 21:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:18 21:08:18 Login Succeeded 21:08:18 docker.io 21:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:18 Configure a credential helper to remove this warning. See 21:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:18 21:08:18 Login Succeeded 21:08:18 ---> docker-login.sh ends [Pipeline] } 21:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:18 + git rev-list -1 --merges 5f930b0292112e47140d269c79cba913aacac8b8~1..5f930b0292112e47140d269c79cba913aacac8b8 [Pipeline] echo 21:08:18 -----------> git rev-list -1 --merges 5f930b0292112e47140d269c79cba913aacac8b8~1..5f930b0292112e47140d269c79cba913aacac8b8 5f930b0292112e47140d269c79cba913aacac8b8 21:08:18 5f930b0292112e47140d269c79cba913aacac8b8 [false] [Pipeline] sh 21:08:19 + git log --format=format:%s -1 5f930b0292112e47140d269c79cba913aacac8b8 [Pipeline] echo 21:08:19 ========================================================= 21:08:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:19 + git log --format=format:%s -1 5f930b0292112e47140d269c79cba913aacac8b8 [Pipeline] echo 21:08:19 [semverPrep] GIT_COMMIT: 5f930b0292112e47140d269c79cba913aacac8b8, Commit Message: Merge commit 'bd8b86e6a893c9f074626212dc18efab5eec6be1' into HEAD [Pipeline] echo 21:08:19 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:19 + grep -v github /etc/ssh/ssh_known_hosts 21:08:19 + [ -e /tmp/ssh_known_hosts ] 21:08:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:19 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:20 21:08:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:20 b85a868b505f: Pulling fs layer 21:08:20 e2be974225ed: Pulling fs layer 21:08:20 339a4e72a1f5: Pulling fs layer 21:08:20 988bab9f4d93: Pulling fs layer 21:08:20 1469e6f7b9e6: Pulling fs layer 21:08:20 eaf3925da568: Pulling fs layer 21:08:20 bab4dde63d76: Pulling fs layer 21:08:20 bde34c3a00c8: Pulling fs layer 21:08:20 b352a97aabf1: Pulling fs layer 21:08:20 4872d77fe225: Pulling fs layer 21:08:20 5851b861e8e6: Pulling fs layer 21:08:20 988bab9f4d93: Waiting 21:08:20 b352a97aabf1: Waiting 21:08:20 bab4dde63d76: Waiting 21:08:20 4872d77fe225: Waiting 21:08:20 5851b861e8e6: Waiting 21:08:20 1469e6f7b9e6: Waiting 21:08:20 eaf3925da568: Waiting 21:08:20 bde34c3a00c8: Waiting 21:08:20 e2be974225ed: Verifying Checksum 21:08:20 e2be974225ed: Download complete 21:08:20 988bab9f4d93: Verifying Checksum 21:08:20 988bab9f4d93: Download complete 21:08:20 1469e6f7b9e6: Verifying Checksum 21:08:20 1469e6f7b9e6: Download complete 21:08:20 339a4e72a1f5: Verifying Checksum 21:08:20 339a4e72a1f5: Download complete 21:08:20 eaf3925da568: Verifying Checksum 21:08:20 eaf3925da568: Download complete 21:08:20 bde34c3a00c8: Verifying Checksum 21:08:20 bde34c3a00c8: Download complete 21:08:20 b352a97aabf1: Download complete 21:08:20 4872d77fe225: Download complete 21:08:20 5851b861e8e6: Download complete 21:08:20 b85a868b505f: Verifying Checksum 21:08:20 b85a868b505f: Download complete 21:08:20 bab4dde63d76: Verifying Checksum 21:08:20 bab4dde63d76: Download complete 21:08:22 b85a868b505f: Pull complete 21:08:22 e2be974225ed: Pull complete 21:08:22 339a4e72a1f5: Pull complete 21:08:22 988bab9f4d93: Pull complete 21:08:23 1469e6f7b9e6: Pull complete 21:08:23 eaf3925da568: Pull complete 21:08:25 bab4dde63d76: Pull complete 21:08:25 bde34c3a00c8: Pull complete 21:08:25 b352a97aabf1: Pull complete 21:08:25 4872d77fe225: Pull complete 21:08:25 5851b861e8e6: Pull complete 21:08:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:25 prd-ubuntu20.04-docker-8c-8g-16044 does not seem to be running inside a container 21:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:08:27 $ docker top e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd -eo pid,comm 21:08:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:27 [ssh-agent] Looking for ssh-agent implementation... 21:08:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:28 $ docker exec e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd ssh-agent 21:08:28 SSH_AUTH_SOCK=/tmp/ssh-XxkWs7c3Ycgj/agent.32 21:08:28 SSH_AGENT_PID=38 21:08:28 Running ssh-add (command line suppressed) 21:08:28 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3052223443823609695.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3052223443823609695.key) 21:08:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:28 + git tag --points-at HEAD [Pipeline] } 21:08:28 $ docker exec --env ******** --env ******** e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd ssh-agent -k 21:08:28 unset SSH_AUTH_SOCK; 21:08:28 unset SSH_AGENT_PID; 21:08:28 echo Agent pid 38 killed; 21:08:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:28 [ssh-agent] Looking for ssh-agent implementation... 21:08:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:28 $ docker exec e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd ssh-agent 21:08:28 SSH_AUTH_SOCK=/tmp/ssh-7lbD8dUfp6NZ/agent.69 21:08:28 SSH_AGENT_PID=75 21:08:28 Running ssh-add (command line suppressed) 21:08:29 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_2404280913508216605.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_2404280913508216605.key) 21:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:29 + git semver init 21:08:29 2023-05-18 21:08:29,512 [run_init] DEBUG init version:0.0.0 force:False 21:08:29 2023-05-18 21:08:29,513 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:29 2023-05-18 21:08:29,513 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:29 2023-05-18 21:08:29,513 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:08:30 2023-05-18 21:08:30,257 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:08:30 2023-05-18 21:08:30,258 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:08:30 2023-05-18 21:08:30,258 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:30 2023-05-18 21:08:30,262 [execute] INFO git cat-file --batch-check 21:08:30 2023-05-18 21:08:30,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:30 2023-05-18 21:08:30,269 [execute] INFO git cat-file --batch 21:08:30 2023-05-18 21:08:30,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:30 2023-05-18 21:08:30,275 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:30 0.0.0 [Pipeline] } 21:08:30 $ docker exec --env ******** --env ******** e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd ssh-agent -k 21:08:30 unset SSH_AUTH_SOCK; 21:08:30 unset SSH_AGENT_PID; 21:08:30 echo Agent pid 75 killed; 21:08:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:30 + git semver [Pipeline] } 21:08:31 $ docker stop --time=1 e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd 21:08:32 $ docker rm -f --volumes e0efc08568614eac6fce2426e14e07ec71dcaee17bd6e9092a02c1102c6224bd [Pipeline] // withDockerContainer [Pipeline] sh 21:08:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:33 Stashed 1 file(s) [Pipeline] echo 21:08:33 [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:08:33 provisioning config files... 21:08:33 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config17494219326792080069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:33 ---> docker-login.sh 21:08:33 nexus3.edgexfoundry.org:10001 21:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:33 Configure a credential helper to remove this warning. See 21:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:33 21:08:33 Login Succeeded 21:08:33 nexus3.edgexfoundry.org:10002 21:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:33 Configure a credential helper to remove this warning. See 21:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:33 21:08:33 Login Succeeded 21:08:33 nexus3.edgexfoundry.org:10003 21:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:33 Configure a credential helper to remove this warning. See 21:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:33 21:08:33 Login Succeeded 21:08:33 nexus3.edgexfoundry.org:10004 21:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:33 Configure a credential helper to remove this warning. See 21:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:33 21:08:33 Login Succeeded 21:08:33 docker.io 21:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:34 Configure a credential helper to remove this warning. See 21:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:34 21:08:34 Login Succeeded 21:08:34 ---> docker-login.sh ends [Pipeline] } 21:08:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:34 ========================================================= 21:08:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:34 + 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:08:34 Sending build context to Docker daemon 4.253MB 21:08:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:08:34 Step 2/12 : FROM ${BASE} AS builder 21:08:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:34 f56be85fc22e: Pulling fs layer 21:08:34 85791d961cd3: Pulling fs layer 21:08:34 d694b5ae8c79: Pulling fs layer 21:08:34 9f32a84ed3da: Pulling fs layer 21:08:34 4d19c01a9841: Pulling fs layer 21:08:34 9f32a84ed3da: Waiting 21:08:34 9325e15d5711: Pulling fs layer 21:08:34 4d19c01a9841: Waiting 21:08:34 556b6ee489ea: Pulling fs layer 21:08:34 c5a4b2cf53e6: Pulling fs layer 21:08:34 9325e15d5711: Waiting 21:08:34 556b6ee489ea: Waiting 21:08:34 c5a4b2cf53e6: Waiting 21:08:34 85791d961cd3: Download complete 21:08:34 9f32a84ed3da: Verifying Checksum 21:08:34 9f32a84ed3da: Download complete 21:08:34 4d19c01a9841: Download complete 21:08:34 f56be85fc22e: Verifying Checksum 21:08:34 f56be85fc22e: Download complete 21:08:34 9325e15d5711: Verifying Checksum 21:08:34 9325e15d5711: Download complete 21:08:34 f56be85fc22e: Pull complete 21:08:35 85791d961cd3: Pull complete 21:08:35 c5a4b2cf53e6: Verifying Checksum 21:08:35 c5a4b2cf53e6: Download complete 21:08:35 d694b5ae8c79: Verifying Checksum 21:08:35 d694b5ae8c79: Download complete 21:08:35 556b6ee489ea: Verifying Checksum 21:08:35 556b6ee489ea: Download complete 21:08:38 d694b5ae8c79: Pull complete 21:08:38 9f32a84ed3da: Pull complete 21:08:38 4d19c01a9841: Pull complete 21:08:39 9325e15d5711: Pull complete 21:08:41 556b6ee489ea: Pull complete 21:08:42 c5a4b2cf53e6: Pull complete 21:08:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:08:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:42 ---> c4be618373d6 21:08:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:46 ---> Running in 13f1d682b492 21:08:46 Removing intermediate container 13f1d682b492 21:08:46 ---> 3c62ce3c1157 21:08:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:46 ---> Running in be869ac25362 21:08:46 Removing intermediate container be869ac25362 21:08:46 ---> f58d99d4cb94 21:08:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:46 ---> Running in 3b52ea9b73f9 21:08:46 Removing intermediate container 3b52ea9b73f9 21:08:46 ---> 47415d506a75 21:08:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:46 ---> Running in 2bd03c9655a2 21:08:47 Removing intermediate container 2bd03c9655a2 21:08:47 ---> 458a5d15dfae 21:08:47 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:47 ---> Running in d7490756d741 21:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:47 OK: 265 MiB in 53 packages 21:08:47 Removing intermediate container d7490756d741 21:08:47 ---> 2e0320f05fac 21:08:47 Step 8/12 : WORKDIR /app 21:08:47 ---> Running in a60481100ff6 21:08:48 Removing intermediate container a60481100ff6 21:08:48 ---> d62f0c5eb3ab 21:08:48 Step 9/12 : COPY go.mod vendor* ./ 21:08:48 ---> 562214859fef 21:08:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:48 ---> Running in 2d6d975fa05a 21:08:48 Still waiting to schedule task 21:08:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16042’ 21:09:20 Removing intermediate container 2d6d975fa05a 21:09:20 ---> c1ed8cff6992 21:09:20 Step 11/12 : COPY . . 21:09:20 ---> 60f7aea7624c 21:09:20 Step 12/12 : RUN $MAKE 21:09:20 ---> Running in 52acaa839928 21:09:20 noop 21:09:20 Removing intermediate container 52acaa839928 21:09:20 ---> 64121da426a7 21:09:20 Successfully built 64121da426a7 21:09:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:21 + docker inspect -f . ci-base-image-x86_64 21:09:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:21 prd-ubuntu20.04-docker-8c-8g-16044 does not seem to be running inside a container 21:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:21 $ docker top 7e4b4c8f59639626dc540c0b6c1bc1492ccb2ec9360e4b7e98ebe7a0f6170312 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:21 + go version 21:09:21 go version go1.20.2 linux/amd64 [Pipeline] } 21:09:22 $ docker stop --time=1 7e4b4c8f59639626dc540c0b6c1bc1492ccb2ec9360e4b7e98ebe7a0f6170312 21:09:23 $ docker rm -f --volumes 7e4b4c8f59639626dc540c0b6c1bc1492ccb2ec9360e4b7e98ebe7a0f6170312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:23 + docker inspect -f . ci-base-image-x86_64 21:09:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:23 prd-ubuntu20.04-docker-8c-8g-16044 does not seem to be running inside a container 21:09:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:24 $ docker top f05df7461cd6d8d9c3034bfaeba1aaf9fe46a2fc83e7aaf8316b12302534a551 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:24 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:09:24 + make test 21:09:24 go test ./... -coverprofile=coverage.out ./... 21:09:30 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:09:42 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:09:42 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:09:44 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.855s coverage: 40.5% of statements 21:09:44 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.247s coverage: 52.0% of statements 21:09:44 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 95.5% of statements 21:09:54 go vet ./... 21:09:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:57 ./bin/test-attribution-txt.sh 21:09:57 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:09:57 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:57 $ docker stop --time=1 f05df7461cd6d8d9c3034bfaeba1aaf9fe46a2fc83e7aaf8316b12302534a551 21:09:58 $ docker rm -f --volumes f05df7461cd6d8d9c3034bfaeba1aaf9fe46a2fc83e7aaf8316b12302534a551 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:00 + ls -al . 21:10:00 total 628 21:10:00 drwxrwxr-x 11 jenkins jenkins 4096 May 18 21:09 . 21:10:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:08 .. 21:10:00 -rw-rw-r-- 1 jenkins jenkins 134 May 18 21:08 .dockerignore 21:10:00 drwxrwxr-x 8 jenkins jenkins 4096 May 18 21:08 .git 21:10:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 21:08 .github 21:10:00 -rw-rw-r-- 1 jenkins jenkins 946 May 18 21:08 .gitignore 21:10:00 -rw-rw-r-- 1 jenkins jenkins 41 May 18 21:08 .golangci.yml 21:10:00 drwxr-xr-x 3 jenkins jenkins 4096 May 18 21:08 .semver 21:10:00 -rw-rw-r-- 1 jenkins jenkins 10794 May 18 21:08 Attribution.txt 21:10:00 -rw-rw-r-- 1 jenkins jenkins 5905 May 18 21:08 CHANGELOG.md 21:10:00 -rw-rw-r-- 1 jenkins jenkins 1347 May 18 21:08 Dockerfile 21:10:00 -rw-rw-r-- 1 jenkins jenkins 677 May 18 21:08 GOVERNANCE.md 21:10:00 -rw-rw-r-- 1 jenkins jenkins 683 May 18 21:08 Jenkinsfile 21:10:00 -rw-rw-r-- 1 jenkins jenkins 11347 May 18 21:08 LICENSE 21:10:00 -rw-rw-r-- 1 jenkins jenkins 2053 May 18 21:08 Makefile 21:10:00 -rw-rw-r-- 1 jenkins jenkins 625 May 18 21:08 OWNERS.md 21:10:00 -rw-rw-r-- 1 jenkins jenkins 28505 May 18 21:08 README.md 21:10:00 -rw-rw-r-- 1 jenkins jenkins 5 May 18 21:08 VERSION 21:10:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:08 bin 21:10:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:08 cmd 21:10:00 -rw-r--r-- 1 jenkins jenkins 458038 May 18 21:09 coverage.out 21:10:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:08 examples 21:10:00 -rw-rw-r-- 1 jenkins jenkins 3419 May 18 21:08 go.mod 21:10:00 -rw-rw-r-- 1 jenkins jenkins 31078 May 18 21:08 go.sum 21:10:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:08 images 21:10:00 drwxrwxr-x 5 jenkins jenkins 4096 May 18 21:08 internal 21:10:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:08 snap 21:10:00 -rw-rw-r-- 1 jenkins jenkins 193 May 18 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:00 + 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=5f930b0292112e47140d269c79cba913aacac8b8 --label arch=amd64 --label version=0.0.0 . 21:10:00 Sending build context to Docker daemon 4.253MB 21:10:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:10:00 Step 2/24 : FROM ${BASE} AS builder 21:10:00 ---> 64121da426a7 21:10:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:10:00 ---> Running in 441adc86765b 21:10:00 Removing intermediate container 441adc86765b 21:10:00 ---> 3f0b946520fe 21:10:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:00 ---> Running in 463785b79e23 21:10:00 Removing intermediate container 463785b79e23 21:10:00 ---> 5f6b42f5806c 21:10:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:10:00 ---> Running in 8c6d010ba421 21:10:01 Removing intermediate container 8c6d010ba421 21:10:01 ---> 282522882945 21:10:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:10:01 ---> Running in 566823f554ab 21:10:01 Removing intermediate container 566823f554ab 21:10:01 ---> 19be0957b5b9 21:10:01 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:01 ---> Running in a6d503a3cbbd 21:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:01 OK: 265 MiB in 53 packages 21:10:02 Removing intermediate container a6d503a3cbbd 21:10:02 ---> d68c094ff456 21:10:02 Step 8/24 : WORKDIR /app 21:10:02 ---> Running in 2b5dddd5bc9d 21:10:02 Removing intermediate container 2b5dddd5bc9d 21:10:02 ---> 8b338864bcff 21:10:02 Step 9/24 : COPY go.mod vendor* ./ 21:10:02 ---> 6cab3f0091c9 21:10:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:02 ---> Running in 361988c4e982 21:10:02 Removing intermediate container 361988c4e982 21:10:02 ---> 22da28ab600a 21:10:02 Step 11/24 : COPY . . 21:10:03 ---> 91342da634ef 21:10:03 Step 12/24 : RUN $MAKE 21:10:03 ---> Running in a70dd8f7ee41 21:10:03 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:10:30 Removing intermediate container a70dd8f7ee41 21:10:30 ---> 955d9714050a 21:10:30 Step 13/24 : FROM alpine:3.17 21:10:30 3.17: Pulling from library/alpine 21:10:30 f56be85fc22e: Already exists 21:10:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:10:30 Status: Downloaded newer image for alpine:3.17 21:10:30 ---> 9ed4aefc74f6 21:10:30 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:30 ---> Running in 4bc82b902c89 21:10:30 Removing intermediate container 4bc82b902c89 21:10:30 ---> 05c310ded941 21:10:30 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:10:30 ---> Running in 84c9118ce53c 21:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:30 (1/1) Installing dumb-init (1.2.5-r2) 21:10:30 Executing busybox-1.35.0-r29.trigger 21:10:30 OK: 7 MiB in 16 packages 21:10:30 Removing intermediate container 84c9118ce53c 21:10:30 ---> c8d6906c6d46 21:10:30 Step 16/24 : COPY --from=builder /app/LICENSE / 21:10:30 ---> 9270dd5968bb 21:10:30 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:10:30 ---> 16cfb1fd2e78 21:10:30 Step 18/24 : COPY --from=builder /app/cmd/ / 21:10:30 ---> 75e1d70d62a9 21:10:30 Step 19/24 : EXPOSE 59989 21:10:30 ---> Running in c2f73070ad1f 21:10:31 Removing intermediate container c2f73070ad1f 21:10:31 ---> 08ece9532e8d 21:10:31 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:10:31 ---> Running in 1c529edd5515 21:10:31 Removing intermediate container 1c529edd5515 21:10:31 ---> 2d22ee54e21b 21:10:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:31 ---> Running in bbaa16254cc3 21:10:31 Removing intermediate container bbaa16254cc3 21:10:31 ---> e4d35710cd20 21:10:31 Step 22/24 : LABEL arch=amd64 21:10:31 ---> Running in bb74d33ab23d 21:10:31 Removing intermediate container bb74d33ab23d 21:10:31 ---> 525c610aeefb 21:10:31 Step 23/24 : LABEL git_sha=5f930b0292112e47140d269c79cba913aacac8b8 21:10:31 ---> Running in 2ebddc8c8717 21:10:31 Removing intermediate container 2ebddc8c8717 21:10:31 ---> 909c4954313b 21:10:31 Step 24/24 : LABEL version=0.0.0 21:10:31 ---> Running in 9883a42d8044 21:10:31 Removing intermediate container 9883a42d8044 21:10:31 ---> 0f746085cda0 21:10:31 [Warning] One or more build-args [ARCH] were not consumed 21:10:31 Successfully built 0f746085cda0 21:10:31 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:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:32 21:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:32 latest: Pulling from edgex-lftools-log-publisher 21:10:32 5eb5b503b376: Pulling fs layer 21:10:32 5c69ac0246d0: Pulling fs layer 21:10:32 ec43610c2a17: Pulling fs layer 21:10:32 3a2ae6a8a46f: Pulling fs layer 21:10:32 33b1e0a273af: Pulling fs layer 21:10:32 5d3b04190fa2: Pulling fs layer 21:10:32 2f39f015ded8: Pulling fs layer 21:10:32 5d3b04190fa2: Waiting 21:10:32 3a2ae6a8a46f: Waiting 21:10:32 2f39f015ded8: Waiting 21:10:32 33b1e0a273af: Waiting 21:10:32 5c69ac0246d0: Verifying Checksum 21:10:32 5c69ac0246d0: Download complete 21:10:32 3a2ae6a8a46f: Verifying Checksum 21:10:32 3a2ae6a8a46f: Download complete 21:10:32 33b1e0a273af: Verifying Checksum 21:10:32 33b1e0a273af: Download complete 21:10:32 ec43610c2a17: Verifying Checksum 21:10:32 ec43610c2a17: Download complete 21:10:32 5d3b04190fa2: Download complete 21:10:33 5eb5b503b376: Download complete 21:10:33 2f39f015ded8: Download complete 21:10:34 5eb5b503b376: Pull complete 21:10:35 5c69ac0246d0: Pull complete 21:10:35 ec43610c2a17: Pull complete 21:10:36 3a2ae6a8a46f: Pull complete 21:10:36 33b1e0a273af: Pull complete 21:10:37 5d3b04190fa2: Pull complete 21:10:42 2f39f015ded8: Pull complete 21:10:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:42 prd-ubuntu20.04-docker-8c-8g-16044 does not seem to be running inside a container 21:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:49 $ docker top 5e190e8b870fd77625af54140230e5230732589b2826f57603b5ee3a118a7a45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:50 ---> job-cost.sh 21:10:50 lf-activate-venv: SKIPPING 21:10:50 INFO: No Stack... 21:10:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:51 INFO: Archiving Costs [Pipeline] sh 21:10:51 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:10:51 + cut -d, -f6 [Pipeline] lock 21:10:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] 21:10:51 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] did not exist. Created. 21:10:51 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:51 + echo total: 0.2199999988079071 [Pipeline] stash 21:10:51 Stashed 1 file(s) [Pipeline] } 21:10:51 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:51 $ docker stop --time=1 5e190e8b870fd77625af54140230e5230732589b2826f57603b5ee3a118a7a45 21:10:52 $ docker rm -f --volumes 5e190e8b870fd77625af54140230e5230732589b2826f57603b5ee3a118a7a45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16045 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:12:19 Running in /w/workspace/device-rfid-llrp-go/4 [Pipeline] { [Pipeline] checkout 21:12:19 Selected Git installation does not exist. Using Default 21:12:19 The recommended git tool is: NONE 21:12:23 using credential edgex-jenkins-ssh 21:12:24 Cloning the remote Git repository 21:12:24 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:24 > git init /w/workspace/device-rfid-llrp-go/4 # timeout=10 21:12:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:24 > git --version # timeout=10 21:12:24 > git --version # 'git version 2.25.1' 21:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:12:26 Merging remotes/origin/main commit bd8b86e6a893c9f074626212dc18efab5eec6be1 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:12:27 Merge succeeded, producing f2eb7421cb60fce98dfafa71a09c397f42f00207 21:12:27 Checking out Revision f2eb7421cb60fce98dfafa71a09c397f42f00207 (PR-229) 21:12:26 > git config core.sparsecheckout # timeout=10 21:12:26 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:12:27 > git remote # timeout=10 21:12:27 > git config --get remote.origin.url # timeout=10 21:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:27 > git merge bd8b86e6a893c9f074626212dc18efab5eec6be1 # timeout=10 21:12:27 > git rev-parse HEAD^{commit} # timeout=10 21:12:27 > git config core.sparsecheckout # timeout=10 21:12:27 > git checkout -f f2eb7421cb60fce98dfafa71a09c397f42f00207 # timeout=10 21:12:30 Commit message: "Merge commit 'bd8b86e6a893c9f074626212dc18efab5eec6be1' into HEAD" 21:12:30 > git rev-list --no-walk 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:31 Dload Upload Total Spent Left Speed 21:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 21:12:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:12:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ sudo tee /etc/docker/daemon.new 21:12:32 /etc/docker/daemon.json 21:12:32 { 21:12:32 "registry-mirrors": [ 21:12:32 "https://nexus3.edgexfoundry.org:10001" 21:12:32 ], 21:12:32 "bip": "10.250.0.254/24", 21:12:32 "hosts": [ 21:12:32 "tcp://0.0.0.0:5555", 21:12:32 "unix:///var/run/docker.sock" 21:12:32 ], 21:12:32 "mtu": 1458, 21:12:32 "selinux-enabled": true, 21:12:32 "seccomp-profile": "/etc/docker/seccomp.json" 21:12:32 } [Pipeline] sh 21:12:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:12:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:51 provisioning config files... 21:12:51 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/4@tmp/config14194865940190813253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:51 ---> docker-login.sh 21:12:51 nexus3.edgexfoundry.org:10001 21:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:52 Configure a credential helper to remove this warning. See 21:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:52 21:12:52 Login Succeeded 21:12:52 nexus3.edgexfoundry.org:10002 21:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:52 Configure a credential helper to remove this warning. See 21:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:52 21:12:52 Login Succeeded 21:12:52 nexus3.edgexfoundry.org:10003 21:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:53 Configure a credential helper to remove this warning. See 21:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:53 21:12:53 Login Succeeded 21:12:53 nexus3.edgexfoundry.org:10004 21:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:53 Configure a credential helper to remove this warning. See 21:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:53 21:12:53 Login Succeeded 21:12:53 docker.io 21:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:54 Configure a credential helper to remove this warning. See 21:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:54 21:12:54 Login Succeeded 21:12:54 ---> docker-login.sh ends [Pipeline] } 21:12:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:54 ========================================================= 21:12:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:12:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:54 + 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:12:54 Sending build context to Docker daemon 1.212MB 21:12:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:12:54 Step 2/12 : FROM ${BASE} AS builder 21:12:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:55 c41833b44d91: Pulling fs layer 21:12:55 ed15518f5707: Pulling fs layer 21:12:55 feae8fd75edb: Pulling fs layer 21:12:55 242c74f7c9fa: Pulling fs layer 21:12:55 3cdef696dda3: Pulling fs layer 21:12:55 2ced38df9373: Pulling fs layer 21:12:55 58f1dce35555: Pulling fs layer 21:12:55 3cdef696dda3: Waiting 21:12:55 2ced38df9373: Waiting 21:12:55 58f1dce35555: Waiting 21:12:55 242c74f7c9fa: Waiting 21:12:55 ed15518f5707: Download complete 21:12:55 242c74f7c9fa: Verifying Checksum 21:12:55 242c74f7c9fa: Download complete 21:12:55 3cdef696dda3: Verifying Checksum 21:12:55 3cdef696dda3: Download complete 21:12:55 c41833b44d91: Verifying Checksum 21:12:56 c41833b44d91: Pull complete 21:12:56 58f1dce35555: Verifying Checksum 21:12:56 58f1dce35555: Download complete 21:12:57 feae8fd75edb: Verifying Checksum 21:12:57 feae8fd75edb: Download complete 21:12:57 2ced38df9373: Verifying Checksum 21:12:57 2ced38df9373: Download complete 21:12:59 ed15518f5707: Pull complete 21:13:09 feae8fd75edb: Pull complete 21:13:09 242c74f7c9fa: Pull complete 21:13:09 3cdef696dda3: Pull complete 21:13:16 2ced38df9373: Pull complete 21:13:18 58f1dce35555: Pull complete 21:13:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:13:18 ---> fadd8f120f05 21:13:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:13:20 ---> Running in f1340fe59cc8 21:13:20 Removing intermediate container f1340fe59cc8 21:13:20 ---> 2915dc89ce32 21:13:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:20 ---> Running in e443a0902cd9 21:13:21 Removing intermediate container e443a0902cd9 21:13:21 ---> e0b079d75034 21:13:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:13:21 ---> Running in 60ee05120b47 21:13:21 Removing intermediate container 60ee05120b47 21:13:21 ---> 5a2807a7cffc 21:13:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:13:21 ---> Running in f9273d0115dd 21:13:21 Removing intermediate container f9273d0115dd 21:13:21 ---> a53a032d8387 21:13:21 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:22 ---> Running in bbd4a8ef16fe 21:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:24 OK: 263 MiB in 53 packages 21:13:26 Removing intermediate container bbd4a8ef16fe 21:13:26 ---> 922cf9cc3a13 21:13:26 Step 8/12 : WORKDIR /app 21:13:26 ---> Running in 8c41ce42802f 21:13:27 Removing intermediate container 8c41ce42802f 21:13:27 ---> 32f2d9e60625 21:13:27 Step 9/12 : COPY go.mod vendor* ./ 21:13:27 ---> a8911ccec929 21:13:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:27 ---> Running in c5093ec4b934 21:14:24 Removing intermediate container c5093ec4b934 21:14:24 ---> 70b4f5a8ca5c 21:14:24 Step 11/12 : COPY . . 21:14:24 ---> 78dd479a3b56 21:14:24 Step 12/12 : RUN $MAKE 21:14:24 ---> Running in a8d749e801bd 21:14:24 noop 21:14:24 Removing intermediate container a8d749e801bd 21:14:24 ---> 66bd08a6c62f 21:14:24 Successfully built 66bd08a6c62f 21:14:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:24 + docker inspect -f . ci-base-image-arm64 21:14:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:24 prd-ubuntu20.04-docker-arm64-4c-16g-16045 does not seem to be running inside a container 21:14:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:26 $ docker top 68656056af410e751dd5679e9277117414902b50ddea6cd2ddb603fba509301c -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:26 + go version 21:14:26 go version go1.20.2 linux/arm64 [Pipeline] } 21:14:26 $ docker stop --time=1 68656056af410e751dd5679e9277117414902b50ddea6cd2ddb603fba509301c 21:14:28 $ docker rm -f --volumes 68656056af410e751dd5679e9277117414902b50ddea6cd2ddb603fba509301c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:29 + docker inspect -f . ci-base-image-arm64 21:14:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:29 prd-ubuntu20.04-docker-arm64-4c-16g-16045 does not seem to be running inside a container 21:14:29 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:30 $ docker top 15bcf503d4f8e7cb02957451ba8326c7790e377e2d5d19e607b0e37c747b7193 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:30 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/4 [Pipeline] fileExists [Pipeline] sh 21:14:31 + make test 21:14:31 go test ./... -coverprofile=coverage.out ./... 21:15:03 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:55 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:55 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:17:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.671s coverage: 40.5% of statements 21:17:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.605s coverage: 52.0% of statements 21:17:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.057s coverage: 95.5% of statements 21:17:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:34 go vet ./... 21:18:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:00 ./bin/test-attribution-txt.sh 21:18:00 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:18:00 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:18:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:00 $ docker stop --time=1 15bcf503d4f8e7cb02957451ba8326c7790e377e2d5d19e607b0e37c747b7193 21:18:02 $ docker rm -f --volumes 15bcf503d4f8e7cb02957451ba8326c7790e377e2d5d19e607b0e37c747b7193 [Pipeline] // withDockerContainer [Pipeline] sh 21:18:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:03 Warning: overwriting stash ‘coverage-report’ 21:18:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:05 + ls -al . 21:18:05 total 624 21:18:05 drwxrwxr-x 10 jenkins jenkins 4096 May 18 21:14 . 21:18:05 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:12 .. 21:18:05 -rw-rw-r-- 1 jenkins jenkins 134 May 18 21:12 .dockerignore 21:18:05 drwxrwxr-x 8 jenkins jenkins 4096 May 18 21:12 .git 21:18:05 drwxrwxr-x 3 jenkins jenkins 4096 May 18 21:12 .github 21:18:05 -rw-rw-r-- 1 jenkins jenkins 946 May 18 21:12 .gitignore 21:18:05 -rw-rw-r-- 1 jenkins jenkins 41 May 18 21:12 .golangci.yml 21:18:05 -rw-rw-r-- 1 jenkins jenkins 10794 May 18 21:12 Attribution.txt 21:18:05 -rw-rw-r-- 1 jenkins jenkins 5905 May 18 21:12 CHANGELOG.md 21:18:05 -rw-rw-r-- 1 jenkins jenkins 1347 May 18 21:12 Dockerfile 21:18:05 -rw-rw-r-- 1 jenkins jenkins 677 May 18 21:12 GOVERNANCE.md 21:18:05 -rw-rw-r-- 1 jenkins jenkins 683 May 18 21:12 Jenkinsfile 21:18:05 -rw-rw-r-- 1 jenkins jenkins 11347 May 18 21:12 LICENSE 21:18:05 -rw-rw-r-- 1 jenkins jenkins 2053 May 18 21:12 Makefile 21:18:05 -rw-rw-r-- 1 jenkins jenkins 625 May 18 21:12 OWNERS.md 21:18:05 -rw-rw-r-- 1 jenkins jenkins 28505 May 18 21:12 README.md 21:18:05 -rw-rw-r-- 1 jenkins jenkins 5 May 18 21:08 VERSION 21:18:05 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:12 bin 21:18:05 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:12 cmd 21:18:05 -rw-r--r-- 1 jenkins jenkins 458038 May 18 21:17 coverage.out 21:18:05 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:12 examples 21:18:05 -rw-rw-r-- 1 jenkins jenkins 3419 May 18 21:12 go.mod 21:18:05 -rw-rw-r-- 1 jenkins jenkins 31078 May 18 21:12 go.sum 21:18:05 drwxrwxr-x 2 jenkins jenkins 4096 May 18 21:12 images 21:18:05 drwxrwxr-x 5 jenkins jenkins 4096 May 18 21:12 internal 21:18:05 drwxrwxr-x 4 jenkins jenkins 4096 May 18 21:12 snap 21:18:05 -rw-rw-r-- 1 jenkins jenkins 193 May 18 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:05 + 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=f2eb7421cb60fce98dfafa71a09c397f42f00207 --label arch=arm64 --label version=0.0.0 . 21:18:05 Sending build context to Docker daemon 1.212MB 21:18:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:18:05 Step 2/24 : FROM ${BASE} AS builder 21:18:05 ---> 66bd08a6c62f 21:18:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:18:07 ---> Running in 91959c708364 21:18:07 Removing intermediate container 91959c708364 21:18:07 ---> 8061d4c4904f 21:18:07 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:07 ---> Running in 424257ee1492 21:18:08 Removing intermediate container 424257ee1492 21:18:08 ---> 61827d638c7b 21:18:08 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:18:08 ---> Running in fad7eb90f4ed 21:18:08 Removing intermediate container fad7eb90f4ed 21:18:08 ---> c28cc03f5a0a 21:18:08 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:18:08 ---> Running in 029f12eabecd 21:18:08 Removing intermediate container 029f12eabecd 21:18:08 ---> 901aafe14972 21:18:08 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:08 ---> Running in ee71fb36e072 21:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:11 OK: 263 MiB in 53 packages 21:18:12 Removing intermediate container ee71fb36e072 21:18:12 ---> 257b3c6e7386 21:18:12 Step 8/24 : WORKDIR /app 21:18:12 ---> Running in 4c92e7ef44cc 21:18:12 Removing intermediate container 4c92e7ef44cc 21:18:12 ---> b89c2e8bf353 21:18:12 Step 9/24 : COPY go.mod vendor* ./ 21:18:13 ---> e3e9ea1c3470 21:18:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:13 ---> Running in a346a8b513c2 21:18:15 Removing intermediate container a346a8b513c2 21:18:15 ---> fbc30e0ee1cc 21:18:15 Step 11/24 : COPY . . 21:18:16 ---> e3080710cda4 21:18:16 Step 12/24 : RUN $MAKE 21:18:16 ---> Running in 9eb21bc9b5fc 21:18:17 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:20:24 Removing intermediate container 9eb21bc9b5fc 21:20:24 ---> 3c205b7a2340 21:20:24 Step 13/24 : FROM alpine:3.17 21:20:24 3.17: Pulling from library/alpine 21:20:24 c41833b44d91: Already exists 21:20:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:20:24 Status: Downloaded newer image for alpine:3.17 21:20:24 ---> 51e60588ff2c 21:20:24 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:24 ---> Running in 1765c0292a4f 21:20:24 Removing intermediate container 1765c0292a4f 21:20:24 ---> df6fb8a33b89 21:20:24 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:24 ---> Running in 588e952fa743 21:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:27 (1/1) Installing dumb-init (1.2.5-r2) 21:20:27 Executing busybox-1.35.0-r29.trigger 21:20:27 OK: 8 MiB in 16 packages 21:20:28 Removing intermediate container 588e952fa743 21:20:28 ---> 5e2a92291fc3 21:20:28 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:28 ---> 92a003621cc1 21:20:28 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:29 ---> 6a708cec90e4 21:20:29 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:30 ---> dba65f9bcf1e 21:20:30 Step 19/24 : EXPOSE 59989 21:20:30 ---> Running in d7c6fadfc690 21:20:30 Removing intermediate container d7c6fadfc690 21:20:30 ---> 061282bcc180 21:20:30 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:30 ---> Running in 8fa1f267dbdd 21:20:31 Removing intermediate container 8fa1f267dbdd 21:20:31 ---> 097beb20c17a 21:20:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:31 ---> Running in f8ed57cca7d1 21:20:31 Removing intermediate container f8ed57cca7d1 21:20:31 ---> d2d4f4fde96c 21:20:31 Step 22/24 : LABEL arch=arm64 21:20:31 ---> Running in 69678e04641f 21:20:31 Removing intermediate container 69678e04641f 21:20:31 ---> 7da46084d08c 21:20:31 Step 23/24 : LABEL git_sha=f2eb7421cb60fce98dfafa71a09c397f42f00207 21:20:31 ---> Running in 9e26891e1f2a 21:20:32 Removing intermediate container 9e26891e1f2a 21:20:32 ---> 1f5e86211c73 21:20:32 Step 24/24 : LABEL version=0.0.0 21:20:32 ---> Running in 259250d145f2 21:20:32 Removing intermediate container 259250d145f2 21:20:32 ---> 403c05bba48a 21:20:32 [Warning] One or more build-args [ARCH] were not consumed 21:20:32 Successfully built 403c05bba48a 21:20:32 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:20:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:32 21:20:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:33 arm64: Pulling from edgex-lftools-log-publisher 21:20:33 8998bd30e6a1: Pulling fs layer 21:20:33 04944245beec: Pulling fs layer 21:20:33 699f458cf7ca: Pulling fs layer 21:20:33 765212b225bb: Pulling fs layer 21:20:33 f23df028b6ca: Pulling fs layer 21:20:33 d65c8cfc05b1: Pulling fs layer 21:20:33 2437ff75d9bd: Pulling fs layer 21:20:33 f23df028b6ca: Waiting 21:20:33 d65c8cfc05b1: Waiting 21:20:33 765212b225bb: Waiting 21:20:33 2437ff75d9bd: Waiting 21:20:33 04944245beec: Verifying Checksum 21:20:33 04944245beec: Download complete 21:20:33 765212b225bb: Verifying Checksum 21:20:33 765212b225bb: Download complete 21:20:33 f23df028b6ca: Verifying Checksum 21:20:33 f23df028b6ca: Download complete 21:20:33 d65c8cfc05b1: Verifying Checksum 21:20:33 d65c8cfc05b1: Download complete 21:20:33 699f458cf7ca: Verifying Checksum 21:20:33 699f458cf7ca: Download complete 21:20:34 8998bd30e6a1: Download complete 21:20:36 2437ff75d9bd: Verifying Checksum 21:20:36 2437ff75d9bd: Download complete 21:20:37 8998bd30e6a1: Pull complete 21:20:38 04944245beec: Pull complete 21:20:39 699f458cf7ca: Pull complete 21:20:39 765212b225bb: Pull complete 21:20:39 f23df028b6ca: Pull complete 21:20:40 d65c8cfc05b1: Pull complete 21:20:52 2437ff75d9bd: Pull complete 21:20:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:52 prd-ubuntu20.04-docker-arm64-4c-16g-16045 does not seem to be running inside a container 21:20:52 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:55 $ docker top 7f551737f4d1416ad12017ebb7353b369f612d2146f5aca9d84b725ab84c5c2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:56 ---> job-cost.sh 21:20:56 lf-activate-venv: SKIPPING 21:20:56 INFO: No Stack... 21:20:56 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:57 INFO: Archiving Costs [Pipeline] sh 21:20:57 + cat /w/workspace/device-rfid-llrp-go/4/archives/cost.csv 21:20:57 + cut -d, -f6 [Pipeline] lock 21:20:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] 21:20:58 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] did not exist. Created. 21:20:58 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:58 /w/workspace/device-rfid-llrp-go/4@tmp/durable-06e33032/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:03 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:03 Warning: overwriting stash ‘stack-cost’ 21:21:03 Stashed 1 file(s) [Pipeline] } 21:21:03 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:03 $ docker stop --time=1 7f551737f4d1416ad12017ebb7353b369f612d2146f5aca9d84b725ab84c5c2c 21:21:04 $ docker rm -f --volumes 7f551737f4d1416ad12017ebb7353b369f612d2146f5aca9d84b725ab84c5c2c [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:21:05 provisioning config files... 21:21:05 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config7529389215525379537tmp [Pipeline] { [Pipeline] sh 21:21:05 + set +x 21:21:05 + curl -s https://codecov.io/bash 21:21:05 + bash -s -- 21:21:05 21:21:05 _____ _ 21:21:05 / ____| | | 21:21:05 | | ___ __| | ___ ___ _____ __ 21:21:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:05 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:05 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:05 Bash-1.0.6 21:21:05 21:21:05 21:21:05 ==> git version 2.25.1 found 21:21:05 ==> 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:21:05 Release-Date: 2020-01-08 21:21:05 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:21:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:05 ==> Jenkins CI detected. 21:21:05 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:05 project root: . 21:21:05 --> token set from env 21:21:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:05 ==> Running gcov in . (disable via -X gcov) 21:21:05 ==> Python coveragepy not found 21:21:05 ==> Searching for coverage reports in: 21:21:05 + . 21:21:05 -> Found 1 reports 21:21:05 ==> Detecting git/mercurial file structure 21:21:05 ==> Reading reports 21:21:05 + ./coverage.out bytes=458038 21:21:05 ==> Appending adjustments 21:21:05 https://docs.codecov.io/docs/fixing-reports 21:21:05 + Found adjustments 21:21:05 ==> Gzipping contents 21:21:06 52K /tmp/codecov.eEH4y0.gz 21:21:06 ==> Uploading reports 21:21:06 url: https://codecov.io 21:21:06 query: branch=PR-229&commit=5f930b0292112e47140d269c79cba913aacac8b8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:06 -> Pinging Codecov 21:21:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-229&commit=5f930b0292112e47140d269c79cba913aacac8b8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:06 -> Uploading to 21:21:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/581DD39554BDF9B6E22D074273EAD858/5f930b0292112e47140d269c79cba913aacac8b8/b93a6ab9-57c7-4442-8433-f09175463f4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T212106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5461d39985e88a9eb534b16fd72f747a9e155cea741230004cd7cf8d07a34e7c 21:21:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:06 Dload Upload Total Spent Left Speed 21:21:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50498 0 0 100 50498 0 212k --:--:-- --:--:-- --:--:-- 213k 21:21:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5f930b0292112e47140d269c79cba913aacac8b8 [Pipeline] } 21:21:06 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:21:07 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:21:07 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:07 total 16 21:21:07 drwxr-xr-x 3 root root 4096 May 18 21:10 . 21:21:07 drwxrwxr-x 12 jenkins jenkins 4096 May 18 21:10 .. 21:21:07 drwxr-xr-x 2 root root 4096 May 18 21:10 cost 21:21:07 -rw-r--r-- 1 root root 91 May 18 21:10 cost.csv 21:21:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:07 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:07 total 16 21:21:07 drwxr-xr-x 3 jenkins jenkins 4096 May 18 21:10 . 21:21:07 drwxrwxr-x 12 jenkins jenkins 4096 May 18 21:10 .. 21:21:07 drwxr-xr-x 2 jenkins jenkins 4096 May 18 21:10 cost 21:21:07 -rw-r--r-- 1 jenkins jenkins 91 May 18 21:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:08 ---> package-listing.sh 21:21:08 ++ facter osfamily 21:21:08 ++ tr '[:upper:]' '[:lower:]' 21:21:09 + OS_FAMILY=debian 21:21:09 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:09 + START_PACKAGES=/tmp/packages_start.txt 21:21:09 + END_PACKAGES=/tmp/packages_end.txt 21:21:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:09 + PACKAGES=/tmp/packages_start.txt 21:21:09 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:09 + PACKAGES=/tmp/packages_end.txt 21:21:09 + case "${OS_FAMILY}" in 21:21:09 + dpkg -l 21:21:09 + grep '^ii' 21:21:09 + '[' -f /tmp/packages_start.txt ']' 21:21:09 + '[' -f /tmp/packages_end.txt ']' 21:21:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:09 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:09 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:21:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:21:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:10 prd-ubuntu20.04-docker-8c-8g-16044 does not seem to be running inside a container 21:21:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:21:12 $ docker top 5952b3cf9b941640f719e19972b247be000e593557701788dbac6f9acd4b824c -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:12 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:12 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:13 + ls /var/log/sa-host 21:21:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:13 provisioning config files... 21:21:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config4415068411170395851tmp [Pipeline] { [Pipeline] echo 21:21:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:13 ---> create-netrc.sh [Pipeline] } 21:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:13 ---> python-tools-install.sh [Pipeline] echo 21:21:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:14 ---> sudo-logs.sh 21:21:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:14 ---> job-cost.sh 21:21:14 lf-activate-venv: SKIPPING 21:21:14 DEBUG: total: 0.2199999988079071 21:21:14 INFO: Retrieving Stack Cost... 21:21:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:15 INFO: Archiving Costs [Pipeline] echo 21:21:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:15 ---> logs-deploy.sh 21:21:15 lf-activate-venv: SKIPPING 21:21:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/4 21:21:15 INFO: archiving workspace using pattern(s): 21:21:16 Archives upload complete. 21:21:16 INFO: archiving logs to Nexus