Pull request #54 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-rfid-llrp-inventory Loading trusted files from base branch main at 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd rather than 44d27c76450ce2ae209cb88dd85fbe32dc43251d Obtained Jenkinsfile from 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd 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-ssh395739051818807037.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh15202234749803243483.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/PR-54/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/PR-54/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3717596686732988358.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh6062105213438205270.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/PR-54/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/PR-54/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12188244729779645434.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.16 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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-91 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [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/ry_app-rfid-llrp-inventory_PR-54 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh5018929864773405478.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 44d27c76450ce2ae209cb88dd85fbe32dc43251d > 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 remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh4403066147875716626.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 Merge succeeded, producing 44d27c76450ce2ae209cb88dd85fbe32dc43251d Checking out Revision 44d27c76450ce2ae209cb88dd85fbe32dc43251d (PR-54) > git remote # timeout=10 > 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh4439354131155881133.key > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 Commit message: "fix: address Anthony's latest comments" > git rev-list --no-walk e8102737e1672b489b1cd8cc0dec37f03e02c209 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-01T19:24:59.299Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-01T19:24:59.352Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-01T19:24:59.366Z] ========================================================= [2021-12-01T19:24:59.366Z] EdgeX Global Pipelines Version Info [2021-12-01T19:24:59.366Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:25:00.527Z] ------------------- [2021-12-01T19:25:00.527Z] stable info: [2021-12-01T19:25:00.527Z] ------------------- [2021-12-01T19:25:00.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-01T19:25:00.527Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T19:25:00.527Z] Message: update stable to v1.0.217 [2021-12-01T19:25:01.100Z] ------------------- [2021-12-01T19:25:01.100Z] experimental info: [2021-12-01T19:25:01.100Z] ------------------- [2021-12-01T19:25:01.100Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-01T19:25:01.100Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T19:25:01.100Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-01T19:25:01.227Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2021-12-01T19:25:01.244Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2021-12-01T19:25:01.259Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-01T19:25:01.272Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-01T19:25:01.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-01T19:25:01.297Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-01T19:25:01.309Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-01T19:25:01.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-01T19:25:01.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-01T19:25:01.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-01T19:25:01.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-01T19:25:01.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2021-12-01T19:25:01.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-01T19:25:01.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-01T19:25:01.407Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T19:25:01.416Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T19:25:01.427Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T19:25:01.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T19:25:01.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-01T19:25:01.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-01T19:25:01.478Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-01T19:25:01.487Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-01T19:25:01.499Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-01T19:25:01.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-01T19:25:01.530Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-01T19:25:01.547Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-01T19:25:01.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo [2021-12-01T19:25:01.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo [2021-12-01T19:25:01.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo [2021-12-01T19:25:01.597Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44d27c76450ce2ae209cb88dd85fbe32dc43251d [Pipeline] echo [2021-12-01T19:25:01.613Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44d27c7 [Pipeline] echo [2021-12-01T19:25:01.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T19:25:01.666Z] provisioning config files... [2021-12-01T19:25:01.682Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config6219177701159100309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:25:01.992Z] ---> docker-login.sh [2021-12-01T19:25:01.992Z] nexus3.edgexfoundry.org:10001 [2021-12-01T19:25:01.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:25:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:25:02.264Z] Configure a credential helper to remove this warning. See [2021-12-01T19:25:02.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:25:02.264Z] [2021-12-01T19:25:02.264Z] Login Succeeded [2021-12-01T19:25:02.264Z] nexus3.edgexfoundry.org:10002 [2021-12-01T19:25:02.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:25:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:25:02.264Z] Configure a credential helper to remove this warning. See [2021-12-01T19:25:02.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:25:02.264Z] [2021-12-01T19:25:02.264Z] Login Succeeded [2021-12-01T19:25:02.264Z] nexus3.edgexfoundry.org:10003 [2021-12-01T19:25:02.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:25:02.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:25:02.526Z] Configure a credential helper to remove this warning. See [2021-12-01T19:25:02.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:25:02.526Z] [2021-12-01T19:25:02.526Z] Login Succeeded [2021-12-01T19:25:02.526Z] nexus3.edgexfoundry.org:10004 [2021-12-01T19:25:02.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:25:02.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:25:02.526Z] Configure a credential helper to remove this warning. See [2021-12-01T19:25:02.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:25:02.526Z] [2021-12-01T19:25:02.526Z] Login Succeeded [2021-12-01T19:25:02.526Z] docker.io [2021-12-01T19:25:02.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:25:03.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:25:03.100Z] Configure a credential helper to remove this warning. See [2021-12-01T19:25:03.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:25:03.100Z] [2021-12-01T19:25:03.100Z] Login Succeeded [2021-12-01T19:25:03.100Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T19:25:03.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-01T19:25:03.572Z] + git rev-list -1 --merges 44d27c76450ce2ae209cb88dd85fbe32dc43251d~1..44d27c76450ce2ae209cb88dd85fbe32dc43251d [Pipeline] echo [2021-12-01T19:25:03.602Z] -----------> git rev-list -1 --merges 44d27c76450ce2ae209cb88dd85fbe32dc43251d~1..44d27c76450ce2ae209cb88dd85fbe32dc43251d 44d27c76450ce2ae209cb88dd85fbe32dc43251d [false] [Pipeline] sh [2021-12-01T19:25:03.894Z] + git log --format=format:%s -1 44d27c76450ce2ae209cb88dd85fbe32dc43251d [Pipeline] echo [2021-12-01T19:25:03.908Z] ========================================================= [2021-12-01T19:25:03.908Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-01T19:25:03.908Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T19:25:04.238Z] + git log --format=format:%s -1 44d27c76450ce2ae209cb88dd85fbe32dc43251d [Pipeline] echo [2021-12-01T19:25:04.251Z] [semverPrep] GIT_COMMIT: 44d27c76450ce2ae209cb88dd85fbe32dc43251d, Commit Message: fix: address Anthony's latest comments [Pipeline] echo [2021-12-01T19:25:04.262Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-01T19:25:04.689Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T19:25:04.689Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-01T19:25:04.689Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-01T19:25:04.689Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-01T19:25:04.689Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-01T19:25:04.689Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-01T19:25:04.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:25:05.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T19:25:05.110Z] [2021-12-01T19:25:05.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:25:05.419Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T19:25:05.419Z] latest: Pulling from edgex-devops/git-semver [2021-12-01T19:25:05.419Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T19:25:05.419Z] 3e5f54012d9b: Pulling fs layer [2021-12-01T19:25:05.419Z] 4c7163046ea9: Pulling fs layer [2021-12-01T19:25:05.419Z] 0c2d73faf560: Pulling fs layer [2021-12-01T19:25:05.419Z] 0c2d73faf560: Waiting [2021-12-01T19:25:05.419Z] 3e5f54012d9b: Verifying Checksum [2021-12-01T19:25:05.419Z] 3e5f54012d9b: Download complete [2021-12-01T19:25:05.419Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T19:25:05.419Z] a0d0a0d46f8b: Download complete [2021-12-01T19:25:05.419Z] 4c7163046ea9: Verifying Checksum [2021-12-01T19:25:05.419Z] 4c7163046ea9: Download complete [2021-12-01T19:25:05.419Z] 0c2d73faf560: Verifying Checksum [2021-12-01T19:25:05.419Z] 0c2d73faf560: Download complete [2021-12-01T19:25:05.687Z] a0d0a0d46f8b: Pull complete [2021-12-01T19:25:05.687Z] 3e5f54012d9b: Pull complete [2021-12-01T19:25:05.952Z] 4c7163046ea9: Pull complete [2021-12-01T19:25:06.214Z] 0c2d73faf560: Pull complete [2021-12-01T19:25:06.215Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-01T19:25:06.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T19:25:06.215Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-01T19:25:06.292Z] prd-centos7-docker-4c-2g-91 does not seem to be running inside a container [2021-12-01T19:25:06.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T19:25:06.948Z] $ docker top b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T19:25:07.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T19:25:07.052Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T19:25:07.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T19:25:07.150Z] $ docker exec b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 ssh-agent [2021-12-01T19:25:07.244Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBGnhG/agent.14 [2021-12-01T19:25:07.244Z] SSH_AGENT_PID=20 [2021-12-01T19:25:07.251Z] Running ssh-add (command line suppressed) [2021-12-01T19:25:07.339Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_5551058452601900934.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_5551058452601900934.key) [2021-12-01T19:25:07.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T19:25:07.650Z] + git tag --points-at HEAD [Pipeline] } [2021-12-01T19:25:07.663Z] $ docker exec --env ******** --env ******** b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 ssh-agent -k [2021-12-01T19:25:07.741Z] unset SSH_AUTH_SOCK; [2021-12-01T19:25:07.742Z] unset SSH_AGENT_PID; [2021-12-01T19:25:07.742Z] echo Agent pid 20 killed; [2021-12-01T19:25:07.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-01T19:25:07.776Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T19:25:07.776Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T19:25:07.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T19:25:07.874Z] $ docker exec b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 ssh-agent [2021-12-01T19:25:07.966Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPHkodl/agent.54 [2021-12-01T19:25:07.966Z] SSH_AGENT_PID=61 [2021-12-01T19:25:07.970Z] Running ssh-add (command line suppressed) [2021-12-01T19:25:08.070Z] Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_6568394834236936226.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_6568394834236936226.key) [2021-12-01T19:25:08.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T19:25:08.373Z] + git semver init [2021-12-01T19:25:08.373Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T19:25:08.373Z] # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.git [2021-12-01T19:25:08.373Z] # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [2021-12-01T19:25:08.373Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T19:25:08.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T19:25:08.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T19:25:08.373Z] # $SEMVER_BRANCH = PR-54 [2021-12-01T19:25:08.373Z] # $SEMVER_TEMP = /tmp/semver-825694386 [2021-12-01T19:25:08.373Z] # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP [2021-12-01T19:25:09.763Z] # '/tmp/semver-825694386' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver' [2021-12-01T19:25:09.763Z] # -> Force: false [2021-12-01T19:25:09.763Z] # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver [Pipeline] } [2021-12-01T19:25:09.774Z] $ docker exec --env ******** --env ******** b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 ssh-agent -k [2021-12-01T19:25:09.862Z] unset SSH_AUTH_SOCK; [2021-12-01T19:25:09.862Z] unset SSH_AGENT_PID; [2021-12-01T19:25:09.863Z] echo Agent pid 61 killed; [2021-12-01T19:25:09.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T19:25:10.189Z] + git semver [Pipeline] } [2021-12-01T19:25:10.205Z] $ docker stop --time=1 b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 [2021-12-01T19:25:11.471Z] $ docker rm -f b87ab3a333935c822b892144edbc029d2af1bdc75a897fdfb127e52346754241 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T19:25:11.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-01T19:25:12.051Z] Stashed 1 file(s) [Pipeline] echo [2021-12-01T19:25:12.055Z] [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] node [Pipeline] node [2021-12-01T19:25:27.256Z] Still waiting to schedule task [2021-12-01T19:25:27.256Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-91’ [2021-12-01T19:25:27.257Z] Still waiting to schedule task [2021-12-01T19:25:27.258Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-01T19:26:58.593Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-92 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws [2021-12-01T19:26:58.606Z] Running in /w/workspace/app-rfid-llrp-inventory/28 [Pipeline] { [Pipeline] checkout [2021-12-01T19:26:58.833Z] The recommended git tool is: git [2021-12-01T19:27:03.282Z] using credential edgex-jenkins-ssh [2021-12-01T19:27:03.299Z] Cloning the remote Git repository [2021-12-01T19:27:03.359Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:03.434Z] > git init /w/workspace/app-rfid-llrp-inventory/28 # timeout=10 [2021-12-01T19:27:03.537Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:03.538Z] > git --version # timeout=10 [2021-12-01T19:27:03.559Z] > git --version # 'git version 2.17.1' [2021-12-01T19:27:03.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:03.631Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:27:05.486Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:27:05.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:27:05.538Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:27:05.626Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:05.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:05.643Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-01T19:27:06.341Z] Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:27:06.558Z] Merge succeeded, producing 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:27:06.558Z] Checking out Revision 44d27c76450ce2ae209cb88dd85fbe32dc43251d (PR-54) [2021-12-01T19:27:06.371Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:27:06.395Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:27:06.496Z] > git remote # timeout=10 [2021-12-01T19:27:06.511Z] > git config --get remote.origin.url # timeout=10 [2021-12-01T19:27:06.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:06.532Z] > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 [2021-12-01T19:27:06.553Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-01T19:27:06.573Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:27:06.587Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:27:10.760Z] Commit message: "fix: address Anthony's latest comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T19:27:11.671Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-01T19:27:11.671Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-01T19:27:11.671Z] Dload Upload Total Spent Left Speed [2021-12-01T19:27:11.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 71228 0 --:--:-- --:--:-- --:--:-- 71228 [Pipeline] sh [2021-12-01T19:27:12.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-01T19:27:12.582Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-01T19:27:12.582Z] + sudo tee /etc/docker/daemon.new [2021-12-01T19:27:12.582Z] { [2021-12-01T19:27:12.582Z] "registry-mirrors": [ [2021-12-01T19:27:12.582Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-01T19:27:12.582Z] ], [2021-12-01T19:27:12.582Z] "bip": "10.250.0.254/24", [2021-12-01T19:27:12.582Z] "hosts": [ [2021-12-01T19:27:12.582Z] "tcp://0.0.0.0:5555", [2021-12-01T19:27:12.582Z] "unix:///var/run/docker.sock" [2021-12-01T19:27:12.582Z] ], [2021-12-01T19:27:12.582Z] "mtu": 1458, [2021-12-01T19:27:12.582Z] "selinux-enabled": true, [2021-12-01T19:27:12.582Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-01T19:27:12.582Z] } [Pipeline] sh [2021-12-01T19:27:12.976Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-01T19:27:13.313Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T19:27:31.652Z] provisioning config files... [2021-12-01T19:27:31.676Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/28@tmp/config3481120850156955323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:27:32.026Z] ---> docker-login.sh [2021-12-01T19:27:32.026Z] nexus3.edgexfoundry.org:10001 [2021-12-01T19:27:32.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:32.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:32.645Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:32.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:32.645Z] [2021-12-01T19:27:32.645Z] Login Succeeded [2021-12-01T19:27:32.645Z] nexus3.edgexfoundry.org:10002 [2021-12-01T19:27:33.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:33.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:33.240Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:33.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:33.240Z] [2021-12-01T19:27:33.240Z] Login Succeeded [2021-12-01T19:27:33.240Z] nexus3.edgexfoundry.org:10003 [2021-12-01T19:27:33.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:33.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:33.514Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:33.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:33.514Z] [2021-12-01T19:27:33.514Z] Login Succeeded [2021-12-01T19:27:33.514Z] nexus3.edgexfoundry.org:10004 [2021-12-01T19:27:33.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:34.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:34.062Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:34.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:34.062Z] [2021-12-01T19:27:34.062Z] Login Succeeded [2021-12-01T19:27:34.062Z] docker.io [2021-12-01T19:27:34.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:34.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:34.612Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:34.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:34.612Z] [2021-12-01T19:27:34.612Z] Login Succeeded [2021-12-01T19:27:34.612Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T19:27:34.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T19:27:35.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T19:27:35.158Z] ========================================================= [2021-12-01T19:27:35.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-01T19:27:35.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:27:35.508Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-01T19:27:35.782Z] Sending build context to Docker daemon 684.5kB [2021-12-01T19:27:35.782Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T19:27:35.782Z] Step 2/12 : FROM ${BASE} AS builder [2021-12-01T19:27:36.056Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-01T19:27:36.056Z] 552d1f2373af: Pulling fs layer [2021-12-01T19:27:36.056Z] ea3f2d53f512: Pulling fs layer [2021-12-01T19:27:36.056Z] 9e70ebbbe112: Pulling fs layer [2021-12-01T19:27:36.056Z] 7a9cfe048b4a: Pulling fs layer [2021-12-01T19:27:36.056Z] 72dc09318566: Pulling fs layer [2021-12-01T19:27:36.056Z] f4f7b4309257: Pulling fs layer [2021-12-01T19:27:36.056Z] 0ac9a79272e3: Pulling fs layer [2021-12-01T19:27:36.056Z] b78e95d17946: Pulling fs layer [2021-12-01T19:27:36.056Z] f4f7b4309257: Waiting [2021-12-01T19:27:36.056Z] 0ac9a79272e3: Waiting [2021-12-01T19:27:36.056Z] b78e95d17946: Waiting [2021-12-01T19:27:36.056Z] 7a9cfe048b4a: Waiting [2021-12-01T19:27:36.056Z] 72dc09318566: Waiting [2021-12-01T19:27:36.056Z] 9e70ebbbe112: Download complete [2021-12-01T19:27:36.056Z] ea3f2d53f512: Verifying Checksum [2021-12-01T19:27:36.056Z] ea3f2d53f512: Download complete [2021-12-01T19:27:36.056Z] 72dc09318566: Download complete [2021-12-01T19:27:36.056Z] f4f7b4309257: Verifying Checksum [2021-12-01T19:27:36.056Z] f4f7b4309257: Download complete [2021-12-01T19:27:36.056Z] 552d1f2373af: Download complete [2021-12-01T19:27:36.056Z] 0ac9a79272e3: Verifying Checksum [2021-12-01T19:27:36.056Z] 0ac9a79272e3: Download complete [2021-12-01T19:27:36.680Z] 552d1f2373af: Pull complete [2021-12-01T19:27:37.277Z] ea3f2d53f512: Pull complete [2021-12-01T19:27:37.874Z] 9e70ebbbe112: Pull complete [2021-12-01T19:27:37.874Z] b78e95d17946: Verifying Checksum [2021-12-01T19:27:37.874Z] b78e95d17946: Download complete [2021-12-01T19:27:38.474Z] 7a9cfe048b4a: Verifying Checksum [2021-12-01T19:27:38.474Z] 7a9cfe048b4a: Download complete [2021-12-01T19:27:43.449Z] Running on prd-centos7-docker-4c-2g-93 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws [2021-12-01T19:27:43.462Z] Running in /w/workspace/app-rfid-llrp-inventory/28 [Pipeline] { [Pipeline] checkout [2021-12-01T19:27:43.546Z] The recommended git tool is: git [2021-12-01T19:27:45.332Z] using credential edgex-jenkins-ssh [2021-12-01T19:27:45.348Z] Cloning the remote Git repository [2021-12-01T19:27:44.975Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:45.008Z] > git init /w/workspace/app-rfid-llrp-inventory/28 # timeout=10 [2021-12-01T19:27:45.039Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:45.040Z] > git --version # timeout=10 [2021-12-01T19:27:45.047Z] > git --version # 'git version 2.24.4' [2021-12-01T19:27:45.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:45.067Z] [INFO] Currently running in a labeled security context [2021-12-01T19:27:45.067Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-01T19:27:45.067Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/28@tmp/jenkins-gitclient-ssh2413220115941111101.key [2021-12-01T19:27:45.089Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:27:46.042Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:27:46.052Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:27:46.066Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:27:46.086Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:27:46.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:46.087Z] [INFO] Currently running in a labeled security context [2021-12-01T19:27:46.087Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-01T19:27:46.087Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/28@tmp/jenkins-gitclient-ssh7450514581027684018.key [2021-12-01T19:27:46.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-01T19:27:46.940Z] Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:27:47.052Z] Merge succeeded, producing 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:27:47.053Z] Checking out Revision 44d27c76450ce2ae209cb88dd85fbe32dc43251d (PR-54) [2021-12-01T19:27:46.688Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:27:46.696Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:27:46.747Z] > git remote # timeout=10 [2021-12-01T19:27:46.751Z] > git config --get remote.origin.url # timeout=10 [2021-12-01T19:27:46.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:27:46.760Z] [INFO] Currently running in a labeled security context [2021-12-01T19:27:46.760Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-01T19:27:46.760Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/28@tmp/jenkins-gitclient-ssh2417529009093444289.key [2021-12-01T19:27:46.773Z] > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 [2021-12-01T19:27:46.787Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-01T19:27:46.802Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:27:46.806Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:27:50.281Z] Commit message: "fix: address Anthony's latest comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T19:27:50.607Z] provisioning config files... [2021-12-01T19:27:50.619Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/28@tmp/config3147943328853187988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:27:50.858Z] 7a9cfe048b4a: Pull complete [2021-12-01T19:27:50.859Z] 72dc09318566: Pull complete [2021-12-01T19:27:50.859Z] f4f7b4309257: Pull complete [2021-12-01T19:27:50.859Z] 0ac9a79272e3: Pull complete [2021-12-01T19:27:51.006Z] ---> docker-login.sh [2021-12-01T19:27:51.006Z] nexus3.edgexfoundry.org:10001 [2021-12-01T19:27:51.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:51.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:51.273Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:51.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:51.273Z] [2021-12-01T19:27:51.273Z] Login Succeeded [2021-12-01T19:27:51.273Z] nexus3.edgexfoundry.org:10002 [2021-12-01T19:27:51.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:51.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:51.273Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:51.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:51.273Z] [2021-12-01T19:27:51.273Z] Login Succeeded [2021-12-01T19:27:51.273Z] nexus3.edgexfoundry.org:10003 [2021-12-01T19:27:51.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:51.534Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:51.534Z] [2021-12-01T19:27:51.534Z] Login Succeeded [2021-12-01T19:27:51.534Z] nexus3.edgexfoundry.org:10004 [2021-12-01T19:27:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:51.534Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:51.534Z] [2021-12-01T19:27:51.534Z] Login Succeeded [2021-12-01T19:27:51.534Z] docker.io [2021-12-01T19:27:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T19:27:52.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T19:27:52.105Z] Configure a credential helper to remove this warning. See [2021-12-01T19:27:52.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T19:27:52.105Z] [2021-12-01T19:27:52.105Z] Login Succeeded [2021-12-01T19:27:52.105Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T19:27:52.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T19:27:52.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T19:27:52.326Z] ========================================================= [2021-12-01T19:27:52.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-01T19:27:52.326Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:27:52.649Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-01T19:27:52.649Z] Sending build context to Docker daemon 684.5kB [2021-12-01T19:27:52.649Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T19:27:52.649Z] Step 2/12 : FROM ${BASE} AS builder [2021-12-01T19:27:52.649Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-01T19:27:52.649Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T19:27:52.649Z] 31adcdaf11c8: Pulling fs layer [2021-12-01T19:27:52.649Z] b8b176561691: Pulling fs layer [2021-12-01T19:27:52.649Z] 4527c011a84f: Pulling fs layer [2021-12-01T19:27:52.649Z] 5d74067f8e1e: Pulling fs layer [2021-12-01T19:27:52.649Z] e0aca202a116: Pulling fs layer [2021-12-01T19:27:52.649Z] 3a43be97a3b4: Pulling fs layer [2021-12-01T19:27:52.649Z] 34cad66bf833: Pulling fs layer [2021-12-01T19:27:52.649Z] b4e3c513aaa6: Pulling fs layer [2021-12-01T19:27:52.649Z] e0aca202a116: Waiting [2021-12-01T19:27:52.649Z] 3a43be97a3b4: Waiting [2021-12-01T19:27:52.649Z] 34cad66bf833: Waiting [2021-12-01T19:27:52.649Z] b4e3c513aaa6: Waiting [2021-12-01T19:27:52.649Z] 4527c011a84f: Waiting [2021-12-01T19:27:52.649Z] 5d74067f8e1e: Waiting [2021-12-01T19:27:52.649Z] b8b176561691: Verifying Checksum [2021-12-01T19:27:52.649Z] b8b176561691: Download complete [2021-12-01T19:27:52.649Z] 31adcdaf11c8: Verifying Checksum [2021-12-01T19:27:52.649Z] 31adcdaf11c8: Download complete [2021-12-01T19:27:52.649Z] 5d74067f8e1e: Verifying Checksum [2021-12-01T19:27:52.649Z] 5d74067f8e1e: Download complete [2021-12-01T19:27:52.649Z] e0aca202a116: Verifying Checksum [2021-12-01T19:27:52.649Z] e0aca202a116: Download complete [2021-12-01T19:27:52.649Z] 3a43be97a3b4: Verifying Checksum [2021-12-01T19:27:52.649Z] 3a43be97a3b4: Download complete [2021-12-01T19:27:52.649Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T19:27:52.649Z] a0d0a0d46f8b: Download complete [2021-12-01T19:27:52.919Z] 34cad66bf833: Verifying Checksum [2021-12-01T19:27:52.919Z] 34cad66bf833: Download complete [2021-12-01T19:27:53.182Z] a0d0a0d46f8b: Pull complete [2021-12-01T19:27:53.448Z] 4527c011a84f: Verifying Checksum [2021-12-01T19:27:53.448Z] 4527c011a84f: Download complete [2021-12-01T19:27:53.448Z] b4e3c513aaa6: Verifying Checksum [2021-12-01T19:27:53.448Z] b4e3c513aaa6: Download complete [2021-12-01T19:27:53.448Z] 31adcdaf11c8: Pull complete [2021-12-01T19:27:53.448Z] b8b176561691: Pull complete [2021-12-01T19:27:56.264Z] b78e95d17946: Pull complete [2021-12-01T19:27:56.264Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-01T19:27:56.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-01T19:27:56.264Z] ---> 8b459fc5aaf0 [2021-12-01T19:27:56.264Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-12-01T19:27:56.812Z] 4527c011a84f: Pull complete [2021-12-01T19:27:57.079Z] 5d74067f8e1e: Pull complete [2021-12-01T19:27:57.079Z] e0aca202a116: Pull complete [2021-12-01T19:27:57.079Z] 3a43be97a3b4: Pull complete [2021-12-01T19:27:57.258Z] ---> Running in 024617c4b496 [2021-12-01T19:27:57.344Z] 34cad66bf833: Pull complete [2021-12-01T19:27:57.534Z] Removing intermediate container 024617c4b496 [2021-12-01T19:27:57.534Z] ---> 0afafaddc623 [2021-12-01T19:27:57.534Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T19:27:57.806Z] ---> Running in 3af9c2d2b583 [2021-12-01T19:27:58.078Z] Removing intermediate container 3af9c2d2b583 [2021-12-01T19:27:58.078Z] ---> c99e03687009 [2021-12-01T19:27:58.078Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:27:58.078Z] ---> Running in e0a0720ca2c6 [2021-12-01T19:27:58.350Z] Removing intermediate container e0a0720ca2c6 [2021-12-01T19:27:58.350Z] ---> 1fcebd4824c2 [2021-12-01T19:27:58.350Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T19:27:58.626Z] ---> Running in cd284da36f6c [2021-12-01T19:27:59.913Z] b4e3c513aaa6: Pull complete [2021-12-01T19:27:59.913Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-01T19:27:59.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-01T19:27:59.913Z] ---> 9f6097aaca64 [2021-12-01T19:27:59.913Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-12-01T19:28:00.594Z] Removing intermediate container cd284da36f6c [2021-12-01T19:28:00.594Z] ---> f765d3fe2716 [2021-12-01T19:28:00.594Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T19:28:00.594Z] ---> Running in b0d9ef0629e7 [2021-12-01T19:28:01.571Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T19:28:01.834Z] ---> Running in ba48b548893b [2021-12-01T19:28:01.834Z] Removing intermediate container ba48b548893b [2021-12-01T19:28:01.834Z] ---> 1c29277687c2 [2021-12-01T19:28:01.834Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T19:28:01.834Z] ---> Running in 9975939b8bdf [2021-12-01T19:28:01.834Z] Removing intermediate container 9975939b8bdf [2021-12-01T19:28:01.834Z] ---> 4fdb9bbb15bd [2021-12-01T19:28:01.834Z] Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:28:01.834Z] ---> Running in be30e742a854 [2021-12-01T19:28:01.834Z] Removing intermediate container be30e742a854 [2021-12-01T19:28:01.834Z] ---> c05d465a31bb [2021-12-01T19:28:01.834Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T19:28:01.834Z] ---> Running in 413f60cff185 [2021-12-01T19:28:02.420Z] Removing intermediate container 413f60cff185 [2021-12-01T19:28:02.420Z] ---> 4911f4532444 [2021-12-01T19:28:02.420Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T19:28:02.420Z] ---> Running in f3f2f7d35c1b [2021-12-01T19:28:02.543Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T19:28:02.683Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T19:28:03.142Z] OK: 219 MiB in 52 packages [2021-12-01T19:28:03.630Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T19:28:03.736Z] Removing intermediate container b0d9ef0629e7 [2021-12-01T19:28:03.736Z] ---> 553d33be14cf [2021-12-01T19:28:03.736Z] Step 8/12 : WORKDIR /app [2021-12-01T19:28:03.891Z] OK: 220 MiB in 52 packages [2021-12-01T19:28:04.008Z] ---> Running in 72583b4916b4 [2021-12-01T19:28:04.153Z] Removing intermediate container f3f2f7d35c1b [2021-12-01T19:28:04.153Z] ---> 413f74e1f94f [2021-12-01T19:28:04.153Z] Step 8/12 : WORKDIR /app [2021-12-01T19:28:04.153Z] ---> Running in 441bc0531b7f [2021-12-01T19:28:04.153Z] Removing intermediate container 441bc0531b7f [2021-12-01T19:28:04.153Z] ---> 2a83d0ebd221 [2021-12-01T19:28:04.153Z] Step 9/12 : COPY . . [2021-12-01T19:28:04.282Z] Removing intermediate container 72583b4916b4 [2021-12-01T19:28:04.282Z] ---> d577f2d3dc1b [2021-12-01T19:28:04.282Z] Step 9/12 : COPY . . [2021-12-01T19:28:04.417Z] ---> 2c7c1ec50c90 [2021-12-01T19:28:04.417Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T19:28:04.417Z] ---> Running in 237fa092557f [2021-12-01T19:28:05.257Z] ---> 537fdcb09f78 [2021-12-01T19:28:05.257Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T19:28:05.257Z] ---> Running in 1eb805ad5864 [2021-12-01T19:28:36.590Z] Removing intermediate container 237fa092557f [2021-12-01T19:28:36.590Z] ---> 999dde4b27be [2021-12-01T19:28:36.590Z] Step 11/12 : ARG MAKE="make build" [2021-12-01T19:28:36.590Z] ---> Running in 767a1c77d98d [2021-12-01T19:28:36.590Z] Removing intermediate container 767a1c77d98d [2021-12-01T19:28:36.590Z] ---> 7f2bd15d1d0c [2021-12-01T19:28:36.590Z] Step 12/12 : RUN $MAKE [2021-12-01T19:28:36.590Z] ---> Running in 5437e599d104 [2021-12-01T19:28:36.590Z] noop [2021-12-01T19:28:36.590Z] Removing intermediate container 5437e599d104 [2021-12-01T19:28:36.590Z] ---> 5a9262ee1f18 [2021-12-01T19:28:36.590Z] Successfully built 5a9262ee1f18 [2021-12-01T19:28:36.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:28:36.892Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T19:28:36.892Z] . [Pipeline] withDockerContainer [2021-12-01T19:28:36.972Z] prd-centos7-docker-4c-2g-93 does not seem to be running inside a container [2021-12-01T19:28:37.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-01T19:28:37.380Z] $ docker top 5e5c6e3c561896dea0beb23f6d71df932cd24baa5e73856337f6628034529a44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T19:28:37.753Z] + go version [2021-12-01T19:28:37.753Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-01T19:28:37.766Z] $ docker stop --time=1 5e5c6e3c561896dea0beb23f6d71df932cd24baa5e73856337f6628034529a44 [2021-12-01T19:28:38.936Z] $ docker rm -f 5e5c6e3c561896dea0beb23f6d71df932cd24baa5e73856337f6628034529a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:28:39.399Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T19:28:39.399Z] . [Pipeline] withDockerContainer [2021-12-01T19:28:39.471Z] prd-centos7-docker-4c-2g-93 does not seem to be running inside a container [2021-12-01T19:28:39.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-01T19:28:39.832Z] $ docker top c558e7311311d9eeb2703d9ad0d4ac13c3f3d001f3ccb787d1a6d81085cca1dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-01T19:28:40.214Z] + make test [2021-12-01T19:28:40.215Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-01T19:28:58.446Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2021-12-01T19:28:58.446Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.075s coverage: 86.5% of statements [2021-12-01T19:28:58.446Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2021-12-01T19:29:01.750Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.538s coverage: 72.2% of statements [2021-12-01T19:29:01.751Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2021-12-01T19:29:01.751Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T19:29:08.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T19:29:08.385Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T19:29:08.385Z] ./bin/test-attribution.sh [Pipeline] echo [2021-12-01T19:29:08.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T19:29:08.986Z] $ docker stop --time=1 c558e7311311d9eeb2703d9ad0d4ac13c3f3d001f3ccb787d1a6d81085cca1dd [2021-12-01T19:29:10.468Z] $ docker rm -f c558e7311311d9eeb2703d9ad0d4ac13c3f3d001f3ccb787d1a6d81085cca1dd [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T19:29:10.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T19:29:11.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-01T19:29:12.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T19:29:12.373Z] + ls -al . [2021-12-01T19:29:12.373Z] total 196 [2021-12-01T19:29:12.373Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 1 19:29 . [2021-12-01T19:29:12.373Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 19:27 .. [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 8248 Dec 1 19:27 Attribution.txt [2021-12-01T19:29:12.373Z] drwxrwxr-x. 2 jenkins jenkins 33 Dec 1 19:27 bin [2021-12-01T19:29:12.373Z] -rw-r--r--. 1 jenkins jenkins 41452 Dec 1 19:29 coverage.out [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 1742 Dec 1 19:27 Dockerfile [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 262 Dec 1 19:27 .dockerignore [2021-12-01T19:29:12.373Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 1 19:27 .git [2021-12-01T19:29:12.373Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 19:27 .github [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 788 Dec 1 19:27 .gitignore [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 365 Dec 1 19:27 go.mod [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 49531 Dec 1 19:27 go.sum [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 19:27 GOVERNANCE.md [2021-12-01T19:29:12.373Z] drwxrwxr-x. 2 jenkins jenkins 140 Dec 1 19:27 images [2021-12-01T19:29:12.373Z] drwxrwxr-x. 4 jenkins jenkins 35 Dec 1 19:27 internal [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 686 Dec 1 19:27 Jenkinsfile [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 11347 Dec 1 19:27 LICENSE [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 531 Dec 1 19:27 main.go [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 1596 Dec 1 19:27 Makefile [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 617 Dec 1 19:27 OWNERS.md [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 31195 Dec 1 19:27 README.md [2021-12-01T19:29:12.373Z] drwxrwxr-x. 2 jenkins jenkins 32 Dec 1 19:27 res [2021-12-01T19:29:12.373Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 1 19:27 snap [2021-12-01T19:29:12.373Z] drwxrwxr-x. 3 jenkins jenkins 18 Dec 1 19:27 static [2021-12-01T19:29:12.373Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 1 19:25 VERSION [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:29:12.679Z] + 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=44d27c76450ce2ae209cb88dd85fbe32dc43251d --label arch=amd64 --label version=0.0.0 . [2021-12-01T19:29:12.679Z] Sending build context to Docker daemon 684.5kB [2021-12-01T19:29:12.679Z] Step 1/27 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T19:29:12.679Z] Step 2/27 : FROM ${BASE} AS builder [2021-12-01T19:29:12.679Z] ---> 5a9262ee1f18 [2021-12-01T19:29:12.679Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-12-01T19:29:12.679Z] ---> Running in 5c33386d8d93 [2021-12-01T19:29:12.679Z] Removing intermediate container 5c33386d8d93 [2021-12-01T19:29:12.679Z] ---> 1c9d991f66e8 [2021-12-01T19:29:12.679Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T19:29:12.679Z] ---> Running in 2073877db47e [2021-12-01T19:29:12.946Z] Removing intermediate container 2073877db47e [2021-12-01T19:29:12.946Z] ---> ebf539fa36d2 [2021-12-01T19:29:12.946Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:29:12.946Z] ---> Running in b05ea66893ab [2021-12-01T19:29:12.946Z] Removing intermediate container b05ea66893ab [2021-12-01T19:29:12.946Z] ---> 91397e3cf78e [2021-12-01T19:29:12.946Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T19:29:12.946Z] ---> Running in 8f858bcfb143 [2021-12-01T19:29:13.523Z] Removing intermediate container 8f858bcfb143 [2021-12-01T19:29:13.523Z] ---> 5e9b6ee7cb7e [2021-12-01T19:29:13.523Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T19:29:13.523Z] ---> Running in cb74008eaf2f [2021-12-01T19:29:13.783Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T19:29:14.725Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T19:29:14.725Z] OK: 220 MiB in 52 packages [2021-12-01T19:29:14.986Z] Removing intermediate container cb74008eaf2f [2021-12-01T19:29:14.986Z] ---> 540e8eb62133 [2021-12-01T19:29:14.986Z] Step 8/27 : WORKDIR /app [2021-12-01T19:29:14.986Z] ---> Running in 1d3b43628f63 [2021-12-01T19:29:15.260Z] Removing intermediate container 1d3b43628f63 [2021-12-01T19:29:15.260Z] ---> 6844a77f45a3 [2021-12-01T19:29:15.260Z] Step 9/27 : COPY . . [2021-12-01T19:29:15.260Z] ---> edbb06cb09c5 [2021-12-01T19:29:15.260Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T19:29:15.260Z] ---> Running in d8678d8b815e [2021-12-01T19:29:15.833Z] Removing intermediate container d8678d8b815e [2021-12-01T19:29:15.833Z] ---> 304893b6d93a [2021-12-01T19:29:15.833Z] Step 11/27 : ARG MAKE="make build" [2021-12-01T19:29:15.833Z] ---> Running in c8ce01078570 [2021-12-01T19:29:16.093Z] Removing intermediate container c8ce01078570 [2021-12-01T19:29:16.093Z] ---> 21ef1e45f98d [2021-12-01T19:29:16.093Z] Step 12/27 : RUN $MAKE [2021-12-01T19:29:16.093Z] ---> Running in 73a7c72438b3 [2021-12-01T19:29:16.358Z] 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 [2021-12-01T19:29:27.054Z] Removing intermediate container 1eb805ad5864 [2021-12-01T19:29:27.054Z] ---> 97b169afbe0d [2021-12-01T19:29:27.054Z] Step 11/12 : ARG MAKE="make build" [2021-12-01T19:29:27.054Z] ---> Running in 0cd306e7dcfb [2021-12-01T19:29:27.054Z] Removing intermediate container 0cd306e7dcfb [2021-12-01T19:29:27.054Z] ---> d73b39b92628 [2021-12-01T19:29:27.054Z] Step 12/12 : RUN $MAKE [2021-12-01T19:29:27.054Z] ---> Running in 68e22e622e15 [2021-12-01T19:29:27.054Z] noop [2021-12-01T19:29:27.054Z] Removing intermediate container 68e22e622e15 [2021-12-01T19:29:27.054Z] ---> 16288b795b7e [2021-12-01T19:29:27.054Z] Successfully built 16288b795b7e [2021-12-01T19:29:27.054Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:29:27.396Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T19:29:27.396Z] . [Pipeline] withDockerContainer [2021-12-01T19:29:27.622Z] prd-ubuntu18.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2021-12-01T19:29:27.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-01T19:29:28.681Z] Removing intermediate container 73a7c72438b3 [2021-12-01T19:29:28.681Z] ---> 2a30ee4bc7fc [2021-12-01T19:29:28.681Z] Step 13/27 : FROM alpine:3.14 [2021-12-01T19:29:28.681Z] 3.14: Pulling from library/alpine [2021-12-01T19:29:28.681Z] 97518928ae5f: Pulling fs layer [2021-12-01T19:29:28.681Z] 97518928ae5f: Download complete [2021-12-01T19:29:28.947Z] 97518928ae5f: Pull complete [2021-12-01T19:29:28.947Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T19:29:28.947Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T19:29:28.947Z] ---> 0a97eee8041e [2021-12-01T19:29:28.947Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:29:28.947Z] ---> Running in 6df61f04e73a [2021-12-01T19:29:28.966Z] $ docker top ab3b8d48ec18a4d91567b2fc583d944e28d75ed09e948e47e3bff55d2537717f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T19:29:29.214Z] Removing intermediate container 6df61f04e73a [2021-12-01T19:29:29.214Z] ---> ae6b0e6c2480 [2021-12-01T19:29:29.214Z] Step 15/27 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2021-12-01T19:29:29.214Z] ---> Running in ceb1695fc780 [2021-12-01T19:29:29.214Z] Removing intermediate container ceb1695fc780 [2021-12-01T19:29:29.214Z] ---> ae79977ca551 [2021-12-01T19:29:29.214Z] Step 16/27 : RUN apk --no-cache add ca-certificates zeromq [2021-12-01T19:29:29.214Z] ---> Running in 385a92069725 [2021-12-01T19:29:29.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T19:29:29.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T19:29:29.735Z] (1/6) Installing ca-certificates (20191127-r5) [2021-12-01T19:29:29.735Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T19:29:29.735Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T19:29:29.850Z] + go version [2021-12-01T19:29:29.850Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-01T19:29:29.869Z] $ docker stop --time=1 ab3b8d48ec18a4d91567b2fc583d944e28d75ed09e948e47e3bff55d2537717f [2021-12-01T19:29:29.997Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T19:29:29.998Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T19:29:29.998Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T19:29:29.998Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T19:29:29.998Z] Executing ca-certificates-20191127-r5.trigger [2021-12-01T19:29:29.998Z] OK: 9 MiB in 20 packages [2021-12-01T19:29:30.264Z] Removing intermediate container 385a92069725 [2021-12-01T19:29:30.264Z] ---> 10f6c65101ce [2021-12-01T19:29:30.264Z] Step 17/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2021-12-01T19:29:30.526Z] ---> ee36b0e21d6f [2021-12-01T19:29:30.526Z] Step 18/27 : COPY --from=builder /app/LICENSE /LICENSE [2021-12-01T19:29:30.526Z] ---> b85d4e6ea372 [2021-12-01T19:29:30.526Z] Step 19/27 : COPY --from=builder /app/res/ /res/ [2021-12-01T19:29:30.790Z] ---> 28cfd6453667 [2021-12-01T19:29:30.790Z] Step 20/27 : COPY --from=builder /app/static/ /static/ [2021-12-01T19:29:30.790Z] ---> ecc9511bc306 [2021-12-01T19:29:30.790Z] Step 21/27 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2021-12-01T19:29:31.362Z] ---> 116b77334050 [2021-12-01T19:29:31.362Z] Step 22/27 : EXPOSE 48086 [2021-12-01T19:29:31.362Z] ---> Running in 61cd35910e7b [2021-12-01T19:29:31.362Z] Removing intermediate container 61cd35910e7b [2021-12-01T19:29:31.362Z] ---> ba754904a1c1 [2021-12-01T19:29:31.362Z] Step 23/27 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2021-12-01T19:29:31.362Z] ---> Running in 77cdea724745 [2021-12-01T19:29:31.362Z] Removing intermediate container 77cdea724745 [2021-12-01T19:29:31.362Z] ---> 63228b4f2978 [2021-12-01T19:29:31.362Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2021-12-01T19:29:31.362Z] ---> Running in 1e358fd1a9bc [2021-12-01T19:29:31.505Z] $ docker rm -f ab3b8d48ec18a4d91567b2fc583d944e28d75ed09e948e47e3bff55d2537717f [2021-12-01T19:29:31.622Z] Removing intermediate container 1e358fd1a9bc [2021-12-01T19:29:31.622Z] ---> 8d9653aa6d75 [2021-12-01T19:29:31.622Z] Step 25/27 : LABEL arch=amd64 [2021-12-01T19:29:31.622Z] ---> Running in d4c96d0563fb [2021-12-01T19:29:31.622Z] Removing intermediate container d4c96d0563fb [2021-12-01T19:29:31.622Z] ---> 9421b0da4ac5 [2021-12-01T19:29:31.622Z] Step 26/27 : LABEL git_sha=44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:29:31.622Z] ---> Running in 090f83cbb785 [2021-12-01T19:29:31.622Z] Removing intermediate container 090f83cbb785 [2021-12-01T19:29:31.622Z] ---> 48b010681b71 [2021-12-01T19:29:31.622Z] Step 27/27 : LABEL version=0.0.0 [2021-12-01T19:29:31.622Z] ---> Running in dd33b2adfbf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-12-01T19:29:31.883Z] Removing intermediate container dd33b2adfbf4 [2021-12-01T19:29:31.883Z] ---> 8f591651c605 [2021-12-01T19:29:31.883Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T19:29:31.883Z] Successfully built 8f591651c605 [2021-12-01T19:29:31.883Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2021-12-01T19:29:32.375Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T19:29:32.375Z] . [Pipeline] withDockerContainer [2021-12-01T19:29:32.574Z] prd-ubuntu18.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2021-12-01T19:29:32.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-01T19:29:33.904Z] $ docker top 3495990c34b35285ac7218edaf5826eb3dc7eeac71d40140bd509f6c4423d12f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-01T19:29:34.793Z] + make test [2021-12-01T19:29:34.793Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-01T19:29:47.227Z] Still waiting to schedule task [2021-12-01T19:29:47.228Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2021-12-01T19:30:31.398Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2021-12-01T19:30:31.398Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.191s coverage: 86.5% of statements [2021-12-01T19:30:31.398Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2021-12-01T19:30:38.106Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.671s coverage: 72.2% of statements [2021-12-01T19:30:38.106Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] [2021-12-01T19:30:38.106Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T19:31:03.017Z] Running on prd-ubuntu18.04-docker-8c-8g-94 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws [2021-12-01T19:31:03.029Z] Running in /w/workspace/app-rfid-llrp-inventory/28 [Pipeline] { [Pipeline] checkout [2021-12-01T19:31:03.121Z] The recommended git tool is: git [2021-12-01T19:31:04.715Z] using credential edgex-jenkins-ssh [2021-12-01T19:31:04.732Z] Cloning the remote Git repository [2021-12-01T19:31:04.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T19:31:04.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T19:31:05.187Z] ./bin/test-attribution.sh [2021-12-01T19:31:04.701Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:31:04.733Z] > git init /w/workspace/app-rfid-llrp-inventory/28 # timeout=10 [2021-12-01T19:31:04.758Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:31:04.758Z] > git --version # timeout=10 [2021-12-01T19:31:04.767Z] > git --version # 'git version 2.17.1' [2021-12-01T19:31:04.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:31:04.792Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:31:06.418Z] Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:31:05.737Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:31:05.744Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T19:31:05.755Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2021-12-01T19:31:05.776Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2021-12-01T19:31:05.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:31:05.781Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-01T19:31:06.384Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:31:06.391Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:31:06.506Z] Merge succeeded, producing 44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:31:06.507Z] Checking out Revision 44d27c76450ce2ae209cb88dd85fbe32dc43251d (PR-54) [Pipeline] echo [2021-12-01T19:31:07.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T19:31:07.193Z] $ docker stop --time=1 3495990c34b35285ac7218edaf5826eb3dc7eeac71d40140bd509f6c4423d12f [2021-12-01T19:31:06.426Z] > git remote # timeout=10 [2021-12-01T19:31:06.432Z] > git config --get remote.origin.url # timeout=10 [2021-12-01T19:31:06.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T19:31:06.441Z] > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 [2021-12-01T19:31:06.447Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-01T19:31:06.467Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T19:31:06.472Z] > git checkout -f 44d27c76450ce2ae209cb88dd85fbe32dc43251d # timeout=10 [2021-12-01T19:31:08.934Z] $ docker rm -f 3495990c34b35285ac7218edaf5826eb3dc7eeac71d40140bd509f6c4423d12f [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T19:31:09.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T19:31:09.785Z] Warning: overwriting stash ‘coverage-report’ [2021-12-01T19:31:09.945Z] Commit message: "fix: address Anthony's latest comments" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:31:10.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-12-01T19:31:10.702Z] + echo snap-build.sh [2021-12-01T19:31:10.702Z] snap-build.sh [2021-12-01T19:31:10.702Z] + SNAP_BASE_DIR=. [2021-12-01T19:31:10.702Z] + '[' '!' -z /w/workspace/app-rfid-llrp-inventory/28 ']' [2021-12-01T19:31:10.702Z] + SNAP_BASE_DIR=/w/workspace/app-rfid-llrp-inventory/28 [2021-12-01T19:31:10.702Z] + echo '[snap-build] Building snap in dir [/w/workspace/app-rfid-llrp-inventory/28]' [2021-12-01T19:31:10.702Z] [snap-build] Building snap in dir [/w/workspace/app-rfid-llrp-inventory/28] [2021-12-01T19:31:10.702Z] + cd /w/workspace/app-rfid-llrp-inventory/28 [2021-12-01T19:31:10.702Z] + sudo apt-get remove -qy --purge lxd lxd-client [2021-12-01T19:31:10.702Z] Reading package lists... [2021-12-01T19:31:10.702Z] Building dependency tree... [2021-12-01T19:31:10.702Z] Reading state information... [2021-12-01T19:31:10.702Z] The following packages were automatically installed and are no longer required: [2021-12-01T19:31:10.702Z] dns-root-data dnsmasq-base ebtables grub-pc-bin liblxc-common liblxc1 lxcfs [2021-12-01T19:31:10.702Z] uidmap xdelta3 [2021-12-01T19:31:10.702Z] Use 'sudo apt autoremove' to remove them. [2021-12-01T19:31:10.702Z] The following packages will be REMOVED: [2021-12-01T19:31:10.702Z] lxd* lxd-client* [2021-12-01T19:31:10.702Z] 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T19:31:10.964Z] After this operation, 31.7 MB disk space will be freed. [2021-12-01T19:31:11.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T19:31:11.486Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 190666 files and directories currently installed.) [2021-12-01T19:31:11.486Z] Removing lxd (3.0.3-0ubuntu1~18.04.1) ... [2021-12-01T19:31:11.518Z] + ls -al . [2021-12-01T19:31:11.518Z] total 232 [2021-12-01T19:31:11.518Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 1 19:31 . [2021-12-01T19:31:11.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:27 .. [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 262 Dec 1 19:27 .dockerignore [2021-12-01T19:31:11.518Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 19:27 .git [2021-12-01T19:31:11.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:27 .github [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 788 Dec 1 19:27 .gitignore [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 8248 Dec 1 19:27 Attribution.txt [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 1742 Dec 1 19:27 Dockerfile [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 19:27 GOVERNANCE.md [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 686 Dec 1 19:27 Jenkinsfile [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 11347 Dec 1 19:27 LICENSE [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 1596 Dec 1 19:27 Makefile [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 617 Dec 1 19:27 OWNERS.md [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 31195 Dec 1 19:27 README.md [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 19:25 VERSION [2021-12-01T19:31:11.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:27 bin [2021-12-01T19:31:11.518Z] -rw-r--r-- 1 jenkins jenkins 41452 Dec 1 19:30 coverage.out [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 365 Dec 1 19:27 go.mod [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 49531 Dec 1 19:27 go.sum [2021-12-01T19:31:11.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:27 images [2021-12-01T19:31:11.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:27 internal [2021-12-01T19:31:11.518Z] -rw-rw-r-- 1 jenkins jenkins 531 Dec 1 19:27 main.go [2021-12-01T19:31:11.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 19:27 res [2021-12-01T19:31:11.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 19:27 snap [2021-12-01T19:31:11.518Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 19:27 static [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:31:11.897Z] + 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=44d27c76450ce2ae209cb88dd85fbe32dc43251d --label arch=arm64 --label version=0.0.0 . [2021-12-01T19:31:12.200Z] Sending build context to Docker daemon 684.5kB [2021-12-01T19:31:12.200Z] Step 1/27 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T19:31:12.200Z] Step 2/27 : FROM ${BASE} AS builder [2021-12-01T19:31:12.200Z] ---> 16288b795b7e [2021-12-01T19:31:12.200Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2021-12-01T19:31:12.428Z] Removing lxd dnsmasq configuration [2021-12-01T19:31:12.428Z] Removing lxd-client (3.0.3-0ubuntu1~18.04.1) ... [2021-12-01T19:31:12.428Z] Processing triggers for man-db (2.8.3-2ubuntu0.1) ... [2021-12-01T19:31:12.473Z] ---> Running in cd329519f0e3 [2021-12-01T19:31:12.819Z] Removing intermediate container cd329519f0e3 [2021-12-01T19:31:12.819Z] ---> f120d0cd2238 [2021-12-01T19:31:12.819Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T19:31:12.819Z] ---> Running in 454673e8ef22 [2021-12-01T19:31:13.003Z] Processing triggers for libc-bin (2.27-3ubuntu1.4) ... [2021-12-01T19:31:13.153Z] Removing intermediate container 454673e8ef22 [2021-12-01T19:31:13.153Z] ---> d3aeea4bd97b [2021-12-01T19:31:13.153Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:31:13.153Z] ---> Running in cce58a4b3268 [2021-12-01T19:31:13.267Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 190491 files and directories currently installed.) [2021-12-01T19:31:13.267Z] Purging configuration files for lxd (3.0.3-0ubuntu1~18.04.1) ... [2021-12-01T19:31:13.426Z] Removing intermediate container cce58a4b3268 [2021-12-01T19:31:13.426Z] ---> a982215e05fb [2021-12-01T19:31:13.426Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T19:31:13.707Z] ---> Running in 6eb1836de700 [2021-12-01T19:31:14.650Z] Processing triggers for systemd (237-3ubuntu10.52) ... [2021-12-01T19:31:14.650Z] Processing triggers for ureadahead (0.100.0-21) ... [2021-12-01T19:31:15.145Z] Removing intermediate container 6eb1836de700 [2021-12-01T19:31:15.145Z] ---> 99303526a4b3 [2021-12-01T19:31:15.145Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T19:31:15.221Z] + sudo snap remove --purge lxd [2021-12-01T19:31:15.221Z] snap "lxd" is not installed [2021-12-01T19:31:15.221Z] + sudo groupadd --force --system lxd [2021-12-01T19:31:15.221Z] ++ whoami [2021-12-01T19:31:15.221Z] + sudo /usr/sbin/usermod -G lxd -a jenkins [2021-12-01T19:31:15.221Z] + newgrp - lxd [2021-12-01T19:31:15.221Z] + sudo snap install lxd [2021-12-01T19:31:15.423Z] ---> Running in 39d409567dc7 [2021-12-01T19:31:16.401Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T19:31:17.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T19:31:17.955Z] OK: 219 MiB in 52 packages [2021-12-01T19:31:18.932Z] Removing intermediate container 39d409567dc7 [2021-12-01T19:31:18.932Z] ---> 2fde38dc2d01 [2021-12-01T19:31:18.932Z] Step 8/27 : WORKDIR /app [2021-12-01T19:31:18.932Z] ---> Running in a2f2fd81280c [2021-12-01T19:31:19.202Z] Removing intermediate container a2f2fd81280c [2021-12-01T19:31:19.202Z] ---> 02a74ad9f309 [2021-12-01T19:31:19.202Z] Step 9/27 : COPY . . [2021-12-01T19:31:19.793Z] ---> c593bb194f87 [2021-12-01T19:31:19.793Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T19:31:20.064Z] ---> Running in 34513d101935 [2021-12-01T19:31:22.027Z] Removing intermediate container 34513d101935 [2021-12-01T19:31:22.027Z] ---> ef1fe6612d6c [2021-12-01T19:31:22.027Z] Step 11/27 : ARG MAKE="make build" [2021-12-01T19:31:22.027Z] ---> Running in 4525a574eef2 [2021-12-01T19:31:22.302Z] Removing intermediate container 4525a574eef2 [2021-12-01T19:31:22.302Z] ---> a3a4707d9748 [2021-12-01T19:31:22.302Z] Step 12/27 : RUN $MAKE [2021-12-01T19:31:22.302Z] ---> Running in ab87f49627a7 [2021-12-01T19:31:23.293Z] 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 [2021-12-01T19:31:23.363Z] 2021-12-01T19:31:20Z INFO Waiting for automatic snapd restart... [2021-12-01T19:31:41.469Z] lxd 4.20 from Canonical* installed [2021-12-01T19:31:41.469Z] + sudo lxd init --auto [2021-12-01T19:31:48.062Z] + sudo snap install --classic snapcraft [2021-12-01T19:31:52.271Z] snapcraft 6.0 from Canonical* installed [2021-12-01T19:31:52.271Z] + '[' -f snap/local/build-helpers/bin/minimal-snap-build.sh ']' [2021-12-01T19:31:52.271Z] + sudo snapcraft prime --use-lxd [2021-12-01T19:31:53.653Z] Running with 'sudo' may cause permission errors and is discouraged. Use 'sudo' when cleaning. [2021-12-01T19:31:53.653Z] Issues while validating snap/snapcraft.yaml: could not find expected ':' on line 5, column 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:31:54.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:31:54.227Z] [2021-12-01T19:31:54.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:31:54.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:31:54.542Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T19:31:54.542Z] b4d181a07f80: Pulling fs layer [2021-12-01T19:31:54.542Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T19:31:54.542Z] ed53099fbce6: Pulling fs layer [2021-12-01T19:31:54.542Z] dc539afda2c1: Pulling fs layer [2021-12-01T19:31:54.542Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T19:31:54.542Z] 9065ff56babe: Pulling fs layer [2021-12-01T19:31:54.542Z] d287ab97295c: Pulling fs layer [2021-12-01T19:31:54.542Z] dc539afda2c1: Waiting [2021-12-01T19:31:54.542Z] 77bc0d833cb6: Waiting [2021-12-01T19:31:54.542Z] 9065ff56babe: Waiting [2021-12-01T19:31:54.542Z] d287ab97295c: Waiting [2021-12-01T19:31:54.542Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T19:31:54.542Z] a1111a8f2ec3: Download complete [2021-12-01T19:31:54.542Z] dc539afda2c1: Verifying Checksum [2021-12-01T19:31:54.542Z] dc539afda2c1: Download complete [2021-12-01T19:31:54.810Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T19:31:54.810Z] 77bc0d833cb6: Download complete [2021-12-01T19:31:54.810Z] ed53099fbce6: Verifying Checksum [2021-12-01T19:31:54.810Z] 9065ff56babe: Verifying Checksum [2021-12-01T19:31:54.810Z] 9065ff56babe: Download complete [2021-12-01T19:31:54.810Z] ed53099fbce6: Download complete [2021-12-01T19:31:54.810Z] b4d181a07f80: Verifying Checksum [2021-12-01T19:31:54.810Z] b4d181a07f80: Download complete [2021-12-01T19:31:55.391Z] d287ab97295c: Verifying Checksum [2021-12-01T19:31:55.391Z] d287ab97295c: Download complete [2021-12-01T19:31:56.354Z] b4d181a07f80: Pull complete [2021-12-01T19:31:56.354Z] a1111a8f2ec3: Pull complete [2021-12-01T19:31:56.937Z] ed53099fbce6: Pull complete [2021-12-01T19:31:56.937Z] dc539afda2c1: Pull complete [2021-12-01T19:31:57.203Z] 77bc0d833cb6: Pull complete [2021-12-01T19:31:57.203Z] 9065ff56babe: Pull complete [2021-12-01T19:32:02.288Z] Removing intermediate container ab87f49627a7 [2021-12-01T19:32:02.288Z] ---> 3aacf15ac809 [2021-12-01T19:32:02.288Z] Step 13/27 : FROM alpine:3.14 [2021-12-01T19:32:02.532Z] d287ab97295c: Pull complete [2021-12-01T19:32:02.532Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T19:32:02.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:32:02.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T19:32:02.592Z] prd-centos7-docker-4c-2g-93 does not seem to be running inside a container [2021-12-01T19:32:02.624Z] $ 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/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-01T19:32:02.873Z] 3.14: Pulling from library/alpine [2021-12-01T19:32:03.142Z] be307f383ecc: Pulling fs layer [2021-12-01T19:32:03.412Z] be307f383ecc: Verifying Checksum [2021-12-01T19:32:03.412Z] be307f383ecc: Download complete [2021-12-01T19:32:03.682Z] be307f383ecc: Pull complete [2021-12-01T19:32:03.951Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T19:32:03.951Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T19:32:03.951Z] ---> 5b8b7b635229 [2021-12-01T19:32:03.951Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-01T19:32:03.951Z] ---> Running in 950819101ac3 [2021-12-01T19:32:04.222Z] Removing intermediate container 950819101ac3 [2021-12-01T19:32:04.222Z] ---> 87e43abace2f [2021-12-01T19:32:04.222Z] Step 15/27 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2021-12-01T19:32:04.492Z] ---> Running in 420b8c68d9fc [2021-12-01T19:32:04.762Z] Removing intermediate container 420b8c68d9fc [2021-12-01T19:32:04.762Z] ---> a6fea6f41694 [2021-12-01T19:32:04.762Z] Step 16/27 : RUN apk --no-cache add ca-certificates zeromq [2021-12-01T19:32:04.762Z] ---> Running in b13af12a3ca4 [2021-12-01T19:32:05.027Z] $ docker top 1aed9a637ff257c1ad3ce4325d8f1185890b2865bdadab7235815f1cbf7ff426 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:32:05.460Z] ---> job-cost.sh [2021-12-01T19:32:05.461Z] lf-activate-venv: SKIPPING [2021-12-01T19:32:05.461Z] INFO: No Stack... [2021-12-01T19:32:05.722Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T19:32:05.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T19:32:05.983Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T19:32:06.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T19:32:06.278Z] + cat /w/workspace/app-rfid-llrp-inventory/28/archives/cost.csv [2021-12-01T19:32:06.278Z] + cut -d, -f6 [Pipeline] lock [2021-12-01T19:32:06.309Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [2021-12-01T19:32:06.317Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] did not exist. Created. [2021-12-01T19:32:06.317Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T19:32:06.597Z] (1/6) Installing ca-certificates (20191127-r5) [2021-12-01T19:32:06.597Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T19:32:06.597Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T19:32:06.597Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T19:32:06.597Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T19:32:06.628Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-01T19:32:06.666Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T19:32:06.672Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T19:32:06.688Z] $ docker stop --time=1 1aed9a637ff257c1ad3ce4325d8f1185890b2865bdadab7235815f1cbf7ff426 [2021-12-01T19:32:06.866Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T19:32:06.866Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T19:32:06.866Z] Executing ca-certificates-20191127-r5.trigger [2021-12-01T19:32:06.866Z] OK: 9 MiB in 20 packages [2021-12-01T19:32:07.813Z] $ docker rm -f 1aed9a637ff257c1ad3ce4325d8f1185890b2865bdadab7235815f1cbf7ff426 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-01T19:32:08.056Z] Failed in branch amd64 [2021-12-01T19:32:08.287Z] Removing intermediate container b13af12a3ca4 [2021-12-01T19:32:08.287Z] ---> e6d116c4156d [2021-12-01T19:32:08.287Z] Step 17/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2021-12-01T19:32:08.556Z] ---> bd605e289ad8 [2021-12-01T19:32:08.556Z] Step 18/27 : COPY --from=builder /app/LICENSE /LICENSE [2021-12-01T19:32:09.144Z] ---> f21ff294695a [2021-12-01T19:32:09.144Z] Step 19/27 : COPY --from=builder /app/res/ /res/ [2021-12-01T19:32:09.731Z] ---> abb764393475 [2021-12-01T19:32:09.731Z] Step 20/27 : COPY --from=builder /app/static/ /static/ [2021-12-01T19:32:10.319Z] ---> 2e063d5844fb [2021-12-01T19:32:10.319Z] Step 21/27 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2021-12-01T19:32:11.285Z] ---> 51be74b1058e [2021-12-01T19:32:11.285Z] Step 22/27 : EXPOSE 48086 [2021-12-01T19:32:11.554Z] ---> Running in 0e67181faab8 [2021-12-01T19:32:11.824Z] Removing intermediate container 0e67181faab8 [2021-12-01T19:32:11.824Z] ---> 3d9dee6eb8dd [2021-12-01T19:32:11.824Z] Step 23/27 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2021-12-01T19:32:11.824Z] ---> Running in dfa31b7517a5 [2021-12-01T19:32:12.096Z] Removing intermediate container dfa31b7517a5 [2021-12-01T19:32:12.096Z] ---> e5f45ec4fc24 [2021-12-01T19:32:12.096Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2021-12-01T19:32:12.367Z] ---> Running in fe88f5f8a2b3 [2021-12-01T19:32:12.636Z] Removing intermediate container fe88f5f8a2b3 [2021-12-01T19:32:12.636Z] ---> a4e29450ff04 [2021-12-01T19:32:12.636Z] Step 25/27 : LABEL arch=arm64 [2021-12-01T19:32:12.636Z] ---> Running in b9514d384c20 [2021-12-01T19:32:12.906Z] Removing intermediate container b9514d384c20 [2021-12-01T19:32:12.906Z] ---> 9ef9567c4a6e [2021-12-01T19:32:12.906Z] Step 26/27 : LABEL git_sha=44d27c76450ce2ae209cb88dd85fbe32dc43251d [2021-12-01T19:32:13.178Z] ---> Running in 57ce5becaca1 [2021-12-01T19:32:13.449Z] Removing intermediate container 57ce5becaca1 [2021-12-01T19:32:13.449Z] ---> d6e669de0572 [2021-12-01T19:32:13.449Z] Step 27/27 : LABEL version=0.0.0 [2021-12-01T19:32:13.449Z] ---> Running in ca9fd6b0a49c [2021-12-01T19:32:13.719Z] Removing intermediate container ca9fd6b0a49c [2021-12-01T19:32:13.719Z] ---> f9df6c22a6eb [2021-12-01T19:32:13.719Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T19:32:13.989Z] Successfully built f9df6c22a6eb [2021-12-01T19:32:13.989Z] 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 [2021-12-01T19:32:14.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T19:32:14.512Z] [2021-12-01T19:32:14.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:32:14.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T19:32:15.126Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-01T19:32:15.126Z] 448f6bf000e3: Pulling fs layer [2021-12-01T19:32:15.126Z] f757da607395: Pulling fs layer [2021-12-01T19:32:15.126Z] 05883995daec: Pulling fs layer [2021-12-01T19:32:15.126Z] 8603b9c90790: Pulling fs layer [2021-12-01T19:32:15.126Z] 1560dd03e051: Pulling fs layer [2021-12-01T19:32:15.126Z] 27f5ce0e4adf: Pulling fs layer [2021-12-01T19:32:15.126Z] c2d8d7efcc4b: Pulling fs layer [2021-12-01T19:32:15.126Z] 8603b9c90790: Waiting [2021-12-01T19:32:15.126Z] 1560dd03e051: Waiting [2021-12-01T19:32:15.126Z] 27f5ce0e4adf: Waiting [2021-12-01T19:32:15.126Z] c2d8d7efcc4b: Waiting [2021-12-01T19:32:15.126Z] f757da607395: Verifying Checksum [2021-12-01T19:32:15.126Z] f757da607395: Download complete [2021-12-01T19:32:15.126Z] 8603b9c90790: Verifying Checksum [2021-12-01T19:32:15.126Z] 8603b9c90790: Download complete [2021-12-01T19:32:15.126Z] 1560dd03e051: Verifying Checksum [2021-12-01T19:32:15.126Z] 1560dd03e051: Download complete [2021-12-01T19:32:15.126Z] 27f5ce0e4adf: Verifying Checksum [2021-12-01T19:32:15.126Z] 27f5ce0e4adf: Download complete [2021-12-01T19:32:15.401Z] 05883995daec: Verifying Checksum [2021-12-01T19:32:15.401Z] 05883995daec: Download complete [2021-12-01T19:32:15.671Z] 448f6bf000e3: Verifying Checksum [2021-12-01T19:32:15.671Z] 448f6bf000e3: Download complete [2021-12-01T19:32:18.284Z] c2d8d7efcc4b: Verifying Checksum [2021-12-01T19:32:18.284Z] c2d8d7efcc4b: Download complete [2021-12-01T19:32:19.261Z] 448f6bf000e3: Pull complete [2021-12-01T19:32:19.855Z] f757da607395: Pull complete [2021-12-01T19:32:21.286Z] 05883995daec: Pull complete [2021-12-01T19:32:21.557Z] 8603b9c90790: Pull complete [2021-12-01T19:32:22.538Z] 1560dd03e051: Pull complete [2021-12-01T19:32:22.538Z] 27f5ce0e4adf: Pull complete [2021-12-01T19:32:37.601Z] c2d8d7efcc4b: Pull complete [2021-12-01T19:32:37.601Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-01T19:32:37.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T19:32:37.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-01T19:32:37.823Z] prd-ubuntu18.04-docker-arm64-4c-16g-92 does not seem to be running inside a container [2021-12-01T19:32:37.888Z] $ 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/28 -v /w/workspace/app-rfid-llrp-inventory/28:/w/workspace/app-rfid-llrp-inventory/28:rw,z -v /w/workspace/app-rfid-llrp-inventory/28@tmp:/w/workspace/app-rfid-llrp-inventory/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-01T19:32:40.453Z] $ docker top 12b9055100ba4362ef46f69470c13ddf411f5dab36536f55ef36d36673f0be72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:32:41.349Z] ---> job-cost.sh [2021-12-01T19:32:41.349Z] lf-activate-venv: SKIPPING [2021-12-01T19:32:41.349Z] INFO: No Stack... [2021-12-01T19:32:41.621Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-01T19:32:41.892Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T19:32:42.589Z] + cat /w/workspace/app-rfid-llrp-inventory/28/archives/cost.csv [2021-12-01T19:32:42.589Z] + cut -d, -f6 [Pipeline] lock [2021-12-01T19:32:42.658Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [2021-12-01T19:32:42.664Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] did not exist. Created. [2021-12-01T19:32:42.664Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T19:32:43.360Z] /w/workspace/app-rfid-llrp-inventory/28@tmp/durable-107810e2/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/28@tmp/durable-107810e2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-01T19:32:44.054Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-01T19:32:44.073Z] Warning: overwriting stash ‘stack-cost’ [2021-12-01T19:32:44.124Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T19:32:44.131Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-28-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T19:32:44.140Z] $ docker stop --time=1 12b9055100ba4362ef46f69470c13ddf411f5dab36536f55ef36d36673f0be72 [2021-12-01T19:32:45.627Z] $ docker rm -f 12b9055100ba4362ef46f69470c13ddf411f5dab36536f55ef36d36673f0be72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-01T19:32:47.352Z] + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:32:47.663Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:32:48.225Z] ---> package-listing.sh [2021-12-01T19:32:48.225Z] ++ facter osfamily [2021-12-01T19:32:48.225Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-01T19:32:48.496Z] + OS_FAMILY=redhat [2021-12-01T19:32:48.496Z] + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-54 [2021-12-01T19:32:48.496Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-01T19:32:48.496Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-01T19:32:48.496Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-01T19:32:48.496Z] + PACKAGES=/tmp/packages_start.txt [2021-12-01T19:32:48.496Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' [2021-12-01T19:32:48.496Z] + PACKAGES=/tmp/packages_end.txt [2021-12-01T19:32:48.496Z] + case "${OS_FAMILY}" in [2021-12-01T19:32:48.496Z] + sort [2021-12-01T19:32:48.496Z] + rpm -qa [2021-12-01T19:32:49.075Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-01T19:32:49.075Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-01T19:32:49.075Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-01T19:32:49.075Z] + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' [2021-12-01T19:32:49.075Z] + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ [2021-12-01T19:32:49.075Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ [Pipeline] echo [2021-12-01T19:32:49.088Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-01T19:32:49.377Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:32:49.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:32:49.937Z] [2021-12-01T19:32:49.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T19:32:50.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:32:50.250Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T19:32:50.250Z] b4d181a07f80: Pulling fs layer [2021-12-01T19:32:50.250Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T19:32:50.250Z] ed53099fbce6: Pulling fs layer [2021-12-01T19:32:50.250Z] dc539afda2c1: Pulling fs layer [2021-12-01T19:32:50.250Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T19:32:50.250Z] 9065ff56babe: Pulling fs layer [2021-12-01T19:32:50.250Z] d287ab97295c: Pulling fs layer [2021-12-01T19:32:50.250Z] 77bc0d833cb6: Waiting [2021-12-01T19:32:50.250Z] 9065ff56babe: Waiting [2021-12-01T19:32:50.250Z] d287ab97295c: Waiting [2021-12-01T19:32:50.250Z] dc539afda2c1: Waiting [2021-12-01T19:32:50.250Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T19:32:50.250Z] a1111a8f2ec3: Download complete [2021-12-01T19:32:50.250Z] dc539afda2c1: Verifying Checksum [2021-12-01T19:32:50.250Z] dc539afda2c1: Download complete [2021-12-01T19:32:50.250Z] ed53099fbce6: Download complete [2021-12-01T19:32:50.250Z] 9065ff56babe: Verifying Checksum [2021-12-01T19:32:50.250Z] 9065ff56babe: Download complete [2021-12-01T19:32:50.517Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T19:32:50.517Z] 77bc0d833cb6: Download complete [2021-12-01T19:32:50.517Z] b4d181a07f80: Verifying Checksum [2021-12-01T19:32:50.517Z] b4d181a07f80: Download complete [2021-12-01T19:32:51.089Z] d287ab97295c: Verifying Checksum [2021-12-01T19:32:51.089Z] d287ab97295c: Download complete [2021-12-01T19:32:52.065Z] b4d181a07f80: Pull complete [2021-12-01T19:32:52.065Z] a1111a8f2ec3: Pull complete [2021-12-01T19:32:52.645Z] ed53099fbce6: Pull complete [2021-12-01T19:32:52.645Z] dc539afda2c1: Pull complete [2021-12-01T19:32:52.906Z] 77bc0d833cb6: Pull complete [2021-12-01T19:32:53.172Z] 9065ff56babe: Pull complete [2021-12-01T19:32:58.500Z] d287ab97295c: Pull complete [2021-12-01T19:32:58.500Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T19:32:58.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T19:32:58.500Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T19:32:58.573Z] prd-centos7-docker-4c-2g-91 does not seem to be running inside a container [2021-12-01T19:32:58.607Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-01T19:33:01.165Z] $ docker top 8101a73ab22c3951422d159d14ba37113e731ff532904c8765b6cc3df5474733 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T19:33:01.534Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-01T19:33:01.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-01T19:33:02.115Z] + ls /var/log/sa-host [2021-12-01T19:33:02.115Z] + sadf -c /var/log/sa-host/sa01 [2021-12-01T19:33:02.115Z] file_magic: OK [2021-12-01T19:33:02.115Z] HZ: Using current value: 100 [2021-12-01T19:33:02.115Z] file_header: OK [2021-12-01T19:33:02.115Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-01T19:33:02.115Z] Statistics: [2021-12-01T19:33:02.115Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T19:33:02.115Z] File successfully converted to sysstat format version 12.0.3 [2021-12-01T19:33:02.115Z] + sadf -c /var/log/sa-host/sa17 [2021-12-01T19:33:02.115Z] file_magic: OK [2021-12-01T19:33:02.115Z] HZ: Using current value: 100 [2021-12-01T19:33:02.115Z] file_header: OK [2021-12-01T19:33:02.115Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-01T19:33:02.115Z] Statistics: [2021-12-01T19:33:02.115Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T19:33:02.115Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T19:33:02.312Z] provisioning config files... [2021-12-01T19:33:02.324Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config3325311440676401056tmp [Pipeline] { [Pipeline] echo [2021-12-01T19:33:02.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:33:02.641Z] ---> create-netrc.sh [Pipeline] } [2021-12-01T19:33:02.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:33:02.982Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-01T19:33:02.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:33:03.281Z] ---> sudo-logs.sh [2021-12-01T19:33:03.281Z] Archiving 'sudo' log.. [2021-12-01T19:33:03.281Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-91.novalocal: Name or service not known [2021-12-01T19:33:03.281Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-91.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-01T19:33:03.327Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:33:03.623Z] ---> job-cost.sh [2021-12-01T19:33:03.623Z] lf-activate-venv: SKIPPING [2021-12-01T19:33:03.623Z] DEBUG: total: 0.10999999940395355 [2021-12-01T19:33:03.623Z] INFO: Retrieving Stack Cost... [2021-12-01T19:33:03.884Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T19:33:04.145Z] INFO: Archiving Costs [Pipeline] echo [2021-12-01T19:33:04.160Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T19:33:04.451Z] ---> logs-deploy.sh [2021-12-01T19:33:04.451Z] lf-activate-venv: SKIPPING [2021-12-01T19:33:04.451Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-54/28 [2021-12-01T19:33:04.451Z] INFO: archiving workspace using pattern(s): [2021-12-01T19:33:05.024Z] Archives upload complete. [2021-12-01T19:33:05.297Z] INFO: archiving logs to Nexus