Pull request #220 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 jumpingliu for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at 6e4500d7246dada94f826fd10aec60271f103086 rather than 95fcffc765216fdaae5e7da6cd22c8214d3a4373 Obtained Jenkinsfile from 6e4500d7246dada94f826fd10aec60271f103086 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-ssh4058517080172025256.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7054783027190671330.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11289178299122235804.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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13947932548942730359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 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-ssh10733999255975210994.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5570122612056996483.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13831 in /w/workspace/undry_device-rfid-llrp-go_PR-220 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-220 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6e4500d7246dada94f826fd10aec60271f103086 into PR head commit 95fcffc765216fdaae5e7da6cd22c8214d3a4373 Merge succeeded, producing 95fcffc765216fdaae5e7da6cd22c8214d3a4373 Checking out Revision 95fcffc765216fdaae5e7da6cd22c8214d3a4373 (PR-220) > git config core.sparsecheckout # timeout=10 > git checkout -f 95fcffc765216fdaae5e7da6cd22c8214d3a4373 # 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 6e4500d7246dada94f826fd10aec60271f103086 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95fcffc765216fdaae5e7da6cd22c8214d3a4373 # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:48:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:48:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:48:22 ========================================================= 05:48:22 EdgeX Global Pipelines Version Info 05:48:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:48:24 ------------------- 05:48:24 stable info: 05:48:24 ------------------- 05:48:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:48:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:48:24 Message: update stable to v1.0.249 05:48:25 ------------------- 05:48:25 experimental info: 05:48:25 ------------------- 05:48:25 Commited By: **** collab-it+edgex@linuxfoundation.org 05:48:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:48:25 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:48:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95fcffc765216fdaae5e7da6cd22c8214d3a4373 [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95fcffc [Pipeline] echo 05:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:26 provisioning config files... 05:48:26 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/config5680914766767993670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:27 ---> docker-login.sh 05:48:27 nexus3.edgexfoundry.org:10001 05:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 nexus3.edgexfoundry.org:10002 05:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:38 Configure a credential helper to remove this warning. See 05:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:38 05:48:38 Login Succeeded 05:48:38 nexus3.edgexfoundry.org:10003 05:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:38 Configure a credential helper to remove this warning. See 05:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:38 05:48:38 Login Succeeded 05:48:38 nexus3.edgexfoundry.org:10004 05:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:38 Configure a credential helper to remove this warning. See 05:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:38 05:48:38 Login Succeeded 05:48:38 docker.io 05:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:38 Configure a credential helper to remove this warning. See 05:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:38 05:48:38 Login Succeeded 05:48:38 ---> docker-login.sh ends [Pipeline] } 05:48:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:48:39 + git rev-list -1 --merges 95fcffc765216fdaae5e7da6cd22c8214d3a4373~1..95fcffc765216fdaae5e7da6cd22c8214d3a4373 [Pipeline] echo 05:48:39 -----------> git rev-list -1 --merges 95fcffc765216fdaae5e7da6cd22c8214d3a4373~1..95fcffc765216fdaae5e7da6cd22c8214d3a4373 95fcffc765216fdaae5e7da6cd22c8214d3a4373 [false] [Pipeline] sh 05:48:39 + git log --format=format:%s -1 95fcffc765216fdaae5e7da6cd22c8214d3a4373 [Pipeline] echo 05:48:40 ========================================================= 05:48:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:48:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:40 + git log --format=format:%s -1 95fcffc765216fdaae5e7da6cd22c8214d3a4373 [Pipeline] echo 05:48:40 [semverPrep] GIT_COMMIT: 95fcffc765216fdaae5e7da6cd22c8214d3a4373, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 05:48:40 [semverPrep] This is not a build commit. [Pipeline] sh 05:48:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:48:40 + grep -v github /etc/ssh/ssh_known_hosts 05:48:40 + [ -e /tmp/ssh_known_hosts ] 05:48:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:48:40 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:48:40 sudo tee -a /etc/ssh/ssh_known_hosts 05:48:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:48:41 05:48:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:48:53 0.1.4: Pulling from edgex-devops/py-git-semver 05:48:53 b85a868b505f: Pulling fs layer 05:48:53 e2be974225ed: Pulling fs layer 05:48:53 339a4e72a1f5: Pulling fs layer 05:48:53 988bab9f4d93: Pulling fs layer 05:48:53 1469e6f7b9e6: Pulling fs layer 05:48:53 eaf3925da568: Pulling fs layer 05:48:53 988bab9f4d93: Waiting 05:48:53 bab4dde63d76: Pulling fs layer 05:48:53 bde34c3a00c8: Pulling fs layer 05:48:53 1469e6f7b9e6: Waiting 05:48:53 b352a97aabf1: Pulling fs layer 05:48:53 4872d77fe225: Pulling fs layer 05:48:53 5851b861e8e6: Pulling fs layer 05:48:53 bde34c3a00c8: Waiting 05:48:53 b352a97aabf1: Waiting 05:48:53 eaf3925da568: Waiting 05:48:53 bab4dde63d76: Waiting 05:48:53 4872d77fe225: Waiting 05:48:53 5851b861e8e6: Waiting 05:48:53 e2be974225ed: Verifying Checksum 05:48:53 e2be974225ed: Download complete 05:48:53 988bab9f4d93: Verifying Checksum 05:48:53 988bab9f4d93: Download complete 05:48:53 1469e6f7b9e6: Verifying Checksum 05:48:53 1469e6f7b9e6: Download complete 05:48:53 339a4e72a1f5: Verifying Checksum 05:48:53 339a4e72a1f5: Download complete 05:48:53 eaf3925da568: Verifying Checksum 05:48:53 eaf3925da568: Download complete 05:48:53 bde34c3a00c8: Verifying Checksum 05:48:53 bde34c3a00c8: Download complete 05:48:53 b352a97aabf1: Verifying Checksum 05:48:53 b352a97aabf1: Download complete 05:48:53 4872d77fe225: Verifying Checksum 05:48:53 4872d77fe225: Download complete 05:48:54 5851b861e8e6: Verifying Checksum 05:48:54 5851b861e8e6: Download complete 05:48:54 b85a868b505f: Verifying Checksum 05:48:54 b85a868b505f: Download complete 05:48:54 bab4dde63d76: Verifying Checksum 05:48:54 bab4dde63d76: Download complete 05:48:55 b85a868b505f: Pull complete 05:48:55 e2be974225ed: Pull complete 05:48:55 339a4e72a1f5: Pull complete 05:48:55 988bab9f4d93: Pull complete 05:48:56 1469e6f7b9e6: Pull complete 05:48:56 eaf3925da568: Pull complete 05:48:58 bab4dde63d76: Pull complete 05:48:58 bde34c3a00c8: Pull complete 05:48:58 b352a97aabf1: Pull complete 05:48:58 4872d77fe225: Pull complete 05:48:58 5851b861e8e6: Pull complete 05:48:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:48:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:58 prd-ubuntu20.04-docker-8c-8g-13831 does not seem to be running inside a container 05:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-220 -v /w/workspace/undry_device-rfid-llrp-go_PR-220:/w/workspace/undry_device-rfid-llrp-go_PR-220:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:48:59 $ docker top 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 -eo pid,comm 05:48:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:48:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:48:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:48:59 [ssh-agent] Looking for ssh-agent implementation... 05:49:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:00 $ docker exec 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 ssh-agent 05:49:00 SSH_AUTH_SOCK=/tmp/ssh-mFyFjjLlIk32/agent.33 05:49:00 SSH_AGENT_PID=39 05:49:00 Running ssh-add (command line suppressed) 05:49:00 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/private_key_11945714452909318408.key (/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/private_key_11945714452909318408.key) 05:49:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:00 + git tag --points-at HEAD [Pipeline] } 05:49:00 $ docker exec --env ******** --env ******** 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 ssh-agent -k 05:49:00 unset SSH_AUTH_SOCK; 05:49:00 unset SSH_AGENT_PID; 05:49:00 echo Agent pid 39 killed; 05:49:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:49:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:49:00 [ssh-agent] Looking for ssh-agent implementation... 05:49:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:49:00 $ docker exec 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 ssh-agent 05:49:01 SSH_AUTH_SOCK=/tmp/ssh-7mqzuDu4Tu5T/agent.72 05:49:01 SSH_AGENT_PID=78 05:49:01 Running ssh-add (command line suppressed) 05:49:01 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/private_key_7728244500776253756.key (/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/private_key_7728244500776253756.key) 05:49:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:49:01 + git semver init 05:49:01 2023-05-05 05:49:01,689 [run_init] DEBUG init version:0.0.0 force:False 05:49:01 2023-05-05 05:49:01,690 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver 05:49:01 2023-05-05 05:49:01,691 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-220/.semver 05:49:01 2023-05-05 05:49:01,691 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-220, universal_newlines=False, shell=None, istream=None) 05:49:02 2023-05-05 05:49:02,430 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-220/.git/info/exclude 05:49:02 2023-05-05 05:49:02,431 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver/PR-220 with force:False 05:49:02 2023-05-05 05:49:02,431 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver/PR-220 05:49:02 2023-05-05 05:49:02,435 [execute] INFO git cat-file --batch-check 05:49:02 2023-05-05 05:49:02,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) 05:49:02 2023-05-05 05:49:02,443 [execute] INFO git cat-file --batch 05:49:02 2023-05-05 05:49:02,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) 05:49:02 2023-05-05 05:49:02,449 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-220/.semver/PR-220 05:49:02 0.0.0 [Pipeline] } 05:49:02 $ docker exec --env ******** --env ******** 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 ssh-agent -k 05:49:02 unset SSH_AUTH_SOCK; 05:49:02 unset SSH_AGENT_PID; 05:49:02 echo Agent pid 78 killed; 05:49:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:49:03 + git semver [Pipeline] } 05:49:03 $ docker stop --time=1 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 05:49:04 $ docker rm -f --volumes 3910a6a303906242de50a8d71c3cdde73b565807a352c552e4ad4c4c05bc0237 [Pipeline] // withDockerContainer [Pipeline] sh 05:49:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:49:05 Stashed 1 file(s) [Pipeline] echo 05:49:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:49:06 provisioning config files... 05:49:06 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/config2747663770859930030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:06 ---> docker-login.sh 05:49:06 nexus3.edgexfoundry.org:10001 05:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:06 Configure a credential helper to remove this warning. See 05:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:06 05:49:06 Login Succeeded 05:49:06 nexus3.edgexfoundry.org:10002 05:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:06 Configure a credential helper to remove this warning. See 05:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:06 05:49:06 Login Succeeded 05:49:06 nexus3.edgexfoundry.org:10003 05:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:06 Configure a credential helper to remove this warning. See 05:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:06 05:49:06 Login Succeeded 05:49:06 nexus3.edgexfoundry.org:10004 05:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:06 Configure a credential helper to remove this warning. See 05:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:06 05:49:06 Login Succeeded 05:49:06 docker.io 05:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:06 Configure a credential helper to remove this warning. See 05:49:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:06 05:49:06 Login Succeeded 05:49:06 ---> docker-login.sh ends [Pipeline] } 05:49:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:49:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:49:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:49:07 ========================================================= 05:49:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:49:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:49:07 Sending build context to Docker daemon 4.229MB 05:49:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:49:07 Step 2/12 : FROM ${BASE} AS builder 05:49:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:07 f56be85fc22e: Pulling fs layer 05:49:07 85791d961cd3: Pulling fs layer 05:49:07 d694b5ae8c79: Pulling fs layer 05:49:07 9f32a84ed3da: Pulling fs layer 05:49:07 4d19c01a9841: Pulling fs layer 05:49:07 9325e15d5711: Pulling fs layer 05:49:07 556b6ee489ea: Pulling fs layer 05:49:07 c5a4b2cf53e6: Pulling fs layer 05:49:07 9f32a84ed3da: Waiting 05:49:07 4d19c01a9841: Waiting 05:49:07 9325e15d5711: Waiting 05:49:07 c5a4b2cf53e6: Waiting 05:49:07 556b6ee489ea: Waiting 05:49:07 85791d961cd3: Verifying Checksum 05:49:07 85791d961cd3: Download complete 05:49:07 9f32a84ed3da: Download complete 05:49:07 4d19c01a9841: Verifying Checksum 05:49:07 4d19c01a9841: Download complete 05:49:07 f56be85fc22e: Verifying Checksum 05:49:07 f56be85fc22e: Download complete 05:49:07 9325e15d5711: Verifying Checksum 05:49:07 9325e15d5711: Download complete 05:49:07 f56be85fc22e: Pull complete 05:49:08 85791d961cd3: Pull complete 05:49:08 c5a4b2cf53e6: Verifying Checksum 05:49:08 c5a4b2cf53e6: Download complete 05:49:08 d694b5ae8c79: Verifying Checksum 05:49:08 d694b5ae8c79: Download complete 05:49:08 556b6ee489ea: Verifying Checksum 05:49:08 556b6ee489ea: Download complete 05:49:11 d694b5ae8c79: Pull complete 05:49:11 9f32a84ed3da: Pull complete 05:49:11 4d19c01a9841: Pull complete 05:49:11 9325e15d5711: Pull complete 05:49:14 556b6ee489ea: Pull complete 05:49:15 c5a4b2cf53e6: Pull complete 05:49:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:49:15 ---> c4be618373d6 05:49:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:49:18 ---> Running in 82310c24dd57 05:49:18 Removing intermediate container 82310c24dd57 05:49:18 ---> 756f41b497cd 05:49:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:49:18 ---> Running in a8ad4d26ef30 05:49:18 Removing intermediate container a8ad4d26ef30 05:49:18 ---> 2c28a6a74371 05:49:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 05:49:18 ---> Running in 3a1225560f47 05:49:18 Removing intermediate container 3a1225560f47 05:49:18 ---> 39d6ce23978e 05:49:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:49:18 ---> Running in 36d4180b20be 05:49:18 Removing intermediate container 36d4180b20be 05:49:18 ---> a530afe048a6 05:49:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:49:18 ---> Running in e42a770028da 05:49:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:49:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:49:19 OK: 265 MiB in 53 packages 05:49:19 Removing intermediate container e42a770028da 05:49:19 ---> bc22a13cad9c 05:49:19 Step 8/12 : WORKDIR /app 05:49:19 ---> Running in b48530d9a3f5 05:49:19 Removing intermediate container b48530d9a3f5 05:49:19 ---> d0d390d49668 05:49:19 Step 9/12 : COPY go.mod vendor* ./ 05:49:19 ---> 5f519b04b467 05:49:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:19 ---> Running in deda515577c1 05:49:20 Still waiting to schedule task 05:49:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:49:37 Removing intermediate container deda515577c1 05:49:37 ---> ed60d74c3ff1 05:49:37 Step 11/12 : COPY . . 05:49:37 ---> 114a797a9bc4 05:49:37 Step 12/12 : RUN $MAKE 05:49:37 ---> Running in c68a67735b11 05:49:38 noop 05:49:38 Removing intermediate container c68a67735b11 05:49:38 ---> f88c6c30dd52 05:49:38 Successfully built f88c6c30dd52 05:49:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:38 + docker inspect -f . ci-base-image-x86_64 05:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:38 prd-ubuntu20.04-docker-8c-8g-13831 does not seem to be running inside a container 05:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-220 -v /w/workspace/undry_device-rfid-llrp-go_PR-220:/w/workspace/undry_device-rfid-llrp-go_PR-220:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:39 $ docker top 5b44e133b58df2408534b9a2883ed0e96513e0a8c4cb102d4c0edfd7663722c9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:39 + go version 05:49:39 go version go1.20.2 linux/amd64 [Pipeline] } 05:49:39 $ docker stop --time=1 5b44e133b58df2408534b9a2883ed0e96513e0a8c4cb102d4c0edfd7663722c9 05:49:41 $ docker rm -f --volumes 5b44e133b58df2408534b9a2883ed0e96513e0a8c4cb102d4c0edfd7663722c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:41 + docker inspect -f . ci-base-image-x86_64 05:49:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:49:41 prd-ubuntu20.04-docker-8c-8g-13831 does not seem to be running inside a container 05:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-220 -v /w/workspace/undry_device-rfid-llrp-go_PR-220:/w/workspace/undry_device-rfid-llrp-go_PR-220:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:49:42 $ docker top f2a6af752bc0c5b3cb4c1f9dc58508a1220a5cb53c48c746dcd1718171e7461c -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:42 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-220 [Pipeline] fileExists [Pipeline] sh 05:49:43 + make test 05:49:43 go test ./... -coverprofile=coverage.out ./... 05:49:47 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 05:49:57 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 05:49:57 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 05:50:01 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.736s coverage: 40.5% of statements 05:50:01 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.240s coverage: 51.9% of statements 05:50:01 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.007s coverage: 95.5% of statements 05:50:09 go vet ./... 05:50:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:50:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:50:12 ./bin/test-attribution-txt.sh 05:50:12 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:50:12 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:50:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:50:14 $ docker stop --time=1 f2a6af752bc0c5b3cb4c1f9dc58508a1220a5cb53c48c746dcd1718171e7461c 05:50:16 $ docker rm -f --volumes f2a6af752bc0c5b3cb4c1f9dc58508a1220a5cb53c48c746dcd1718171e7461c [Pipeline] // withDockerContainer [Pipeline] sh 05:50:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:50:23 + ls -al . 05:50:23 total 628 05:50:23 drwxrwxr-x 11 jenkins jenkins 4096 May 5 05:49 . 05:50:23 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:48 .. 05:50:23 -rw-rw-r-- 1 jenkins jenkins 134 May 5 05:48 .dockerignore 05:50:23 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:49 .git 05:50:23 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:48 .github 05:50:23 -rw-rw-r-- 1 jenkins jenkins 946 May 5 05:48 .gitignore 05:50:23 -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:48 .golangci.yml 05:50:23 drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:49 .semver 05:50:23 -rw-rw-r-- 1 jenkins jenkins 10794 May 5 05:48 Attribution.txt 05:50:23 -rw-rw-r-- 1 jenkins jenkins 5905 May 5 05:48 CHANGELOG.md 05:50:23 -rw-rw-r-- 1 jenkins jenkins 1347 May 5 05:48 Dockerfile 05:50:23 -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:48 GOVERNANCE.md 05:50:23 -rw-rw-r-- 1 jenkins jenkins 683 May 5 05:48 Jenkinsfile 05:50:23 -rw-rw-r-- 1 jenkins jenkins 11347 May 5 05:48 LICENSE 05:50:23 -rw-rw-r-- 1 jenkins jenkins 2053 May 5 05:48 Makefile 05:50:23 -rw-rw-r-- 1 jenkins jenkins 625 May 5 05:48 OWNERS.md 05:50:23 -rw-rw-r-- 1 jenkins jenkins 28505 May 5 05:48 README.md 05:50:23 -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:49 VERSION 05:50:23 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:48 bin 05:50:23 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:48 cmd 05:50:23 -rw-r--r-- 1 jenkins jenkins 458038 May 5 05:50 coverage.out 05:50:23 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:48 examples 05:50:23 -rw-rw-r-- 1 jenkins jenkins 3419 May 5 05:48 go.mod 05:50:23 -rw-rw-r-- 1 jenkins jenkins 31193 May 5 05:48 go.sum 05:50:23 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:48 images 05:50:23 drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:48 internal 05:50:23 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:48 snap 05:50:23 -rw-rw-r-- 1 jenkins jenkins 193 May 5 05:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:24 + 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=95fcffc765216fdaae5e7da6cd22c8214d3a4373 --label arch=amd64 --label version=0.0.0 . 05:50:24 Sending build context to Docker daemon 4.229MB 05:50:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 05:50:24 Step 2/24 : FROM ${BASE} AS builder 05:50:24 ---> f88c6c30dd52 05:50:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:50:24 ---> Running in 3a400494a6d6 05:50:24 Removing intermediate container 3a400494a6d6 05:50:24 ---> 192aec24408f 05:50:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:50:24 ---> Running in b945bc7ac6f4 05:50:26 Removing intermediate container b945bc7ac6f4 05:50:26 ---> 17ae7db22d3c 05:50:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 05:50:26 ---> Running in 0343f9365701 05:50:26 Removing intermediate container 0343f9365701 05:50:26 ---> 24a19ef08c30 05:50:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:50:26 ---> Running in b813068ca7bf 05:50:26 Removing intermediate container b813068ca7bf 05:50:26 ---> a81bada2adb2 05:50:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:50:26 ---> Running in 5a7aa8f29e5a 05:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:50:26 OK: 265 MiB in 53 packages 05:50:27 Removing intermediate container 5a7aa8f29e5a 05:50:27 ---> 76813501ccb7 05:50:27 Step 8/24 : WORKDIR /app 05:50:27 ---> Running in 18d381533f80 05:50:27 Removing intermediate container 18d381533f80 05:50:27 ---> 93bf7f1b1622 05:50:27 Step 9/24 : COPY go.mod vendor* ./ 05:50:27 ---> d2624578f94c 05:50:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:50:27 ---> Running in f33edb8596d7 05:50:28 Removing intermediate container f33edb8596d7 05:50:28 ---> fefbbefcf49e 05:50:28 Step 11/24 : COPY . . 05:50:28 ---> bcb03191f8e6 05:50:28 Step 12/24 : RUN $MAKE 05:50:28 ---> Running in 7b49f122baa0 05:50:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 05:50:46 Removing intermediate container 7b49f122baa0 05:50:46 ---> 536c1e8dc904 05:50:46 Step 13/24 : FROM alpine:3.17 05:50:55 3.17: Pulling from library/alpine 05:50:55 f56be85fc22e: Already exists 05:50:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:50:55 Status: Downloaded newer image for alpine:3.17 05:50:55 ---> 9ed4aefc74f6 05:50:55 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:50:55 ---> Running in 5bab70a4d17e 05:50:55 Removing intermediate container 5bab70a4d17e 05:50:55 ---> b5944abb85ab 05:50:55 Step 15/24 : RUN apk add --update --no-cache dumb-init 05:50:55 ---> Running in 3cf4a3489c09 05:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:50:55 (1/1) Installing dumb-init (1.2.5-r2) 05:50:55 Executing busybox-1.35.0-r29.trigger 05:50:55 OK: 7 MiB in 16 packages 05:50:55 Removing intermediate container 3cf4a3489c09 05:50:55 ---> d45f1f36ca84 05:50:55 Step 16/24 : COPY --from=builder /app/LICENSE / 05:50:55 ---> b480c2e71452 05:50:55 Step 17/24 : COPY --from=builder /app/Attribution.txt / 05:50:55 ---> 55e7bf7c3ad9 05:50:55 Step 18/24 : COPY --from=builder /app/cmd/ / 05:50:56 ---> 09b78e3649f5 05:50:56 Step 19/24 : EXPOSE 59989 05:50:56 ---> Running in 4f6ef7d013d9 05:50:56 Removing intermediate container 4f6ef7d013d9 05:50:56 ---> bf9d23ee6a45 05:50:56 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 05:50:56 ---> Running in 57d42e0b7241 05:50:56 Removing intermediate container 57d42e0b7241 05:50:56 ---> 5f33289d1a72 05:50:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:50:56 ---> Running in b8a9e83250f3 05:50:56 Removing intermediate container b8a9e83250f3 05:50:56 ---> 69f3cc652d9f 05:50:56 Step 22/24 : LABEL arch=amd64 05:50:56 ---> Running in b42327f3dc5c 05:50:56 Removing intermediate container b42327f3dc5c 05:50:56 ---> a30986430670 05:50:56 Step 23/24 : LABEL git_sha=95fcffc765216fdaae5e7da6cd22c8214d3a4373 05:50:56 ---> Running in ceadaa4d0f42 05:50:56 Removing intermediate container ceadaa4d0f42 05:50:56 ---> f2ac9572b593 05:50:56 Step 24/24 : LABEL version=0.0.0 05:50:56 ---> Running in ab1af6612b12 05:50:56 Removing intermediate container ab1af6612b12 05:50:56 ---> 55d70061c865 05:50:56 [Warning] One or more build-args [ARCH] were not consumed 05:50:56 Successfully built 55d70061c865 05:50:56 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:57 05:50:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:13 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:51:13 Failed in branch amd64 05:52:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13833 in /w/workspace/undry_device-rfid-llrp-go_PR-220 [Pipeline] { [Pipeline] ws 05:52:06 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 05:52:06 Selected Git installation does not exist. Using Default 05:52:06 The recommended git tool is: NONE 05:52:12 using credential edgex-jenkins-ssh 05:52:12 Cloning the remote Git repository 05:52:12 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 05:52:12 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 05:52:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 05:52:13 > git --version # timeout=10 05:52:13 > git --version # 'git version 2.25.1' 05:52:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 05:52:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 05:52:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 05:52:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:52:16 Merging remotes/origin/main commit 6e4500d7246dada94f826fd10aec60271f103086 into PR head commit 95fcffc765216fdaae5e7da6cd22c8214d3a4373 05:52:16 Merge succeeded, producing 95fcffc765216fdaae5e7da6cd22c8214d3a4373 05:52:16 Checking out Revision 95fcffc765216fdaae5e7da6cd22c8214d3a4373 (PR-220) 05:52:16 > git config core.sparsecheckout # timeout=10 05:52:16 > git checkout -f 95fcffc765216fdaae5e7da6cd22c8214d3a4373 # timeout=10 05:52:16 > git remote # timeout=10 05:52:16 > git config --get remote.origin.url # timeout=10 05:52:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:16 > git merge 6e4500d7246dada94f826fd10aec60271f103086 # timeout=10 05:52:16 > git rev-parse HEAD^{commit} # timeout=10 05:52:16 > git config core.sparsecheckout # timeout=10 05:52:16 > git checkout -f 95fcffc765216fdaae5e7da6cd22c8214d3a4373 # timeout=10 05:52:19 Commit message: "build: Ignore all go-mods except device-sdk-go" 05:52:19 > git --version # timeout=10 05:52:19 > git --version # 'git version 2.25.1' 05:52:19 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:52:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:21 Dload Upload Total Spent Left Speed 05:52:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10502 0 0 82046 0 --:--:-- --:--:-- --:--:-- 81410 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 05:52:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:52:22 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 05:52:22 tee /etc/docker/daemon.new 05:52:22 { 05:52:22 "registry-mirrors": [ 05:52:22 "https://nexus3.edgexfoundry.org:10001" 05:52:22 ], 05:52:22 "bip": "10.250.0.254/24", 05:52:22 "hosts": [ 05:52:22 "tcp://0.0.0.0:5555", 05:52:22 "unix:///var/run/docker.sock" 05:52:22 ], 05:52:22 "mtu": 1458, 05:52:22 "selinux-enabled": true, 05:52:22 "seccomp-profile": "/etc/docker/seccomp.json" 05:52:22 } [Pipeline] sh 05:52:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:52:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:41 provisioning config files... 05:52:41 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config4513169307911878763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:41 ---> docker-login.sh 05:52:41 nexus3.edgexfoundry.org:10001 05:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:42 Configure a credential helper to remove this warning. See 05:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:42 05:52:42 Login Succeeded 05:52:42 nexus3.edgexfoundry.org:10002 05:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:42 Configure a credential helper to remove this warning. See 05:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:42 05:52:42 Login Succeeded 05:52:42 nexus3.edgexfoundry.org:10003 05:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:43 Configure a credential helper to remove this warning. See 05:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:43 05:52:43 Login Succeeded 05:52:43 nexus3.edgexfoundry.org:10004 05:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:43 Configure a credential helper to remove this warning. See 05:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:43 05:52:43 Login Succeeded 05:52:43 docker.io 05:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:44 Configure a credential helper to remove this warning. See 05:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:44 05:52:44 Login Succeeded 05:52:44 ---> docker-login.sh ends [Pipeline] } 05:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:52:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:52:44 ========================================================= 05:52:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:52:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:52:45 Sending build context to Docker daemon 1.212MB 05:52:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:52:45 Step 2/12 : FROM ${BASE} AS builder 05:52:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:52:45 c41833b44d91: Pulling fs layer 05:52:45 ed15518f5707: Pulling fs layer 05:52:45 feae8fd75edb: Pulling fs layer 05:52:45 242c74f7c9fa: Pulling fs layer 05:52:45 3cdef696dda3: Pulling fs layer 05:52:45 2ced38df9373: Pulling fs layer 05:52:45 58f1dce35555: Pulling fs layer 05:52:45 3cdef696dda3: Waiting 05:52:45 2ced38df9373: Waiting 05:52:45 58f1dce35555: Waiting 05:52:45 242c74f7c9fa: Waiting 05:52:45 ed15518f5707: Verifying Checksum 05:52:45 ed15518f5707: Download complete 05:52:45 242c74f7c9fa: Verifying Checksum 05:52:45 242c74f7c9fa: Download complete 05:52:45 3cdef696dda3: Verifying Checksum 05:52:45 3cdef696dda3: Download complete 05:52:45 c41833b44d91: Verifying Checksum 05:52:45 c41833b44d91: Download complete 05:52:46 c41833b44d91: Pull complete 05:52:47 58f1dce35555: Verifying Checksum 05:52:47 58f1dce35555: Download complete 05:52:47 ed15518f5707: Pull complete 05:52:48 feae8fd75edb: Verifying Checksum 05:52:48 feae8fd75edb: Download complete 05:52:48 2ced38df9373: Verifying Checksum 05:52:48 2ced38df9373: Download complete 05:53:00 feae8fd75edb: Pull complete 05:53:00 242c74f7c9fa: Pull complete 05:53:00 3cdef696dda3: Pull complete 05:53:07 2ced38df9373: Pull complete 05:53:08 58f1dce35555: Pull complete 05:53:08 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:53:08 ---> fadd8f120f05 05:53:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:53:10 ---> Running in d6dc6f19a99a 05:53:10 Removing intermediate container d6dc6f19a99a 05:53:10 ---> 5d6d6265f2c0 05:53:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:10 ---> Running in 117a11412290 05:53:11 Removing intermediate container 117a11412290 05:53:11 ---> 51f88c914f66 05:53:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 05:53:11 ---> Running in 8f470b9ae488 05:53:11 Removing intermediate container 8f470b9ae488 05:53:11 ---> 29b40af7900e 05:53:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:53:11 ---> Running in 9ca6c8c666fe 05:53:11 Removing intermediate container 9ca6c8c666fe 05:53:11 ---> 5c7f1e9a58f6 05:53:11 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:53:11 ---> Running in c8a50bc05aa0 05:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:53:14 OK: 263 MiB in 53 packages 05:53:15 Removing intermediate container c8a50bc05aa0 05:53:15 ---> 530968aa8ea4 05:53:15 Step 8/12 : WORKDIR /app 05:53:15 ---> Running in c63880998736 05:53:15 Removing intermediate container c63880998736 05:53:15 ---> 246d0de7a8ee 05:53:15 Step 9/12 : COPY go.mod vendor* ./ 05:53:15 ---> e70871ec96a3 05:53:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:16 ---> Running in 5108e43abfc0 05:54:24 Removing intermediate container 5108e43abfc0 05:54:24 ---> 77d48240999d 05:54:24 Step 11/12 : COPY . . 05:54:24 ---> ee4838eb398a 05:54:24 Step 12/12 : RUN $MAKE 05:54:24 ---> Running in ffc434e05c8a 05:54:24 noop 05:54:24 Removing intermediate container ffc434e05c8a 05:54:24 ---> f1d78e8d8328 05:54:24 Successfully built f1d78e8d8328 05:54:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:24 + docker inspect -f . ci-base-image-arm64 05:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:24 prd-ubuntu20.04-docker-arm64-4c-16g-13833 does not seem to be running inside a container 05:54:24 $ 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 ******** -e ******** ci-base-image-arm64 cat 05:54:26 $ docker top 1c42f022ff8cacc54e79c41132a646c9f607e24bca3287b9f93f2c660f83ac08 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:27 + go version 05:54:27 go version go1.20.2 linux/arm64 [Pipeline] } 05:54:27 $ docker stop --time=1 1c42f022ff8cacc54e79c41132a646c9f607e24bca3287b9f93f2c660f83ac08 05:54:28 $ docker rm -f --volumes 1c42f022ff8cacc54e79c41132a646c9f607e24bca3287b9f93f2c660f83ac08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:29 + docker inspect -f . ci-base-image-arm64 05:54:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:29 prd-ubuntu20.04-docker-arm64-4c-16g-13833 does not seem to be running inside a container 05:54:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/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 ******** -e ******** ci-base-image-arm64 cat 05:54:31 $ docker top 6405f86283217472e949dc69b37ccf484a3177ea1e3df94b8a20546dce8de982 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:32 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 05:54:32 + make test 05:54:32 go test ./... -coverprofile=coverage.out ./... 05:55:11 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 05:57:18 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 05:57:18 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 05:57:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.972s coverage: 40.5% of statements 05:57:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.566s coverage: 51.9% of statements 05:57:45 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.049s coverage: 96.4% of statements 05:57:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:57:45 go vet ./... 05:58:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:58:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:58:12 ./bin/test-attribution-txt.sh 05:58:12 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:58:12 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:58:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:58:12 $ docker stop --time=1 6405f86283217472e949dc69b37ccf484a3177ea1e3df94b8a20546dce8de982 05:58:14 $ docker rm -f --volumes 6405f86283217472e949dc69b37ccf484a3177ea1e3df94b8a20546dce8de982 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:15 Warning: overwriting stash ‘coverage-report’ 05:58:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:17 + ls -al . 05:58:17 total 624 05:58:17 drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:54 . 05:58:17 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:52 .. 05:58:17 -rw-rw-r-- 1 jenkins jenkins 134 May 5 05:52 .dockerignore 05:58:17 drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:52 .git 05:58:17 drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:52 .github 05:58:17 -rw-rw-r-- 1 jenkins jenkins 946 May 5 05:52 .gitignore 05:58:17 -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:52 .golangci.yml 05:58:17 -rw-rw-r-- 1 jenkins jenkins 10794 May 5 05:52 Attribution.txt 05:58:17 -rw-rw-r-- 1 jenkins jenkins 5905 May 5 05:52 CHANGELOG.md 05:58:17 -rw-rw-r-- 1 jenkins jenkins 1347 May 5 05:52 Dockerfile 05:58:17 -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:52 GOVERNANCE.md 05:58:17 -rw-rw-r-- 1 jenkins jenkins 683 May 5 05:52 Jenkinsfile 05:58:17 -rw-rw-r-- 1 jenkins jenkins 11347 May 5 05:52 LICENSE 05:58:17 -rw-rw-r-- 1 jenkins jenkins 2053 May 5 05:52 Makefile 05:58:17 -rw-rw-r-- 1 jenkins jenkins 625 May 5 05:52 OWNERS.md 05:58:17 -rw-rw-r-- 1 jenkins jenkins 28505 May 5 05:52 README.md 05:58:17 -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:49 VERSION 05:58:17 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:52 bin 05:58:17 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:52 cmd 05:58:17 -rw-r--r-- 1 jenkins jenkins 458038 May 5 05:57 coverage.out 05:58:17 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:52 examples 05:58:17 -rw-rw-r-- 1 jenkins jenkins 3419 May 5 05:52 go.mod 05:58:17 -rw-rw-r-- 1 jenkins jenkins 31193 May 5 05:52 go.sum 05:58:17 drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:52 images 05:58:17 drwxrwxr-x 5 jenkins jenkins 4096 May 5 05:52 internal 05:58:17 drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:52 snap 05:58:17 -rw-rw-r-- 1 jenkins jenkins 193 May 5 05:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:17 + 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=95fcffc765216fdaae5e7da6cd22c8214d3a4373 --label arch=arm64 --label version=0.0.0 . 05:58:17 Sending build context to Docker daemon 1.212MB 05:58:17 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 05:58:17 Step 2/24 : FROM ${BASE} AS builder 05:58:17 ---> f1d78e8d8328 05:58:17 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:58:17 ---> Running in 44862520c858 05:58:18 Removing intermediate container 44862520c858 05:58:18 ---> bf1087775e51 05:58:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:18 ---> Running in 92d8db1bfe1e 05:58:18 Removing intermediate container 92d8db1bfe1e 05:58:18 ---> 8c156ed9410d 05:58:18 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 05:58:18 ---> Running in a15858858038 05:58:19 Removing intermediate container a15858858038 05:58:19 ---> 38924951a6ad 05:58:19 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:58:19 ---> Running in a9e417f91233 05:58:19 Removing intermediate container a9e417f91233 05:58:19 ---> 99cc5ee9425f 05:58:19 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:19 ---> Running in 0b5c4aba084e 05:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:58:22 OK: 263 MiB in 53 packages 05:58:22 Removing intermediate container 0b5c4aba084e 05:58:22 ---> 4f0b98d07d17 05:58:22 Step 8/24 : WORKDIR /app 05:58:22 ---> Running in 7d01d870f3af 05:58:23 Removing intermediate container 7d01d870f3af 05:58:23 ---> 927cf02f4d3b 05:58:23 Step 9/24 : COPY go.mod vendor* ./ 05:58:25 ---> 07e8e453eae6 05:58:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:25 ---> Running in 1999c4925361 05:58:27 Removing intermediate container 1999c4925361 05:58:27 ---> 30dfd8e2eccc 05:58:27 Step 11/24 : COPY . . 05:58:28 ---> e9b75d462033 05:58:28 Step 12/24 : RUN $MAKE 05:58:28 ---> Running in c106080930a6 05:58:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 06:00:51 Removing intermediate container c106080930a6 06:00:51 ---> 5fe01cca3ed6 06:00:51 Step 13/24 : FROM alpine:3.17 06:00:51 3.17: Pulling from library/alpine 06:00:51 c41833b44d91: Already exists 06:00:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:00:51 Status: Downloaded newer image for alpine:3.17 06:00:51 ---> 51e60588ff2c 06:00:51 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:00:51 ---> Running in 0cc9ead0d70a 06:00:51 Removing intermediate container 0cc9ead0d70a 06:00:51 ---> 10fbe667124d 06:00:51 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:00:51 ---> Running in 8649a18deecd 06:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:00:51 (1/1) Installing dumb-init (1.2.5-r2) 06:00:51 Executing busybox-1.35.0-r29.trigger 06:00:51 OK: 8 MiB in 16 packages 06:00:51 Removing intermediate container 8649a18deecd 06:00:51 ---> beb7648bd279 06:00:51 Step 16/24 : COPY --from=builder /app/LICENSE / 06:00:51 ---> adfc74b1d688 06:00:51 Step 17/24 : COPY --from=builder /app/Attribution.txt / 06:00:51 ---> 6ab1f704e3c7 06:00:51 Step 18/24 : COPY --from=builder /app/cmd/ / 06:00:53 ---> 07e08728666e 06:00:53 Step 19/24 : EXPOSE 59989 06:00:53 ---> Running in e1845518a90d 06:00:53 Removing intermediate container e1845518a90d 06:00:53 ---> 7e353e799304 06:00:53 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 06:00:53 ---> Running in dc72d018f64f 06:00:53 Removing intermediate container dc72d018f64f 06:00:53 ---> 2d894d57ed49 06:00:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:00:53 ---> Running in 8e5494976439 06:00:54 Removing intermediate container 8e5494976439 06:00:54 ---> e3c99d49b602 06:00:54 Step 22/24 : LABEL arch=arm64 06:00:54 ---> Running in a738f233347a 06:00:54 Removing intermediate container a738f233347a 06:00:54 ---> e38792eeb16e 06:00:54 Step 23/24 : LABEL git_sha=95fcffc765216fdaae5e7da6cd22c8214d3a4373 06:00:54 ---> Running in d4b225021dea 06:00:54 Removing intermediate container d4b225021dea 06:00:54 ---> a9f9ca433853 06:00:54 Step 24/24 : LABEL version=0.0.0 06:00:54 ---> Running in 2fa45d90e2b5 06:00:55 Removing intermediate container 2fa45d90e2b5 06:00:55 ---> 8fbba1361eed 06:00:55 [Warning] One or more build-args [ARCH] were not consumed 06:00:55 Successfully built 8fbba1361eed 06:00:55 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:00:55 06:00:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:00:56 arm64: Pulling from edgex-lftools-log-publisher 06:00:56 8998bd30e6a1: Pulling fs layer 06:00:56 04944245beec: Pulling fs layer 06:00:56 699f458cf7ca: Pulling fs layer 06:00:56 765212b225bb: Pulling fs layer 06:00:56 f23df028b6ca: Pulling fs layer 06:00:56 d65c8cfc05b1: Pulling fs layer 06:00:56 2437ff75d9bd: Pulling fs layer 06:00:56 765212b225bb: Waiting 06:00:56 f23df028b6ca: Waiting 06:00:56 d65c8cfc05b1: Waiting 06:00:56 2437ff75d9bd: Waiting 06:00:56 04944245beec: Verifying Checksum 06:00:56 04944245beec: Download complete 06:00:56 765212b225bb: Verifying Checksum 06:00:56 765212b225bb: Download complete 06:00:56 f23df028b6ca: Verifying Checksum 06:00:56 f23df028b6ca: Download complete 06:00:56 d65c8cfc05b1: Verifying Checksum 06:00:56 d65c8cfc05b1: Download complete 06:00:56 699f458cf7ca: Verifying Checksum 06:00:56 699f458cf7ca: Download complete 06:00:57 8998bd30e6a1: Verifying Checksum 06:00:57 8998bd30e6a1: Download complete 06:00:59 2437ff75d9bd: Verifying Checksum 06:00:59 2437ff75d9bd: Download complete 06:01:01 8998bd30e6a1: Pull complete 06:01:01 04944245beec: Pull complete 06:01:02 699f458cf7ca: Pull complete 06:01:03 765212b225bb: Pull complete 06:01:05 f23df028b6ca: Pull complete 06:01:05 d65c8cfc05b1: Pull complete 06:01:17 2437ff75d9bd: Pull complete 06:01:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:17 prd-ubuntu20.04-docker-arm64-4c-16g-13833 does not seem to be running inside a container 06:01:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:01:20 $ docker top 014741924a26f8ca7464f692779951e69c90932b6ad9fff6adbdef339e9542d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:21 ---> job-cost.sh 06:01:21 lf-activate-venv: SKIPPING 06:01:21 INFO: No Stack... 06:01:21 INFO: Retrieving Pricing Info for: v3-standard-4 06:01:22 INFO: Archiving Costs [Pipeline] sh 06:01:22 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 06:01:22 + cut -d, -f6 [Pipeline] lock 06:01:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-220-1-stack-cost] 06:01:23 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-220-1-stack-cost] did not exist. Created. 06:01:23 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:23 + echo total: 0.10999999940395355 [Pipeline] stash 06:01:23 Stashed 1 file(s) [Pipeline] } 06:01:23 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-220-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:23 $ docker stop --time=1 014741924a26f8ca7464f692779951e69c90932b6ad9fff6adbdef339e9542d8 06:01:25 $ docker rm -f --volumes 014741924a26f8ca7464f692779951e69c90932b6ad9fff6adbdef339e9542d8 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:01:27 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-220/archives ] [Pipeline] libraryResource [Pipeline] sh 06:01:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:01:28 ---> package-listing.sh 06:01:28 ++ tr '[:upper:]' '[:lower:]' 06:01:28 ++ facter osfamily 06:01:29 + OS_FAMILY=debian 06:01:29 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-220 06:01:29 + START_PACKAGES=/tmp/packages_start.txt 06:01:29 + END_PACKAGES=/tmp/packages_end.txt 06:01:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:01:29 + PACKAGES=/tmp/packages_start.txt 06:01:29 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-220 ']' 06:01:29 + PACKAGES=/tmp/packages_end.txt 06:01:29 + case "${OS_FAMILY}" in 06:01:29 + dpkg -l 06:01:29 + grep '^ii' 06:01:29 + '[' -f /tmp/packages_start.txt ']' 06:01:29 + '[' -f /tmp/packages_end.txt ']' 06:01:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:01:29 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-220 ']' 06:01:29 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-220/archives/ 06:01:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-220/archives/ [Pipeline] echo 06:01:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:01:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:30 06:01:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:30 latest: Pulling from edgex-lftools-log-publisher 06:01:30 5eb5b503b376: Pulling fs layer 06:01:30 5c69ac0246d0: Pulling fs layer 06:01:30 ec43610c2a17: Pulling fs layer 06:01:30 3a2ae6a8a46f: Pulling fs layer 06:01:30 33b1e0a273af: Pulling fs layer 06:01:30 5d3b04190fa2: Pulling fs layer 06:01:30 2f39f015ded8: Pulling fs layer 06:01:30 33b1e0a273af: Waiting 06:01:30 5d3b04190fa2: Waiting 06:01:30 2f39f015ded8: Waiting 06:01:30 3a2ae6a8a46f: Waiting 06:01:30 5c69ac0246d0: Download complete 06:01:30 3a2ae6a8a46f: Verifying Checksum 06:01:30 3a2ae6a8a46f: Download complete 06:01:30 33b1e0a273af: Verifying Checksum 06:01:30 33b1e0a273af: Download complete 06:01:30 5d3b04190fa2: Verifying Checksum 06:01:30 5d3b04190fa2: Download complete 06:01:30 ec43610c2a17: Download complete 06:01:30 5eb5b503b376: Verifying Checksum 06:01:30 5eb5b503b376: Download complete 06:01:31 2f39f015ded8: Download complete 06:01:31 5eb5b503b376: Pull complete 06:01:31 5c69ac0246d0: Pull complete 06:01:32 ec43610c2a17: Pull complete 06:01:32 3a2ae6a8a46f: Pull complete 06:01:32 33b1e0a273af: Pull complete 06:01:32 5d3b04190fa2: Pull complete 06:01:36 2f39f015ded8: Pull complete 06:01:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:36 prd-ubuntu20.04-docker-8c-8g-13831 does not seem to be running inside a container 06:01:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-220 -v /w/workspace/undry_device-rfid-llrp-go_PR-220:/w/workspace/undry_device-rfid-llrp-go_PR-220:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-220@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-220@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 06:01:37 $ docker top 4be0f8179b55e56b9dec3c0de099ef77751a4cbc6bf0d4eca6020a0225b08919 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:01:38 + ls /var/log/sa-host 06:01:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:39 provisioning config files... 06:01:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-220@tmp/config15256410770216004578tmp [Pipeline] { [Pipeline] echo 06:01:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:01:39 ---> create-netrc.sh [Pipeline] } 06:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:01:39 ---> python-tools-install.sh [Pipeline] echo 06:01:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:40 ---> sudo-logs.sh 06:01:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:01:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:40 ---> job-cost.sh 06:01:40 lf-activate-venv: SKIPPING 06:01:40 DEBUG: total: 0.10999999940395355 06:01:40 INFO: Retrieving Stack Cost... 06:01:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:41 INFO: Archiving Costs [Pipeline] echo 06:01:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:01:41 ---> logs-deploy.sh 06:01:41 lf-activate-venv: SKIPPING 06:01:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-220/1 06:01:41 INFO: archiving workspace using pattern(s): 06:01:42 Archives upload complete. 06:01:42 INFO: archiving logs to Nexus