Pull request #61 opened 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 ernestojeda for edgexfoundry/app-rfid-llrp-inventory Obtained Jenkinsfile from b4b7277e3ee2b78609c4c6715577bc70959439fb+73352f13c22898f0de2d6cc31dffe6c8878b64bc (f9909688a39862ad302078c3db0518e1ec0bd8fb) 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-ssh11950920435268481427.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-ssh559247594605127250.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/edgex-global-pipelines # timeout=10 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-61/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16051247157009405619.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-61/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6911089269736009475.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1348286665373089364.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-61/workspace@libs/lf-pipelines # timeout=10 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-61/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14979809496389363564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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-1825 in /w/workspace/ry_app-rfid-llrp-inventory_PR-61 [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-61 # 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-61@tmp/jenkins-gitclient-ssh5325861402290278702.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73352f13c22898f0de2d6cc31dffe6c8878b64bc into PR head commit b4b7277e3ee2b78609c4c6715577bc70959439fb > 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-61@tmp/jenkins-gitclient-ssh9065709291365154340.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # 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-61@tmp/jenkins-gitclient-ssh4267252161349354118.key > git merge 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 Merge succeeded, producing b4b7277e3ee2b78609c4c6715577bc70959439fb Checking out Revision b4b7277e3ee2b78609c4c6715577bc70959439fb (PR-61) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 Commit message: "ci: Go 1.17 Dockerfile changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:53 ========================================================= 17:22:53 EdgeX Global Pipelines Version Info 17:22:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:54 ------------------- 17:22:54 stable info: 17:22:54 ------------------- 17:22:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:54 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:22:54 Message: update stable to v1.0.219 17:22:54 ------------------- 17:22:54 experimental info: 17:22:54 ------------------- 17:22:54 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:54 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:22:54 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4b7277 [Pipeline] echo 17:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:56 provisioning config files... 17:22:56 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config5252080621636136681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:56 ---> docker-login.sh 17:22:56 nexus3.edgexfoundry.org:10001 17:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:57 Configure a credential helper to remove this warning. See 17:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:57 17:22:57 Login Succeeded 17:22:57 nexus3.edgexfoundry.org:10002 17:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:57 Configure a credential helper to remove this warning. See 17:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:57 17:22:57 Login Succeeded 17:22:57 nexus3.edgexfoundry.org:10003 17:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:57 Configure a credential helper to remove this warning. See 17:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:57 17:22:57 Login Succeeded 17:22:57 nexus3.edgexfoundry.org:10004 17:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:57 Configure a credential helper to remove this warning. See 17:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:57 17:22:57 Login Succeeded 17:22:57 docker.io 17:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:57 Configure a credential helper to remove this warning. See 17:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:57 17:22:57 Login Succeeded 17:22:57 ---> docker-login.sh ends [Pipeline] } 17:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:22:58 + git rev-list -1 --merges b4b7277e3ee2b78609c4c6715577bc70959439fb~1..b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo 17:22:58 -----------> git rev-list -1 --merges b4b7277e3ee2b78609c4c6715577bc70959439fb~1..b4b7277e3ee2b78609c4c6715577bc70959439fb b4b7277e3ee2b78609c4c6715577bc70959439fb [false] [Pipeline] sh 17:22:58 + git log --format=format:%s -1 b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo 17:22:58 ========================================================= 17:22:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:22:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:59 + git log --format=format:%s -1 b4b7277e3ee2b78609c4c6715577bc70959439fb [Pipeline] echo 17:22:59 [semverPrep] GIT_COMMIT: b4b7277e3ee2b78609c4c6715577bc70959439fb, Commit Message: ci: Go 1.17 Dockerfile changes [Pipeline] echo 17:22:59 [semverPrep] This is not a build commit. [Pipeline] sh 17:22:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 17:22:59 + grep -v github /etc/ssh/ssh_known_hosts 17:22:59 + '[' -e /tmp/ssh_known_hosts ']' 17:22:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:22:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 17:22:59 + sudo tee -a /etc/ssh/ssh_known_hosts 17:22:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:00 17:23:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:23:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:00 latest: Pulling from edgex-devops/git-semver 17:23:00 a0d0a0d46f8b: Pulling fs layer 17:23:00 3e5f54012d9b: Pulling fs layer 17:23:00 4c7163046ea9: Pulling fs layer 17:23:00 0c2d73faf560: Pulling fs layer 17:23:00 0c2d73faf560: Waiting 17:23:00 3e5f54012d9b: Verifying Checksum 17:23:00 3e5f54012d9b: Download complete 17:23:00 a0d0a0d46f8b: Verifying Checksum 17:23:00 a0d0a0d46f8b: Download complete 17:23:00 4c7163046ea9: Verifying Checksum 17:23:00 4c7163046ea9: Download complete 17:23:00 0c2d73faf560: Verifying Checksum 17:23:00 0c2d73faf560: Download complete 17:23:00 a0d0a0d46f8b: Pull complete 17:23:00 3e5f54012d9b: Pull complete 17:23:01 4c7163046ea9: Pull complete 17:23:01 0c2d73faf560: Pull complete 17:23:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:23:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:23:01 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 17:23:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:23:02 $ docker top d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:02 [ssh-agent] Looking for ssh-agent implementation... 17:23:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:02 $ docker exec d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent 17:23:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDaIodk/agent.13 17:23:02 SSH_AGENT_PID=20 17:23:02 Running ssh-add (command line suppressed) 17:23:02 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_1132164405921726973.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_1132164405921726973.key) 17:23:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:03 + git tag --points-at HEAD [Pipeline] } 17:23:03 $ docker exec --env ******** --env ******** d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent -k 17:23:03 unset SSH_AUTH_SOCK; 17:23:03 unset SSH_AGENT_PID; 17:23:03 echo Agent pid 20 killed; 17:23:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:03 [ssh-agent] Looking for ssh-agent implementation... 17:23:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:03 $ docker exec d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent 17:23:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBcDNdB/agent.53 17:23:03 SSH_AGENT_PID=59 17:23:03 Running ssh-add (command line suppressed) 17:23:03 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_8403676028878198627.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/private_key_8403676028878198627.key) 17:23:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:03 + git semver init 17:23:03 # -> Open(): unable to determine branch for HEAD 17:23:03 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-61/.git 17:23:03 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-61 17:23:03 # $SEMVER_REMOTE_NAME = origin 17:23:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:23:03 # $SEMVER_USER_NAME = edgex-jenkins 17:23:03 # $SEMVER_BRANCH = PR-61 17:23:03 # $SEMVER_TEMP = /tmp/semver-912363083 17:23:03 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 17:23:05 # '/tmp/semver-912363083' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-61/.semver' 17:23:05 # -> Force: false 17:23:05 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-61/.semver [Pipeline] } 17:23:05 $ docker exec --env ******** --env ******** d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d ssh-agent -k 17:23:05 unset SSH_AUTH_SOCK; 17:23:05 unset SSH_AGENT_PID; 17:23:05 echo Agent pid 59 killed; 17:23:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:05 + git semver [Pipeline] } 17:23:05 $ docker stop --time=1 d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d 17:23:07 $ docker rm -f d85db29ecf113043c4e3bc47e6baffad933c682ea94de06ef19aa493e3828e5d [Pipeline] // withDockerContainer [Pipeline] sh 17:23:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:07 Stashed 1 file(s) [Pipeline] echo 17:23:07 [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 17:23:08 provisioning config files... 17:23:08 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config50758171488877979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:08 ---> docker-login.sh 17:23:08 nexus3.edgexfoundry.org:10001 17:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:08 Configure a credential helper to remove this warning. See 17:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:08 17:23:08 Login Succeeded 17:23:08 nexus3.edgexfoundry.org:10002 17:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:08 Configure a credential helper to remove this warning. See 17:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:08 17:23:08 Login Succeeded 17:23:08 nexus3.edgexfoundry.org:10003 17:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:09 Configure a credential helper to remove this warning. See 17:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:09 17:23:09 Login Succeeded 17:23:09 nexus3.edgexfoundry.org:10004 17:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:09 Configure a credential helper to remove this warning. See 17:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:09 17:23:09 Login Succeeded 17:23:09 docker.io 17:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:09 Configure a credential helper to remove this warning. See 17:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:09 17:23:09 Login Succeeded 17:23:09 ---> docker-login.sh ends [Pipeline] } 17:23:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:09 ========================================================= 17:23:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:23:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:23:10 + 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 . 17:23:10 Sending build context to Docker daemon 9.88MB 17:23:10 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:23:10 Step 2/13 : FROM ${BASE} AS builder 17:23:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:23:10 59bf1c3509f3: Pulling fs layer 17:23:10 666ba61612fd: Pulling fs layer 17:23:10 8ed8ca486205: Pulling fs layer 17:23:10 4fe6c5a15a65: Pulling fs layer 17:23:10 22a0e8bec74d: Pulling fs layer 17:23:10 f965cba54748: Pulling fs layer 17:23:10 861ffc35075e: Pulling fs layer 17:23:10 4b385c91608e: Pulling fs layer 17:23:10 560528eb2ebb: Pulling fs layer 17:23:10 4fe6c5a15a65: Waiting 17:23:10 22a0e8bec74d: Waiting 17:23:10 f965cba54748: Waiting 17:23:10 861ffc35075e: Waiting 17:23:10 4b385c91608e: Waiting 17:23:10 560528eb2ebb: Waiting 17:23:10 8ed8ca486205: Verifying Checksum 17:23:10 8ed8ca486205: Download complete 17:23:10 666ba61612fd: Verifying Checksum 17:23:10 666ba61612fd: Download complete 17:23:10 22a0e8bec74d: Verifying Checksum 17:23:10 22a0e8bec74d: Download complete 17:23:10 f965cba54748: Verifying Checksum 17:23:10 f965cba54748: Download complete 17:23:10 861ffc35075e: Verifying Checksum 17:23:10 861ffc35075e: Download complete 17:23:10 59bf1c3509f3: Verifying Checksum 17:23:10 59bf1c3509f3: Download complete 17:23:10 4b385c91608e: Verifying Checksum 17:23:10 4b385c91608e: Download complete 17:23:10 4fe6c5a15a65: Verifying Checksum 17:23:10 4fe6c5a15a65: Download complete 17:23:11 560528eb2ebb: Verifying Checksum 17:23:11 560528eb2ebb: Download complete 17:23:11 59bf1c3509f3: Pull complete 17:23:11 666ba61612fd: Pull complete 17:23:11 8ed8ca486205: Pull complete 17:23:15 4fe6c5a15a65: Pull complete 17:23:15 22a0e8bec74d: Pull complete 17:23:15 f965cba54748: Pull complete 17:23:15 861ffc35075e: Pull complete 17:23:15 4b385c91608e: Pull complete 17:23:17 560528eb2ebb: Pull complete 17:23:17 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 17:23:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:23:17 ---> dd4a08f94e63 17:23:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:23:19 ---> Running in f91c7ea97c9e 17:23:19 Removing intermediate container f91c7ea97c9e 17:23:19 ---> 00f511ac79f0 17:23:19 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:23:19 ---> Running in 35fbd49ac74a 17:23:19 Removing intermediate container 35fbd49ac74a 17:23:19 ---> a880416ccec7 17:23:19 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:23:19 ---> Running in 173073a8f26a 17:23:19 Removing intermediate container 173073a8f26a 17:23:19 ---> fa56ecb59f66 17:23:19 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:19 ---> Running in 96f4a7b0f7ff 17:23:20 Removing intermediate container 96f4a7b0f7ff 17:23:20 ---> 1560c0236dce 17:23:20 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:20 ---> Running in 2d7f7aca8ab4 17:23:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:23:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:23:21 OK: 221 MiB in 52 packages 17:23:21 Removing intermediate container 2d7f7aca8ab4 17:23:21 ---> 5f5a036eaaf8 17:23:21 Step 8/13 : WORKDIR /app 17:23:21 ---> Running in ecd671962aa2 17:23:21 Removing intermediate container ecd671962aa2 17:23:21 ---> c0c4e3b097c0 17:23:21 Step 9/13 : COPY go.mod vendor* ./ 17:23:21 ---> 6a23d0627cce 17:23:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:21 ---> Running in 76264ee249fb 17:23:23 Still waiting to schedule task 17:23:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:24:00 Removing intermediate container 76264ee249fb 17:24:00 ---> 35bc3f1e90a8 17:24:00 Step 11/13 : COPY . . 17:24:00 ---> a7dfb1dded3b 17:24:00 Step 12/13 : ARG MAKE="make build" 17:24:00 ---> Running in a05dce74d7cc 17:24:00 Removing intermediate container a05dce74d7cc 17:24:00 ---> 919275f10129 17:24:00 Step 13/13 : RUN $MAKE 17:24:00 ---> Running in b9ed9deddf98 17:24:00 noop 17:24:00 Removing intermediate container b9ed9deddf98 17:24:00 ---> 494a5453a9b7 17:24:00 Successfully built 494a5453a9b7 17:24:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:24:01 + docker inspect -f . ci-base-image-x86_64 17:24:01 . [Pipeline] withDockerContainer 17:24:01 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 17:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@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 ******** ci-base-image-x86_64 cat 17:24:01 $ docker top b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:02 + go version 17:24:02 go version go1.17.6 linux/amd64 [Pipeline] } 17:24:02 $ docker stop --time=1 b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 17:24:03 $ docker rm -f b8fe6f5fca6072760f10e01110b4195dee74789d42a67f3899391f60fd533537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:03 + docker inspect -f . ci-base-image-x86_64 17:24:03 . [Pipeline] withDockerContainer 17:24:03 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 17:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@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 ******** ci-base-image-x86_64 cat 17:24:04 $ docker top 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:04 + make test 17:24:04 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:24:19 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:24:20 Time delta: 40 17:24:20 --- FAIL: TestUnixMilli (0.04s) 17:24:20 epoch_helper_test.go:37: Time calculation bad 17:24:20 FAIL 17:24:20 coverage: 86.5% of statements 17:24:20 FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.094s 17:24:20 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:24:23 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.532s coverage: 71.9% of statements 17:24:23 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 17:24:23 FAIL 17:24:23 make: *** [Makefile:30: test] Error 1 [Pipeline] } 17:24:23 $ docker stop --time=1 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 17:24:25 $ docker rm -f 6759c0368663f56c6be4a77c61b8f03f9c89f022ee11111973b5e9ff049e0fd1 [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 17:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:26 17:24:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:24:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:26 latest: Pulling from edgex-lftools-log-publisher 17:24:26 b4d181a07f80: Pulling fs layer 17:24:26 a1111a8f2ec3: Pulling fs layer 17:24:26 ed53099fbce6: Pulling fs layer 17:24:26 dc539afda2c1: Pulling fs layer 17:24:26 77bc0d833cb6: Pulling fs layer 17:24:26 9065ff56babe: Pulling fs layer 17:24:26 d287ab97295c: Pulling fs layer 17:24:26 dc539afda2c1: Waiting 17:24:26 77bc0d833cb6: Waiting 17:24:26 9065ff56babe: Waiting 17:24:26 d287ab97295c: Waiting 17:24:26 a1111a8f2ec3: Verifying Checksum 17:24:26 a1111a8f2ec3: Download complete 17:24:26 dc539afda2c1: Verifying Checksum 17:24:26 dc539afda2c1: Download complete 17:24:27 ed53099fbce6: Verifying Checksum 17:24:27 ed53099fbce6: Download complete 17:24:27 9065ff56babe: Verifying Checksum 17:24:27 9065ff56babe: Download complete 17:24:27 77bc0d833cb6: Verifying Checksum 17:24:27 77bc0d833cb6: Download complete 17:24:27 b4d181a07f80: Download complete 17:24:27 d287ab97295c: Verifying Checksum 17:24:27 d287ab97295c: Download complete 17:24:28 b4d181a07f80: Pull complete 17:24:28 a1111a8f2ec3: Pull complete 17:24:29 ed53099fbce6: Pull complete 17:24:29 dc539afda2c1: Pull complete 17:24:29 77bc0d833cb6: Pull complete 17:24:29 9065ff56babe: Pull complete 17:24:35 d287ab97295c: Pull complete 17:24:35 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:24:35 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 17:24:35 $ 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-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@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:10003/edgex-lftools-log-publisher:latest cat 17:24:37 $ docker top ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:37 ---> job-cost.sh 17:24:37 lf-activate-venv: SKIPPING 17:24:37 INFO: No Stack... 17:24:38 INFO: Retrieving Pricing Info for: v3-standard-2 17:24:38 INFO: Archiving Costs [Pipeline] sh 17:24:38 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/cost.csv 17:24:38 + cut -d, -f6 [Pipeline] lock 17:24:38 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] 17:24:38 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] did not exist. Created. 17:24:38 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:39 + echo total: 0.05999999865889549 [Pipeline] stash 17:24:39 Stashed 1 file(s) [Pipeline] } 17:24:39 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:39 $ docker stop --time=1 ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 17:24:40 $ docker rm -f ff3c1eed78948b320f7782a359ac529df8244ef10ac4f771ec5a6db3c19ffe73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:24:40 Failed in branch amd64 17:24:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1826 in /w/workspace/ry_app-rfid-llrp-inventory_PR-61 [Pipeline] { [Pipeline] ws 17:24:46 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 17:24:46 The recommended git tool is: git 17:24:51 using credential edgex-jenkins-ssh 17:24:51 Cloning the remote Git repository 17:24:51 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:24:51 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 17:24:51 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:24:51 > git --version # timeout=10 17:24:51 > git --version # 'git version 2.17.1' 17:24:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:53 Merging remotes/origin/main commit 73352f13c22898f0de2d6cc31dffe6c8878b64bc into PR head commit b4b7277e3ee2b78609c4c6715577bc70959439fb 17:24:53 Merge succeeded, producing b4b7277e3ee2b78609c4c6715577bc70959439fb 17:24:53 Checking out Revision b4b7277e3ee2b78609c4c6715577bc70959439fb (PR-61) 17:24:53 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:24:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:53 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:24:53 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:24:53 > git config core.sparsecheckout # timeout=10 17:24:53 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 17:24:53 > git remote # timeout=10 17:24:53 > git config --get remote.origin.url # timeout=10 17:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:53 > git merge 73352f13c22898f0de2d6cc31dffe6c8878b64bc # timeout=10 17:24:53 > git rev-parse HEAD^{commit} # timeout=10 17:24:53 > git config core.sparsecheckout # timeout=10 17:24:53 > git checkout -f b4b7277e3ee2b78609c4c6715577bc70959439fb # timeout=10 17:24:58 Commit message: "ci: Go 1.17 Dockerfile changes" 17:24:58 > git --version # timeout=10 17:24:58 > git --version # 'git version 2.17.1' 17:24:58 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:59 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:59 Dload Upload Total Spent Left Speed 17:24:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 72656 0 --:--:-- --:--:-- --:--:-- 72656 [Pipeline] sh 17:24:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:25:00 + sudo tee /etc/docker/daemon.new 17:25:00 { 17:25:00 "registry-mirrors": [ 17:25:00 "https://nexus3.edgexfoundry.org:10001" 17:25:00 ], 17:25:00 "bip": "10.250.0.254/24", 17:25:00 "hosts": [ 17:25:00 "tcp://0.0.0.0:5555", 17:25:00 "unix:///var/run/docker.sock" 17:25:00 ], 17:25:00 "mtu": 1458, 17:25:00 "selinux-enabled": true, 17:25:00 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:00 } [Pipeline] sh 17:25:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:19 provisioning config files... 17:25:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config6200728807664099136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:19 ---> docker-login.sh 17:25:19 nexus3.edgexfoundry.org:10001 17:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:20 Configure a credential helper to remove this warning. See 17:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:20 17:25:20 Login Succeeded 17:25:20 nexus3.edgexfoundry.org:10002 17:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:20 Configure a credential helper to remove this warning. See 17:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:20 17:25:20 Login Succeeded 17:25:20 nexus3.edgexfoundry.org:10003 17:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:21 Configure a credential helper to remove this warning. See 17:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:21 17:25:21 Login Succeeded 17:25:21 nexus3.edgexfoundry.org:10004 17:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:21 Configure a credential helper to remove this warning. See 17:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:21 17:25:21 Login Succeeded 17:25:21 docker.io 17:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:22 Configure a credential helper to remove this warning. See 17:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:22 17:25:22 Login Succeeded 17:25:22 ---> docker-login.sh ends [Pipeline] } 17:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:23 ========================================================= 17:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:25:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:25:23 + 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 . 17:25:23 Sending build context to Docker daemon 680.4kB 17:25:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:25:23 Step 2/13 : FROM ${BASE} AS builder 17:25:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:25:24 9b3977197b4f: Pulling fs layer 17:25:24 1a89e8eeedd5: Pulling fs layer 17:25:24 94645a83ff95: Pulling fs layer 17:25:24 3f3a8bcf1eab: Pulling fs layer 17:25:24 0c92f367c5e7: Pulling fs layer 17:25:24 4b8299f9d1f4: Pulling fs layer 17:25:24 9a6b49a46696: Pulling fs layer 17:25:24 cf05db05a679: Pulling fs layer 17:25:24 3f3a8bcf1eab: Waiting 17:25:24 4b8299f9d1f4: Waiting 17:25:24 0c92f367c5e7: Waiting 17:25:24 9a6b49a46696: Waiting 17:25:24 cf05db05a679: Waiting 17:25:24 94645a83ff95: Verifying Checksum 17:25:24 94645a83ff95: Download complete 17:25:24 1a89e8eeedd5: Verifying Checksum 17:25:24 1a89e8eeedd5: Download complete 17:25:24 0c92f367c5e7: Verifying Checksum 17:25:24 0c92f367c5e7: Download complete 17:25:24 4b8299f9d1f4: Verifying Checksum 17:25:24 4b8299f9d1f4: Download complete 17:25:24 9b3977197b4f: Download complete 17:25:24 9a6b49a46696: Download complete 17:25:24 9b3977197b4f: Pull complete 17:25:25 1a89e8eeedd5: Pull complete 17:25:25 94645a83ff95: Pull complete 17:25:26 cf05db05a679: Verifying Checksum 17:25:26 cf05db05a679: Download complete 17:25:26 3f3a8bcf1eab: Verifying Checksum 17:25:26 3f3a8bcf1eab: Download complete 17:25:39 3f3a8bcf1eab: Pull complete 17:25:39 0c92f367c5e7: Pull complete 17:25:39 4b8299f9d1f4: Pull complete 17:25:39 9a6b49a46696: Pull complete 17:25:44 cf05db05a679: Pull complete 17:25:44 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 17:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:25:44 ---> 0ccda1f7e2ee 17:25:44 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:25:46 ---> Running in 47bb477661f9 17:25:46 Removing intermediate container 47bb477661f9 17:25:46 ---> 96b75bab9627 17:25:46 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:25:46 ---> Running in de7842dc9c77 17:25:46 Removing intermediate container de7842dc9c77 17:25:46 ---> 5191284054d7 17:25:46 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:25:46 ---> Running in 2def2ca7e529 17:25:47 Removing intermediate container 2def2ca7e529 17:25:47 ---> d538b65c2822 17:25:47 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:47 ---> Running in 8312360de361 17:25:49 Removing intermediate container 8312360de361 17:25:49 ---> 257e40932ad8 17:25:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:49 ---> Running in deb0f9c03b98 17:25:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:25:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:25:51 OK: 220 MiB in 52 packages 17:25:52 Removing intermediate container deb0f9c03b98 17:25:52 ---> 7b06b92df669 17:25:52 Step 8/13 : WORKDIR /app 17:25:52 ---> Running in 3e8ff228da37 17:25:52 Removing intermediate container 3e8ff228da37 17:25:52 ---> eee156853651 17:25:52 Step 9/13 : COPY go.mod vendor* ./ 17:25:53 ---> d895f8119ea1 17:25:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:53 ---> Running in 549ebbca11a1 17:27:15 Removing intermediate container 549ebbca11a1 17:27:15 ---> 4c92e7ba76a5 17:27:15 Step 11/13 : COPY . . 17:27:15 ---> 78938f5e9eba 17:27:15 Step 12/13 : ARG MAKE="make build" 17:27:15 ---> Running in bb2179a5c887 17:27:15 Removing intermediate container bb2179a5c887 17:27:15 ---> 62bf68997c20 17:27:15 Step 13/13 : RUN $MAKE 17:27:15 ---> Running in 805dde959950 17:27:15 noop 17:27:15 Removing intermediate container 805dde959950 17:27:15 ---> b6de6e6a8deb 17:27:15 Successfully built b6de6e6a8deb 17:27:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:27:15 + docker inspect -f . ci-base-image-arm64 17:27:15 . [Pipeline] withDockerContainer 17:27:15 prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container 17:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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 ******** ci-base-image-arm64 cat 17:27:17 $ docker top 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:18 + go version 17:27:18 go version go1.17.6 linux/arm64 [Pipeline] } 17:27:18 $ docker stop --time=1 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 17:27:19 $ docker rm -f 77181e96b9951c2d7645abf3afdf4a3bda2e75225fa5a3294774791230ac8735 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:27:20 + docker inspect -f . ci-base-image-arm64 17:27:20 . [Pipeline] withDockerContainer 17:27:21 prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container 17:27:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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 ******** ci-base-image-arm64 cat 17:27:22 $ docker top 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:27:23 + make test 17:27:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:28:20 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:28:20 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.169s coverage: 86.5% of statements 17:28:20 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:28:20 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.676s coverage: 71.9% of statements 17:28:20 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 17:28:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:28:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:28:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:28:38 ./bin/test-attribution.sh [Pipeline] echo 17:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:28:41 $ docker stop --time=1 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a 17:28:43 $ docker rm -f 4e854ee9a247f0a0c9c220a4130f783b94c34a7171d4d1d6777f58fe6637a82a [Pipeline] // withDockerContainer [Pipeline] sh 17:28:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:28:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:28:46 + ls -al . 17:28:46 total 232 17:28:46 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 17:28 . 17:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 .. 17:28:46 -rw-rw-r-- 1 jenkins jenkins 262 Jan 19 17:24 .dockerignore 17:28:46 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 17:24 .git 17:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 .github 17:28:46 -rw-rw-r-- 1 jenkins jenkins 788 Jan 19 17:24 .gitignore 17:28:46 -rw-rw-r-- 1 jenkins jenkins 8248 Jan 19 17:24 Attribution.txt 17:28:46 -rw-rw-r-- 1 jenkins jenkins 1923 Jan 19 17:24 Dockerfile 17:28:46 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 17:24 GOVERNANCE.md 17:28:46 -rw-rw-r-- 1 jenkins jenkins 686 Jan 19 17:24 Jenkinsfile 17:28:46 -rw-rw-r-- 1 jenkins jenkins 11347 Jan 19 17:24 LICENSE 17:28:46 -rw-rw-r-- 1 jenkins jenkins 1596 Jan 19 17:24 Makefile 17:28:46 -rw-rw-r-- 1 jenkins jenkins 617 Jan 19 17:24 OWNERS.md 17:28:46 -rw-rw-r-- 1 jenkins jenkins 31205 Jan 19 17:24 README.md 17:28:46 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 17:23 VERSION 17:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 bin 17:28:46 -rw-r--r-- 1 jenkins jenkins 41356 Jan 19 17:28 coverage.out 17:28:46 -rw-rw-r-- 1 jenkins jenkins 276 Jan 19 17:24 go.mod 17:28:46 -rw-rw-r-- 1 jenkins jenkins 49531 Jan 19 17:24 go.sum 17:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 images 17:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 internal 17:28:46 -rw-rw-r-- 1 jenkins jenkins 531 Jan 19 17:24 main.go 17:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 17:24 res 17:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 17:24 snap 17:28:46 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 17:24 static [Pipeline] isUnix [Pipeline] sh 17:28:46 + 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=b4b7277e3ee2b78609c4c6715577bc70959439fb --label arch=arm64 --label version=0.0.0 . 17:28:46 Sending build context to Docker daemon 680.4kB 17:28:46 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:28:46 Step 2/31 : FROM ${BASE} AS builder 17:28:46 ---> b6de6e6a8deb 17:28:46 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:28:47 ---> Running in 031dabe63e1d 17:28:47 Removing intermediate container 031dabe63e1d 17:28:47 ---> 78f76c4cd9ab 17:28:47 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:28:47 ---> Running in 1826d6573b8b 17:28:48 Removing intermediate container 1826d6573b8b 17:28:48 ---> 3a84616f462f 17:28:48 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:28:48 ---> Running in 712bab9c1229 17:28:48 Removing intermediate container 712bab9c1229 17:28:48 ---> c87bb31ed133 17:28:48 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:28:48 ---> Running in fcbe3008abb9 17:28:50 Removing intermediate container fcbe3008abb9 17:28:50 ---> dc746eac8e17 17:28:50 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:28:50 ---> Running in 418c4251f3ba 17:28:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:28:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:28:52 OK: 220 MiB in 52 packages 17:28:53 Removing intermediate container 418c4251f3ba 17:28:53 ---> fbafefad4a4a 17:28:53 Step 8/31 : WORKDIR /app 17:28:53 ---> Running in c0bf748c004a 17:28:54 Removing intermediate container c0bf748c004a 17:28:54 ---> c4beb6318de2 17:28:54 Step 9/31 : COPY go.mod vendor* ./ 17:28:54 ---> ef2eb6ab7731 17:28:54 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:54 ---> Running in 93eaa6052d97 17:28:56 Removing intermediate container 93eaa6052d97 17:28:56 ---> 58ba0a4b677c 17:28:56 Step 11/31 : COPY . . 17:28:57 ---> d61da1a0900b 17:28:57 Step 12/31 : ARG MAKE="make build" 17:28:57 ---> Running in 502c384fd7ae 17:28:57 Removing intermediate container 502c384fd7ae 17:28:57 ---> 9d3efd9f6ff2 17:28:57 Step 13/31 : RUN $MAKE 17:28:57 ---> Running in 8c98321d558a 17:28:58 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 17:29:45 Removing intermediate container 8c98321d558a 17:29:45 ---> 5d131f384d61 17:29:45 Step 14/31 : FROM alpine:3.14 17:29:45 3.14: Pulling from library/alpine 17:29:45 be307f383ecc: Pulling fs layer 17:29:45 be307f383ecc: Verifying Checksum 17:29:45 be307f383ecc: Download complete 17:29:45 be307f383ecc: Pull complete 17:29:45 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 17:29:45 Status: Downloaded newer image for alpine:3.14 17:29:45 ---> 5b8b7b635229 17:29:45 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:29:45 ---> Running in d6da84f991db 17:29:45 Removing intermediate container d6da84f991db 17:29:45 ---> 4f63f7689ea5 17:29:45 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:29:45 ---> Running in d7d02fde519f 17:29:45 Removing intermediate container d7d02fde519f 17:29:45 ---> 10475a61f246 17:29:45 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:45 ---> Running in 2ea0bd6f667d 17:29:45 Removing intermediate container 2ea0bd6f667d 17:29:45 ---> 01e41a738693 17:29:45 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 17:29:45 ---> Running in 83639a488c5c 17:29:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:29:46 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:29:47 (1/6) Installing ca-certificates (20191127-r5) 17:29:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:29:47 (3/6) Installing libsodium (1.0.18-r0) 17:29:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:29:47 (5/6) Installing libzmq (4.3.4-r0) 17:29:47 (6/6) Installing zeromq (4.3.4-r0) 17:29:48 Executing busybox-1.33.1-r6.trigger 17:29:48 Executing ca-certificates-20191127-r5.trigger 17:29:48 OK: 9 MiB in 20 packages 17:29:49 Removing intermediate container 83639a488c5c 17:29:49 ---> 9147efafc003 17:29:49 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:29:49 ---> 253f0b80dcfe 17:29:49 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:29:50 ---> 26a07c2119e6 17:29:50 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:29:51 ---> 9aa117760f42 17:29:51 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:29:51 ---> efe5d6ba7026 17:29:51 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:29:52 ---> 1ff9cfb2e592 17:29:52 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:29:52 ---> Running in d54e956a951d 17:29:54 Removing intermediate container d54e956a951d 17:29:54 ---> a379ed4337de 17:29:54 Step 25/31 : VOLUME /cache 17:29:54 ---> Running in 0f9f4a06d768 17:29:54 Removing intermediate container 0f9f4a06d768 17:29:54 ---> 94b882ae2e00 17:29:54 Step 26/31 : EXPOSE 59711 17:29:54 ---> Running in 73dddb1125c0 17:29:55 Removing intermediate container 73dddb1125c0 17:29:55 ---> f7a4de99b241 17:29:55 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:29:55 ---> Running in 212e8a1586e1 17:29:55 Removing intermediate container 212e8a1586e1 17:29:55 ---> 39d299ff9f9c 17:29:55 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:29:55 ---> Running in 6d16b1847b24 17:29:56 Removing intermediate container 6d16b1847b24 17:29:56 ---> 4d1ca7ec83f9 17:29:56 Step 29/31 : LABEL arch=arm64 17:29:56 ---> Running in 78ec8d20767f 17:29:56 Removing intermediate container 78ec8d20767f 17:29:56 ---> cf82ab02037e 17:29:56 Step 30/31 : LABEL git_sha=b4b7277e3ee2b78609c4c6715577bc70959439fb 17:29:56 ---> Running in c04662b6fd68 17:29:56 Removing intermediate container c04662b6fd68 17:29:56 ---> be640b9fdead 17:29:56 Step 31/31 : LABEL version=0.0.0 17:29:56 ---> Running in d450da0a2493 17:29:57 Removing intermediate container d450da0a2493 17:29:57 ---> 30d694c010b6 17:29:57 [Warning] One or more build-args [ARCH] were not consumed 17:29:57 Successfully built 30d694c010b6 17:29:57 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 17:29:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:58 17:29:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:29:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:58 arm64: Pulling from edgex-lftools-log-publisher 17:29:58 448f6bf000e3: Pulling fs layer 17:29:58 f757da607395: Pulling fs layer 17:29:58 05883995daec: Pulling fs layer 17:29:58 8603b9c90790: Pulling fs layer 17:29:58 1560dd03e051: Pulling fs layer 17:29:58 27f5ce0e4adf: Pulling fs layer 17:29:58 c2d8d7efcc4b: Pulling fs layer 17:29:58 1560dd03e051: Waiting 17:29:58 c2d8d7efcc4b: Waiting 17:29:58 8603b9c90790: Waiting 17:29:58 f757da607395: Verifying Checksum 17:29:58 f757da607395: Download complete 17:29:58 8603b9c90790: Verifying Checksum 17:29:58 8603b9c90790: Download complete 17:29:58 1560dd03e051: Verifying Checksum 17:29:58 1560dd03e051: Download complete 17:29:58 27f5ce0e4adf: Verifying Checksum 17:29:58 27f5ce0e4adf: Download complete 17:29:58 05883995daec: Verifying Checksum 17:29:59 448f6bf000e3: Verifying Checksum 17:29:59 448f6bf000e3: Download complete 17:30:01 c2d8d7efcc4b: Verifying Checksum 17:30:01 c2d8d7efcc4b: Download complete 17:30:03 448f6bf000e3: Pull complete 17:30:03 f757da607395: Pull complete 17:30:04 05883995daec: Pull complete 17:30:05 8603b9c90790: Pull complete 17:30:06 1560dd03e051: Pull complete 17:30:06 27f5ce0e4adf: Pull complete 17:30:21 c2d8d7efcc4b: Pull complete 17:30:21 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:30:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:30:21 prd-ubuntu18.04-docker-arm64-4c-16g-1826 does not seem to be running inside a container 17:30:21 $ 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/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@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:10003/edgex-lftools-log-publisher:arm64 cat 17:30:24 $ docker top 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:25 ---> job-cost.sh 17:30:25 lf-activate-venv: SKIPPING 17:30:25 INFO: No Stack... 17:30:25 INFO: Retrieving Pricing Info for: v3-standard-4 17:30:26 INFO: Archiving Costs [Pipeline] sh 17:30:26 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 17:30:26 + cut -d, -f6 [Pipeline] lock 17:30:26 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] 17:30:26 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] did not exist. Created. 17:30:26 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:27 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-a87b22dc/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-a87b22dc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:30:28 + echo total: 0.10999999940395355 [Pipeline] stash 17:30:28 Warning: overwriting stash ‘stack-cost’ 17:30:28 Stashed 1 file(s) [Pipeline] } 17:30:28 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:28 $ docker stop --time=1 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 17:30:30 $ docker rm -f 3d89ce8d7b307c3b2f0f4b10f167500e209accd1d43b338b022ded52a77672a8 [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 17:30:32 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives ']' 17:30:32 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives 17:30:32 total 8 17:30:32 drwxr-xr-x. 3 root root 34 Jan 19 17:24 . 17:30:32 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 17:24 .. 17:30:32 drwxr-xr-x. 2 root root 6 Jan 19 17:24 cost 17:30:32 -rw-r--r--. 1 root root 93 Jan 19 17:24 cost.csv 17:30:32 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives 17:30:32 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives 17:30:32 total 8 17:30:32 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 17:24 . 17:30:32 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 17:24 .. 17:30:32 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 17:24 cost 17:30:32 -rw-r--r--. 1 jenkins jenkins 93 Jan 19 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:30:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:30:33 ---> package-listing.sh 17:30:33 ++ facter osfamily 17:30:33 ++ tr '[:upper:]' '[:lower:]' 17:30:33 + OS_FAMILY=redhat 17:30:33 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-61 17:30:33 + START_PACKAGES=/tmp/packages_start.txt 17:30:33 + END_PACKAGES=/tmp/packages_end.txt 17:30:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:30:33 + PACKAGES=/tmp/packages_start.txt 17:30:33 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-61 ']' 17:30:33 + PACKAGES=/tmp/packages_end.txt 17:30:33 + case "${OS_FAMILY}" in 17:30:33 + rpm -qa 17:30:33 + sort 17:30:34 + '[' -f /tmp/packages_start.txt ']' 17:30:34 + '[' -f /tmp/packages_end.txt ']' 17:30:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:30:34 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-61 ']' 17:30:34 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/ 17:30:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-61/archives/ [Pipeline] echo 17:30:34 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-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:30:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:30:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:35 . [Pipeline] withDockerContainer 17:30:35 prd-centos7-docker-4c-2g-1825 does not seem to be running inside a container 17:30:35 $ 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-61/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-61 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61:/w/workspace/ry_app-rfid-llrp-inventory_PR-61:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@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:10003/edgex-lftools-log-publisher:latest cat 17:30:35 $ docker top ca628cb8176e85ae38e85d28fcd2422f082a0e8a92970d88c7d5aff1a7565778 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:30:36 + mkdir -p /var/log/sysstat [Pipeline] sh 17:30:36 + ls /var/log/sa-host 17:30:36 + sadf -c /var/log/sa-host/sa17 17:30:36 file_magic: OK 17:30:36 HZ: Using current value: 100 17:30:36 file_header: OK 17:30:36 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 17:30:36 Statistics: 17:30:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:30:36 File successfully converted to sysstat format version 12.0.3 17:30:36 + sadf -c /var/log/sa-host/sa19 17:30:36 file_magic: OK 17:30:36 HZ: Using current value: 100 17:30:36 file_header: OK 17:30:36 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 17:30:36 Statistics: 17:30:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:30:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:37 provisioning config files... 17:30:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-61@tmp/config226629738590638821tmp [Pipeline] { [Pipeline] echo 17:30:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:30:37 ---> create-netrc.sh [Pipeline] } 17:30:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:30:38 ---> python-tools-install.sh [Pipeline] echo 17:30:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:30:38 ---> sudo-logs.sh 17:30:38 Archiving 'sudo' log.. 17:30:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-1825.novalocal: Name or service not known 17:30:38 sudo: unable to resolve host prd-centos7-docker-4c-2g-1825.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:30:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:30:38 ---> job-cost.sh 17:30:38 lf-activate-venv: SKIPPING 17:30:38 DEBUG: total: 0.05999999865889549 17:30:38 INFO: Retrieving Stack Cost... 17:30:39 INFO: Retrieving Pricing Info for: v3-standard-2 17:30:39 INFO: Archiving Costs [Pipeline] echo 17:30:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:30:39 ---> logs-deploy.sh 17:30:39 lf-activate-venv: SKIPPING 17:30:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-61/1 17:30:39 INFO: archiving workspace using pattern(s): 17:30:40 Archives upload complete. 17:30:40 INFO: archiving logs to Nexus