Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb+a218d4f56953046ecdce72b8d912b6fb71d7f601 (67b16d3ed2c3c980319a0d9d6fef4e9e49ea2bba) 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-ssh12167365795096271381.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh17777414234593814314.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-62/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-62/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15569089152680075631.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh2166708649852669673.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-62/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-62/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2020793012908096042.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: 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-4126 in /w/workspace/ry_app-rfid-llrp-inventory_PR-62 [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-62 # 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-62@tmp/jenkins-gitclient-ssh2566058934287021514.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-62@tmp/jenkins-gitclient-ssh4736848205718585459.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a218d4f56953046ecdce72b8d912b6fb71d7f601 into PR head commit f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb Merge succeeded, producing 340ef5eb34d9c507030940b7840b609498420864 Checking out Revision 340ef5eb34d9c507030940b7840b609498420864 (PR-62) > git config core.sparsecheckout # timeout=10 > git checkout -f f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb # 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-62@tmp/jenkins-gitclient-ssh2034809158968170731.key > git merge a218d4f56953046ecdce72b8d912b6fb71d7f601 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 340ef5eb34d9c507030940b7840b609498420864 # timeout=10 Commit message: "Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD" > git rev-list --no-walk f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:58:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:58:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:58:12 ========================================================= 07:58:12 EdgeX Global Pipelines Version Info 07:58:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:58:13 ------------------- 07:58:13 stable info: 07:58:13 ------------------- 07:58:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:13 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 07:58:13 Message: update stable to v1.0.219 07:58:13 ------------------- 07:58:13 experimental info: 07:58:13 ------------------- 07:58:13 Commited By: **** collab-it+edgex@linuxfoundation.org 07:58:13 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 07:58:13 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:58:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 07:58:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 07:58:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:58:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 340ef5eb34d9c507030940b7840b609498420864 [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 340ef5e [Pipeline] echo 07:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:14 provisioning config files... 07:58:14 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config4142516163773793295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:14 ---> docker-login.sh 07:58:14 nexus3.edgexfoundry.org:10001 07:58:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:15 Configure a credential helper to remove this warning. See 07:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:15 07:58:15 Login Succeeded 07:58:15 nexus3.edgexfoundry.org:10002 07:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:15 Configure a credential helper to remove this warning. See 07:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:15 07:58:15 Login Succeeded 07:58:15 nexus3.edgexfoundry.org:10003 07:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:15 Configure a credential helper to remove this warning. See 07:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:15 07:58:15 Login Succeeded 07:58:15 nexus3.edgexfoundry.org:10004 07:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:15 Configure a credential helper to remove this warning. See 07:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:15 07:58:15 Login Succeeded 07:58:15 docker.io 07:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:15 Configure a credential helper to remove this warning. See 07:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:15 07:58:15 Login Succeeded 07:58:15 ---> docker-login.sh ends [Pipeline] } 07:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:58:16 + git rev-list -1 --merges 340ef5eb34d9c507030940b7840b609498420864~1..340ef5eb34d9c507030940b7840b609498420864 [Pipeline] echo 07:58:16 -----------> git rev-list -1 --merges 340ef5eb34d9c507030940b7840b609498420864~1..340ef5eb34d9c507030940b7840b609498420864 340ef5eb34d9c507030940b7840b609498420864 07:58:16 340ef5eb34d9c507030940b7840b609498420864 [false] [Pipeline] sh 07:58:16 + git log --format=format:%s -1 340ef5eb34d9c507030940b7840b609498420864 [Pipeline] echo 07:58:16 ========================================================= 07:58:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:58:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:17 + git log --format=format:%s -1 340ef5eb34d9c507030940b7840b609498420864 [Pipeline] echo 07:58:17 [semverPrep] GIT_COMMIT: 340ef5eb34d9c507030940b7840b609498420864, Commit Message: Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD [Pipeline] echo 07:58:17 [semverPrep] This is not a build commit. [Pipeline] sh 07:58:17 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:58:17 + grep -v github /etc/ssh/ssh_known_hosts 07:58:17 + '[' -e /tmp/ssh_known_hosts ']' 07:58:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:58:17 + sudo tee -a /etc/ssh/ssh_known_hosts 07:58:17 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 07:58:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:17 07:58:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:58:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:18 latest: Pulling from edgex-devops/git-semver 07:58:18 a0d0a0d46f8b: Pulling fs layer 07:58:18 3e5f54012d9b: Pulling fs layer 07:58:18 4c7163046ea9: Pulling fs layer 07:58:18 0c2d73faf560: Pulling fs layer 07:58:18 0c2d73faf560: Waiting 07:58:18 3e5f54012d9b: Verifying Checksum 07:58:18 3e5f54012d9b: Download complete 07:58:18 a0d0a0d46f8b: Verifying Checksum 07:58:18 a0d0a0d46f8b: Download complete 07:58:18 0c2d73faf560: Verifying Checksum 07:58:18 0c2d73faf560: Download complete 07:58:18 4c7163046ea9: Verifying Checksum 07:58:18 4c7163046ea9: Download complete 07:58:18 a0d0a0d46f8b: Pull complete 07:58:18 3e5f54012d9b: Pull complete 07:58:18 4c7163046ea9: Pull complete 07:58:19 0c2d73faf560: Pull complete 07:58:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:58:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:58:19 prd-centos7-docker-4c-2g-4126 does not seem to be running inside a container 07:58:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:58:19 $ docker top 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:19 [ssh-agent] Looking for ssh-agent implementation... 07:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:19 $ docker exec 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d ssh-agent 07:58:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlgHNil/agent.13 07:58:20 SSH_AGENT_PID=19 07:58:20 Running ssh-add (command line suppressed) 07:58:20 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_6668602656942994840.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_6668602656942994840.key) 07:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:20 + git tag --points-at HEAD [Pipeline] } 07:58:20 $ docker exec --env ******** --env ******** 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d ssh-agent -k 07:58:20 unset SSH_AUTH_SOCK; 07:58:20 unset SSH_AGENT_PID; 07:58:20 echo Agent pid 19 killed; 07:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:58:20 [ssh-agent] Looking for ssh-agent implementation... 07:58:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:58:20 $ docker exec 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d ssh-agent 07:58:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMnIlhN/agent.51 07:58:21 SSH_AGENT_PID=56 07:58:21 Running ssh-add (command line suppressed) 07:58:21 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_2584679938907789672.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_2584679938907789672.key) 07:58:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:58:21 + git semver init 07:58:21 # -> Open(): unable to determine branch for HEAD 07:58:21 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-62/.git 07:58:21 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-62 07:58:21 # $SEMVER_REMOTE_NAME = origin 07:58:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:58:21 # $SEMVER_USER_NAME = edgex-jenkins 07:58:21 # $SEMVER_BRANCH = PR-62 07:58:21 # $SEMVER_TEMP = /tmp/semver-825255884 07:58:21 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 07:58:22 # '/tmp/semver-825255884' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-62/.semver' 07:58:22 # -> Force: false 07:58:22 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-62/.semver [Pipeline] } 07:58:22 $ docker exec --env ******** --env ******** 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d ssh-agent -k 07:58:22 unset SSH_AUTH_SOCK; 07:58:22 unset SSH_AGENT_PID; 07:58:22 echo Agent pid 56 killed; 07:58:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:58:23 + git semver [Pipeline] } 07:58:23 $ docker stop --time=1 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d 07:58:24 $ docker rm -f 4b8897ebee3f7c9cd66b9dc2ae9b70cd353b741f22b834a451bea0f89c72f97d [Pipeline] // withDockerContainer [Pipeline] sh 07:58:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:58:25 Stashed 1 file(s) [Pipeline] echo 07:58:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:25 provisioning config files... 07:58:25 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config1279124363487045680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:25 ---> docker-login.sh 07:58:25 nexus3.edgexfoundry.org:10001 07:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:25 Configure a credential helper to remove this warning. See 07:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:25 07:58:25 Login Succeeded 07:58:25 nexus3.edgexfoundry.org:10002 07:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:25 Configure a credential helper to remove this warning. See 07:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:25 07:58:25 Login Succeeded 07:58:25 nexus3.edgexfoundry.org:10003 07:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:25 Configure a credential helper to remove this warning. See 07:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:25 07:58:25 Login Succeeded 07:58:25 nexus3.edgexfoundry.org:10004 07:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:25 Configure a credential helper to remove this warning. See 07:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:25 07:58:25 Login Succeeded 07:58:25 docker.io 07:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:26 Configure a credential helper to remove this warning. See 07:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:26 07:58:26 Login Succeeded 07:58:26 ---> docker-login.sh ends [Pipeline] } 07:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:26 ========================================================= 07:58:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:58:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:58:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 07:58:26 Sending build context to Docker daemon 10.01MB 07:58:26 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 07:58:26 Step 2/13 : FROM ${BASE} AS builder 07:58:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:58:26 59bf1c3509f3: Pulling fs layer 07:58:26 666ba61612fd: Pulling fs layer 07:58:26 8ed8ca486205: Pulling fs layer 07:58:26 4fe6c5a15a65: Pulling fs layer 07:58:26 22a0e8bec74d: Pulling fs layer 07:58:26 f965cba54748: Pulling fs layer 07:58:26 861ffc35075e: Pulling fs layer 07:58:26 4b385c91608e: Pulling fs layer 07:58:26 560528eb2ebb: Pulling fs layer 07:58:26 f965cba54748: Waiting 07:58:26 861ffc35075e: Waiting 07:58:26 4b385c91608e: Waiting 07:58:26 560528eb2ebb: Waiting 07:58:26 22a0e8bec74d: Waiting 07:58:26 4fe6c5a15a65: Waiting 07:58:27 8ed8ca486205: Verifying Checksum 07:58:27 8ed8ca486205: Download complete 07:58:27 666ba61612fd: Verifying Checksum 07:58:27 666ba61612fd: Download complete 07:58:27 22a0e8bec74d: Verifying Checksum 07:58:27 22a0e8bec74d: Download complete 07:58:27 f965cba54748: Verifying Checksum 07:58:27 f965cba54748: Download complete 07:58:27 59bf1c3509f3: Verifying Checksum 07:58:27 59bf1c3509f3: Download complete 07:58:27 861ffc35075e: Verifying Checksum 07:58:27 861ffc35075e: Download complete 07:58:27 4b385c91608e: Verifying Checksum 07:58:27 4b385c91608e: Download complete 07:58:27 560528eb2ebb: Verifying Checksum 07:58:27 560528eb2ebb: Download complete 07:58:27 4fe6c5a15a65: Verifying Checksum 07:58:27 4fe6c5a15a65: Download complete 07:58:27 59bf1c3509f3: Pull complete 07:58:27 666ba61612fd: Pull complete 07:58:28 8ed8ca486205: Pull complete 07:58:32 4fe6c5a15a65: Pull complete 07:58:32 22a0e8bec74d: Pull complete 07:58:32 f965cba54748: Pull complete 07:58:32 861ffc35075e: Pull complete 07:58:32 4b385c91608e: Pull complete 07:58:35 560528eb2ebb: Pull complete 07:58:35 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 07:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:58:35 ---> dd4a08f94e63 07:58:35 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 07:58:37 ---> Running in e6b7884bda3a 07:58:37 Removing intermediate container e6b7884bda3a 07:58:37 ---> 6f53653050e6 07:58:37 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 07:58:37 ---> Running in ad1785d32023 07:58:37 Removing intermediate container ad1785d32023 07:58:37 ---> 2833b3262ead 07:58:37 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:58:37 ---> Running in 53a0cb21dad3 07:58:37 Removing intermediate container 53a0cb21dad3 07:58:37 ---> e179ae0b40d8 07:58:37 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:58:37 ---> Running in a79e49899d18 07:58:38 Removing intermediate container a79e49899d18 07:58:38 ---> ae73fb057421 07:58:38 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:38 ---> Running in 90dbbb4881f0 07:58:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:58:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:58:40 OK: 221 MiB in 52 packages 07:58:40 Removing intermediate container 90dbbb4881f0 07:58:40 ---> 6888d5adaf44 07:58:40 Step 8/13 : WORKDIR /app 07:58:40 ---> Running in ff086977b5d8 07:58:40 Removing intermediate container ff086977b5d8 07:58:40 ---> cfbc7b60d04c 07:58:40 Step 9/13 : COPY go.mod vendor* ./ 07:58:40 ---> e95a9e359368 07:58:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:40 Still waiting to schedule task 07:58:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:58:40 ---> Running in 65ba773dcd6c 07:59:27 Removing intermediate container 65ba773dcd6c 07:59:27 ---> 742ffd1148d9 07:59:27 Step 11/13 : COPY . . 07:59:27 ---> 6426d8244bb1 07:59:27 Step 12/13 : ARG MAKE="make build" 07:59:27 ---> Running in 5389dc081546 07:59:27 Removing intermediate container 5389dc081546 07:59:27 ---> 404887e6a493 07:59:27 Step 13/13 : RUN $MAKE 07:59:27 ---> Running in 2e4ef59ef7ca 07:59:27 noop 07:59:27 Removing intermediate container 2e4ef59ef7ca 07:59:27 ---> 723969bbfd07 07:59:27 Successfully built 723969bbfd07 07:59:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:59:27 + docker inspect -f . ci-base-image-x86_64 07:59:27 . [Pipeline] withDockerContainer 07:59:27 prd-centos7-docker-4c-2g-4126 does not seem to be running inside a container 07:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:28 $ docker top 81fab0f8613160b1856f5a8cbb359370c26e91762b3e10a9c75f322520f3b639 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:28 + go version 07:59:28 go version go1.17.6 linux/amd64 [Pipeline] } 07:59:28 $ docker stop --time=1 81fab0f8613160b1856f5a8cbb359370c26e91762b3e10a9c75f322520f3b639 07:59:29 $ docker rm -f 81fab0f8613160b1856f5a8cbb359370c26e91762b3e10a9c75f322520f3b639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:59:30 + docker inspect -f . ci-base-image-x86_64 07:59:30 . [Pipeline] withDockerContainer 07:59:30 prd-centos7-docker-4c-2g-4126 does not seem to be running inside a container 07:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:59:30 $ docker top bdb53cc8204ea59a32392e66a24753f1a6765caea90b5fb16e49b7a779d2ce49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:59:31 + make test 07:59:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:59:46 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 07:59:47 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.020s coverage: 86.2% of statements 07:59:47 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 07:59:50 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.537s coverage: 71.9% of statements 07:59:50 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:00:03 internal/inventory/app/controller.go:35:2: `coreDataPostTimeout` is unused (deadcode) 08:00:03 coreDataPostTimeout = 3 * time.Minute 08:00:03 ^ 08:00:03 make: *** [Makefile:35: lint] Error 1 [Pipeline] } 08:00:03 $ docker stop --time=1 bdb53cc8204ea59a32392e66a24753f1a6765caea90b5fb16e49b7a779d2ce49 08:00:04 $ docker rm -f bdb53cc8204ea59a32392e66a24753f1a6765caea90b5fb16e49b7a779d2ce49 [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 08:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:05 08:00:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:00:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:05 latest: Pulling from edgex-lftools-log-publisher 08:00:05 b4d181a07f80: Pulling fs layer 08:00:05 a1111a8f2ec3: Pulling fs layer 08:00:05 ed53099fbce6: Pulling fs layer 08:00:05 dc539afda2c1: Pulling fs layer 08:00:05 77bc0d833cb6: Pulling fs layer 08:00:05 9065ff56babe: Pulling fs layer 08:00:05 d287ab97295c: Pulling fs layer 08:00:05 77bc0d833cb6: Waiting 08:00:05 9065ff56babe: Waiting 08:00:05 d287ab97295c: Waiting 08:00:05 dc539afda2c1: Waiting 08:00:05 a1111a8f2ec3: Verifying Checksum 08:00:05 a1111a8f2ec3: Download complete 08:00:05 dc539afda2c1: Verifying Checksum 08:00:05 dc539afda2c1: Download complete 08:00:05 ed53099fbce6: Verifying Checksum 08:00:05 ed53099fbce6: Download complete 08:00:05 9065ff56babe: Verifying Checksum 08:00:05 9065ff56babe: Download complete 08:00:05 77bc0d833cb6: Verifying Checksum 08:00:05 77bc0d833cb6: Download complete 08:00:05 b4d181a07f80: Download complete 08:00:06 d287ab97295c: Verifying Checksum 08:00:06 d287ab97295c: Download complete 08:00:07 b4d181a07f80: Pull complete 08:00:07 a1111a8f2ec3: Pull complete 08:00:08 ed53099fbce6: Pull complete 08:00:08 dc539afda2c1: Pull complete 08:00:08 77bc0d833cb6: Pull complete 08:00:08 9065ff56babe: Pull complete 08:00:13 d287ab97295c: Pull complete 08:00:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 08:00:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:00:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:00:14 prd-centos7-docker-4c-2g-4126 does not seem to be running inside a container 08:00:14 $ 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/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@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 08:00:16 $ docker top a686a82c0a15b6c26e02f1148538d38788246c06eefefac30b4abb806573391b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:17 ---> job-cost.sh 08:00:17 lf-activate-venv: SKIPPING 08:00:17 INFO: No Stack... 08:00:17 INFO: Retrieving Pricing Info for: v3-standard-2 08:00:17 INFO: Archiving Costs [Pipeline] sh 08:00:18 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/cost.csv 08:00:18 + cut -d, -f6 [Pipeline] lock 08:00:18 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] 08:00:18 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] did not exist. Created. 08:00:18 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:00:18 + echo total: 0.05999999865889549 [Pipeline] stash 08:00:18 Stashed 1 file(s) [Pipeline] } 08:00:18 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:00:18 $ docker stop --time=1 a686a82c0a15b6c26e02f1148538d38788246c06eefefac30b4abb806573391b 08:00:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4127 in /w/workspace/ry_app-rfid-llrp-inventory_PR-62 08:00:19 $ docker rm -f a686a82c0a15b6c26e02f1148538d38788246c06eefefac30b4abb806573391b [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 08:00:19 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:00:19 Failed in branch amd64 08:00:19 The recommended git tool is: git 08:00:24 using credential edgex-jenkins-ssh 08:00:24 Cloning the remote Git repository 08:00:24 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:25 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 08:00:25 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:25 > git --version # timeout=10 08:00:25 > git --version # 'git version 2.17.1' 08:00:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:27 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:27 Merging remotes/origin/main commit a218d4f56953046ecdce72b8d912b6fb71d7f601 into PR head commit f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb 08:00:28 Merge succeeded, producing 82d8f17dc7c43484c453b8e09bbc16301e919b1f 08:00:28 Checking out Revision 82d8f17dc7c43484c453b8e09bbc16301e919b1f (PR-62) 08:00:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:27 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 08:00:27 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 08:00:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:00:27 > git config core.sparsecheckout # timeout=10 08:00:27 > git checkout -f f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb # timeout=10 08:00:28 > git remote # timeout=10 08:00:28 > git config --get remote.origin.url # timeout=10 08:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:28 > git merge a218d4f56953046ecdce72b8d912b6fb71d7f601 # timeout=10 08:00:28 > git rev-parse HEAD^{commit} # timeout=10 08:00:28 > git config core.sparsecheckout # timeout=10 08:00:28 > git checkout -f 82d8f17dc7c43484c453b8e09bbc16301e919b1f # timeout=10 08:00:32 Commit message: "Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD" 08:00:32 > git rev-list --no-walk f8a2e6b0bebc1936d12a859c286b3d880e0b3ccb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:00:33 % Total % Received % Xferd Average Speed Time Time Time Current 08:00:33 Dload Upload Total Spent Left Speed 08:00:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 60116 0 --:--:-- --:--:-- --:--:-- 60423 [Pipeline] sh 08:00:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:00:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:00:34 + sudo tee /etc/docker/daemon.new 08:00:34 { 08:00:34 "registry-mirrors": [ 08:00:34 "https://nexus3.edgexfoundry.org:10001" 08:00:34 ], 08:00:34 "bip": "10.250.0.254/24", 08:00:34 "hosts": [ 08:00:34 "tcp://0.0.0.0:5555", 08:00:34 "unix:///var/run/docker.sock" 08:00:34 ], 08:00:34 "mtu": 1458, 08:00:34 "selinux-enabled": true, 08:00:34 "seccomp-profile": "/etc/docker/seccomp.json" 08:00:34 } [Pipeline] sh 08:00:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:00:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:00:53 provisioning config files... 08:00:53 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config3343550733656535557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:54 ---> docker-login.sh 08:00:54 nexus3.edgexfoundry.org:10001 08:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:54 Configure a credential helper to remove this warning. See 08:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:54 08:00:54 Login Succeeded 08:00:54 nexus3.edgexfoundry.org:10002 08:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:55 Configure a credential helper to remove this warning. See 08:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:55 08:00:55 Login Succeeded 08:00:55 nexus3.edgexfoundry.org:10003 08:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:56 Configure a credential helper to remove this warning. See 08:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:56 08:00:56 Login Succeeded 08:00:56 nexus3.edgexfoundry.org:10004 08:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:56 Configure a credential helper to remove this warning. See 08:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:56 08:00:56 Login Succeeded 08:00:56 docker.io 08:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:57 Configure a credential helper to remove this warning. See 08:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:57 08:00:57 Login Succeeded 08:00:57 ---> docker-login.sh ends [Pipeline] } 08:00:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:00:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:00:57 ========================================================= 08:00:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:00:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:00:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:00:58 Sending build context to Docker daemon 682kB 08:00:58 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:00:58 Step 2/13 : FROM ${BASE} AS builder 08:00:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:00:58 9b3977197b4f: Pulling fs layer 08:00:58 1a89e8eeedd5: Pulling fs layer 08:00:58 94645a83ff95: Pulling fs layer 08:00:58 3f3a8bcf1eab: Pulling fs layer 08:00:58 0c92f367c5e7: Pulling fs layer 08:00:58 3f3a8bcf1eab: Waiting 08:00:58 4b8299f9d1f4: Pulling fs layer 08:00:58 9a6b49a46696: Pulling fs layer 08:00:58 cf05db05a679: Pulling fs layer 08:00:58 9a6b49a46696: Waiting 08:00:58 4b8299f9d1f4: Waiting 08:00:58 cf05db05a679: Waiting 08:00:58 0c92f367c5e7: Waiting 08:00:58 94645a83ff95: Verifying Checksum 08:00:58 1a89e8eeedd5: Verifying Checksum 08:00:58 1a89e8eeedd5: Download complete 08:00:58 0c92f367c5e7: Verifying Checksum 08:00:58 0c92f367c5e7: Download complete 08:00:58 4b8299f9d1f4: Verifying Checksum 08:00:58 4b8299f9d1f4: Download complete 08:00:58 9b3977197b4f: Verifying Checksum 08:00:58 9a6b49a46696: Verifying Checksum 08:00:58 9a6b49a46696: Download complete 08:00:59 9b3977197b4f: Pull complete 08:01:00 1a89e8eeedd5: Pull complete 08:01:00 94645a83ff95: Pull complete 08:01:00 cf05db05a679: Download complete 08:01:01 3f3a8bcf1eab: Verifying Checksum 08:01:01 3f3a8bcf1eab: Download complete 08:01:13 3f3a8bcf1eab: Pull complete 08:01:13 0c92f367c5e7: Pull complete 08:01:13 4b8299f9d1f4: Pull complete 08:01:14 9a6b49a46696: Pull complete 08:01:20 cf05db05a679: Pull complete 08:01:20 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 08:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:01:20 ---> 0ccda1f7e2ee 08:01:20 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:01:21 ---> Running in b53c614853fd 08:01:21 Removing intermediate container b53c614853fd 08:01:21 ---> 34ab3a0788b7 08:01:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:01:21 ---> Running in 7a73df412266 08:01:22 Removing intermediate container 7a73df412266 08:01:22 ---> 366b3580ed0f 08:01:22 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:22 ---> Running in 57052f2a0435 08:01:22 Removing intermediate container 57052f2a0435 08:01:22 ---> 60e6aa4bee90 08:01:22 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:22 ---> Running in 7f295373efd5 08:01:24 Removing intermediate container 7f295373efd5 08:01:24 ---> be948015ffa5 08:01:24 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:24 ---> Running in de6abcac1f57 08:01:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:01:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:01:27 OK: 220 MiB in 52 packages 08:01:28 Removing intermediate container de6abcac1f57 08:01:28 ---> 91553bb905d0 08:01:28 Step 8/13 : WORKDIR /app 08:01:29 ---> Running in b4e5917a1474 08:01:29 Removing intermediate container b4e5917a1474 08:01:29 ---> f9a4deb4e0a8 08:01:29 Step 9/13 : COPY go.mod vendor* ./ 08:01:29 ---> 3e5b980f6d5b 08:01:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:30 ---> Running in 8e72bfb6b343 08:02:52 Removing intermediate container 8e72bfb6b343 08:02:52 ---> 9364b4990403 08:02:52 Step 11/13 : COPY . . 08:02:52 ---> c5485a608675 08:02:52 Step 12/13 : ARG MAKE="make build" 08:02:52 ---> Running in c568465e5044 08:02:52 Removing intermediate container c568465e5044 08:02:52 ---> 4e207892d847 08:02:52 Step 13/13 : RUN $MAKE 08:02:52 ---> Running in a92013a2d962 08:02:52 noop 08:02:52 Removing intermediate container a92013a2d962 08:02:52 ---> 7f388fef754a 08:02:52 Successfully built 7f388fef754a 08:02:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:02:52 + docker inspect -f . ci-base-image-arm64 08:02:52 . [Pipeline] withDockerContainer 08:02:52 prd-ubuntu18.04-docker-arm64-4c-16g-4127 does not seem to be running inside a container 08:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:02:53 $ docker top 30d8732eed8569b0b065be8fb851568829606e95167007aab8ae6a9afe164fbe -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:54 + go version 08:02:54 go version go1.17.6 linux/arm64 [Pipeline] } 08:02:54 $ docker stop --time=1 30d8732eed8569b0b065be8fb851568829606e95167007aab8ae6a9afe164fbe 08:02:56 $ docker rm -f 30d8732eed8569b0b065be8fb851568829606e95167007aab8ae6a9afe164fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:02:57 + docker inspect -f . ci-base-image-arm64 08:02:57 . [Pipeline] withDockerContainer 08:02:57 prd-ubuntu18.04-docker-arm64-4c-16g-4127 does not seem to be running inside a container 08:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:02:58 $ docker top 2b2a87d086b3fb589a57fdf09b9c262914fdd7bd52bb34eef69dcb6a3d8991b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:02:59 + make test 08:02:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:03:56 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 08:03:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.146s coverage: 86.2% of statements 08:03:56 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 08:04:00 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.700s coverage: 71.9% of statements 08:04:00 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 08:04:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:04:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:04:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:04:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:04:22 ./bin/test-attribution.sh [Pipeline] echo 08:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:04:24 $ docker stop --time=1 2b2a87d086b3fb589a57fdf09b9c262914fdd7bd52bb34eef69dcb6a3d8991b5 08:04:26 $ docker rm -f 2b2a87d086b3fb589a57fdf09b9c262914fdd7bd52bb34eef69dcb6a3d8991b5 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:29 + ls -al . 08:04:29 total 236 08:04:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 08:04 . 08:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:00 .. 08:04:29 -rw-rw-r-- 1 jenkins jenkins 262 Jan 28 08:00 .dockerignore 08:04:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 08:00 .git 08:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:00 .github 08:04:29 -rw-rw-r-- 1 jenkins jenkins 788 Jan 28 08:00 .gitignore 08:04:29 -rw-rw-r-- 1 jenkins jenkins 41 Jan 28 08:00 .golangci.yml 08:04:29 -rw-rw-r-- 1 jenkins jenkins 8248 Jan 28 08:00 Attribution.txt 08:04:29 -rw-rw-r-- 1 jenkins jenkins 1923 Jan 28 08:00 Dockerfile 08:04:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 28 08:00 GOVERNANCE.md 08:04:29 -rw-rw-r-- 1 jenkins jenkins 686 Jan 28 08:00 Jenkinsfile 08:04:29 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 28 08:00 LICENSE 08:04:29 -rw-rw-r-- 1 jenkins jenkins 2095 Jan 28 08:00 Makefile 08:04:29 -rw-rw-r-- 1 jenkins jenkins 617 Jan 28 08:00 OWNERS.md 08:04:29 -rw-rw-r-- 1 jenkins jenkins 31205 Jan 28 08:00 README.md 08:04:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 07:58 VERSION 08:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:00 bin 08:04:29 -rw-r--r-- 1 jenkins jenkins 41008 Jan 28 08:04 coverage.out 08:04:29 -rw-rw-r-- 1 jenkins jenkins 3019 Jan 28 08:04 go.mod 08:04:29 -rw-rw-r-- 1 jenkins jenkins 49531 Jan 28 08:00 go.sum 08:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:00 images 08:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:00 internal 08:04:29 -rw-rw-r-- 1 jenkins jenkins 531 Jan 28 08:00 main.go 08:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 08:00 res 08:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 08:00 snap 08:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 28 08:00 static [Pipeline] isUnix [Pipeline] sh 08:04:29 + 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=82d8f17dc7c43484c453b8e09bbc16301e919b1f --label arch=arm64 --label version=0.0.0 . 08:04:30 Sending build context to Docker daemon 682kB 08:04:30 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 08:04:30 Step 2/31 : FROM ${BASE} AS builder 08:04:30 ---> 7f388fef754a 08:04:30 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:04:30 ---> Running in 09adc1711923 08:04:30 Removing intermediate container 09adc1711923 08:04:30 ---> 6dae50bb782a 08:04:30 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 08:04:30 ---> Running in 6bfa712bc518 08:04:31 Removing intermediate container 6bfa712bc518 08:04:31 ---> 1ca4479b0f81 08:04:31 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:31 ---> Running in 9f8d41d6bfd4 08:04:31 Removing intermediate container 9f8d41d6bfd4 08:04:31 ---> f978717bd083 08:04:31 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:31 ---> Running in 63f576345f3f 08:04:33 Removing intermediate container 63f576345f3f 08:04:33 ---> 8a6e964ae0ca 08:04:33 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:33 ---> Running in 56229c9e475a 08:04:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:04:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:04:36 OK: 220 MiB in 52 packages 08:04:37 Removing intermediate container 56229c9e475a 08:04:37 ---> 7f84104f2fe7 08:04:37 Step 8/31 : WORKDIR /app 08:04:37 ---> Running in 1b2a5f155680 08:04:37 Removing intermediate container 1b2a5f155680 08:04:37 ---> 4c812b044fc3 08:04:37 Step 9/31 : COPY go.mod vendor* ./ 08:04:38 ---> e215bdc4eba3 08:04:38 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:38 ---> Running in d2dd31f2583f 08:04:40 Removing intermediate container d2dd31f2583f 08:04:40 ---> b8f24809b900 08:04:40 Step 11/31 : COPY . . 08:04:41 ---> fb75679f9af0 08:04:41 Step 12/31 : ARG MAKE="make build" 08:04:41 ---> Running in fa18e22c734b 08:04:41 Removing intermediate container fa18e22c734b 08:04:41 ---> c0bcbb671a81 08:04:41 Step 13/31 : RUN $MAKE 08:04:41 ---> Running in f62b0e38a71e 08:04:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -o app-rfid-llrp-inventory 08:05:30 Removing intermediate container f62b0e38a71e 08:05:30 ---> f997292f49a3 08:05:30 Step 14/31 : FROM alpine:3.14 08:05:30 3.14: Pulling from library/alpine 08:05:30 be307f383ecc: Pulling fs layer 08:05:30 be307f383ecc: Download complete 08:05:30 be307f383ecc: Pull complete 08:05:30 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 08:05:30 Status: Downloaded newer image for alpine:3.14 08:05:30 ---> 5b8b7b635229 08:05:30 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:30 ---> Running in 89ae145cb063 08:05:31 Removing intermediate container 89ae145cb063 08:05:31 ---> a0a7d3036f21 08:05:31 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 08:05:31 ---> Running in 3510385f8a4a 08:05:31 Removing intermediate container 3510385f8a4a 08:05:31 ---> 229804585c8b 08:05:31 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:31 ---> Running in 315451f85015 08:05:33 Removing intermediate container 315451f85015 08:05:33 ---> 1699e3130388 08:05:33 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 08:05:33 ---> Running in e1c1e4d2ce0e 08:05:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:05:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:05:36 (1/6) Installing ca-certificates (20211220-r0) 08:05:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:05:36 (3/6) Installing libsodium (1.0.18-r0) 08:05:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:05:36 (5/6) Installing libzmq (4.3.4-r0) 08:05:36 (6/6) Installing zeromq (4.3.4-r0) 08:05:36 Executing busybox-1.33.1-r6.trigger 08:05:36 Executing ca-certificates-20211220-r0.trigger 08:05:37 OK: 9 MiB in 20 packages 08:05:38 Removing intermediate container e1c1e4d2ce0e 08:05:38 ---> d0c3f880353d 08:05:38 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:05:39 ---> 1b9ca980b49c 08:05:39 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 08:05:39 ---> 39a6a457f327 08:05:39 Step 21/31 : COPY --from=builder /app/res/ /res/ 08:05:40 ---> 78c4835ad0b5 08:05:40 Step 22/31 : COPY --from=builder /app/static/ /static/ 08:05:40 ---> d4aad1fc2b89 08:05:40 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 08:05:41 ---> 50cf5ae0fb33 08:05:41 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 08:05:41 ---> Running in 9e0bd6bf2c79 08:05:43 Removing intermediate container 9e0bd6bf2c79 08:05:43 ---> 74dc4c855c24 08:05:43 Step 25/31 : VOLUME /cache 08:05:43 ---> Running in 747aeeb66a41 08:05:43 Removing intermediate container 747aeeb66a41 08:05:43 ---> 72a77d49f1d4 08:05:43 Step 26/31 : EXPOSE 59711 08:05:43 ---> Running in fe2a32074b44 08:05:44 Removing intermediate container fe2a32074b44 08:05:44 ---> db15300d686e 08:05:44 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 08:05:44 ---> Running in 6122a03796cc 08:05:44 Removing intermediate container 6122a03796cc 08:05:44 ---> cc08b7b2c282 08:05:44 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 08:05:44 ---> Running in 1ab09bbbb9ba 08:05:45 Removing intermediate container 1ab09bbbb9ba 08:05:45 ---> 2efea930c963 08:05:45 Step 29/31 : LABEL arch=arm64 08:05:45 ---> Running in 9f581ea001fa 08:05:45 Removing intermediate container 9f581ea001fa 08:05:45 ---> 5c252c755e3d 08:05:45 Step 30/31 : LABEL git_sha=82d8f17dc7c43484c453b8e09bbc16301e919b1f 08:05:45 ---> Running in ae2467a5a34f 08:05:45 Removing intermediate container ae2467a5a34f 08:05:45 ---> d7901b32c9a4 08:05:45 Step 31/31 : LABEL version=0.0.0 08:05:45 ---> Running in 0d95c5355453 08:05:46 Removing intermediate container 0d95c5355453 08:05:46 ---> a8163f170da2 08:05:46 [Warning] One or more build-args [ARCH] were not consumed 08:05:46 Successfully built a8163f170da2 08:05:46 Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:05:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:46 08:05:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:05:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:47 arm64: Pulling from edgex-lftools-log-publisher 08:05:47 448f6bf000e3: Pulling fs layer 08:05:47 f757da607395: Pulling fs layer 08:05:47 05883995daec: Pulling fs layer 08:05:47 8603b9c90790: Pulling fs layer 08:05:47 1560dd03e051: Pulling fs layer 08:05:47 27f5ce0e4adf: Pulling fs layer 08:05:47 c2d8d7efcc4b: Pulling fs layer 08:05:47 8603b9c90790: Waiting 08:05:47 27f5ce0e4adf: Waiting 08:05:47 c2d8d7efcc4b: Waiting 08:05:47 1560dd03e051: Waiting 08:05:47 f757da607395: Verifying Checksum 08:05:47 f757da607395: Download complete 08:05:47 8603b9c90790: Verifying Checksum 08:05:47 8603b9c90790: Download complete 08:05:47 1560dd03e051: Verifying Checksum 08:05:47 1560dd03e051: Download complete 08:05:47 05883995daec: Verifying Checksum 08:05:47 05883995daec: Download complete 08:05:47 27f5ce0e4adf: Verifying Checksum 08:05:47 27f5ce0e4adf: Download complete 08:05:47 448f6bf000e3: Verifying Checksum 08:05:47 448f6bf000e3: Download complete 08:05:50 c2d8d7efcc4b: Verifying Checksum 08:05:50 c2d8d7efcc4b: Download complete 08:05:51 448f6bf000e3: Pull complete 08:05:52 f757da607395: Pull complete 08:05:53 05883995daec: Pull complete 08:05:53 8603b9c90790: Pull complete 08:05:54 1560dd03e051: Pull complete 08:05:55 27f5ce0e4adf: Pull complete 08:06:10 c2d8d7efcc4b: Pull complete 08:06:10 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 08:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:06:10 prd-ubuntu18.04-docker-arm64-4c-16g-4127 does not seem to be running inside a container 08:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:06:13 $ docker top 6d1c17a1cc4f0a361652c895e759b689d84c6e3f4cbbadf0f3b40687dc852d3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:14 ---> job-cost.sh 08:06:14 lf-activate-venv: SKIPPING 08:06:14 INFO: No Stack... 08:06:14 INFO: Retrieving Pricing Info for: v3-standard-4 08:06:14 INFO: Archiving Costs [Pipeline] sh 08:06:15 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 08:06:15 + cut -d, -f6 [Pipeline] lock 08:06:15 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] 08:06:15 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] did not exist. Created. 08:06:15 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:16 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-372880f0/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-372880f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:06:16 + echo total: 0.10999999940395355 [Pipeline] stash 08:06:16 Warning: overwriting stash ‘stack-cost’ 08:06:16 Stashed 1 file(s) [Pipeline] } 08:06:16 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:16 $ docker stop --time=1 6d1c17a1cc4f0a361652c895e759b689d84c6e3f4cbbadf0f3b40687dc852d3d 08:06:18 $ docker rm -f 6d1c17a1cc4f0a361652c895e759b689d84c6e3f4cbbadf0f3b40687dc852d3d [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 08:06:19 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives ']' 08:06:19 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 08:06:19 total 8 08:06:19 drwxr-xr-x. 3 root root 34 Jan 28 08:00 . 08:06:19 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 28 08:00 .. 08:06:19 drwxr-xr-x. 2 root root 6 Jan 28 08:00 cost 08:06:19 -rw-r--r--. 1 root root 93 Jan 28 08:00 cost.csv 08:06:19 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 08:06:19 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 08:06:19 total 8 08:06:19 drwxr-xr-x. 3 jenkins jenkins 34 Jan 28 08:00 . 08:06:19 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 28 08:00 .. 08:06:19 drwxr-xr-x. 2 jenkins jenkins 6 Jan 28 08:00 cost 08:06:19 -rw-r--r--. 1 jenkins jenkins 93 Jan 28 08:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:06:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:06:20 ---> package-listing.sh 08:06:20 ++ facter osfamily 08:06:20 ++ tr '[:upper:]' '[:lower:]' 08:06:20 + OS_FAMILY=redhat 08:06:20 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-62 08:06:20 + START_PACKAGES=/tmp/packages_start.txt 08:06:20 + END_PACKAGES=/tmp/packages_end.txt 08:06:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:06:20 + PACKAGES=/tmp/packages_start.txt 08:06:20 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-62 ']' 08:06:20 + PACKAGES=/tmp/packages_end.txt 08:06:20 + case "${OS_FAMILY}" in 08:06:20 + rpm -qa 08:06:20 + sort 08:06:21 + '[' -f /tmp/packages_start.txt ']' 08:06:21 + '[' -f /tmp/packages_end.txt ']' 08:06:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:06:21 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-62 ']' 08:06:21 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/ 08:06:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/ [Pipeline] echo 08:06:21 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-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:06:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:22 . [Pipeline] withDockerContainer 08:06:22 prd-centos7-docker-4c-2g-4126 does not seem to be running inside a container 08:06:22 $ 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-62/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-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:06:22 $ docker top c7316965c825912307af6c7dcb9abcdf99a2ab8c079e55823ba6fb9ae98b9ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:06:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:06:23 + ls /var/log/sa-host 08:06:23 + sadf -c /var/log/sa-host/sa17 08:06:23 file_magic: OK 08:06:23 HZ: Using current value: 100 08:06:23 file_header: OK 08:06:23 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 08:06:23 Statistics: 08:06:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:06:23 File successfully converted to sysstat format version 12.0.3 08:06:23 + sadf -c /var/log/sa-host/sa28 08:06:23 file_magic: OK 08:06:23 HZ: Using current value: 100 08:06:23 file_header: OK 08:06:23 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 08:06:23 Statistics: 08:06:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:06:23 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:23 provisioning config files... 08:06:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config1588010826344095124tmp [Pipeline] { [Pipeline] echo 08:06:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:24 ---> create-netrc.sh [Pipeline] } 08:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:06:24 ---> python-tools-install.sh [Pipeline] echo 08:06:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:06:24 ---> sudo-logs.sh 08:06:24 Archiving 'sudo' log.. 08:06:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-4126.novalocal: Name or service not known 08:06:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-4126.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 08:06:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:06:25 ---> job-cost.sh 08:06:25 lf-activate-venv: SKIPPING 08:06:25 DEBUG: total: 0.05999999865889549 08:06:25 INFO: Retrieving Stack Cost... 08:06:25 INFO: Retrieving Pricing Info for: v3-standard-2 08:06:26 INFO: Archiving Costs [Pipeline] echo 08:06:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:26 ---> logs-deploy.sh 08:06:26 lf-activate-venv: SKIPPING 08:06:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-62/2 08:06:26 INFO: archiving workspace using pattern(s): 08:06:26 Archives upload complete. 08:06:27 INFO: archiving logs to Nexus