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 cad4f72a5ef7d466687179109515d584d190995e Obtained Jenkinsfile from 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7396280253719253240.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6548851654604764815.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6486731963191016453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8908148721046433448.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-ssh7098947248238267598.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28480 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-ssh8951037541892060986.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-ssh8006885763973425567.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 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit cad4f72a5ef7d466687179109515d584d190995e Merge succeeded, producing cad4f72a5ef7d466687179109515d584d190995e Checking out Revision cad4f72a5ef7d466687179109515d584d190995e (PR-54) > git config core.sparsecheckout # timeout=10 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 > 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-ssh6418760157653263643.key > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 Commit message: "Fixes Reademe valueType casing and local/hooks go.mod comments mentioned by ajcasagrande" > git rev-list --no-walk 47a27d544ffdde86935d12dcfc25453333171ac9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:56:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:56:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:56:30 ========================================================= 21:56:30 EdgeX Global Pipelines Version Info 21:56:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:56:31 ------------------- 21:56:31 stable info: 21:56:31 ------------------- 21:56:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:56:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 21:56:31 Message: update stable to v1.0.211 21:56:32 ------------------- 21:56:32 experimental info: 21:56:32 ------------------- 21:56:32 Commited By: **** collab-it+edgex@linuxfoundation.org 21:56:32 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 21:56:32 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cad4f72a5ef7d466687179109515d584d190995e [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cad4f72 [Pipeline] echo 21:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:32 provisioning config files... 21:56:32 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config7867013048121593322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:33 ---> docker-login.sh 21:56:33 nexus3.edgexfoundry.org:10001 21:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:33 Configure a credential helper to remove this warning. See 21:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:33 21:56:33 Login Succeeded 21:56:33 nexus3.edgexfoundry.org:10002 21:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:33 Configure a credential helper to remove this warning. See 21:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:33 21:56:33 Login Succeeded 21:56:33 nexus3.edgexfoundry.org:10003 21:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:33 Configure a credential helper to remove this warning. See 21:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:33 21:56:33 Login Succeeded 21:56:33 nexus3.edgexfoundry.org:10004 21:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:33 Configure a credential helper to remove this warning. See 21:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:33 21:56:33 Login Succeeded 21:56:33 docker.io 21:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:34 Configure a credential helper to remove this warning. See 21:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:35 21:56:35 Login Succeeded 21:56:35 ---> docker-login.sh ends [Pipeline] } 21:56:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:56:35 + git rev-list -1 --merges cad4f72a5ef7d466687179109515d584d190995e~1..cad4f72a5ef7d466687179109515d584d190995e [Pipeline] echo 21:56:35 -----------> git rev-list -1 --merges cad4f72a5ef7d466687179109515d584d190995e~1..cad4f72a5ef7d466687179109515d584d190995e cad4f72a5ef7d466687179109515d584d190995e [false] [Pipeline] sh 21:56:35 + git log --format=format:%s -1 cad4f72a5ef7d466687179109515d584d190995e [Pipeline] echo 21:56:35 ========================================================= 21:56:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:56:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:36 + git log --format=format:%s -1 cad4f72a5ef7d466687179109515d584d190995e [Pipeline] echo 21:56:36 [semverPrep] GIT_COMMIT: cad4f72a5ef7d466687179109515d584d190995e, Commit Message: Fixes Reademe valueType casing and local/hooks go.mod comments mentioned by ajcasagrande [Pipeline] echo 21:56:36 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:56:36 21:56:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:56:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:56:37 latest: Pulling from edgex-devops/git-semver 21:56:37 a0d0a0d46f8b: Pulling fs layer 21:56:37 3e5f54012d9b: Pulling fs layer 21:56:37 4c7163046ea9: Pulling fs layer 21:56:37 0c2d73faf560: Pulling fs layer 21:56:37 0c2d73faf560: Waiting 21:56:37 3e5f54012d9b: Verifying Checksum 21:56:37 3e5f54012d9b: Download complete 21:56:37 a0d0a0d46f8b: Verifying Checksum 21:56:37 a0d0a0d46f8b: Download complete 21:56:37 4c7163046ea9: Verifying Checksum 21:56:37 4c7163046ea9: Download complete 21:56:37 0c2d73faf560: Verifying Checksum 21:56:37 0c2d73faf560: Download complete 21:56:37 a0d0a0d46f8b: Pull complete 21:56:37 3e5f54012d9b: Pull complete 21:56:37 4c7163046ea9: Pull complete 21:56:37 0c2d73faf560: Pull complete 21:56:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:56:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:56:38 prd-centos7-docker-4c-2g-28480 does not seem to be running inside a container 21:56:38 $ 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 21:56:38 $ docker top 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:56:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:38 [ssh-agent] Looking for ssh-agent implementation... 21:56:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:38 $ docker exec 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 ssh-agent 21:56:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmCDMgc/agent.13 21:56:38 SSH_AGENT_PID=20 21:56:38 Running ssh-add (command line suppressed) 21:56:39 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_7376951202011568678.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_7376951202011568678.key) 21:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:39 + git tag --points-at HEAD [Pipeline] } 21:56:39 $ docker exec --env ******** --env ******** 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 ssh-agent -k 21:56:39 unset SSH_AUTH_SOCK; 21:56:39 unset SSH_AGENT_PID; 21:56:39 echo Agent pid 20 killed; 21:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:56:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:39 [ssh-agent] Looking for ssh-agent implementation... 21:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:39 $ docker exec 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 ssh-agent 21:56:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhIHjhc/agent.53 21:56:39 SSH_AGENT_PID=59 21:56:39 Running ssh-add (command line suppressed) 21:56:39 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_1759603993204138252.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_1759603993204138252.key) 21:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:40 + git semver init 21:56:40 # -> Open(): unable to determine branch for HEAD 21:56:40 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.git 21:56:40 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-54 21:56:40 # $SEMVER_REMOTE_NAME = origin 21:56:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:56:40 # $SEMVER_USER_NAME = edgex-jenkins 21:56:40 # $SEMVER_BRANCH = PR-54 21:56:40 # $SEMVER_TEMP = /tmp/semver-200054167 21:56:40 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 21:56:41 # '/tmp/semver-200054167' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver' 21:56:41 # -> Force: false 21:56:41 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver [Pipeline] } 21:56:41 $ docker exec --env ******** --env ******** 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 ssh-agent -k 21:56:41 unset SSH_AUTH_SOCK; 21:56:41 unset SSH_AGENT_PID; 21:56:41 echo Agent pid 59 killed; 21:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:56:41 + git semver [Pipeline] } 21:56:41 $ docker stop --time=1 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 21:56:42 $ docker rm -f 1bf3b4f817ad4e28c586840c37205a2cc788501d6b0adbfcc0dd7386b522bf27 [Pipeline] // withDockerContainer [Pipeline] sh 21:56:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:56:43 Stashed 1 file(s) [Pipeline] echo 21:56:43 [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 21:56:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28449 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws 21:56:43 Running in /w/workspace/app-rfid-llrp-inventory/16 [Pipeline] { [Pipeline] checkout 21:56:43 The recommended git tool is: git 21:56:49 using credential edgex-jenkins-ssh 21:56:49 Cloning the remote Git repository 21:56:49 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:56:49 > git init /w/workspace/app-rfid-llrp-inventory/16 # timeout=10 21:56:49 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:56:49 > git --version # timeout=10 21:56:49 > git --version # 'git version 2.17.1' 21:56:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:51 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit cad4f72a5ef7d466687179109515d584d190995e 21:56:52 Merge succeeded, producing cad4f72a5ef7d466687179109515d584d190995e 21:56:52 Checking out Revision cad4f72a5ef7d466687179109515d584d190995e (PR-54) 21:56:51 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:56:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:56:51 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:56:51 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:56:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:51 > 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 21:56:51 > git config core.sparsecheckout # timeout=10 21:56:51 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 21:56:52 > git remote # timeout=10 21:56:52 > git config --get remote.origin.url # timeout=10 21:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:56:52 > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 21:56:52 > git rev-parse HEAD^{commit} # timeout=10 21:56:52 > git config core.sparsecheckout # timeout=10 21:56:52 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 21:56:56 Commit message: "Fixes Reademe valueType casing and local/hooks go.mod comments mentioned by ajcasagrande" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:56:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:56:57 Dload Upload Total Spent Left Speed 21:56:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 88 11824 88 10501 0 0 67748 0 --:--:-- --:--:-- --:--:-- 67314 100 11824 100 11824 0 0 75312 0 --:--:-- --:--:-- --:--:-- 75312 [Pipeline] sh 21:56:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:56:57 + sudo tee /etc/docker/daemon.new 21:56:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:56:57 { 21:56:57 "registry-mirrors": [ 21:56:57 "https://nexus3.edgexfoundry.org:10001" 21:56:57 ], 21:56:57 "bip": "10.250.0.254/24", 21:56:57 "hosts": [ 21:56:57 "tcp://0.0.0.0:5555", 21:56:57 "unix:///var/run/docker.sock" 21:56:57 ], 21:56:57 "mtu": 1458, 21:56:57 "selinux-enabled": true, 21:56:57 "seccomp-profile": "/etc/docker/seccomp.json" 21:56:57 } [Pipeline] sh 21:56:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:56:58 Still waiting to schedule task 21:56:58 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28480’ 21:56:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:16 provisioning config files... 21:57:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/16@tmp/config8424217994739005729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:17 ---> docker-login.sh 21:57:17 nexus3.edgexfoundry.org:10001 21:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:18 Configure a credential helper to remove this warning. See 21:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:18 21:57:18 Login Succeeded 21:57:18 nexus3.edgexfoundry.org:10002 21:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:18 Configure a credential helper to remove this warning. See 21:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:18 21:57:18 Login Succeeded 21:57:18 nexus3.edgexfoundry.org:10003 21:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:19 Configure a credential helper to remove this warning. See 21:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:19 21:57:19 Login Succeeded 21:57:19 nexus3.edgexfoundry.org:10004 21:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:19 Configure a credential helper to remove this warning. See 21:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:19 21:57:19 Login Succeeded 21:57:19 docker.io 21:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:20 Configure a credential helper to remove this warning. See 21:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:20 21:57:20 Login Succeeded 21:57:20 ---> docker-login.sh ends [Pipeline] } 21:57:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:21 ========================================================= 21:57:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:57:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:57:21 + 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 . 21:57:22 Sending build context to Docker daemon 689.7kB 21:57:22 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 21:57:22 Step 2/12 : FROM ${BASE} AS builder 21:57:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:57:22 552d1f2373af: Pulling fs layer 21:57:22 ea3f2d53f512: Pulling fs layer 21:57:22 9e70ebbbe112: Pulling fs layer 21:57:22 7a9cfe048b4a: Pulling fs layer 21:57:22 72dc09318566: Pulling fs layer 21:57:22 f4f7b4309257: Pulling fs layer 21:57:22 0ac9a79272e3: Pulling fs layer 21:57:22 b78e95d17946: Pulling fs layer 21:57:22 7a9cfe048b4a: Waiting 21:57:22 72dc09318566: Waiting 21:57:22 f4f7b4309257: Waiting 21:57:22 0ac9a79272e3: Waiting 21:57:22 9e70ebbbe112: Download complete 21:57:22 ea3f2d53f512: Verifying Checksum 21:57:22 ea3f2d53f512: Download complete 21:57:22 72dc09318566: Verifying Checksum 21:57:22 72dc09318566: Download complete 21:57:22 f4f7b4309257: Verifying Checksum 21:57:22 f4f7b4309257: Download complete 21:57:22 552d1f2373af: Verifying Checksum 21:57:22 552d1f2373af: Download complete 21:57:22 0ac9a79272e3: Verifying Checksum 21:57:22 0ac9a79272e3: Download complete 21:57:23 552d1f2373af: Pull complete 21:57:23 ea3f2d53f512: Pull complete 21:57:24 9e70ebbbe112: Pull complete 21:57:24 b78e95d17946: Verifying Checksum 21:57:24 b78e95d17946: Download complete 21:57:24 7a9cfe048b4a: Verifying Checksum 21:57:24 7a9cfe048b4a: Download complete 21:57:37 7a9cfe048b4a: Pull complete 21:57:37 72dc09318566: Pull complete 21:57:37 f4f7b4309257: Pull complete 21:57:37 0ac9a79272e3: Pull complete 21:57:42 b78e95d17946: Pull complete 21:57:42 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 21:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:57:42 ---> 8b459fc5aaf0 21:57:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:57:43 ---> Running in f824fc5c2d80 21:57:44 Removing intermediate container f824fc5c2d80 21:57:44 ---> f788b45cd701 21:57:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:57:44 ---> Running in 7f03fe01dcba 21:57:44 Removing intermediate container 7f03fe01dcba 21:57:44 ---> 06bcf6e649ee 21:57:44 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:57:44 ---> Running in b385126f5fb8 21:57:45 Removing intermediate container b385126f5fb8 21:57:45 ---> ec7891380e38 21:57:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:57:45 ---> Running in 3ca4c465d884 21:57:47 Removing intermediate container 3ca4c465d884 21:57:47 ---> 7357662939db 21:57:47 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:57:47 ---> Running in 553cc35ff347 21:57:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:57:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:57:50 OK: 219 MiB in 52 packages 21:57:51 Removing intermediate container 553cc35ff347 21:57:51 ---> 427c3ecc6497 21:57:51 Step 8/12 : WORKDIR /app 21:57:51 ---> Running in 1157b3a7143d 21:57:51 Removing intermediate container 1157b3a7143d 21:57:51 ---> 31c78587ea16 21:57:51 Step 9/12 : COPY . . 21:57:52 ---> 61f9b351c640 21:57:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:52 ---> Running in d2bd04852a9a 21:59:14 Removing intermediate container d2bd04852a9a 21:59:14 ---> 2e92c08e3a6e 21:59:14 Step 11/12 : ARG MAKE="make build" 21:59:14 ---> Running in 3117ebd33c08 21:59:14 Removing intermediate container 3117ebd33c08 21:59:14 ---> 4ce6266a663a 21:59:14 Step 12/12 : RUN $MAKE 21:59:14 ---> Running in a5fc25de89b9 21:59:14 noop 21:59:14 Removing intermediate container a5fc25de89b9 21:59:14 ---> 17b4c5e0fce9 21:59:14 Successfully built 17b4c5e0fce9 21:59:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:59:15 + docker inspect -f . ci-base-image-arm64 21:59:15 . [Pipeline] withDockerContainer 21:59:15 prd-ubuntu18.04-docker-arm64-4c-16g-28449 does not seem to be running inside a container 21:59:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 ******** ci-base-image-arm64 cat 21:59:16 $ docker top b1ca1bcacbcb55e4a6a9b82cb46c13de7266ab332a02ecb64c722ae49c502f12 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:17 + go version 21:59:17 go version go1.16.8 linux/arm64 [Pipeline] } 21:59:17 $ docker stop --time=1 b1ca1bcacbcb55e4a6a9b82cb46c13de7266ab332a02ecb64c722ae49c502f12 21:59:19 $ docker rm -f b1ca1bcacbcb55e4a6a9b82cb46c13de7266ab332a02ecb64c722ae49c502f12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:59:20 + docker inspect -f . ci-base-image-arm64 21:59:20 . [Pipeline] withDockerContainer 21:59:20 prd-ubuntu18.04-docker-arm64-4c-16g-28449 does not seem to be running inside a container 21:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 ******** ci-base-image-arm64 cat 21:59:21 $ docker top 2b14ede81f0829ffbe6ecf685758e019e99f08a5b48403bbd094deb679293ce2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:59:22 + make test 21:59:22 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 21:59:27 Running on prd-centos7-docker-4c-2g-28481 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws 21:59:27 Running in /w/workspace/app-rfid-llrp-inventory/16 [Pipeline] { [Pipeline] checkout 21:59:28 The recommended git tool is: git 21:59:30 using credential edgex-jenkins-ssh 21:59:30 Cloning the remote Git repository 21:59:30 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:59:30 > git init /w/workspace/app-rfid-llrp-inventory/16 # timeout=10 21:59:30 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:59:30 > git --version # timeout=10 21:59:30 > git --version # 'git version 2.24.4' 21:59:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:30 [INFO] Currently running in a labeled security context 21:59:30 [INFO] Currently SELinux is 'enforcing' on the host 21:59:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/16@tmp/jenkins-gitclient-ssh7697964324407506996.key 21:59:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:31 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:59:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:31 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 21:59:31 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 21:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:31 [INFO] Currently running in a labeled security context 21:59:31 [INFO] Currently SELinux is 'enforcing' on the host 21:59:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/16@tmp/jenkins-gitclient-ssh6257236257774718865.key 21:59:31 > 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 21:59:32 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit cad4f72a5ef7d466687179109515d584d190995e 21:59:32 Merge succeeded, producing cad4f72a5ef7d466687179109515d584d190995e 21:59:32 Checking out Revision cad4f72a5ef7d466687179109515d584d190995e (PR-54) 21:59:31 > git config core.sparsecheckout # timeout=10 21:59:31 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 21:59:31 > git remote # timeout=10 21:59:31 > git config --get remote.origin.url # timeout=10 21:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:31 [INFO] Currently running in a labeled security context 21:59:31 [INFO] Currently SELinux is 'enforcing' on the host 21:59:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/16@tmp/jenkins-gitclient-ssh5447693788235632433.key 21:59:31 > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 21:59:31 > git rev-parse HEAD^{commit} # timeout=10 21:59:31 > git config core.sparsecheckout # timeout=10 21:59:31 > git checkout -f cad4f72a5ef7d466687179109515d584d190995e # timeout=10 21:59:35 Commit message: "Fixes Reademe valueType casing and local/hooks go.mod comments mentioned by ajcasagrande" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:36 provisioning config files... 21:59:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/16@tmp/config7997998938000829587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:36 ---> docker-login.sh 21:59:36 nexus3.edgexfoundry.org:10001 21:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:36 Configure a credential helper to remove this warning. See 21:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:36 21:59:36 Login Succeeded 21:59:36 nexus3.edgexfoundry.org:10002 21:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:36 Configure a credential helper to remove this warning. See 21:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:36 21:59:36 Login Succeeded 21:59:36 nexus3.edgexfoundry.org:10003 21:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:36 Configure a credential helper to remove this warning. See 21:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:36 21:59:36 Login Succeeded 21:59:36 nexus3.edgexfoundry.org:10004 21:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:37 Configure a credential helper to remove this warning. See 21:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:37 21:59:37 Login Succeeded 21:59:37 docker.io 21:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:37 Configure a credential helper to remove this warning. See 21:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:37 21:59:37 Login Succeeded 21:59:37 ---> docker-login.sh ends [Pipeline] } 21:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:37 ========================================================= 21:59:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:59:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:59:37 + 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 . 21:59:37 Sending build context to Docker daemon 689.7kB 21:59:37 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 21:59:37 Step 2/12 : FROM ${BASE} AS builder 21:59:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:59:37 a0d0a0d46f8b: Pulling fs layer 21:59:37 31adcdaf11c8: Pulling fs layer 21:59:37 b8b176561691: Pulling fs layer 21:59:37 4527c011a84f: Pulling fs layer 21:59:37 5d74067f8e1e: Pulling fs layer 21:59:37 e0aca202a116: Pulling fs layer 21:59:37 3a43be97a3b4: Pulling fs layer 21:59:37 34cad66bf833: Pulling fs layer 21:59:37 b4e3c513aaa6: Pulling fs layer 21:59:37 4527c011a84f: Waiting 21:59:37 5d74067f8e1e: Waiting 21:59:37 e0aca202a116: Waiting 21:59:37 3a43be97a3b4: Waiting 21:59:37 34cad66bf833: Waiting 21:59:37 b4e3c513aaa6: Waiting 21:59:37 b8b176561691: Verifying Checksum 21:59:37 b8b176561691: Download complete 21:59:37 31adcdaf11c8: Verifying Checksum 21:59:37 31adcdaf11c8: Download complete 21:59:37 5d74067f8e1e: Verifying Checksum 21:59:37 5d74067f8e1e: Download complete 21:59:37 e0aca202a116: Verifying Checksum 21:59:37 e0aca202a116: Download complete 21:59:37 a0d0a0d46f8b: Verifying Checksum 21:59:37 a0d0a0d46f8b: Download complete 21:59:37 3a43be97a3b4: Verifying Checksum 21:59:37 3a43be97a3b4: Download complete 21:59:38 34cad66bf833: Verifying Checksum 21:59:38 34cad66bf833: Download complete 21:59:38 b4e3c513aaa6: Verifying Checksum 21:59:38 b4e3c513aaa6: Download complete 21:59:38 a0d0a0d46f8b: Pull complete 21:59:38 4527c011a84f: Verifying Checksum 21:59:38 4527c011a84f: Download complete 21:59:38 31adcdaf11c8: Pull complete 21:59:38 b8b176561691: Pull complete 21:59:42 4527c011a84f: Pull complete 21:59:42 5d74067f8e1e: Pull complete 21:59:42 e0aca202a116: Pull complete 21:59:42 3a43be97a3b4: Pull complete 21:59:42 34cad66bf833: Pull complete 21:59:45 b4e3c513aaa6: Pull complete 21:59:45 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 21:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:59:45 ---> 9f6097aaca64 21:59:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 21:59:46 ---> Running in da755232117f 21:59:47 Removing intermediate container da755232117f 21:59:47 ---> 3172b78db2fb 21:59:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:59:47 ---> Running in e92157d5bbbd 21:59:47 Removing intermediate container e92157d5bbbd 21:59:47 ---> f3a12ee3d028 21:59:47 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:59:47 ---> Running in 92b49d28fc2f 21:59:47 Removing intermediate container 92b49d28fc2f 21:59:47 ---> 032659807e3c 21:59:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:59:47 ---> Running in 4a693ec8e012 21:59:47 Removing intermediate container 4a693ec8e012 21:59:47 ---> 6f4f96ade673 21:59:47 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:47 ---> Running in 9af8d012a25a 21:59:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:59:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:59:48 OK: 220 MiB in 52 packages 21:59:49 Removing intermediate container 9af8d012a25a 21:59:49 ---> 47e8607286f5 21:59:49 Step 8/12 : WORKDIR /app 21:59:49 ---> Running in cc90acca69c0 21:59:49 Removing intermediate container cc90acca69c0 21:59:49 ---> 6572eb9eded1 21:59:49 Step 9/12 : COPY . . 21:59:49 ---> d71293304085 21:59:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:49 ---> Running in c7326e797002 22:00:16 Removing intermediate container c7326e797002 22:00:16 ---> a240c9dcf294 22:00:16 Step 11/12 : ARG MAKE="make build" 22:00:16 ---> Running in 8bb335284822 22:00:16 Removing intermediate container 8bb335284822 22:00:16 ---> 1f7aed727a20 22:00:16 Step 12/12 : RUN $MAKE 22:00:16 ---> Running in f69c7a3563c8 22:00:16 noop 22:00:16 Removing intermediate container f69c7a3563c8 22:00:16 ---> b008fdfbb5ba 22:00:16 Successfully built b008fdfbb5ba 22:00:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:00:16 + docker inspect -f . ci-base-image-x86_64 22:00:16 . [Pipeline] withDockerContainer 22:00:16 prd-centos7-docker-4c-2g-28481 does not seem to be running inside a container 22:00:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 22:00:17 $ docker top 369062282cdebb75547c406f710428e5736c00c428e5f766b36bf531dc2af230 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:17 + go version 22:00:17 go version go1.16.8 linux/amd64 [Pipeline] } 22:00:17 $ docker stop --time=1 369062282cdebb75547c406f710428e5736c00c428e5f766b36bf531dc2af230 22:00:18 $ docker rm -f 369062282cdebb75547c406f710428e5736c00c428e5f766b36bf531dc2af230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:00:19 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:00:19 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.166s coverage: 86.0% of statements 22:00:19 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:00:20 + docker inspect -f . ci-base-image-x86_64 22:00:20 . [Pipeline] withDockerContainer 22:00:20 prd-centos7-docker-4c-2g-28481 does not seem to be running inside a container 22:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 22:00:20 $ docker top a551c9cc5c5db08c09c623115ba6c2a9a892c37fad1347e51262a490ab83deee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:00:20 + make test 22:00:20 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:00:28 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 5.544s coverage: 73.3% of statements 22:00:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:00:39 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 22:00:39 Time delta: 38 22:00:39 --- FAIL: TestUnixMilli (0.04s) 22:00:39 epoch_helper_test.go:37: Time calculation bad 22:00:39 FAIL 22:00:39 coverage: 86.0% of statements 22:00:39 FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.074s 22:00:39 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 22:00:47 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 8.323s coverage: 73.3% of statements 22:00:47 FAIL 22:00:47 make: *** [Makefile:30: test] Error 1 [Pipeline] } 22:00:47 $ docker stop --time=1 a551c9cc5c5db08c09c623115ba6c2a9a892c37fad1347e51262a490ab83deee 22:00:48 $ docker rm -f a551c9cc5c5db08c09c623115ba6c2a9a892c37fad1347e51262a490ab83deee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:00:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:49 22:00:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:00:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:49 latest: Pulling from edgex-lftools-log-publisher 22:00:49 b4d181a07f80: Pulling fs layer 22:00:49 a1111a8f2ec3: Pulling fs layer 22:00:49 ed53099fbce6: Pulling fs layer 22:00:49 dc539afda2c1: Pulling fs layer 22:00:49 77bc0d833cb6: Pulling fs layer 22:00:49 9065ff56babe: Pulling fs layer 22:00:49 d287ab97295c: Pulling fs layer 22:00:49 dc539afda2c1: Waiting 22:00:49 77bc0d833cb6: Waiting 22:00:49 9065ff56babe: Waiting 22:00:49 d287ab97295c: Waiting 22:00:49 a1111a8f2ec3: Verifying Checksum 22:00:49 a1111a8f2ec3: Download complete 22:00:49 dc539afda2c1: Verifying Checksum 22:00:49 dc539afda2c1: Download complete 22:00:49 ed53099fbce6: Verifying Checksum 22:00:49 ed53099fbce6: Download complete 22:00:49 9065ff56babe: Verifying Checksum 22:00:49 9065ff56babe: Download complete 22:00:50 77bc0d833cb6: Verifying Checksum 22:00:50 77bc0d833cb6: Download complete 22:00:50 b4d181a07f80: Download complete 22:00:50 d287ab97295c: Verifying Checksum 22:00:50 d287ab97295c: Download complete 22:00:51 b4d181a07f80: Pull complete 22:00:51 a1111a8f2ec3: Pull complete 22:00:52 ed53099fbce6: Pull complete 22:00:52 dc539afda2c1: Pull complete 22:00:52 77bc0d833cb6: Pull complete 22:00:52 9065ff56babe: Pull complete 22:00:57 d287ab97295c: Pull complete 22:00:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:00:57 prd-centos7-docker-4c-2g-28481 does not seem to be running inside a container 22:00:57 $ 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/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 22:01:00 $ docker top 487f6b947746466abc5f779cb921e015e3d33fbe20f32eec9658ad105212aa15 -eo pid,comm [Pipeline] { 22:01:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:01:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:01:00 ./bin/test-attribution.sh [Pipeline] } 22:01:00 $ docker stop --time=1 2b14ede81f0829ffbe6ecf685758e019e99f08a5b48403bbd094deb679293ce2 22:01:02 $ docker rm -f 2b14ede81f0829ffbe6ecf685758e019e99f08a5b48403bbd094deb679293ce2 [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh 22:01:03 ---> job-cost.sh 22:01:03 lf-activate-venv: SKIPPING 22:01:03 INFO: No Stack... 22:01:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:01:03 INFO: Retrieving Pricing Info for: v3-standard-2 22:01:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 22:01:03 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 22:01:06 + cut -d, -f6 22:01:06 + cat /w/workspace/app-rfid-llrp-inventory/16/archives/cost.csv [Pipeline] lock 22:01:06 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] 22:01:07 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] did not exist. Created. 22:01:07 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:01:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:01:07 + echo total: 0.05999999865889549 [Pipeline] stash 22:01:07 + ls -al . 22:01:07 total 232 22:01:07 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 22:00 . 22:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 21:56 .. 22:01:07 -rw-rw-r-- 1 jenkins jenkins 262 Nov 9 21:56 .dockerignore 22:01:07 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 21:56 .git 22:01:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 21:56 .github 22:01:07 -rw-rw-r-- 1 jenkins jenkins 788 Nov 9 21:56 .gitignore 22:01:07 -rw-rw-r-- 1 jenkins jenkins 8248 Nov 9 21:56 Attribution.txt 22:01:07 -rw-rw-r-- 1 jenkins jenkins 1742 Nov 9 21:56 Dockerfile 22:01:07 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 21:56 GOVERNANCE.md 22:01:07 -rw-rw-r-- 1 jenkins jenkins 686 Nov 9 21:56 Jenkinsfile 22:01:07 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 9 21:56 LICENSE 22:01:07 -rw-rw-r-- 1 jenkins jenkins 1596 Nov 9 21:56 Makefile 22:01:07 -rw-rw-r-- 1 jenkins jenkins 617 Nov 9 21:56 OWNERS.md 22:01:07 -rw-rw-r-- 1 jenkins jenkins 31195 Nov 9 21:56 README.md 22:01:07 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 21:56 VERSION 22:01:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 21:56 bin 22:01:07 -rw-r--r-- 1 jenkins jenkins 42853 Nov 9 22:00 coverage.out 22:01:07 -rw-rw-r-- 1 jenkins jenkins 386 Nov 9 21:56 go.mod 22:01:07 -rw-rw-r-- 1 jenkins jenkins 50382 Nov 9 21:56 go.sum 22:01:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 21:56 images 22:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 21:56 internal 22:01:07 -rw-rw-r-- 1 jenkins jenkins 531 Nov 9 21:56 main.go 22:01:07 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 21:56 res 22:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 21:56 snap 22:01:07 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 21:56 static [Pipeline] isUnix [Pipeline] sh 22:01:07 Stashed 1 file(s) [Pipeline] } 22:01:07 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] [Pipeline] // lock [Pipeline] } 22:01:07 $ docker stop --time=1 487f6b947746466abc5f779cb921e015e3d33fbe20f32eec9658ad105212aa15 22:01:07 + 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=cad4f72a5ef7d466687179109515d584d190995e --label arch=arm64 --label version=0.0.0 . 22:01:07 Sending build context to Docker daemon 689.7kB 22:01:08 Step 1/27 : ARG BASE=golang:1.16-alpine3.14 22:01:08 Step 2/27 : FROM ${BASE} AS builder 22:01:08 ---> 17b4c5e0fce9 22:01:08 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:01:08 ---> Running in 4d609e4c6440 22:01:08 Removing intermediate container 4d609e4c6440 22:01:08 ---> 4f9e3775650b 22:01:08 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:01:08 $ docker rm -f 487f6b947746466abc5f779cb921e015e3d33fbe20f32eec9658ad105212aa15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 22:01:08 ---> Running in d9f0c8a3e12a [Pipeline] // stage [Pipeline] } 22:01:08 Failed in branch amd64 22:01:09 Removing intermediate container d9f0c8a3e12a 22:01:09 ---> 9f5a44d2fa4d 22:01:09 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:01:09 ---> Running in 793ac20947f4 22:01:09 Removing intermediate container 793ac20947f4 22:01:09 ---> 5b729bcad2c5 22:01:09 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:01:09 ---> Running in c710bdb9a107 22:01:11 Removing intermediate container c710bdb9a107 22:01:11 ---> 51df00209532 22:01:11 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:01:11 ---> Running in f65d86dd5eb2 22:01:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:01:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:01:14 OK: 219 MiB in 52 packages 22:01:15 Removing intermediate container f65d86dd5eb2 22:01:15 ---> 5f1a37cdecc4 22:01:15 Step 8/27 : WORKDIR /app 22:01:15 ---> Running in f64f3eb7e104 22:01:16 Removing intermediate container f64f3eb7e104 22:01:16 ---> f2ffa32a083d 22:01:16 Step 9/27 : COPY . . 22:01:16 ---> 20e6b0071c41 22:01:16 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:16 ---> Running in 68a4424dc2eb 22:01:18 Removing intermediate container 68a4424dc2eb 22:01:18 ---> fa1795213d43 22:01:18 Step 11/27 : ARG MAKE="make build" 22:01:19 ---> Running in aec1f96fc980 22:01:19 Removing intermediate container aec1f96fc980 22:01:19 ---> 0f82ef66656a 22:01:19 Step 12/27 : RUN $MAKE 22:01:19 ---> Running in 0372d52ad462 22:01:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.2-dev.32 -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 22:01:59 Removing intermediate container 0372d52ad462 22:01:59 ---> 3e81371717fb 22:01:59 Step 13/27 : FROM alpine:3.14 22:02:03 3.14: Pulling from library/alpine 22:02:03 552d1f2373af: Already exists 22:02:03 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 22:02:03 Status: Downloaded newer image for alpine:3.14 22:02:03 ---> bb3de5531c18 22:02:03 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:02:03 ---> Running in 2ae6db172867 22:02:04 Removing intermediate container 2ae6db172867 22:02:04 ---> 85ecdd0787ba 22:02:04 Step 15/27 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 22:02:04 ---> Running in cb2be6556f97 22:02:04 Removing intermediate container cb2be6556f97 22:02:04 ---> 9f451926a0c1 22:02:04 Step 16/27 : RUN apk --no-cache add ca-certificates zeromq 22:02:04 ---> Running in 0e685646c2f9 22:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:02:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:02:06 (1/6) Installing ca-certificates (20191127-r5) 22:02:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:02:06 (3/6) Installing libsodium (1.0.18-r0) 22:02:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:02:06 (5/6) Installing libzmq (4.3.4-r0) 22:02:06 (6/6) Installing zeromq (4.3.4-r0) 22:02:06 Executing busybox-1.33.1-r3.trigger 22:02:06 Executing ca-certificates-20191127-r5.trigger 22:02:06 OK: 9 MiB in 20 packages 22:02:08 Removing intermediate container 0e685646c2f9 22:02:08 ---> 08bf1d3bef54 22:02:08 Step 17/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:02:08 ---> ff51daa3cdbf 22:02:08 Step 18/27 : COPY --from=builder /app/LICENSE /LICENSE 22:02:09 ---> 77ff53b68b75 22:02:09 Step 19/27 : COPY --from=builder /app/res/ /res/ 22:02:10 ---> 8382aae0a753 22:02:10 Step 20/27 : COPY --from=builder /app/static/ /static/ 22:02:11 ---> dc151d328adf 22:02:11 Step 21/27 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 22:02:12 ---> 80df8c5169f8 22:02:12 Step 22/27 : EXPOSE 48086 22:02:12 ---> Running in 42efa9aa0916 22:02:12 Removing intermediate container 42efa9aa0916 22:02:12 ---> 772b25c43c7f 22:02:12 Step 23/27 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 22:02:12 ---> Running in 46d8249c83b3 22:02:13 Removing intermediate container 46d8249c83b3 22:02:13 ---> cb1fabefe70d 22:02:13 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 22:02:13 ---> Running in 7c7a97964aed 22:02:13 Removing intermediate container 7c7a97964aed 22:02:13 ---> 5c55c0714369 22:02:13 Step 25/27 : LABEL arch=arm64 22:02:13 ---> Running in 9dee9b81313f 22:02:14 Removing intermediate container 9dee9b81313f 22:02:14 ---> eb29967d77f5 22:02:14 Step 26/27 : LABEL git_sha=cad4f72a5ef7d466687179109515d584d190995e 22:02:14 ---> Running in af33df1dd4c4 22:02:14 Removing intermediate container af33df1dd4c4 22:02:14 ---> fa26e3540768 22:02:14 Step 27/27 : LABEL version=0.0.0 22:02:14 ---> Running in b072e4297a9f 22:02:15 Removing intermediate container b072e4297a9f 22:02:15 ---> e262c80a9ac6 22:02:15 [Warning] One or more build-args [ARCH] were not consumed 22:02:15 Successfully built e262c80a9ac6 22:02:15 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 22:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:15 22:02:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:02:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:16 arm64: Pulling from edgex-lftools-log-publisher 22:02:16 448f6bf000e3: Pulling fs layer 22:02:16 f757da607395: Pulling fs layer 22:02:16 05883995daec: Pulling fs layer 22:02:16 8603b9c90790: Pulling fs layer 22:02:16 1560dd03e051: Pulling fs layer 22:02:16 27f5ce0e4adf: Pulling fs layer 22:02:16 c2d8d7efcc4b: Pulling fs layer 22:02:16 27f5ce0e4adf: Waiting 22:02:16 c2d8d7efcc4b: Waiting 22:02:16 1560dd03e051: Waiting 22:02:16 f757da607395: Verifying Checksum 22:02:16 f757da607395: Download complete 22:02:16 8603b9c90790: Verifying Checksum 22:02:16 8603b9c90790: Download complete 22:02:16 1560dd03e051: Verifying Checksum 22:02:16 1560dd03e051: Download complete 22:02:16 27f5ce0e4adf: Download complete 22:02:16 05883995daec: Verifying Checksum 22:02:16 05883995daec: Download complete 22:02:16 448f6bf000e3: Download complete 22:02:19 c2d8d7efcc4b: Verifying Checksum 22:02:19 c2d8d7efcc4b: Download complete 22:02:20 448f6bf000e3: Pull complete 22:02:21 f757da607395: Pull complete 22:02:22 05883995daec: Pull complete 22:02:22 8603b9c90790: Pull complete 22:02:23 1560dd03e051: Pull complete 22:02:24 27f5ce0e4adf: Pull complete 22:02:39 c2d8d7efcc4b: Pull complete 22:02:39 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:02:39 prd-ubuntu18.04-docker-arm64-4c-16g-28449 does not seem to be running inside a container 22:02:39 $ 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/16 -v /w/workspace/app-rfid-llrp-inventory/16:/w/workspace/app-rfid-llrp-inventory/16:rw,z -v /w/workspace/app-rfid-llrp-inventory/16@tmp:/w/workspace/app-rfid-llrp-inventory/16@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:02:42 $ docker top 2302e4bddd1ad235468b7e1ed0c75f8f5b5e928e338a2dd0e01a2821686520c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:43 ---> job-cost.sh 22:02:43 lf-activate-venv: SKIPPING 22:02:43 INFO: No Stack... 22:02:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:02:44 INFO: Archiving Costs [Pipeline] sh 22:02:44 + + cutcat -d, /w/workspace/app-rfid-llrp-inventory/16/archives/cost.csv -f6 22:02:44 [Pipeline] lock 22:02:44 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] 22:02:44 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] did not exist. Created. 22:02:44 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:45 /w/workspace/app-rfid-llrp-inventory/16@tmp/durable-e11046f3/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/16@tmp/durable-e11046f3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:02:46 + echo total: 0.2199999988079071 [Pipeline] stash 22:02:46 Warning: overwriting stash ‘stack-cost’ 22:02:46 Stashed 1 file(s) [Pipeline] } 22:02:46 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-16-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:46 $ docker stop --time=1 2302e4bddd1ad235468b7e1ed0c75f8f5b5e928e338a2dd0e01a2821686520c2 22:02:47 $ docker rm -f 2302e4bddd1ad235468b7e1ed0c75f8f5b5e928e338a2dd0e01a2821686520c2 [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 22:02:50 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:02:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:02:51 ---> package-listing.sh 22:02:51 ++ facter osfamily 22:02:51 ++ tr '[:upper:]' '[:lower:]' 22:02:52 + OS_FAMILY=redhat 22:02:52 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-54 22:02:52 + START_PACKAGES=/tmp/packages_start.txt 22:02:52 + END_PACKAGES=/tmp/packages_end.txt 22:02:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:02:52 + PACKAGES=/tmp/packages_start.txt 22:02:52 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 22:02:52 + PACKAGES=/tmp/packages_end.txt 22:02:52 + case "${OS_FAMILY}" in 22:02:52 + rpm -qa 22:02:52 + sort 22:02:52 + '[' -f /tmp/packages_start.txt ']' 22:02:52 + '[' -f /tmp/packages_end.txt ']' 22:02:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:02:52 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 22:02:52 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ 22:02:52 + 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 22:02:52 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 22:02:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:53 22:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:53 latest: Pulling from edgex-lftools-log-publisher 22:02:53 b4d181a07f80: Pulling fs layer 22:02:53 a1111a8f2ec3: Pulling fs layer 22:02:53 ed53099fbce6: Pulling fs layer 22:02:53 dc539afda2c1: Pulling fs layer 22:02:53 77bc0d833cb6: Pulling fs layer 22:02:53 9065ff56babe: Pulling fs layer 22:02:53 d287ab97295c: Pulling fs layer 22:02:53 dc539afda2c1: Waiting 22:02:53 77bc0d833cb6: Waiting 22:02:53 9065ff56babe: Waiting 22:02:53 d287ab97295c: Waiting 22:02:53 a1111a8f2ec3: Verifying Checksum 22:02:53 a1111a8f2ec3: Download complete 22:02:53 dc539afda2c1: Verifying Checksum 22:02:53 dc539afda2c1: Download complete 22:02:54 ed53099fbce6: Verifying Checksum 22:02:54 ed53099fbce6: Download complete 22:02:54 77bc0d833cb6: Verifying Checksum 22:02:54 77bc0d833cb6: Download complete 22:02:54 9065ff56babe: Verifying Checksum 22:02:54 9065ff56babe: Download complete 22:02:54 b4d181a07f80: Verifying Checksum 22:02:54 b4d181a07f80: Download complete 22:02:54 d287ab97295c: Verifying Checksum 22:02:54 d287ab97295c: Download complete 22:02:55 b4d181a07f80: Pull complete 22:02:55 a1111a8f2ec3: Pull complete 22:02:56 ed53099fbce6: Pull complete 22:02:56 dc539afda2c1: Pull complete 22:02:56 77bc0d833cb6: Pull complete 22:02:56 9065ff56babe: Pull complete 22:03:02 d287ab97295c: Pull complete 22:03:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:03:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:03:02 prd-centos7-docker-4c-2g-28480 does not seem to be running inside a container 22:03:02 $ 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 22:03:04 $ docker top dd3c54444b222434c798bff3053ac3111a38d6f0ed52472e22074e3189772ed0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:05 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:05 + ls /var/log/sa-host 22:03:05 + sadf -c /var/log/sa-host/sa09 22:03:05 file_magic: OK 22:03:05 HZ: Using current value: 100 22:03:05 file_header: OK 22:03:05 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 22:03:05 Statistics: 22:03:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:03:05 File successfully converted to sysstat format version 12.0.3 22:03:05 + sadf -c /var/log/sa-host/sa30 22:03:05 file_magic: OK 22:03:05 HZ: Using current value: 100 22:03:05 file_header: OK 22:03:05 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 22:03:05 Statistics: 22:03:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:03:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:06 provisioning config files... 22:03:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config6708017124726694476tmp [Pipeline] { [Pipeline] echo 22:03:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:06 ---> create-netrc.sh [Pipeline] } 22:03:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:07 ---> python-tools-install.sh [Pipeline] echo 22:03:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:08 ---> sudo-logs.sh 22:03:08 Archiving 'sudo' log.. 22:03:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-28480.novalocal: Name or service not known 22:03:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-28480.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:03:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:08 ---> job-cost.sh 22:03:08 lf-activate-venv: SKIPPING 22:03:08 DEBUG: total: 0.2199999988079071 22:03:08 INFO: Retrieving Stack Cost... 22:03:08 INFO: Retrieving Pricing Info for: v3-standard-2 22:03:09 INFO: Archiving Costs [Pipeline] echo 22:03:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:09 ---> logs-deploy.sh 22:03:09 lf-activate-venv: SKIPPING 22:03:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-54/16 22:03:09 INFO: archiving workspace using pattern(s): 22:03:10 Archives upload complete. 22:03:10 INFO: archiving logs to Nexus 22:03:10 ---> uname -a: 22:03:10 Linux prd-centos7-docker-4c-2g-28480.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 22:03:10 22:03:10 22:03:10 ---> lscpu: 22:03:10 Architecture: x86_64 22:03:10 CPU op-mode(s): 32-bit, 64-bit 22:03:10 Byte Order: Little Endian 22:03:10 Address sizes: 40 bits physical, 48 bits virtual 22:03:10 CPU(s): 2 22:03:10 On-line CPU(s) list: 0,1 22:03:10 Thread(s) per core: 1 22:03:10 Core(s) per socket: 1 22:03:10 Socket(s): 2 22:03:10 NUMA node(s): 1 22:03:10 Vendor ID: AuthenticAMD 22:03:10 CPU family: 23 22:03:10 Model: 49 22:03:10 Model name: AMD EPYC-Rome Processor 22:03:10 Stepping: 0 22:03:10 CPU MHz: 2799.998 22:03:10 BogoMIPS: 5599.99 22:03:10 Virtualization: AMD-V 22:03:10 Hypervisor vendor: KVM 22:03:10 Virtualization type: full 22:03:10 L1d cache: 32K 22:03:10 L1i cache: 32K 22:03:10 L2 cache: 512K 22:03:10 L3 cache: 16384K 22:03:10 NUMA node0 CPU(s): 0,1 22:03:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 22:03:10 22:03:10 22:03:10 ---> nproc: 22:03:10 2 22:03:10 22:03:10 22:03:10 ---> df -h: 22:03:10 Filesystem Size Used Avail Use% Mounted on 22:03:10 overlay 40G 7.7G 33G 20% / 22:03:10 tmpfs 64M 0 64M 0% /dev 22:03:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:03:10 shm 64M 0 64M 0% /dev/shm 22:03:10 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:03:10 22:03:10 22:03:10 ---> sar -b -r -n DEV: 22:03:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 22:03:10 22:03:10 21:55:51 LINUX RESTART (2 CPU) 22:03:10 22:03:10 21:57:01 tps rtps wtps bread/s bwrtn/s 22:03:10 21:58:01 1.58 0.00 1.58 0.00 28.91 22:03:10 21:59:01 0.27 0.00 0.27 0.00 3.50 22:03:10 22:00:01 0.27 0.00 0.27 0.00 2.98 22:03:10 22:01:01 0.28 0.02 0.27 0.13 3.73 22:03:10 22:02:01 0.48 0.08 0.40 1.60 6.38 22:03:10 22:03:01 8.13 0.15 7.98 11.59 454.77 22:03:10 Average: 1.83 0.04 1.79 2.22 83.39 22:03:10 22:03:10 21:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:03:10 21:58:01 5684720 0 607420 7.58 2620 1714180 1161804 12.83 559256 1531860 16 22:03:10 21:59:01 5687048 0 605084 7.56 2620 1714188 1161804 12.83 557084 1531892 8 22:03:10 22:00:01 5683656 0 608476 7.60 2620 1714188 1162056 12.83 560652 1531892 8 22:03:10 22:01:01 5687436 0 604688 7.55 2620 1714196 1164340 12.85 555860 1532612 8 22:03:10 22:02:01 5687208 0 604792 7.55 2620 1714320 1162408 12.83 556168 1532676 20 22:03:10 22:03:01 4926844 0 767280 9.58 2620 2312196 1524420 16.83 893456 1867252 597032 22:03:10 Average: 5559485 0 632957 7.90 2620 1813878 1222805 13.50 613746 1588031 99515 22:03:10 22:03:10 21:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:03:10 21:58:01 eth0 0.10 0.12 0.01 0.02 0.00 0.00 0.00 0.00 22:03:10 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 21:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 21:59:01 eth0 0.32 0.10 0.03 0.01 0.00 0.00 0.00 0.00 22:03:10 21:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 21:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:00:01 eth0 0.70 0.47 0.29 0.21 0.00 0.00 0.00 0.00 22:03:10 22:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:01:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:03:10 22:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:02:01 eth0 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 22:03:10 22:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:03:01 eth0 101.03 63.16 2592.63 9.24 0.00 0.00 0.00 0.00 22:03:10 22:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 Average: eth0 17.08 10.69 432.25 1.59 0.00 0.00 0.00 0.00 22:03:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:03:10 22:03:10 22:03:10 ---> sar -P ALL: 22:03:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 22:03:10 22:03:10 21:55:51 LINUX RESTART (2 CPU) 22:03:10 22:03:10 21:57:01 CPU %user %nice %system %iowait %steal %idle 22:03:10 21:58:01 all 0.23 0.00 0.05 0.00 0.03 99.69 22:03:10 21:58:01 0 0.40 0.00 0.05 0.00 0.03 99.52 22:03:10 21:58:01 1 0.05 0.00 0.05 0.00 0.03 99.87 22:03:10 21:59:01 all 0.19 0.00 0.04 0.00 0.01 99.76 22:03:10 21:59:01 0 0.28 0.00 0.03 0.00 0.00 99.68 22:03:10 21:59:01 1 0.10 0.00 0.05 0.00 0.02 99.83 22:03:10 22:00:01 all 0.16 0.00 0.03 0.00 0.02 99.79 22:03:10 22:00:01 0 0.27 0.00 0.02 0.00 0.02 99.70 22:03:10 22:00:01 1 0.05 0.00 0.05 0.00 0.02 99.88 22:03:10 22:01:01 all 0.24 0.00 0.05 0.00 0.02 99.69 22:03:10 22:01:01 0 0.38 0.00 0.05 0.00 0.00 99.57 22:03:10 22:01:01 1 0.10 0.00 0.05 0.00 0.03 99.82 22:03:10 22:02:01 all 0.12 0.00 0.06 0.00 0.02 99.81 22:03:10 22:02:01 0 0.02 0.00 0.05 0.00 0.02 99.92 22:03:10 22:02:01 1 0.22 0.00 0.07 0.00 0.02 99.70 22:03:10 22:03:01 all 8.32 0.00 3.00 0.01 0.03 88.64 22:03:10 22:03:01 0 7.70 0.00 2.78 0.00 0.03 89.48 22:03:10 22:03:01 1 8.94 0.00 3.21 0.02 0.03 87.80 22:03:10 Average: all 1.52 0.00 0.53 0.00 0.02 97.92 22:03:10 Average: 0 1.49 0.00 0.49 0.00 0.02 98.00 22:03:10 Average: 1 1.55 0.00 0.57 0.00 0.03 97.85 22:03:10 22:03:10 22:03:10