Pull request #56 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775+53230280edfc871ff53ec5eb8cb7b2f03142bb4d (ac79f3c9b83c6700132119976b1dc48a02433c75) 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-ssh9597300183166578617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7593952422566997736.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh 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/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16987361597221972333.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/go-mod-configuration/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16978454899331974831.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh6419195751666508177.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/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3538282470261697594.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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:go-mod-configuration, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [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: go-mod-configuration-settings PROJECT: go-mod-configuration USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-configuration DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false 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-1163 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.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/undry_go-mod-configuration_PR-56@tmp/jenkins-gitclient-ssh6442133336681235616.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 Merge succeeded, producing 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 Checking out Revision 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 (PR-56) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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/go-mod-configuration.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.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/undry_go-mod-configuration_PR-56@tmp/jenkins-gitclient-ssh8655631058103415432.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # 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/undry_go-mod-configuration_PR-56@tmp/jenkins-gitclient-ssh3512785528322906584.key > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:08:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:08:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:08:56 ========================================================= 12:08:56 EdgeX Global Pipelines Version Info 12:08:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:08:57 ------------------- 12:08:57 stable info: 12:08:57 ------------------- 12:08:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:08:57 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 12:08:57 Message: update stable to v1.0.217 12:08:57 ------------------- 12:08:57 experimental info: 12:08:57 ------------------- 12:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 12:08:57 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 12:08:57 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:08:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21f09af [Pipeline] echo 12:08:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:08:59 + git rev-list -1 --merges 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775~1..21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 [Pipeline] echo 12:08:59 -----------> git rev-list -1 --merges 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775~1..21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 [false] [Pipeline] sh 12:09:00 + git log --format=format:%s -1 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 [Pipeline] echo 12:09:00 ========================================================= 12:09:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:09:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:00 + git log --format=format:%s -1 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 [Pipeline] echo 12:09:00 [semverPrep] GIT_COMMIT: 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0 [Pipeline] echo 12:09:00 [semverPrep] This is not a build commit. [Pipeline] sh 12:09:01 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:09:01 + grep -v github /etc/ssh/ssh_known_hosts 12:09:01 + '[' -e /tmp/ssh_known_hosts ']' 12:09:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:09:01 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:09:01 + sudo tee -a /etc/ssh/ssh_known_hosts 12:09:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:09:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:01 12:09:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:09:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:02 latest: Pulling from edgex-devops/git-semver 12:09:02 a0d0a0d46f8b: Pulling fs layer 12:09:02 3e5f54012d9b: Pulling fs layer 12:09:02 4c7163046ea9: Pulling fs layer 12:09:02 0c2d73faf560: Pulling fs layer 12:09:02 0c2d73faf560: Waiting 12:09:02 3e5f54012d9b: Verifying Checksum 12:09:02 3e5f54012d9b: Download complete 12:09:02 a0d0a0d46f8b: Verifying Checksum 12:09:02 a0d0a0d46f8b: Download complete 12:09:02 0c2d73faf560: Verifying Checksum 12:09:02 0c2d73faf560: Download complete 12:09:02 4c7163046ea9: Verifying Checksum 12:09:02 4c7163046ea9: Download complete 12:09:02 a0d0a0d46f8b: Pull complete 12:09:02 3e5f54012d9b: Pull complete 12:09:02 4c7163046ea9: Pull complete 12:09:02 0c2d73faf560: Pull complete 12:09:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:09:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:09:02 prd-centos7-docker-4c-2g-1163 does not seem to be running inside a container 12:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:09:03 $ docker top 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:09:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:03 [ssh-agent] Looking for ssh-agent implementation... 12:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:03 $ docker exec 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f ssh-agent 12:09:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhDgFaD/agent.15 12:09:03 SSH_AGENT_PID=22 12:09:03 Running ssh-add (command line suppressed) 12:09:04 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_2871397194829072375.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_2871397194829072375.key) 12:09:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:04 + git tag --points-at HEAD [Pipeline] } 12:09:04 $ docker exec --env ******** --env ******** 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f ssh-agent -k 12:09:04 unset SSH_AUTH_SOCK; 12:09:04 unset SSH_AGENT_PID; 12:09:04 echo Agent pid 22 killed; 12:09:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:09:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:04 [ssh-agent] Looking for ssh-agent implementation... 12:09:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:04 $ docker exec 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f ssh-agent 12:09:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlApljn/agent.56 12:09:04 SSH_AGENT_PID=63 12:09:04 Running ssh-add (command line suppressed) 12:09:04 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_5092136265774419918.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_5092136265774419918.key) 12:09:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:05 + git semver init 12:09:05 # -> Open(): unable to determine branch for HEAD 12:09:05 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-56/.git 12:09:05 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-56 12:09:05 # $SEMVER_REMOTE_NAME = origin 12:09:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:09:05 # $SEMVER_USER_NAME = edgex-jenkins 12:09:05 # $SEMVER_BRANCH = PR-56 12:09:05 # $SEMVER_TEMP = /tmp/semver-281171582 12:09:05 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 12:09:05 # '/tmp/semver-281171582' -> '/w/workspace/undry_go-mod-configuration_PR-56/.semver' 12:09:05 # -> Force: false 12:09:05 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-56/.semver [Pipeline] } 12:09:05 $ docker exec --env ******** --env ******** 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f ssh-agent -k 12:09:05 unset SSH_AUTH_SOCK; 12:09:05 unset SSH_AGENT_PID; 12:09:05 echo Agent pid 63 killed; 12:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:09:06 + git semver [Pipeline] } 12:09:06 $ docker stop --time=1 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f 12:09:07 $ docker rm -f 7094f463c0ea36182a86b08a1144903ac8399cecfb945f3cda2c82a695f0be7f [Pipeline] // withDockerContainer [Pipeline] sh 12:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:09:08 Stashed 1 file(s) [Pipeline] echo 12:09:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 12:09:23 Still waiting to schedule task 12:09:23 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1163’ 12:09:23 Still waiting to schedule task 12:09:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:10:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1164 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] ws 12:10:46 Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout 12:10:46 Selected Git installation does not exist. Using Default 12:10:46 The recommended git tool is: NONE 12:10:51 using credential edgex-jenkins-ssh 12:10:51 Cloning the remote Git repository 12:10:51 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 12:10:51 > git init /w/workspace/go-mod-configuration/1 # timeout=10 12:10:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 12:10:51 > git --version # timeout=10 12:10:51 > git --version # 'git version 2.17.1' 12:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:10:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:10:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 12:10:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:10:52 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 12:10:53 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 12:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 12:10:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:10:53 Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 12:10:53 Merge succeeded, producing 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 12:10:53 Checking out Revision 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 (PR-56) 12:10:53 > git config core.sparsecheckout # timeout=10 12:10:53 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # timeout=10 12:10:53 > git remote # timeout=10 12:10:53 > git config --get remote.origin.url # timeout=10 12:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 12:10:53 > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 12:10:53 > git rev-parse HEAD^{commit} # timeout=10 12:10:53 > git config core.sparsecheckout # timeout=10 12:10:53 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # timeout=10 12:10:57 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" 12:10:57 > git --version # timeout=10 12:10:57 > git --version # 'git version 2.17.1' 12:10:57 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 12:10:59 Dload Upload Total Spent Left Speed 12:10:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 97719 0 --:--:-- --:--:-- --:--:-- 98533 [Pipeline] sh 12:10:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:10:59 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 12:10:59 /etc/docker/daemon.new 12:10:59 { 12:10:59 "registry-mirrors": [ 12:10:59 "https://nexus3.edgexfoundry.org:10001" 12:10:59 ], 12:10:59 "bip": "10.250.0.254/24", 12:10:59 "hosts": [ 12:10:59 "tcp://0.0.0.0:5555", 12:10:59 "unix:///var/run/docker.sock" 12:10:59 ], 12:10:59 "mtu": 1458, 12:10:59 "selinux-enabled": true, 12:10:59 "seccomp-profile": "/etc/docker/seccomp.json" 12:10:59 } [Pipeline] sh 12:11:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:11:00 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 12:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:11:19 ========================================================= 12:11:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 12:11:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 12:11:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 12:11:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:11:20 552d1f2373af: Pulling fs layer 12:11:20 ea3f2d53f512: Pulling fs layer 12:11:20 9e70ebbbe112: Pulling fs layer 12:11:20 7a9cfe048b4a: Pulling fs layer 12:11:20 72dc09318566: Pulling fs layer 12:11:20 f4f7b4309257: Pulling fs layer 12:11:20 0ac9a79272e3: Pulling fs layer 12:11:20 b78e95d17946: Pulling fs layer 12:11:20 72dc09318566: Waiting 12:11:20 f4f7b4309257: Waiting 12:11:20 0ac9a79272e3: Waiting 12:11:20 b78e95d17946: Waiting 12:11:20 7a9cfe048b4a: Waiting 12:11:20 9e70ebbbe112: Download complete 12:11:20 ea3f2d53f512: Verifying Checksum 12:11:20 ea3f2d53f512: Download complete 12:11:20 72dc09318566: Download complete 12:11:20 f4f7b4309257: Download complete 12:11:20 552d1f2373af: Download complete 12:11:20 0ac9a79272e3: Verifying Checksum 12:11:20 0ac9a79272e3: Download complete 12:11:21 552d1f2373af: Pull complete 12:11:21 ea3f2d53f512: Pull complete 12:11:22 9e70ebbbe112: Pull complete 12:11:22 b78e95d17946: Verifying Checksum 12:11:22 b78e95d17946: Download complete 12:11:22 7a9cfe048b4a: Verifying Checksum 12:11:22 7a9cfe048b4a: Download complete 12:11:35 7a9cfe048b4a: Pull complete 12:11:35 72dc09318566: Pull complete 12:11:35 f4f7b4309257: Pull complete 12:11:35 0ac9a79272e3: Pull complete 12:11:40 b78e95d17946: Pull complete 12:11:40 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 12:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 12:11:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 12:11:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 12:11:41 + docker inspect -f . ci-base-image-arm64 12:11:41 . [Pipeline] withDockerContainer 12:11:41 prd-ubuntu18.04-docker-arm64-4c-16g-1164 does not seem to be running inside a container 12:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-arm64 cat 12:11:44 $ docker top 104fbdc617e669032fecd0472b42172c79a54c93efd8f407672b018d74a173a1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:45 + go version 12:11:45 go version go1.16.8 linux/arm64 [Pipeline] } 12:11:45 $ docker stop --time=1 104fbdc617e669032fecd0472b42172c79a54c93efd8f407672b018d74a173a1 12:11:47 $ docker rm -f 104fbdc617e669032fecd0472b42172c79a54c93efd8f407672b018d74a173a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:48 + docker inspect -f . ci-base-image-arm64 12:11:48 . [Pipeline] withDockerContainer 12:11:48 prd-ubuntu18.04-docker-arm64-4c-16g-1164 does not seem to be running inside a container 12:11:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-arm64 cat 12:11:49 $ docker top 4e0761bdb0218f04f42b059d817826a460383b6e8b1097bd0f33b73ae130a72f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:11:50 + make test 12:11:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:11:51 go: downloading github.com/stretchr/testify v1.7.0 12:11:51 go: downloading github.com/hashicorp/consul/api v1.12.0 12:11:51 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:11:51 go: downloading github.com/pelletier/go-toml v1.9.3 12:11:51 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 12:11:51 go: downloading github.com/mitchellh/copystructure v1.0.0 12:11:51 go: downloading github.com/mitchellh/mapstructure v1.1.2 12:11:51 go: downloading github.com/davecgh/go-spew v1.1.1 12:11:51 go: downloading github.com/pmezard/go-difflib v1.0.0 12:11:51 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 12:11:51 go: downloading github.com/mitchellh/reflectwalk v1.0.0 12:11:51 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 12:11:51 go: downloading github.com/hashicorp/go-hclog v0.12.0 12:11:51 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 12:11:51 go: downloading github.com/hashicorp/serf v0.9.6 12:11:51 go: downloading github.com/fatih/color v1.9.0 12:11:51 go: downloading github.com/mattn/go-isatty v0.0.12 12:11:51 go: downloading github.com/mattn/go-colorable v0.1.6 12:11:51 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 12:11:51 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:11:51 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 12:11:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 12:12:05 Running on prd-centos7-docker-4c-2g-1165 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] ws 12:12:05 Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout 12:12:05 Selected Git installation does not exist. Using Default 12:12:05 The recommended git tool is: NONE 12:12:07 using credential edgex-jenkins-ssh 12:12:07 Cloning the remote Git repository 12:12:07 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 12:12:07 > git init /w/workspace/go-mod-configuration/1 # timeout=10 12:12:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 12:12:07 > git --version # timeout=10 12:12:07 > git --version # 'git version 2.24.4' 12:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:07 [INFO] Currently running in a labeled security context 12:12:07 [INFO] Currently SELinux is 'enforcing' on the host 12:12:07 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh942283221661094170.key 12:12:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:08 Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 12:12:08 Merge succeeded, producing 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 12:12:08 Checking out Revision 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 (PR-56) 12:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 12:12:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:08 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 12:12:08 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 12:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:08 [INFO] Currently running in a labeled security context 12:12:08 [INFO] Currently SELinux is 'enforcing' on the host 12:12:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh6201879942053903053.key 12:12:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:12:08 > git config core.sparsecheckout # timeout=10 12:12:08 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # timeout=10 12:12:08 > git remote # timeout=10 12:12:08 > git config --get remote.origin.url # timeout=10 12:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:08 [INFO] Currently running in a labeled security context 12:12:08 [INFO] Currently SELinux is 'enforcing' on the host 12:12:08 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh8081215500978635921.key 12:12:08 > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 12:12:08 > git rev-parse HEAD^{commit} # timeout=10 12:12:08 > git config core.sparsecheckout # timeout=10 12:12:08 > git checkout -f 21f09af4b3ae5d26b37b7dfee6fc4a800b28a775 # timeout=10 12:12:11 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" 12:12:12 > git --version # timeout=10 12:12:12 > git --version # 'git version 2.24.4' 12:12:12 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 12:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:12 ========================================================= 12:12:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 12:12:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 12:12:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 12:12:13 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 12:12:13 a0d0a0d46f8b: Pulling fs layer 12:12:13 31adcdaf11c8: Pulling fs layer 12:12:13 b8b176561691: Pulling fs layer 12:12:13 4527c011a84f: Pulling fs layer 12:12:13 5d74067f8e1e: Pulling fs layer 12:12:13 e0aca202a116: Pulling fs layer 12:12:13 3a43be97a3b4: Pulling fs layer 12:12:13 34cad66bf833: Pulling fs layer 12:12:13 b4e3c513aaa6: Pulling fs layer 12:12:13 4527c011a84f: Waiting 12:12:13 5d74067f8e1e: Waiting 12:12:13 e0aca202a116: Waiting 12:12:13 3a43be97a3b4: Waiting 12:12:13 34cad66bf833: Waiting 12:12:13 b4e3c513aaa6: Waiting 12:12:13 b8b176561691: Verifying Checksum 12:12:13 b8b176561691: Download complete 12:12:13 31adcdaf11c8: Verifying Checksum 12:12:13 31adcdaf11c8: Download complete 12:12:13 5d74067f8e1e: Verifying Checksum 12:12:13 5d74067f8e1e: Download complete 12:12:13 e0aca202a116: Verifying Checksum 12:12:13 e0aca202a116: Download complete 12:12:13 a0d0a0d46f8b: Verifying Checksum 12:12:13 a0d0a0d46f8b: Download complete 12:12:13 3a43be97a3b4: Verifying Checksum 12:12:13 3a43be97a3b4: Download complete 12:12:13 34cad66bf833: Verifying Checksum 12:12:13 34cad66bf833: Download complete 12:12:13 a0d0a0d46f8b: Pull complete 12:12:13 b4e3c513aaa6: Verifying Checksum 12:12:13 b4e3c513aaa6: Download complete 12:12:13 4527c011a84f: Verifying Checksum 12:12:13 4527c011a84f: Download complete 12:12:13 31adcdaf11c8: Pull complete 12:12:14 b8b176561691: Pull complete 12:12:17 4527c011a84f: Pull complete 12:12:17 5d74067f8e1e: Pull complete 12:12:17 e0aca202a116: Pull complete 12:12:17 3a43be97a3b4: Pull complete 12:12:18 34cad66bf833: Pull complete 12:12:20 b4e3c513aaa6: Pull complete 12:12:20 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 12:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 12:12:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 12:12:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 12:12:21 + docker inspect -f . ci-base-image-x86_64 12:12:21 . [Pipeline] withDockerContainer 12:12:21 prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container 12:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-x86_64 cat 12:12:24 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.016s coverage: 85.7% of statements 12:12:25 $ docker top cb7edae6a9f5a838b641b99b858d258ba933fce464f7f44a4bf8f5220185a39f -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:26 + go version 12:12:26 go version go1.16.8 linux/amd64 [Pipeline] } 12:12:26 $ docker stop --time=1 cb7edae6a9f5a838b641b99b858d258ba933fce464f7f44a4bf8f5220185a39f 12:12:27 $ docker rm -f cb7edae6a9f5a838b641b99b858d258ba933fce464f7f44a4bf8f5220185a39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:12:28 + docker inspect -f . ci-base-image-x86_64 12:12:28 . [Pipeline] withDockerContainer 12:12:28 prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container 12:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** ci-base-image-x86_64 cat 12:12:28 $ docker top d7c59cbc2ced9a4d5f916428cc6ba431a148c6d16c75c7a329b397b352315f75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:12:29 + make test 12:12:29 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:12:29 go: downloading github.com/hashicorp/consul/api v1.12.0 12:12:29 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 12:12:29 go: downloading github.com/pelletier/go-toml v1.9.3 12:12:29 go: downloading github.com/stretchr/testify v1.7.0 12:12:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 12:12:29 go: downloading github.com/mitchellh/copystructure v1.0.0 12:12:29 go: downloading github.com/mitchellh/mapstructure v1.1.2 12:12:29 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 12:12:29 go: downloading github.com/hashicorp/go-hclog v0.12.0 12:12:29 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 12:12:29 go: downloading github.com/hashicorp/serf v0.9.6 12:12:29 go: downloading github.com/davecgh/go-spew v1.1.1 12:12:29 go: downloading github.com/pmezard/go-difflib v1.0.0 12:12:29 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 12:12:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 12:12:29 go: downloading github.com/fatih/color v1.9.0 12:12:29 go: downloading github.com/mattn/go-isatty v0.0.12 12:12:29 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 12:12:29 go: downloading github.com/mattn/go-colorable v0.1.6 12:12:29 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 12:12:29 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 12:12:29 go: downloading github.com/hashicorp/golang-lru v0.5.0 12:12:29 2021/12/20 12:12:22 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:29 2021/12/20 12:12:22 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:29 2021/12/20 12:12:22 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:29 2021/12/20 12:12:23 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:29 2021/12/20 12:12:24 edgex/core/1.0/consulUnitTest520942564/Logging/ changed 12:12:29 --- FAIL: TestAccessToken (0.00s) 12:12:29 client_test.go:606: 12:12:29 Error Trace: client_test.go:606 12:12:29 Error: Error message not equal: 12:12:29 expected: "unable to get value for edgex/core/1.0/consulUnitTest33131851/testAccess from Consul: Unexpected response code: 403" 12:12:29 actual : "unable to get value for edgex/core/1.0/consulUnitTest33131851/testAccess from Consul: Unexpected response code: 403 ()" 12:12:29 Test: TestAccessToken 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 2021/12/20 12:12:25 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:29 2021/12/20 12:12:25 edgex/core/1.0/consulUnitTest520942564/Logging/ changed 12:12:29 2021/12/20 12:12:26 edgex/core/1.0/RenewAccessToken-Test/ changed 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 RenewAccessToken called 12:12:29 WatchForChanges update received 12:12:29 2021/12/20 12:12:27 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:29 2021/12/20 12:12:27 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:29 2021/12/20 12:12:28 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:29 FAIL 12:12:29 coverage: 88.4% of statements 12:12:29 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.706s 12:12:29 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.031s coverage: 100.0% of statements 12:12:29 FAIL 12:12:29 make: *** [Makefile:9: test] Error 1 [Pipeline] } 12:12:29 $ docker stop --time=1 4e0761bdb0218f04f42b059d817826a460383b6e8b1097bd0f33b73ae130a72f 12:12:31 $ docker rm -f 4e0761bdb0218f04f42b059d817826a460383b6e8b1097bd0f33b73ae130a72f [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 12:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:33 12:12:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:12:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:34 arm64: Pulling from edgex-lftools-log-publisher 12:12:34 448f6bf000e3: Pulling fs layer 12:12:34 f757da607395: Pulling fs layer 12:12:34 05883995daec: Pulling fs layer 12:12:34 8603b9c90790: Pulling fs layer 12:12:34 1560dd03e051: Pulling fs layer 12:12:34 27f5ce0e4adf: Pulling fs layer 12:12:34 c2d8d7efcc4b: Pulling fs layer 12:12:34 1560dd03e051: Waiting 12:12:34 27f5ce0e4adf: Waiting 12:12:34 8603b9c90790: Waiting 12:12:34 c2d8d7efcc4b: Waiting 12:12:34 f757da607395: Verifying Checksum 12:12:34 f757da607395: Download complete 12:12:34 8603b9c90790: Verifying Checksum 12:12:34 8603b9c90790: Download complete 12:12:34 1560dd03e051: Verifying Checksum 12:12:34 1560dd03e051: Download complete 12:12:34 27f5ce0e4adf: Verifying Checksum 12:12:34 27f5ce0e4adf: Download complete 12:12:34 05883995daec: Verifying Checksum 12:12:34 05883995daec: Download complete 12:12:34 448f6bf000e3: Verifying Checksum 12:12:34 448f6bf000e3: Download complete 12:12:37 c2d8d7efcc4b: Verifying Checksum 12:12:37 c2d8d7efcc4b: Download complete 12:12:38 448f6bf000e3: Pull complete 12:12:38 f757da607395: Pull complete 12:12:39 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.017s coverage: 85.7% of statements 12:12:40 05883995daec: Pull complete 12:12:40 8603b9c90790: Pull complete 12:12:41 1560dd03e051: Pull complete 12:12:41 27f5ce0e4adf: Pull complete 12:12:46 2021/12/20 12:12:39 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:46 2021/12/20 12:12:39 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:46 2021/12/20 12:12:39 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:46 2021/12/20 12:12:40 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:46 2021/12/20 12:12:41 edgex/core/1.0/consulUnitTest536993077/Logging/ changed 12:12:46 --- FAIL: TestAccessToken (0.00s) 12:12:46 client_test.go:606: 12:12:46 Error Trace: client_test.go:606 12:12:46 Error: Error message not equal: 12:12:46 expected: "unable to get value for edgex/core/1.0/consulUnitTest41653365/testAccess from Consul: Unexpected response code: 403" 12:12:46 actual : "unable to get value for edgex/core/1.0/consulUnitTest41653365/testAccess from Consul: Unexpected response code: 403 ()" 12:12:46 Test: TestAccessToken 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 2021/12/20 12:12:42 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 12:12:46 2021/12/20 12:12:42 edgex/core/1.0/consulUnitTest536993077/Logging/ changed 12:12:46 2021/12/20 12:12:43 edgex/core/1.0/RenewAccessToken-Test/ changed 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 RenewAccessToken called 12:12:46 WatchForChanges update received 12:12:46 2021/12/20 12:12:44 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:46 2021/12/20 12:12:44 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:46 2021/12/20 12:12:45 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:46 2021/12/20 12:12:45 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:46 2021/12/20 12:12:46 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 12:12:46 FAIL 12:12:46 coverage: 88.4% of statements 12:12:46 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.552s 12:12:46 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.004s coverage: 100.0% of statements 12:12:46 FAIL 12:12:46 make: *** [Makefile:9: test] Error 1 [Pipeline] } 12:12:46 $ docker stop --time=1 d7c59cbc2ced9a4d5f916428cc6ba431a148c6d16c75c7a329b397b352315f75 12:12:47 $ docker rm -f d7c59cbc2ced9a4d5f916428cc6ba431a148c6d16c75c7a329b397b352315f75 [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 12:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:49 12:12:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:12:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:49 latest: Pulling from edgex-lftools-log-publisher 12:12:49 b4d181a07f80: Pulling fs layer 12:12:49 a1111a8f2ec3: Pulling fs layer 12:12:49 ed53099fbce6: Pulling fs layer 12:12:49 dc539afda2c1: Pulling fs layer 12:12:49 77bc0d833cb6: Pulling fs layer 12:12:49 9065ff56babe: Pulling fs layer 12:12:49 d287ab97295c: Pulling fs layer 12:12:49 dc539afda2c1: Waiting 12:12:49 77bc0d833cb6: Waiting 12:12:49 9065ff56babe: Waiting 12:12:49 d287ab97295c: Waiting 12:12:49 a1111a8f2ec3: Verifying Checksum 12:12:49 a1111a8f2ec3: Download complete 12:12:49 dc539afda2c1: Verifying Checksum 12:12:49 dc539afda2c1: Download complete 12:12:49 ed53099fbce6: Verifying Checksum 12:12:49 ed53099fbce6: Download complete 12:12:49 9065ff56babe: Verifying Checksum 12:12:49 9065ff56babe: Download complete 12:12:49 77bc0d833cb6: Verifying Checksum 12:12:49 77bc0d833cb6: Download complete 12:12:49 b4d181a07f80: Verifying Checksum 12:12:49 b4d181a07f80: Download complete 12:12:50 d287ab97295c: Verifying Checksum 12:12:50 d287ab97295c: Download complete 12:12:51 b4d181a07f80: Pull complete 12:12:51 a1111a8f2ec3: Pull complete 12:12:51 ed53099fbce6: Pull complete 12:12:52 dc539afda2c1: Pull complete 12:12:52 77bc0d833cb6: Pull complete 12:12:52 9065ff56babe: Pull complete 12:12:56 c2d8d7efcc4b: Pull complete 12:12:56 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:12:56 prd-ubuntu18.04-docker-arm64-4c-16g-1164 does not seem to be running inside a container 12:12:56 $ 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/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:12:57 d287ab97295c: Pull complete 12:12:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:12:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:59 $ docker top d0fc8b095cd91e579bdf296a6f262465b419f44487aa11298b44315e8d29050f -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 12:12:59 prd-centos7-docker-4c-2g-1165 does not seem to be running inside a container 12:12:59 $ 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/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:02 $ docker top 4436edefed2124c9e48e3c2b88f590c61287761fdc1bda110c79376a1c5469a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 12:13:02 ---> job-cost.sh 12:13:02 lf-activate-venv: SKIPPING 12:13:02 INFO: No Stack... 12:13:02 ---> job-cost.sh 12:13:02 lf-activate-venv: SKIPPING 12:13:02 INFO: No Stack... 12:13:03 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:03 INFO: Archiving Costs [Pipeline] sh 12:13:03 INFO: Retrieving Pricing Info for: v3-standard-2 12:13:03 INFO: Archiving Costs [Pipeline] sh 12:13:03 + cut -d, -f6 12:13:03 + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [Pipeline] lock 12:13:03 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] 12:13:03 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] did not exist. Created. 12:13:03 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:04 + cat /w/workspace/go-mod-configuration/1/archives/cost.csv 12:13:04 + cut -d, -f6 [Pipeline] lock 12:13:04 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] 12:13:04 Found 0 available resource(s). Waiting for correct amount: 1. 12:13:04 [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] is locked by EdgeX Foundry Project » go-mod-configuration » PR-56 #1, waiting... 12:13:04 + echo total: 0.05999999865889549 [Pipeline] stash 12:13:04 Stashed 1 file(s) [Pipeline] } 12:13:04 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] 12:13:04 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] [Pipeline] { [Pipeline] // lock [Pipeline] } 12:13:04 $ docker stop --time=1 4436edefed2124c9e48e3c2b88f590c61287761fdc1bda110c79376a1c5469a3 12:13:05 $ docker rm -f 4436edefed2124c9e48e3c2b88f590c61287761fdc1bda110c79376a1c5469a3 [Pipeline] unstash [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 12:13:06 /w/workspace/go-mod-configuration/1@tmp/durable-bc124b6b/script.sh: 1: /w/workspace/go-mod-configuration/1@tmp/durable-bc124b6b/script.sh: Syntax error: Unterminated quoted string [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:06 Failed in branch amd64 [Pipeline] sh 12:13:06 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:06 Warning: overwriting stash ‘stack-cost’ 12:13:07 Stashed 1 file(s) [Pipeline] } 12:13:07 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:07 $ docker stop --time=1 d0fc8b095cd91e579bdf296a6f262465b419f44487aa11298b44315e8d29050f 12:13:08 $ docker rm -f d0fc8b095cd91e579bdf296a6f262465b419f44487aa11298b44315e8d29050f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:09 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 12:13:11 + '[' -d /w/workspace/undry_go-mod-configuration_PR-56/archives ']' [Pipeline] libraryResource [Pipeline] sh 12:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:12 ---> package-listing.sh 12:13:12 ++ facter osfamily 12:13:12 ++ tr '[:upper:]' '[:lower:]' 12:13:13 + OS_FAMILY=redhat 12:13:13 + workspace=/w/workspace/undry_go-mod-configuration_PR-56 12:13:13 + START_PACKAGES=/tmp/packages_start.txt 12:13:13 + END_PACKAGES=/tmp/packages_end.txt 12:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:13 + PACKAGES=/tmp/packages_start.txt 12:13:13 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 12:13:13 + PACKAGES=/tmp/packages_end.txt 12:13:13 + case "${OS_FAMILY}" in 12:13:13 + rpm -qa 12:13:13 + sort 12:13:13 + '[' -f /tmp/packages_start.txt ']' 12:13:13 + '[' -f /tmp/packages_end.txt ']' 12:13:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:13 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 12:13:13 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-56/archives/ 12:13:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-56/archives/ [Pipeline] echo 12:13:13 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/undry_go-mod-configuration_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:14 12:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:13:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:15 latest: Pulling from edgex-lftools-log-publisher 12:13:15 b4d181a07f80: Pulling fs layer 12:13:15 a1111a8f2ec3: Pulling fs layer 12:13:15 ed53099fbce6: Pulling fs layer 12:13:15 dc539afda2c1: Pulling fs layer 12:13:15 77bc0d833cb6: Pulling fs layer 12:13:15 9065ff56babe: Pulling fs layer 12:13:15 d287ab97295c: Pulling fs layer 12:13:15 77bc0d833cb6: Waiting 12:13:15 9065ff56babe: Waiting 12:13:15 d287ab97295c: Waiting 12:13:15 dc539afda2c1: Waiting 12:13:15 a1111a8f2ec3: Verifying Checksum 12:13:15 a1111a8f2ec3: Download complete 12:13:15 dc539afda2c1: Verifying Checksum 12:13:15 dc539afda2c1: Download complete 12:13:15 ed53099fbce6: Verifying Checksum 12:13:15 ed53099fbce6: Download complete 12:13:15 77bc0d833cb6: Verifying Checksum 12:13:15 77bc0d833cb6: Download complete 12:13:15 9065ff56babe: Verifying Checksum 12:13:15 9065ff56babe: Download complete 12:13:15 b4d181a07f80: Verifying Checksum 12:13:15 b4d181a07f80: Download complete 12:13:15 d287ab97295c: Verifying Checksum 12:13:15 d287ab97295c: Download complete 12:13:16 b4d181a07f80: Pull complete 12:13:16 a1111a8f2ec3: Pull complete 12:13:17 ed53099fbce6: Pull complete 12:13:17 dc539afda2c1: Pull complete 12:13:17 77bc0d833cb6: Pull complete 12:13:17 9065ff56babe: Pull complete 12:13:23 d287ab97295c: Pull complete 12:13:23 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:13:23 prd-centos7-docker-4c-2g-1163 does not seem to be running inside a container 12:13:23 $ 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/undry_go-mod-configuration_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-56 -v /w/workspace/undry_go-mod-configuration_PR-56:/w/workspace/undry_go-mod-configuration_PR-56:rw,z -v /w/workspace/undry_go-mod-configuration_PR-56@tmp:/w/workspace/undry_go-mod-configuration_PR-56@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:10003/edgex-lftools-log-publisher:latest cat 12:13:24 $ docker top 6f064eaa28d081c0e594f75ded38e9062f72b1f081530ce3d501f65c155eba13 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:25 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:25 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:25 + ls /var/log/sa-host 12:13:25 + sadf -c /var/log/sa-host/sa17 12:13:25 file_magic: OK 12:13:25 HZ: Using current value: 100 12:13:25 file_header: OK 12:13:25 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 12:13:25 Statistics: 12:13:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:13:25 File successfully converted to sysstat format version 12.0.3 12:13:25 + sadf -c /var/log/sa-host/sa20 12:13:25 file_magic: OK 12:13:25 HZ: Using current value: 100 12:13:25 file_header: OK 12:13:25 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 12:13:25 Statistics: 12:13:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:13:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:26 provisioning config files... 12:13:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-56@tmp/config3129111514438368071tmp [Pipeline] { [Pipeline] echo 12:13:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:26 ---> create-netrc.sh [Pipeline] } 12:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:27 ---> python-tools-install.sh [Pipeline] echo 12:13:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:27 ---> sudo-logs.sh 12:13:27 Archiving 'sudo' log.. 12:13:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-1163.novalocal: Name or service not known 12:13:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-1163.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:13:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:28 ---> job-cost.sh 12:13:28 lf-activate-venv: SKIPPING 12:13:28 DEBUG: total: 0.10999999940395355 12:13:28 INFO: Retrieving Stack Cost... 12:13:28 INFO: Retrieving Pricing Info for: v3-standard-2 12:13:28 INFO: Archiving Costs [Pipeline] echo 12:13:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:29 ---> logs-deploy.sh 12:13:29 lf-activate-venv: SKIPPING 12:13:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-56/1 12:13:29 INFO: archiving workspace using pattern(s): 12:13:29 Archives upload complete. 12:13:30 INFO: archiving logs to Nexus