Pull request #129 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 17a79fbd388b228fcae3e4baa21b78e8a03b35c9+ca5f12e3f5b0dcc2e9f99ab405ce0dc1158ea6a8 (33ddeecde86d46386d33500f05104c490d10bcd2) 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-ssh11049755199410768509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4078948257212391928.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-129/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-129/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6159245438249531508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9402840319468391359.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-129/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-129/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5437780126556731230.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.18 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1687 in /w/workspace/undry_device-rfid-llrp-go_PR-129 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-129 # 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 Merging remotes/origin/main commit ca5f12e3f5b0dcc2e9f99ab405ce0dc1158ea6a8 into PR head commit 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 Merge succeeded, producing 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 Checking out Revision 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 (PR-129) > 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/129/head:refs/remotes/origin/PR-129 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 # 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 ca5f12e3f5b0dcc2e9f99ab405ce0dc1158ea6a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:11:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:11:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:11:05 ========================================================= 21:11:05 EdgeX Global Pipelines Version Info 21:11:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1f6039b18896faecbd5c5f733dad885955eb8611 # timeout=10 21:11:06 ------------------- 21:11:06 stable info: 21:11:06 ------------------- 21:11:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:11:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:11:06 Message: update stable to v1.0.244 21:11:07 ------------------- 21:11:07 experimental info: 21:11:07 ------------------- 21:11:07 Commited By: **** collab-it+edgex@linuxfoundation.org 21:11:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:11:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-129 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-129 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-129 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17a79fb [Pipeline] echo 21:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:07 provisioning config files... 21:11:07 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/config17243259448607048475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:08 ---> docker-login.sh 21:11:08 nexus3.edgexfoundry.org:10001 21:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:08 Configure a credential helper to remove this warning. See 21:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:08 21:11:08 Login Succeeded 21:11:08 nexus3.edgexfoundry.org:10002 21:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:08 Configure a credential helper to remove this warning. See 21:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:08 21:11:08 Login Succeeded 21:11:08 nexus3.edgexfoundry.org:10003 21:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:08 Configure a credential helper to remove this warning. See 21:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:08 21:11:08 Login Succeeded 21:11:08 nexus3.edgexfoundry.org:10004 21:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:08 Configure a credential helper to remove this warning. See 21:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:08 21:11:08 Login Succeeded 21:11:08 docker.io 21:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:09 Configure a credential helper to remove this warning. See 21:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:09 21:11:09 Login Succeeded 21:11:09 ---> docker-login.sh ends [Pipeline] } 21:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:11:09 + git rev-list -1 --merges 17a79fbd388b228fcae3e4baa21b78e8a03b35c9~1..17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [Pipeline] echo 21:11:09 -----------> git rev-list -1 --merges 17a79fbd388b228fcae3e4baa21b78e8a03b35c9~1..17a79fbd388b228fcae3e4baa21b78e8a03b35c9 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [false] [Pipeline] sh 21:11:10 + git log --format=format:%s -1 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [Pipeline] echo 21:11:10 ========================================================= 21:11:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:11:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:10 + git log --format=format:%s -1 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [Pipeline] echo 21:11:10 [semverPrep] GIT_COMMIT: 17a79fbd388b228fcae3e4baa21b78e8a03b35c9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:11:10 [semverPrep] This is not a build commit. [Pipeline] sh 21:11:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:10 + grep -v github /etc/ssh/ssh_known_hosts 21:11:10 + [ -e /tmp/ssh_known_hosts ] 21:11:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:11:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:11:10 + sudo tee -a /etc/ssh/ssh_known_hosts 21:11:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:11 21:11:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:11 0.1.4: Pulling from edgex-devops/py-git-semver 21:11:11 b85a868b505f: Pulling fs layer 21:11:11 e2be974225ed: Pulling fs layer 21:11:11 339a4e72a1f5: Pulling fs layer 21:11:11 988bab9f4d93: Pulling fs layer 21:11:11 1469e6f7b9e6: Pulling fs layer 21:11:11 eaf3925da568: Pulling fs layer 21:11:11 bab4dde63d76: Pulling fs layer 21:11:11 bde34c3a00c8: Pulling fs layer 21:11:11 b352a97aabf1: Pulling fs layer 21:11:11 4872d77fe225: Pulling fs layer 21:11:11 5851b861e8e6: Pulling fs layer 21:11:11 1469e6f7b9e6: Waiting 21:11:11 eaf3925da568: Waiting 21:11:11 bab4dde63d76: Waiting 21:11:11 bde34c3a00c8: Waiting 21:11:11 b352a97aabf1: Waiting 21:11:11 4872d77fe225: Waiting 21:11:11 5851b861e8e6: Waiting 21:11:11 988bab9f4d93: Waiting 21:11:11 e2be974225ed: Download complete 21:11:11 988bab9f4d93: Verifying Checksum 21:11:11 988bab9f4d93: Download complete 21:11:11 1469e6f7b9e6: Verifying Checksum 21:11:11 1469e6f7b9e6: Download complete 21:11:11 339a4e72a1f5: Verifying Checksum 21:11:11 339a4e72a1f5: Download complete 21:11:11 eaf3925da568: Verifying Checksum 21:11:11 eaf3925da568: Download complete 21:11:11 bde34c3a00c8: Download complete 21:11:11 b352a97aabf1: Download complete 21:11:11 4872d77fe225: Verifying Checksum 21:11:11 4872d77fe225: Download complete 21:11:11 5851b861e8e6: Download complete 21:11:11 b85a868b505f: Verifying Checksum 21:11:11 b85a868b505f: Download complete 21:11:12 bab4dde63d76: Verifying Checksum 21:11:12 bab4dde63d76: Download complete 21:11:13 b85a868b505f: Pull complete 21:11:13 e2be974225ed: Pull complete 21:11:13 339a4e72a1f5: Pull complete 21:11:13 988bab9f4d93: Pull complete 21:11:14 1469e6f7b9e6: Pull complete 21:11:14 eaf3925da568: Pull complete 21:11:16 bab4dde63d76: Pull complete 21:11:16 bde34c3a00c8: Pull complete 21:11:16 b352a97aabf1: Pull complete 21:11:16 4872d77fe225: Pull complete 21:11:16 5851b861e8e6: Pull complete 21:11:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:16 prd-ubuntu20.04-docker-8c-8g-1687 does not seem to be running inside a container 21:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-129 -v /w/workspace/undry_device-rfid-llrp-go_PR-129:/w/workspace/undry_device-rfid-llrp-go_PR-129:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:19 $ docker top 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c -eo pid,comm 21:11:19 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:11:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:19 [ssh-agent] Looking for ssh-agent implementation... 21:11:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:19 $ docker exec 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c ssh-agent 21:11:19 SSH_AUTH_SOCK=/tmp/ssh-BPi61zMan1yY/agent.32 21:11:19 SSH_AGENT_PID=38 21:11:19 Running ssh-add (command line suppressed) 21:11:19 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/private_key_4595615736986647756.key (/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/private_key_4595615736986647756.key) 21:11:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:19 + git tag --points-at HEAD [Pipeline] } 21:11:19 $ docker exec --env ******** --env ******** 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c ssh-agent -k 21:11:20 unset SSH_AUTH_SOCK; 21:11:20 unset SSH_AGENT_PID; 21:11:20 echo Agent pid 38 killed; 21:11:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:11:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:20 [ssh-agent] Looking for ssh-agent implementation... 21:11:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:20 $ docker exec 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c ssh-agent 21:11:20 SSH_AUTH_SOCK=/tmp/ssh-VmGpPpE8ZyCl/agent.71 21:11:20 SSH_AGENT_PID=77 21:11:20 Running ssh-add (command line suppressed) 21:11:20 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/private_key_16313654460629854524.key (/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/private_key_16313654460629854524.key) 21:11:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:20 + git semver init 21:11:21 2023-01-10 21:11:20,962 [run_init] DEBUG init version:0.0.0 force:False 21:11:21 2023-01-10 21:11:20,963 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver 21:11:21 2023-01-10 21:11:20,963 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-129/.semver 21:11:21 2023-01-10 21:11:20,963 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-129, universal_newlines=False, shell=None, istream=None) 21:11:23 2023-01-10 21:11:23,115 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-129/.git/info/exclude 21:11:23 2023-01-10 21:11:23,116 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver/PR-129 with force:False 21:11:23 2023-01-10 21:11:23,116 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver/PR-129 21:11:23 2023-01-10 21:11:23,119 [execute] INFO git cat-file --batch-check 21:11:23 2023-01-10 21:11:23,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver, universal_newlines=False, shell=None, istream=) 21:11:23 2023-01-10 21:11:23,127 [execute] INFO git cat-file --batch 21:11:23 2023-01-10 21:11:23,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-129/.semver, universal_newlines=False, shell=None, istream=) 21:11:23 2023-01-10 21:11:23,132 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-129/.semver/PR-129 21:11:23 0.0.0 [Pipeline] } 21:11:23 $ docker exec --env ******** --env ******** 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c ssh-agent -k 21:11:23 unset SSH_AUTH_SOCK; 21:11:23 unset SSH_AGENT_PID; 21:11:23 echo Agent pid 77 killed; 21:11:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:23 + git semver [Pipeline] } 21:11:24 $ docker stop --time=1 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c 21:11:25 $ docker rm -f --volumes 62fd740ea308809f7e67848aa019bc362b8e98d2aa5e466c32b3c9a37e7e857c [Pipeline] // withDockerContainer [Pipeline] sh 21:11:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:11:26 Stashed 1 file(s) [Pipeline] echo 21:11:26 [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:11:26 provisioning config files... 21:11:26 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/config3247453489638532109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:26 ---> docker-login.sh 21:11:26 nexus3.edgexfoundry.org:10001 21:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:26 Configure a credential helper to remove this warning. See 21:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:26 21:11:26 Login Succeeded 21:11:26 nexus3.edgexfoundry.org:10002 21:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:26 Configure a credential helper to remove this warning. See 21:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:26 21:11:26 Login Succeeded 21:11:26 nexus3.edgexfoundry.org:10003 21:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:27 Configure a credential helper to remove this warning. See 21:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:27 21:11:27 Login Succeeded 21:11:27 nexus3.edgexfoundry.org:10004 21:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:27 Configure a credential helper to remove this warning. See 21:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:27 21:11:27 Login Succeeded 21:11:27 docker.io 21:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:27 Configure a credential helper to remove this warning. See 21:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:27 21:11:27 Login Succeeded 21:11:27 ---> docker-login.sh ends [Pipeline] } 21:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:27 ========================================================= 21:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:11:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:11:27 Sending build context to Docker daemon 4.13MB 21:11:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:11:27 Step 2/12 : FROM ${BASE} AS builder 21:11:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:11:27 213ec9aee27d: Pulling fs layer 21:11:27 4583459ba037: Pulling fs layer 21:11:27 93c1e223e6f2: Pulling fs layer 21:11:27 53926ce57604: Pulling fs layer 21:11:27 21b2b0c7a3f4: Pulling fs layer 21:11:27 22ff95d597cd: Pulling fs layer 21:11:27 12d6caf4c0d1: Pulling fs layer 21:11:27 96b7cbca73a9: Pulling fs layer 21:11:27 a7acece74701: Pulling fs layer 21:11:27 21b2b0c7a3f4: Waiting 21:11:27 22ff95d597cd: Waiting 21:11:27 12d6caf4c0d1: Waiting 21:11:27 96b7cbca73a9: Waiting 21:11:27 a7acece74701: Waiting 21:11:27 53926ce57604: Waiting 21:11:27 93c1e223e6f2: Download complete 21:11:27 4583459ba037: Verifying Checksum 21:11:27 4583459ba037: Download complete 21:11:27 21b2b0c7a3f4: Verifying Checksum 21:11:27 21b2b0c7a3f4: Download complete 21:11:28 22ff95d597cd: Verifying Checksum 21:11:28 22ff95d597cd: Download complete 21:11:28 213ec9aee27d: Verifying Checksum 21:11:28 12d6caf4c0d1: Download complete 21:11:28 213ec9aee27d: Pull complete 21:11:28 4583459ba037: Pull complete 21:11:28 93c1e223e6f2: Pull complete 21:11:28 a7acece74701: Verifying Checksum 21:11:28 a7acece74701: Download complete 21:11:28 53926ce57604: Verifying Checksum 21:11:28 53926ce57604: Download complete 21:11:28 96b7cbca73a9: Verifying Checksum 21:11:28 96b7cbca73a9: Download complete 21:11:33 53926ce57604: Pull complete 21:11:33 21b2b0c7a3f4: Pull complete 21:11:33 22ff95d597cd: Pull complete 21:11:33 12d6caf4c0d1: Pull complete 21:11:35 96b7cbca73a9: Pull complete 21:11:36 a7acece74701: Pull complete 21:11:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:11:36 ---> db6d94c90886 21:11:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:11:40 ---> Running in d313c90335ad 21:11:40 Removing intermediate container d313c90335ad 21:11:40 ---> e99531596385 21:11:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:40 ---> Running in 3b9bbf1c4fca 21:11:40 Removing intermediate container 3b9bbf1c4fca 21:11:40 ---> d5e0e38e8286 21:11:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:11:40 ---> Running in cee4f5289561 21:11:40 Removing intermediate container cee4f5289561 21:11:40 ---> 992b51c7126a 21:11:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:11:40 ---> Running in d08b048174bc 21:11:40 Removing intermediate container d08b048174bc 21:11:40 ---> d35bca6e9cab 21:11:40 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:40 ---> Running in 9e4a03efc8c2 21:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:11:41 Still waiting to schedule task 21:11:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:11:41 OK: 211 MiB in 51 packages 21:11:41 Removing intermediate container 9e4a03efc8c2 21:11:41 ---> 15c44318c703 21:11:41 Step 8/12 : WORKDIR /app 21:11:41 ---> Running in 6b18a8a8253d 21:11:41 Removing intermediate container 6b18a8a8253d 21:11:41 ---> 2017f234582d 21:11:41 Step 9/12 : COPY go.mod vendor* ./ 21:11:42 ---> 7839ed54e066 21:11:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:42 ---> Running in a9272f17defc 21:12:08 Removing intermediate container a9272f17defc 21:12:08 ---> f050e814f8c2 21:12:08 Step 11/12 : COPY . . 21:12:08 ---> 978c04133e75 21:12:08 Step 12/12 : RUN $MAKE 21:12:08 ---> Running in ad8efe8273d3 21:12:08 noop 21:12:08 Removing intermediate container ad8efe8273d3 21:12:08 ---> 70465943e6dc 21:12:08 Successfully built 70465943e6dc 21:12:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:09 + docker inspect -f . ci-base-image-x86_64 21:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:09 prd-ubuntu20.04-docker-8c-8g-1687 does not seem to be running inside a container 21:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-129 -v /w/workspace/undry_device-rfid-llrp-go_PR-129:/w/workspace/undry_device-rfid-llrp-go_PR-129:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:12:09 $ docker top c0f9fb41353d18db2d925c390fb63e64233447181598ffd098da815c83fd4427 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:09 + go version 21:12:09 go version go1.18.7 linux/amd64 [Pipeline] } 21:12:09 $ docker stop --time=1 c0f9fb41353d18db2d925c390fb63e64233447181598ffd098da815c83fd4427 21:12:11 $ docker rm -f --volumes c0f9fb41353d18db2d925c390fb63e64233447181598ffd098da815c83fd4427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:11 + docker inspect -f . ci-base-image-x86_64 21:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:11 prd-ubuntu20.04-docker-8c-8g-1687 does not seem to be running inside a container 21:12:11 $ 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-129 -v /w/workspace/undry_device-rfid-llrp-go_PR-129:/w/workspace/undry_device-rfid-llrp-go_PR-129:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:12:11 $ docker top b17f0536cfe05164f0518b63c48c65424ecc208aca10371bf6dae096ba294e01 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:12 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-129 [Pipeline] fileExists [Pipeline] sh 21:12:12 + make test 21:12:12 go test ./... -coverprofile=coverage.out ./... 21:12:12 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:12:22 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:12:22 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:12:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.673s coverage: 38.5% of statements 21:12:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.248s coverage: 52.0% of statements 21:12:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.048s coverage: 95.5% of statements 21:12:36 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:12:36 go vet ./... 21:12:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:40 ./bin/test-attribution-txt.sh [Pipeline] echo 21:12:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:40 $ docker stop --time=1 b17f0536cfe05164f0518b63c48c65424ecc208aca10371bf6dae096ba294e01 21:12:43 $ docker rm -f --volumes b17f0536cfe05164f0518b63c48c65424ecc208aca10371bf6dae096ba294e01 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:44 + ls -al . 21:12:44 total 644 21:12:44 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:12 . 21:12:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:11 .. 21:12:44 -rw-rw-r-- 1 jenkins jenkins 134 Jan 10 21:11 .dockerignore 21:12:44 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:12 .git 21:12:44 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:11 .github 21:12:44 -rw-rw-r-- 1 jenkins jenkins 946 Jan 10 21:11 .gitignore 21:12:44 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:11 .golangci.yml 21:12:44 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:11 .semver 21:12:44 -rw-rw-r-- 1 jenkins jenkins 10896 Jan 10 21:11 Attribution.txt 21:12:44 -rw-rw-r-- 1 jenkins jenkins 5905 Jan 10 21:11 CHANGELOG.md 21:12:44 -rw-rw-r-- 1 jenkins jenkins 1347 Jan 10 21:11 Dockerfile 21:12:44 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:11 GOVERNANCE.md 21:12:44 -rw-rw-r-- 1 jenkins jenkins 683 Jan 10 21:11 Jenkinsfile 21:12:44 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 10 21:11 LICENSE 21:12:44 -rw-rw-r-- 1 jenkins jenkins 2018 Jan 10 21:11 Makefile 21:12:44 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 21:11 OWNERS.md 21:12:44 -rw-rw-r-- 1 jenkins jenkins 28496 Jan 10 21:11 README.md 21:12:44 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:11 VERSION 21:12:44 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:11 bin 21:12:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:11 cmd 21:12:44 -rw-r--r-- 1 jenkins jenkins 460049 Jan 10 21:12 coverage.out 21:12:44 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:11 examples 21:12:44 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 10 21:11 go.mod 21:12:44 -rw-rw-r-- 1 jenkins jenkins 44766 Jan 10 21:11 go.sum 21:12:44 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:11 images 21:12:44 drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 21:11 internal 21:12:44 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:11 snap 21:12:44 -rw-rw-r-- 1 jenkins jenkins 193 Jan 10 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:44 + 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=17a79fbd388b228fcae3e4baa21b78e8a03b35c9 --label arch=amd64 --label version=0.0.0 . 21:12:44 Sending build context to Docker daemon 4.13MB 21:12:44 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:12:44 Step 2/24 : FROM ${BASE} AS builder 21:12:44 ---> 70465943e6dc 21:12:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:12:44 ---> Running in c3471d49a621 21:12:44 Removing intermediate container c3471d49a621 21:12:44 ---> 57df266b4bfc 21:12:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:44 ---> Running in 9a1b2147b4fb 21:12:44 Removing intermediate container 9a1b2147b4fb 21:12:44 ---> 101238eb655c 21:12:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:12:45 ---> Running in 36579ce96b56 21:12:45 Removing intermediate container 36579ce96b56 21:12:45 ---> 9a58f1d16dff 21:12:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:12:45 ---> Running in 6fe9411895a2 21:12:45 Removing intermediate container 6fe9411895a2 21:12:45 ---> 9fbc35fb9564 21:12:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:45 ---> Running in 9f5cc8426693 21:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:45 OK: 211 MiB in 51 packages 21:12:46 Removing intermediate container 9f5cc8426693 21:12:46 ---> d6ac8e9028bf 21:12:46 Step 8/24 : WORKDIR /app 21:12:46 ---> Running in ec4255ef1164 21:12:46 Removing intermediate container ec4255ef1164 21:12:46 ---> b9003d01fb7b 21:12:46 Step 9/24 : COPY go.mod vendor* ./ 21:12:46 ---> 7b28149f7f49 21:12:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:46 ---> Running in cdafc8e81988 21:12:47 Removing intermediate container cdafc8e81988 21:12:47 ---> ad17749119e6 21:12:47 Step 11/24 : COPY . . 21:12:47 ---> 5f5bda080e96 21:12:47 Step 12/24 : RUN $MAKE 21:12:47 ---> Running in 750da6dbfe66 21:12:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:13:10 Removing intermediate container 750da6dbfe66 21:13:10 ---> 016ff692ead4 21:13:10 Step 13/24 : FROM alpine:3.16 21:13:10 3.16: Pulling from library/alpine 21:13:10 ca7dd9ec2225: Pulling fs layer 21:13:10 ca7dd9ec2225: Verifying Checksum 21:13:10 ca7dd9ec2225: Download complete 21:13:10 ca7dd9ec2225: Pull complete 21:13:10 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:13:10 Status: Downloaded newer image for alpine:3.16 21:13:10 ---> bfe296a52501 21:13:10 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:10 ---> Running in f72d87783484 21:13:10 Removing intermediate container f72d87783484 21:13:10 ---> 29c518f2d187 21:13:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:13:10 ---> Running in 039f067d1610 21:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:13:10 (1/1) Installing dumb-init (1.2.5-r1) 21:13:10 Executing busybox-1.35.0-r17.trigger 21:13:10 OK: 6 MiB in 15 packages 21:13:10 Removing intermediate container 039f067d1610 21:13:10 ---> 2b03eb297a4d 21:13:10 Step 16/24 : COPY --from=builder /app/LICENSE / 21:13:10 ---> 413835086ac8 21:13:10 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:13:10 ---> 52ec8f45b281 21:13:10 Step 18/24 : COPY --from=builder /app/cmd/ / 21:13:10 ---> f56b3988e974 21:13:10 Step 19/24 : EXPOSE 59989 21:13:10 ---> Running in 6f9ac952fe65 21:13:10 Removing intermediate container 6f9ac952fe65 21:13:10 ---> caeab3b000cb 21:13:10 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:13:10 ---> Running in 424ce27dbf03 21:13:10 Removing intermediate container 424ce27dbf03 21:13:10 ---> f49a5dcd6013 21:13:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:13:10 ---> Running in 1b5df99750e1 21:13:10 Removing intermediate container 1b5df99750e1 21:13:10 ---> 1186a1609733 21:13:10 Step 22/24 : LABEL arch=amd64 21:13:10 ---> Running in 14b5d2aa2a26 21:13:10 Removing intermediate container 14b5d2aa2a26 21:13:10 ---> c532a5057839 21:13:10 Step 23/24 : LABEL git_sha=17a79fbd388b228fcae3e4baa21b78e8a03b35c9 21:13:10 ---> Running in 0ce6b6544edb 21:13:10 Removing intermediate container 0ce6b6544edb 21:13:10 ---> bd1b762d8215 21:13:10 Step 24/24 : LABEL version=0.0.0 21:13:10 ---> Running in 388471097b17 21:13:10 Removing intermediate container 388471097b17 21:13:10 ---> ae4d7d503923 21:13:10 [Warning] One or more build-args [ARCH] were not consumed 21:13:10 Successfully built ae4d7d503923 21:13:10 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:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:11 21:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:11 latest: Pulling from edgex-lftools-log-publisher 21:13:11 5eb5b503b376: Pulling fs layer 21:13:11 5c69ac0246d0: Pulling fs layer 21:13:11 ec43610c2a17: Pulling fs layer 21:13:11 3a2ae6a8a46f: Pulling fs layer 21:13:11 33b1e0a273af: Pulling fs layer 21:13:11 5d3b04190fa2: Pulling fs layer 21:13:11 2f39f015ded8: Pulling fs layer 21:13:11 33b1e0a273af: Waiting 21:13:11 2f39f015ded8: Waiting 21:13:11 5d3b04190fa2: Waiting 21:13:11 3a2ae6a8a46f: Waiting 21:13:11 5c69ac0246d0: Download complete 21:13:11 3a2ae6a8a46f: Download complete 21:13:11 ec43610c2a17: Verifying Checksum 21:13:11 ec43610c2a17: Download complete 21:13:11 33b1e0a273af: Verifying Checksum 21:13:11 33b1e0a273af: Download complete 21:13:11 5d3b04190fa2: Download complete 21:13:11 5eb5b503b376: Verifying Checksum 21:13:11 5eb5b503b376: Download complete 21:13:12 2f39f015ded8: Download complete 21:13:13 5eb5b503b376: Pull complete 21:13:13 5c69ac0246d0: Pull complete 21:13:13 ec43610c2a17: Pull complete 21:13:13 3a2ae6a8a46f: Pull complete 21:13:13 33b1e0a273af: Pull complete 21:13:14 5d3b04190fa2: Pull complete 21:13:18 2f39f015ded8: Pull complete 21:13:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:18 prd-ubuntu20.04-docker-8c-8g-1687 does not seem to be running inside a container 21:13:18 $ 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-129 -v /w/workspace/undry_device-rfid-llrp-go_PR-129:/w/workspace/undry_device-rfid-llrp-go_PR-129:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:13:21 $ docker top db5edda56acbcc15847eafa7e6be21c2833c02e01b2eaf02c0b2c15146159d9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:21 ---> job-cost.sh 21:13:21 lf-activate-venv: SKIPPING 21:13:21 INFO: No Stack... 21:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:22 INFO: Archiving Costs [Pipeline] sh 21:13:22 + cat /w/workspace/undry_device-rfid-llrp-go_PR-129/archives/cost.csv 21:13:22 + cut -d, -f6 [Pipeline] lock 21:13:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] 21:13:22 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] did not exist. Created. 21:13:22 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:13:23 Stashed 1 file(s) [Pipeline] } 21:13:23 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:23 $ docker stop --time=1 db5edda56acbcc15847eafa7e6be21c2833c02e01b2eaf02c0b2c15146159d9f 21:13:24 $ docker rm -f --volumes db5edda56acbcc15847eafa7e6be21c2833c02e01b2eaf02c0b2c15146159d9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:14:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1692 in /w/workspace/undry_device-rfid-llrp-go_PR-129 [Pipeline] { [Pipeline] ws 21:14:48 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 21:14:48 Selected Git installation does not exist. Using Default 21:14:48 The recommended git tool is: NONE 21:14:59 using credential edgex-jenkins-ssh 21:14:59 Cloning the remote Git repository 21:14:59 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:14:59 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 21:15:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:15:00 > git --version # timeout=10 21:15:00 > git --version # 'git version 2.25.1' 21:15:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:15:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:15:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:15:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/129/head:refs/remotes/origin/PR-129 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:15:03 Merging remotes/origin/main commit ca5f12e3f5b0dcc2e9f99ab405ce0dc1158ea6a8 into PR head commit 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 21:15:03 Merge succeeded, producing 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 21:15:03 Checking out Revision 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 (PR-129) 21:15:04 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 21:15:03 > git config core.sparsecheckout # timeout=10 21:15:03 > git checkout -f 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 # timeout=10 21:15:03 > git remote # timeout=10 21:15:03 > git config --get remote.origin.url # timeout=10 21:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:03 > git merge ca5f12e3f5b0dcc2e9f99ab405ce0dc1158ea6a8 # timeout=10 21:15:03 > git rev-parse HEAD^{commit} # timeout=10 21:15:03 > git config core.sparsecheckout # timeout=10 21:15:03 > git checkout -f 17a79fbd388b228fcae3e4baa21b78e8a03b35c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:15:05 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:05 Dload Upload Total Spent Left Speed 21:15:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63123 0 --:--:-- --:--:-- --:--:-- 63123 [Pipeline] sh 21:15:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:15:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:15:06 + sudo tee /etc/docker/daemon.new 21:15:06 { 21:15:06 "registry-mirrors": [ 21:15:06 "https://nexus3.edgexfoundry.org:10001" 21:15:06 ], 21:15:06 "bip": "10.250.0.254/24", 21:15:06 "hosts": [ 21:15:06 "tcp://0.0.0.0:5555", 21:15:06 "unix:///var/run/docker.sock" 21:15:06 ], 21:15:06 "mtu": 1458, 21:15:06 "selinux-enabled": true, 21:15:06 "seccomp-profile": "/etc/docker/seccomp.json" 21:15:06 } [Pipeline] sh 21:15:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:15:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:25 provisioning config files... 21:15:25 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config14144627556718761494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:26 ---> docker-login.sh 21:15:26 nexus3.edgexfoundry.org:10001 21:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:27 Configure a credential helper to remove this warning. See 21:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:27 21:15:27 Login Succeeded 21:15:27 nexus3.edgexfoundry.org:10002 21:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:27 Configure a credential helper to remove this warning. See 21:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:27 21:15:27 Login Succeeded 21:15:27 nexus3.edgexfoundry.org:10003 21:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:28 Configure a credential helper to remove this warning. See 21:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:28 21:15:28 Login Succeeded 21:15:28 nexus3.edgexfoundry.org:10004 21:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:28 Configure a credential helper to remove this warning. See 21:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:28 21:15:28 Login Succeeded 21:15:28 docker.io 21:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:28 Configure a credential helper to remove this warning. See 21:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:28 21:15:28 Login Succeeded 21:15:28 ---> docker-login.sh ends [Pipeline] } 21:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:29 ========================================================= 21:15:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:15:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:15:29 Sending build context to Docker daemon 1.222MB 21:15:29 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:15:29 Step 2/12 : FROM ${BASE} AS builder 21:15:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:15:30 9b18e9b68314: Pulling fs layer 21:15:30 35d82f9e3411: Pulling fs layer 21:15:30 e16973657156: Pulling fs layer 21:15:30 fc693d55d65f: Pulling fs layer 21:15:30 7e9fc2657dce: Pulling fs layer 21:15:30 dda99020689f: Pulling fs layer 21:15:30 db1c61fa0a46: Pulling fs layer 21:15:30 891c053d2c06: Pulling fs layer 21:15:30 fc693d55d65f: Waiting 21:15:30 7e9fc2657dce: Waiting 21:15:30 dda99020689f: Waiting 21:15:30 db1c61fa0a46: Waiting 21:15:30 891c053d2c06: Waiting 21:15:30 e16973657156: Verifying Checksum 21:15:30 e16973657156: Download complete 21:15:30 35d82f9e3411: Verifying Checksum 21:15:30 35d82f9e3411: Download complete 21:15:30 7e9fc2657dce: Verifying Checksum 21:15:30 7e9fc2657dce: Download complete 21:15:30 dda99020689f: Verifying Checksum 21:15:30 dda99020689f: Download complete 21:15:30 9b18e9b68314: Verifying Checksum 21:15:31 9b18e9b68314: Pull complete 21:15:31 891c053d2c06: Download complete 21:15:32 35d82f9e3411: Pull complete 21:15:32 e16973657156: Pull complete 21:15:33 db1c61fa0a46: Verifying Checksum 21:15:33 db1c61fa0a46: Download complete 21:15:34 fc693d55d65f: Verifying Checksum 21:15:34 fc693d55d65f: Download complete 21:15:49 fc693d55d65f: Pull complete 21:15:49 7e9fc2657dce: Pull complete 21:15:49 dda99020689f: Pull complete 21:15:57 db1c61fa0a46: Pull complete 21:16:00 891c053d2c06: Pull complete 21:16:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:16:00 ---> f96f9c87975a 21:16:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:16:01 ---> Running in 1e2c67ff2b02 21:16:01 Removing intermediate container 1e2c67ff2b02 21:16:01 ---> cde389806f52 21:16:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:01 ---> Running in c8280cbc1d08 21:16:01 Removing intermediate container c8280cbc1d08 21:16:01 ---> 736991014361 21:16:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:16:01 ---> Running in 5f6c90ef2992 21:16:02 Removing intermediate container 5f6c90ef2992 21:16:02 ---> d04f421e2681 21:16:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:16:02 ---> Running in 9df32cc8bfef 21:16:02 Removing intermediate container 9df32cc8bfef 21:16:02 ---> 80d43d1b30d1 21:16:02 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:02 ---> Running in 38b9d6c80994 21:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:16:05 OK: 221 MiB in 51 packages 21:16:06 Removing intermediate container 38b9d6c80994 21:16:06 ---> 0c9a43e38aed 21:16:06 Step 8/12 : WORKDIR /app 21:16:06 ---> Running in 631ae2f71591 21:16:07 Removing intermediate container 631ae2f71591 21:16:07 ---> 005468b8a2ca 21:16:07 Step 9/12 : COPY go.mod vendor* ./ 21:16:07 ---> 64b4e4adf8f6 21:16:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:08 ---> Running in 74ef5c623121 21:17:16 Removing intermediate container 74ef5c623121 21:17:16 ---> 621b2794a67c 21:17:16 Step 11/12 : COPY . . 21:17:16 ---> 52415fac26fa 21:17:16 Step 12/12 : RUN $MAKE 21:17:16 ---> Running in a605ab8719ab 21:17:16 noop 21:17:16 Removing intermediate container a605ab8719ab 21:17:16 ---> 880eea9fa143 21:17:16 Successfully built 880eea9fa143 21:17:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:16 + docker inspect -f . ci-base-image-arm64 21:17:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:17 prd-ubuntu20.04-docker-arm64-4c-16g-1692 does not seem to be running inside a container 21:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:17:18 $ docker top 9cfa015765cc02ae7a0e06956d1639700e7364903f9f56b32ae90490a283cf8b -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:19 + go version 21:17:19 go version go1.18.7 linux/arm64 [Pipeline] } 21:17:19 $ docker stop --time=1 9cfa015765cc02ae7a0e06956d1639700e7364903f9f56b32ae90490a283cf8b 21:17:21 $ docker rm -f --volumes 9cfa015765cc02ae7a0e06956d1639700e7364903f9f56b32ae90490a283cf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:21 + docker inspect -f . ci-base-image-arm64 21:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:22 prd-ubuntu20.04-docker-arm64-4c-16g-1692 does not seem to be running inside a container 21:17:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:17:23 $ docker top 0bc7af561eff66914c38814bd2e92854f4eeebcba2399f10d640805e1e483d2e -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:24 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/3 [Pipeline] fileExists [Pipeline] sh 21:17:25 + make test 21:17:25 go test ./... -coverprofile=coverage.out ./... 21:17:27 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:19:18 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:19:18 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:19:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 31.310s coverage: 38.5% of statements 21:19:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.530s coverage: 52.0% of statements 21:19:51 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.028s coverage: 95.5% of statements 21:19:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:19:51 go vet ./... 21:20:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:20:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:20:17 ./bin/test-attribution-txt.sh [Pipeline] echo 21:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:20:17 $ docker stop --time=1 0bc7af561eff66914c38814bd2e92854f4eeebcba2399f10d640805e1e483d2e 21:20:19 $ docker rm -f --volumes 0bc7af561eff66914c38814bd2e92854f4eeebcba2399f10d640805e1e483d2e [Pipeline] // withDockerContainer [Pipeline] sh 21:20:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:20:20 Warning: overwriting stash ‘coverage-report’ 21:20:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:20:22 + ls -al . 21:20:22 total 640 21:20:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:17 . 21:20:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:15 .. 21:20:22 -rw-rw-r-- 1 jenkins jenkins 134 Jan 10 21:15 .dockerignore 21:20:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:15 .git 21:20:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:15 .github 21:20:22 -rw-rw-r-- 1 jenkins jenkins 946 Jan 10 21:15 .gitignore 21:20:22 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:15 .golangci.yml 21:20:22 -rw-rw-r-- 1 jenkins jenkins 10896 Jan 10 21:15 Attribution.txt 21:20:22 -rw-rw-r-- 1 jenkins jenkins 5905 Jan 10 21:15 CHANGELOG.md 21:20:22 -rw-rw-r-- 1 jenkins jenkins 1347 Jan 10 21:15 Dockerfile 21:20:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:15 GOVERNANCE.md 21:20:22 -rw-rw-r-- 1 jenkins jenkins 683 Jan 10 21:15 Jenkinsfile 21:20:22 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 10 21:15 LICENSE 21:20:22 -rw-rw-r-- 1 jenkins jenkins 2018 Jan 10 21:15 Makefile 21:20:22 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 21:15 OWNERS.md 21:20:22 -rw-rw-r-- 1 jenkins jenkins 28496 Jan 10 21:15 README.md 21:20:22 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:11 VERSION 21:20:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:15 bin 21:20:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:15 cmd 21:20:22 -rw-r--r-- 1 jenkins jenkins 460049 Jan 10 21:19 coverage.out 21:20:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:15 examples 21:20:22 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 10 21:15 go.mod 21:20:22 -rw-rw-r-- 1 jenkins jenkins 44766 Jan 10 21:15 go.sum 21:20:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:15 images 21:20:22 drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 21:15 internal 21:20:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:15 snap 21:20:22 -rw-rw-r-- 1 jenkins jenkins 193 Jan 10 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:22 + 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=17a79fbd388b228fcae3e4baa21b78e8a03b35c9 --label arch=arm64 --label version=0.0.0 . 21:20:22 Sending build context to Docker daemon 1.222MB 21:20:22 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:20:22 Step 2/24 : FROM ${BASE} AS builder 21:20:22 ---> 880eea9fa143 21:20:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:20:23 ---> Running in 4372d481c6a6 21:20:23 Removing intermediate container 4372d481c6a6 21:20:23 ---> 63436efa4a5a 21:20:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:23 ---> Running in 822d8e1f2936 21:20:23 Removing intermediate container 822d8e1f2936 21:20:23 ---> 7406aa6be0ca 21:20:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:20:23 ---> Running in ff0ef93e9050 21:20:24 Removing intermediate container ff0ef93e9050 21:20:24 ---> 4227610b1abe 21:20:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:20:24 ---> Running in 022a9df79729 21:20:24 Removing intermediate container 022a9df79729 21:20:24 ---> 2b87442c68ab 21:20:24 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:24 ---> Running in a649bc92a365 21:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:20:27 OK: 221 MiB in 51 packages 21:20:27 Removing intermediate container a649bc92a365 21:20:27 ---> e75e8110fab5 21:20:27 Step 8/24 : WORKDIR /app 21:20:27 ---> Running in d9d702f96387 21:20:28 Removing intermediate container d9d702f96387 21:20:28 ---> 0529d68e8b23 21:20:28 Step 9/24 : COPY go.mod vendor* ./ 21:20:28 ---> 0211f7e35269 21:20:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:28 ---> Running in ab0ed4ac58ba 21:20:32 Removing intermediate container ab0ed4ac58ba 21:20:32 ---> 7bb52f3952fe 21:20:32 Step 11/24 : COPY . . 21:20:32 ---> 98cdf8c73eed 21:20:32 Step 12/24 : RUN $MAKE 21:20:32 ---> Running in 4535f21364b0 21:20:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:22:55 Removing intermediate container 4535f21364b0 21:22:55 ---> fd3e2d50317c 21:22:55 Step 13/24 : FROM alpine:3.16 21:22:55 3.16: Pulling from library/alpine 21:22:55 6875df1f5354: Pulling fs layer 21:22:55 6875df1f5354: Verifying Checksum 21:22:55 6875df1f5354: Download complete 21:22:55 6875df1f5354: Pull complete 21:22:55 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:22:55 Status: Downloaded newer image for alpine:3.16 21:22:55 ---> 2b4661558fb8 21:22:55 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:55 ---> Running in 07ff47ae44f6 21:22:56 Removing intermediate container 07ff47ae44f6 21:22:56 ---> 20e1d2f5ad3b 21:22:56 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:22:56 ---> Running in 1c3165cf86d1 21:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:22:58 (1/1) Installing dumb-init (1.2.5-r1) 21:22:58 Executing busybox-1.35.0-r17.trigger 21:22:59 OK: 5 MiB in 15 packages 21:23:00 Removing intermediate container 1c3165cf86d1 21:23:00 ---> 2685cc9b6529 21:23:00 Step 16/24 : COPY --from=builder /app/LICENSE / 21:23:01 ---> f802a25a0dd7 21:23:01 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:23:02 ---> 38853b597483 21:23:02 Step 18/24 : COPY --from=builder /app/cmd/ / 21:23:03 ---> 454179d0081b 21:23:03 Step 19/24 : EXPOSE 59989 21:23:03 ---> Running in 597c8b925a6e 21:23:03 Removing intermediate container 597c8b925a6e 21:23:03 ---> 993684944483 21:23:03 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:23:03 ---> Running in fdcb32754ea4 21:23:04 Removing intermediate container fdcb32754ea4 21:23:04 ---> 6d22872a13dd 21:23:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:23:04 ---> Running in 48b951a077ce 21:23:04 Removing intermediate container 48b951a077ce 21:23:04 ---> 87418747532c 21:23:04 Step 22/24 : LABEL arch=arm64 21:23:04 ---> Running in 4d18e7264600 21:23:05 Removing intermediate container 4d18e7264600 21:23:05 ---> fff33e587be7 21:23:05 Step 23/24 : LABEL git_sha=17a79fbd388b228fcae3e4baa21b78e8a03b35c9 21:23:05 ---> Running in 80ed503517a2 21:23:05 Removing intermediate container 80ed503517a2 21:23:05 ---> 95c58ab7ca6e 21:23:05 Step 24/24 : LABEL version=0.0.0 21:23:05 ---> Running in 92d066a563e5 21:23:05 Removing intermediate container 92d066a563e5 21:23:05 ---> 3dc870ea0cdc 21:23:05 [Warning] One or more build-args [ARCH] were not consumed 21:23:05 Successfully built 3dc870ea0cdc 21:23:05 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:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:06 21:23:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:06 arm64: Pulling from edgex-lftools-log-publisher 21:23:06 8998bd30e6a1: Pulling fs layer 21:23:06 04944245beec: Pulling fs layer 21:23:06 699f458cf7ca: Pulling fs layer 21:23:06 765212b225bb: Pulling fs layer 21:23:06 f23df028b6ca: Pulling fs layer 21:23:06 d65c8cfc05b1: Pulling fs layer 21:23:06 2437ff75d9bd: Pulling fs layer 21:23:06 765212b225bb: Waiting 21:23:06 f23df028b6ca: Waiting 21:23:06 d65c8cfc05b1: Waiting 21:23:06 2437ff75d9bd: Waiting 21:23:06 04944245beec: Verifying Checksum 21:23:06 04944245beec: Download complete 21:23:06 765212b225bb: Verifying Checksum 21:23:06 765212b225bb: Download complete 21:23:07 f23df028b6ca: Verifying Checksum 21:23:07 f23df028b6ca: Download complete 21:23:07 d65c8cfc05b1: Download complete 21:23:07 699f458cf7ca: Verifying Checksum 21:23:07 699f458cf7ca: Download complete 21:23:07 8998bd30e6a1: Verifying Checksum 21:23:07 8998bd30e6a1: Download complete 21:23:10 2437ff75d9bd: Verifying Checksum 21:23:10 2437ff75d9bd: Download complete 21:23:12 8998bd30e6a1: Pull complete 21:23:12 04944245beec: Pull complete 21:23:13 699f458cf7ca: Pull complete 21:23:13 765212b225bb: Pull complete 21:23:14 f23df028b6ca: Pull complete 21:23:14 d65c8cfc05b1: Pull complete 21:23:29 2437ff75d9bd: Pull complete 21:23:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:30 prd-ubuntu20.04-docker-arm64-4c-16g-1692 does not seem to be running inside a container 21:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:23:33 $ docker top 271ad249242d2fd2cdf3ef8fede1a0cefce98cddb526d1879048781a5bd19f66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:33 ---> job-cost.sh 21:23:33 lf-activate-venv: SKIPPING 21:23:33 INFO: No Stack... 21:23:34 INFO: Retrieving Pricing Info for: v3-standard-4 21:23:35 INFO: Archiving Costs [Pipeline] sh 21:23:35 + cut -d, -f6 21:23:35 + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csv [Pipeline] lock 21:23:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] 21:23:35 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] did not exist. Created. 21:23:35 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:36 /w/workspace/device-rfid-llrp-go/3@tmp/durable-3c5541de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:23:37 + echo total: 0.10999999940395355 [Pipeline] stash 21:23:37 Warning: overwriting stash ‘stack-cost’ 21:23:37 Stashed 1 file(s) [Pipeline] } 21:23:37 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-129-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:37 $ docker stop --time=1 271ad249242d2fd2cdf3ef8fede1a0cefce98cddb526d1879048781a5bd19f66 21:23:38 $ docker rm -f --volumes 271ad249242d2fd2cdf3ef8fede1a0cefce98cddb526d1879048781a5bd19f66 [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:23:39 provisioning config files... 21:23:39 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/config8020893840424790040tmp [Pipeline] { [Pipeline] sh 21:23:39 + set +x 21:23:39 + curl -s https://codecov.io/bash 21:23:39 + bash -s -- 21:23:39 21:23:39 _____ _ 21:23:39 / ____| | | 21:23:39 | | ___ __| | ___ ___ _____ __ 21:23:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:23:39 | |___| (_) | (_| | __/ (_| (_) \ V / 21:23:39 \_____\___/ \__,_|\___|\___\___/ \_/ 21:23:39 Bash-1.0.6 21:23:39 21:23:39 21:23:39 ==> git version 2.25.1 found 21:23:39 ==> 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:23:39 Release-Date: 2020-01-08 21:23:39 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:23:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:23:39 ==> Jenkins CI detected. 21:23:39 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-129 21:23:39 project root: . 21:23:39 --> token set from env 21:23:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:23:39 ==> Running gcov in . (disable via -X gcov) 21:23:39 ==> Python coveragepy not found 21:23:39 ==> Searching for coverage reports in: 21:23:39 + . 21:23:39 -> Found 1 reports 21:23:39 ==> Detecting git/mercurial file structure 21:23:39 ==> Reading reports 21:23:39 + ./coverage.out bytes=460049 21:23:39 ==> Appending adjustments 21:23:39 https://docs.codecov.io/docs/fixing-reports 21:23:39 + Found adjustments 21:23:39 ==> Gzipping contents 21:23:39 52K /tmp/codecov.0gz0Zy.gz 21:23:39 ==> Uploading reports 21:23:39 url: https://codecov.io 21:23:39 query: branch=PR-129&commit=17a79fbd388b228fcae3e4baa21b78e8a03b35c9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-129%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=129&job=&cmd_args= 21:23:39 -> Pinging Codecov 21:23:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-129&commit=17a79fbd388b228fcae3e4baa21b78e8a03b35c9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-129%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=129&job=&cmd_args= 21:23:40 -> Uploading to 21:23:40 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/581DD39554BDF9B6E22D074273EAD858/17a79fbd388b228fcae3e4baa21b78e8a03b35c9/2b9b10c4-a98a-4325-893b-4c400a2ab8f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T212340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5934a50b96971dee30e755058c0c22b41c12d158ca90066d3c9fff663624b59 21:23:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:40 Dload Upload Total Spent Left Speed 21:23:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51616 0 0 100 51616 0 248k --:--:-- --:--:-- --:--:-- 248k 100 51616 0 0 100 51616 0 181k --:--:-- --:--:-- --:--:-- 181k 21:23:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/17a79fbd388b228fcae3e4baa21b78e8a03b35c9 [Pipeline] } 21:23:40 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:23:41 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-129/archives ] 21:23:41 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-129/archives 21:23:41 total 16 21:23:41 drwxr-xr-x 3 root root 4096 Jan 10 21:13 . 21:23:41 drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 21:13 .. 21:23:41 drwxr-xr-x 2 root root 4096 Jan 10 21:13 cost 21:23:41 -rw-r--r-- 1 root root 91 Jan 10 21:13 cost.csv 21:23:41 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-129/archives 21:23:41 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-129/archives 21:23:41 total 16 21:23:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:13 . 21:23:41 drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 21:13 .. 21:23:41 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:13 cost 21:23:41 -rw-r--r-- 1 jenkins jenkins 91 Jan 10 21:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:23:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:23:42 ---> package-listing.sh 21:23:42 ++ facter osfamily 21:23:42 ++ tr '[:upper:]' '[:lower:]' 21:23:42 + OS_FAMILY=debian 21:23:42 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-129 21:23:42 + START_PACKAGES=/tmp/packages_start.txt 21:23:42 + END_PACKAGES=/tmp/packages_end.txt 21:23:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:23:42 + PACKAGES=/tmp/packages_start.txt 21:23:42 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-129 ']' 21:23:42 + PACKAGES=/tmp/packages_end.txt 21:23:42 + case "${OS_FAMILY}" in 21:23:42 + dpkg -l 21:23:42 + grep '^ii' 21:23:42 + '[' -f /tmp/packages_start.txt ']' 21:23:42 + '[' -f /tmp/packages_end.txt ']' 21:23:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:23:42 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-129 ']' 21:23:42 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-129/archives/ 21:23:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-129/archives/ [Pipeline] echo 21:23:42 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-129/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:23:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:43 prd-ubuntu20.04-docker-8c-8g-1687 does not seem to be running inside a container 21:23:43 $ 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-129/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-129 -v /w/workspace/undry_device-rfid-llrp-go_PR-129:/w/workspace/undry_device-rfid-llrp-go_PR-129:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-129@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-129@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:23:43 $ docker top 0eba5c741df6cd5b6098367ed6b7ac221602d2361e961eb8aebd6a32f5de42c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:44 + touch /tmp/pre-build-complete [Pipeline] sh 21:23:44 + mkdir -p /var/log/sysstat [Pipeline] sh 21:23:44 + ls /var/log/sa-host 21:23:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:44 provisioning config files... 21:23:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-129@tmp/config10350267171933481724tmp [Pipeline] { [Pipeline] echo 21:23:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:23:44 ---> create-netrc.sh [Pipeline] } 21:23:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:23:45 ---> python-tools-install.sh [Pipeline] echo 21:23:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:23:45 ---> sudo-logs.sh 21:23:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:23:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:23:45 ---> job-cost.sh 21:23:45 lf-activate-venv: SKIPPING 21:23:45 DEBUG: total: 0.2199999988079071 21:23:45 INFO: Retrieving Stack Cost... 21:23:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:47 INFO: Archiving Costs [Pipeline] echo 21:23:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:23:47 ---> logs-deploy.sh 21:23:47 lf-activate-venv: SKIPPING 21:23:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-129/3 21:23:47 INFO: archiving workspace using pattern(s): 21:23:48 Archives upload complete. 21:23:48 INFO: archiving logs to Nexus