Started by upstream project "edgexfoundry/cd-management/release-lts" build number 25 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 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-ssh267835861070888765.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0296cfd70f3001d69e24c2db393b493f66f700db 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-ssh12318127662655915390.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 0296cfd70f3001d69e24c2db393b493f66f700db The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/jakarta/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2921208207961798175.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0296cfd70f3001d69e24c2db393b493f66f700db (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0296cfd70f3001d69e24c2db393b493f66f700db # timeout=10 Commit message: "Merge pull request #381 from edgexfoundry/us3314" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh11745993184437496313.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/jakarta/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5527629719843119404.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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:app-rfid-llrp-inventory, 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: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory 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: app-rfid-llrp-inventory 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 ‘prd-ubuntu20.04-docker-8c-8g-33531’ is offline Running on prd-ubuntu20.04-docker-8c-8g-33536 in /w/workspace/_app-rfid-llrp-inventory_jakarta [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/_app-rfid-llrp-inventory_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.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/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 (jakarta) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @3dc9a11" > git rev-list --no-walk d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:38:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:38:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:38:06 ========================================================= 21:38:06 EdgeX Global Pipelines Version Info 21:38:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:38:07 ------------------- 21:38:07 stable info: 21:38:07 ------------------- 21:38:07 Commited By: Emilio Reyes emilio.reyes@intel.com 21:38:07 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 21:38:07 Message: update stable to v1.0.225 21:38:08 ------------------- 21:38:08 experimental info: 21:38:08 ------------------- 21:38:08 Commited By: **** collab-it+edgex@linuxfoundation.org 21:38:08 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 21:38:08 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d187a4e [Pipeline] echo 21:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:08 provisioning config files... 21:38:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/config1316535363681238861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:09 ---> docker-login.sh 21:38:09 nexus3.edgexfoundry.org:10001 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 nexus3.edgexfoundry.org:10002 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 nexus3.edgexfoundry.org:10003 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 nexus3.edgexfoundry.org:10004 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:09 Configure a credential helper to remove this warning. See 21:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:09 21:38:09 Login Succeeded 21:38:09 docker.io 21:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:10 Configure a credential helper to remove this warning. See 21:38:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:10 21:38:10 Login Succeeded 21:38:10 ---> docker-login.sh ends [Pipeline] } 21:38:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:38:10 + git rev-list -1 --merges d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359~1..d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [Pipeline] echo 21:38:10 -----------> git rev-list -1 --merges d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359~1..d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [false] [Pipeline] sh 21:38:11 + git log --format=format:%s -1 d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [Pipeline] echo 21:38:11 ========================================================= 21:38:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 21:38:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:11 + git log --format=format:%s -1 d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [Pipeline] echo 21:38:11 [semverPrep] GIT_COMMIT: d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359, Commit Message: ci(lts-release): LTS release v2.1.0 @3dc9a11 [Pipeline] echo 21:38:11 [semverPrep] This is not a build commit. [Pipeline] sh 21:38:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:11 + grep -v github /etc/ssh/ssh_known_hosts 21:38:11 + [ -e /tmp/ssh_known_hosts ] 21:38:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:38:11 + sudo tee -a /etc/ssh/ssh_known_hosts 21:38:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:38:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:12 21:38:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:38:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:12 latest: Pulling from edgex-devops/py-git-semver 21:38:12 1fe172e4850f: Pulling fs layer 21:38:12 caf521ccaac6: Pulling fs layer 21:38:12 3ead6fa29328: Pulling fs layer 21:38:12 5c2a1cbceb83: Pulling fs layer 21:38:12 a8d5f1318db7: Pulling fs layer 21:38:12 c427282e49a2: Pulling fs layer 21:38:12 1827001aaf11: Pulling fs layer 21:38:12 0714d37db230: Pulling fs layer 21:38:12 ac28cf19c067: Pulling fs layer 21:38:12 ca983d60f3e2: Pulling fs layer 21:38:12 9f894cec8388: Pulling fs layer 21:38:12 0714d37db230: Waiting 21:38:12 5c2a1cbceb83: Waiting 21:38:12 ac28cf19c067: Waiting 21:38:12 a8d5f1318db7: Waiting 21:38:12 c427282e49a2: Waiting 21:38:12 1827001aaf11: Waiting 21:38:12 ca983d60f3e2: Waiting 21:38:12 9f894cec8388: Waiting 21:38:12 caf521ccaac6: Verifying Checksum 21:38:12 caf521ccaac6: Download complete 21:38:12 5c2a1cbceb83: Verifying Checksum 21:38:12 5c2a1cbceb83: Download complete 21:38:12 3ead6fa29328: Verifying Checksum 21:38:12 3ead6fa29328: Download complete 21:38:12 a8d5f1318db7: Verifying Checksum 21:38:12 a8d5f1318db7: Download complete 21:38:12 c427282e49a2: Verifying Checksum 21:38:12 c427282e49a2: Download complete 21:38:12 0714d37db230: Verifying Checksum 21:38:12 ac28cf19c067: Download complete 21:38:12 ca983d60f3e2: Verifying Checksum 21:38:12 ca983d60f3e2: Download complete 21:38:12 9f894cec8388: Verifying Checksum 21:38:12 9f894cec8388: Download complete 21:38:12 1fe172e4850f: Verifying Checksum 21:38:12 1fe172e4850f: Download complete 21:38:13 1827001aaf11: Verifying Checksum 21:38:13 1827001aaf11: Download complete 21:38:13 1fe172e4850f: Pull complete 21:38:13 caf521ccaac6: Pull complete 21:38:14 3ead6fa29328: Pull complete 21:38:14 5c2a1cbceb83: Pull complete 21:38:15 a8d5f1318db7: Pull complete 21:38:15 c427282e49a2: Pull complete 21:38:17 1827001aaf11: Pull complete 21:38:17 0714d37db230: Pull complete 21:38:17 ac28cf19c067: Pull complete 21:38:17 ca983d60f3e2: Pull complete 21:38:17 9f894cec8388: Pull complete 21:38:17 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:38:17 prd-ubuntu20.04-docker-8c-8g-33536 does not seem to be running inside a container 21:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-rfid-llrp-inventory_jakarta -v /w/workspace/_app-rfid-llrp-inventory_jakarta:/w/workspace/_app-rfid-llrp-inventory_jakarta:rw,z -v /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp:/w/workspace/_app-rfid-llrp-inventory_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:38:19 $ docker top 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f -eo pid,comm 21:38:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:38:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:19 [ssh-agent] Looking for ssh-agent implementation... 21:38:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:19 $ docker exec 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f ssh-agent 21:38:19 SSH_AUTH_SOCK=/tmp/ssh-gSpgBYJ2vS6i/agent.33 21:38:19 SSH_AGENT_PID=39 21:38:19 Running ssh-add (command line suppressed) 21:38:19 Identity added: /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/private_key_2102559490174772516.key (/w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/private_key_2102559490174772516.key) 21:38:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:19 + git tag --points-at d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 [Pipeline] } 21:38:19 $ docker exec --env ******** --env ******** 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f ssh-agent -k 21:38:19 unset SSH_AUTH_SOCK; 21:38:19 unset SSH_AGENT_PID; 21:38:19 echo Agent pid 39 killed; 21:38:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:38:19 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 21:38:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:20 [ssh-agent] Looking for ssh-agent implementation... 21:38:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:20 $ docker exec 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f ssh-agent 21:38:20 SSH_AUTH_SOCK=/tmp/ssh-iyarvvIRXKC0/agent.71 21:38:20 SSH_AGENT_PID=77 21:38:20 Running ssh-add (command line suppressed) 21:38:20 Identity added: /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/private_key_3756989041942359328.key (/w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/private_key_3756989041942359328.key) 21:38:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:20 + git semver init 21:38:20 2022-04-27 21:38:20,888 [run_init] DEBUG init version:0.0.0 force:False 21:38:20 2022-04-27 21:38:20,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-rfid-llrp-inventory_jakarta/.semver 21:38:20 2022-04-27 21:38:20,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/_app-rfid-llrp-inventory_jakarta/.semver 21:38:20 2022-04-27 21:38:20,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/_app-rfid-llrp-inventory_jakarta/.semver'], cwd=/w/workspace/_app-rfid-llrp-inventory_jakarta, universal_newlines=False, shell=None, istream=None) 21:38:22 2022-04-27 21:38:21,961 [append_file] DEBUG append to file:/w/workspace/_app-rfid-llrp-inventory_jakarta/.git/info/exclude 21:38:22 2022-04-27 21:38:21,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-rfid-llrp-inventory_jakarta/.semver/jakarta with force:False 21:38:22 2022-04-27 21:38:21,962 [read_version] DEBUG read version from /w/workspace/_app-rfid-llrp-inventory_jakarta/.semver/jakarta 21:38:22 2022-04-27 21:38:21,962 [read_version] DEBUG read version from /w/workspace/_app-rfid-llrp-inventory_jakarta/.semver/jakarta 21:38:22 2.1.0 [Pipeline] } 21:38:22 $ docker exec --env ******** --env ******** 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f ssh-agent -k 21:38:22 unset SSH_AUTH_SOCK; 21:38:22 unset SSH_AGENT_PID; 21:38:22 echo Agent pid 77 killed; 21:38:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:22 + git semver [Pipeline] } 21:38:22 $ docker stop --time=1 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f 21:38:24 $ docker rm -f 9bb4e3b817647299e8ab87909a99df8457c2e7d03bff6c515769059798a1c03f [Pipeline] // withDockerContainer [Pipeline] sh 21:38:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:38:24 Stashed 1 file(s) [Pipeline] echo 21:38:24 [edgeXSemver]: initialized semver on version 2.1.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] sh 21:38:25 + git checkout d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 21:38:25 HEAD is now at d187a4e ci(lts-release): LTS release v2.1.0 @3dc9a11 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:25 provisioning config files... 21:38:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/config5512199706430115772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:25 ---> docker-login.sh 21:38:25 nexus3.edgexfoundry.org:10001 21:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:25 Configure a credential helper to remove this warning. See 21:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:25 21:38:25 Login Succeeded 21:38:25 nexus3.edgexfoundry.org:10002 21:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:25 Configure a credential helper to remove this warning. See 21:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:25 21:38:25 Login Succeeded 21:38:25 nexus3.edgexfoundry.org:10003 21:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:25 Configure a credential helper to remove this warning. See 21:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:25 21:38:25 Login Succeeded 21:38:25 nexus3.edgexfoundry.org:10004 21:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:25 Configure a credential helper to remove this warning. See 21:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:25 21:38:25 Login Succeeded 21:38:25 docker.io 21:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:26 Configure a credential helper to remove this warning. See 21:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:26 21:38:26 Login Succeeded 21:38:26 ---> docker-login.sh ends [Pipeline] } 21:38:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:26 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:26 ========================================================= 21:38:26 [edgeXBuildGoApp] Building Code With image [golang:1.17-alpine] 21:38:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:38:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=golang:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:38:27 Sending build context to Docker daemon 24.02MB 21:38:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:38:27 Step 2/13 : FROM ${BASE} AS builder 21:38:27 1.17-alpine: Pulling from library/golang 21:38:27 df9b9388f04a: Pulling fs layer 21:38:27 52dc419b0ee2: Pulling fs layer 21:38:27 25bc292e5bac: Pulling fs layer 21:38:27 447a8d7240ef: Pulling fs layer 21:38:27 f1849c0ca460: Pulling fs layer 21:38:27 447a8d7240ef: Waiting 21:38:27 f1849c0ca460: Waiting 21:38:27 52dc419b0ee2: Verifying Checksum 21:38:27 52dc419b0ee2: Download complete 21:38:27 25bc292e5bac: Download complete 21:38:27 df9b9388f04a: Download complete 21:38:27 f1849c0ca460: Verifying Checksum 21:38:27 f1849c0ca460: Download complete 21:38:27 df9b9388f04a: Pull complete 21:38:28 52dc419b0ee2: Pull complete 21:38:28 25bc292e5bac: Pull complete 21:38:29 447a8d7240ef: Verifying Checksum 21:38:29 447a8d7240ef: Download complete 21:38:33 447a8d7240ef: Pull complete 21:38:33 f1849c0ca460: Pull complete 21:38:33 Digest: sha256:5c2fcfeb58ad9d4948d94e7b2d0432a9bc38bee0f8dfb41d383f38a18b75c38d 21:38:33 Status: Downloaded newer image for golang:1.17-alpine 21:38:33 ---> 3156fdeb9740 21:38:33 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:38:34 ---> Running in 2260472d5734 21:38:34 Removing intermediate container 2260472d5734 21:38:34 ---> 1e2eaa27290a 21:38:34 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:38:34 ---> Running in 0e499b5e1eb3 21:38:34 Removing intermediate container 0e499b5e1eb3 21:38:34 ---> 8899ca003c53 21:38:34 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:38:34 ---> Running in 2bfb6a2265c6 21:38:34 Removing intermediate container 2bfb6a2265c6 21:38:34 ---> df8cb38a33dd 21:38:34 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:38:34 ---> Running in 1c5a8a67463a 21:38:34 Removing intermediate container 1c5a8a67463a 21:38:34 ---> 42d657c1a4fe 21:38:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:34 ---> Running in 90f7b4642427 21:38:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:38:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:38:36 (1/25) Installing libgcc (10.3.1_git20211027-r0) 21:38:36 (2/25) Installing libstdc++ (10.3.1_git20211027-r0) 21:38:36 (3/25) Installing binutils (2.37-r3) 21:38:36 (4/25) Installing libgomp (10.3.1_git20211027-r0) 21:38:36 (5/25) Installing libatomic (10.3.1_git20211027-r0) 21:38:36 (6/25) Installing libgphobos (10.3.1_git20211027-r0) 21:38:36 (7/25) Installing gmp (6.2.1-r1) 21:38:37 (8/25) Installing isl22 (0.22-r0) 21:38:37 (9/25) Installing mpfr4 (4.1.0-r0) 21:38:37 (10/25) Installing mpc1 (1.2.1-r0) 21:38:37 (11/25) Installing gcc (10.3.1_git20211027-r0) 21:38:39 (12/25) Installing brotli-libs (1.0.9-r5) 21:38:39 (13/25) Installing nghttp2-libs (1.46.0-r0) 21:38:39 (14/25) Installing libcurl (7.80.0-r1) 21:38:39 (15/25) Installing expat (2.4.7-r0) 21:38:39 (16/25) Installing pcre2 (10.39-r0) 21:38:39 (17/25) Installing git (2.34.2-r0) 21:38:39 (18/25) Installing musl-dev (1.2.2-r7) 21:38:39 Still waiting to schedule task 21:38:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:38:40 (19/25) Installing libc-dev (0.7.2-r3) 21:38:40 (20/25) Installing libsodium (1.0.18-r0) 21:38:40 (21/25) Installing pkgconf (1.8.0-r0) 21:38:40 (22/25) Installing libsodium-dev (1.0.18-r0) 21:38:40 (23/25) Installing make (4.3-r0) 21:38:40 (24/25) Installing libzmq (4.3.4-r0) 21:38:40 (25/25) Installing zeromq-dev (4.3.4-r0) 21:38:40 Executing busybox-1.34.1-r5.trigger 21:38:40 OK: 142 MiB in 40 packages 21:38:42 Removing intermediate container 90f7b4642427 21:38:42 ---> 78789d4c83bb 21:38:42 Step 8/13 : WORKDIR /app 21:38:43 ---> Running in 37d20b297e7b 21:38:43 Removing intermediate container 37d20b297e7b 21:38:43 ---> 354861110174 21:38:43 Step 9/13 : COPY go.mod vendor* ./ 21:38:43 ---> 218a00d6502e 21:38:43 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:43 ---> Running in a37e363c76cb 21:39:06 Removing intermediate container a37e363c76cb 21:39:06 ---> f2164fe8ff3c 21:39:06 Step 11/13 : COPY . . 21:39:07 ---> 9d531d31b5da 21:39:07 Step 12/13 : ARG MAKE="make build" 21:39:07 ---> Running in 1ae08642e731 21:39:07 Removing intermediate container 1ae08642e731 21:39:07 ---> 74173c9ca49e 21:39:07 Step 13/13 : RUN $MAKE 21:39:07 ---> Running in 1ab33428042e 21:39:07 noop 21:39:08 Removing intermediate container 1ab33428042e 21:39:08 ---> f9b294ff17eb 21:39:08 Successfully built f9b294ff17eb 21:39:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:39:08 + docker inspect -f . ci-base-image-x86_64 21:39:08 . [Pipeline] withDockerContainer 21:39:08 prd-ubuntu20.04-docker-8c-8g-33536 does not seem to be running inside a container 21:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-rfid-llrp-inventory_jakarta -v /w/workspace/_app-rfid-llrp-inventory_jakarta:/w/workspace/_app-rfid-llrp-inventory_jakarta:rw,z -v /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp:/w/workspace/_app-rfid-llrp-inventory_jakarta@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 ******** ci-base-image-x86_64 cat 21:39:08 $ docker top 4684189658c972213a04320656190b9ecc92da45e5169df98236850dd2d7424c -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:09 + go version 21:39:09 go version go1.17.9 linux/amd64 [Pipeline] } 21:39:09 $ docker stop --time=1 4684189658c972213a04320656190b9ecc92da45e5169df98236850dd2d7424c 21:39:10 $ docker rm -f 4684189658c972213a04320656190b9ecc92da45e5169df98236850dd2d7424c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:39:11 + docker inspect -f . ci-base-image-x86_64 21:39:11 . [Pipeline] withDockerContainer 21:39:11 prd-ubuntu20.04-docker-8c-8g-33536 does not seem to be running inside a container 21:39:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-rfid-llrp-inventory_jakarta -v /w/workspace/_app-rfid-llrp-inventory_jakarta:/w/workspace/_app-rfid-llrp-inventory_jakarta:rw,z -v /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp:/w/workspace/_app-rfid-llrp-inventory_jakarta@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 ******** ci-base-image-x86_64 cat 21:39:11 $ docker top 677a2093481d61b9fba3e249fcfdc73803e3b9e120285dcb455ca8258cd2ed84 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:39:12 + make test 21:39:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:39:18 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:39:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.035s coverage: 86.2% of statements 21:39:18 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:39:21 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.532s coverage: 71.9% of statements 21:39:21 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 21:39:21 WARNING: go linter not installed. To install, run\n curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 21:39:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:39:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:39:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:23 ./bin/test-attribution.sh 21:39:23 make: ./bin/test-attribution.sh: No such file or directory 21:39:23 make: *** [Makefile:41: test] Error 127 [Pipeline] } 21:39:23 $ docker stop --time=1 677a2093481d61b9fba3e249fcfdc73803e3b9e120285dcb455ca8258cd2ed84 21:39:25 $ docker rm -f 677a2093481d61b9fba3e249fcfdc73803e3b9e120285dcb455ca8258cd2ed84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:26 21:39:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:26 latest: Pulling from edgex-lftools-log-publisher 21:39:26 5eb5b503b376: Pulling fs layer 21:39:26 5c69ac0246d0: Pulling fs layer 21:39:26 ec43610c2a17: Pulling fs layer 21:39:26 3a2ae6a8a46f: Pulling fs layer 21:39:26 33b1e0a273af: Pulling fs layer 21:39:26 5d3b04190fa2: Pulling fs layer 21:39:26 2f39f015ded8: Pulling fs layer 21:39:26 3a2ae6a8a46f: Waiting 21:39:26 33b1e0a273af: Waiting 21:39:26 5d3b04190fa2: Waiting 21:39:26 2f39f015ded8: Waiting 21:39:26 5c69ac0246d0: Verifying Checksum 21:39:26 5c69ac0246d0: Download complete 21:39:26 3a2ae6a8a46f: Verifying Checksum 21:39:26 3a2ae6a8a46f: Download complete 21:39:26 33b1e0a273af: Verifying Checksum 21:39:26 33b1e0a273af: Download complete 21:39:26 5d3b04190fa2: Verifying Checksum 21:39:26 5d3b04190fa2: Download complete 21:39:26 ec43610c2a17: Verifying Checksum 21:39:26 ec43610c2a17: Download complete 21:39:26 5eb5b503b376: Verifying Checksum 21:39:26 5eb5b503b376: Download complete 21:39:27 2f39f015ded8: Verifying Checksum 21:39:27 5eb5b503b376: Pull complete 21:39:28 5c69ac0246d0: Pull complete 21:39:28 ec43610c2a17: Pull complete 21:39:28 3a2ae6a8a46f: Pull complete 21:39:28 33b1e0a273af: Pull complete 21:39:28 5d3b04190fa2: Pull complete 21:39:33 2f39f015ded8: Pull complete 21:39:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:39:33 prd-ubuntu20.04-docker-8c-8g-33536 does not seem to be running inside a container 21:39:33 $ 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/_app-rfid-llrp-inventory_jakarta -v /w/workspace/_app-rfid-llrp-inventory_jakarta:/w/workspace/_app-rfid-llrp-inventory_jakarta:rw,z -v /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp:/w/workspace/_app-rfid-llrp-inventory_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:35 $ docker top 127eeae76f7d992de16bbd87d77f5a8d7375a8d21a629ebeeaa9f5b0536826a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:36 ---> job-cost.sh 21:39:36 lf-activate-venv: SKIPPING 21:39:36 INFO: No Stack... 21:39:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:37 INFO: Archiving Costs [Pipeline] sh 21:39:37 + cat /w/workspace/_app-rfid-llrp-inventory_jakarta/archives/cost.csv 21:39:37 + cut -d, -f6 [Pipeline] lock 21:39:37 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] 21:39:37 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] did not exist. Created. 21:39:37 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:39:38 Stashed 1 file(s) [Pipeline] } 21:39:38 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:38 $ docker stop --time=1 127eeae76f7d992de16bbd87d77f5a8d7375a8d21a629ebeeaa9f5b0536826a7 21:39:39 $ docker rm -f 127eeae76f7d992de16bbd87d77f5a8d7375a8d21a629ebeeaa9f5b0536826a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:39 Failed in branch amd64 21:42:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33540 in /w/workspace/_app-rfid-llrp-inventory_jakarta [Pipeline] { [Pipeline] ws 21:42:00 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 21:42:00 The recommended git tool is: git 21:42:08 using credential edgex-jenkins-ssh 21:42:08 Cloning the remote Git repository 21:42:09 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:42:09 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 21:42:09 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:42:09 > git --version # timeout=10 21:42:09 > git --version # 'git version 2.25.1' 21:42:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:11 Avoid second fetch 21:42:11 Checking out Revision d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 (jakarta) 21:42:11 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:42:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:11 > git config core.sparsecheckout # timeout=10 21:42:11 > git checkout -f d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 # timeout=10 21:42:16 Commit message: "ci(lts-release): LTS release v2.1.0 @3dc9a11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:42:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:42:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:42:17 Dload Upload Total Spent Left Speed 21:42:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh 21:42:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:42:18 + + sudo teesudo /etc/docker/daemon.new jq 21:42:18 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:42:18 { 21:42:18 "registry-mirrors": [ 21:42:18 "https://nexus3.edgexfoundry.org:10001" 21:42:18 ], 21:42:18 "bip": "10.250.0.254/24", 21:42:18 "hosts": [ 21:42:18 "tcp://0.0.0.0:5555", 21:42:18 "unix:///var/run/docker.sock" 21:42:18 ], 21:42:18 "mtu": 1458, 21:42:18 "selinux-enabled": true, 21:42:18 "seccomp-profile": "/etc/docker/seccomp.json" 21:42:18 } [Pipeline] sh 21:42:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:42:19 + sudo service docker restart [Pipeline] sh 21:42:37 + git checkout d187a4e7a9ac2ef1ef0b3326daa734ad0f9a4359 21:42:37 HEAD is now at d187a4e ci(lts-release): LTS release v2.1.0 @3dc9a11 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:37 provisioning config files... 21:42:38 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config1303350951036193633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:38 ---> docker-login.sh 21:42:38 nexus3.edgexfoundry.org:10001 21:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:39 Configure a credential helper to remove this warning. See 21:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:39 21:42:39 Login Succeeded 21:42:39 nexus3.edgexfoundry.org:10002 21:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:39 Configure a credential helper to remove this warning. See 21:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:39 21:42:39 Login Succeeded 21:42:39 nexus3.edgexfoundry.org:10003 21:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:40 Configure a credential helper to remove this warning. See 21:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:40 21:42:40 Login Succeeded 21:42:40 nexus3.edgexfoundry.org:10004 21:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:41 Configure a credential helper to remove this warning. See 21:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:41 21:42:41 Login Succeeded 21:42:41 docker.io 21:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:41 Configure a credential helper to remove this warning. See 21:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:41 21:42:41 Login Succeeded 21:42:41 ---> docker-login.sh ends [Pipeline] } 21:42:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:42:42 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:42:42 ========================================================= 21:42:42 [edgeXBuildGoApp] Building Code With image [golang:1.17-alpine] 21:42:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:42:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=golang:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:42:43 Sending build context to Docker daemon 11.99MB 21:42:43 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 21:42:43 Step 2/13 : FROM ${BASE} AS builder 21:42:44 1.17-alpine: Pulling from library/golang 21:42:44 9981e73032c8: Pulling fs layer 21:42:44 c7637d0a7b49: Pulling fs layer 21:42:44 bda57b85efde: Pulling fs layer 21:42:44 b49713a5d3bb: Pulling fs layer 21:42:44 d8fb42bb649c: Pulling fs layer 21:42:44 b49713a5d3bb: Waiting 21:42:44 d8fb42bb649c: Waiting 21:42:44 bda57b85efde: Download complete 21:42:44 c7637d0a7b49: Verifying Checksum 21:42:44 c7637d0a7b49: Download complete 21:42:44 9981e73032c8: Download complete 21:42:45 d8fb42bb649c: Download complete 21:42:45 9981e73032c8: Pull complete 21:42:45 c7637d0a7b49: Pull complete 21:42:46 bda57b85efde: Pull complete 21:42:47 b49713a5d3bb: Verifying Checksum 21:42:47 b49713a5d3bb: Download complete 21:43:00 b49713a5d3bb: Pull complete 21:43:00 d8fb42bb649c: Pull complete 21:43:00 Digest: sha256:5c2fcfeb58ad9d4948d94e7b2d0432a9bc38bee0f8dfb41d383f38a18b75c38d 21:43:00 Status: Downloaded newer image for golang:1.17-alpine 21:43:00 ---> e2e90ccf33fb 21:43:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:43:00 ---> Running in 502460ed4de3 21:43:00 Removing intermediate container 502460ed4de3 21:43:00 ---> 764299e23983 21:43:00 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:43:00 ---> Running in 5881f22018e5 21:43:00 Removing intermediate container 5881f22018e5 21:43:00 ---> fc16df3adb8d 21:43:00 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:43:00 ---> Running in daf1ae0f04b5 21:43:01 Removing intermediate container daf1ae0f04b5 21:43:01 ---> bf18309ea693 21:43:01 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:43:01 ---> Running in e92d68af5bc3 21:43:03 Removing intermediate container e92d68af5bc3 21:43:03 ---> fbfb52d7be5d 21:43:03 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:43:03 ---> Running in 8f76a43c094d 21:43:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:43:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:43:06 (1/25) Installing libgcc (10.3.1_git20211027-r0) 21:43:06 (2/25) Installing libstdc++ (10.3.1_git20211027-r0) 21:43:06 (3/25) Installing binutils (2.37-r3) 21:43:06 (4/25) Installing libgomp (10.3.1_git20211027-r0) 21:43:06 (5/25) Installing libatomic (10.3.1_git20211027-r0) 21:43:06 (6/25) Installing libgphobos (10.3.1_git20211027-r0) 21:43:08 (7/25) Installing gmp (6.2.1-r1) 21:43:08 (8/25) Installing isl22 (0.22-r0) 21:43:08 (9/25) Installing mpfr4 (4.1.0-r0) 21:43:08 (10/25) Installing mpc1 (1.2.1-r0) 21:43:08 (11/25) Installing gcc (10.3.1_git20211027-r0) 21:43:11 (12/25) Installing brotli-libs (1.0.9-r5) 21:43:11 (13/25) Installing nghttp2-libs (1.46.0-r0) 21:43:11 (14/25) Installing libcurl (7.80.0-r1) 21:43:11 (15/25) Installing expat (2.4.7-r0) 21:43:11 (16/25) Installing pcre2 (10.39-r0) 21:43:11 (17/25) Installing git (2.34.2-r0) 21:43:11 (18/25) Installing musl-dev (1.2.2-r7) 21:43:12 (19/25) Installing libc-dev (0.7.2-r3) 21:43:12 (20/25) Installing libsodium (1.0.18-r0) 21:43:12 (21/25) Installing pkgconf (1.8.0-r0) 21:43:12 (22/25) Installing libsodium-dev (1.0.18-r0) 21:43:12 (23/25) Installing make (4.3-r0) 21:43:12 (24/25) Installing libzmq (4.3.4-r0) 21:43:12 (25/25) Installing zeromq-dev (4.3.4-r0) 21:43:12 Executing busybox-1.34.1-r5.trigger 21:43:12 OK: 132 MiB in 40 packages 21:43:18 Removing intermediate container 8f76a43c094d 21:43:18 ---> 82d836d226a5 21:43:18 Step 8/13 : WORKDIR /app 21:43:18 ---> Running in 236f8f6d624e 21:43:18 Removing intermediate container 236f8f6d624e 21:43:18 ---> c1f0bf1791a5 21:43:18 Step 9/13 : COPY go.mod vendor* ./ 21:43:22 ---> e8ce593ba372 21:43:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:43:22 ---> Running in bc954e0c197c 21:44:44 Removing intermediate container bc954e0c197c 21:44:44 ---> 135934e95624 21:44:44 Step 11/13 : COPY . . 21:44:46 ---> e70195d85901 21:44:46 Step 12/13 : ARG MAKE="make build" 21:44:46 ---> Running in 41c5255e84b7 21:44:46 Removing intermediate container 41c5255e84b7 21:44:46 ---> d64ed8822442 21:44:46 Step 13/13 : RUN $MAKE 21:44:46 ---> Running in b9a328ddb8a2 21:44:47 noop 21:44:48 Removing intermediate container b9a328ddb8a2 21:44:48 ---> a8c2325b4fbf 21:44:48 Successfully built a8c2325b4fbf 21:44:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:44:48 + docker inspect -f . ci-base-image-arm64 21:44:48 . [Pipeline] withDockerContainer 21:44:49 prd-ubuntu20.04-docker-arm64-4c-16g-33540 does not seem to be running inside a container 21:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** ci-base-image-arm64 cat 21:44:50 $ docker top d877344b86acfd931e055ee80c0c0ddd55e97a0e4bb337734e75566830e4f0ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:51 + go version 21:44:51 go version go1.17.9 linux/arm64 [Pipeline] } 21:44:51 $ docker stop --time=1 d877344b86acfd931e055ee80c0c0ddd55e97a0e4bb337734e75566830e4f0ea 21:44:53 $ docker rm -f d877344b86acfd931e055ee80c0c0ddd55e97a0e4bb337734e75566830e4f0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:44:54 + docker inspect -f . ci-base-image-arm64 21:44:54 . [Pipeline] withDockerContainer 21:44:54 prd-ubuntu20.04-docker-arm64-4c-16g-33540 does not seem to be running inside a container 21:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** ci-base-image-arm64 cat 21:44:55 $ docker top a698ab5c38f7fa87c9abe06e6abb4df1d15a97e041e478bd5419535f9063f3fd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:44:56 + make test 21:44:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:45:53 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 21:45:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.255s coverage: 86.2% of statements 21:45:56 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 21:46:01 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.709s coverage: 71.9% of statements 21:46:01 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 21:46:01 WARNING: go linter not installed. To install, run\n curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 21:46:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:46:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:23 ./bin/test-attribution.sh 21:46:23 make: ./bin/test-attribution.sh: No such file or directory 21:46:23 make: *** [Makefile:41: test] Error 127 [Pipeline] } 21:46:23 $ docker stop --time=1 a698ab5c38f7fa87c9abe06e6abb4df1d15a97e041e478bd5419535f9063f3fd 21:46:25 $ docker rm -f a698ab5c38f7fa87c9abe06e6abb4df1d15a97e041e478bd5419535f9063f3fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:46:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:26 21:46:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:46:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:26 arm64: Pulling from edgex-lftools-log-publisher 21:46:26 8998bd30e6a1: Pulling fs layer 21:46:26 04944245beec: Pulling fs layer 21:46:26 699f458cf7ca: Pulling fs layer 21:46:26 765212b225bb: Pulling fs layer 21:46:26 f23df028b6ca: Pulling fs layer 21:46:26 d65c8cfc05b1: Pulling fs layer 21:46:26 2437ff75d9bd: Pulling fs layer 21:46:26 765212b225bb: Waiting 21:46:26 f23df028b6ca: Waiting 21:46:26 d65c8cfc05b1: Waiting 21:46:26 2437ff75d9bd: Waiting 21:46:26 04944245beec: Verifying Checksum 21:46:26 04944245beec: Download complete 21:46:26 765212b225bb: Download complete 21:46:26 f23df028b6ca: Verifying Checksum 21:46:26 f23df028b6ca: Download complete 21:46:26 d65c8cfc05b1: Verifying Checksum 21:46:26 d65c8cfc05b1: Download complete 21:46:27 699f458cf7ca: Verifying Checksum 21:46:27 699f458cf7ca: Download complete 21:46:27 8998bd30e6a1: Verifying Checksum 21:46:27 8998bd30e6a1: Download complete 21:46:29 2437ff75d9bd: Verifying Checksum 21:46:29 2437ff75d9bd: Download complete 21:46:31 8998bd30e6a1: Pull complete 21:46:32 04944245beec: Pull complete 21:46:33 699f458cf7ca: Pull complete 21:46:33 765212b225bb: Pull complete 21:46:34 f23df028b6ca: Pull complete 21:46:34 d65c8cfc05b1: Pull complete 21:46:50 2437ff75d9bd: Pull complete 21:46:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:46:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:46:50 prd-ubuntu20.04-docker-arm64-4c-16g-33540 does not seem to be running inside a container 21:46:50 $ 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/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:46:52 $ docker top bed4b9d162ad28d402b268deff92028c5c094f0cb6c877321faf15681fb78d96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:53 ---> job-cost.sh 21:46:53 lf-activate-venv: SKIPPING 21:46:53 INFO: No Stack... 21:46:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:46:55 INFO: Archiving Costs [Pipeline] sh 21:46:55 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 21:46:55 + cut -d, -f6 [Pipeline] lock 21:46:55 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] 21:46:55 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] did not exist. Created. 21:46:55 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:46:56 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-f8edeb1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:46:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:46:57 Warning: overwriting stash ‘stack-cost’ 21:46:57 Stashed 1 file(s) [Pipeline] } 21:46:57 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:46:57 $ docker stop --time=1 bed4b9d162ad28d402b268deff92028c5c094f0cb6c877321faf15681fb78d96 21:46:59 $ docker rm -f bed4b9d162ad28d402b268deff92028c5c094f0cb6c877321faf15681fb78d96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:46:59 Failed in branch arm64 [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 21:47:00 + [ -d /w/workspace/_app-rfid-llrp-inventory_jakarta/archives ] 21:47:00 + ls -al /w/workspace/_app-rfid-llrp-inventory_jakarta/archives 21:47:00 total 16 21:47:00 drwxr-xr-x 3 root root 4096 Apr 27 21:39 . 21:47:00 drwxrwxr-x 13 jenkins jenkins 4096 Apr 27 21:39 .. 21:47:00 drwxr-xr-x 2 root root 4096 Apr 27 21:39 cost 21:47:00 -rw-r--r-- 1 root root 95 Apr 27 21:39 cost.csv 21:47:00 + sudo chown -R jenkins:jenkins /w/workspace/_app-rfid-llrp-inventory_jakarta/archives 21:47:00 + ls -al /w/workspace/_app-rfid-llrp-inventory_jakarta/archives 21:47:00 total 16 21:47:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 21:39 . 21:47:00 drwxrwxr-x 13 jenkins jenkins 4096 Apr 27 21:39 .. 21:47:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 21:39 cost 21:47:00 -rw-r--r-- 1 jenkins jenkins 95 Apr 27 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:47:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:47:01 ---> package-listing.sh 21:47:01 ++ facter osfamily 21:47:01 ++ tr '[:upper:]' '[:lower:]' 21:47:01 + OS_FAMILY=debian 21:47:01 + workspace=/w/workspace/_app-rfid-llrp-inventory_jakarta 21:47:01 + START_PACKAGES=/tmp/packages_start.txt 21:47:01 + END_PACKAGES=/tmp/packages_end.txt 21:47:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:47:01 + PACKAGES=/tmp/packages_start.txt 21:47:01 + '[' /w/workspace/_app-rfid-llrp-inventory_jakarta ']' 21:47:01 + PACKAGES=/tmp/packages_end.txt 21:47:01 + case "${OS_FAMILY}" in 21:47:01 + dpkg -l 21:47:01 + grep '^ii' 21:47:01 + '[' -f /tmp/packages_start.txt ']' 21:47:01 + '[' -f /tmp/packages_end.txt ']' 21:47:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:47:01 + '[' /w/workspace/_app-rfid-llrp-inventory_jakarta ']' 21:47:01 + mkdir -p /w/workspace/_app-rfid-llrp-inventory_jakarta/archives/ 21:47:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-rfid-llrp-inventory_jakarta/archives/ [Pipeline] echo 21:47:01 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/_app-rfid-llrp-inventory_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:47:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:47:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:47:02 . [Pipeline] withDockerContainer 21:47:02 prd-ubuntu20.04-docker-8c-8g-33536 does not seem to be running inside a container 21:47:02 $ 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/_app-rfid-llrp-inventory_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-rfid-llrp-inventory_jakarta -v /w/workspace/_app-rfid-llrp-inventory_jakarta:/w/workspace/_app-rfid-llrp-inventory_jakarta:rw,z -v /w/workspace/_app-rfid-llrp-inventory_jakarta@tmp:/w/workspace/_app-rfid-llrp-inventory_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:47:03 $ docker top b1c1e265737513f64321b07c8ceab889a2920a47029f2a439b1893b428896782 -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:47:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:47:04 + ls /var/log/sa-host 21:47:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:04 provisioning config files... 21:47:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-rfid-llrp-inventory_jakarta@tmp/config4083755070444299517tmp [Pipeline] { [Pipeline] echo 21:47:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:47:04 ---> create-netrc.sh [Pipeline] } 21:47:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:47:04 ---> python-tools-install.sh [Pipeline] echo 21:47:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:47:05 ---> sudo-logs.sh 21:47:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:47:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:47:05 ---> job-cost.sh 21:47:05 lf-activate-venv: SKIPPING 21:47:05 DEBUG: total: 0.2199999988079071 21:47:05 INFO: Retrieving Stack Cost... 21:47:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:47:06 INFO: Archiving Costs [Pipeline] echo 21:47:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:47:06 ---> logs-deploy.sh 21:47:06 lf-activate-venv: SKIPPING 21:47:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/jakarta/2 21:47:06 INFO: archiving workspace using pattern(s): 21:47:07 Archives upload complete. 21:47:07 INFO: archiving logs to Nexus