Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+7d7b15f1b790f27adc0bce77c10ac3b7efd52a16 (67a1f311c06da76697809f898b7000ad38170278) 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-ssh5106976753762712868.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-ssh17704486803889338317.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-ssh660330613440889165.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-ssh5829751503951366415.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-ssh7797433911591996418.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5484’ Running on prd-ubuntu20.04-docker-8c-8g-5487 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 7d7b15f1b790f27adc0bce77c10ac3b7efd52a16 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing e4756ff2ae83373538c9bdc38a04dda59ee590d7 Checking out Revision e4756ff2ae83373538c9bdc38a04dda59ee590d7 (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 7d7b15f1b790f27adc0bce77c10ac3b7efd52a16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4756ff2ae83373538c9bdc38a04dda59ee590d7 # timeout=10 Commit message: "Merge commit '7d7b15f1b790f27adc0bce77c10ac3b7efd52a16' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk c34f995065b6fe0896b41cd85c69b750c2be6a38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:08:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:08:21 ========================================================= 21:08:21 EdgeX Global Pipelines Version Info 21:08:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:08:21 ------------------- 21:08:21 stable info: 21:08:21 ------------------- 21:08:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:21 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:08:21 Message: update stable to v1.0.253 21:08:22 ------------------- 21:08:22 experimental info: 21:08:22 ------------------- 21:08:22 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:22 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:08:22 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:08:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:08:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:08:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4756ff2ae83373538c9bdc38a04dda59ee590d7 [Pipeline] echo 21:08:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4756ff [Pipeline] echo 21:08:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:23 provisioning config files... 21:08:23 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config5062443442381571333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:23 ---> docker-login.sh 21:08:23 nexus3.edgexfoundry.org:10001 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:23 Configure a credential helper to remove this warning. See 21:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:23 21:08:23 Login Succeeded 21:08:23 nexus3.edgexfoundry.org:10002 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:23 Configure a credential helper to remove this warning. See 21:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:23 21:08:23 Login Succeeded 21:08:23 nexus3.edgexfoundry.org:10003 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:23 Configure a credential helper to remove this warning. See 21:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:23 21:08:23 Login Succeeded 21:08:23 nexus3.edgexfoundry.org:10004 21:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:24 Configure a credential helper to remove this warning. See 21:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:24 21:08:24 Login Succeeded 21:08:24 docker.io 21:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:24 Configure a credential helper to remove this warning. See 21:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:24 21:08:24 Login Succeeded 21:08:24 ---> docker-login.sh ends [Pipeline] } 21:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:24 + git rev-list -1 --merges e4756ff2ae83373538c9bdc38a04dda59ee590d7~1..e4756ff2ae83373538c9bdc38a04dda59ee590d7 [Pipeline] echo 21:08:24 -----------> git rev-list -1 --merges e4756ff2ae83373538c9bdc38a04dda59ee590d7~1..e4756ff2ae83373538c9bdc38a04dda59ee590d7 e4756ff2ae83373538c9bdc38a04dda59ee590d7 21:08:24 e4756ff2ae83373538c9bdc38a04dda59ee590d7 [false] [Pipeline] sh 21:08:25 + git log --format=format:%s -1 e4756ff2ae83373538c9bdc38a04dda59ee590d7 [Pipeline] echo 21:08:25 ========================================================= 21:08:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:25 + git log --format=format:%s -1 e4756ff2ae83373538c9bdc38a04dda59ee590d7 [Pipeline] echo 21:08:25 [semverPrep] GIT_COMMIT: e4756ff2ae83373538c9bdc38a04dda59ee590d7, Commit Message: Merge commit '7d7b15f1b790f27adc0bce77c10ac3b7efd52a16' into HEAD [Pipeline] echo 21:08:25 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:25 + grep -v github /etc/ssh/ssh_known_hosts 21:08:25 + [ -e /tmp/ssh_known_hosts ] 21:08:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:25 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:26 21:08:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:26 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:26 b85a868b505f: Pulling fs layer 21:08:26 e2be974225ed: Pulling fs layer 21:08:26 339a4e72a1f5: Pulling fs layer 21:08:26 988bab9f4d93: Pulling fs layer 21:08:26 1469e6f7b9e6: Pulling fs layer 21:08:26 eaf3925da568: Pulling fs layer 21:08:26 bab4dde63d76: Pulling fs layer 21:08:26 bde34c3a00c8: Pulling fs layer 21:08:26 b352a97aabf1: Pulling fs layer 21:08:26 4872d77fe225: Pulling fs layer 21:08:26 5851b861e8e6: Pulling fs layer 21:08:26 988bab9f4d93: Waiting 21:08:26 1469e6f7b9e6: Waiting 21:08:26 eaf3925da568: Waiting 21:08:26 bab4dde63d76: Waiting 21:08:26 bde34c3a00c8: Waiting 21:08:26 b352a97aabf1: Waiting 21:08:26 4872d77fe225: Waiting 21:08:26 5851b861e8e6: Waiting 21:08:26 e2be974225ed: Download complete 21:08:26 988bab9f4d93: Verifying Checksum 21:08:26 988bab9f4d93: Download complete 21:08:26 1469e6f7b9e6: Verifying Checksum 21:08:26 1469e6f7b9e6: Download complete 21:08:26 339a4e72a1f5: Verifying Checksum 21:08:26 339a4e72a1f5: Download complete 21:08:26 eaf3925da568: Download complete 21:08:26 bde34c3a00c8: Verifying Checksum 21:08:26 bde34c3a00c8: Download complete 21:08:26 b352a97aabf1: Download complete 21:08:26 4872d77fe225: Verifying Checksum 21:08:26 4872d77fe225: Download complete 21:08:26 5851b861e8e6: Verifying Checksum 21:08:26 5851b861e8e6: Download complete 21:08:26 b85a868b505f: Download complete 21:08:27 bab4dde63d76: Verifying Checksum 21:08:27 bab4dde63d76: Download complete 21:08:28 b85a868b505f: Pull complete 21:08:28 e2be974225ed: Pull complete 21:08:28 339a4e72a1f5: Pull complete 21:08:28 988bab9f4d93: Pull complete 21:08:28 1469e6f7b9e6: Pull complete 21:08:28 eaf3925da568: Pull complete 21:08:30 bab4dde63d76: Pull complete 21:08:30 bde34c3a00c8: Pull complete 21:08:30 b352a97aabf1: Pull complete 21:08:30 4872d77fe225: Pull complete 21:08:30 5851b861e8e6: Pull complete 21:08:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:30 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 21:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:08:33 $ docker top d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 -eo pid,comm 21:08:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:33 [ssh-agent] Looking for ssh-agent implementation... 21:08:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:34 $ docker exec d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 ssh-agent 21:08:34 SSH_AUTH_SOCK=/tmp/ssh-bLRXKmzklus9/agent.32 21:08:34 SSH_AGENT_PID=38 21:08:34 Running ssh-add (command line suppressed) 21:08:34 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3093989936018148128.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_3093989936018148128.key) 21:08:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:34 + git tag --points-at HEAD [Pipeline] } 21:08:34 $ docker exec --env ******** --env ******** d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 ssh-agent -k 21:08:34 unset SSH_AUTH_SOCK; 21:08:34 unset SSH_AGENT_PID; 21:08:34 echo Agent pid 38 killed; 21:08:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:34 [ssh-agent] Looking for ssh-agent implementation... 21:08:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:34 $ docker exec d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 ssh-agent 21:08:34 SSH_AUTH_SOCK=/tmp/ssh-33mbZb9Sgboo/agent.70 21:08:34 SSH_AGENT_PID=75 21:08:34 Running ssh-add (command line suppressed) 21:08:35 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4102503903026353829.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_4102503903026353829.key) 21:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:35 + git semver init 21:08:35 2023-09-06 21:08:35,543 [run_init] DEBUG init version:0.0.0 force:False 21:08:35 2023-09-06 21:08:35,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:35 2023-09-06 21:08:35,544 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:35 2023-09-06 21:08:35,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:08:36 2023-09-06 21:08:36,383 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:08:36 2023-09-06 21:08:36,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:08:36 2023-09-06 21:08:36,384 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:36 2023-09-06 21:08:36,388 [execute] INFO git cat-file --batch-check 21:08:36 2023-09-06 21:08:36,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:36 2023-09-06 21:08:36,394 [execute] INFO git cat-file --batch 21:08:36 2023-09-06 21:08:36,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:36 2023-09-06 21:08:36,398 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:36 0.0.0 [Pipeline] } 21:08:36 $ docker exec --env ******** --env ******** d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 ssh-agent -k 21:08:36 unset SSH_AUTH_SOCK; 21:08:36 unset SSH_AGENT_PID; 21:08:36 echo Agent pid 75 killed; 21:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:36 + git semver [Pipeline] } 21:08:37 $ docker stop --time=1 d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 21:08:38 $ docker rm -f --volumes d1a9c2d2d5a398ce9f6f792fa8099065e6b03c40640be63ab4829ba843a73ce7 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:39 Stashed 1 file(s) [Pipeline] echo 21:08:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:39 provisioning config files... 21:08:39 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config8349055558869021600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:39 ---> docker-login.sh 21:08:39 nexus3.edgexfoundry.org:10001 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:39 Configure a credential helper to remove this warning. See 21:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:39 21:08:39 Login Succeeded 21:08:39 nexus3.edgexfoundry.org:10002 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:39 Configure a credential helper to remove this warning. See 21:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:39 21:08:39 Login Succeeded 21:08:39 nexus3.edgexfoundry.org:10003 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:39 Configure a credential helper to remove this warning. See 21:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:39 21:08:39 Login Succeeded 21:08:39 nexus3.edgexfoundry.org:10004 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:39 Configure a credential helper to remove this warning. See 21:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:39 21:08:39 Login Succeeded 21:08:39 docker.io 21:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:40 Configure a credential helper to remove this warning. See 21:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:40 21:08:40 Login Succeeded 21:08:40 ---> docker-login.sh ends [Pipeline] } 21:08:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:40 ========================================================= 21:08:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:08:40 Sending build context to Docker daemon 4.322MB 21:08:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:08:40 Step 2/12 : FROM ${BASE} AS builder 21:08:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:40 4db1b89c0bd1: Pulling fs layer 21:08:40 6911f1a30b25: Pulling fs layer 21:08:40 e194b8c5c2a9: Pulling fs layer 21:08:40 6863d3e3a2b1: Pulling fs layer 21:08:40 ec0bb842ea78: Pulling fs layer 21:08:40 40a00589a448: Pulling fs layer 21:08:40 6c08303d61cc: Pulling fs layer 21:08:40 798269fcf238: Pulling fs layer 21:08:40 ec0bb842ea78: Waiting 21:08:40 40a00589a448: Waiting 21:08:40 6c08303d61cc: Waiting 21:08:40 798269fcf238: Waiting 21:08:40 6863d3e3a2b1: Waiting 21:08:40 6911f1a30b25: Download complete 21:08:40 6863d3e3a2b1: Verifying Checksum 21:08:40 6863d3e3a2b1: Download complete 21:08:40 ec0bb842ea78: Verifying Checksum 21:08:40 ec0bb842ea78: Download complete 21:08:40 4db1b89c0bd1: Verifying Checksum 21:08:40 4db1b89c0bd1: Download complete 21:08:40 40a00589a448: Verifying Checksum 21:08:40 40a00589a448: Download complete 21:08:40 4db1b89c0bd1: Pull complete 21:08:41 6911f1a30b25: Pull complete 21:08:41 798269fcf238: Download complete 21:08:41 e194b8c5c2a9: Verifying Checksum 21:08:41 e194b8c5c2a9: Download complete 21:08:41 6c08303d61cc: Verifying Checksum 21:08:41 6c08303d61cc: Download complete 21:08:44 e194b8c5c2a9: Pull complete 21:08:44 6863d3e3a2b1: Pull complete 21:08:44 ec0bb842ea78: Pull complete 21:08:44 40a00589a448: Pull complete 21:08:46 6c08303d61cc: Pull complete 21:08:47 798269fcf238: Pull complete 21:08:47 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:47 ---> ec979cd7f677 21:08:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:54 Still waiting to schedule task 21:08:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5486’ 21:08:55 ---> Running in 8adacb049669 21:08:55 Removing intermediate container 8adacb049669 21:08:55 ---> 6bd107f31045 21:08:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:55 ---> Running in 92eead885fcf 21:08:55 Removing intermediate container 92eead885fcf 21:08:55 ---> 040e6ddfd348 21:08:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:55 ---> Running in ab752a7f6ece 21:08:55 Removing intermediate container ab752a7f6ece 21:08:55 ---> 6c872cc72bdc 21:08:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:55 ---> Running in 46017ce27610 21:08:55 Removing intermediate container 46017ce27610 21:08:55 ---> 0e06c139cdfc 21:08:55 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:55 ---> Running in 533c2146f139 21:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:55 OK: 265 MiB in 53 packages 21:08:56 Removing intermediate container 533c2146f139 21:08:56 ---> 20a936d74d94 21:08:56 Step 8/12 : WORKDIR /app 21:08:56 ---> Running in a09ebe3a5acc 21:08:56 Removing intermediate container a09ebe3a5acc 21:08:56 ---> adcff3619e0e 21:08:56 Step 9/12 : COPY go.mod vendor* ./ 21:08:56 ---> 7d3c29225037 21:08:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:56 ---> Running in edd592f735a3 21:09:43 Removing intermediate container edd592f735a3 21:09:43 ---> 6dd95bfc7b4a 21:09:43 Step 11/12 : COPY . . 21:09:43 ---> 5f1b37cd87cd 21:09:43 Step 12/12 : RUN $MAKE 21:09:43 ---> Running in f6f35bc0a743 21:09:43 noop 21:09:43 Removing intermediate container f6f35bc0a743 21:09:43 ---> 161c132d5e01 21:09:43 Successfully built 161c132d5e01 21:09:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:43 + docker inspect -f . ci-base-image-x86_64 21:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:43 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 21:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:43 $ docker top 911f4d4f90f6148f61e865c2c3dd703de1c089bf534acd8fc6c6fe59b849577c -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:44 + go version 21:09:44 go version go1.20.6 linux/amd64 [Pipeline] } 21:09:44 $ docker stop --time=1 911f4d4f90f6148f61e865c2c3dd703de1c089bf534acd8fc6c6fe59b849577c 21:09:45 $ docker rm -f --volumes 911f4d4f90f6148f61e865c2c3dd703de1c089bf534acd8fc6c6fe59b849577c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:45 + docker inspect -f . ci-base-image-x86_64 21:09:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:45 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 21:09:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:09:46 $ docker top 7e135d0b244fe7cba629ab8f0e9fa9ec187da6b6486a3a22c57acccb083654c1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:46 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:09:47 + make test 21:09:47 go test ./... -coverprofile=coverage.out ./... 21:09:52 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:10:04 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:10:04 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:10:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.873s coverage: 40.6% of statements 21:10:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 51.9% of statements 21:10:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 21:10:15 go vet ./... 21:10:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:19 $ docker stop --time=1 7e135d0b244fe7cba629ab8f0e9fa9ec187da6b6486a3a22c57acccb083654c1 21:10:25 $ docker rm -f --volumes 7e135d0b244fe7cba629ab8f0e9fa9ec187da6b6486a3a22c57acccb083654c1 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:10:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:28 + ls -al . 21:10:28 total 644 21:10:28 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 21:09 . 21:10:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:08 .. 21:10:28 -rw-rw-r-- 1 jenkins jenkins 134 Sep 6 21:08 .dockerignore 21:10:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:08 .git 21:10:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:08 .github 21:10:28 -rw-rw-r-- 1 jenkins jenkins 946 Sep 6 21:08 .gitignore 21:10:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:08 .golangci.yml 21:10:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:08 .semver 21:10:28 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 6 21:08 Attribution.txt 21:10:28 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 6 21:08 CHANGELOG.md 21:10:28 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 6 21:08 Dockerfile 21:10:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:08 GOVERNANCE.md 21:10:28 -rw-rw-r-- 1 jenkins jenkins 683 Sep 6 21:08 Jenkinsfile 21:10:28 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 6 21:08 LICENSE 21:10:28 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 6 21:08 Makefile 21:10:28 -rw-rw-r-- 1 jenkins jenkins 625 Sep 6 21:08 OWNERS.md 21:10:28 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 6 21:08 README.md 21:10:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 21:08 VERSION 21:10:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:08 bin 21:10:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:08 cmd 21:10:28 -rw-r--r-- 1 jenkins jenkins 459493 Sep 6 21:10 coverage.out 21:10:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:08 examples 21:10:28 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 6 21:08 go.mod 21:10:28 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 6 21:08 go.sum 21:10:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:08 images 21:10:28 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 21:08 internal 21:10:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:08 snap 21:10:28 -rw-rw-r-- 1 jenkins jenkins 193 Sep 6 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:28 + 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=e4756ff2ae83373538c9bdc38a04dda59ee590d7 --label arch=amd64 --label version=0.0.0 . 21:10:28 Sending build context to Docker daemon 4.322MB 21:10:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:10:28 Step 2/24 : FROM ${BASE} AS builder 21:10:28 ---> 161c132d5e01 21:10:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:10:29 ---> Running in facb9459b25d 21:10:29 Removing intermediate container facb9459b25d 21:10:29 ---> da16b73aba5f 21:10:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:29 ---> Running in 8a4883f4db39 21:10:29 Removing intermediate container 8a4883f4db39 21:10:29 ---> 677674df9446 21:10:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:10:29 ---> Running in 49e576b2e0e8 21:10:29 Removing intermediate container 49e576b2e0e8 21:10:29 ---> 21e7a0f29aa6 21:10:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:10:29 ---> Running in 51a68a3e186c 21:10:29 Removing intermediate container 51a68a3e186c 21:10:29 ---> e6e3962289f6 21:10:29 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:29 ---> Running in 81641bac22ec 21:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:30 OK: 265 MiB in 53 packages 21:10:30 Removing intermediate container 81641bac22ec 21:10:30 ---> eda350b17626 21:10:30 Step 8/24 : WORKDIR /app 21:10:30 ---> Running in 63865da07588 21:10:30 Removing intermediate container 63865da07588 21:10:30 ---> 7caa1d72482e 21:10:30 Step 9/24 : COPY go.mod vendor* ./ 21:10:31 ---> 9de90917266b 21:10:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:31 ---> Running in 6f92010ab9c6 21:10:31 Removing intermediate container 6f92010ab9c6 21:10:31 ---> 8bf5fd7f70bb 21:10:31 Step 11/24 : COPY . . 21:10:32 ---> 0371378ad11a 21:10:32 Step 12/24 : RUN $MAKE 21:10:32 ---> Running in f0a0c9b90fd5 21:10:32 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.19" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:10:59 Removing intermediate container f0a0c9b90fd5 21:10:59 ---> 0ca789c4f32f 21:10:59 Step 13/24 : FROM alpine:3.17 21:10:59 3.17: Pulling from library/alpine 21:10:59 9398808236ff: Pulling fs layer 21:10:59 9398808236ff: Download complete 21:10:59 9398808236ff: Pull complete 21:10:59 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:10:59 Status: Downloaded newer image for alpine:3.17 21:10:59 ---> 1e0b8b5322fc 21:10:59 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:59 ---> Running in 5fe609bcc6c4 21:10:59 Removing intermediate container 5fe609bcc6c4 21:10:59 ---> fe1fd8bc6433 21:10:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:10:59 ---> Running in a53715c2b578 21:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:59 (1/1) Installing dumb-init (1.2.5-r2) 21:10:59 Executing busybox-1.35.0-r29.trigger 21:10:59 OK: 7 MiB in 16 packages 21:10:59 Removing intermediate container a53715c2b578 21:10:59 ---> cc9693c5960e 21:10:59 Step 16/24 : COPY --from=builder /app/LICENSE / 21:10:59 ---> 34c90b6898d8 21:10:59 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:10:59 ---> 9e47f1028335 21:10:59 Step 18/24 : COPY --from=builder /app/cmd/ / 21:10:59 ---> 306813632207 21:10:59 Step 19/24 : EXPOSE 59989 21:10:59 ---> Running in e82dad0ba11a 21:10:59 Removing intermediate container e82dad0ba11a 21:10:59 ---> 77f9c8ec6916 21:10:59 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:10:59 ---> Running in 7973341fc2a4 21:10:59 Removing intermediate container 7973341fc2a4 21:10:59 ---> 357d637e8277 21:10:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:59 ---> Running in 2ebffe65b0e9 21:10:59 Removing intermediate container 2ebffe65b0e9 21:10:59 ---> 3b4e7ae116b6 21:10:59 Step 22/24 : LABEL arch=amd64 21:10:59 ---> Running in 09de7d21eb0b 21:10:59 Removing intermediate container 09de7d21eb0b 21:10:59 ---> 8b96fcb2191a 21:10:59 Step 23/24 : LABEL git_sha=e4756ff2ae83373538c9bdc38a04dda59ee590d7 21:10:59 ---> Running in 1608ce79252c 21:10:59 Removing intermediate container 1608ce79252c 21:10:59 ---> cb9d657966c8 21:10:59 Step 24/24 : LABEL version=0.0.0 21:10:59 ---> Running in ac65ee57013f 21:10:59 Removing intermediate container ac65ee57013f 21:10:59 ---> b90ee2e3cba3 21:10:59 [Warning] One or more build-args [ARCH] were not consumed 21:10:59 Successfully built b90ee2e3cba3 21:10:59 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:59 21:10:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:59 latest: Pulling from edgex-lftools-log-publisher 21:10:59 5eb5b503b376: Pulling fs layer 21:10:59 5c69ac0246d0: Pulling fs layer 21:10:59 ec43610c2a17: Pulling fs layer 21:10:59 3a2ae6a8a46f: Pulling fs layer 21:10:59 33b1e0a273af: Pulling fs layer 21:10:59 5d3b04190fa2: Pulling fs layer 21:10:59 2f39f015ded8: Pulling fs layer 21:10:59 3a2ae6a8a46f: Waiting 21:10:59 33b1e0a273af: Waiting 21:10:59 5d3b04190fa2: Waiting 21:10:59 2f39f015ded8: Waiting 21:10:59 5c69ac0246d0: Verifying Checksum 21:10:59 5c69ac0246d0: Download complete 21:10:59 3a2ae6a8a46f: Download complete 21:11:00 33b1e0a273af: Verifying Checksum 21:11:00 33b1e0a273af: Download complete 21:11:00 5d3b04190fa2: Verifying Checksum 21:11:00 5d3b04190fa2: Download complete 21:11:00 ec43610c2a17: Download complete 21:11:00 5eb5b503b376: Verifying Checksum 21:11:00 5eb5b503b376: Download complete 21:11:00 2f39f015ded8: Download complete 21:11:01 5eb5b503b376: Pull complete 21:11:01 5c69ac0246d0: Pull complete 21:11:01 ec43610c2a17: Pull complete 21:11:01 3a2ae6a8a46f: Pull complete 21:11:01 33b1e0a273af: Pull complete 21:11:02 5d3b04190fa2: Pull complete 21:11:06 2f39f015ded8: Pull complete 21:11:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:06 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 21:11:06 $ 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:11:12 $ docker top 41db66d7ab1832fa4e0698b3907a1e6bc70dbb116f4d2145f42d0e30127a4ab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:12 ---> job-cost.sh 21:11:12 lf-activate-venv: SKIPPING 21:11:12 INFO: No Stack... 21:11:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:13 INFO: Archiving Costs [Pipeline] sh 21:11:13 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:11:13 + cut -d, -f6 [Pipeline] lock 21:11:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] 21:11:13 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] did not exist. Created. 21:11:13 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:14 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:14 Stashed 1 file(s) [Pipeline] } 21:11:14 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:14 $ docker stop --time=1 41db66d7ab1832fa4e0698b3907a1e6bc70dbb116f4d2145f42d0e30127a4ab5 21:11:15 $ docker rm -f --volumes 41db66d7ab1832fa4e0698b3907a1e6bc70dbb116f4d2145f42d0e30127a4ab5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5488 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:12:07 Running in /w/workspace/device-rfid-llrp-go/15 [Pipeline] { [Pipeline] checkout 21:12:07 The recommended git tool is: git 21:12:12 using credential edgex-jenkins-ssh 21:12:12 Cloning the remote Git repository 21:12:12 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:12 > git init /w/workspace/device-rfid-llrp-go/15 # timeout=10 21:12:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:12 > git --version # timeout=10 21:12:12 > git --version # 'git version 2.25.1' 21:12:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:12:15 Merging remotes/origin/main commit 7d7b15f1b790f27adc0bce77c10ac3b7efd52a16 into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:12:15 Merge succeeded, producing 9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 21:12:15 Checking out Revision 9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 (PR-229) 21:12:15 > git config core.sparsecheckout # timeout=10 21:12:15 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:12:15 > git remote # timeout=10 21:12:15 > git config --get remote.origin.url # timeout=10 21:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:15 > git merge 7d7b15f1b790f27adc0bce77c10ac3b7efd52a16 # timeout=10 21:12:15 > git rev-parse HEAD^{commit} # timeout=10 21:12:15 > git config core.sparsecheckout # timeout=10 21:12:15 > git checkout -f 9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 # timeout=10 21:12:19 Commit message: "Merge commit '7d7b15f1b790f27adc0bce77c10ac3b7efd52a16' into HEAD" 21:12:19 First time build. Skipping changelog. 21:12:19 > git rev-list --no-walk c34f995065b6fe0896b41cd85c69b750c2be6a38 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:20 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:20 Dload Upload Total Spent Left Speed 21:12:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 88548 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 21:12:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:12:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:12:21 + sudo tee /etc/docker/daemon.new 21:12:21 { 21:12:21 "registry-mirrors": [ 21:12:21 "https://nexus3.edgexfoundry.org:10001" 21:12:21 ], 21:12:21 "bip": "10.250.0.254/24", 21:12:21 "hosts": [ 21:12:21 "tcp://0.0.0.0:5555", 21:12:21 "unix:///var/run/docker.sock" 21:12:21 ], 21:12:21 "mtu": 1458, 21:12:21 "selinux-enabled": true, 21:12:21 "seccomp-profile": "/etc/docker/seccomp.json" 21:12:21 } [Pipeline] sh 21:12:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:12:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:39 provisioning config files... 21:12:39 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/15@tmp/config8233772214594036072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:40 ---> docker-login.sh 21:12:40 nexus3.edgexfoundry.org:10001 21:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:40 Configure a credential helper to remove this warning. See 21:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:40 21:12:40 Login Succeeded 21:12:40 nexus3.edgexfoundry.org:10002 21:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:41 Configure a credential helper to remove this warning. See 21:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:41 21:12:41 Login Succeeded 21:12:41 nexus3.edgexfoundry.org:10003 21:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:41 Configure a credential helper to remove this warning. See 21:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:41 21:12:41 Login Succeeded 21:12:41 nexus3.edgexfoundry.org:10004 21:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:41 Configure a credential helper to remove this warning. See 21:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:41 21:12:41 Login Succeeded 21:12:41 docker.io 21:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:42 Configure a credential helper to remove this warning. See 21:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:42 21:12:42 Login Succeeded 21:12:42 ---> docker-login.sh ends [Pipeline] } 21:12:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:42 ========================================================= 21:12:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:12:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:12:43 Sending build context to Docker daemon 1.218MB 21:12:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:12:43 Step 2/12 : FROM ${BASE} AS builder 21:12:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:43 edb6bdbacee9: Pulling fs layer 21:12:43 5f9638ab2659: Pulling fs layer 21:12:43 8d51d6327a98: Pulling fs layer 21:12:43 8b374f2dd631: Pulling fs layer 21:12:43 ec14aa9079de: Pulling fs layer 21:12:43 2f466654f4bb: Pulling fs layer 21:12:43 554e91adad29: Pulling fs layer 21:12:43 ec14aa9079de: Waiting 21:12:43 554e91adad29: Waiting 21:12:43 2f466654f4bb: Waiting 21:12:43 8b374f2dd631: Waiting 21:12:43 5f9638ab2659: Download complete 21:12:43 8b374f2dd631: Verifying Checksum 21:12:43 8b374f2dd631: Download complete 21:12:43 ec14aa9079de: Verifying Checksum 21:12:43 ec14aa9079de: Download complete 21:12:43 edb6bdbacee9: Verifying Checksum 21:12:43 edb6bdbacee9: Download complete 21:12:44 edb6bdbacee9: Pull complete 21:12:44 554e91adad29: Verifying Checksum 21:12:44 554e91adad29: Download complete 21:12:46 2f466654f4bb: Verifying Checksum 21:12:46 2f466654f4bb: Download complete 21:12:46 8d51d6327a98: Verifying Checksum 21:12:46 8d51d6327a98: Download complete 21:12:47 5f9638ab2659: Pull complete 21:13:02 8d51d6327a98: Pull complete 21:13:02 8b374f2dd631: Pull complete 21:13:02 ec14aa9079de: Pull complete 21:13:08 2f466654f4bb: Pull complete 21:13:10 554e91adad29: Pull complete 21:13:10 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:13:10 ---> 1e15ea492957 21:13:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:13:12 ---> Running in ad55c346e612 21:13:12 Removing intermediate container ad55c346e612 21:13:12 ---> 802a9afa89a9 21:13:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:12 ---> Running in 78949887fbf6 21:13:13 Removing intermediate container 78949887fbf6 21:13:13 ---> a5f763d4ff77 21:13:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:13:13 ---> Running in cee5139dd36b 21:13:13 Removing intermediate container cee5139dd36b 21:13:13 ---> 4265153cc6de 21:13:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:13:13 ---> Running in dd8bffa1a91f 21:13:13 Removing intermediate container dd8bffa1a91f 21:13:13 ---> 5eeab7f6ce7d 21:13:13 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:13 ---> Running in 9e1f34eafac1 21:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:16 OK: 263 MiB in 53 packages 21:13:17 Removing intermediate container 9e1f34eafac1 21:13:17 ---> 2de06f54aa99 21:13:17 Step 8/12 : WORKDIR /app 21:13:17 ---> Running in c88fadcda359 21:13:17 Removing intermediate container c88fadcda359 21:13:17 ---> 9fc93ae7cc80 21:13:17 Step 9/12 : COPY go.mod vendor* ./ 21:13:18 ---> bb63c04bc741 21:13:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:18 ---> Running in bd7f2bd73346 21:14:39 Removing intermediate container bd7f2bd73346 21:14:39 ---> b6bcb5642734 21:14:39 Step 11/12 : COPY . . 21:14:39 ---> 5b36b4898d76 21:14:39 Step 12/12 : RUN $MAKE 21:14:39 ---> Running in eb0b34434221 21:14:39 noop 21:14:39 Removing intermediate container eb0b34434221 21:14:39 ---> 2000825c623b 21:14:39 Successfully built 2000825c623b 21:14:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:40 + docker inspect -f . ci-base-image-arm64 21:14:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-5488 does not seem to be running inside a container 21:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/15 -v /w/workspace/device-rfid-llrp-go/15:/w/workspace/device-rfid-llrp-go/15:rw,z -v /w/workspace/device-rfid-llrp-go/15@tmp:/w/workspace/device-rfid-llrp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:41 $ docker top c640cdc79eddd3bc6280ce86d338fdd0d806db0cbf140fc7eb8d87b3153f109e -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:42 + go version 21:14:42 go version go1.20.6 linux/arm64 [Pipeline] } 21:14:42 $ docker stop --time=1 c640cdc79eddd3bc6280ce86d338fdd0d806db0cbf140fc7eb8d87b3153f109e 21:14:44 $ docker rm -f --volumes c640cdc79eddd3bc6280ce86d338fdd0d806db0cbf140fc7eb8d87b3153f109e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:44 + docker inspect -f . ci-base-image-arm64 21:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:44 prd-ubuntu20.04-docker-arm64-4c-16g-5488 does not seem to be running inside a container 21:14:44 $ 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/15 -v /w/workspace/device-rfid-llrp-go/15:/w/workspace/device-rfid-llrp-go/15:rw,z -v /w/workspace/device-rfid-llrp-go/15@tmp:/w/workspace/device-rfid-llrp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:14:46 $ docker top 8bf155b9088f5842f3c3dd3cf2771d285d0a62836a3ea132a889b12b37e92faf -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:46 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/15 [Pipeline] fileExists [Pipeline] sh 21:14:46 + make test 21:14:46 go test ./... -coverprofile=coverage.out ./... 21:15:19 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:17:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:17:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:17:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.714s coverage: 40.6% of statements 21:17:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.605s coverage: 51.9% of statements 21:17:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.048s coverage: 95.5% of statements 21:17:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:52 go vet ./... 21:18:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:19 $ docker stop --time=1 8bf155b9088f5842f3c3dd3cf2771d285d0a62836a3ea132a889b12b37e92faf 21:18:23 $ docker rm -f --volumes 8bf155b9088f5842f3c3dd3cf2771d285d0a62836a3ea132a889b12b37e92faf [Pipeline] // withDockerContainer [Pipeline] sh 21:18:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:24 Warning: overwriting stash ‘coverage-report’ 21:18:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:25 + ls -al . 21:18:25 total 640 21:18:25 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 21:14 . 21:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:12 .. 21:18:25 -rw-rw-r-- 1 jenkins jenkins 134 Sep 6 21:12 .dockerignore 21:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:12 .git 21:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:12 .github 21:18:25 -rw-rw-r-- 1 jenkins jenkins 946 Sep 6 21:12 .gitignore 21:18:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:12 .golangci.yml 21:18:25 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 6 21:12 Attribution.txt 21:18:25 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 6 21:12 CHANGELOG.md 21:18:25 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 6 21:12 Dockerfile 21:18:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:12 GOVERNANCE.md 21:18:25 -rw-rw-r-- 1 jenkins jenkins 683 Sep 6 21:12 Jenkinsfile 21:18:25 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 6 21:12 LICENSE 21:18:25 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 6 21:12 Makefile 21:18:25 -rw-rw-r-- 1 jenkins jenkins 625 Sep 6 21:12 OWNERS.md 21:18:25 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 6 21:12 README.md 21:18:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 21:08 VERSION 21:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:12 bin 21:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:12 cmd 21:18:25 -rw-r--r-- 1 jenkins jenkins 459493 Sep 6 21:17 coverage.out 21:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:12 examples 21:18:25 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 6 21:12 go.mod 21:18:25 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 6 21:12 go.sum 21:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:12 images 21:18:25 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 21:12 internal 21:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:12 snap 21:18:25 -rw-rw-r-- 1 jenkins jenkins 193 Sep 6 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:26 + 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=9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 --label arch=arm64 --label version=0.0.0 . 21:18:26 Sending build context to Docker daemon 1.218MB 21:18:26 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:18:26 Step 2/24 : FROM ${BASE} AS builder 21:18:26 ---> 2000825c623b 21:18:26 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:18:26 ---> Running in 991c241cce4a 21:18:26 Removing intermediate container 991c241cce4a 21:18:26 ---> 64f0a4c3fedd 21:18:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:27 ---> Running in 300f3213cf18 21:18:27 Removing intermediate container 300f3213cf18 21:18:27 ---> f4ad7fc744fb 21:18:27 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:18:27 ---> Running in bbb81bf3f351 21:18:27 Removing intermediate container bbb81bf3f351 21:18:27 ---> e53f25006076 21:18:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:18:27 ---> Running in 821779551a29 21:18:28 Removing intermediate container 821779551a29 21:18:28 ---> a490c844e7df 21:18:28 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:28 ---> Running in 36c1616a4208 21:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:30 OK: 263 MiB in 53 packages 21:18:31 Removing intermediate container 36c1616a4208 21:18:31 ---> b17ce75fadd3 21:18:31 Step 8/24 : WORKDIR /app 21:18:31 ---> Running in 7585c9d8b53e 21:18:31 Removing intermediate container 7585c9d8b53e 21:18:31 ---> 7995e7f24b20 21:18:31 Step 9/24 : COPY go.mod vendor* ./ 21:18:32 ---> 71e534cf8e00 21:18:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:32 ---> Running in e16cf5d3ad79 21:18:34 Removing intermediate container e16cf5d3ad79 21:18:34 ---> 232cfd1711a0 21:18:34 Step 11/24 : COPY . . 21:18:36 ---> aa0d20abb689 21:18:36 Step 12/24 : RUN $MAKE 21:18:36 ---> Running in 6d3e5e412073 21:18:37 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.19" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:20:59 Removing intermediate container 6d3e5e412073 21:20:59 ---> 365e87023c30 21:20:59 Step 13/24 : FROM alpine:3.17 21:20:59 3.17: Pulling from library/alpine 21:20:59 4060ece20d7a: Pulling fs layer 21:20:59 4060ece20d7a: Download complete 21:20:59 4060ece20d7a: Pull complete 21:20:59 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:20:59 Status: Downloaded newer image for alpine:3.17 21:20:59 ---> 8650cd65339b 21:20:59 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:59 ---> Running in 47170f8329d7 21:20:59 Removing intermediate container 47170f8329d7 21:20:59 ---> 323ccdcecace 21:20:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:59 ---> Running in 012ff0de1f59 21:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:59 (1/1) Installing dumb-init (1.2.5-r2) 21:20:59 Executing busybox-1.35.0-r29.trigger 21:20:59 OK: 8 MiB in 16 packages 21:20:59 Removing intermediate container 012ff0de1f59 21:20:59 ---> d67920c3c823 21:20:59 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:59 ---> 5dde50021267 21:20:59 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:59 ---> 4b54a462769d 21:20:59 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:59 ---> 309285dcab14 21:20:59 Step 19/24 : EXPOSE 59989 21:20:59 ---> Running in 605133c2a794 21:20:59 Removing intermediate container 605133c2a794 21:20:59 ---> 75a479bed964 21:20:59 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:59 ---> Running in adc7a2390eb0 21:20:59 Removing intermediate container adc7a2390eb0 21:20:59 ---> cd34c6301917 21:20:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:59 ---> Running in a7c7ea39b3ba 21:20:59 Removing intermediate container a7c7ea39b3ba 21:20:59 ---> f78e1987fba3 21:20:59 Step 22/24 : LABEL arch=arm64 21:20:59 ---> Running in 3e533e413e41 21:20:59 Removing intermediate container 3e533e413e41 21:20:59 ---> 28443bfc25cf 21:20:59 Step 23/24 : LABEL git_sha=9e32e6c73c13f7b8bc99fb8d952f1fa19c2c9ea1 21:20:59 ---> Running in f7a484e29305 21:20:59 Removing intermediate container f7a484e29305 21:20:59 ---> be42d34c83a7 21:20:59 Step 24/24 : LABEL version=0.0.0 21:20:59 ---> Running in 93578c708232 21:20:59 Removing intermediate container 93578c708232 21:20:59 ---> 87b212abcdd3 21:20:59 [Warning] One or more build-args [ARCH] were not consumed 21:20:59 Successfully built 87b212abcdd3 21:20:59 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:59 21:20:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:00 arm64: Pulling from edgex-lftools-log-publisher 21:21:00 8998bd30e6a1: Pulling fs layer 21:21:00 04944245beec: Pulling fs layer 21:21:00 699f458cf7ca: Pulling fs layer 21:21:00 765212b225bb: Pulling fs layer 21:21:00 f23df028b6ca: Pulling fs layer 21:21:00 d65c8cfc05b1: Pulling fs layer 21:21:00 2437ff75d9bd: Pulling fs layer 21:21:00 f23df028b6ca: Waiting 21:21:00 d65c8cfc05b1: Waiting 21:21:00 2437ff75d9bd: Waiting 21:21:00 765212b225bb: Waiting 21:21:00 04944245beec: Verifying Checksum 21:21:00 04944245beec: Download complete 21:21:00 765212b225bb: Verifying Checksum 21:21:00 765212b225bb: Download complete 21:21:00 f23df028b6ca: Verifying Checksum 21:21:00 f23df028b6ca: Download complete 21:21:00 d65c8cfc05b1: Verifying Checksum 21:21:00 d65c8cfc05b1: Download complete 21:21:00 699f458cf7ca: Verifying Checksum 21:21:00 699f458cf7ca: Download complete 21:21:01 8998bd30e6a1: Download complete 21:21:03 2437ff75d9bd: Verifying Checksum 21:21:05 8998bd30e6a1: Pull complete 21:21:05 04944245beec: Pull complete 21:21:06 699f458cf7ca: Pull complete 21:21:06 765212b225bb: Pull complete 21:21:07 f23df028b6ca: Pull complete 21:21:07 d65c8cfc05b1: Pull complete 21:21:22 2437ff75d9bd: Pull complete 21:21:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:22 prd-ubuntu20.04-docker-arm64-4c-16g-5488 does not seem to be running inside a container 21:21:22 $ 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/15 -v /w/workspace/device-rfid-llrp-go/15:/w/workspace/device-rfid-llrp-go/15:rw,z -v /w/workspace/device-rfid-llrp-go/15@tmp:/w/workspace/device-rfid-llrp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:21:25 $ docker top fb37ea641890957b77e22dc3263ccafcd25442c8df4aeb58d3848e9e7a6212e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:26 ---> job-cost.sh 21:21:26 lf-activate-venv: SKIPPING 21:21:26 INFO: No Stack... 21:21:26 INFO: Retrieving Pricing Info for: v3-standard-4 21:21:27 INFO: Archiving Costs [Pipeline] sh 21:21:27 + cat /w/workspace/device-rfid-llrp-go/15/archives/cost.csv 21:21:27 + cut -d, -f6 [Pipeline] lock 21:21:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] 21:21:27 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] did not exist. Created. 21:21:27 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:21:28 /w/workspace/device-rfid-llrp-go/15@tmp/durable-79b228e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:29 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:29 Warning: overwriting stash ‘stack-cost’ 21:21:29 Stashed 1 file(s) [Pipeline] } 21:21:29 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-15-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:29 $ docker stop --time=1 fb37ea641890957b77e22dc3263ccafcd25442c8df4aeb58d3848e9e7a6212e1 21:21:30 $ docker rm -f --volumes fb37ea641890957b77e22dc3263ccafcd25442c8df4aeb58d3848e9e7a6212e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:21:31 provisioning config files... 21:21:31 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config11824471471335652503tmp [Pipeline] { [Pipeline] sh 21:21:31 + set +x 21:21:31 + curl -s https://codecov.io/bash 21:21:31 + bash -s -- 21:21:31 21:21:31 _____ _ 21:21:31 / ____| | | 21:21:31 | | ___ __| | ___ ___ _____ __ 21:21:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:31 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:31 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:31 Bash-1.0.6 21:21:31 21:21:31 21:21:31 ==> git version 2.25.1 found 21:21:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:21:31 Release-Date: 2020-01-08 21:21:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:21:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:31 ==> Jenkins CI detected. 21:21:31 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:31 project root: . 21:21:31 --> token set from env 21:21:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:31 ==> Running gcov in . (disable via -X gcov) 21:21:31 ==> Python coveragepy not found 21:21:31 ==> Searching for coverage reports in: 21:21:31 + . 21:21:31 -> Found 1 reports 21:21:31 ==> Detecting git/mercurial file structure 21:21:31 ==> Reading reports 21:21:31 + ./coverage.out bytes=459493 21:21:31 ==> Appending adjustments 21:21:31 https://docs.codecov.io/docs/fixing-reports 21:21:32 + Found adjustments 21:21:32 ==> Gzipping contents 21:21:32 52K /tmp/codecov.QvH3iW.gz 21:21:32 ==> Uploading reports 21:21:32 url: https://codecov.io 21:21:32 query: branch=PR-229&commit=e4756ff2ae83373538c9bdc38a04dda59ee590d7&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:32 -> Pinging Codecov 21:21:32 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=e4756ff2ae83373538c9bdc38a04dda59ee590d7&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:32 -> Uploading to 21:21:32 https://storage.googleapis.com/codecov/v4/raw/2023-09-06/581DD39554BDF9B6E22D074273EAD858/e4756ff2ae83373538c9bdc38a04dda59ee590d7/6984289b-d276-4118-aff9-97ac00f6f4a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T212132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cc446319707bc6be5e01f3b596879a3e2ea51dc56aaa9979ec26dfbeb4f9657 21:21:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:32 Dload Upload Total Spent Left Speed 21:21:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50512 0 0 100 50512 0 237k --:--:-- --:--:-- --:--:-- 237k 100 50512 0 0 100 50512 0 231k --:--:-- --:--:-- --:--:-- 230k 21:21:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/e4756ff2ae83373538c9bdc38a04dda59ee590d7 [Pipeline] } 21:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:21:33 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:21:33 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:33 total 16 21:21:33 drwxr-xr-x 3 root root 4096 Sep 6 21:11 . 21:21:33 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 21:11 .. 21:21:33 drwxr-xr-x 2 root root 4096 Sep 6 21:11 cost 21:21:33 -rw-r--r-- 1 root root 92 Sep 6 21:11 cost.csv 21:21:33 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:33 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:33 total 16 21:21:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:11 . 21:21:33 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 21:11 .. 21:21:33 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 21:11 cost 21:21:33 -rw-r--r-- 1 jenkins jenkins 92 Sep 6 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:34 ---> package-listing.sh 21:21:34 ++ facter osfamily 21:21:34 ++ tr '[:upper:]' '[:lower:]' 21:21:34 + OS_FAMILY=debian 21:21:34 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:34 + START_PACKAGES=/tmp/packages_start.txt 21:21:34 + END_PACKAGES=/tmp/packages_end.txt 21:21:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:34 + PACKAGES=/tmp/packages_start.txt 21:21:34 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:34 + PACKAGES=/tmp/packages_end.txt 21:21:34 + case "${OS_FAMILY}" in 21:21:34 + dpkg -l 21:21:34 + grep '^ii' 21:21:34 + '[' -f /tmp/packages_start.txt ']' 21:21:34 + '[' -f /tmp/packages_end.txt ']' 21:21:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:34 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:34 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:21:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:21:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:35 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 21:21:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:21:36 $ docker top c42f6b6f7e237659bdc7aa38ef2c6234950f569e40e2585449576a80ae716e19 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:36 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:37 + ls /var/log/sa-host 21:21:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:37 provisioning config files... 21:21:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config14259186702769830273tmp [Pipeline] { [Pipeline] echo 21:21:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:37 ---> create-netrc.sh [Pipeline] } 21:21:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:37 ---> python-tools-install.sh [Pipeline] echo 21:21:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:38 ---> sudo-logs.sh 21:21:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:38 ---> job-cost.sh 21:21:38 lf-activate-venv: SKIPPING 21:21:38 DEBUG: total: 0.2199999988079071 21:21:38 INFO: Retrieving Stack Cost... 21:21:39 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:39 INFO: Archiving Costs [Pipeline] echo 21:21:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:39 ---> logs-deploy.sh 21:21:39 lf-activate-venv: SKIPPING 21:21:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/15 21:21:39 INFO: archiving workspace using pattern(s): 21:21:40 Archives upload complete. 21:21:40 INFO: archiving logs to Nexus