Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+2f342342fa5147f47103e4bf0effd7ddde8942e7 (e5dc30a11c0960910e44cd1e21e8edc45c032fe6) 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-ssh6107266781158605404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9963388867912807677.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13371210522357759787.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh3254885645186240123.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-ssh15590738164578028373.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5835 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 2f342342fa5147f47103e4bf0effd7ddde8942e7 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a Checking out Revision ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a (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 2f342342fa5147f47103e4bf0effd7ddde8942e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a # timeout=10 Commit message: "Merge commit '2f342342fa5147f47103e4bf0effd7ddde8942e7' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:45 ========================================================= 21:06:45 EdgeX Global Pipelines Version Info 21:06:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:45 ------------------- 21:06:45 stable info: 21:06:45 ------------------- 21:06:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:45 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:06:45 Message: update stable to v1.0.253 21:06:46 ------------------- 21:06:46 experimental info: 21:06:46 ------------------- 21:06:46 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:46 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:06:46 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae8c3ea [Pipeline] echo 21:06:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:46 provisioning config files... 21:06:46 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config12598927165448772335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:47 ---> docker-login.sh 21:06:47 nexus3.edgexfoundry.org:10001 21:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:47 Configure a credential helper to remove this warning. See 21:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:47 21:06:47 Login Succeeded 21:06:47 nexus3.edgexfoundry.org:10002 21:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:47 Configure a credential helper to remove this warning. See 21:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:47 21:06:47 Login Succeeded 21:06:47 nexus3.edgexfoundry.org:10003 21:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:47 Configure a credential helper to remove this warning. See 21:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:47 21:06:47 Login Succeeded 21:06:47 nexus3.edgexfoundry.org:10004 21:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:48 Configure a credential helper to remove this warning. See 21:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:48 21:06:48 Login Succeeded 21:06:48 docker.io 21:06:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:48 Configure a credential helper to remove this warning. See 21:06:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:48 21:06:48 Login Succeeded 21:06:48 ---> docker-login.sh ends [Pipeline] } 21:06:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:48 + git rev-list -1 --merges ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a~1..ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [Pipeline] echo 21:06:48 -----------> git rev-list -1 --merges ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a~1..ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a 21:06:48 ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [false] [Pipeline] sh 21:06:49 + git log --format=format:%s -1 ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [Pipeline] echo 21:06:49 ========================================================= 21:06:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:49 + git log --format=format:%s -1 ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [Pipeline] echo 21:06:49 [semverPrep] GIT_COMMIT: ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a, Commit Message: Merge commit '2f342342fa5147f47103e4bf0effd7ddde8942e7' into HEAD [Pipeline] echo 21:06:49 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:49 + grep -v github /etc/ssh/ssh_known_hosts 21:06:49 + [ -e /tmp/ssh_known_hosts ] 21:06:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:49 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:50 21:06:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:50 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:50 b85a868b505f: Pulling fs layer 21:06:50 e2be974225ed: Pulling fs layer 21:06:50 339a4e72a1f5: Pulling fs layer 21:06:50 988bab9f4d93: Pulling fs layer 21:06:50 1469e6f7b9e6: Pulling fs layer 21:06:50 eaf3925da568: Pulling fs layer 21:06:50 bab4dde63d76: Pulling fs layer 21:06:50 bde34c3a00c8: Pulling fs layer 21:06:50 b352a97aabf1: Pulling fs layer 21:06:50 4872d77fe225: Pulling fs layer 21:06:50 5851b861e8e6: Pulling fs layer 21:06:50 988bab9f4d93: Waiting 21:06:50 1469e6f7b9e6: Waiting 21:06:50 eaf3925da568: Waiting 21:06:50 bab4dde63d76: Waiting 21:06:50 bde34c3a00c8: Waiting 21:06:50 b352a97aabf1: Waiting 21:06:50 4872d77fe225: Waiting 21:06:50 5851b861e8e6: Waiting 21:06:50 e2be974225ed: Download complete 21:06:50 988bab9f4d93: Download complete 21:06:50 339a4e72a1f5: Verifying Checksum 21:06:50 339a4e72a1f5: Download complete 21:06:50 1469e6f7b9e6: Verifying Checksum 21:06:50 1469e6f7b9e6: Download complete 21:06:50 eaf3925da568: Verifying Checksum 21:06:50 eaf3925da568: Download complete 21:06:50 bde34c3a00c8: Verifying Checksum 21:06:50 bde34c3a00c8: Download complete 21:06:50 b352a97aabf1: Verifying Checksum 21:06:50 b352a97aabf1: Download complete 21:06:50 4872d77fe225: Verifying Checksum 21:06:50 4872d77fe225: Download complete 21:06:50 5851b861e8e6: Download complete 21:06:50 b85a868b505f: Verifying Checksum 21:06:50 b85a868b505f: Download complete 21:06:51 bab4dde63d76: Verifying Checksum 21:06:51 bab4dde63d76: Download complete 21:06:52 b85a868b505f: Pull complete 21:06:52 e2be974225ed: Pull complete 21:06:52 339a4e72a1f5: Pull complete 21:06:53 988bab9f4d93: Pull complete 21:06:53 1469e6f7b9e6: Pull complete 21:06:53 eaf3925da568: Pull complete 21:06:55 bab4dde63d76: Pull complete 21:06:55 bde34c3a00c8: Pull complete 21:06:55 b352a97aabf1: Pull complete 21:06:55 4872d77fe225: Pull complete 21:06:55 5851b861e8e6: Pull complete 21:06:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:55 prd-ubuntu20.04-docker-8c-8g-5835 does not seem to be running inside a container 21:06:55 $ 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:06:58 $ docker top 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 -eo pid,comm 21:06:58 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:06:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:58 [ssh-agent] Looking for ssh-agent implementation... 21:06:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:58 $ docker exec 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 ssh-agent 21:06:58 SSH_AUTH_SOCK=/tmp/ssh-RJBoQXotq5eB/agent.32 21:06:58 SSH_AGENT_PID=38 21:06:58 Running ssh-add (command line suppressed) 21:06:58 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_1324831018241424685.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_1324831018241424685.key) 21:06:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:59 + git tag --points-at HEAD [Pipeline] } 21:06:59 $ docker exec --env ******** --env ******** 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 ssh-agent -k 21:06:59 unset SSH_AUTH_SOCK; 21:06:59 unset SSH_AGENT_PID; 21:06:59 echo Agent pid 38 killed; 21:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:59 [ssh-agent] Looking for ssh-agent implementation... 21:06:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:59 $ docker exec 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 ssh-agent 21:06:59 SSH_AUTH_SOCK=/tmp/ssh-zWjWT3qnxCpB/agent.70 21:06:59 SSH_AGENT_PID=76 21:06:59 Running ssh-add (command line suppressed) 21:06:59 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_7626852859563536848.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_7626852859563536848.key) 21:06:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:59 + git semver init 21:07:00 2023-09-11 21:07:00,071 [run_init] DEBUG init version:0.0.0 force:False 21:07:00 2023-09-11 21:07:00,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:07:00 2023-09-11 21:07:00,072 [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:07:00 2023-09-11 21:07:00,072 [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:07:01 2023-09-11 21:07:00,849 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:07:01 2023-09-11 21:07:00,849 [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:07:01 2023-09-11 21:07:00,850 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:07:01 2023-09-11 21:07:00,854 [execute] INFO git cat-file --batch-check 21:07:01 2023-09-11 21:07:00,854 [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:07:01 2023-09-11 21:07:00,860 [execute] INFO git cat-file --batch 21:07:01 2023-09-11 21:07:00,860 [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:07:01 2023-09-11 21:07:00,866 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:07:01 0.0.0 [Pipeline] } 21:07:01 $ docker exec --env ******** --env ******** 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 ssh-agent -k 21:07:01 unset SSH_AUTH_SOCK; 21:07:01 unset SSH_AGENT_PID; 21:07:01 echo Agent pid 76 killed; 21:07:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:01 + git semver [Pipeline] } 21:07:01 $ docker stop --time=1 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 21:07:03 $ docker rm -f --volumes 628a9a8e0db4c6e91c7f2e4e5d75a2cdf93a7058b8b24770c6999fe8382b0313 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:03 Stashed 1 file(s) [Pipeline] echo 21:07:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:03 provisioning config files... 21:07:03 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config564571808989348780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:04 ---> docker-login.sh 21:07:04 nexus3.edgexfoundry.org:10001 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10002 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10003 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10004 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 docker.io 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 ---> docker-login.sh ends [Pipeline] } 21:07:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:04 ========================================================= 21:07:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:05 Sending build context to Docker daemon 4.324MB 21:07:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:05 Step 2/12 : FROM ${BASE} AS builder 21:07:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:05 4db1b89c0bd1: Pulling fs layer 21:07:05 6911f1a30b25: Pulling fs layer 21:07:05 e194b8c5c2a9: Pulling fs layer 21:07:05 6863d3e3a2b1: Pulling fs layer 21:07:05 ec0bb842ea78: Pulling fs layer 21:07:05 40a00589a448: Pulling fs layer 21:07:05 6c08303d61cc: Pulling fs layer 21:07:05 798269fcf238: Pulling fs layer 21:07:05 6863d3e3a2b1: Waiting 21:07:05 ec0bb842ea78: Waiting 21:07:05 40a00589a448: Waiting 21:07:05 6c08303d61cc: Waiting 21:07:05 798269fcf238: Waiting 21:07:05 6911f1a30b25: Download complete 21:07:05 6863d3e3a2b1: Download complete 21:07:05 ec0bb842ea78: Download complete 21:07:05 4db1b89c0bd1: Verifying Checksum 21:07:05 4db1b89c0bd1: Download complete 21:07:05 40a00589a448: Verifying Checksum 21:07:05 40a00589a448: Download complete 21:07:05 4db1b89c0bd1: Pull complete 21:07:05 6911f1a30b25: Pull complete 21:07:06 798269fcf238: Verifying Checksum 21:07:06 798269fcf238: Download complete 21:07:06 e194b8c5c2a9: Verifying Checksum 21:07:06 e194b8c5c2a9: Download complete 21:07:06 6c08303d61cc: Verifying Checksum 21:07:06 6c08303d61cc: Download complete 21:07:09 e194b8c5c2a9: Pull complete 21:07:09 6863d3e3a2b1: Pull complete 21:07:09 ec0bb842ea78: Pull complete 21:07:09 40a00589a448: Pull complete 21:07:12 6c08303d61cc: Pull complete 21:07:13 798269fcf238: Pull complete 21:07:13 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:13 ---> ec979cd7f677 21:07:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:07:18 ---> Running in 2d167e3f06b4 21:07:18 Removing intermediate container 2d167e3f06b4 21:07:18 ---> 2bdc0f0aad6c 21:07:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:18 ---> Running in dcd709dcabea 21:07:18 Removing intermediate container dcd709dcabea 21:07:18 ---> ed5292f386de 21:07:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:07:18 ---> Running in b2ca22c55397 21:07:18 Removing intermediate container b2ca22c55397 21:07:18 ---> 50fd73c6e337 21:07:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:07:18 ---> Running in ee0b30de5a3f 21:07:18 Removing intermediate container ee0b30de5a3f 21:07:18 ---> 47d6771d1adc 21:07:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:18 ---> Running in e10f6cade38b 21:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:18 Still waiting to schedule task 21:07:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:19 OK: 265 MiB in 53 packages 21:07:19 Removing intermediate container e10f6cade38b 21:07:19 ---> 827058a7f999 21:07:19 Step 8/12 : WORKDIR /app 21:07:19 ---> Running in c2eff8cc7786 21:07:19 Removing intermediate container c2eff8cc7786 21:07:19 ---> 87b5bef05088 21:07:19 Step 9/12 : COPY go.mod vendor* ./ 21:07:19 ---> 762248c27c29 21:07:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:19 ---> Running in b56085a83598 21:08:06 Removing intermediate container b56085a83598 21:08:06 ---> b0205aa2c71b 21:08:06 Step 11/12 : COPY . . 21:08:06 ---> acc358673c61 21:08:06 Step 12/12 : RUN $MAKE 21:08:06 ---> Running in 02e940d2082c 21:08:06 noop 21:08:06 Removing intermediate container 02e940d2082c 21:08:06 ---> 1f7f018bcd5d 21:08:06 Successfully built 1f7f018bcd5d 21:08:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:06 + docker inspect -f . ci-base-image-x86_64 21:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:06 prd-ubuntu20.04-docker-8c-8g-5835 does not seem to be running inside a container 21:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/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:08:07 $ docker top 4439723d8ab8b5f415807a0fe8e6e018925da78f6f0c4ee7c37e43ceae8ef272 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:07 + go version 21:08:07 go version go1.20.6 linux/amd64 [Pipeline] } 21:08:07 $ docker stop --time=1 4439723d8ab8b5f415807a0fe8e6e018925da78f6f0c4ee7c37e43ceae8ef272 21:08:08 $ docker rm -f --volumes 4439723d8ab8b5f415807a0fe8e6e018925da78f6f0c4ee7c37e43ceae8ef272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:09 + docker inspect -f . ci-base-image-x86_64 21:08:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:09 prd-ubuntu20.04-docker-8c-8g-5835 does not seem to be running inside a container 21:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-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:08:09 $ docker top dd5a508524c1e3a3d1f85c29d3d6f129a579190127d566b58f5eef903e3b27d4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:09 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:08:10 + make test 21:08:10 go test ./... -coverprofile=coverage.out ./... 21:08:15 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:31 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.921s coverage: 40.6% of statements 21:08:31 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.242s coverage: 51.9% of statements 21:08:31 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 96.4% of statements 21:08:39 go vet ./... 21:08:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:43 $ docker stop --time=1 dd5a508524c1e3a3d1f85c29d3d6f129a579190127d566b58f5eef903e3b27d4 21:08:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5836 in /w/workspace/undry_device-rfid-llrp-go_PR-229 21:08:47 $ docker rm -f --volumes dd5a508524c1e3a3d1f85c29d3d6f129a579190127d566b58f5eef903e3b27d4 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 21:08:47 Running in /w/workspace/device-rfid-llrp-go/16 [Pipeline] { [Pipeline] checkout 21:08:47 The recommended git tool is: git 21:08:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:48 + ls -al . 21:08:48 total 644 21:08:48 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 21:08 . 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:06 .. 21:08:48 -rw-rw-r-- 1 jenkins jenkins 134 Sep 11 21:06 .dockerignore 21:08:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 21:07 .git 21:08:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 21:06 .github 21:08:48 -rw-rw-r-- 1 jenkins jenkins 946 Sep 11 21:06 .gitignore 21:08:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 21:06 .golangci.yml 21:08:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 21:07 .semver 21:08:48 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 11 21:06 Attribution.txt 21:08:48 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 11 21:06 CHANGELOG.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 11 21:06 Dockerfile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 21:06 GOVERNANCE.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 683 Sep 11 21:06 Jenkinsfile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 11 21:06 LICENSE 21:08:48 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 11 21:06 Makefile 21:08:48 -rw-rw-r-- 1 jenkins jenkins 625 Sep 11 21:06 OWNERS.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 11 21:06 README.md 21:08:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 21:07 VERSION 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:06 bin 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:06 cmd 21:08:48 -rw-r--r-- 1 jenkins jenkins 459493 Sep 11 21:08 coverage.out 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:06 examples 21:08:48 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 11 21:06 go.mod 21:08:48 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 11 21:06 go.sum 21:08:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:06 images 21:08:48 drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 21:06 internal 21:08:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:06 snap 21:08:48 -rw-rw-r-- 1 jenkins jenkins 193 Sep 11 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:49 + 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=ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a --label arch=amd64 --label version=0.0.0 . 21:08:49 Sending build context to Docker daemon 4.324MB 21:08:49 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:08:49 Step 2/24 : FROM ${BASE} AS builder 21:08:49 ---> 1f7f018bcd5d 21:08:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:08:49 ---> Running in 2e404989848e 21:08:49 Removing intermediate container 2e404989848e 21:08:49 ---> 54bd9e89eda8 21:08:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:49 ---> Running in fdf09213279d 21:08:49 Removing intermediate container fdf09213279d 21:08:49 ---> f2d0b2b4fe38 21:08:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:08:49 ---> Running in 96fd2a9ace7f 21:08:49 Removing intermediate container 96fd2a9ace7f 21:08:49 ---> e63879857177 21:08:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:08:49 ---> Running in 4367047bb0cc 21:08:49 Removing intermediate container 4367047bb0cc 21:08:49 ---> 80900d44f3da 21:08:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:49 ---> Running in 95980b4eea94 21:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:50 OK: 265 MiB in 53 packages 21:08:50 Removing intermediate container 95980b4eea94 21:08:50 ---> 4bd5470aa0b3 21:08:50 Step 8/24 : WORKDIR /app 21:08:50 ---> Running in a05177da752e 21:08:50 Removing intermediate container a05177da752e 21:08:50 ---> c206fcc65f0e 21:08:50 Step 9/24 : COPY go.mod vendor* ./ 21:08:50 ---> d3010f0cb399 21:08:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:50 ---> Running in 53ce3f65d71e 21:08:51 Removing intermediate container 53ce3f65d71e 21:08:51 ---> 383364952e08 21:08:51 Step 11/24 : COPY . . 21:08:51 ---> 9bfc6fdffd30 21:08:51 Step 12/24 : RUN $MAKE 21:08:51 ---> Running in 94f2edb103e5 21:08:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:08:52 using credential edgex-jenkins-ssh 21:08:52 Cloning the remote Git repository 21:08:52 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:52 > git init /w/workspace/device-rfid-llrp-go/16 # timeout=10 21:08:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:52 > git --version # timeout=10 21:08:52 > git --version # 'git version 2.25.1' 21:08:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:08:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:08:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:54 > 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:08:55 Merging remotes/origin/main commit 2f342342fa5147f47103e4bf0effd7ddde8942e7 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:08:55 Merge succeeded, producing a617e262f64df02a0ff4830f96670af271b3c6ae 21:08:55 Checking out Revision a617e262f64df02a0ff4830f96670af271b3c6ae (PR-229) 21:08:55 > git config core.sparsecheckout # timeout=10 21:08:55 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:08:55 > git remote # timeout=10 21:08:55 > git config --get remote.origin.url # timeout=10 21:08:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:55 > git merge 2f342342fa5147f47103e4bf0effd7ddde8942e7 # timeout=10 21:08:55 > git rev-parse HEAD^{commit} # timeout=10 21:08:55 > git config core.sparsecheckout # timeout=10 21:08:55 > git checkout -f a617e262f64df02a0ff4830f96670af271b3c6ae # timeout=10 21:08:59 Commit message: "Merge commit '2f342342fa5147f47103e4bf0effd7ddde8942e7' into HEAD" 21:08:59 First time build. Skipping changelog. 21:08:59 > git rev-list --no-walk 9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:00 Dload Upload Total Spent Left Speed 21:09:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 21:09:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:09:01 + sudo tee /etc/docker/daemon.new 21:09:01 { 21:09:01 "registry-mirrors": [ 21:09:01 "https://nexus3.edgexfoundry.org:10001" 21:09:01 ], 21:09:01 "bip": "10.250.0.254/24", 21:09:01 "hosts": [ 21:09:01 "tcp://0.0.0.0:5555", 21:09:01 "unix:///var/run/docker.sock" 21:09:01 ], 21:09:01 "mtu": 1458, 21:09:01 "selinux-enabled": true, 21:09:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:01 } [Pipeline] sh 21:09:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:01 + sudo service docker restart 21:09:13 Removing intermediate container 94f2edb103e5 21:09:13 ---> 1c3bb80ac9fd 21:09:13 Step 13/24 : FROM alpine:3.17 21:09:14 3.17: Pulling from library/alpine 21:09:14 9398808236ff: Pulling fs layer 21:09:14 9398808236ff: Verifying Checksum 21:09:14 9398808236ff: Download complete 21:09:14 9398808236ff: Pull complete 21:09:14 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:09:14 Status: Downloaded newer image for alpine:3.17 21:09:14 ---> 1e0b8b5322fc 21:09:14 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:14 ---> Running in 050f2272ab04 21:09:14 Removing intermediate container 050f2272ab04 21:09:14 ---> 198038450f93 21:09:14 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:14 ---> Running in 7d3b244dbe41 21:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:15 (1/1) Installing dumb-init (1.2.5-r2) 21:09:15 Executing busybox-1.35.0-r29.trigger 21:09:15 OK: 7 MiB in 16 packages 21:09:15 Removing intermediate container 7d3b244dbe41 21:09:15 ---> ccd9adbac767 21:09:15 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:15 ---> 48426d02bb0b 21:09:15 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:15 ---> 9873ea6fe295 21:09:15 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:16 ---> ea5ea6480edf 21:09:16 Step 19/24 : EXPOSE 59989 21:09:16 ---> Running in 84a0c099df2e 21:09:16 Removing intermediate container 84a0c099df2e 21:09:16 ---> 2dd00d7fd86b 21:09:16 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:16 ---> Running in cf54abda507b 21:09:17 Removing intermediate container cf54abda507b 21:09:17 ---> 86132d9f95e0 21:09:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:17 ---> Running in bf815e54191a 21:09:17 Removing intermediate container bf815e54191a 21:09:17 ---> 71c91eb925d8 21:09:17 Step 22/24 : LABEL arch=amd64 21:09:17 ---> Running in a272401a3e39 21:09:17 Removing intermediate container a272401a3e39 21:09:17 ---> 250903ccdda1 21:09:17 Step 23/24 : LABEL git_sha=ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a 21:09:17 ---> Running in 87f2f09d0bab 21:09:17 Removing intermediate container 87f2f09d0bab 21:09:17 ---> 7647580d0092 21:09:17 Step 24/24 : LABEL version=0.0.0 21:09:17 ---> Running in 4c1f77501746 21:09:17 Removing intermediate container 4c1f77501746 21:09:17 ---> 1b47581941d1 21:09:17 [Warning] One or more build-args [ARCH] were not consumed 21:09:17 Successfully built 1b47581941d1 21:09:17 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:17 21:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:18 latest: Pulling from edgex-lftools-log-publisher 21:09:18 5eb5b503b376: Pulling fs layer 21:09:18 5c69ac0246d0: Pulling fs layer 21:09:18 ec43610c2a17: Pulling fs layer 21:09:18 3a2ae6a8a46f: Pulling fs layer 21:09:18 33b1e0a273af: Pulling fs layer 21:09:18 5d3b04190fa2: Pulling fs layer 21:09:18 2f39f015ded8: Pulling fs layer 21:09:18 33b1e0a273af: Waiting 21:09:18 3a2ae6a8a46f: Waiting 21:09:18 5d3b04190fa2: Waiting 21:09:18 2f39f015ded8: Waiting 21:09:18 5c69ac0246d0: Verifying Checksum 21:09:18 5c69ac0246d0: Download complete 21:09:18 3a2ae6a8a46f: Verifying Checksum 21:09:18 3a2ae6a8a46f: Download complete 21:09:18 33b1e0a273af: Verifying Checksum 21:09:18 33b1e0a273af: Download complete 21:09:18 5d3b04190fa2: Verifying Checksum 21:09:18 5d3b04190fa2: Download complete 21:09:18 ec43610c2a17: Verifying Checksum 21:09:18 ec43610c2a17: Download complete 21:09:18 5eb5b503b376: Verifying Checksum 21:09:18 5eb5b503b376: Download complete 21:09:19 5eb5b503b376: Pull complete 21:09:19 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:20 provisioning config files... 21:09:20 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/16@tmp/config8614261865734759611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:20 ec43610c2a17: Pull complete 21:09:20 3a2ae6a8a46f: Pull complete 21:09:20 ---> docker-login.sh 21:09:20 nexus3.edgexfoundry.org:10001 21:09:20 33b1e0a273af: Pull complete 21:09:20 5d3b04190fa2: Pull complete 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10002 21:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 nexus3.edgexfoundry.org:10003 21:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 nexus3.edgexfoundry.org:10004 21:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:22 Configure a credential helper to remove this warning. See 21:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:22 21:09:22 Login Succeeded 21:09:22 docker.io 21:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:22 Configure a credential helper to remove this warning. See 21:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:22 21:09:22 Login Succeeded 21:09:22 ---> docker-login.sh ends [Pipeline] } 21:09:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:22 ========================================================= 21:09:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:09:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:23 + 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:09:23 Sending build context to Docker daemon 1.218MB 21:09:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:09:23 Step 2/12 : FROM ${BASE} AS builder 21:09:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:25 edb6bdbacee9: Pulling fs layer 21:09:25 5f9638ab2659: Pulling fs layer 21:09:25 8d51d6327a98: Pulling fs layer 21:09:25 8b374f2dd631: Pulling fs layer 21:09:25 ec14aa9079de: Pulling fs layer 21:09:25 2f466654f4bb: Pulling fs layer 21:09:25 554e91adad29: Pulling fs layer 21:09:25 8b374f2dd631: Waiting 21:09:25 ec14aa9079de: Waiting 21:09:25 2f466654f4bb: Waiting 21:09:25 554e91adad29: Waiting 21:09:25 5f9638ab2659: Verifying Checksum 21:09:25 5f9638ab2659: Download complete 21:09:25 8b374f2dd631: Verifying Checksum 21:09:25 8b374f2dd631: Download complete 21:09:25 ec14aa9079de: Verifying Checksum 21:09:25 ec14aa9079de: Download complete 21:09:25 edb6bdbacee9: Verifying Checksum 21:09:25 edb6bdbacee9: Download complete 21:09:25 2f39f015ded8: Pull complete 21:09:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:25 prd-ubuntu20.04-docker-8c-8g-5835 does not seem to be running inside a container 21:09:26 $ 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:09:26 edb6bdbacee9: Pull complete 21:09:26 554e91adad29: Verifying Checksum 21:09:26 554e91adad29: Download complete 21:09:26 5f9638ab2659: Pull complete 21:09:27 2f466654f4bb: Verifying Checksum 21:09:27 2f466654f4bb: Download complete 21:09:27 8d51d6327a98: Verifying Checksum 21:09:27 8d51d6327a98: Download complete 21:09:29 $ docker top 709ca7a624fad46ea6b007fc1ae7c8e9ae906b5c18a65b21f9a2c891e5484d61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:30 ---> job-cost.sh 21:09:30 lf-activate-venv: SKIPPING 21:09:30 INFO: No Stack... 21:09:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:30 INFO: Archiving Costs [Pipeline] sh 21:09:31 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:09:31 + cut -d, -f6 [Pipeline] lock 21:09:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] 21:09:31 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] did not exist. Created. 21:09:31 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:31 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:31 Stashed 1 file(s) [Pipeline] } 21:09:31 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:31 $ docker stop --time=1 709ca7a624fad46ea6b007fc1ae7c8e9ae906b5c18a65b21f9a2c891e5484d61 21:09:32 $ docker rm -f --volumes 709ca7a624fad46ea6b007fc1ae7c8e9ae906b5c18a65b21f9a2c891e5484d61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:40 8d51d6327a98: Pull complete 21:09:40 8b374f2dd631: Pull complete 21:09:40 ec14aa9079de: Pull complete 21:09:45 2f466654f4bb: Pull complete 21:09:48 554e91adad29: Pull complete 21:09:48 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:09:48 ---> 1e15ea492957 21:09:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:49 ---> Running in 06d27ed7b1fc 21:09:49 Removing intermediate container 06d27ed7b1fc 21:09:49 ---> 3db4b5a9d329 21:09:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:50 ---> Running in 4caeca11d687 21:09:50 Removing intermediate container 4caeca11d687 21:09:50 ---> d9469bb0339b 21:09:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:50 ---> Running in 4f075691e34d 21:09:50 Removing intermediate container 4f075691e34d 21:09:50 ---> ca0bb48b3bd4 21:09:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:50 ---> Running in 64ccae5081cf 21:09:50 Removing intermediate container 64ccae5081cf 21:09:50 ---> 64084f70b78b 21:09:50 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:51 ---> Running in 46711546bbb8 21:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:53 OK: 263 MiB in 53 packages 21:09:54 Removing intermediate container 46711546bbb8 21:09:54 ---> 0bc788ea5d95 21:09:54 Step 8/12 : WORKDIR /app 21:09:54 ---> Running in 7c4a4d262684 21:09:54 Removing intermediate container 7c4a4d262684 21:09:54 ---> a0596a656923 21:09:54 Step 9/12 : COPY go.mod vendor* ./ 21:09:55 ---> 62b4696c7253 21:09:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:55 ---> Running in 2a8f687ff20e 21:11:03 Removing intermediate container 2a8f687ff20e 21:11:03 ---> 19df6acfe978 21:11:03 Step 11/12 : COPY . . 21:11:03 ---> 1063993a3243 21:11:03 Step 12/12 : RUN $MAKE 21:11:03 ---> Running in 7a251c663409 21:11:03 noop 21:11:03 Removing intermediate container 7a251c663409 21:11:03 ---> df540fcae8f0 21:11:03 Successfully built df540fcae8f0 21:11:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:03 + docker inspect -f . ci-base-image-arm64 21:11:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-5836 does not seem to be running inside a container 21:11:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/16 -v /w/workspace/device-rfid-llrp-go/16:/w/workspace/device-rfid-llrp-go/16:rw,z -v /w/workspace/device-rfid-llrp-go/16@tmp:/w/workspace/device-rfid-llrp-go/16@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:11:05 $ docker top bf2f5981780a3994bf1c7819cb5b0e9f476dd4bbb75a3da16d231eb4b98921e7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:06 + go version 21:11:06 go version go1.20.6 linux/arm64 [Pipeline] } 21:11:06 $ docker stop --time=1 bf2f5981780a3994bf1c7819cb5b0e9f476dd4bbb75a3da16d231eb4b98921e7 21:11:07 $ docker rm -f --volumes bf2f5981780a3994bf1c7819cb5b0e9f476dd4bbb75a3da16d231eb4b98921e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:08 + docker inspect -f . ci-base-image-arm64 21:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:08 prd-ubuntu20.04-docker-arm64-4c-16g-5836 does not seem to be running inside a container 21:11:08 $ 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/16 -v /w/workspace/device-rfid-llrp-go/16:/w/workspace/device-rfid-llrp-go/16:rw,z -v /w/workspace/device-rfid-llrp-go/16@tmp:/w/workspace/device-rfid-llrp-go/16@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:11:09 $ docker top 62af922bd5706bd1bb357e193e54681e8850d7450824dd01140b9f82c305739b -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:10 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/16 [Pipeline] fileExists [Pipeline] sh 21:11:10 + make test 21:11:10 go test ./... -coverprofile=coverage.out ./... 21:11:43 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:13:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:13:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:14:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.494s coverage: 40.6% of statements 21:14:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.594s coverage: 51.9% of statements 21:14:16 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.042s coverage: 96.4% of statements 21:14:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:14:16 go vet ./... 21:14:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:43 $ docker stop --time=1 62af922bd5706bd1bb357e193e54681e8850d7450824dd01140b9f82c305739b 21:14:44 $ docker rm -f --volumes 62af922bd5706bd1bb357e193e54681e8850d7450824dd01140b9f82c305739b [Pipeline] // withDockerContainer [Pipeline] sh 21:14:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:45 Warning: overwriting stash ‘coverage-report’ 21:14:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:47 + ls -al . 21:14:47 total 640 21:14:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 21:11 . 21:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:08 .. 21:14:47 -rw-rw-r-- 1 jenkins jenkins 134 Sep 11 21:08 .dockerignore 21:14:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 21:08 .git 21:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 21:08 .github 21:14:47 -rw-rw-r-- 1 jenkins jenkins 946 Sep 11 21:08 .gitignore 21:14:47 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 21:08 .golangci.yml 21:14:47 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 11 21:08 Attribution.txt 21:14:47 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 11 21:08 CHANGELOG.md 21:14:47 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 11 21:08 Dockerfile 21:14:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 21:08 GOVERNANCE.md 21:14:47 -rw-rw-r-- 1 jenkins jenkins 683 Sep 11 21:08 Jenkinsfile 21:14:47 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 11 21:08 LICENSE 21:14:47 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 11 21:08 Makefile 21:14:47 -rw-rw-r-- 1 jenkins jenkins 625 Sep 11 21:08 OWNERS.md 21:14:47 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 11 21:08 README.md 21:14:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 21:07 VERSION 21:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:08 bin 21:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:08 cmd 21:14:47 -rw-r--r-- 1 jenkins jenkins 459493 Sep 11 21:14 coverage.out 21:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:08 examples 21:14:47 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 11 21:08 go.mod 21:14:47 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 11 21:08 go.sum 21:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 21:08 images 21:14:47 drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 21:08 internal 21:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 21:08 snap 21:14:47 -rw-rw-r-- 1 jenkins jenkins 193 Sep 11 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:47 + 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=a617e262f64df02a0ff4830f96670af271b3c6ae --label arch=arm64 --label version=0.0.0 . 21:14:48 Sending build context to Docker daemon 1.218MB 21:14:48 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:14:48 Step 2/24 : FROM ${BASE} AS builder 21:14:48 ---> df540fcae8f0 21:14:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:14:48 ---> Running in d6c5204d26b7 21:14:48 Removing intermediate container d6c5204d26b7 21:14:48 ---> 1882c5fa8bdb 21:14:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:48 ---> Running in 40feaec2e5ac 21:14:48 Removing intermediate container 40feaec2e5ac 21:14:48 ---> d57b32209256 21:14:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:14:48 ---> Running in b7930f191397 21:14:49 Removing intermediate container b7930f191397 21:14:49 ---> 73756d5e07e0 21:14:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:14:49 ---> Running in 5715af97d0c5 21:14:49 Removing intermediate container 5715af97d0c5 21:14:49 ---> 5f3ccaa4bbe3 21:14:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:49 ---> Running in 023d500f66d0 21:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:51 OK: 263 MiB in 53 packages 21:14:52 Removing intermediate container 023d500f66d0 21:14:52 ---> 051e82550dee 21:14:52 Step 8/24 : WORKDIR /app 21:14:52 ---> Running in b107ecddd7d5 21:14:53 Removing intermediate container b107ecddd7d5 21:14:53 ---> 1be553c7bf2c 21:14:53 Step 9/24 : COPY go.mod vendor* ./ 21:14:53 ---> 5f4012702b4d 21:14:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:53 ---> Running in edaa64329463 21:14:55 Removing intermediate container edaa64329463 21:14:55 ---> 162b6e14689f 21:14:55 Step 11/24 : COPY . . 21:14:56 ---> 695fd329be5f 21:14:56 Step 12/24 : RUN $MAKE 21:14:56 ---> Running in 3933209b9b1a 21:14:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:17:18 Removing intermediate container 3933209b9b1a 21:17:18 ---> 71ef32653475 21:17:18 Step 13/24 : FROM alpine:3.17 21:17:18 3.17: Pulling from library/alpine 21:17:18 4060ece20d7a: Pulling fs layer 21:17:18 4060ece20d7a: Verifying Checksum 21:17:18 4060ece20d7a: Download complete 21:17:18 4060ece20d7a: Pull complete 21:17:18 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:17:18 Status: Downloaded newer image for alpine:3.17 21:17:18 ---> 8650cd65339b 21:17:18 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:17:18 ---> Running in 737a86f333da 21:17:18 Removing intermediate container 737a86f333da 21:17:18 ---> 981eb8722afd 21:17:18 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:17:18 ---> Running in 105bce2b1803 21:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:18 (1/1) Installing dumb-init (1.2.5-r2) 21:17:18 Executing busybox-1.35.0-r29.trigger 21:17:18 OK: 8 MiB in 16 packages 21:17:18 Removing intermediate container 105bce2b1803 21:17:18 ---> 8ae052010842 21:17:18 Step 16/24 : COPY --from=builder /app/LICENSE / 21:17:18 ---> c8f1fe6ff533 21:17:18 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:17:18 ---> e86545fe1724 21:17:18 Step 18/24 : COPY --from=builder /app/cmd/ / 21:17:18 ---> 0d7cce937467 21:17:18 Step 19/24 : EXPOSE 59989 21:17:18 ---> Running in 641558f33a9e 21:17:18 Removing intermediate container 641558f33a9e 21:17:18 ---> ebd95e967621 21:17:18 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:17:18 ---> Running in cc6c8747317a 21:17:19 Removing intermediate container cc6c8747317a 21:17:19 ---> 5dab6850685d 21:17:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:17:19 ---> Running in 1747c5bd169c 21:17:19 Removing intermediate container 1747c5bd169c 21:17:19 ---> 94d3dbf4a34e 21:17:19 Step 22/24 : LABEL arch=arm64 21:17:19 ---> Running in bd714ff50a64 21:17:19 Removing intermediate container bd714ff50a64 21:17:19 ---> e29b95b510b8 21:17:19 Step 23/24 : LABEL git_sha=a617e262f64df02a0ff4830f96670af271b3c6ae 21:17:19 ---> Running in 4eef8f45bbd5 21:17:19 Removing intermediate container 4eef8f45bbd5 21:17:19 ---> 11664d2d8b73 21:17:19 Step 24/24 : LABEL version=0.0.0 21:17:19 ---> Running in 12a24c79dbdd 21:17:20 Removing intermediate container 12a24c79dbdd 21:17:20 ---> 3cc2ae3e0a1b 21:17:20 [Warning] One or more build-args [ARCH] were not consumed 21:17:20 Successfully built 3cc2ae3e0a1b 21:17:20 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:20 21:17:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:20 arm64: Pulling from edgex-lftools-log-publisher 21:17:20 8998bd30e6a1: Pulling fs layer 21:17:20 04944245beec: Pulling fs layer 21:17:20 699f458cf7ca: Pulling fs layer 21:17:20 765212b225bb: Pulling fs layer 21:17:20 f23df028b6ca: Pulling fs layer 21:17:20 d65c8cfc05b1: Pulling fs layer 21:17:20 2437ff75d9bd: Pulling fs layer 21:17:20 765212b225bb: Waiting 21:17:20 f23df028b6ca: Waiting 21:17:20 d65c8cfc05b1: Waiting 21:17:20 2437ff75d9bd: Waiting 21:17:21 04944245beec: Verifying Checksum 21:17:21 04944245beec: Download complete 21:17:21 765212b225bb: Verifying Checksum 21:17:21 765212b225bb: Download complete 21:17:21 f23df028b6ca: Verifying Checksum 21:17:21 f23df028b6ca: Download complete 21:17:21 d65c8cfc05b1: Verifying Checksum 21:17:21 d65c8cfc05b1: Download complete 21:17:21 699f458cf7ca: Verifying Checksum 21:17:21 699f458cf7ca: Download complete 21:17:21 8998bd30e6a1: Verifying Checksum 21:17:21 8998bd30e6a1: Download complete 21:17:23 2437ff75d9bd: Verifying Checksum 21:17:23 2437ff75d9bd: Download complete 21:17:25 8998bd30e6a1: Pull complete 21:17:25 04944245beec: Pull complete 21:17:29 699f458cf7ca: Pull complete 21:17:29 765212b225bb: Pull complete 21:17:29 f23df028b6ca: Pull complete 21:17:29 d65c8cfc05b1: Pull complete 21:17:44 2437ff75d9bd: Pull complete 21:17:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:45 prd-ubuntu20.04-docker-arm64-4c-16g-5836 does not seem to be running inside a container 21:17:45 $ 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/16 -v /w/workspace/device-rfid-llrp-go/16:/w/workspace/device-rfid-llrp-go/16:rw,z -v /w/workspace/device-rfid-llrp-go/16@tmp:/w/workspace/device-rfid-llrp-go/16@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:17:47 $ docker top 8c291968399cba0e9e92ab11ac274cc2caddaf183446dd2de813a7bb62954214 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:47 ---> job-cost.sh 21:17:48 lf-activate-venv: SKIPPING 21:17:48 INFO: No Stack... 21:17:48 INFO: Retrieving Pricing Info for: v3-standard-4 21:17:49 INFO: Archiving Costs [Pipeline] sh 21:17:49 + cat /w/workspace/device-rfid-llrp-go/16/archives/cost.csv 21:17:49 + cut -d, -f6 [Pipeline] lock 21:17:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] 21:17:49 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] did not exist. Created. 21:17:49 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:50 /w/workspace/device-rfid-llrp-go/16@tmp/durable-22618464/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:17:50 + echo total: 0.10999999940395355 [Pipeline] stash 21:17:50 Warning: overwriting stash ‘stack-cost’ 21:17:50 Stashed 1 file(s) [Pipeline] } 21:17:50 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:50 $ docker stop --time=1 8c291968399cba0e9e92ab11ac274cc2caddaf183446dd2de813a7bb62954214 21:17:52 $ docker rm -f --volumes 8c291968399cba0e9e92ab11ac274cc2caddaf183446dd2de813a7bb62954214 [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:17:52 provisioning config files... 21:17:52 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config3250418311772141320tmp [Pipeline] { [Pipeline] sh 21:17:52 + set +x 21:17:52 + curl -s https://codecov.io/bash 21:17:52 + bash -s -- 21:17:52 21:17:52 _____ _ 21:17:52 / ____| | | 21:17:52 | | ___ __| | ___ ___ _____ __ 21:17:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:17:52 | |___| (_) | (_| | __/ (_| (_) \ V / 21:17:52 \_____\___/ \__,_|\___|\___\___/ \_/ 21:17:52 Bash-1.0.6 21:17:52 21:17:52 21:17:52 ==> git version 2.25.1 found 21:17:52 ==> 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:17:52 Release-Date: 2020-01-08 21:17:52 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:17:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:17:52 ==> Jenkins CI detected. 21:17:52 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:17:52 project root: . 21:17:52 --> token set from env 21:17:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:17:53 ==> Running gcov in . (disable via -X gcov) 21:17:53 ==> Python coveragepy not found 21:17:53 ==> Searching for coverage reports in: 21:17:53 + . 21:17:53 -> Found 1 reports 21:17:53 ==> Detecting git/mercurial file structure 21:17:53 ==> Reading reports 21:17:53 + ./coverage.out bytes=459493 21:17:53 ==> Appending adjustments 21:17:53 https://docs.codecov.io/docs/fixing-reports 21:17:53 + Found adjustments 21:17:53 ==> Gzipping contents 21:17:53 52K /tmp/codecov.XDJhPx.gz 21:17:53 ==> Uploading reports 21:17:53 url: https://codecov.io 21:17:53 query: branch=PR-229&commit=ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:17:53 -> Pinging Codecov 21:17:53 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=ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:17:53 -> Uploading to 21:17:53 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/581DD39554BDF9B6E22D074273EAD858/ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a/ea4acd0f-1b79-401b-989f-e7828cdb1487.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T211753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6761d19dfc5700c24bb0ce68c77e3bafe18d87bfb11e9653122d6eadd8e3650 21:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:53 Dload Upload Total Spent Left Speed 21:17:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50510 0 0 100 50510 0 200k --:--:-- --:--:-- --:--:-- 200k 21:17:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/ae8c3ea5986639b1d23e11153ae0e5d7b0ba475a [Pipeline] } 21:17:53 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:17:54 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:17:54 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:54 total 16 21:17:54 drwxr-xr-x 3 root root 4096 Sep 11 21:09 . 21:17:54 drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 21:09 .. 21:17:54 drwxr-xr-x 2 root root 4096 Sep 11 21:09 cost 21:17:54 -rw-r--r-- 1 root root 92 Sep 11 21:09 cost.csv 21:17:54 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:54 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:17:54 total 16 21:17:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 21:09 . 21:17:54 drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 21:09 .. 21:17:54 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 21:09 cost 21:17:54 -rw-r--r-- 1 jenkins jenkins 92 Sep 11 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:55 ---> package-listing.sh 21:17:55 ++ tr '[:upper:]' '[:lower:]' 21:17:55 ++ facter osfamily 21:17:55 + OS_FAMILY=debian 21:17:55 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:17:55 + START_PACKAGES=/tmp/packages_start.txt 21:17:55 + END_PACKAGES=/tmp/packages_end.txt 21:17:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:55 + PACKAGES=/tmp/packages_start.txt 21:17:55 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:17:55 + PACKAGES=/tmp/packages_end.txt 21:17:55 + case "${OS_FAMILY}" in 21:17:55 + dpkg -l 21:17:55 + grep '^ii' 21:17:55 + '[' -f /tmp/packages_start.txt ']' 21:17:55 + '[' -f /tmp/packages_end.txt ']' 21:17:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:55 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:17:55 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:17:55 + 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:17:55 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:17:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:56 prd-ubuntu20.04-docker-8c-8g-5835 does not seem to be running inside a container 21:17:56 $ 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:17:57 $ docker top ad2ccc912241660d39d211121a7ec990156528c9073317c63b7d3d0d44064b05 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:57 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:57 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:57 + ls /var/log/sa-host 21:17:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:58 provisioning config files... 21:17:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config4947210567472870176tmp [Pipeline] { [Pipeline] echo 21:17:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:58 ---> create-netrc.sh [Pipeline] } 21:17:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:58 ---> python-tools-install.sh [Pipeline] echo 21:17:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:59 ---> sudo-logs.sh 21:17:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:59 ---> job-cost.sh 21:17:59 lf-activate-venv: SKIPPING 21:17:59 DEBUG: total: 0.2199999988079071 21:17:59 INFO: Retrieving Stack Cost... 21:17:59 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:00 INFO: Archiving Costs [Pipeline] echo 21:18:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:18:00 ---> logs-deploy.sh 21:18:00 lf-activate-venv: SKIPPING 21:18:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/16 21:18:00 INFO: archiving workspace using pattern(s): 21:18:01 Archives upload complete. 21:18:01 INFO: archiving logs to Nexus