lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-rfid-llrp-inventory Loading trusted files from base branch main at 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd rather than 796c34a926d8ca856e16c6d4844671a9b33e1cf2 Obtained Jenkinsfile from 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7727758770236724075.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-ssh15169393105309714924.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-54/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-54/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6298821213069811016.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-ssh7972773677782368484.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-54/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-54/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17182623125940498093.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-1739 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/ry_app-rfid-llrp-inventory_PR-54 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh2699773899122906914.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 796c34a926d8ca856e16c6d4844671a9b33e1cf2 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh7452265713733820039.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 796c34a926d8ca856e16c6d4844671a9b33e1cf2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/jenkins-gitclient-ssh7935733391841243286.key > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 Merge succeeded, producing 796c34a926d8ca856e16c6d4844671a9b33e1cf2 Checking out Revision 796c34a926d8ca856e16c6d4844671a9b33e1cf2 (PR-54) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 796c34a926d8ca856e16c6d4844671a9b33e1cf2 # timeout=10 Commit message: "fix: addresses all latest comments by Anthony and Lenny, inregardsto docker file for cache volume and minor changes" > git rev-list --no-walk 796c34a926d8ca856e16c6d4844671a9b33e1cf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:19:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:19:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:19:52 ========================================================= 17:19:52 EdgeX Global Pipelines Version Info 17:19:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:19:53 ------------------- 17:19:53 stable info: 17:19:53 ------------------- 17:19:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:19:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:19:53 Message: update stable to v1.0.219 17:19:53 ------------------- 17:19:53 experimental info: 17:19:53 ------------------- 17:19:53 Commited By: **** collab-it+edgex@linuxfoundation.org 17:19:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 17:19:53 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 796c34a926d8ca856e16c6d4844671a9b33e1cf2 [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 796c34a [Pipeline] echo 17:19:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:54 provisioning config files... 17:19:54 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config2724191640148922676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:54 ---> docker-login.sh 17:19:54 nexus3.edgexfoundry.org:10001 17:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:55 Configure a credential helper to remove this warning. See 17:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:55 17:19:55 Login Succeeded 17:19:55 nexus3.edgexfoundry.org:10002 17:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:55 Configure a credential helper to remove this warning. See 17:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:55 17:19:55 Login Succeeded 17:19:55 nexus3.edgexfoundry.org:10003 17:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:55 Configure a credential helper to remove this warning. See 17:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:55 17:19:55 Login Succeeded 17:19:55 nexus3.edgexfoundry.org:10004 17:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:55 Configure a credential helper to remove this warning. See 17:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:55 17:19:55 Login Succeeded 17:19:55 docker.io 17:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:55 Configure a credential helper to remove this warning. See 17:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:55 17:19:55 Login Succeeded 17:19:55 ---> docker-login.sh ends [Pipeline] } 17:19:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:19:56 + git rev-list -1 --merges 796c34a926d8ca856e16c6d4844671a9b33e1cf2~1..796c34a926d8ca856e16c6d4844671a9b33e1cf2 [Pipeline] echo 17:19:56 -----------> git rev-list -1 --merges 796c34a926d8ca856e16c6d4844671a9b33e1cf2~1..796c34a926d8ca856e16c6d4844671a9b33e1cf2 796c34a926d8ca856e16c6d4844671a9b33e1cf2 [false] [Pipeline] sh 17:19:56 + git log --format=format:%s -1 796c34a926d8ca856e16c6d4844671a9b33e1cf2 [Pipeline] echo 17:19:56 ========================================================= 17:19:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:19:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:57 + git log --format=format:%s -1 796c34a926d8ca856e16c6d4844671a9b33e1cf2 [Pipeline] echo 17:19:57 [semverPrep] GIT_COMMIT: 796c34a926d8ca856e16c6d4844671a9b33e1cf2, Commit Message: fix: addresses all latest comments by Anthony and Lenny, inregardsto docker file for cache volume and minor changes [Pipeline] echo 17:19:57 [semverPrep] This is not a build commit. [Pipeline] sh 17:19:57 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 17:19:57 + grep -v github /etc/ssh/ssh_known_hosts 17:19:57 + '[' -e /tmp/ssh_known_hosts ']' 17:19:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:19:57 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 17:19:57 + sudo tee -a /etc/ssh/ssh_known_hosts 17:19:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:57 17:19:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:19:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:58 latest: Pulling from edgex-devops/git-semver 17:19:58 a0d0a0d46f8b: Pulling fs layer 17:19:58 3e5f54012d9b: Pulling fs layer 17:19:58 4c7163046ea9: Pulling fs layer 17:19:58 0c2d73faf560: Pulling fs layer 17:19:58 0c2d73faf560: Waiting 17:19:58 3e5f54012d9b: Verifying Checksum 17:19:58 3e5f54012d9b: Download complete 17:19:58 a0d0a0d46f8b: Verifying Checksum 17:19:58 a0d0a0d46f8b: Download complete 17:19:58 4c7163046ea9: Verifying Checksum 17:19:58 4c7163046ea9: Download complete 17:19:58 0c2d73faf560: Verifying Checksum 17:19:58 0c2d73faf560: Download complete 17:19:58 a0d0a0d46f8b: Pull complete 17:19:58 3e5f54012d9b: Pull complete 17:19:58 4c7163046ea9: Pull complete 17:19:59 0c2d73faf560: Pull complete 17:19:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:19:59 prd-centos7-docker-4c-2g-1739 does not seem to be running inside a container 17:19:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:19:59 $ docker top 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:59 [ssh-agent] Looking for ssh-agent implementation... 17:20:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:00 $ docker exec 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 ssh-agent 17:20:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLpjbI/agent.15 17:20:00 SSH_AGENT_PID=22 17:20:00 Running ssh-add (command line suppressed) 17:20:00 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_6305099021460481791.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_6305099021460481791.key) 17:20:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:00 + git tag --points-at HEAD [Pipeline] } 17:20:00 $ docker exec --env ******** --env ******** 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 ssh-agent -k 17:20:00 unset SSH_AUTH_SOCK; 17:20:00 unset SSH_AGENT_PID; 17:20:00 echo Agent pid 22 killed; 17:20:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:20:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:20:00 [ssh-agent] Looking for ssh-agent implementation... 17:20:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:20:00 $ docker exec 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 ssh-agent 17:20:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFpdoDd/agent.56 17:20:00 SSH_AGENT_PID=62 17:20:00 Running ssh-add (command line suppressed) 17:20:01 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_4905120389424994473.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_4905120389424994473.key) 17:20:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:20:01 + git semver init 17:20:01 # -> Open(): unable to determine branch for HEAD 17:20:01 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.git 17:20:01 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-54 17:20:01 # $SEMVER_REMOTE_NAME = origin 17:20:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:20:01 # $SEMVER_USER_NAME = edgex-jenkins 17:20:01 # $SEMVER_BRANCH = PR-54 17:20:01 # $SEMVER_TEMP = /tmp/semver-637795796 17:20:01 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 17:20:02 # '/tmp/semver-637795796' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver' 17:20:02 # -> Force: false 17:20:02 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver [Pipeline] } 17:20:02 $ docker exec --env ******** --env ******** 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 ssh-agent -k 17:20:02 unset SSH_AUTH_SOCK; 17:20:02 unset SSH_AGENT_PID; 17:20:02 echo Agent pid 62 killed; 17:20:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:20:03 + git semver [Pipeline] } 17:20:03 $ docker stop --time=1 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 17:20:04 $ docker rm -f 066780c92a962c4b77a7f16f58cfd3718d8c9b3a36518a79ac365f14277aa140 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:05 Stashed 1 file(s) [Pipeline] echo 17:20:05 [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:20:05 provisioning config files... 17:20:05 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config7810076575338032931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:05 ---> docker-login.sh 17:20:05 nexus3.edgexfoundry.org:10001 17:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:05 Configure a credential helper to remove this warning. See 17:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:05 17:20:05 Login Succeeded 17:20:05 nexus3.edgexfoundry.org:10002 17:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:05 Configure a credential helper to remove this warning. See 17:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:05 17:20:05 Login Succeeded 17:20:05 nexus3.edgexfoundry.org:10003 17:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:05 Configure a credential helper to remove this warning. See 17:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:05 17:20:05 Login Succeeded 17:20:05 nexus3.edgexfoundry.org:10004 17:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:05 Configure a credential helper to remove this warning. See 17:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:05 17:20:05 Login Succeeded 17:20:05 docker.io 17:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:06 Configure a credential helper to remove this warning. See 17:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:06 17:20:06 Login Succeeded 17:20:06 ---> docker-login.sh ends [Pipeline] } 17:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:06 ========================================================= 17:20:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:20:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:20:06 + 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:20:06 Sending build context to Docker daemon 9.88MB 17:20:06 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 17:20:06 Step 2/12 : FROM ${BASE} AS builder 17:20:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:20:06 59bf1c3509f3: Pulling fs layer 17:20:06 666ba61612fd: Pulling fs layer 17:20:06 8ed8ca486205: Pulling fs layer 17:20:06 4fe6c5a15a65: Pulling fs layer 17:20:06 22a0e8bec74d: Pulling fs layer 17:20:06 f965cba54748: Pulling fs layer 17:20:06 861ffc35075e: Pulling fs layer 17:20:06 4b385c91608e: Pulling fs layer 17:20:06 560528eb2ebb: Pulling fs layer 17:20:06 4fe6c5a15a65: Waiting 17:20:06 22a0e8bec74d: Waiting 17:20:06 f965cba54748: Waiting 17:20:06 861ffc35075e: Waiting 17:20:06 4b385c91608e: Waiting 17:20:06 560528eb2ebb: Waiting 17:20:06 8ed8ca486205: Verifying Checksum 17:20:06 8ed8ca486205: Download complete 17:20:06 666ba61612fd: Verifying Checksum 17:20:06 666ba61612fd: Download complete 17:20:06 22a0e8bec74d: Verifying Checksum 17:20:06 22a0e8bec74d: Download complete 17:20:07 f965cba54748: Verifying Checksum 17:20:07 f965cba54748: Download complete 17:20:07 59bf1c3509f3: Verifying Checksum 17:20:07 59bf1c3509f3: Download complete 17:20:07 861ffc35075e: Verifying Checksum 17:20:07 861ffc35075e: Download complete 17:20:07 4b385c91608e: Verifying Checksum 17:20:07 4b385c91608e: Download complete 17:20:07 59bf1c3509f3: Pull complete 17:20:07 666ba61612fd: Pull complete 17:20:07 4fe6c5a15a65: Verifying Checksum 17:20:07 4fe6c5a15a65: Download complete 17:20:07 8ed8ca486205: Pull complete 17:20:07 560528eb2ebb: Verifying Checksum 17:20:07 560528eb2ebb: Download complete 17:20:12 4fe6c5a15a65: Pull complete 17:20:12 22a0e8bec74d: Pull complete 17:20:12 f965cba54748: Pull complete 17:20:12 861ffc35075e: Pull complete 17:20:12 4b385c91608e: Pull complete 17:20:14 560528eb2ebb: Pull complete 17:20:14 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 17:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:20:14 ---> dd4a08f94e63 17:20:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:20:16 ---> Running in 19a1e89affba 17:20:16 Removing intermediate container 19a1e89affba 17:20:16 ---> 44d313a2dc86 17:20:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:20:16 ---> Running in e7506df1d3cb 17:20:16 Removing intermediate container e7506df1d3cb 17:20:16 ---> 90f2a134189b 17:20:16 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:20:16 ---> Running in dd3d1ff06009 17:20:16 Removing intermediate container dd3d1ff06009 17:20:16 ---> 3a971a51c20d 17:20:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:20:16 ---> Running in 014883ee3aed 17:20:16 Removing intermediate container 014883ee3aed 17:20:16 ---> f0da36e6bca7 17:20:16 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:16 ---> Running in fcdc28851e26 17:20:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:20:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:20:18 OK: 221 MiB in 52 packages 17:20:18 Removing intermediate container fcdc28851e26 17:20:18 ---> 7d915b519680 17:20:18 Step 8/12 : WORKDIR /app 17:20:18 ---> Running in d514b814f28e 17:20:18 Removing intermediate container d514b814f28e 17:20:18 ---> af843af09f8b 17:20:18 Step 9/12 : COPY . . 17:20:19 ---> 3b088d38fc6f 17:20:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:20:19 ---> Running in 52fe4e8df65c 17:20:20 Still waiting to schedule task 17:20:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:20:46 Removing intermediate container 52fe4e8df65c 17:20:46 ---> d2c4f75b12c9 17:20:46 Step 11/12 : ARG MAKE="make build" 17:20:46 ---> Running in 967ae8d2cafc 17:20:46 Removing intermediate container 967ae8d2cafc 17:20:46 ---> c293b820e9e3 17:20:46 Step 12/12 : RUN $MAKE 17:20:46 ---> Running in 9d3bf98002b5 17:20:46 noop 17:20:46 Removing intermediate container 9d3bf98002b5 17:20:46 ---> 5923cd131f98 17:20:46 Successfully built 5923cd131f98 17:20:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:20:46 + docker inspect -f . ci-base-image-x86_64 17:20:46 . [Pipeline] withDockerContainer 17:20:46 prd-centos7-docker-4c-2g-1739 does not seem to be running inside a container 17:20:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:20:47 $ docker top 261336578ff4ea1400502bac16879c39d5ecf5171f4fa82c48af983a2188c066 -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:47 + go version 17:20:47 go version go1.17.6 linux/amd64 [Pipeline] } 17:20:47 $ docker stop --time=1 261336578ff4ea1400502bac16879c39d5ecf5171f4fa82c48af983a2188c066 17:20:48 $ docker rm -f 261336578ff4ea1400502bac16879c39d5ecf5171f4fa82c48af983a2188c066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:20:49 + docker inspect -f . ci-base-image-x86_64 17:20:49 . [Pipeline] withDockerContainer 17:20:49 prd-centos7-docker-4c-2g-1739 does not seem to be running inside a container 17:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:20:49 $ docker top a4a1753ca788861e7d1e5a413114653ab449a34ebe0751735dd46908125ae9a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:20:50 + make test 17:20:50 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:21:05 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:21:06 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.063s coverage: 86.5% of statements 17:21:06 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:21:09 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.534s coverage: 71.9% of statements 17:21:09 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 17:21:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:21:14 # edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 17:21:14 internal/inventory/app/app.go:150:3: misuse of unbuffered os.Signal channel as argument to signal.Notify 17:21:14 make: *** [Makefile:31: test] Error 2 [Pipeline] } 17:21:14 $ docker stop --time=1 a4a1753ca788861e7d1e5a413114653ab449a34ebe0751735dd46908125ae9a7 17:21:16 $ docker rm -f a4a1753ca788861e7d1e5a413114653ab449a34ebe0751735dd46908125ae9a7 [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:21:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:16 17:21:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:21:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:16 latest: Pulling from edgex-lftools-log-publisher 17:21:16 b4d181a07f80: Pulling fs layer 17:21:16 a1111a8f2ec3: Pulling fs layer 17:21:16 ed53099fbce6: Pulling fs layer 17:21:16 dc539afda2c1: Pulling fs layer 17:21:16 77bc0d833cb6: Pulling fs layer 17:21:16 9065ff56babe: Pulling fs layer 17:21:16 d287ab97295c: Pulling fs layer 17:21:16 dc539afda2c1: Waiting 17:21:16 77bc0d833cb6: Waiting 17:21:16 9065ff56babe: Waiting 17:21:16 d287ab97295c: Waiting 17:21:16 a1111a8f2ec3: Verifying Checksum 17:21:16 a1111a8f2ec3: Download complete 17:21:16 dc539afda2c1: Verifying Checksum 17:21:16 dc539afda2c1: Download complete 17:21:17 77bc0d833cb6: Verifying Checksum 17:21:17 77bc0d833cb6: Download complete 17:21:17 ed53099fbce6: Download complete 17:21:17 9065ff56babe: Verifying Checksum 17:21:17 9065ff56babe: Download complete 17:21:17 b4d181a07f80: Verifying Checksum 17:21:17 b4d181a07f80: Download complete 17:21:17 d287ab97295c: Verifying Checksum 17:21:17 d287ab97295c: Download complete 17:21:18 b4d181a07f80: Pull complete 17:21:18 a1111a8f2ec3: Pull complete 17:21:19 ed53099fbce6: Pull complete 17:21:19 dc539afda2c1: Pull complete 17:21:19 77bc0d833cb6: Pull complete 17:21:19 9065ff56babe: Pull complete 17:21:25 d287ab97295c: Pull complete 17:21:25 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:21:25 prd-centos7-docker-4c-2g-1739 does not seem to be running inside a container 17:21:25 $ 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-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:21:27 $ docker top de4598b411e31cfe295501b56d1fde8a4b6ceb9925e78d618558b38cfc58092d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:28 ---> job-cost.sh 17:21:28 lf-activate-venv: SKIPPING 17:21:28 INFO: No Stack... 17:21:29 INFO: Retrieving Pricing Info for: v3-standard-2 17:21:30 INFO: Archiving Costs [Pipeline] sh 17:21:30 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/cost.csv 17:21:30 + cut -d, -f6 [Pipeline] lock 17:21:30 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] 17:21:30 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] did not exist. Created. 17:21:30 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:21:30 + echo total: 0.05999999865889549 [Pipeline] stash 17:21:30 Stashed 1 file(s) [Pipeline] } 17:21:30 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] [Pipeline] // lock [Pipeline] } 17:21:30 $ docker stop --time=1 de4598b411e31cfe295501b56d1fde8a4b6ceb9925e78d618558b38cfc58092d 17:21:32 $ docker rm -f de4598b411e31cfe295501b56d1fde8a4b6ceb9925e78d618558b38cfc58092d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:21:32 Failed in branch amd64 17:21:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1740 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws 17:21:46 Running in /w/workspace/app-rfid-llrp-inventory/42 [Pipeline] { [Pipeline] checkout 17:21:46 The recommended git tool is: git 17:21:51 using credential edgex-jenkins-ssh 17:21:51 Cloning the remote Git repository 17:21:51 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:21:51 > git init /w/workspace/app-rfid-llrp-inventory/42 # timeout=10 17:21:51 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:21:51 > git --version # timeout=10 17:21:51 > git --version # 'git version 2.17.1' 17:21:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:54 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 796c34a926d8ca856e16c6d4844671a9b33e1cf2 17:21:53 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:21:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:53 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:21:53 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:21:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:21:54 > git config core.sparsecheckout # timeout=10 17:21:54 > git checkout -f 796c34a926d8ca856e16c6d4844671a9b33e1cf2 # timeout=10 17:21:54 Merge succeeded, producing 796c34a926d8ca856e16c6d4844671a9b33e1cf2 17:21:54 Checking out Revision 796c34a926d8ca856e16c6d4844671a9b33e1cf2 (PR-54) 17:21:54 > git remote # timeout=10 17:21:54 > git config --get remote.origin.url # timeout=10 17:21:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:54 > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 17:21:54 > git rev-parse HEAD^{commit} # timeout=10 17:21:54 > git config core.sparsecheckout # timeout=10 17:21:54 > git checkout -f 796c34a926d8ca856e16c6d4844671a9b33e1cf2 # timeout=10 17:21:58 Commit message: "fix: addresses all latest comments by Anthony and Lenny, inregardsto docker file for cache volume and minor changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:21:59 % Total % Received % Xferd Average Speed Time Time Time Current 17:21:59 Dload Upload Total Spent Left Speed 17:21:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 29533 0 --:--:-- --:--:-- --:--:-- 29533 [Pipeline] sh 17:22:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:00 + + sudo teesudo /etc/docker/daemon.new jq 17:22:00 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:00 { 17:22:00 "registry-mirrors": [ 17:22:00 "https://nexus3.edgexfoundry.org:10001" 17:22:00 ], 17:22:00 "bip": "10.250.0.254/24", 17:22:00 "hosts": [ 17:22:00 "tcp://0.0.0.0:5555", 17:22:00 "unix:///var/run/docker.sock" 17:22:00 ], 17:22:00 "mtu": 1458, 17:22:00 "selinux-enabled": true, 17:22:00 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:00 } [Pipeline] sh 17:22:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:19 provisioning config files... 17:22:19 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/42@tmp/config8255025351854373128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:20 ---> docker-login.sh 17:22:20 nexus3.edgexfoundry.org:10001 17:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:20 Configure a credential helper to remove this warning. See 17:22:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:20 17:22:20 Login Succeeded 17:22:20 nexus3.edgexfoundry.org:10002 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10003 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10004 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 docker.io 17:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 ---> docker-login.sh ends [Pipeline] } 17:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:23 ========================================================= 17:22:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:22:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:22: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:22:23 Sending build context to Docker daemon 680.4kB 17:22:23 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 17:22:23 Step 2/12 : FROM ${BASE} AS builder 17:22:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:22:23 9b3977197b4f: Pulling fs layer 17:22:23 1a89e8eeedd5: Pulling fs layer 17:22:23 94645a83ff95: Pulling fs layer 17:22:23 3f3a8bcf1eab: Pulling fs layer 17:22:23 0c92f367c5e7: Pulling fs layer 17:22:23 4b8299f9d1f4: Pulling fs layer 17:22:23 9a6b49a46696: Pulling fs layer 17:22:23 cf05db05a679: Pulling fs layer 17:22:23 3f3a8bcf1eab: Waiting 17:22:23 0c92f367c5e7: Waiting 17:22:23 9a6b49a46696: Waiting 17:22:23 4b8299f9d1f4: Waiting 17:22:23 cf05db05a679: Waiting 17:22:23 94645a83ff95: Verifying Checksum 17:22:23 94645a83ff95: Download complete 17:22:23 1a89e8eeedd5: Download complete 17:22:23 0c92f367c5e7: Verifying Checksum 17:22:23 0c92f367c5e7: Download complete 17:22:23 4b8299f9d1f4: Verifying Checksum 17:22:23 4b8299f9d1f4: Download complete 17:22:23 9b3977197b4f: Verifying Checksum 17:22:23 9a6b49a46696: Download complete 17:22:24 9b3977197b4f: Pull complete 17:22:25 1a89e8eeedd5: Pull complete 17:22:25 94645a83ff95: Pull complete 17:22:25 cf05db05a679: Verifying Checksum 17:22:25 cf05db05a679: Download complete 17:22:26 3f3a8bcf1eab: Verifying Checksum 17:22:26 3f3a8bcf1eab: Download complete 17:22:38 3f3a8bcf1eab: Pull complete 17:22:38 0c92f367c5e7: Pull complete 17:22:38 4b8299f9d1f4: Pull complete 17:22:38 9a6b49a46696: Pull complete 17:22:44 cf05db05a679: Pull complete 17:22:44 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 17:22:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:22:44 ---> 0ccda1f7e2ee 17:22:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:22:46 ---> Running in 0060c51332da 17:22:46 Removing intermediate container 0060c51332da 17:22:46 ---> f199b7304e96 17:22:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:22:46 ---> Running in ba93cde97490 17:22:46 Removing intermediate container ba93cde97490 17:22:46 ---> acc4d1df1308 17:22:46 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:22:46 ---> Running in 84e04184ffbc 17:22:46 Removing intermediate container 84e04184ffbc 17:22:46 ---> 1e3d352ded09 17:22:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:22:47 ---> Running in a1e8f903448d 17:22:49 Removing intermediate container a1e8f903448d 17:22:49 ---> e0a71be31291 17:22:49 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:49 ---> Running in f33b127e22eb 17:22:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:22:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:22:51 OK: 220 MiB in 52 packages 17:22:52 Removing intermediate container f33b127e22eb 17:22:52 ---> 68f0a029807e 17:22:52 Step 8/12 : WORKDIR /app 17:22:52 ---> Running in 5b05cecec6b6 17:22:53 Removing intermediate container 5b05cecec6b6 17:22:53 ---> 3a8d2d710ca0 17:22:53 Step 9/12 : COPY . . 17:22:53 ---> 3c9a8ad7cde1 17:22:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:53 ---> Running in dfa22ec9fde7 17:24:01 Removing intermediate container dfa22ec9fde7 17:24:01 ---> 0a3cc5bbba09 17:24:01 Step 11/12 : ARG MAKE="make build" 17:24:01 ---> Running in 5f7b1361130b 17:24:01 Removing intermediate container 5f7b1361130b 17:24:01 ---> 74f68886dac1 17:24:01 Step 12/12 : RUN $MAKE 17:24:01 ---> Running in d64262b6f6b6 17:24:02 noop 17:24:03 Removing intermediate container d64262b6f6b6 17:24:03 ---> 3b129c965394 17:24:03 Successfully built 3b129c965394 17:24:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:24:03 + docker inspect -f . ci-base-image-arm64 17:24:03 . [Pipeline] withDockerContainer 17:24:04 prd-ubuntu18.04-docker-arm64-4c-16g-1740 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/app-rfid-llrp-inventory/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:05 $ docker top 4cc02e97d8cf7f72ea431830f52f2ed61677356ebae98d4ceae8705af4a821db -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:06 + go version 17:24:06 go version go1.17.6 linux/arm64 [Pipeline] } 17:24:06 $ docker stop --time=1 4cc02e97d8cf7f72ea431830f52f2ed61677356ebae98d4ceae8705af4a821db 17:24:07 $ docker rm -f 4cc02e97d8cf7f72ea431830f52f2ed61677356ebae98d4ceae8705af4a821db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:08 + docker inspect -f . ci-base-image-arm64 17:24:08 . [Pipeline] withDockerContainer 17:24:08 prd-ubuntu18.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container 17:24:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:10 $ docker top d8d1ce3e9718b1352937d4ae78c0840efcf5f13595a7ba043c9e22293049a2b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:10 + make test 17:24:10 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:24:57 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:25:01 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.199s coverage: 86.5% of statements 17:25:01 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:25:04 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.665s coverage: 71.9% of statements 17:25:04 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 17:25:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:25:27 # edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 17:25:27 internal/inventory/app/app.go:150:3: misuse of unbuffered os.Signal channel as argument to signal.Notify 17:25:27 make: *** [Makefile:31: test] Error 2 [Pipeline] } 17:25:27 $ docker stop --time=1 d8d1ce3e9718b1352937d4ae78c0840efcf5f13595a7ba043c9e22293049a2b1 17:25:28 $ docker rm -f d8d1ce3e9718b1352937d4ae78c0840efcf5f13595a7ba043c9e22293049a2b1 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:29 17:25:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:25:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:30 arm64: Pulling from edgex-lftools-log-publisher 17:25:30 448f6bf000e3: Pulling fs layer 17:25:30 f757da607395: Pulling fs layer 17:25:30 05883995daec: Pulling fs layer 17:25:30 8603b9c90790: Pulling fs layer 17:25:30 1560dd03e051: Pulling fs layer 17:25:30 27f5ce0e4adf: Pulling fs layer 17:25:30 c2d8d7efcc4b: Pulling fs layer 17:25:30 1560dd03e051: Waiting 17:25:30 27f5ce0e4adf: Waiting 17:25:30 c2d8d7efcc4b: Waiting 17:25:30 8603b9c90790: Waiting 17:25:30 f757da607395: Verifying Checksum 17:25:30 f757da607395: Download complete 17:25:30 8603b9c90790: Verifying Checksum 17:25:30 8603b9c90790: Download complete 17:25:30 1560dd03e051: Verifying Checksum 17:25:30 1560dd03e051: Download complete 17:25:30 27f5ce0e4adf: Verifying Checksum 17:25:30 27f5ce0e4adf: Download complete 17:25:30 05883995daec: Verifying Checksum 17:25:30 05883995daec: Download complete 17:25:30 448f6bf000e3: Verifying Checksum 17:25:30 448f6bf000e3: Download complete 17:25:33 c2d8d7efcc4b: Verifying Checksum 17:25:33 c2d8d7efcc4b: Download complete 17:25:34 448f6bf000e3: Pull complete 17:25:35 f757da607395: Pull complete 17:25:36 05883995daec: Pull complete 17:25:36 8603b9c90790: Pull complete 17:25:37 1560dd03e051: Pull complete 17:25:38 27f5ce0e4adf: Pull complete 17:25:53 c2d8d7efcc4b: Pull complete 17:25:53 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:25:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:25:53 prd-ubuntu18.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container 17:25:53 $ 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/42 -v /w/workspace/app-rfid-llrp-inventory/42:/w/workspace/app-rfid-llrp-inventory/42:rw,z -v /w/workspace/app-rfid-llrp-inventory/42@tmp:/w/workspace/app-rfid-llrp-inventory/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:25:56 $ docker top eafd6ba8a5f332846d52ec2270a9290324ae5bd3cdfaaeeb9fd45ec7b7d41c0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:56 ---> job-cost.sh 17:25:56 lf-activate-venv: SKIPPING 17:25:56 INFO: No Stack... 17:25:57 INFO: Retrieving Pricing Info for: v3-standard-4 17:25:57 INFO: Archiving Costs [Pipeline] sh 17:25:58 + cat /w/workspace/app-rfid-llrp-inventory/42/archives/cost.csv 17:25:58 + cut -d, -f6 [Pipeline] lock 17:25:58 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] 17:25:58 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] did not exist. Created. 17:25:58 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:58 /w/workspace/app-rfid-llrp-inventory/42@tmp/durable-613ceee0/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/42@tmp/durable-613ceee0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:25:59 + echo total: 0.10999999940395355 [Pipeline] stash 17:25:59 Warning: overwriting stash ‘stack-cost’ 17:26:00 Stashed 1 file(s) [Pipeline] } 17:26:00 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-42-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:00 $ docker stop --time=1 eafd6ba8a5f332846d52ec2270a9290324ae5bd3cdfaaeeb9fd45ec7b7d41c0f 17:26:01 $ docker rm -f eafd6ba8a5f332846d52ec2270a9290324ae5bd3cdfaaeeb9fd45ec7b7d41c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:01 Failed in branch arm64 [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:26:02 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives ']' 17:26:02 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives 17:26:02 total 8 17:26:02 drwxr-xr-x. 3 root root 34 Jan 18 17:21 . 17:26:02 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 18 17:21 .. 17:26:02 drwxr-xr-x. 2 root root 6 Jan 18 17:21 cost 17:26:02 -rw-r--r--. 1 root root 94 Jan 18 17:21 cost.csv 17:26:02 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives 17:26:02 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives 17:26:02 total 8 17:26:02 drwxr-xr-x. 3 jenkins jenkins 34 Jan 18 17:21 . 17:26:02 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 18 17:21 .. 17:26:02 drwxr-xr-x. 2 jenkins jenkins 6 Jan 18 17:21 cost 17:26:02 -rw-r--r--. 1 jenkins jenkins 94 Jan 18 17:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:26:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:26:03 ---> package-listing.sh 17:26:03 ++ facter osfamily 17:26:03 ++ tr '[:upper:]' '[:lower:]' 17:26:03 + OS_FAMILY=redhat 17:26:03 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-54 17:26:03 + START_PACKAGES=/tmp/packages_start.txt 17:26:03 + END_PACKAGES=/tmp/packages_end.txt 17:26:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:26:03 + PACKAGES=/tmp/packages_start.txt 17:26:03 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 17:26:03 + PACKAGES=/tmp/packages_end.txt 17:26:03 + case "${OS_FAMILY}" in 17:26:03 + sort 17:26:03 + rpm -qa 17:26:04 + '[' -f /tmp/packages_start.txt ']' 17:26:04 + '[' -f /tmp/packages_end.txt ']' 17:26:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:26:04 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 17:26:04 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ 17:26:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ [Pipeline] echo 17:26:04 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:26:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:26:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:05 . [Pipeline] withDockerContainer 17:26:05 prd-centos7-docker-4c-2g-1739 does not seem to be running inside a container 17:26:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:05 $ docker top c5335bf3de23ed1e5f19f35aa52c0cd6cfe31198057e0b9042d1d095b529d149 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:05 + touch /tmp/pre-build-complete [Pipeline] sh 17:26:06 + mkdir -p /var/log/sysstat [Pipeline] sh 17:26:06 + ls /var/log/sa-host 17:26:06 + sadf -c /var/log/sa-host/sa17 17:26:06 file_magic: OK 17:26:06 HZ: Using current value: 100 17:26:06 file_header: OK 17:26:06 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:26:06 Statistics: 17:26:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:26:06 File successfully converted to sysstat format version 12.0.3 17:26:06 + sadf -c /var/log/sa-host/sa18 17:26:06 file_magic: OK 17:26:06 HZ: Using current value: 100 17:26:06 file_header: OK 17:26:06 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:26:06 Statistics: 17:26:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:26:06 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:06 provisioning config files... 17:26:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config3733259899434040780tmp [Pipeline] { [Pipeline] echo 17:26:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:26:07 ---> create-netrc.sh [Pipeline] } 17:26:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:26:07 ---> python-tools-install.sh [Pipeline] echo 17:26:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:26:07 ---> sudo-logs.sh 17:26:07 Archiving 'sudo' log.. 17:26:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-1739.novalocal: Name or service not known 17:26:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-1739.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:26:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:26:08 ---> job-cost.sh 17:26:08 lf-activate-venv: SKIPPING 17:26:08 DEBUG: total: 0.05999999865889549 17:26:08 INFO: Retrieving Stack Cost... 17:26:08 INFO: Retrieving Pricing Info for: v3-standard-2 17:26:08 INFO: Archiving Costs [Pipeline] echo 17:26:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:26:09 ---> logs-deploy.sh 17:26:09 lf-activate-venv: SKIPPING 17:26:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-54/42 17:26:09 INFO: archiving workspace using pattern(s): 17:26:09 Archives upload complete. 17:26:10 INFO: archiving logs to Nexus