Push event to branch change-log Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3f802b69bb2be9fe04a7de131cd66d6f9ad92af 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-ssh7880681542274311595.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-ssh6287015667183425020.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/change-log/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/change-log/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17456494267819548009.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-ssh2654924496542566845.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/change-log/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/change-log/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14026710699632323957.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-33489 in /w/workspace/p-rfid-llrp-inventory_change-log [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/p-rfid-llrp-inventory_change-log # 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 b3f802b69bb2be9fe04a7de131cd66d6f9ad92af (change-log) > 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 b3f802b69bb2be9fe04a7de131cd66d6f9ad92af # timeout=10 Commit message: "docs: Add CHANGELOG.md" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:36:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:36:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:36:03 ========================================================= 15:36:03 EdgeX Global Pipelines Version Info 15:36:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e62e2c89fd7ecaf2c65ad00a024ce09b30c5a173 # timeout=10 15:36:04 ------------------- 15:36:04 stable info: 15:36:04 ------------------- 15:36:04 Commited By: Emilio Reyes emilio.reyes@intel.com 15:36:04 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:36:04 Message: update stable to v1.0.225 15:36:04 ------------------- 15:36:04 experimental info: 15:36:04 ------------------- 15:36:04 Commited By: **** collab-it+edgex@linuxfoundation.org 15:36:04 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 15:36:04 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = change-log [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = change-log [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = change-log [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3f802b [Pipeline] echo 15:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:05 provisioning config files... 15:36:05 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/p-rfid-llrp-inventory_change-log@tmp/config8773123068078311709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:05 ---> docker-login.sh 15:36:05 nexus3.edgexfoundry.org:10001 15:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:06 Configure a credential helper to remove this warning. See 15:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:06 15:36:06 Login Succeeded 15:36:06 nexus3.edgexfoundry.org:10002 15:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:06 Configure a credential helper to remove this warning. See 15:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:06 15:36:06 Login Succeeded 15:36:06 nexus3.edgexfoundry.org:10003 15:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:06 Configure a credential helper to remove this warning. See 15:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:06 15:36:06 Login Succeeded 15:36:06 nexus3.edgexfoundry.org:10004 15:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:06 Configure a credential helper to remove this warning. See 15:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:06 15:36:06 Login Succeeded 15:36:06 docker.io 15:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:07 Configure a credential helper to remove this warning. See 15:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:07 15:36:07 Login Succeeded 15:36:07 ---> docker-login.sh ends [Pipeline] } 15:36:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:36:07 + git rev-list -1 --merges b3f802b69bb2be9fe04a7de131cd66d6f9ad92af~1..b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [Pipeline] echo 15:36:07 -----------> git rev-list -1 --merges b3f802b69bb2be9fe04a7de131cd66d6f9ad92af~1..b3f802b69bb2be9fe04a7de131cd66d6f9ad92af b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [false] [Pipeline] sh 15:36:08 + git log --format=format:%s -1 b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [Pipeline] echo 15:36:08 ========================================================= 15:36:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:36:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:08 + git log --format=format:%s -1 b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [Pipeline] echo 15:36:08 [semverPrep] GIT_COMMIT: b3f802b69bb2be9fe04a7de131cd66d6f9ad92af, Commit Message: docs: Add CHANGELOG.md [Pipeline] echo 15:36:08 [semverPrep] This is not a build commit. [Pipeline] sh 15:36:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:08 + grep -v github /etc/ssh/ssh_known_hosts 15:36:08 + [ -e /tmp/ssh_known_hosts ] 15:36:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:36:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:36:08 + sudo tee -a /etc/ssh/ssh_known_hosts 15:36:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:36:09 15:36:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:36:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:36:09 latest: Pulling from edgex-devops/py-git-semver 15:36:09 1fe172e4850f: Pulling fs layer 15:36:09 caf521ccaac6: Pulling fs layer 15:36:09 3ead6fa29328: Pulling fs layer 15:36:09 5c2a1cbceb83: Pulling fs layer 15:36:09 a8d5f1318db7: Pulling fs layer 15:36:09 c427282e49a2: Pulling fs layer 15:36:09 1827001aaf11: Pulling fs layer 15:36:09 0714d37db230: Pulling fs layer 15:36:09 ac28cf19c067: Pulling fs layer 15:36:09 ca983d60f3e2: Pulling fs layer 15:36:09 9f894cec8388: Pulling fs layer 15:36:09 1827001aaf11: Waiting 15:36:09 a8d5f1318db7: Waiting 15:36:09 ca983d60f3e2: Waiting 15:36:09 0714d37db230: Waiting 15:36:09 c427282e49a2: Waiting 15:36:09 9f894cec8388: Waiting 15:36:09 5c2a1cbceb83: Waiting 15:36:09 ac28cf19c067: Waiting 15:36:09 caf521ccaac6: Verifying Checksum 15:36:09 caf521ccaac6: Download complete 15:36:09 5c2a1cbceb83: Download complete 15:36:09 a8d5f1318db7: Verifying Checksum 15:36:09 a8d5f1318db7: Download complete 15:36:09 3ead6fa29328: Verifying Checksum 15:36:09 3ead6fa29328: Download complete 15:36:09 c427282e49a2: Verifying Checksum 15:36:09 c427282e49a2: Download complete 15:36:09 0714d37db230: Download complete 15:36:09 ac28cf19c067: Verifying Checksum 15:36:09 ac28cf19c067: Download complete 15:36:09 ca983d60f3e2: Verifying Checksum 15:36:09 ca983d60f3e2: Download complete 15:36:09 9f894cec8388: Verifying Checksum 15:36:09 9f894cec8388: Download complete 15:36:09 1fe172e4850f: Download complete 15:36:10 1827001aaf11: Verifying Checksum 15:36:10 1827001aaf11: Download complete 15:36:11 1fe172e4850f: Pull complete 15:36:11 caf521ccaac6: Pull complete 15:36:12 3ead6fa29328: Pull complete 15:36:12 5c2a1cbceb83: Pull complete 15:36:12 a8d5f1318db7: Pull complete 15:36:12 c427282e49a2: Pull complete 15:36:14 1827001aaf11: Pull complete 15:36:14 0714d37db230: Pull complete 15:36:14 ac28cf19c067: Pull complete 15:36:14 ca983d60f3e2: Pull complete 15:36:14 9f894cec8388: Pull complete 15:36:15 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:36:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:36:15 prd-ubuntu20.04-docker-8c-8g-33489 does not seem to be running inside a container 15:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/p-rfid-llrp-inventory_change-log -v /w/workspace/p-rfid-llrp-inventory_change-log:/w/workspace/p-rfid-llrp-inventory_change-log:rw,z -v /w/workspace/p-rfid-llrp-inventory_change-log@tmp:/w/workspace/p-rfid-llrp-inventory_change-log@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:36:16 $ docker top a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:16 [ssh-agent] Looking for ssh-agent implementation... 15:36:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:16 $ docker exec a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 ssh-agent 15:36:17 SSH_AUTH_SOCK=/tmp/ssh-wT3QFWZtDZ2E/agent.33 15:36:17 SSH_AGENT_PID=40 15:36:17 Running ssh-add (command line suppressed) 15:36:17 Identity added: /w/workspace/p-rfid-llrp-inventory_change-log@tmp/private_key_8748139356046872407.key (/w/workspace/p-rfid-llrp-inventory_change-log@tmp/private_key_8748139356046872407.key) 15:36:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:17 + git tag --points-at HEAD [Pipeline] } 15:36:17 $ docker exec --env ******** --env ******** a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 ssh-agent -k 15:36:17 unset SSH_AUTH_SOCK; 15:36:17 unset SSH_AGENT_PID; 15:36:17 echo Agent pid 40 killed; 15:36:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:36:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:17 [ssh-agent] Looking for ssh-agent implementation... 15:36:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:17 $ docker exec a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 ssh-agent 15:36:17 SSH_AUTH_SOCK=/tmp/ssh-T6gUd2DhqEtu/agent.73 15:36:17 SSH_AGENT_PID=79 15:36:17 Running ssh-add (command line suppressed) 15:36:18 Identity added: /w/workspace/p-rfid-llrp-inventory_change-log@tmp/private_key_8708802456358435395.key (/w/workspace/p-rfid-llrp-inventory_change-log@tmp/private_key_8708802456358435395.key) 15:36:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:18 + git semver init 15:36:18 2022-04-27 15:36:18,563 [run_init] DEBUG init version:0.0.0 force:False 15:36:18 2022-04-27 15:36:18,563 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/p-rfid-llrp-inventory_change-log/.semver 15:36:18 2022-04-27 15:36:18,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/p-rfid-llrp-inventory_change-log/.semver 15:36:18 2022-04-27 15:36:18,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/p-rfid-llrp-inventory_change-log/.semver'], cwd=/w/workspace/p-rfid-llrp-inventory_change-log, universal_newlines=False, shell=None, istream=None) 15:36:19 2022-04-27 15:36:19,551 [append_file] DEBUG append to file:/w/workspace/p-rfid-llrp-inventory_change-log/.git/info/exclude 15:36:19 2022-04-27 15:36:19,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/p-rfid-llrp-inventory_change-log/.semver/change-log with force:False 15:36:19 2022-04-27 15:36:19,551 [write_file] DEBUG write to file:/w/workspace/p-rfid-llrp-inventory_change-log/.semver/change-log 15:36:19 2022-04-27 15:36:19,555 [execute] INFO git cat-file --batch-check 15:36:19 2022-04-27 15:36:19,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/p-rfid-llrp-inventory_change-log/.semver, universal_newlines=False, shell=None, istream=) 15:36:19 2022-04-27 15:36:19,561 [execute] INFO git cat-file --batch 15:36:19 2022-04-27 15:36:19,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/p-rfid-llrp-inventory_change-log/.semver, universal_newlines=False, shell=None, istream=) 15:36:19 2022-04-27 15:36:19,566 [read_version] DEBUG read version from /w/workspace/p-rfid-llrp-inventory_change-log/.semver/change-log 15:36:19 0.0.0 [Pipeline] } 15:36:19 $ docker exec --env ******** --env ******** a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 ssh-agent -k 15:36:20 unset SSH_AUTH_SOCK; 15:36:20 unset SSH_AGENT_PID; 15:36:20 echo Agent pid 79 killed; 15:36:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:20 + git semver [Pipeline] } 15:36:20 $ docker stop --time=1 a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 15:36:22 $ docker rm -f a3f0c6971107009ee5aaa89cd31cc25d0af65bc8a027e418ca90b1f0f3ec2b33 [Pipeline] // withDockerContainer [Pipeline] sh 15:36:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:36:22 Stashed 1 file(s) [Pipeline] echo 15:36:22 [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 15:36:22 provisioning config files... 15:36:22 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/p-rfid-llrp-inventory_change-log@tmp/config7136974652046002869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:23 ---> docker-login.sh 15:36:23 nexus3.edgexfoundry.org:10001 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 nexus3.edgexfoundry.org:10002 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 nexus3.edgexfoundry.org:10003 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 nexus3.edgexfoundry.org:10004 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 docker.io 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 ---> docker-login.sh ends [Pipeline] } 15:36:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:36:23 [edgeX.isLTS] Checking if [change-log] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:36:23 ========================================================= 15:36:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:36:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:36:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:36:24 Sending build context to Docker daemon 10.4MB 15:36:24 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:36:24 Step 2/13 : FROM ${BASE} AS builder 15:36:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:36:24 59bf1c3509f3: Pulling fs layer 15:36:24 666ba61612fd: Pulling fs layer 15:36:24 8ed8ca486205: Pulling fs layer 15:36:24 4fe6c5a15a65: Pulling fs layer 15:36:24 22a0e8bec74d: Pulling fs layer 15:36:24 ca2b28591e48: Pulling fs layer 15:36:24 a51346096db8: Pulling fs layer 15:36:24 daebc70d1ce1: Pulling fs layer 15:36:24 0e18a0eac166: Pulling fs layer 15:36:24 ca2b28591e48: Waiting 15:36:24 a51346096db8: Waiting 15:36:24 daebc70d1ce1: Waiting 15:36:24 0e18a0eac166: Waiting 15:36:24 4fe6c5a15a65: Waiting 15:36:24 22a0e8bec74d: Waiting 15:36:24 8ed8ca486205: Verifying Checksum 15:36:24 8ed8ca486205: Download complete 15:36:24 666ba61612fd: Download complete 15:36:24 22a0e8bec74d: Download complete 15:36:24 ca2b28591e48: Verifying Checksum 15:36:24 ca2b28591e48: Download complete 15:36:24 59bf1c3509f3: Verifying Checksum 15:36:24 59bf1c3509f3: Download complete 15:36:24 a51346096db8: Verifying Checksum 15:36:24 a51346096db8: Download complete 15:36:24 daebc70d1ce1: Verifying Checksum 15:36:24 daebc70d1ce1: Download complete 15:36:24 59bf1c3509f3: Pull complete 15:36:24 666ba61612fd: Pull complete 15:36:24 8ed8ca486205: Pull complete 15:36:25 0e18a0eac166: Verifying Checksum 15:36:25 4fe6c5a15a65: Verifying Checksum 15:36:25 4fe6c5a15a65: Download complete 15:36:29 4fe6c5a15a65: Pull complete 15:36:29 22a0e8bec74d: Pull complete 15:36:29 ca2b28591e48: Pull complete 15:36:29 a51346096db8: Pull complete 15:36:29 daebc70d1ce1: Pull complete 15:36:31 0e18a0eac166: Pull complete 15:36:31 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:36:31 ---> f018257e8ee9 15:36:31 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:36:32 ---> Running in f55780e2605c 15:36:32 Removing intermediate container f55780e2605c 15:36:32 ---> 74264e7f9817 15:36:32 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:36:33 ---> Running in 16460c57a2cb 15:36:33 Removing intermediate container 16460c57a2cb 15:36:33 ---> dab82e05a69e 15:36:33 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:36:33 ---> Running in 2fa84344a943 15:36:33 Removing intermediate container 2fa84344a943 15:36:33 ---> a7182a4dc9ac 15:36:33 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:36:33 ---> Running in b6ec4d3d86e8 15:36:34 Removing intermediate container b6ec4d3d86e8 15:36:34 ---> 6e51c4437c2c 15:36:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:34 ---> Running in 0218ddd854bd 15:36:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:36:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:36:35 OK: 221 MiB in 52 packages 15:36:35 Removing intermediate container 0218ddd854bd 15:36:35 ---> 5880d9fb64eb 15:36:35 Step 8/13 : WORKDIR /app 15:36:35 ---> Running in c01e1e2ff28c 15:36:35 Removing intermediate container c01e1e2ff28c 15:36:35 ---> 14b467f9af95 15:36:35 Step 9/13 : COPY go.mod vendor* ./ 15:36:36 ---> b4b7d20ffdf6 15:36:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:36:36 ---> Running in 0a0b86cafc3f 15:36:37 Still waiting to schedule task 15:36:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33487’ is offline 15:37:02 Removing intermediate container 0a0b86cafc3f 15:37:02 ---> 6a27325ffcea 15:37:02 Step 11/13 : COPY . . 15:37:02 ---> 0665e56b1e5e 15:37:02 Step 12/13 : ARG MAKE="make build" 15:37:02 ---> Running in 9abe5b75d85c 15:37:02 Removing intermediate container 9abe5b75d85c 15:37:02 ---> 38270877ccde 15:37:02 Step 13/13 : RUN $MAKE 15:37:02 ---> Running in 32896420517c 15:37:02 noop 15:37:02 Removing intermediate container 32896420517c 15:37:02 ---> 66de96c94807 15:37:02 Successfully built 66de96c94807 15:37:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:37:02 + docker inspect -f . ci-base-image-x86_64 15:37:02 . [Pipeline] withDockerContainer 15:37:03 prd-ubuntu20.04-docker-8c-8g-33489 does not seem to be running inside a container 15:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/p-rfid-llrp-inventory_change-log -v /w/workspace/p-rfid-llrp-inventory_change-log:/w/workspace/p-rfid-llrp-inventory_change-log:rw,z -v /w/workspace/p-rfid-llrp-inventory_change-log@tmp:/w/workspace/p-rfid-llrp-inventory_change-log@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 ******** ci-base-image-x86_64 cat 15:37:03 $ docker top e66e9c6ff8e6d1b74278db4d9c5e473022e4d13094b36ec8aa48a9823e7387eb -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:03 + go version 15:37:03 go version go1.17.6 linux/amd64 [Pipeline] } 15:37:03 $ docker stop --time=1 e66e9c6ff8e6d1b74278db4d9c5e473022e4d13094b36ec8aa48a9823e7387eb 15:37:05 $ docker rm -f e66e9c6ff8e6d1b74278db4d9c5e473022e4d13094b36ec8aa48a9823e7387eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:37:05 + docker inspect -f . ci-base-image-x86_64 15:37:05 . [Pipeline] withDockerContainer 15:37:05 prd-ubuntu20.04-docker-8c-8g-33489 does not seem to be running inside a container 15:37:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/p-rfid-llrp-inventory_change-log -v /w/workspace/p-rfid-llrp-inventory_change-log:/w/workspace/p-rfid-llrp-inventory_change-log:rw,z -v /w/workspace/p-rfid-llrp-inventory_change-log@tmp:/w/workspace/p-rfid-llrp-inventory_change-log@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 ******** ci-base-image-x86_64 cat 15:37:06 $ docker top 04b80a23158ea0c75862cda43cce7219dbc9693a04013fa356a5cdcbb0cee775 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:37:06 + make test 15:37:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:37:14 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 15:37:14 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.039s coverage: 86.2% of statements 15:37:14 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 15:37:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.541s coverage: 71.9% of statements 15:37:15 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 15:37:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:37:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:37:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:37:24 ./bin/test-attribution.sh [Pipeline] echo 15:37:24 [edgeX.isLTS] Checking if [change-log] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:37:24 $ docker stop --time=1 04b80a23158ea0c75862cda43cce7219dbc9693a04013fa356a5cdcbb0cee775 15:37:26 $ docker rm -f 04b80a23158ea0c75862cda43cce7219dbc9693a04013fa356a5cdcbb0cee775 [Pipeline] // withDockerContainer [Pipeline] sh 15:37:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:37:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:37:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:27 + ls -al . 15:37:27 total 244 15:37:27 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 15:37 . 15:37:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:35 .. 15:37:27 -rw-rw-r-- 1 jenkins jenkins 262 Apr 27 15:35 .dockerignore 15:37:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 15:36 .git 15:37:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 15:35 .github 15:37:27 -rw-rw-r-- 1 jenkins jenkins 788 Apr 27 15:35 .gitignore 15:37:27 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 15:35 .golangci.yml 15:37:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 15:36 .semver 15:37:27 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 27 15:35 Attribution.txt 15:37:27 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 27 15:35 CHANGELOG.md 15:37:27 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 27 15:35 Dockerfile 15:37:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 15:35 GOVERNANCE.md 15:37:27 -rw-rw-r-- 1 jenkins jenkins 687 Apr 27 15:35 Jenkinsfile 15:37:27 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 27 15:35 LICENSE 15:37:27 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 27 15:35 Makefile 15:37:27 -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 15:35 OWNERS.md 15:37:27 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 27 15:35 README.md 15:37:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 15:36 VERSION 15:37:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:35 bin 15:37:27 -rw-r--r-- 1 jenkins jenkins 41008 Apr 27 15:37 coverage.out 15:37:27 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 27 15:37 go.mod 15:37:27 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 27 15:35 go.sum 15:37:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:35 images 15:37:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:35 internal 15:37:27 -rw-rw-r-- 1 jenkins jenkins 531 Apr 27 15:35 main.go 15:37:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:35 res 15:37:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:35 snap 15:37:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 15:35 static [Pipeline] isUnix [Pipeline] sh 15:37:28 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af --label arch=amd64 --label version=0.0.0 . 15:37:28 Sending build context to Docker daemon 10.4MB 15:37:28 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 15:37:28 Step 2/31 : FROM ${BASE} AS builder 15:37:28 ---> 66de96c94807 15:37:28 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:37:28 ---> Running in dea79a4b876f 15:37:28 Removing intermediate container dea79a4b876f 15:37:28 ---> 767e8f46e5da 15:37:28 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 15:37:28 ---> Running in 657f701bcf7f 15:37:28 Removing intermediate container 657f701bcf7f 15:37:28 ---> c5b633b1f363 15:37:28 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:37:28 ---> Running in d5b3887c136d 15:37:28 Removing intermediate container d5b3887c136d 15:37:28 ---> 0c0bf1546c20 15:37:28 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:28 ---> Running in 25182002ea4f 15:37:29 Removing intermediate container 25182002ea4f 15:37:29 ---> 38a2c388151b 15:37:29 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:29 ---> Running in 57470707294a 15:37:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:37:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:37:30 OK: 221 MiB in 52 packages 15:37:31 Removing intermediate container 57470707294a 15:37:31 ---> 141badbf518b 15:37:31 Step 8/31 : WORKDIR /app 15:37:31 ---> Running in 600b37b18d68 15:37:31 Removing intermediate container 600b37b18d68 15:37:31 ---> a4faa86400f4 15:37:31 Step 9/31 : COPY go.mod vendor* ./ 15:37:31 ---> 8c2673afc8c6 15:37:31 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:31 ---> Running in 64c4e4cbfe4d 15:37:31 Removing intermediate container 64c4e4cbfe4d 15:37:31 ---> 19261aa96ed9 15:37:31 Step 11/31 : COPY . . 15:37:32 ---> 42587b2134d3 15:37:32 Step 12/31 : ARG MAKE="make build" 15:37:32 ---> Running in b782e4a437a5 15:37:32 Removing intermediate container b782e4a437a5 15:37:32 ---> 3758d3675f99 15:37:32 Step 13/31 : RUN $MAKE 15:37:32 ---> Running in 6b7f38599477 15:37:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory 15:37:40 Removing intermediate container 6b7f38599477 15:37:40 ---> 6df5694b6051 15:37:40 Step 14/31 : FROM alpine:3.14 15:37:41 3.14: Pulling from library/alpine 15:37:41 8663204ce13b: Pulling fs layer 15:37:41 8663204ce13b: Verifying Checksum 15:37:41 8663204ce13b: Download complete 15:37:41 8663204ce13b: Pull complete 15:37:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:37:41 Status: Downloaded newer image for alpine:3.14 15:37:41 ---> e04c818066af 15:37:41 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:37:41 ---> Running in 42ce67ea3cd7 15:37:41 Removing intermediate container 42ce67ea3cd7 15:37:41 ---> 2297ed8f8e43 15:37:41 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 15:37:41 ---> Running in eb914e0da974 15:37:41 Removing intermediate container eb914e0da974 15:37:41 ---> 1b05dab57ce9 15:37:41 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:42 ---> Running in 7de15cdeab38 15:37:42 Removing intermediate container 7de15cdeab38 15:37:42 ---> df6e4e3951a8 15:37:42 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 15:37:42 ---> Running in c4fab0790b1d 15:37:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:37:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:37:44 (1/6) Installing ca-certificates (20211220-r0) 15:37:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:37:44 (3/6) Installing libsodium (1.0.18-r0) 15:37:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:37:45 (5/6) Installing libzmq (4.3.4-r0) 15:37:45 (6/6) Installing zeromq (4.3.4-r0) 15:37:45 Executing busybox-1.33.1-r7.trigger 15:37:45 Executing ca-certificates-20211220-r0.trigger 15:37:45 OK: 9 MiB in 20 packages 15:37:45 Removing intermediate container c4fab0790b1d 15:37:45 ---> e9e67476495b 15:37:45 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:37:45 ---> ee2a6b397f9d 15:37:45 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 15:37:45 ---> 18201e751551 15:37:45 Step 21/31 : COPY --from=builder /app/res/ /res/ 15:37:46 ---> f0f70fca1bf8 15:37:46 Step 22/31 : COPY --from=builder /app/static/ /static/ 15:37:46 ---> 628e56f79e0e 15:37:46 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 15:37:46 ---> b37baba531c2 15:37:46 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 15:37:46 ---> Running in 189f3193aed1 15:37:47 Removing intermediate container 189f3193aed1 15:37:47 ---> ff4c85b2ce40 15:37:47 Step 25/31 : VOLUME /cache 15:37:47 ---> Running in 904d9785cb78 15:37:47 Removing intermediate container 904d9785cb78 15:37:47 ---> c2cf239a2b55 15:37:47 Step 26/31 : EXPOSE 59711 15:37:47 ---> Running in f12a32fdf200 15:37:47 Removing intermediate container f12a32fdf200 15:37:47 ---> 3d6bd7a5e5d6 15:37:47 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 15:37:47 ---> Running in ef2ce5a0e951 15:37:47 Removing intermediate container ef2ce5a0e951 15:37:47 ---> 3cccf859e7fd 15:37:47 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 15:37:47 ---> Running in 842a5e77ae24 15:37:47 Removing intermediate container 842a5e77ae24 15:37:47 ---> 270e48161fbd 15:37:47 Step 29/31 : LABEL arch=amd64 15:37:47 ---> Running in a3769f9ec14d 15:37:47 Removing intermediate container a3769f9ec14d 15:37:47 ---> be3480134969 15:37:47 Step 30/31 : LABEL git_sha=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af 15:37:47 ---> Running in 3839ece495c7 15:37:47 Removing intermediate container 3839ece495c7 15:37:47 ---> a2f01e92212b 15:37:47 Step 31/31 : LABEL version=0.0.0 15:37:48 ---> Running in b38fb3ab6132 15:37:48 Removing intermediate container b38fb3ab6132 15:37:48 ---> 12b639ccf5fe 15:37:48 [Warning] One or more build-args [ARCH] were not consumed 15:37:48 Successfully built 12b639ccf5fe 15:37:48 Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:37:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:48 15:37:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:37:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:49 latest: Pulling from edgex-lftools-log-publisher 15:37:49 5eb5b503b376: Pulling fs layer 15:37:49 5c69ac0246d0: Pulling fs layer 15:37:49 ec43610c2a17: Pulling fs layer 15:37:49 3a2ae6a8a46f: Pulling fs layer 15:37:49 33b1e0a273af: Pulling fs layer 15:37:49 5d3b04190fa2: Pulling fs layer 15:37:49 2f39f015ded8: Pulling fs layer 15:37:49 3a2ae6a8a46f: Waiting 15:37:49 33b1e0a273af: Waiting 15:37:49 5d3b04190fa2: Waiting 15:37:49 2f39f015ded8: Waiting 15:37:49 3a2ae6a8a46f: Verifying Checksum 15:37:49 3a2ae6a8a46f: Download complete 15:37:49 33b1e0a273af: Verifying Checksum 15:37:49 33b1e0a273af: Download complete 15:37:49 5d3b04190fa2: Verifying Checksum 15:37:49 5d3b04190fa2: Download complete 15:37:49 ec43610c2a17: Verifying Checksum 15:37:49 ec43610c2a17: Download complete 15:37:49 5eb5b503b376: Download complete 15:37:49 2f39f015ded8: Download complete 15:37:50 5eb5b503b376: Pull complete 15:37:50 5c69ac0246d0: Pull complete 15:37:51 ec43610c2a17: Pull complete 15:37:51 3a2ae6a8a46f: Pull complete 15:37:51 33b1e0a273af: Pull complete 15:37:51 5d3b04190fa2: Pull complete 15:37:55 2f39f015ded8: Pull complete 15:37:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:37:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:37:55 prd-ubuntu20.04-docker-8c-8g-33489 does not seem to be running inside a container 15:37:55 $ 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/p-rfid-llrp-inventory_change-log -v /w/workspace/p-rfid-llrp-inventory_change-log:/w/workspace/p-rfid-llrp-inventory_change-log:rw,z -v /w/workspace/p-rfid-llrp-inventory_change-log@tmp:/w/workspace/p-rfid-llrp-inventory_change-log@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:37:57 $ docker top 80dd09cf769a49b6d2cfc00bc4e5376bc92b6ae8f2f16a10729acaa0dd0de9da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:57 ---> job-cost.sh 15:37:57 lf-activate-venv: SKIPPING 15:37:57 INFO: No Stack... 15:37:58 INFO: Retrieving Pricing Info for: v3-standard-8 15:37:58 INFO: Archiving Costs [Pipeline] sh 15:37:58 + cat /w/workspace/p-rfid-llrp-inventory_change-log/archives/cost.csv 15:37:58 + cut -d, -f6 [Pipeline] lock 15:37:58 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] 15:37:58 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] did not exist. Created. 15:37:58 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:37:59 + echo total: 0.2199999988079071 [Pipeline] stash 15:37:59 Stashed 1 file(s) [Pipeline] } 15:37:59 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:37:59 $ docker stop --time=1 80dd09cf769a49b6d2cfc00bc4e5376bc92b6ae8f2f16a10729acaa0dd0de9da 15:38:00 $ docker rm -f 80dd09cf769a49b6d2cfc00bc4e5376bc92b6ae8f2f16a10729acaa0dd0de9da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33491 in /w/workspace/p-rfid-llrp-inventory_change-log [Pipeline] { [Pipeline] ws 15:38:20 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 15:38:20 The recommended git tool is: git 15:38:26 using credential edgex-jenkins-ssh 15:38:26 Cloning the remote Git repository 15:38:26 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 15:38:26 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 15:38:26 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 15:38:26 > git --version # timeout=10 15:38:26 > git --version # 'git version 2.25.1' 15:38:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:38:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:38:28 Avoid second fetch 15:38:28 Checking out Revision b3f802b69bb2be9fe04a7de131cd66d6f9ad92af (change-log) 15:38:28 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 15:38:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:38:28 > git config core.sparsecheckout # timeout=10 15:38:28 > git checkout -f b3f802b69bb2be9fe04a7de131cd66d6f9ad92af # timeout=10 15:38:33 Commit message: "docs: Add CHANGELOG.md" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:38:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:38:33 Dload Upload Total Spent Left Speed 15:38:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 15:38:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:38:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:38:34 + sudo tee /etc/docker/daemon.new 15:38:34 { 15:38:34 "registry-mirrors": [ 15:38:34 "https://nexus3.edgexfoundry.org:10001" 15:38:34 ], 15:38:34 "bip": "10.250.0.254/24", 15:38:34 "hosts": [ 15:38:34 "tcp://0.0.0.0:5555", 15:38:34 "unix:///var/run/docker.sock" 15:38:34 ], 15:38:34 "mtu": 1458, 15:38:34 "selinux-enabled": true, 15:38:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:38:34 } [Pipeline] sh 15:38:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:38:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:53 provisioning config files... 15:38:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config4474057575992846752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:54 ---> docker-login.sh 15:38:54 nexus3.edgexfoundry.org:10001 15:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:55 Configure a credential helper to remove this warning. See 15:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:55 15:38:55 Login Succeeded 15:38:55 nexus3.edgexfoundry.org:10002 15:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:55 Configure a credential helper to remove this warning. See 15:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:55 15:38:55 Login Succeeded 15:38:55 nexus3.edgexfoundry.org:10003 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 nexus3.edgexfoundry.org:10004 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 docker.io 15:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:57 Configure a credential helper to remove this warning. See 15:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:57 15:38:57 Login Succeeded 15:38:57 ---> docker-login.sh ends [Pipeline] } 15:38:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:58 [edgeX.isLTS] Checking if [change-log] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:58 ========================================================= 15:38:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:38:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:38:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:38:59 Sending build context to Docker daemon 695.8kB 15:38:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:38:59 Step 2/13 : FROM ${BASE} AS builder 15:38:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:38:59 9b3977197b4f: Pulling fs layer 15:38:59 1a89e8eeedd5: Pulling fs layer 15:38:59 94645a83ff95: Pulling fs layer 15:38:59 3f3a8bcf1eab: Pulling fs layer 15:38:59 0c92f367c5e7: Pulling fs layer 15:38:59 3096ccb668a1: Pulling fs layer 15:38:59 e8cf19c19ddd: Pulling fs layer 15:38:59 a4caa8a26152: Pulling fs layer 15:38:59 3f3a8bcf1eab: Waiting 15:38:59 0c92f367c5e7: Waiting 15:38:59 3096ccb668a1: Waiting 15:38:59 e8cf19c19ddd: Waiting 15:38:59 a4caa8a26152: Waiting 15:38:59 94645a83ff95: Verifying Checksum 15:38:59 94645a83ff95: Download complete 15:38:59 1a89e8eeedd5: Download complete 15:38:59 0c92f367c5e7: Verifying Checksum 15:38:59 0c92f367c5e7: Download complete 15:38:59 3096ccb668a1: Verifying Checksum 15:38:59 3096ccb668a1: Download complete 15:38:59 9b3977197b4f: Verifying Checksum 15:38:59 9b3977197b4f: Download complete 15:38:59 e8cf19c19ddd: Verifying Checksum 15:38:59 e8cf19c19ddd: Download complete 15:39:00 9b3977197b4f: Pull complete 15:39:00 1a89e8eeedd5: Pull complete 15:39:01 94645a83ff95: Pull complete 15:39:01 a4caa8a26152: Verifying Checksum 15:39:01 a4caa8a26152: Download complete 15:39:02 3f3a8bcf1eab: Verifying Checksum 15:39:02 3f3a8bcf1eab: Download complete 15:39:14 3f3a8bcf1eab: Pull complete 15:39:14 0c92f367c5e7: Pull complete 15:39:14 3096ccb668a1: Pull complete 15:39:15 e8cf19c19ddd: Pull complete 15:39:21 a4caa8a26152: Pull complete 15:39:21 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:39:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:39:21 ---> 725f1c02e7f9 15:39:21 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:39:22 ---> Running in 8208d04c6b87 15:39:23 Removing intermediate container 8208d04c6b87 15:39:23 ---> 921aed8da4dc 15:39:23 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 15:39:23 ---> Running in ae3a3084658c 15:39:23 Removing intermediate container ae3a3084658c 15:39:23 ---> ad2e9fd6925f 15:39:23 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:39:23 ---> Running in d2a83a535db3 15:39:23 Removing intermediate container d2a83a535db3 15:39:23 ---> f4a6145434b1 15:39:23 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:39:23 ---> Running in 9a80f1d0cf73 15:39:25 Removing intermediate container 9a80f1d0cf73 15:39:25 ---> e25cdad2cb8e 15:39:25 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:25 ---> Running in fb02238ef341 15:39:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:39:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:39:29 OK: 220 MiB in 52 packages 15:39:30 Removing intermediate container fb02238ef341 15:39:30 ---> 945d55a94d3e 15:39:30 Step 8/13 : WORKDIR /app 15:39:30 ---> Running in 1223168b259e 15:39:30 Removing intermediate container 1223168b259e 15:39:30 ---> 23c3f6f5cdab 15:39:30 Step 9/13 : COPY go.mod vendor* ./ 15:39:31 ---> ed0335e1f4b2 15:39:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:31 ---> Running in fd717df802d2 15:40:53 Removing intermediate container fd717df802d2 15:40:53 ---> 28fb50b61b2a 15:40:53 Step 11/13 : COPY . . 15:40:53 ---> 90f9f48852ce 15:40:53 Step 12/13 : ARG MAKE="make build" 15:40:53 ---> Running in 5cbf7f6a1e44 15:40:53 Removing intermediate container 5cbf7f6a1e44 15:40:53 ---> 19e045d08eaf 15:40:53 Step 13/13 : RUN $MAKE 15:40:53 ---> Running in f0c0b56b3381 15:40:53 noop 15:40:53 Removing intermediate container f0c0b56b3381 15:40:53 ---> 04e565193b3b 15:40:53 Successfully built 04e565193b3b 15:40:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:40:53 + docker inspect -f . ci-base-image-arm64 15:40:53 . [Pipeline] withDockerContainer 15:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-33491 does not seem to be running inside a container 15:40:53 $ 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 ******** ci-base-image-arm64 cat 15:40:55 $ docker top 21bf424a6fc0420a26e1f1c582bd510feea37cc4c689b6e45c7741ee71e6953b -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:55 + go version 15:40:55 go version go1.17.6 linux/arm64 [Pipeline] } 15:40:55 $ docker stop --time=1 21bf424a6fc0420a26e1f1c582bd510feea37cc4c689b6e45c7741ee71e6953b 15:40:57 $ docker rm -f 21bf424a6fc0420a26e1f1c582bd510feea37cc4c689b6e45c7741ee71e6953b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:40:58 + docker inspect -f . ci-base-image-arm64 15:40:58 . [Pipeline] withDockerContainer 15:40:58 prd-ubuntu20.04-docker-arm64-4c-16g-33491 does not seem to be running inside a container 15:40:58 $ 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 ******** ci-base-image-arm64 cat 15:40:59 $ docker top cf36c6a0cdc9e31324ba6e0e87f86f92525a6441a1a267fe1f329e458afc1929 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:41:00 + make test 15:41:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:41:57 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 15:41:57 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.201s coverage: 86.2% of statements 15:41:57 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 15:42:01 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.709s coverage: 71.9% of statements 15:42:01 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 15:42:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:42:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:42:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:42:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:42:23 ./bin/test-attribution.sh [Pipeline] echo 15:42:26 [edgeX.isLTS] Checking if [change-log] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:42:26 $ docker stop --time=1 cf36c6a0cdc9e31324ba6e0e87f86f92525a6441a1a267fe1f329e458afc1929 15:42:28 $ docker rm -f cf36c6a0cdc9e31324ba6e0e87f86f92525a6441a1a267fe1f329e458afc1929 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:42:29 Warning: overwriting stash ‘coverage-report’ 15:42:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:42:30 + ls -al . 15:42:30 total 240 15:42:30 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 15:42 . 15:42:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:38 .. 15:42:30 -rw-rw-r-- 1 jenkins jenkins 262 Apr 27 15:38 .dockerignore 15:42:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 15:38 .git 15:42:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 15:38 .github 15:42:30 -rw-rw-r-- 1 jenkins jenkins 788 Apr 27 15:38 .gitignore 15:42:30 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 15:38 .golangci.yml 15:42:30 -rw-rw-r-- 1 jenkins jenkins 8248 Apr 27 15:38 Attribution.txt 15:42:30 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 27 15:38 CHANGELOG.md 15:42:30 -rw-rw-r-- 1 jenkins jenkins 1923 Apr 27 15:38 Dockerfile 15:42:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 15:38 GOVERNANCE.md 15:42:30 -rw-rw-r-- 1 jenkins jenkins 687 Apr 27 15:38 Jenkinsfile 15:42:30 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 27 15:38 LICENSE 15:42:30 -rw-rw-r-- 1 jenkins jenkins 2095 Apr 27 15:38 Makefile 15:42:30 -rw-rw-r-- 1 jenkins jenkins 617 Apr 27 15:38 OWNERS.md 15:42:30 -rw-rw-r-- 1 jenkins jenkins 30131 Apr 27 15:38 README.md 15:42:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 15:36 VERSION 15:42:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:38 bin 15:42:30 -rw-r--r-- 1 jenkins jenkins 41008 Apr 27 15:42 coverage.out 15:42:30 -rw-rw-r-- 1 jenkins jenkins 3019 Apr 27 15:42 go.mod 15:42:30 -rw-rw-r-- 1 jenkins jenkins 49531 Apr 27 15:38 go.sum 15:42:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:38 images 15:42:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:38 internal 15:42:30 -rw-rw-r-- 1 jenkins jenkins 531 Apr 27 15:38 main.go 15:42:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 15:38 res 15:42:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 15:38 snap 15:42:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 15:38 static [Pipeline] isUnix [Pipeline] sh 15:42:30 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af --label arch=arm64 --label version=0.0.0 . 15:42:31 Sending build context to Docker daemon 695.8kB 15:42:31 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 15:42:31 Step 2/31 : FROM ${BASE} AS builder 15:42:31 ---> 04e565193b3b 15:42:31 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 15:42:31 ---> Running in a1a953ede27f 15:42:31 Removing intermediate container a1a953ede27f 15:42:31 ---> 878d331a32dc 15:42:31 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 15:42:31 ---> Running in c61e43bac2c9 15:42:32 Removing intermediate container c61e43bac2c9 15:42:32 ---> a35da43d14b5 15:42:32 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:42:32 ---> Running in d940349006ff 15:42:32 Removing intermediate container d940349006ff 15:42:32 ---> 33c95ffd6340 15:42:32 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:42:32 ---> Running in d530c56d4156 15:42:34 Removing intermediate container d530c56d4156 15:42:34 ---> a368489b2764 15:42:34 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:34 ---> Running in f3db848d5fe2 15:42:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:42:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:42:37 OK: 220 MiB in 52 packages 15:42:37 Removing intermediate container f3db848d5fe2 15:42:37 ---> 81534734ffe5 15:42:37 Step 8/31 : WORKDIR /app 15:42:37 ---> Running in d88de03cc7eb 15:42:38 Removing intermediate container d88de03cc7eb 15:42:38 ---> 4d5048f9493d 15:42:38 Step 9/31 : COPY go.mod vendor* ./ 15:42:38 ---> a50de39a3c6a 15:42:38 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:38 ---> Running in ed72abd5270a 15:42:40 Removing intermediate container ed72abd5270a 15:42:40 ---> 5ecfdd394dc8 15:42:40 Step 11/31 : COPY . . 15:42:41 ---> a553d5e2bff3 15:42:41 Step 12/31 : ARG MAKE="make build" 15:42:41 ---> Running in 474fd0a8f3ab 15:42:41 Removing intermediate container 474fd0a8f3ab 15:42:41 ---> 5ae939581bab 15:42:41 Step 13/31 : RUN $MAKE 15:42:41 ---> Running in 23ff0145f6e5 15:42:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory 15:43:29 Removing intermediate container 23ff0145f6e5 15:43:29 ---> 75ae8f614af1 15:43:29 Step 14/31 : FROM alpine:3.14 15:43:30 3.14: Pulling from library/alpine 15:43:30 455c02918c45: Pulling fs layer 15:43:30 455c02918c45: Verifying Checksum 15:43:30 455c02918c45: Download complete 15:43:31 455c02918c45: Pull complete 15:43:31 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:43:31 Status: Downloaded newer image for alpine:3.14 15:43:31 ---> ac73e934f311 15:43:31 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:43:31 ---> Running in 6e63566e180f 15:43:31 Removing intermediate container 6e63566e180f 15:43:31 ---> b450e0db8a9d 15:43:31 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 15:43:32 ---> Running in c237684b0955 15:43:32 Removing intermediate container c237684b0955 15:43:32 ---> 531afb092465 15:43:32 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:32 ---> Running in 346936a71abc 15:43:34 Removing intermediate container 346936a71abc 15:43:34 ---> 0115f9c9caf2 15:43:34 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 15:43:34 ---> Running in f88234a0ebb5 15:43:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:43:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:43:36 (1/6) Installing ca-certificates (20211220-r0) 15:43:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:43:36 (3/6) Installing libsodium (1.0.18-r0) 15:43:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:43:37 (5/6) Installing libzmq (4.3.4-r0) 15:43:37 (6/6) Installing zeromq (4.3.4-r0) 15:43:37 Executing busybox-1.33.1-r7.trigger 15:43:37 Executing ca-certificates-20211220-r0.trigger 15:43:37 OK: 9 MiB in 20 packages 15:43:38 Removing intermediate container f88234a0ebb5 15:43:38 ---> fe29ed666719 15:43:38 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:43:39 ---> 06e29d7efa9b 15:43:39 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 15:43:39 ---> 07f207a1361c 15:43:39 Step 21/31 : COPY --from=builder /app/res/ /res/ 15:43:40 ---> a3475bfeea40 15:43:40 Step 22/31 : COPY --from=builder /app/static/ /static/ 15:43:41 ---> f410dab8c322 15:43:41 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 15:43:42 ---> 835e601ad77d 15:43:42 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 15:43:42 ---> Running in c7c32cd4f64f 15:43:44 Removing intermediate container c7c32cd4f64f 15:43:44 ---> 81499c762465 15:43:44 Step 25/31 : VOLUME /cache 15:43:44 ---> Running in bd4a5a055ac6 15:43:44 Removing intermediate container bd4a5a055ac6 15:43:44 ---> 072723a80504 15:43:44 Step 26/31 : EXPOSE 59711 15:43:44 ---> Running in 0aebfd47f59e 15:43:44 Removing intermediate container 0aebfd47f59e 15:43:44 ---> 2c33cc5fa14b 15:43:44 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 15:43:44 ---> Running in be03a1ccbb53 15:43:44 Removing intermediate container be03a1ccbb53 15:43:44 ---> 2215c95bff7b 15:43:44 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 15:43:45 ---> Running in 17344432111f 15:43:45 Removing intermediate container 17344432111f 15:43:45 ---> 211b4378a6cc 15:43:45 Step 29/31 : LABEL arch=arm64 15:43:45 ---> Running in 0b132ee9027e 15:43:45 Removing intermediate container 0b132ee9027e 15:43:45 ---> 843a711befdb 15:43:45 Step 30/31 : LABEL git_sha=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af 15:43:46 ---> Running in 786e8db02a7f 15:43:46 Removing intermediate container 786e8db02a7f 15:43:46 ---> 50a147d8d67a 15:43:46 Step 31/31 : LABEL version=0.0.0 15:43:46 ---> Running in 78725d2d8230 15:43:46 Removing intermediate container 78725d2d8230 15:43:46 ---> 1738675672b4 15:43:46 [Warning] One or more build-args [ARCH] were not consumed 15:43:46 Successfully built 1738675672b4 15:43:46 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:47 15:43:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:43:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:47 arm64: Pulling from edgex-lftools-log-publisher 15:43:47 8998bd30e6a1: Pulling fs layer 15:43:47 04944245beec: Pulling fs layer 15:43:47 699f458cf7ca: Pulling fs layer 15:43:47 765212b225bb: Pulling fs layer 15:43:47 f23df028b6ca: Pulling fs layer 15:43:47 d65c8cfc05b1: Pulling fs layer 15:43:47 2437ff75d9bd: Pulling fs layer 15:43:47 f23df028b6ca: Waiting 15:43:47 d65c8cfc05b1: Waiting 15:43:47 2437ff75d9bd: Waiting 15:43:47 765212b225bb: Waiting 15:43:47 04944245beec: Verifying Checksum 15:43:47 04944245beec: Download complete 15:43:47 765212b225bb: Verifying Checksum 15:43:47 765212b225bb: Download complete 15:43:47 f23df028b6ca: Verifying Checksum 15:43:47 f23df028b6ca: Download complete 15:43:47 d65c8cfc05b1: Verifying Checksum 15:43:47 d65c8cfc05b1: Download complete 15:43:47 699f458cf7ca: Verifying Checksum 15:43:47 699f458cf7ca: Download complete 15:43:48 8998bd30e6a1: Verifying Checksum 15:43:48 8998bd30e6a1: Download complete 15:43:50 2437ff75d9bd: Verifying Checksum 15:43:50 2437ff75d9bd: Download complete 15:43:52 8998bd30e6a1: Pull complete 15:43:53 04944245beec: Pull complete 15:43:54 699f458cf7ca: Pull complete 15:43:54 765212b225bb: Pull complete 15:43:55 f23df028b6ca: Pull complete 15:43:55 d65c8cfc05b1: Pull complete 15:44:10 2437ff75d9bd: Pull complete 15:44:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:44:10 prd-ubuntu20.04-docker-arm64-4c-16g-33491 does not seem to be running inside a container 15:44:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:44:13 $ docker top fdc696e5e290c1f0e815d9222b40078b547cbe8703b83dcd8c2d552e627af2a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:14 ---> job-cost.sh 15:44:14 lf-activate-venv: SKIPPING 15:44:14 INFO: No Stack... 15:44:15 INFO: Retrieving Pricing Info for: v3-standard-4 15:44:15 INFO: Archiving Costs [Pipeline] sh 15:44:16 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 15:44:16 + cut -d, -f6 [Pipeline] lock 15:44:16 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] 15:44:16 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] did not exist. Created. 15:44:16 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:17 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-4bc98afa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:44:18 + echo total: 0.10999999940395355 [Pipeline] stash 15:44:18 Warning: overwriting stash ‘stack-cost’ 15:44:18 Stashed 1 file(s) [Pipeline] } 15:44:18 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-change-log-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:18 $ docker stop --time=1 fdc696e5e290c1f0e815d9222b40078b547cbe8703b83dcd8c2d552e627af2a6 15:44:19 $ docker rm -f fdc696e5e290c1f0e815d9222b40078b547cbe8703b83dcd8c2d552e627af2a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:44:20 provisioning config files... 15:44:20 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/p-rfid-llrp-inventory_change-log@tmp/config1664393368835564911tmp [Pipeline] { [Pipeline] sh 15:44:20 + set +x 15:44:20 + curl -s https://codecov.io/bash 15:44:20 + bash -s -- 15:44:20 15:44:20 _____ _ 15:44:20 / ____| | | 15:44:20 | | ___ __| | ___ ___ _____ __ 15:44:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:44:20 | |___| (_) | (_| | __/ (_| (_) \ V / 15:44:20 \_____\___/ \__,_|\___|\___\___/ \_/ 15:44:20 Bash-1.0.6 15:44:20 15:44:20 15:44:20 ==> git version 2.25.1 found 15:44:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:44:20 Release-Date: 2020-01-08 15:44:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:44:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:44:20 ==> Jenkins CI detected. 15:44:20 current dir:  /w/workspace/p-rfid-llrp-inventory_change-log 15:44:20 project root: . 15:44:20 --> token set from env 15:44:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:44:20 ==> Running gcov in . (disable via -X gcov) 15:44:20 ==> Python coveragepy not found 15:44:20 ==> Searching for coverage reports in: 15:44:20 + . 15:44:20 -> Found 1 reports 15:44:20 ==> Detecting git/mercurial file structure 15:44:20 ==> Reading reports 15:44:20 + ./coverage.out bytes=41008 15:44:20 ==> Appending adjustments 15:44:20 https://docs.codecov.io/docs/fixing-reports 15:44:20 + Found adjustments 15:44:20 ==> Gzipping contents 15:44:20 12K /tmp/codecov.BsQk2e.gz 15:44:20 ==> Uploading reports 15:44:20 url: https://codecov.io 15:44:20 query: branch=change-log&commit=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fchange-log%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 15:44:20 -> Pinging Codecov 15:44:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=change-log&commit=b3f802b69bb2be9fe04a7de131cd66d6f9ad92af&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Fchange-log%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 15:44:21 -> Uploading to 15:44:21 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/581DD39554BDF9B6E22D074273EAD858/b3f802b69bb2be9fe04a7de131cd66d6f9ad92af/2a25339d-922a-4f36-966a-b99739d4769c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T154421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24365d9b108d1f968ec35f5fbde3ea423b49e7af1f0456e1dfb1533736919dbe 15:44:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:44:21 Dload Upload Total Spent Left Speed 15:44:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11573 0 0 100 11573 0 53331 --:--:-- --:--:-- --:--:-- 53331 15:44:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/b3f802b69bb2be9fe04a7de131cd66d6f9ad92af [Pipeline] } 15:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:44:22 + [ -d /w/workspace/p-rfid-llrp-inventory_change-log/archives ] 15:44:22 + ls -al /w/workspace/p-rfid-llrp-inventory_change-log/archives 15:44:22 total 16 15:44:22 drwxr-xr-x 3 root root 4096 Apr 27 15:37 . 15:44:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 15:37 .. 15:44:22 drwxr-xr-x 2 root root 4096 Apr 27 15:37 cost 15:44:22 -rw-r--r-- 1 root root 98 Apr 27 15:37 cost.csv 15:44:22 + sudo chown -R jenkins:jenkins /w/workspace/p-rfid-llrp-inventory_change-log/archives 15:44:22 + ls -al /w/workspace/p-rfid-llrp-inventory_change-log/archives 15:44:22 total 16 15:44:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 15:37 . 15:44:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 15:37 .. 15:44:22 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 15:37 cost 15:44:22 -rw-r--r-- 1 jenkins jenkins 98 Apr 27 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:44:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:44:23 ---> package-listing.sh 15:44:23 ++ facter osfamily 15:44:23 ++ tr '[:upper:]' '[:lower:]' 15:44:23 + OS_FAMILY=debian 15:44:23 + workspace=/w/workspace/p-rfid-llrp-inventory_change-log 15:44:23 + START_PACKAGES=/tmp/packages_start.txt 15:44:23 + END_PACKAGES=/tmp/packages_end.txt 15:44:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:44:23 + PACKAGES=/tmp/packages_start.txt 15:44:23 + '[' /w/workspace/p-rfid-llrp-inventory_change-log ']' 15:44:23 + PACKAGES=/tmp/packages_end.txt 15:44:23 + case "${OS_FAMILY}" in 15:44:23 + dpkg -l 15:44:23 + grep '^ii' 15:44:23 + '[' -f /tmp/packages_start.txt ']' 15:44:23 + '[' -f /tmp/packages_end.txt ']' 15:44:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:44:23 + '[' /w/workspace/p-rfid-llrp-inventory_change-log ']' 15:44:23 + mkdir -p /w/workspace/p-rfid-llrp-inventory_change-log/archives/ 15:44:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/p-rfid-llrp-inventory_change-log/archives/ [Pipeline] echo 15:44:23 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/p-rfid-llrp-inventory_change-log/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:44:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:24 . [Pipeline] withDockerContainer 15:44:24 prd-ubuntu20.04-docker-8c-8g-33489 does not seem to be running inside a container 15:44:24 $ 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/p-rfid-llrp-inventory_change-log/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/p-rfid-llrp-inventory_change-log -v /w/workspace/p-rfid-llrp-inventory_change-log:/w/workspace/p-rfid-llrp-inventory_change-log:rw,z -v /w/workspace/p-rfid-llrp-inventory_change-log@tmp:/w/workspace/p-rfid-llrp-inventory_change-log@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-lftools-log-publisher:latest cat 15:44:24 $ docker top 988e8b582f25ebc240e9182766e4172af78d542d1bafa2e0b499d5d30f6a0fab -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:25 + touch /tmp/pre-build-complete [Pipeline] sh 15:44:25 + mkdir -p /var/log/sysstat [Pipeline] sh 15:44:25 + ls /var/log/sa-host 15:44:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:25 provisioning config files... 15:44:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/p-rfid-llrp-inventory_change-log@tmp/config444951542509181955tmp [Pipeline] { [Pipeline] echo 15:44:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:44:26 ---> create-netrc.sh [Pipeline] } 15:44:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:44:26 ---> python-tools-install.sh [Pipeline] echo 15:44:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:44:26 ---> sudo-logs.sh 15:44:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:44:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:44:27 ---> job-cost.sh 15:44:27 lf-activate-venv: SKIPPING 15:44:27 DEBUG: total: 0.2199999988079071 15:44:27 INFO: Retrieving Stack Cost... 15:44:27 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:28 INFO: Archiving Costs [Pipeline] echo 15:44:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:44:28 ---> logs-deploy.sh 15:44:28 lf-activate-venv: SKIPPING 15:44:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/change-log/2 15:44:28 INFO: archiving workspace using pattern(s): 15:44:29 Archives upload complete. 15:44:29 INFO: archiving logs to Nexus