Pull request #75 opened 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 farshidtz for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at 5b207c8f16228b7da7ed0fec4433fb1350251bb7 rather than d06d514f92f492ffded79d7cec27101d0c59480b Obtained Jenkinsfile from 5b207c8f16228b7da7ed0fec4433fb1350251bb7 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-ssh17266383660225159847.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2924732653544298353.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-75/workspace@libs/edgex-global-pipelines # timeout=10 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-75/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11858350535831868.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-75/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8544942033228347565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh13288076303262454642.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-75/workspace@libs/lf-pipelines # timeout=10 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-75/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15360206883453332122.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22081 in /w/workspace/oundry_device-rfid-llrp-go_PR-75 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/oundry_device-rfid-llrp-go_PR-75 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5b207c8f16228b7da7ed0fec4433fb1350251bb7 into PR head commit d06d514f92f492ffded79d7cec27101d0c59480b Merge succeeded, producing d06d514f92f492ffded79d7cec27101d0c59480b Checking out Revision d06d514f92f492ffded79d7cec27101d0c59480b (PR-75) > 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/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d06d514f92f492ffded79d7cec27101d0c59480b # 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 5b207c8f16228b7da7ed0fec4433fb1350251bb7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d06d514f92f492ffded79d7cec27101d0c59480b # timeout=10 Commit message: "feat(snap): use updated environment variable injection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:14:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:14:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:14:19 ========================================================= 19:14:19 EdgeX Global Pipelines Version Info 19:14:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:14:20 ------------------- 19:14:20 stable info: 19:14:20 ------------------- 19:14:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:14:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:14:20 Message: update stable to v1.0.221 19:14:20 ------------------- 19:14:20 experimental info: 19:14:20 ------------------- 19:14:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:14:20 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 19:14:20 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:14:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:14:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-75 [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-75 [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-75 [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d06d514f92f492ffded79d7cec27101d0c59480b [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d06d514 [Pipeline] echo 19:14:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:22 provisioning config files... 19:14:22 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/config6386185805436949138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:22 ---> docker-login.sh 19:14:22 nexus3.edgexfoundry.org:10001 19:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:23 Configure a credential helper to remove this warning. See 19:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:23 19:14:23 Login Succeeded 19:14:23 nexus3.edgexfoundry.org:10002 19:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:23 Configure a credential helper to remove this warning. See 19:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:23 19:14:23 Login Succeeded 19:14:23 nexus3.edgexfoundry.org:10003 19:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:23 Configure a credential helper to remove this warning. See 19:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:23 19:14:23 Login Succeeded 19:14:23 nexus3.edgexfoundry.org:10004 19:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:23 Configure a credential helper to remove this warning. See 19:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:23 19:14:23 Login Succeeded 19:14:23 docker.io 19:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:23 Configure a credential helper to remove this warning. See 19:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:23 19:14:23 Login Succeeded 19:14:23 ---> docker-login.sh ends [Pipeline] } 19:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:14:24 + git rev-list -1 --merges d06d514f92f492ffded79d7cec27101d0c59480b~1..d06d514f92f492ffded79d7cec27101d0c59480b [Pipeline] echo 19:14:24 -----------> git rev-list -1 --merges d06d514f92f492ffded79d7cec27101d0c59480b~1..d06d514f92f492ffded79d7cec27101d0c59480b d06d514f92f492ffded79d7cec27101d0c59480b [false] [Pipeline] sh 19:14:24 + git log --format=format:%s -1 d06d514f92f492ffded79d7cec27101d0c59480b [Pipeline] echo 19:14:25 ========================================================= 19:14:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:14:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:25 + git log --format=format:%s -1 d06d514f92f492ffded79d7cec27101d0c59480b [Pipeline] echo 19:14:25 [semverPrep] GIT_COMMIT: d06d514f92f492ffded79d7cec27101d0c59480b, Commit Message: feat(snap): use updated environment variable injection [Pipeline] echo 19:14:25 [semverPrep] This is not a build commit. [Pipeline] sh 19:14:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:14:26 + grep -v github /etc/ssh/ssh_known_hosts 19:14:26 + [ -e /tmp/ssh_known_hosts ] 19:14:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:14:26 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:14:26 sudo tee -a /etc/ssh/ssh_known_hosts 19:14:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:14:26 19:14:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:14:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:14:26 latest: Pulling from edgex-devops/git-semver 19:14:26 a0d0a0d46f8b: Pulling fs layer 19:14:26 3e5f54012d9b: Pulling fs layer 19:14:26 4c7163046ea9: Pulling fs layer 19:14:26 0c2d73faf560: Pulling fs layer 19:14:26 0c2d73faf560: Waiting 19:14:26 3e5f54012d9b: Verifying Checksum 19:14:26 3e5f54012d9b: Download complete 19:14:26 a0d0a0d46f8b: Download complete 19:14:26 0c2d73faf560: Verifying Checksum 19:14:26 0c2d73faf560: Download complete 19:14:26 4c7163046ea9: Download complete 19:14:27 a0d0a0d46f8b: Pull complete 19:14:27 3e5f54012d9b: Pull complete 19:14:27 4c7163046ea9: Pull complete 19:14:27 0c2d73faf560: Pull complete 19:14:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:14:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:14:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:14:27 prd-ubuntu20.04-docker-8c-8g-22081 does not seem to be running inside a container 19:14:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-75 -v /w/workspace/oundry_device-rfid-llrp-go_PR-75:/w/workspace/oundry_device-rfid-llrp-go_PR-75:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:14:28 $ docker top 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:14:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:28 [ssh-agent] Looking for ssh-agent implementation... 19:14:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:29 $ docker exec 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a ssh-agent 19:14:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcHmiP/agent.15 19:14:29 SSH_AGENT_PID=21 19:14:29 Running ssh-add (command line suppressed) 19:14:29 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/private_key_5237896404436248180.key (/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/private_key_5237896404436248180.key) 19:14:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:29 + git tag --points-at HEAD [Pipeline] } 19:14:29 $ docker exec --env ******** --env ******** 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a ssh-agent -k 19:14:29 unset SSH_AUTH_SOCK; 19:14:29 unset SSH_AGENT_PID; 19:14:29 echo Agent pid 21 killed; 19:14:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:14:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:14:29 [ssh-agent] Looking for ssh-agent implementation... 19:14:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:14:29 $ docker exec 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a ssh-agent 19:14:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpnpjdb/agent.53 19:14:30 SSH_AGENT_PID=60 19:14:30 Running ssh-add (command line suppressed) 19:14:30 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/private_key_362944165095010338.key (/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/private_key_362944165095010338.key) 19:14:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:14:30 + git semver init 19:14:30 # -> Open(): unable to determine branch for HEAD 19:14:30 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-75/.git 19:14:30 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-75 19:14:30 # $SEMVER_REMOTE_NAME = origin 19:14:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:14:30 # $SEMVER_USER_NAME = edgex-jenkins 19:14:30 # $SEMVER_BRANCH = PR-75 19:14:30 # $SEMVER_TEMP = /tmp/semver-821224597 19:14:30 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 19:14:31 # '/tmp/semver-821224597' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-75/.semver' 19:14:31 # -> Force: false 19:14:31 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-75/.semver [Pipeline] } 19:14:31 $ docker exec --env ******** --env ******** 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a ssh-agent -k 19:14:31 unset SSH_AUTH_SOCK; 19:14:31 unset SSH_AGENT_PID; 19:14:31 echo Agent pid 60 killed; 19:14:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:14:31 + git semver [Pipeline] } 19:14:31 $ docker stop --time=1 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a 19:14:33 $ docker rm -f 31db1f7328a6a4fa252737d570893470934fe6337e2f47f166dc7a2cb98a6d0a [Pipeline] // withDockerContainer [Pipeline] sh 19:14:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:14:33 Stashed 1 file(s) [Pipeline] echo 19:14:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:34 provisioning config files... 19:14:34 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/config3281802398097363521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:14:34 ---> docker-login.sh 19:14:34 nexus3.edgexfoundry.org:10001 19:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:34 Configure a credential helper to remove this warning. See 19:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:34 19:14:34 Login Succeeded 19:14:34 nexus3.edgexfoundry.org:10002 19:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:34 Configure a credential helper to remove this warning. See 19:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:34 19:14:34 Login Succeeded 19:14:35 nexus3.edgexfoundry.org:10003 19:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:35 Configure a credential helper to remove this warning. See 19:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:35 19:14:35 Login Succeeded 19:14:35 nexus3.edgexfoundry.org:10004 19:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:35 Configure a credential helper to remove this warning. See 19:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:35 19:14:35 Login Succeeded 19:14:35 docker.io 19:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:14:35 Configure a credential helper to remove this warning. See 19:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:14:35 19:14:35 Login Succeeded 19:14:35 ---> docker-login.sh ends [Pipeline] } 19:14:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:14:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:14:35 ========================================================= 19:14:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:14:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:14:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:14:36 Sending build context to Docker daemon 1.724MB 19:14:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:14:36 Step 2/12 : FROM ${BASE} AS builder 19:14:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:14:36 59bf1c3509f3: Pulling fs layer 19:14:36 666ba61612fd: Pulling fs layer 19:14:36 8ed8ca486205: Pulling fs layer 19:14:36 4fe6c5a15a65: Pulling fs layer 19:14:36 22a0e8bec74d: Pulling fs layer 19:14:36 ca2b28591e48: Pulling fs layer 19:14:36 a51346096db8: Pulling fs layer 19:14:36 daebc70d1ce1: Pulling fs layer 19:14:36 0e18a0eac166: Pulling fs layer 19:14:36 22a0e8bec74d: Waiting 19:14:36 ca2b28591e48: Waiting 19:14:36 a51346096db8: Waiting 19:14:36 daebc70d1ce1: Waiting 19:14:36 0e18a0eac166: Waiting 19:14:36 4fe6c5a15a65: Waiting 19:14:36 8ed8ca486205: Verifying Checksum 19:14:36 8ed8ca486205: Download complete 19:14:36 666ba61612fd: Verifying Checksum 19:14:36 666ba61612fd: Download complete 19:14:36 22a0e8bec74d: Verifying Checksum 19:14:36 22a0e8bec74d: Download complete 19:14:36 ca2b28591e48: Verifying Checksum 19:14:36 ca2b28591e48: Download complete 19:14:36 59bf1c3509f3: Verifying Checksum 19:14:36 59bf1c3509f3: Download complete 19:14:36 a51346096db8: Verifying Checksum 19:14:36 a51346096db8: Download complete 19:14:36 daebc70d1ce1: Verifying Checksum 19:14:36 daebc70d1ce1: Download complete 19:14:36 59bf1c3509f3: Pull complete 19:14:36 666ba61612fd: Pull complete 19:14:36 8ed8ca486205: Pull complete 19:14:37 0e18a0eac166: Download complete 19:14:37 4fe6c5a15a65: Verifying Checksum 19:14:37 4fe6c5a15a65: Download complete 19:14:40 4fe6c5a15a65: Pull complete 19:14:40 22a0e8bec74d: Pull complete 19:14:40 ca2b28591e48: Pull complete 19:14:41 a51346096db8: Pull complete 19:14:41 daebc70d1ce1: Pull complete 19:14:43 0e18a0eac166: Pull complete 19:14:43 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:14:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:14:43 ---> f018257e8ee9 19:14:43 Step 3/12 : ARG MAKE='make build' 19:14:45 ---> Running in 499c15e681c0 19:14:45 Removing intermediate container 499c15e681c0 19:14:45 ---> 1460efb90234 19:14:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 19:14:45 ---> Running in c09392ce15de 19:14:45 Removing intermediate container c09392ce15de 19:14:45 ---> 9a28fffbc700 19:14:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:14:45 ---> Running in c834b336cf29 19:14:45 Removing intermediate container c834b336cf29 19:14:45 ---> 1b6a2de35356 19:14:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:14:45 ---> Running in 26c548d687c6 19:14:45 Removing intermediate container 26c548d687c6 19:14:45 ---> e638e178a04f 19:14:45 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:45 ---> Running in bdd983ecb4d4 19:14:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:14:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:14:47 OK: 221 MiB in 52 packages 19:14:47 Removing intermediate container bdd983ecb4d4 19:14:47 ---> c2d4616838e6 19:14:47 Step 8/12 : WORKDIR /app 19:14:47 ---> Running in dac8c18c06fa 19:14:47 Removing intermediate container dac8c18c06fa 19:14:47 ---> 7bf3ecd3174a 19:14:47 Step 9/12 : COPY go.mod vendor* ./ 19:14:47 ---> 5126d2c03f3b 19:14:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:48 ---> Running in 7f9dc4e32e66 19:14:49 Still waiting to schedule task 19:14:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:15:14 Removing intermediate container 7f9dc4e32e66 19:15:14 ---> 690be75f6656 19:15:14 Step 11/12 : COPY . . 19:15:14 ---> 9e4005483dbd 19:15:14 Step 12/12 : RUN $MAKE 19:15:14 ---> Running in 64130a4708b0 19:15:15 noop 19:15:15 Removing intermediate container 64130a4708b0 19:15:15 ---> d5ca324e5af0 19:15:15 Successfully built d5ca324e5af0 19:15:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:15:15 + docker inspect -f . ci-base-image-x86_64 19:15:15 . [Pipeline] withDockerContainer 19:15:15 prd-ubuntu20.04-docker-8c-8g-22081 does not seem to be running inside a container 19:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-75 -v /w/workspace/oundry_device-rfid-llrp-go_PR-75:/w/workspace/oundry_device-rfid-llrp-go_PR-75:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:15:16 $ docker top fdaaab05b5c593b5e8ef905af5727389176e9dfe3d2d8fb82dd8f7c04506d61f -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:16 + go version 19:15:16 go version go1.17.6 linux/amd64 [Pipeline] } 19:15:16 $ docker stop --time=1 fdaaab05b5c593b5e8ef905af5727389176e9dfe3d2d8fb82dd8f7c04506d61f 19:15:18 $ docker rm -f fdaaab05b5c593b5e8ef905af5727389176e9dfe3d2d8fb82dd8f7c04506d61f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:15:18 + docker inspect -f . ci-base-image-x86_64 19:15:18 . [Pipeline] withDockerContainer 19:15:18 prd-ubuntu20.04-docker-8c-8g-22081 does not seem to be running inside a container 19:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-75 -v /w/workspace/oundry_device-rfid-llrp-go_PR-75:/w/workspace/oundry_device-rfid-llrp-go_PR-75:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:15:19 $ docker top 8776f8f5663e7cf3874dd3a4fc1b3b58991b0ed5f455b1dc9a02b81f74198227 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:15:19 + make test 19:15:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:15:20 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 19:15:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 19:15:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 19:15:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.527s coverage: 39.3% of statements 19:15:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.240s coverage: 52.0% of statements 19:15:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 94.6% of statements 19:15:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:15:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:15:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:15:40 ./bin/test-attribution-txt.sh [Pipeline] echo 19:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:15:40 $ docker stop --time=1 8776f8f5663e7cf3874dd3a4fc1b3b58991b0ed5f455b1dc9a02b81f74198227 19:15:42 $ docker rm -f 8776f8f5663e7cf3874dd3a4fc1b3b58991b0ed5f455b1dc9a02b81f74198227 [Pipeline] // withDockerContainer [Pipeline] sh 19:15:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:15:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:15:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:15:44 + ls -al . 19:15:44 total 640 19:15:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 19:15 . 19:15:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:14 .. 19:15:44 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 19:14 .dockerignore 19:15:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:14 .git 19:15:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:14 .github 19:15:44 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 19:14 .gitignore 19:15:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:14 .golangci.yml 19:15:44 drwx------ 3 jenkins jenkins 4096 Apr 25 19:14 .semver 19:15:44 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 19:14 Attribution.txt 19:15:44 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 19:14 Dockerfile 19:15:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:14 GOVERNANCE.md 19:15:44 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 19:14 Jenkinsfile 19:15:44 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 19:14 LICENSE 19:15:44 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 19:14 Makefile 19:15:44 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 19:14 OWNERS.md 19:15:44 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 25 19:14 README.md 19:15:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:14 VERSION 19:15:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:14 bin 19:15:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:14 cmd 19:15:44 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 19:15 coverage.out 19:15:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:14 examples 19:15:44 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 19:14 go.mod 19:15:44 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 19:14 go.sum 19:15:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:14 images 19:15:44 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 19:14 internal 19:15:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:14 snap 19:15:44 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 19:14 version.go [Pipeline] isUnix [Pipeline] sh 19:15:44 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d06d514f92f492ffded79d7cec27101d0c59480b --label arch=amd64 --label version=0.0.0 . 19:15:44 Sending build context to Docker daemon 1.724MB 19:15:44 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:15:44 Step 2/25 : FROM ${BASE} AS builder 19:15:44 ---> d5ca324e5af0 19:15:44 Step 3/25 : ARG MAKE='make build' 19:15:44 ---> Running in 46df2dbca3eb 19:15:45 Removing intermediate container 46df2dbca3eb 19:15:45 ---> ffa0df1c37e5 19:15:45 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 19:15:45 ---> Running in dcf414177ee5 19:15:45 Removing intermediate container dcf414177ee5 19:15:45 ---> 35697a367754 19:15:45 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:15:45 ---> Running in 32513968dec2 19:15:45 Removing intermediate container 32513968dec2 19:15:45 ---> ccf044c0030e 19:15:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:15:45 ---> Running in 6e32c0c0f150 19:15:45 Removing intermediate container 6e32c0c0f150 19:15:45 ---> 57738795556f 19:15:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:15:46 ---> Running in 0a0730edb3bf 19:15:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:15:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:15:47 OK: 221 MiB in 52 packages 19:15:47 Removing intermediate container 0a0730edb3bf 19:15:47 ---> e7d65cf83baf 19:15:47 Step 8/25 : WORKDIR /app 19:15:47 ---> Running in 98039542e0ba 19:15:48 Removing intermediate container 98039542e0ba 19:15:48 ---> a5630d2d1146 19:15:48 Step 9/25 : COPY go.mod vendor* ./ 19:15:48 ---> 93fa25ebd33a 19:15:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:15:48 ---> Running in 29925983bf5a 19:15:49 Removing intermediate container 29925983bf5a 19:15:49 ---> a29ab1bba9fc 19:15:49 Step 11/25 : COPY . . 19:15:49 ---> 1331fb95523d 19:15:49 Step 12/25 : RUN $MAKE 19:15:49 ---> Running in f669abf5f8a9 19:15:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 19:15:57 Removing intermediate container f669abf5f8a9 19:15:57 ---> c70a1b8106f1 19:15:57 Step 13/25 : FROM alpine:3.14 19:15:57 3.14: Pulling from library/alpine 19:15:58 8663204ce13b: Pulling fs layer 19:15:58 8663204ce13b: Verifying Checksum 19:15:58 8663204ce13b: Download complete 19:15:58 8663204ce13b: Pull complete 19:15:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:15:58 Status: Downloaded newer image for alpine:3.14 19:15:58 ---> e04c818066af 19:15:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:15:58 ---> Running in 94fcaf18c24d 19:15:58 Removing intermediate container 94fcaf18c24d 19:15:58 ---> 0d2d60e42c42 19:15:58 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:15:58 ---> Running in e73588ce20de 19:15:59 Removing intermediate container e73588ce20de 19:15:59 ---> 7af9c6c8a3f8 19:15:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:15:59 ---> Running in 2331722bc590 19:15:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:16:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:16:00 (1/6) Installing dumb-init (1.2.5-r1) 19:16:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:16:01 (3/6) Installing libsodium (1.0.18-r0) 19:16:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:16:01 (5/6) Installing libzmq (4.3.4-r0) 19:16:01 (6/6) Installing zeromq (4.3.4-r0) 19:16:01 Executing busybox-1.33.1-r7.trigger 19:16:01 OK: 8 MiB in 20 packages 19:16:01 Removing intermediate container 2331722bc590 19:16:01 ---> 9fc89f4d8ccf 19:16:01 Step 17/25 : COPY --from=builder /app/LICENSE / 19:16:02 ---> 03014ebdc01d 19:16:02 Step 18/25 : COPY --from=builder /app/Attribution.txt / 19:16:02 ---> a152c9ccb5b0 19:16:02 Step 19/25 : COPY --from=builder /app/cmd/ / 19:16:02 ---> 621ca9d5809c 19:16:02 Step 20/25 : EXPOSE 59989 19:16:02 ---> Running in d15c3f202373 19:16:02 Removing intermediate container d15c3f202373 19:16:02 ---> 20c7daec7874 19:16:02 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 19:16:02 ---> Running in 586d5ee4e5a3 19:16:02 Removing intermediate container 586d5ee4e5a3 19:16:02 ---> 877f9c557532 19:16:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:16:02 ---> Running in fe7c487b129a 19:16:02 Removing intermediate container fe7c487b129a 19:16:02 ---> 75f022351621 19:16:02 Step 23/25 : LABEL arch=amd64 19:16:03 ---> Running in 7e0d445ccc37 19:16:03 Removing intermediate container 7e0d445ccc37 19:16:03 ---> a720c461791a 19:16:03 Step 24/25 : LABEL git_sha=d06d514f92f492ffded79d7cec27101d0c59480b 19:16:03 ---> Running in 7873aa19aeef 19:16:03 Removing intermediate container 7873aa19aeef 19:16:03 ---> d22edb46a2a5 19:16:03 Step 25/25 : LABEL version=0.0.0 19:16:03 ---> Running in 41d584237e8f 19:16:03 Removing intermediate container 41d584237e8f 19:16:03 ---> 6d0502bd1516 19:16:03 [Warning] One or more build-args [ARCH] were not consumed 19:16:03 Successfully built 6d0502bd1516 19:16:03 Successfully tagged device-rfid-llrp:latest [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] sh 19:16:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:04 19:16:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:16:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:04 latest: Pulling from edgex-lftools-log-publisher 19:16:04 5eb5b503b376: Pulling fs layer 19:16:04 5c69ac0246d0: Pulling fs layer 19:16:04 ec43610c2a17: Pulling fs layer 19:16:04 3a2ae6a8a46f: Pulling fs layer 19:16:04 33b1e0a273af: Pulling fs layer 19:16:04 5d3b04190fa2: Pulling fs layer 19:16:04 2f39f015ded8: Pulling fs layer 19:16:04 33b1e0a273af: Waiting 19:16:04 5d3b04190fa2: Waiting 19:16:04 2f39f015ded8: Waiting 19:16:04 3a2ae6a8a46f: Waiting 19:16:04 5c69ac0246d0: Download complete 19:16:04 3a2ae6a8a46f: Verifying Checksum 19:16:04 3a2ae6a8a46f: Download complete 19:16:04 33b1e0a273af: Verifying Checksum 19:16:04 33b1e0a273af: Download complete 19:16:04 5d3b04190fa2: Download complete 19:16:04 ec43610c2a17: Verifying Checksum 19:16:04 ec43610c2a17: Download complete 19:16:04 5eb5b503b376: Download complete 19:16:05 2f39f015ded8: Download complete 19:16:05 5eb5b503b376: Pull complete 19:16:06 5c69ac0246d0: Pull complete 19:16:06 ec43610c2a17: Pull complete 19:16:06 3a2ae6a8a46f: Pull complete 19:16:06 33b1e0a273af: Pull complete 19:16:06 5d3b04190fa2: Pull complete 19:16:11 2f39f015ded8: Pull complete 19:16:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:16:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:16:11 prd-ubuntu20.04-docker-8c-8g-22081 does not seem to be running inside a container 19:16:11 $ 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/oundry_device-rfid-llrp-go_PR-75 -v /w/workspace/oundry_device-rfid-llrp-go_PR-75:/w/workspace/oundry_device-rfid-llrp-go_PR-75:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:16:13 $ docker top 0a563e10bb33a9c01a6237c2b0a90a907090dd04965facc8cb5ef96dcf6cc648 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:14 ---> job-cost.sh 19:16:14 lf-activate-venv: SKIPPING 19:16:14 INFO: No Stack... 19:16:14 INFO: Retrieving Pricing Info for: v3-standard-8 19:16:14 INFO: Archiving Costs [Pipeline] sh 19:16:15 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives/cost.csv 19:16:15 + cut -d, -f6 [Pipeline] lock 19:16:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] 19:16:15 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] did not exist. Created. 19:16:15 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:16:15 + echo total: 0.2199999988079071 [Pipeline] stash 19:16:15 Stashed 1 file(s) [Pipeline] } 19:16:15 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:16:15 $ docker stop --time=1 0a563e10bb33a9c01a6237c2b0a90a907090dd04965facc8cb5ef96dcf6cc648 19:16:17 $ docker rm -f 0a563e10bb33a9c01a6237c2b0a90a907090dd04965facc8cb5ef96dcf6cc648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:18:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22083 in /w/workspace/oundry_device-rfid-llrp-go_PR-75 [Pipeline] { [Pipeline] ws 19:18:32 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 19:18:33 Selected Git installation does not exist. Using Default 19:18:33 The recommended git tool is: NONE 19:18:41 using credential edgex-jenkins-ssh 19:18:41 Cloning the remote Git repository 19:18:41 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 19:18:41 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 19:18:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 19:18:41 > git --version # timeout=10 19:18:41 > git --version # 'git version 2.25.1' 19:18:41 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 19:18:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 19:18:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 19:18:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/75/head:refs/remotes/origin/PR-75 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:18:43 Merging remotes/origin/main commit 5b207c8f16228b7da7ed0fec4433fb1350251bb7 into PR head commit d06d514f92f492ffded79d7cec27101d0c59480b 19:18:43 Merge succeeded, producing d06d514f92f492ffded79d7cec27101d0c59480b 19:18:43 Checking out Revision d06d514f92f492ffded79d7cec27101d0c59480b (PR-75) 19:18:43 > git config core.sparsecheckout # timeout=10 19:18:43 > git checkout -f d06d514f92f492ffded79d7cec27101d0c59480b # timeout=10 19:18:43 > git remote # timeout=10 19:18:43 > git config --get remote.origin.url # timeout=10 19:18:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:43 > git merge 5b207c8f16228b7da7ed0fec4433fb1350251bb7 # timeout=10 19:18:43 > git rev-parse HEAD^{commit} # timeout=10 19:18:43 > git config core.sparsecheckout # timeout=10 19:18:43 > git checkout -f d06d514f92f492ffded79d7cec27101d0c59480b # timeout=10 19:18:48 Commit message: "feat(snap): use updated environment variable injection" 19:18:48 > git --version # timeout=10 19:18:48 > git --version # 'git version 2.25.1' 19:18:48 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:18:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:49 Dload Upload Total Spent Left Speed 19:18:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 131k 0 --:--:-- --:--:-- --:--:-- 131k [Pipeline] sh 19:18:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:18:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:18:50 + sudo tee /etc/docker/daemon.new 19:18:50 { 19:18:50 "registry-mirrors": [ 19:18:50 "https://nexus3.edgexfoundry.org:10001" 19:18:50 ], 19:18:50 "bip": "10.250.0.254/24", 19:18:50 "hosts": [ 19:18:50 "tcp://0.0.0.0:5555", 19:18:50 "unix:///var/run/docker.sock" 19:18:50 ], 19:18:50 "mtu": 1458, 19:18:50 "selinux-enabled": true, 19:18:50 "seccomp-profile": "/etc/docker/seccomp.json" 19:18:50 } [Pipeline] sh 19:18:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:18:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:09 provisioning config files... 19:19:09 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config2412107558979322975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:10 ---> docker-login.sh 19:19:10 nexus3.edgexfoundry.org:10001 19:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:11 Configure a credential helper to remove this warning. See 19:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:11 19:19:11 Login Succeeded 19:19:11 nexus3.edgexfoundry.org:10002 19:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:11 Configure a credential helper to remove this warning. See 19:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:11 19:19:11 Login Succeeded 19:19:11 nexus3.edgexfoundry.org:10003 19:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:12 Configure a credential helper to remove this warning. See 19:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:12 19:19:12 Login Succeeded 19:19:12 nexus3.edgexfoundry.org:10004 19:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:12 Configure a credential helper to remove this warning. See 19:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:12 19:19:12 Login Succeeded 19:19:12 docker.io 19:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:13 Configure a credential helper to remove this warning. See 19:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:13 19:19:13 Login Succeeded 19:19:13 ---> docker-login.sh ends [Pipeline] } 19:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:14 ========================================================= 19:19:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:19:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:19:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:19:15 Sending build context to Docker daemon 1.228MB 19:19:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:19:15 Step 2/12 : FROM ${BASE} AS builder 19:19:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:19:15 9b3977197b4f: Pulling fs layer 19:19:15 1a89e8eeedd5: Pulling fs layer 19:19:15 94645a83ff95: Pulling fs layer 19:19:15 3f3a8bcf1eab: Pulling fs layer 19:19:15 0c92f367c5e7: Pulling fs layer 19:19:15 3096ccb668a1: Pulling fs layer 19:19:15 e8cf19c19ddd: Pulling fs layer 19:19:15 a4caa8a26152: Pulling fs layer 19:19:15 3f3a8bcf1eab: Waiting 19:19:15 e8cf19c19ddd: Waiting 19:19:15 0c92f367c5e7: Waiting 19:19:15 3096ccb668a1: Waiting 19:19:15 a4caa8a26152: Waiting 19:19:15 94645a83ff95: Verifying Checksum 19:19:15 94645a83ff95: Download complete 19:19:15 1a89e8eeedd5: Verifying Checksum 19:19:15 1a89e8eeedd5: Download complete 19:19:15 0c92f367c5e7: Verifying Checksum 19:19:15 0c92f367c5e7: Download complete 19:19:15 3096ccb668a1: Verifying Checksum 19:19:15 3096ccb668a1: Download complete 19:19:15 9b3977197b4f: Verifying Checksum 19:19:15 e8cf19c19ddd: Verifying Checksum 19:19:15 e8cf19c19ddd: Download complete 19:19:16 9b3977197b4f: Pull complete 19:19:17 1a89e8eeedd5: Pull complete 19:19:18 94645a83ff95: Pull complete 19:19:18 a4caa8a26152: Verifying Checksum 19:19:18 a4caa8a26152: Download complete 19:19:18 3f3a8bcf1eab: Verifying Checksum 19:19:18 3f3a8bcf1eab: Download complete 19:19:34 3f3a8bcf1eab: Pull complete 19:19:34 0c92f367c5e7: Pull complete 19:19:34 3096ccb668a1: Pull complete 19:19:34 e8cf19c19ddd: Pull complete 19:19:39 a4caa8a26152: Pull complete 19:19:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:19:39 ---> 725f1c02e7f9 19:19:39 Step 3/12 : ARG MAKE='make build' 19:19:40 ---> Running in da6bc863148d 19:19:41 Removing intermediate container da6bc863148d 19:19:41 ---> 164623de680e 19:19:41 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 19:19:41 ---> Running in dd4ea6bc90cc 19:19:41 Removing intermediate container dd4ea6bc90cc 19:19:41 ---> 3bf0c7ebaff9 19:19:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:19:41 ---> Running in 2ae30e0df70b 19:19:42 Removing intermediate container 2ae30e0df70b 19:19:42 ---> caf3ae7d8955 19:19:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:42 ---> Running in 39e5a09c3ddd 19:19:45 Removing intermediate container 39e5a09c3ddd 19:19:45 ---> 746544ffc799 19:19:45 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:45 ---> Running in cd44f6672a1b 19:19:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:19:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:19:48 OK: 220 MiB in 52 packages 19:19:48 Removing intermediate container cd44f6672a1b 19:19:48 ---> 3ff29eff7fa6 19:19:48 Step 8/12 : WORKDIR /app 19:19:49 ---> Running in b406ce9dc8a5 19:19:49 Removing intermediate container b406ce9dc8a5 19:19:49 ---> 9f816a488645 19:19:49 Step 9/12 : COPY go.mod vendor* ./ 19:19:49 ---> 5d1586374e7e 19:19:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:49 ---> Running in 26aacf6fbf5d 19:21:11 Removing intermediate container 26aacf6fbf5d 19:21:11 ---> 26fc5c01651e 19:21:11 Step 11/12 : COPY . . 19:21:11 ---> 51f2a4992972 19:21:11 Step 12/12 : RUN $MAKE 19:21:11 ---> Running in b1c1800261ec 19:21:11 noop 19:21:12 Removing intermediate container b1c1800261ec 19:21:12 ---> 7ff137bb3a97 19:21:12 Successfully built 7ff137bb3a97 19:21:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:21:12 + docker inspect -f . ci-base-image-arm64 19:21:12 . [Pipeline] withDockerContainer 19:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-22083 does not seem to be running inside a container 19:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:14 $ docker top e2b02d444a88942fcdd33f3eff868827a42a96ebd869332d505285a2bfeca865 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:15 + go version 19:21:15 go version go1.17.6 linux/arm64 [Pipeline] } 19:21:15 $ docker stop --time=1 e2b02d444a88942fcdd33f3eff868827a42a96ebd869332d505285a2bfeca865 19:21:17 $ docker rm -f e2b02d444a88942fcdd33f3eff868827a42a96ebd869332d505285a2bfeca865 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:21:18 + docker inspect -f . ci-base-image-arm64 19:21:18 . [Pipeline] withDockerContainer 19:21:18 prd-ubuntu20.04-docker-arm64-4c-16g-22083 does not seem to be running inside a container 19:21:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:20 $ docker top 39a8ff63a583c2d5e065cd4af1dfe38ff1e7ff282b741244190921a8b02733c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:21:21 + make test 19:21:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:21:23 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 19:22:31 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 19:22:31 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 19:23:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 35.357s coverage: 39.3% of statements 19:23:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.565s coverage: 52.0% of statements 19:23:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.045s coverage: 96.4% of statements 19:23:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:23:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:23:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:23:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:23:38 ./bin/test-attribution-txt.sh [Pipeline] echo 19:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:23:41 $ docker stop --time=1 39a8ff63a583c2d5e065cd4af1dfe38ff1e7ff282b741244190921a8b02733c8 19:23:42 $ docker rm -f 39a8ff63a583c2d5e065cd4af1dfe38ff1e7ff282b741244190921a8b02733c8 [Pipeline] // withDockerContainer [Pipeline] sh 19:23:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:23:44 Warning: overwriting stash ‘coverage-report’ 19:23:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:23:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:23:45 + ls -al . 19:23:45 total 636 19:23:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 19:23 . 19:23:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:18 .. 19:23:45 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 19:18 .dockerignore 19:23:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:18 .git 19:23:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:18 .github 19:23:45 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 19:18 .gitignore 19:23:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:18 .golangci.yml 19:23:45 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 19:18 Attribution.txt 19:23:45 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 19:18 Dockerfile 19:23:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:18 GOVERNANCE.md 19:23:45 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 19:18 Jenkinsfile 19:23:45 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 19:18 LICENSE 19:23:45 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 19:18 Makefile 19:23:45 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 19:18 OWNERS.md 19:23:45 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 25 19:18 README.md 19:23:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:14 VERSION 19:23:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:18 bin 19:23:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:18 cmd 19:23:45 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 19:23 coverage.out 19:23:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:18 examples 19:23:45 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 19:18 go.mod 19:23:45 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 19:18 go.sum 19:23:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:18 images 19:23:45 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 19:18 internal 19:23:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:18 snap 19:23:45 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 19:18 version.go [Pipeline] isUnix [Pipeline] sh 19:23:46 + 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=d06d514f92f492ffded79d7cec27101d0c59480b --label arch=arm64 --label version=0.0.0 . 19:23:46 Sending build context to Docker daemon 1.228MB 19:23:46 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:23:46 Step 2/25 : FROM ${BASE} AS builder 19:23:46 ---> 7ff137bb3a97 19:23:46 Step 3/25 : ARG MAKE='make build' 19:23:46 ---> Running in 668eed03a20f 19:23:47 Removing intermediate container 668eed03a20f 19:23:47 ---> 697100f1c7ba 19:23:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 19:23:47 ---> Running in 9530ddcfa9f4 19:23:47 Removing intermediate container 9530ddcfa9f4 19:23:47 ---> bb7785dd7b11 19:23:47 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:23:47 ---> Running in 42c52f3d9485 19:23:48 Removing intermediate container 42c52f3d9485 19:23:48 ---> f76714d3b7f0 19:23:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:23:48 ---> Running in 5484c5f86b9b 19:23:50 Removing intermediate container 5484c5f86b9b 19:23:50 ---> 4b9f92cc6314 19:23:50 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:23:50 ---> Running in 12e6281ba415 19:23:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:23:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:23:53 OK: 220 MiB in 52 packages 19:23:54 Removing intermediate container 12e6281ba415 19:23:54 ---> 0b3a874792ad 19:23:54 Step 8/25 : WORKDIR /app 19:23:54 ---> Running in 11e8b478d816 19:23:54 Removing intermediate container 11e8b478d816 19:23:54 ---> 5edfe8a46abc 19:23:54 Step 9/25 : COPY go.mod vendor* ./ 19:23:55 ---> b3b1517d74dd 19:23:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:23:55 ---> Running in 4137f4f2da93 19:23:58 Removing intermediate container 4137f4f2da93 19:23:58 ---> 91e0848945ac 19:23:58 Step 11/25 : COPY . . 19:23:58 ---> 5304f7ed3fb8 19:23:58 Step 12/25 : RUN $MAKE 19:23:58 ---> Running in a220467abe30 19:24:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 19:25:08 Removing intermediate container a220467abe30 19:25:08 ---> 532494ccf5cc 19:25:08 Step 13/25 : FROM alpine:3.14 19:25:08 3.14: Pulling from library/alpine 19:25:08 455c02918c45: Pulling fs layer 19:25:08 455c02918c45: Verifying Checksum 19:25:08 455c02918c45: Download complete 19:25:08 455c02918c45: Pull complete 19:25:08 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:25:08 Status: Downloaded newer image for alpine:3.14 19:25:08 ---> ac73e934f311 19:25:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:25:08 ---> Running in 42f6b1e4ebca 19:25:08 Removing intermediate container 42f6b1e4ebca 19:25:08 ---> cac4d64953a9 19:25:08 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:08 ---> Running in 155b12dd3958 19:25:08 Removing intermediate container 155b12dd3958 19:25:08 ---> b6f36f22d07d 19:25:08 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:25:08 ---> Running in c3df4be1d614 19:25:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:25:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:25:08 (1/6) Installing dumb-init (1.2.5-r1) 19:25:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:25:08 (3/6) Installing libsodium (1.0.18-r0) 19:25:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:25:08 (5/6) Installing libzmq (4.3.4-r0) 19:25:08 (6/6) Installing zeromq (4.3.4-r0) 19:25:08 Executing busybox-1.33.1-r7.trigger 19:25:08 OK: 8 MiB in 20 packages 19:25:08 Removing intermediate container c3df4be1d614 19:25:08 ---> 2ea98384452e 19:25:08 Step 17/25 : COPY --from=builder /app/LICENSE / 19:25:08 ---> bfe1e2f483bb 19:25:08 Step 18/25 : COPY --from=builder /app/Attribution.txt / 19:25:08 ---> 4c2445669441 19:25:08 Step 19/25 : COPY --from=builder /app/cmd/ / 19:25:09 ---> a1d9fdeab88d 19:25:09 Step 20/25 : EXPOSE 59989 19:25:09 ---> Running in be7b2d077ad0 19:25:10 Removing intermediate container be7b2d077ad0 19:25:10 ---> 8bfe3426fff6 19:25:10 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 19:25:10 ---> Running in 8017244e0f43 19:25:10 Removing intermediate container 8017244e0f43 19:25:10 ---> 33aa9d3dca26 19:25:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:25:10 ---> Running in 53d9b967c274 19:25:11 Removing intermediate container 53d9b967c274 19:25:11 ---> 8608bcc6999d 19:25:11 Step 23/25 : LABEL arch=arm64 19:25:11 ---> Running in 1002f0bb8b5b 19:25:11 Removing intermediate container 1002f0bb8b5b 19:25:11 ---> 773f78583c8e 19:25:11 Step 24/25 : LABEL git_sha=d06d514f92f492ffded79d7cec27101d0c59480b 19:25:11 ---> Running in 80883c42af59 19:25:12 Removing intermediate container 80883c42af59 19:25:12 ---> 9ec73fac098b 19:25:12 Step 25/25 : LABEL version=0.0.0 19:25:12 ---> Running in d33d440eed9e 19:25:12 Removing intermediate container d33d440eed9e 19:25:12 ---> 301a81f10821 19:25:12 [Warning] One or more build-args [ARCH] were not consumed 19:25:12 Successfully built 301a81f10821 19:25:12 Successfully tagged device-rfid-llrp-arm64:latest [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] sh 19:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:13 19:25:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:25:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:13 arm64: Pulling from edgex-lftools-log-publisher 19:25:13 8998bd30e6a1: Pulling fs layer 19:25:13 04944245beec: Pulling fs layer 19:25:13 699f458cf7ca: Pulling fs layer 19:25:13 765212b225bb: Pulling fs layer 19:25:13 f23df028b6ca: Pulling fs layer 19:25:13 d65c8cfc05b1: Pulling fs layer 19:25:13 2437ff75d9bd: Pulling fs layer 19:25:13 765212b225bb: Waiting 19:25:13 f23df028b6ca: Waiting 19:25:13 d65c8cfc05b1: Waiting 19:25:13 2437ff75d9bd: Waiting 19:25:13 04944245beec: Verifying Checksum 19:25:13 04944245beec: Download complete 19:25:13 765212b225bb: Download complete 19:25:14 f23df028b6ca: Verifying Checksum 19:25:14 f23df028b6ca: Download complete 19:25:14 d65c8cfc05b1: Verifying Checksum 19:25:14 d65c8cfc05b1: Download complete 19:25:14 699f458cf7ca: Verifying Checksum 19:25:14 699f458cf7ca: Download complete 19:25:14 8998bd30e6a1: Verifying Checksum 19:25:14 8998bd30e6a1: Download complete 19:25:17 2437ff75d9bd: Verifying Checksum 19:25:17 2437ff75d9bd: Download complete 19:25:18 8998bd30e6a1: Pull complete 19:25:20 04944245beec: Pull complete 19:25:22 699f458cf7ca: Pull complete 19:25:22 765212b225bb: Pull complete 19:25:23 f23df028b6ca: Pull complete 19:25:23 d65c8cfc05b1: Pull complete 19:25:41 2437ff75d9bd: Pull complete 19:25:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:25:41 prd-ubuntu20.04-docker-arm64-4c-16g-22083 does not seem to be running inside a container 19:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:25:45 $ docker top 31331521a12668e109b13c9eb9f867c2bf427f75f85b9c0fa1d306e9154d137a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:46 ---> job-cost.sh 19:25:46 lf-activate-venv: SKIPPING 19:25:46 INFO: No Stack... 19:25:46 INFO: Retrieving Pricing Info for: v3-standard-4 19:25:47 INFO: Archiving Costs [Pipeline] sh 19:25:48 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 19:25:48 + cut -d, -f6 [Pipeline] lock 19:25:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] 19:25:48 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] did not exist. Created. 19:25:48 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:25:49 /w/workspace/device-rfid-llrp-go/1@tmp/durable-2143ee0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:25:50 + echo total: 0.10999999940395355 [Pipeline] stash 19:25:50 Warning: overwriting stash ‘stack-cost’ 19:25:50 Stashed 1 file(s) [Pipeline] } 19:25:50 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-75-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:25:50 $ docker stop --time=1 31331521a12668e109b13c9eb9f867c2bf427f75f85b9c0fa1d306e9154d137a 19:25:52 $ docker rm -f 31331521a12668e109b13c9eb9f867c2bf427f75f85b9c0fa1d306e9154d137a [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 19:25:53 provisioning config files... 19:25:53 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/config2134396586318936590tmp [Pipeline] { [Pipeline] sh 19:25:53 + set +x 19:25:53 + curl -s https://codecov.io/bash 19:25:53 + bash -s -- 19:25:53 19:25:53 _____ _ 19:25:53 / ____| | | 19:25:53 | | ___ __| | ___ ___ _____ __ 19:25:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:25:53 | |___| (_) | (_| | __/ (_| (_) \ V / 19:25:53 \_____\___/ \__,_|\___|\___\___/ \_/ 19:25:53 Bash-1.0.6 19:25:53 19:25:53 19:25:53 ==> git version 2.25.1 found 19:25:53 ==> 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 19:25:53 Release-Date: 2020-01-08 19:25:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:25:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:25:53 ==> Jenkins CI detected. 19:25:53 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-75 19:25:53 project root: . 19:25:53 --> token set from env 19:25:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:25:53 ==> Running gcov in . (disable via -X gcov) 19:25:53 ==> Python coveragepy not found 19:25:53 ==> Searching for coverage reports in: 19:25:53 + . 19:25:53 -> Found 1 reports 19:25:53 ==> Detecting git/mercurial file structure 19:25:53 ==> Reading reports 19:25:53 + ./coverage.out bytes=460394 19:25:53 ==> Appending adjustments 19:25:53 https://docs.codecov.io/docs/fixing-reports 19:25:53 + Found adjustments 19:25:53 ==> Gzipping contents 19:25:53 52K /tmp/codecov.Hg3qYc.gz 19:25:53 ==> Uploading reports 19:25:53 url: https://codecov.io 19:25:53 query: branch=PR-75&commit=d06d514f92f492ffded79d7cec27101d0c59480b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=75&job=&cmd_args= 19:25:53 -> Pinging Codecov 19:25:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-75&commit=d06d514f92f492ffded79d7cec27101d0c59480b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-75%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=75&job=&cmd_args= 19:25:54 -> Uploading to 19:25:54 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/581DD39554BDF9B6E22D074273EAD858/d06d514f92f492ffded79d7cec27101d0c59480b/77a9e3fa-e052-48a3-b53a-b5b1c9c06a61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T192554Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef47d0abb70cb38ac2b90313660500f9656ca2535e21f99a0401af2d4013be54 19:25:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:25:54 Dload Upload Total Spent Left Speed 19:25:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51793 0 0 100 51793 0 199k --:--:-- --:--:-- --:--:-- 199k 19:25:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d06d514f92f492ffded79d7cec27101d0c59480b [Pipeline] } 19:25:54 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 19:25:56 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives ] 19:25:56 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives 19:25:56 total 16 19:25:56 drwxr-xr-x 3 root root 4096 Apr 25 19:16 . 19:25:56 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 19:16 .. 19:25:56 drwxr-xr-x 2 root root 4096 Apr 25 19:16 cost 19:25:56 -rw-r--r-- 1 root root 89 Apr 25 19:16 cost.csv 19:25:56 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives 19:25:56 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives 19:25:56 total 16 19:25:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 19:16 . 19:25:56 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 19:16 .. 19:25:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 19:16 cost 19:25:56 -rw-r--r-- 1 jenkins jenkins 89 Apr 25 19:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:25:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:25:57 ---> package-listing.sh 19:25:57 ++ facter osfamily 19:25:57 ++ tr '[:upper:]' '[:lower:]' 19:25:57 + OS_FAMILY=debian 19:25:57 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-75 19:25:57 + START_PACKAGES=/tmp/packages_start.txt 19:25:57 + END_PACKAGES=/tmp/packages_end.txt 19:25:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:25:57 + PACKAGES=/tmp/packages_start.txt 19:25:57 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-75 ']' 19:25:57 + PACKAGES=/tmp/packages_end.txt 19:25:57 + case "${OS_FAMILY}" in 19:25:57 + dpkg -l 19:25:57 + grep '^ii' 19:25:57 + '[' -f /tmp/packages_start.txt ']' 19:25:57 + '[' -f /tmp/packages_end.txt ']' 19:25:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:25:57 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-75 ']' 19:25:57 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives/ 19:25:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-75/archives/ [Pipeline] echo 19:25:57 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/oundry_device-rfid-llrp-go_PR-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:25:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:25:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:58 . [Pipeline] withDockerContainer 19:25:58 prd-ubuntu20.04-docker-8c-8g-22081 does not seem to be running inside a container 19:25:58 $ 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/oundry_device-rfid-llrp-go_PR-75/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-75 -v /w/workspace/oundry_device-rfid-llrp-go_PR-75:/w/workspace/oundry_device-rfid-llrp-go_PR-75:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:25:58 $ docker top 70032565d51046c9ad0ee773b018cf798596fa63985b7c1c2c908ad733a02cb8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:59 + touch /tmp/pre-build-complete [Pipeline] sh 19:25:59 + mkdir -p /var/log/sysstat [Pipeline] sh 19:25:59 + ls /var/log/sa-host 19:25:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:00 provisioning config files... 19:26:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-75@tmp/config3365263150647403637tmp [Pipeline] { [Pipeline] echo 19:26:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:26:00 ---> create-netrc.sh [Pipeline] } 19:26:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:26:00 ---> python-tools-install.sh [Pipeline] echo 19:26:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:26:01 ---> sudo-logs.sh 19:26:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:26:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:26:01 ---> job-cost.sh 19:26:01 lf-activate-venv: SKIPPING 19:26:01 DEBUG: total: 0.2199999988079071 19:26:01 INFO: Retrieving Stack Cost... 19:26:01 INFO: Retrieving Pricing Info for: v3-standard-8 19:26:02 INFO: Archiving Costs [Pipeline] echo 19:26:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:26:02 ---> logs-deploy.sh 19:26:02 lf-activate-venv: SKIPPING 19:26:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-75/1 19:26:02 INFO: archiving workspace using pattern(s): 19:26:03 Archives upload complete. 19:26:03 INFO: archiving logs to Nexus