Pull request #244 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-rfid-llrp-go Obtained Jenkinsfile from a868dd2155592cc5a40c6000cec3e8881bff3d34+2324491fcd83c67259ed47f9c53b07eaebff8e42 (adf85b3b9503b2a7c772ea4dbb2d3e4c31ef5d20) 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-ssh14751092426964664898.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15499819379903062656.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-244/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-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7492666219903380257.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3845293659625955106.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-244/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-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12431430219127936728.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4523 in /w/workspace/undry_device-rfid-llrp-go_PR-244 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-244 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2324491fcd83c67259ed47f9c53b07eaebff8e42 into PR head commit a868dd2155592cc5a40c6000cec3e8881bff3d34 Merge succeeded, producing a868dd2155592cc5a40c6000cec3e8881bff3d34 Checking out Revision a868dd2155592cc5a40c6000cec3e8881bff3d34 (PR-244) > git config core.sparsecheckout # timeout=10 > git checkout -f a868dd2155592cc5a40c6000cec3e8881bff3d34 # 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 2324491fcd83c67259ed47f9c53b07eaebff8e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a868dd2155592cc5a40c6000cec3e8881bff3d34 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git rev-list --no-walk 6ab07f27d51ff68aa89fe79c7217b0439e73b045 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:34:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:34:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:34:46 ========================================================= 07:34:46 EdgeX Global Pipelines Version Info 07:34:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:34:47 ------------------- 07:34:47 stable info: 07:34:47 ------------------- 07:34:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:34:47 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:34:47 Message: update stable to v1.0.253 07:34:48 ------------------- 07:34:48 experimental info: 07:34:48 ------------------- 07:34:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:34:48 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:34:48 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-244 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-244 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-244 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a868dd2155592cc5a40c6000cec3e8881bff3d34 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a868dd2 [Pipeline] echo 07:34:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:48 provisioning config files... 07:34:48 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/config10379344943859398529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:49 ---> docker-login.sh 07:34:49 nexus3.edgexfoundry.org:10001 07:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:49 Configure a credential helper to remove this warning. See 07:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:49 07:34:49 Login Succeeded 07:34:49 nexus3.edgexfoundry.org:10002 07:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:49 Configure a credential helper to remove this warning. See 07:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:49 07:34:49 Login Succeeded 07:34:49 nexus3.edgexfoundry.org:10003 07:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:49 Configure a credential helper to remove this warning. See 07:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:49 07:34:49 Login Succeeded 07:34:49 nexus3.edgexfoundry.org:10004 07:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:49 Configure a credential helper to remove this warning. See 07:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:49 07:34:49 Login Succeeded 07:34:49 docker.io 07:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:50 Configure a credential helper to remove this warning. See 07:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:50 07:34:50 Login Succeeded 07:34:50 ---> docker-login.sh ends [Pipeline] } 07:34:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:34:50 + git rev-list -1 --merges a868dd2155592cc5a40c6000cec3e8881bff3d34~1..a868dd2155592cc5a40c6000cec3e8881bff3d34 [Pipeline] echo 07:34:50 -----------> git rev-list -1 --merges a868dd2155592cc5a40c6000cec3e8881bff3d34~1..a868dd2155592cc5a40c6000cec3e8881bff3d34 a868dd2155592cc5a40c6000cec3e8881bff3d34 [false] [Pipeline] sh 07:34:50 + git log --format=format:%s -1 a868dd2155592cc5a40c6000cec3e8881bff3d34 [Pipeline] echo 07:34:50 ========================================================= 07:34:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:34:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:51 + git log --format=format:%s -1 a868dd2155592cc5a40c6000cec3e8881bff3d34 [Pipeline] echo 07:34:51 [semverPrep] GIT_COMMIT: a868dd2155592cc5a40c6000cec3e8881bff3d34, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:34:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:34:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:34:51 + grep -v github /etc/ssh/ssh_known_hosts 07:34:51 + [ -e /tmp/ssh_known_hosts ] 07:34:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:34:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:34:51 + sudo tee -a /etc/ssh/ssh_known_hosts 07:34:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:51 07:34:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:52 0.1.4: Pulling from edgex-devops/py-git-semver 07:34:52 b85a868b505f: Pulling fs layer 07:34:52 e2be974225ed: Pulling fs layer 07:34:52 339a4e72a1f5: Pulling fs layer 07:34:52 988bab9f4d93: Pulling fs layer 07:34:52 1469e6f7b9e6: Pulling fs layer 07:34:52 eaf3925da568: Pulling fs layer 07:34:52 bab4dde63d76: Pulling fs layer 07:34:52 bde34c3a00c8: Pulling fs layer 07:34:52 b352a97aabf1: Pulling fs layer 07:34:52 4872d77fe225: Pulling fs layer 07:34:52 5851b861e8e6: Pulling fs layer 07:34:52 988bab9f4d93: Waiting 07:34:52 1469e6f7b9e6: Waiting 07:34:52 eaf3925da568: Waiting 07:34:52 bab4dde63d76: Waiting 07:34:52 bde34c3a00c8: Waiting 07:34:52 b352a97aabf1: Waiting 07:34:52 4872d77fe225: Waiting 07:34:52 5851b861e8e6: Waiting 07:34:52 e2be974225ed: Download complete 07:34:52 988bab9f4d93: Verifying Checksum 07:34:52 988bab9f4d93: Download complete 07:34:52 1469e6f7b9e6: Verifying Checksum 07:34:52 1469e6f7b9e6: Download complete 07:34:52 339a4e72a1f5: Verifying Checksum 07:34:52 339a4e72a1f5: Download complete 07:34:52 eaf3925da568: Verifying Checksum 07:34:52 eaf3925da568: Download complete 07:34:52 bde34c3a00c8: Download complete 07:34:52 b352a97aabf1: Verifying Checksum 07:34:52 b352a97aabf1: Download complete 07:34:52 4872d77fe225: Verifying Checksum 07:34:52 4872d77fe225: Download complete 07:34:52 5851b861e8e6: Download complete 07:34:52 b85a868b505f: Verifying Checksum 07:34:52 b85a868b505f: Download complete 07:34:52 bab4dde63d76: Verifying Checksum 07:34:52 bab4dde63d76: Download complete 07:34:53 b85a868b505f: Pull complete 07:34:53 e2be974225ed: Pull complete 07:34:54 339a4e72a1f5: Pull complete 07:34:54 988bab9f4d93: Pull complete 07:34:54 1469e6f7b9e6: Pull complete 07:34:54 eaf3925da568: Pull complete 07:34:56 bab4dde63d76: Pull complete 07:34:56 bde34c3a00c8: Pull complete 07:34:56 b352a97aabf1: Pull complete 07:34:56 4872d77fe225: Pull complete 07:34:56 5851b861e8e6: Pull complete 07:34:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:56 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 07:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-244 -v /w/workspace/undry_device-rfid-llrp-go_PR-244:/w/workspace/undry_device-rfid-llrp-go_PR-244:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-244@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-devops/py-git-semver:0.1.4 cat 07:35:00 $ docker top 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d -eo pid,comm 07:35:00 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). 07:35:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:35:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:00 [ssh-agent] Looking for ssh-agent implementation... 07:35:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:00 $ docker exec 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d ssh-agent 07:35:00 SSH_AUTH_SOCK=/tmp/ssh-iQrBLShKFqvO/agent.32 07:35:00 SSH_AGENT_PID=38 07:35:00 Running ssh-add (command line suppressed) 07:35:00 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/private_key_11420736552093622852.key (/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/private_key_11420736552093622852.key) 07:35:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:00 + git tag --points-at HEAD [Pipeline] } 07:35:00 $ docker exec --env ******** --env ******** 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d ssh-agent -k 07:35:01 unset SSH_AUTH_SOCK; 07:35:01 unset SSH_AGENT_PID; 07:35:01 echo Agent pid 38 killed; 07:35:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:35:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:35:01 [ssh-agent] Looking for ssh-agent implementation... 07:35:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:35:01 $ docker exec 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d ssh-agent 07:35:01 SSH_AUTH_SOCK=/tmp/ssh-w09zi8mBpPYK/agent.70 07:35:01 SSH_AGENT_PID=76 07:35:01 Running ssh-add (command line suppressed) 07:35:01 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/private_key_15080746152550798302.key (/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/private_key_15080746152550798302.key) 07:35:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:35:01 + git semver init 07:35:01 2023-08-25 07:35:01,897 [run_init] DEBUG init version:0.0.0 force:False 07:35:01 2023-08-25 07:35:01,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver 07:35:01 2023-08-25 07:35:01,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-244/.semver 07:35:01 2023-08-25 07:35:01,898 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-244, universal_newlines=False, shell=None, istream=None) 07:35:02 2023-08-25 07:35:02,774 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-244/.git/info/exclude 07:35:02 2023-08-25 07:35:02,775 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver/PR-244 with force:False 07:35:02 2023-08-25 07:35:02,775 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver/PR-244 07:35:02 2023-08-25 07:35:02,779 [execute] INFO git cat-file --batch-check 07:35:02 2023-08-25 07:35:02,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver, universal_newlines=False, shell=None, istream=) 07:35:02 2023-08-25 07:35:02,785 [execute] INFO git cat-file --batch 07:35:02 2023-08-25 07:35:02,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-244/.semver, universal_newlines=False, shell=None, istream=) 07:35:02 2023-08-25 07:35:02,789 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-244/.semver/PR-244 07:35:02 0.0.0 [Pipeline] } 07:35:02 $ docker exec --env ******** --env ******** 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d ssh-agent -k 07:35:03 unset SSH_AUTH_SOCK; 07:35:03 unset SSH_AGENT_PID; 07:35:03 echo Agent pid 76 killed; 07:35:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:35:03 + git semver [Pipeline] } 07:35:03 $ docker stop --time=1 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d 07:35:04 $ docker rm -f --volumes 389cc51a46c8018162ace06b0321404400391f589bbbb09b1e2829da1fb5747d [Pipeline] // withDockerContainer [Pipeline] sh 07:35:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:35:05 Stashed 1 file(s) [Pipeline] echo 07:35:05 [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 07:35:05 provisioning config files... 07:35:05 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/config13302939914080858600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:05 ---> docker-login.sh 07:35:05 nexus3.edgexfoundry.org:10001 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 nexus3.edgexfoundry.org:10002 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 nexus3.edgexfoundry.org:10003 07:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:06 Configure a credential helper to remove this warning. See 07:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:06 07:35:06 Login Succeeded 07:35:06 nexus3.edgexfoundry.org:10004 07:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:06 Configure a credential helper to remove this warning. See 07:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:06 07:35:06 Login Succeeded 07:35:06 docker.io 07:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:06 Configure a credential helper to remove this warning. See 07:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:06 07:35:06 Login Succeeded 07:35:06 ---> docker-login.sh ends [Pipeline] } 07:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:06 ========================================================= 07:35:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:35:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:35:06 Sending build context to Docker daemon 4.301MB 07:35:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:35:06 Step 2/12 : FROM ${BASE} AS builder 07:35:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:35:06 4db1b89c0bd1: Pulling fs layer 07:35:06 6911f1a30b25: Pulling fs layer 07:35:06 e194b8c5c2a9: Pulling fs layer 07:35:06 6863d3e3a2b1: Pulling fs layer 07:35:06 ec0bb842ea78: Pulling fs layer 07:35:06 40a00589a448: Pulling fs layer 07:35:06 6c08303d61cc: Pulling fs layer 07:35:06 798269fcf238: Pulling fs layer 07:35:06 6c08303d61cc: Waiting 07:35:06 40a00589a448: Waiting 07:35:06 798269fcf238: Waiting 07:35:06 ec0bb842ea78: Waiting 07:35:06 6911f1a30b25: Download complete 07:35:06 6863d3e3a2b1: Download complete 07:35:06 ec0bb842ea78: Verifying Checksum 07:35:06 ec0bb842ea78: Download complete 07:35:07 4db1b89c0bd1: Verifying Checksum 07:35:07 4db1b89c0bd1: Download complete 07:35:07 40a00589a448: Verifying Checksum 07:35:07 40a00589a448: Download complete 07:35:07 4db1b89c0bd1: Pull complete 07:35:07 6911f1a30b25: Pull complete 07:35:07 798269fcf238: Verifying Checksum 07:35:07 798269fcf238: Download complete 07:35:07 e194b8c5c2a9: Verifying Checksum 07:35:07 e194b8c5c2a9: Download complete 07:35:08 6c08303d61cc: Verifying Checksum 07:35:08 6c08303d61cc: Download complete 07:35:11 e194b8c5c2a9: Pull complete 07:35:11 6863d3e3a2b1: Pull complete 07:35:11 ec0bb842ea78: Pull complete 07:35:11 40a00589a448: Pull complete 07:35:13 6c08303d61cc: Pull complete 07:35:14 798269fcf238: Pull complete 07:35:14 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:35:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:35:14 ---> ec979cd7f677 07:35:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:35:19 ---> Running in d28ca7df4925 07:35:19 Removing intermediate container d28ca7df4925 07:35:19 ---> 896a940777f1 07:35:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:35:19 ---> Running in 420a96c47b9f 07:35:19 Removing intermediate container 420a96c47b9f 07:35:19 ---> 822dd5cc4f1e 07:35:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 07:35:19 ---> Running in 69b410572425 07:35:19 Removing intermediate container 69b410572425 07:35:19 ---> 1709ceaddfe6 07:35:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:35:19 ---> Running in ab2d46f1c570 07:35:19 Removing intermediate container ab2d46f1c570 07:35:19 ---> 2d9b132da281 07:35:19 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:19 ---> Running in 20bf5427e1bf 07:35:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:35:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:35:20 OK: 265 MiB in 53 packages 07:35:20 Still waiting to schedule task 07:35:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4521’ is offline 07:35:21 Removing intermediate container 20bf5427e1bf 07:35:21 ---> d01d15ec9370 07:35:21 Step 8/12 : WORKDIR /app 07:35:21 ---> Running in 02a8fd2dd2e3 07:35:21 Removing intermediate container 02a8fd2dd2e3 07:35:21 ---> cae579217dcd 07:35:21 Step 9/12 : COPY go.mod vendor* ./ 07:35:21 ---> 01325f1745c9 07:35:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:21 ---> Running in 4737bccb2e4d 07:35:53 Removing intermediate container 4737bccb2e4d 07:35:53 ---> 82dcf7cf3ec0 07:35:53 Step 11/12 : COPY . . 07:35:53 ---> 3ec7435c1888 07:35:53 Step 12/12 : RUN $MAKE 07:35:53 ---> Running in 4aba81a4943a 07:35:53 noop 07:35:53 Removing intermediate container 4aba81a4943a 07:35:53 ---> 366fb8010e5d 07:35:53 Successfully built 366fb8010e5d 07:35:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:53 + docker inspect -f . ci-base-image-x86_64 07:35:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:53 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 07:35:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-244 -v /w/workspace/undry_device-rfid-llrp-go_PR-244:/w/workspace/undry_device-rfid-llrp-go_PR-244:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-244@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:35:53 $ docker top 41dc90596aa7d98aacd1c9688f49cf1ccdf15f90c1a23e5fb6bcb994f9c699c3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:54 + go version 07:35:54 go version go1.20.6 linux/amd64 [Pipeline] } 07:35:54 $ docker stop --time=1 41dc90596aa7d98aacd1c9688f49cf1ccdf15f90c1a23e5fb6bcb994f9c699c3 07:35:55 $ docker rm -f --volumes 41dc90596aa7d98aacd1c9688f49cf1ccdf15f90c1a23e5fb6bcb994f9c699c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:56 + docker inspect -f . ci-base-image-x86_64 07:35:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:56 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 07:35:56 $ 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-244 -v /w/workspace/undry_device-rfid-llrp-go_PR-244:/w/workspace/undry_device-rfid-llrp-go_PR-244:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-244@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:35:56 $ docker top 7539bd37bc8f1e5395a2bd4bc0ef2ae92c7dce86491fa89e0bc8fdcf62fa741b -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:56 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-244 [Pipeline] fileExists [Pipeline] sh 07:35:57 + make test 07:35:57 go test ./... -coverprofile=coverage.out ./... 07:36:02 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 07:36:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 07:36:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 07:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.635s coverage: 40.6% of statements 07:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.249s coverage: 51.9% of statements 07:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 07:36:25 go vet ./... 07:36:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:36:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:36:29 ./bin/test-attribution-txt.sh [Pipeline] echo 07:36:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:36:29 $ docker stop --time=1 7539bd37bc8f1e5395a2bd4bc0ef2ae92c7dce86491fa89e0bc8fdcf62fa741b 07:36:33 $ docker rm -f --volumes 7539bd37bc8f1e5395a2bd4bc0ef2ae92c7dce86491fa89e0bc8fdcf62fa741b [Pipeline] // withDockerContainer [Pipeline] sh 07:36:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:36:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:36:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:36:34 + ls -al . 07:36:34 total 644 07:36:34 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 07:35 . 07:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:34 .. 07:36:34 -rw-rw-r-- 1 jenkins jenkins 134 Aug 25 07:34 .dockerignore 07:36:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:35 .git 07:36:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:34 .github 07:36:34 -rw-rw-r-- 1 jenkins jenkins 946 Aug 25 07:34 .gitignore 07:36:34 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:34 .golangci.yml 07:36:34 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:35 .semver 07:36:34 -rw-rw-r-- 1 jenkins jenkins 11980 Aug 25 07:34 Attribution.txt 07:36:34 -rw-rw-r-- 1 jenkins jenkins 10365 Aug 25 07:34 CHANGELOG.md 07:36:34 -rw-rw-r-- 1 jenkins jenkins 1347 Aug 25 07:34 Dockerfile 07:36:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:34 GOVERNANCE.md 07:36:34 -rw-rw-r-- 1 jenkins jenkins 683 Aug 25 07:34 Jenkinsfile 07:36:34 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 25 07:34 LICENSE 07:36:34 -rw-rw-r-- 1 jenkins jenkins 2179 Aug 25 07:34 Makefile 07:36:34 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 07:34 OWNERS.md 07:36:34 -rw-rw-r-- 1 jenkins jenkins 29016 Aug 25 07:34 README.md 07:36:34 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:35 VERSION 07:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:34 bin 07:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:34 cmd 07:36:34 -rw-r--r-- 1 jenkins jenkins 459493 Aug 25 07:36 coverage.out 07:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:34 examples 07:36:34 -rw-rw-r-- 1 jenkins jenkins 3876 Aug 25 07:34 go.mod 07:36:34 -rw-rw-r-- 1 jenkins jenkins 33758 Aug 25 07:34 go.sum 07:36:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:34 images 07:36:34 drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 07:34 internal 07:36:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:34 snap 07:36:34 -rw-rw-r-- 1 jenkins jenkins 193 Aug 25 07:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:34 + 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=a868dd2155592cc5a40c6000cec3e8881bff3d34 --label arch=amd64 --label version=0.0.0 . 07:36:34 Sending build context to Docker daemon 4.301MB 07:36:34 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:36:34 Step 2/24 : FROM ${BASE} AS builder 07:36:34 ---> 366fb8010e5d 07:36:34 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:36:34 ---> Running in 0cc4b0ad63fa 07:36:35 Removing intermediate container 0cc4b0ad63fa 07:36:35 ---> 305cb75a2a0b 07:36:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:35 ---> Running in 8a6e5b2b1c2b 07:36:35 Removing intermediate container 8a6e5b2b1c2b 07:36:35 ---> 3d9e9ba98251 07:36:35 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 07:36:35 ---> Running in 24a187c40218 07:36:35 Removing intermediate container 24a187c40218 07:36:35 ---> cc5dc83e4049 07:36:35 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:36:35 ---> Running in f1841df8965e 07:36:35 Removing intermediate container f1841df8965e 07:36:35 ---> 6389a976f72f 07:36:35 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:36:35 ---> Running in cd37be9585cb 07:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:36:35 OK: 265 MiB in 53 packages 07:36:36 Removing intermediate container cd37be9585cb 07:36:36 ---> 45cb2db19dab 07:36:36 Step 8/24 : WORKDIR /app 07:36:36 ---> Running in b6102e8c8abb 07:36:36 Removing intermediate container b6102e8c8abb 07:36:36 ---> ba1eacb12bc8 07:36:36 Step 9/24 : COPY go.mod vendor* ./ 07:36:36 ---> abd3644281d2 07:36:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:37 ---> Running in 4b2445d23e64 07:36:37 Removing intermediate container 4b2445d23e64 07:36:37 ---> 8c9ae38c8ae4 07:36:37 Step 11/24 : COPY . . 07:36:37 ---> a73f4b83a476 07:36:37 Step 12/24 : RUN $MAKE 07:36:38 ---> Running in 76d1c2ca0586 07:36:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 07:37:00 Removing intermediate container 76d1c2ca0586 07:37:00 ---> 0a177ca7f2e1 07:37:00 Step 13/24 : FROM alpine:3.17 07:37:00 3.17: Pulling from library/alpine 07:37:00 9398808236ff: Pulling fs layer 07:37:00 9398808236ff: Verifying Checksum 07:37:00 9398808236ff: Download complete 07:37:00 9398808236ff: Pull complete 07:37:00 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:37:00 Status: Downloaded newer image for alpine:3.17 07:37:00 ---> 1e0b8b5322fc 07:37:00 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:37:00 ---> Running in 2db9f094a2c1 07:37:00 Removing intermediate container 2db9f094a2c1 07:37:00 ---> d169b834e5d6 07:37:00 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:37:00 ---> Running in bc47eb0c7eb1 07:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:37:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:37:00 (1/1) Installing dumb-init (1.2.5-r2) 07:37:00 Executing busybox-1.35.0-r29.trigger 07:37:00 OK: 7 MiB in 16 packages 07:37:00 Removing intermediate container bc47eb0c7eb1 07:37:00 ---> b1c05ac70542 07:37:00 Step 16/24 : COPY --from=builder /app/LICENSE / 07:37:00 ---> c07231cfc6f2 07:37:00 Step 17/24 : COPY --from=builder /app/Attribution.txt / 07:37:00 ---> d1722c3c4c56 07:37:00 Step 18/24 : COPY --from=builder /app/cmd/ / 07:37:01 ---> a2a28a8ec764 07:37:01 Step 19/24 : EXPOSE 59989 07:37:01 ---> Running in d7029ea46476 07:37:01 Removing intermediate container d7029ea46476 07:37:01 ---> a0312d0b56f9 07:37:01 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 07:37:01 ---> Running in 6f03bf1d18a7 07:37:02 Removing intermediate container 6f03bf1d18a7 07:37:02 ---> 872575ef732d 07:37:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:37:02 ---> Running in 5ff9c3284aa4 07:37:02 Removing intermediate container 5ff9c3284aa4 07:37:02 ---> 1939eab13867 07:37:02 Step 22/24 : LABEL arch=amd64 07:37:02 ---> Running in a87a78421855 07:37:02 Removing intermediate container a87a78421855 07:37:02 ---> 4b99afbc9115 07:37:02 Step 23/24 : LABEL git_sha=a868dd2155592cc5a40c6000cec3e8881bff3d34 07:37:02 ---> Running in 60d0ab8ef91e 07:37:02 Removing intermediate container 60d0ab8ef91e 07:37:02 ---> 164df66dfa59 07:37:02 Step 24/24 : LABEL version=0.0.0 07:37:02 ---> Running in 36a20660a143 07:37:02 Removing intermediate container 36a20660a143 07:37:02 ---> 63ab6049cc3d 07:37:02 [Warning] One or more build-args [ARCH] were not consumed 07:37:02 Successfully built 63ab6049cc3d 07:37:02 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 07:37:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:02 07:37:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:03 latest: Pulling from edgex-lftools-log-publisher 07:37:03 5eb5b503b376: Pulling fs layer 07:37:03 5c69ac0246d0: Pulling fs layer 07:37:03 ec43610c2a17: Pulling fs layer 07:37:03 3a2ae6a8a46f: Pulling fs layer 07:37:03 33b1e0a273af: Pulling fs layer 07:37:03 5d3b04190fa2: Pulling fs layer 07:37:03 2f39f015ded8: Pulling fs layer 07:37:03 3a2ae6a8a46f: Waiting 07:37:03 33b1e0a273af: Waiting 07:37:03 5d3b04190fa2: Waiting 07:37:03 2f39f015ded8: Waiting 07:37:03 5c69ac0246d0: Verifying Checksum 07:37:03 5c69ac0246d0: Download complete 07:37:03 3a2ae6a8a46f: Verifying Checksum 07:37:03 3a2ae6a8a46f: Download complete 07:37:03 ec43610c2a17: Download complete 07:37:03 33b1e0a273af: Verifying Checksum 07:37:03 33b1e0a273af: Download complete 07:37:03 5d3b04190fa2: Verifying Checksum 07:37:03 5d3b04190fa2: Download complete 07:37:03 5eb5b503b376: Verifying Checksum 07:37:03 5eb5b503b376: Download complete 07:37:03 2f39f015ded8: Download complete 07:37:04 5eb5b503b376: Pull complete 07:37:04 5c69ac0246d0: Pull complete 07:37:05 ec43610c2a17: Pull complete 07:37:05 3a2ae6a8a46f: Pull complete 07:37:05 33b1e0a273af: Pull complete 07:37:05 5d3b04190fa2: Pull complete 07:37:09 2f39f015ded8: Pull complete 07:37:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:09 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 07:37:09 $ 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-244 -v /w/workspace/undry_device-rfid-llrp-go_PR-244:/w/workspace/undry_device-rfid-llrp-go_PR-244:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-244@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:37:14 $ docker top b94439c524607cb1fd56795b21c5839be255572d126f12f414047ebe358cf075 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:14 ---> job-cost.sh 07:37:14 lf-activate-venv: SKIPPING 07:37:14 INFO: No Stack... 07:37:15 INFO: Retrieving Pricing Info for: v3-standard-8 07:37:15 INFO: Archiving Costs [Pipeline] sh 07:37:15 + cat /w/workspace/undry_device-rfid-llrp-go_PR-244/archives/cost.csv 07:37:15 + cut -d, -f6 [Pipeline] lock 07:37:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] 07:37:15 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] did not exist. Created. 07:37:15 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:37:16 + echo total: 0.2199999988079071 [Pipeline] stash 07:37:16 Stashed 1 file(s) [Pipeline] } 07:37:16 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:37:16 $ docker stop --time=1 b94439c524607cb1fd56795b21c5839be255572d126f12f414047ebe358cf075 07:37:17 $ docker rm -f --volumes b94439c524607cb1fd56795b21c5839be255572d126f12f414047ebe358cf075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:37:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4526 in /w/workspace/undry_device-rfid-llrp-go_PR-244 [Pipeline] { [Pipeline] ws 07:37:49 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 07:37:49 The recommended git tool is: git 07:37:55 using credential edgex-jenkins-ssh 07:37:55 Cloning the remote Git repository 07:37:55 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 07:37:55 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 07:37:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 07:37:55 > git --version # timeout=10 07:37:55 > git --version # 'git version 2.25.1' 07:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 07:37:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:37:59 Merging remotes/origin/main commit 2324491fcd83c67259ed47f9c53b07eaebff8e42 into PR head commit a868dd2155592cc5a40c6000cec3e8881bff3d34 07:37:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 07:37:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 07:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:37:59 > git config core.sparsecheckout # timeout=10 07:37:59 > git checkout -f a868dd2155592cc5a40c6000cec3e8881bff3d34 # timeout=10 07:37:59 > git remote # timeout=10 07:37:59 > git config --get remote.origin.url # timeout=10 07:37:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:37:59 > git merge 2324491fcd83c67259ed47f9c53b07eaebff8e42 # timeout=10 07:37:59 > git rev-parse HEAD^{commit} # timeout=10 07:37:59 Merge succeeded, producing a868dd2155592cc5a40c6000cec3e8881bff3d34 07:37:59 Checking out Revision a868dd2155592cc5a40c6000cec3e8881bff3d34 (PR-244) 07:37:59 > git config core.sparsecheckout # timeout=10 07:37:59 > git checkout -f a868dd2155592cc5a40c6000cec3e8881bff3d34 # timeout=10 07:38:03 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:38:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:04 Dload Upload Total Spent Left Speed 07:38:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 07:38:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:38:05 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:38:05 sudo tee /etc/docker/daemon.new 07:38:05 { 07:38:05 "registry-mirrors": [ 07:38:05 "https://nexus3.edgexfoundry.org:10001" 07:38:05 ], 07:38:05 "bip": "10.250.0.254/24", 07:38:05 "hosts": [ 07:38:05 "tcp://0.0.0.0:5555", 07:38:05 "unix:///var/run/docker.sock" 07:38:05 ], 07:38:05 "mtu": 1458, 07:38:05 "selinux-enabled": true, 07:38:05 "seccomp-profile": "/etc/docker/seccomp.json" 07:38:05 } [Pipeline] sh 07:38:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:38:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:28 provisioning config files... 07:38:28 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config7495641327640788016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:28 ---> docker-login.sh 07:38:28 nexus3.edgexfoundry.org:10001 07:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:29 Configure a credential helper to remove this warning. See 07:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:29 07:38:29 Login Succeeded 07:38:29 nexus3.edgexfoundry.org:10002 07:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:29 Configure a credential helper to remove this warning. See 07:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:29 07:38:29 Login Succeeded 07:38:29 nexus3.edgexfoundry.org:10003 07:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:30 Configure a credential helper to remove this warning. See 07:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:30 07:38:30 Login Succeeded 07:38:30 nexus3.edgexfoundry.org:10004 07:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:30 Configure a credential helper to remove this warning. See 07:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:30 07:38:30 Login Succeeded 07:38:30 docker.io 07:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:30 Configure a credential helper to remove this warning. See 07:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:30 07:38:30 Login Succeeded 07:38:30 ---> docker-login.sh ends [Pipeline] } 07:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:38:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:38:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:38:31 ========================================================= 07:38:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:38:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:38:31 Sending build context to Docker daemon 1.218MB 07:38:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:38:31 Step 2/12 : FROM ${BASE} AS builder 07:38:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:38:32 edb6bdbacee9: Pulling fs layer 07:38:32 5f9638ab2659: Pulling fs layer 07:38:32 8d51d6327a98: Pulling fs layer 07:38:32 8b374f2dd631: Pulling fs layer 07:38:32 ec14aa9079de: Pulling fs layer 07:38:32 2f466654f4bb: Pulling fs layer 07:38:32 554e91adad29: Pulling fs layer 07:38:32 ec14aa9079de: Waiting 07:38:32 2f466654f4bb: Waiting 07:38:32 8b374f2dd631: Waiting 07:38:32 554e91adad29: Waiting 07:38:32 5f9638ab2659: Verifying Checksum 07:38:32 5f9638ab2659: Download complete 07:38:32 8b374f2dd631: Verifying Checksum 07:38:32 8b374f2dd631: Download complete 07:38:32 ec14aa9079de: Verifying Checksum 07:38:32 ec14aa9079de: Download complete 07:38:32 edb6bdbacee9: Verifying Checksum 07:38:32 edb6bdbacee9: Download complete 07:38:33 edb6bdbacee9: Pull complete 07:38:33 554e91adad29: Verifying Checksum 07:38:33 554e91adad29: Download complete 07:38:33 5f9638ab2659: Pull complete 07:38:34 2f466654f4bb: Verifying Checksum 07:38:34 2f466654f4bb: Download complete 07:38:34 8d51d6327a98: Verifying Checksum 07:38:34 8d51d6327a98: Download complete 07:38:47 8d51d6327a98: Pull complete 07:38:47 8b374f2dd631: Pull complete 07:38:47 ec14aa9079de: Pull complete 07:38:53 2f466654f4bb: Pull complete 07:38:56 554e91adad29: Pull complete 07:38:56 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:38:56 ---> 1e15ea492957 07:38:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:38:58 ---> Running in b002d0a8ec64 07:38:58 Removing intermediate container b002d0a8ec64 07:38:58 ---> 24b3d6059b93 07:38:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:58 ---> Running in 5c750293c0b9 07:38:58 Removing intermediate container 5c750293c0b9 07:38:58 ---> 3eb42d4d62ca 07:38:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 07:38:58 ---> Running in 2330f0d6261e 07:38:59 Removing intermediate container 2330f0d6261e 07:38:59 ---> 530bd8b8f989 07:38:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:38:59 ---> Running in 7275155dce8f 07:38:59 Removing intermediate container 7275155dce8f 07:38:59 ---> f5d475c54433 07:38:59 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:59 ---> Running in c347990c6466 07:39:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:39:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:39:02 OK: 263 MiB in 53 packages 07:39:03 Removing intermediate container c347990c6466 07:39:03 ---> 95dc676ea4b8 07:39:03 Step 8/12 : WORKDIR /app 07:39:03 ---> Running in 78ff317fd298 07:39:03 Removing intermediate container 78ff317fd298 07:39:03 ---> 06dff9e2b1ff 07:39:03 Step 9/12 : COPY go.mod vendor* ./ 07:39:08 ---> b7a511ec9ca7 07:39:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:08 ---> Running in bb6eb3cf98b0 07:40:16 Removing intermediate container bb6eb3cf98b0 07:40:16 ---> 0c458cd8d81e 07:40:16 Step 11/12 : COPY . . 07:40:16 ---> 4dedf58e89f1 07:40:16 Step 12/12 : RUN $MAKE 07:40:16 ---> Running in a1b65ee73bbb 07:40:16 noop 07:40:16 Removing intermediate container a1b65ee73bbb 07:40:16 ---> 260d6b222c55 07:40:16 Successfully built 260d6b222c55 07:40:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:16 + docker inspect -f . ci-base-image-arm64 07:40:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:16 prd-ubuntu20.04-docker-arm64-4c-16g-4526 does not seem to be running inside a container 07:40:16 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:40:17 $ docker top 05975888d647bfc359f22268bac2cae92e4f5f8178076c36da525ea463db08a5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:18 + go version 07:40:18 go version go1.20.6 linux/arm64 [Pipeline] } 07:40:18 $ docker stop --time=1 05975888d647bfc359f22268bac2cae92e4f5f8178076c36da525ea463db08a5 07:40:20 $ docker rm -f --volumes 05975888d647bfc359f22268bac2cae92e4f5f8178076c36da525ea463db08a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:21 + docker inspect -f . ci-base-image-arm64 07:40:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:21 prd-ubuntu20.04-docker-arm64-4c-16g-4526 does not seem to be running inside a container 07:40:21 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:40:22 $ docker top 708701a5e83f104471684d61e17aa2974e4d33ae585fecf9fee8a95e3b0b6ab6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:23 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/3 [Pipeline] fileExists [Pipeline] sh 07:40:24 + make test 07:40:24 go test ./... -coverprofile=coverage.out ./... 07:41:03 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 07:43:40 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 07:43:40 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 07:44:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.024s coverage: 40.6% of statements 07:44:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.584s coverage: 51.9% of statements 07:44:07 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.036s coverage: 95.5% of statements 07:44:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:08 go vet ./... 07:44:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:46 ./bin/test-attribution-txt.sh [Pipeline] echo 07:44:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:47 $ docker stop --time=1 708701a5e83f104471684d61e17aa2974e4d33ae585fecf9fee8a95e3b0b6ab6 07:44:49 $ docker rm -f --volumes 708701a5e83f104471684d61e17aa2974e4d33ae585fecf9fee8a95e3b0b6ab6 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:50 Warning: overwriting stash ‘coverage-report’ 07:44:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:52 + ls -al . 07:44:52 total 640 07:44:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:40 . 07:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:37 .. 07:44:52 -rw-rw-r-- 1 jenkins jenkins 134 Aug 25 07:37 .dockerignore 07:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:37 .git 07:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:37 .github 07:44:52 -rw-rw-r-- 1 jenkins jenkins 946 Aug 25 07:37 .gitignore 07:44:52 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:37 .golangci.yml 07:44:52 -rw-rw-r-- 1 jenkins jenkins 11980 Aug 25 07:37 Attribution.txt 07:44:52 -rw-rw-r-- 1 jenkins jenkins 10365 Aug 25 07:37 CHANGELOG.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 1347 Aug 25 07:37 Dockerfile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:37 GOVERNANCE.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 683 Aug 25 07:37 Jenkinsfile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 11347 Aug 25 07:37 LICENSE 07:44:52 -rw-rw-r-- 1 jenkins jenkins 2179 Aug 25 07:37 Makefile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 07:37 OWNERS.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 29016 Aug 25 07:37 README.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:35 VERSION 07:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:37 bin 07:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:37 cmd 07:44:52 -rw-r--r-- 1 jenkins jenkins 459493 Aug 25 07:44 coverage.out 07:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:37 examples 07:44:52 -rw-rw-r-- 1 jenkins jenkins 3876 Aug 25 07:37 go.mod 07:44:52 -rw-rw-r-- 1 jenkins jenkins 33758 Aug 25 07:37 go.sum 07:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:37 images 07:44:52 drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 07:37 internal 07:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:37 snap 07:44:52 -rw-rw-r-- 1 jenkins jenkins 193 Aug 25 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:52 + 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=a868dd2155592cc5a40c6000cec3e8881bff3d34 --label arch=arm64 --label version=0.0.0 . 07:44:52 Sending build context to Docker daemon 1.218MB 07:44:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:44:52 Step 2/24 : FROM ${BASE} AS builder 07:44:52 ---> 260d6b222c55 07:44:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:44:53 ---> Running in 6ddf43ad2833 07:44:53 Removing intermediate container 6ddf43ad2833 07:44:53 ---> c29cfb933f01 07:44:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:44:53 ---> Running in 731efb1b142b 07:44:53 Removing intermediate container 731efb1b142b 07:44:53 ---> 437f126d2e1f 07:44:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 07:44:53 ---> Running in 8435f2ec484b 07:44:54 Removing intermediate container 8435f2ec484b 07:44:54 ---> 2ab1286af0fa 07:44:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:44:54 ---> Running in f5ddd67cc775 07:44:54 Removing intermediate container f5ddd67cc775 07:44:54 ---> 0ac5171aa716 07:44:54 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:54 ---> Running in 7a1bb46678af 07:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:44:58 OK: 263 MiB in 53 packages 07:45:00 Removing intermediate container 7a1bb46678af 07:45:00 ---> ce623690b990 07:45:00 Step 8/24 : WORKDIR /app 07:45:00 ---> Running in 171e355d3878 07:45:01 Removing intermediate container 171e355d3878 07:45:01 ---> a1aaa48e3f16 07:45:01 Step 9/24 : COPY go.mod vendor* ./ 07:45:01 ---> 38cc2c2d5a26 07:45:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:01 ---> Running in cdc62582a1fb 07:45:03 Removing intermediate container cdc62582a1fb 07:45:03 ---> 179ff5f50497 07:45:03 Step 11/24 : COPY . . 07:45:04 ---> 3281a7c3c2b2 07:45:04 Step 12/24 : RUN $MAKE 07:45:04 ---> Running in 57df03b483d6 07:45:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 07:47:57 Removing intermediate container 57df03b483d6 07:47:57 ---> 0a577fe7e173 07:47:57 Step 13/24 : FROM alpine:3.17 07:47:57 3.17: Pulling from library/alpine 07:47:57 4060ece20d7a: Pulling fs layer 07:47:57 4060ece20d7a: Verifying Checksum 07:47:57 4060ece20d7a: Download complete 07:47:57 4060ece20d7a: Pull complete 07:47:57 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:47:57 Status: Downloaded newer image for alpine:3.17 07:47:57 ---> 8650cd65339b 07:47:57 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:47:57 ---> Running in 01d56f5689e8 07:47:57 Removing intermediate container 01d56f5689e8 07:47:57 ---> fe4dd20f921b 07:47:57 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:47:57 ---> Running in 1ebc41f44106 07:47:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:47:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:47:57 (1/1) Installing dumb-init (1.2.5-r2) 07:47:57 Executing busybox-1.35.0-r29.trigger 07:47:57 OK: 8 MiB in 16 packages 07:47:57 Removing intermediate container 1ebc41f44106 07:47:57 ---> 23180034ce74 07:47:57 Step 16/24 : COPY --from=builder /app/LICENSE / 07:47:58 ---> 037967a8a92a 07:47:58 Step 17/24 : COPY --from=builder /app/Attribution.txt / 07:47:58 ---> 215a5e0497b0 07:47:58 Step 18/24 : COPY --from=builder /app/cmd/ / 07:48:00 ---> a90ab0273dc7 07:48:00 Step 19/24 : EXPOSE 59989 07:48:00 ---> Running in 9e4ca1b21e21 07:48:00 Removing intermediate container 9e4ca1b21e21 07:48:00 ---> af740ab0ce86 07:48:00 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 07:48:00 ---> Running in ebfe18da24c9 07:48:00 Removing intermediate container ebfe18da24c9 07:48:00 ---> 76c5b761f1c4 07:48:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:48:01 ---> Running in 30e1f7efda2c 07:48:01 Removing intermediate container 30e1f7efda2c 07:48:01 ---> 64be84f74a83 07:48:01 Step 22/24 : LABEL arch=arm64 07:48:01 ---> Running in 04deaf1185ec 07:48:01 Removing intermediate container 04deaf1185ec 07:48:01 ---> eaee26bd9e5f 07:48:01 Step 23/24 : LABEL git_sha=a868dd2155592cc5a40c6000cec3e8881bff3d34 07:48:01 ---> Running in 14a6b4857bd7 07:48:02 Removing intermediate container 14a6b4857bd7 07:48:02 ---> 4b7a758f6116 07:48:02 Step 24/24 : LABEL version=0.0.0 07:48:02 ---> Running in 10ba0a35148b 07:48:02 Removing intermediate container 10ba0a35148b 07:48:02 ---> aad6e993f666 07:48:02 [Warning] One or more build-args [ARCH] were not consumed 07:48:02 Successfully built aad6e993f666 07:48:02 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 07:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:03 07:48:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:03 arm64: Pulling from edgex-lftools-log-publisher 07:48:03 8998bd30e6a1: Pulling fs layer 07:48:03 04944245beec: Pulling fs layer 07:48:03 699f458cf7ca: Pulling fs layer 07:48:03 765212b225bb: Pulling fs layer 07:48:03 f23df028b6ca: Pulling fs layer 07:48:03 d65c8cfc05b1: Pulling fs layer 07:48:03 2437ff75d9bd: Pulling fs layer 07:48:03 f23df028b6ca: Waiting 07:48:03 d65c8cfc05b1: Waiting 07:48:03 2437ff75d9bd: Waiting 07:48:03 765212b225bb: Waiting 07:48:03 04944245beec: Verifying Checksum 07:48:03 04944245beec: Download complete 07:48:03 765212b225bb: Verifying Checksum 07:48:03 765212b225bb: Download complete 07:48:03 f23df028b6ca: Verifying Checksum 07:48:03 f23df028b6ca: Download complete 07:48:03 d65c8cfc05b1: Verifying Checksum 07:48:03 d65c8cfc05b1: Download complete 07:48:03 699f458cf7ca: Verifying Checksum 07:48:03 699f458cf7ca: Download complete 07:48:04 8998bd30e6a1: Verifying Checksum 07:48:04 8998bd30e6a1: Download complete 07:48:06 2437ff75d9bd: Verifying Checksum 07:48:06 2437ff75d9bd: Download complete 07:48:08 8998bd30e6a1: Pull complete 07:48:08 04944245beec: Pull complete 07:48:10 699f458cf7ca: Pull complete 07:48:10 765212b225bb: Pull complete 07:48:11 f23df028b6ca: Pull complete 07:48:11 d65c8cfc05b1: Pull complete 07:48:26 2437ff75d9bd: Pull complete 07:48:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:26 prd-ubuntu20.04-docker-arm64-4c-16g-4526 does not seem to be running inside a container 07:48:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:48:29 $ docker top 10b15ee4e8b3eba0494a54ef14613b852adc1954ed8630e16b59af9448f7c49c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:30 ---> job-cost.sh 07:48:30 lf-activate-venv: SKIPPING 07:48:30 INFO: No Stack... 07:48:30 INFO: Retrieving Pricing Info for: v3-standard-4 07:48:31 INFO: Archiving Costs [Pipeline] sh 07:48:31 + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csv 07:48:32 + cut -d, -f6 [Pipeline] lock 07:48:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] 07:48:32 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] did not exist. Created. 07:48:32 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:32 /w/workspace/device-rfid-llrp-go/3@tmp/durable-d3b1162a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:48:33 + echo total: 0.10999999940395355 [Pipeline] stash 07:48:33 Warning: overwriting stash ‘stack-cost’ 07:48:33 Stashed 1 file(s) [Pipeline] } 07:48:33 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-244-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:33 $ docker stop --time=1 10b15ee4e8b3eba0494a54ef14613b852adc1954ed8630e16b59af9448f7c49c 07:48:35 $ docker rm -f --volumes 10b15ee4e8b3eba0494a54ef14613b852adc1954ed8630e16b59af9448f7c49c [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 07:48:35 provisioning config files... 07:48:35 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/config5371798080135553042tmp [Pipeline] { [Pipeline] sh 07:48:35 + set +x 07:48:35 + curl -s https://codecov.io/bash 07:48:35 + bash -s -- 07:48:35 07:48:35 _____ _ 07:48:35 / ____| | | 07:48:35 | | ___ __| | ___ ___ _____ __ 07:48:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:48:35 | |___| (_) | (_| | __/ (_| (_) \ V / 07:48:35 \_____\___/ \__,_|\___|\___\___/ \_/ 07:48:35 Bash-1.0.6 07:48:35 07:48:35 07:48:35 ==> git version 2.25.1 found 07:48:35 ==> 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 07:48:35 Release-Date: 2020-01-08 07:48:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:48:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:48:35 ==> Jenkins CI detected. 07:48:35 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-244 07:48:35 project root: . 07:48:35 --> token set from env 07:48:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:48:35 ==> Running gcov in . (disable via -X gcov) 07:48:35 ==> Python coveragepy not found 07:48:35 ==> Searching for coverage reports in: 07:48:35 + . 07:48:35 -> Found 1 reports 07:48:35 ==> Detecting git/mercurial file structure 07:48:35 ==> Reading reports 07:48:35 + ./coverage.out bytes=459493 07:48:35 ==> Appending adjustments 07:48:35 https://docs.codecov.io/docs/fixing-reports 07:48:36 + Found adjustments 07:48:36 ==> Gzipping contents 07:48:36 52K /tmp/codecov.yGN5C6.gz 07:48:36 ==> Uploading reports 07:48:36 url: https://codecov.io 07:48:36 query: branch=PR-244&commit=a868dd2155592cc5a40c6000cec3e8881bff3d34&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=244&job=&cmd_args= 07:48:36 -> Pinging Codecov 07:48:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-244&commit=a868dd2155592cc5a40c6000cec3e8881bff3d34&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=244&job=&cmd_args= 07:48:36 -> Uploading to 07:48:36 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/581DD39554BDF9B6E22D074273EAD858/a868dd2155592cc5a40c6000cec3e8881bff3d34/c840cda1-45bb-4530-80e1-f7a69056854a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T074836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a93319aec702f484dd53afd227493072f08b098b86665f480222e13687520c02 07:48:36 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:36 Dload Upload Total Spent Left Speed 07:48:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50516 0 0 100 50516 0 224k --:--:-- --:--:-- --:--:-- 225k 07:48:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a868dd2155592cc5a40c6000cec3e8881bff3d34 [Pipeline] } 07:48:36 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 07:48:37 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-244/archives ] 07:48:37 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-244/archives 07:48:37 total 16 07:48:37 drwxr-xr-x 3 root root 4096 Aug 25 07:37 . 07:48:37 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 07:37 .. 07:48:37 drwxr-xr-x 2 root root 4096 Aug 25 07:37 cost 07:48:37 -rw-r--r-- 1 root root 91 Aug 25 07:37 cost.csv 07:48:37 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-244/archives 07:48:37 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-244/archives 07:48:37 total 16 07:48:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:37 . 07:48:37 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 07:37 .. 07:48:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:37 cost 07:48:37 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 07:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:48:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:38 ---> package-listing.sh 07:48:38 ++ facter osfamily 07:48:38 ++ tr '[:upper:]' '[:lower:]' 07:48:38 + OS_FAMILY=debian 07:48:38 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-244 07:48:38 + START_PACKAGES=/tmp/packages_start.txt 07:48:38 + END_PACKAGES=/tmp/packages_end.txt 07:48:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:38 + PACKAGES=/tmp/packages_start.txt 07:48:38 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-244 ']' 07:48:38 + PACKAGES=/tmp/packages_end.txt 07:48:38 + case "${OS_FAMILY}" in 07:48:38 + dpkg -l 07:48:38 + grep '^ii' 07:48:38 + '[' -f /tmp/packages_start.txt ']' 07:48:38 + '[' -f /tmp/packages_end.txt ']' 07:48:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:38 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-244 ']' 07:48:38 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-244/archives/ 07:48:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-244/archives/ [Pipeline] echo 07:48:38 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-244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:48:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:39 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 07:48:39 $ 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-244/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-244 -v /w/workspace/undry_device-rfid-llrp-go_PR-244:/w/workspace/undry_device-rfid-llrp-go_PR-244:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-244@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-244@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:48:39 $ docker top b35b2a5a4683ab2d2b0096d97733ec5d57ac9902167e3ab0bd418e5a6c5cf685 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:40 + touch /tmp/pre-build-complete [Pipeline] sh 07:48:40 + mkdir -p /var/log/sysstat [Pipeline] sh 07:48:40 + ls /var/log/sa-host 07:48:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:41 provisioning config files... 07:48:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-244@tmp/config11195408133812160639tmp [Pipeline] { [Pipeline] echo 07:48:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:48:41 ---> create-netrc.sh [Pipeline] } 07:48:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:48:41 ---> python-tools-install.sh [Pipeline] echo 07:48:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:48:42 ---> sudo-logs.sh 07:48:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:48:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:48:42 ---> job-cost.sh 07:48:42 lf-activate-venv: SKIPPING 07:48:42 DEBUG: total: 0.2199999988079071 07:48:42 INFO: Retrieving Stack Cost... 07:48:42 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:43 INFO: Archiving Costs [Pipeline] echo 07:48:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:48:43 ---> logs-deploy.sh 07:48:43 lf-activate-venv: SKIPPING 07:48:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-244/3 07:48:43 INFO: archiving workspace using pattern(s): 07:48:44 Archives upload complete. 07:48:44 INFO: archiving logs to Nexus