Pull request #56 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06873e81a089729e5a3d6af8bc49c449c2f88cf5+b6e280350ed918af335c01cae5055bc6405cf045 (7bd0c313a53bbc2983d94352cd165e36cff62659) 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-ssh14622249288919211509.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-ssh7053410590401058923.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/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8741915940707064981.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-ssh17263463925501977858.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/go-mod-configuration/branches/PR-56/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/go-mod-configuration/branches/PR-56/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15110341952065427225.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: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.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: 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3537 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-ssh9204946344327211029.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 b6e280350ed918af335c01cae5055bc6405cf045 into PR head commit 06873e81a089729e5a3d6af8bc49c449c2f88cf5 Merge succeeded, producing 06873e81a089729e5a3d6af8bc49c449c2f88cf5 Checking out Revision 06873e81a089729e5a3d6af8bc49c449c2f88cf5 (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-ssh8415262589541606071.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 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # 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-ssh4000326343081927942.key > git merge b6e280350ed918af335c01cae5055bc6405cf045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # 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. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 7ca84e713bb04dac46d0546cd5154ae10c22dbbf # timeout=10 [Pipeline] timeout 18:53:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:53:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:53:41 ========================================================= 18:53:41 EdgeX Global Pipelines Version Info 18:53:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:53:42 ------------------- 18:53:42 stable info: 18:53:42 ------------------- 18:53:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:53:42 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:53:42 Message: update stable to v1.0.219 18:53:42 ------------------- 18:53:42 experimental info: 18:53:42 ------------------- 18:53:42 Commited By: **** collab-it+edgex@linuxfoundation.org 18:53:42 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:53:42 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:53:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06873e81a089729e5a3d6af8bc49c449c2f88cf5 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06873e8 [Pipeline] echo 18:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:53:43 + git rev-list -1 --merges 06873e81a089729e5a3d6af8bc49c449c2f88cf5~1..06873e81a089729e5a3d6af8bc49c449c2f88cf5 [Pipeline] echo 18:53:43 -----------> git rev-list -1 --merges 06873e81a089729e5a3d6af8bc49c449c2f88cf5~1..06873e81a089729e5a3d6af8bc49c449c2f88cf5 06873e81a089729e5a3d6af8bc49c449c2f88cf5 [false] [Pipeline] sh 18:53:44 + git log --format=format:%s -1 06873e81a089729e5a3d6af8bc49c449c2f88cf5 [Pipeline] echo 18:53:44 ========================================================= 18:53:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:53:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:44 + git log --format=format:%s -1 06873e81a089729e5a3d6af8bc49c449c2f88cf5 [Pipeline] echo 18:53:44 [semverPrep] GIT_COMMIT: 06873e81a089729e5a3d6af8bc49c449c2f88cf5, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0 [Pipeline] echo 18:53:44 [semverPrep] This is not a build commit. [Pipeline] sh 18:53:45 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:53:45 + grep -v github /etc/ssh/ssh_known_hosts 18:53:45 + '[' -e /tmp/ssh_known_hosts ']' 18:53:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:53:45 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:53:45 + sudo tee -a /etc/ssh/ssh_known_hosts 18:53:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:53:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:53:45 18:53:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:53:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:53:45 latest: Pulling from edgex-devops/git-semver 18:53:45 a0d0a0d46f8b: Pulling fs layer 18:53:45 3e5f54012d9b: Pulling fs layer 18:53:45 4c7163046ea9: Pulling fs layer 18:53:45 0c2d73faf560: Pulling fs layer 18:53:45 0c2d73faf560: Waiting 18:53:45 3e5f54012d9b: Verifying Checksum 18:53:45 3e5f54012d9b: Download complete 18:53:45 a0d0a0d46f8b: Verifying Checksum 18:53:45 a0d0a0d46f8b: Download complete 18:53:45 0c2d73faf560: Verifying Checksum 18:53:45 0c2d73faf560: Download complete 18:53:46 4c7163046ea9: Verifying Checksum 18:53:46 4c7163046ea9: Download complete 18:53:46 a0d0a0d46f8b: Pull complete 18:53:46 3e5f54012d9b: Pull complete 18:53:46 4c7163046ea9: Pull complete 18:53:46 0c2d73faf560: Pull complete 18:53:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:53:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:53:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:53:46 prd-centos7-docker-4c-2g-3537 does not seem to be running inside a container 18:53:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:53:46 $ docker top af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:47 [ssh-agent] Looking for ssh-agent implementation... 18:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:46 $ docker exec af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 ssh-agent 18:53:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXILdgdf/agent.13 18:53:47 SSH_AGENT_PID=19 18:53:47 Running ssh-add (command line suppressed) 18:53:47 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_4056906351156585384.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_4056906351156585384.key) 18:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:48 + git tag --points-at HEAD [Pipeline] } 18:53:47 $ docker exec --env ******** --env ******** af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 ssh-agent -k 18:53:47 unset SSH_AUTH_SOCK; 18:53:47 unset SSH_AGENT_PID; 18:53:47 echo Agent pid 19 killed; 18:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:48 [ssh-agent] Looking for ssh-agent implementation... 18:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:47 $ docker exec af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 ssh-agent 18:53:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadLCkK/agent.54 18:53:48 SSH_AGENT_PID=60 18:53:48 Running ssh-add (command line suppressed) 18:53:47 Identity added: /w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_890390920808019636.key (/w/workspace/undry_go-mod-configuration_PR-56@tmp/private_key_890390920808019636.key) 18:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:48 + git semver init 18:53:48 # -> Open(): unable to determine branch for HEAD 18:53:48 # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-56/.git 18:53:48 # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-56 18:53:48 # $SEMVER_REMOTE_NAME = origin 18:53:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:53:48 # $SEMVER_USER_NAME = edgex-jenkins 18:53:48 # $SEMVER_BRANCH = PR-56 18:53:48 # $SEMVER_TEMP = /tmp/semver-759277507 18:53:48 # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP 18:53:49 # '/tmp/semver-759277507' -> '/w/workspace/undry_go-mod-configuration_PR-56/.semver' 18:53:49 # -> Force: false 18:53:49 # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-56/.semver [Pipeline] } 18:53:48 $ docker exec --env ******** --env ******** af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 ssh-agent -k 18:53:49 unset SSH_AUTH_SOCK; 18:53:49 unset SSH_AGENT_PID; 18:53:49 echo Agent pid 60 killed; 18:53:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:49 + git semver [Pipeline] } 18:53:49 $ docker stop --time=1 af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 18:53:50 $ docker rm -f af55165dbe8b199eb5b2f0be71611a1b6cc7e20c77a405e74154cebd1f5e4100 [Pipeline] // withDockerContainer [Pipeline] sh 18:53:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:53:51 Stashed 1 file(s) [Pipeline] echo 18:53:51 [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] unstash [Pipeline] echo 18:53:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:51 ========================================================= 18:53:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:53:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:53:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3510 in /w/workspace/undry_go-mod-configuration_PR-56 [Pipeline] { [Pipeline] ws 18:53:51 Running in /w/workspace/go-mod-configuration/7 [Pipeline] { [Pipeline] checkout 18:53:51 Selected Git installation does not exist. Using Default 18:53:51 The recommended git tool is: NONE 18:53:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:53:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:52 59bf1c3509f3: Pulling fs layer 18:53:52 666ba61612fd: Pulling fs layer 18:53:52 8ed8ca486205: Pulling fs layer 18:53:52 4fe6c5a15a65: Pulling fs layer 18:53:52 22a0e8bec74d: Pulling fs layer 18:53:52 f965cba54748: Pulling fs layer 18:53:52 861ffc35075e: Pulling fs layer 18:53:52 4b385c91608e: Pulling fs layer 18:53:52 560528eb2ebb: Pulling fs layer 18:53:52 f965cba54748: Waiting 18:53:52 861ffc35075e: Waiting 18:53:52 4b385c91608e: Waiting 18:53:52 560528eb2ebb: Waiting 18:53:52 4fe6c5a15a65: Waiting 18:53:52 22a0e8bec74d: Waiting 18:53:52 8ed8ca486205: Verifying Checksum 18:53:52 8ed8ca486205: Download complete 18:53:52 666ba61612fd: Verifying Checksum 18:53:52 666ba61612fd: Download complete 18:53:52 22a0e8bec74d: Verifying Checksum 18:53:52 22a0e8bec74d: Download complete 18:53:52 f965cba54748: Verifying Checksum 18:53:52 f965cba54748: Download complete 18:53:52 861ffc35075e: Verifying Checksum 18:53:52 861ffc35075e: Download complete 18:53:52 59bf1c3509f3: Verifying Checksum 18:53:52 59bf1c3509f3: Download complete 18:53:52 4b385c91608e: Verifying Checksum 18:53:52 4b385c91608e: Download complete 18:53:52 59bf1c3509f3: Pull complete 18:53:52 4fe6c5a15a65: Verifying Checksum 18:53:52 4fe6c5a15a65: Download complete 18:53:52 666ba61612fd: Pull complete 18:53:52 8ed8ca486205: Pull complete 18:53:52 560528eb2ebb: Verifying Checksum 18:53:52 560528eb2ebb: Download complete 18:53:55 using credential edgex-jenkins-ssh 18:53:55 Cloning the remote Git repository 18:53:55 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 18:53:55 > git init /w/workspace/go-mod-configuration/7 # timeout=10 18:53:56 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:53:56 > git --version # timeout=10 18:53:56 > git --version # 'git version 2.17.1' 18:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:57 4fe6c5a15a65: Pull complete 18:53:57 22a0e8bec74d: Pull complete 18:53:57 f965cba54748: Pull complete 18:53:57 861ffc35075e: Pull complete 18:53:57 4b385c91608e: Pull complete 18:53:57 Merging remotes/origin/main commit b6e280350ed918af335c01cae5055bc6405cf045 into PR head commit 06873e81a089729e5a3d6af8bc49c449c2f88cf5 18:53:57 Merge succeeded, producing 06873e81a089729e5a3d6af8bc49c449c2f88cf5 18:53:57 Checking out Revision 06873e81a089729e5a3d6af8bc49c449c2f88cf5 (PR-56) 18:53:56 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:53:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:57 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 18:53:57 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 18:53:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:57 > 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 18:53:57 > git config core.sparsecheckout # timeout=10 18:53:57 > git checkout -f 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # timeout=10 18:53:57 > git remote # timeout=10 18:53:57 > git config --get remote.origin.url # timeout=10 18:53:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:57 > git merge b6e280350ed918af335c01cae5055bc6405cf045 # timeout=10 18:53:57 > git rev-parse HEAD^{commit} # timeout=10 18:53:57 > git config core.sparsecheckout # timeout=10 18:53:57 > git checkout -f 06873e81a089729e5a3d6af8bc49c449c2f88cf5 # timeout=10 18:53:59 560528eb2ebb: Pull complete 18:53:59 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:53:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 18:53:59 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:54:00 + docker inspect -f . ci-base-image-x86_64 18:54:00 . [Pipeline] withDockerContainer 18:54:00 prd-centos7-docker-4c-2g-3537 does not seem to be running inside a container 18:54:00 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:02 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.9.1 to 1.12.0" 18:54:03 $ docker top eed82a20c96fcd177e2c1b2c680eb2a92e70ddb5bac59c4bddba7e436acc5819 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:03 + go version 18:54:03 go version go1.17.6 linux/amd64 [Pipeline] } 18:54:03 $ docker stop --time=1 eed82a20c96fcd177e2c1b2c680eb2a92e70ddb5bac59c4bddba7e436acc5819 18:54:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:54:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:03 Dload Upload Total Spent Left Speed 18:54:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 75916 0 --:--:-- --:--:-- --:--:-- 75916 18:54:04 $ docker rm -f eed82a20c96fcd177e2c1b2c680eb2a92e70ddb5bac59c4bddba7e436acc5819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:54:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:54:05 + docker inspect -f . ci-base-image-x86_64 18:54:05 . [Pipeline] withDockerContainer 18:54:05 prd-centos7-docker-4c-2g-3537 does not seem to be running inside a container 18:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:05 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 18:54:05 tee /etc/docker/daemon.new 18:54:05 { 18:54:05 "registry-mirrors": [ 18:54:05 "https://nexus3.edgexfoundry.org:10001" 18:54:05 ], 18:54:05 "bip": "10.250.0.254/24", 18:54:05 "hosts": [ 18:54:05 "tcp://0.0.0.0:5555", 18:54:05 "unix:///var/run/docker.sock" 18:54:05 ], 18:54:05 "mtu": 1458, 18:54:05 "selinux-enabled": true, 18:54:05 "seccomp-profile": "/etc/docker/seccomp.json" 18:54:05 } 18:54:05 $ docker top 43fb6615401e5cb08ee0418a533351cfe6554772089e44f991093c3fad29d22c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 18:54:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:54:06 + make test 18:54:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:54:06 go: downloading github.com/pelletier/go-toml v1.9.4 18:54:06 go: downloading github.com/stretchr/testify v1.7.0 18:54:06 go: downloading github.com/hashicorp/consul/api v1.12.0 18:54:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:54:06 go: downloading github.com/davecgh/go-spew v1.1.1 18:54:06 go: downloading github.com/pmezard/go-difflib v1.0.0 18:54:06 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:54:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:54:06 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:54:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:54:06 go: downloading github.com/hashicorp/serf v0.9.6 18:54:06 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:54:06 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:54:06 go: downloading github.com/mitchellh/copystructure v1.0.0 18:54:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:54:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:54:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:54:06 go: downloading github.com/fatih/color v1.9.0 18:54:06 go: downloading github.com/mattn/go-isatty v0.0.12 18:54:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:54:06 + sudo service docker restart 18:54:06 go: downloading github.com/mattn/go-colorable v0.1.6 18:54:06 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 18:54:16 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.011s coverage: 85.7% of statements 18:54:23 2022/01/20 18:54:15 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:54:23 2022/01/20 18:54:15 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:54:23 2022/01/20 18:54:15 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:54:23 2022/01/20 18:54:16 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:54:23 2022/01/20 18:54:17 edgex/core/1.0/consulUnitTest838141523/Logging/ changed 18:54:23 --- FAIL: TestAccessToken (0.00s) 18:54:23 client_test.go:606: 18:54:23 Error Trace: client_test.go:606 18:54:23 Error: Error message not equal: 18:54:23 expected: "unable to get value for edgex/core/1.0/consulUnitTest342072442/testAccess from Consul: Unexpected response code: 403" 18:54:23 actual : "unable to get value for edgex/core/1.0/consulUnitTest342072442/testAccess from Consul: Unexpected response code: 403 ()" 18:54:23 Test: TestAccessToken 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 2022/01/20 18:54:18 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:54:23 2022/01/20 18:54:18 edgex/core/1.0/consulUnitTest838141523/Logging/ changed 18:54:23 2022/01/20 18:54:19 edgex/core/1.0/RenewAccessToken-Test/ changed 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 RenewAccessToken called 18:54:23 WatchForChanges update received 18:54:23 2022/01/20 18:54:20 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 18:54:23 2022/01/20 18:54:20 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 18:54:23 2022/01/20 18:54:21 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 18:54:23 FAIL 18:54:23 coverage: 88.3% of statements 18:54:23 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.552s 18:54:23 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.002s coverage: 100.0% of statements 18:54:23 FAIL 18:54:23 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 18:54:23 $ docker stop --time=1 43fb6615401e5cb08ee0418a533351cfe6554772089e44f991093c3fad29d22c 18:54:24 $ docker rm -f 43fb6615401e5cb08ee0418a533351cfe6554772089e44f991093c3fad29d22c [Pipeline] // withDockerContainer [Pipeline] unstash [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 [Pipeline] echo 18:54:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:25 ========================================================= 18:54:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:54:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:54:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:25 18:54:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:54:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:54:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:25 latest: Pulling from edgex-lftools-log-publisher 18:54:25 b4d181a07f80: Pulling fs layer 18:54:25 a1111a8f2ec3: Pulling fs layer 18:54:25 ed53099fbce6: Pulling fs layer 18:54:25 dc539afda2c1: Pulling fs layer 18:54:25 77bc0d833cb6: Pulling fs layer 18:54:25 9065ff56babe: Pulling fs layer 18:54:25 d287ab97295c: Pulling fs layer 18:54:25 77bc0d833cb6: Waiting 18:54:25 9065ff56babe: Waiting 18:54:25 d287ab97295c: Waiting 18:54:25 dc539afda2c1: Waiting 18:54:25 a1111a8f2ec3: Verifying Checksum 18:54:25 a1111a8f2ec3: Download complete 18:54:25 dc539afda2c1: Verifying Checksum 18:54:25 dc539afda2c1: Download complete 18:54:25 ed53099fbce6: Verifying Checksum 18:54:25 ed53099fbce6: Download complete 18:54:25 9065ff56babe: Verifying Checksum 18:54:25 9065ff56babe: Download complete 18:54:25 77bc0d833cb6: Verifying Checksum 18:54:25 77bc0d833cb6: Download complete 18:54:25 b4d181a07f80: Verifying Checksum 18:54:25 b4d181a07f80: Download complete 18:54:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:54:25 9b3977197b4f: Pulling fs layer 18:54:25 1a89e8eeedd5: Pulling fs layer 18:54:25 94645a83ff95: Pulling fs layer 18:54:25 3f3a8bcf1eab: Pulling fs layer 18:54:25 0c92f367c5e7: Pulling fs layer 18:54:25 4b8299f9d1f4: Pulling fs layer 18:54:25 9a6b49a46696: Pulling fs layer 18:54:25 cf05db05a679: Pulling fs layer 18:54:25 0c92f367c5e7: Waiting 18:54:25 4b8299f9d1f4: Waiting 18:54:25 9a6b49a46696: Waiting 18:54:25 cf05db05a679: Waiting 18:54:25 3f3a8bcf1eab: Waiting 18:54:25 94645a83ff95: Download complete 18:54:25 1a89e8eeedd5: Verifying Checksum 18:54:25 1a89e8eeedd5: Download complete 18:54:25 0c92f367c5e7: Verifying Checksum 18:54:25 0c92f367c5e7: Download complete 18:54:25 4b8299f9d1f4: Verifying Checksum 18:54:25 4b8299f9d1f4: Download complete 18:54:25 9b3977197b4f: Verifying Checksum 18:54:25 9a6b49a46696: Verifying Checksum 18:54:25 9a6b49a46696: Download complete 18:54:26 d287ab97295c: Verifying Checksum 18:54:26 d287ab97295c: Download complete 18:54:27 9b3977197b4f: Pull complete 18:54:27 b4d181a07f80: Pull complete 18:54:27 a1111a8f2ec3: Pull complete 18:54:27 1a89e8eeedd5: Pull complete 18:54:27 94645a83ff95: Pull complete 18:54:27 ed53099fbce6: Pull complete 18:54:27 dc539afda2c1: Pull complete 18:54:27 cf05db05a679: Verifying Checksum 18:54:27 cf05db05a679: Download complete 18:54:28 77bc0d833cb6: Pull complete 18:54:28 9065ff56babe: Pull complete 18:54:28 3f3a8bcf1eab: Verifying Checksum 18:54:28 3f3a8bcf1eab: Download complete 18:54:33 d287ab97295c: Pull complete 18:54:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:54:33 prd-centos7-docker-4c-2g-3537 does not seem to be running inside a container 18:54:33 $ 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/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:54:36 $ docker top c4a528766a1778ac1d2cf3f5e44e565447dc53ca2bcd4a32c40da1c76ff57875 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:36 ---> job-cost.sh 18:54:36 lf-activate-venv: SKIPPING 18:54:36 INFO: No Stack... 18:54:36 INFO: Retrieving Pricing Info for: v3-standard-2 18:54:36 INFO: Archiving Costs [Pipeline] sh 18:54:37 + cat /w/workspace/undry_go-mod-configuration_PR-56/archives/cost.csv 18:54:37 + cut -d, -f6 [Pipeline] lock 18:54:37 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] 18:54:37 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] did not exist. Created. 18:54:37 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:37 + echo total: 0.05999999865889549 [Pipeline] stash 18:54:37 Stashed 1 file(s) [Pipeline] } 18:54:37 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:37 $ docker stop --time=1 c4a528766a1778ac1d2cf3f5e44e565447dc53ca2bcd4a32c40da1c76ff57875 18:54:38 $ docker rm -f c4a528766a1778ac1d2cf3f5e44e565447dc53ca2bcd4a32c40da1c76ff57875 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:54:38 Failed in branch amd64 18:54:40 3f3a8bcf1eab: Pull complete 18:54:40 0c92f367c5e7: Pull complete 18:54:40 4b8299f9d1f4: Pull complete 18:54:40 9a6b49a46696: Pull complete 18:54:46 cf05db05a679: Pull complete 18:54:46 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:54:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 18:54:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:54:47 + docker inspect -f . ci-base-image-arm64 18:54:47 . [Pipeline] withDockerContainer 18:54:47 prd-ubuntu18.04-docker-arm64-4c-16g-3510 does not seem to be running inside a container 18:54:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/7 -v /w/workspace/go-mod-configuration/7:/w/workspace/go-mod-configuration/7:rw,z -v /w/workspace/go-mod-configuration/7@tmp:/w/workspace/go-mod-configuration/7@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 ******** ci-base-image-arm64 cat 18:54:50 $ docker top f0b1846f9e714ef50e95482ebe6882ca2e4071a796afd69a53bb8211368fb5a0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:51 + go version 18:54:51 go version go1.17.6 linux/arm64 [Pipeline] } 18:54:51 $ docker stop --time=1 f0b1846f9e714ef50e95482ebe6882ca2e4071a796afd69a53bb8211368fb5a0 18:54:52 $ docker rm -f f0b1846f9e714ef50e95482ebe6882ca2e4071a796afd69a53bb8211368fb5a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:54:53 + docker inspect -f . ci-base-image-arm64 18:54:53 . [Pipeline] withDockerContainer 18:54:53 prd-ubuntu18.04-docker-arm64-4c-16g-3510 does not seem to be running inside a container 18:54:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/7 -v /w/workspace/go-mod-configuration/7:/w/workspace/go-mod-configuration/7:rw,z -v /w/workspace/go-mod-configuration/7@tmp:/w/workspace/go-mod-configuration/7@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 ******** ci-base-image-arm64 cat 18:54:54 $ docker top a306cec0e21a0c52858efed807cca20d2ccb61dced109801ea51fc9cc53663cd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:54:55 + make test 18:54:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:54:55 go: downloading github.com/stretchr/testify v1.7.0 18:54:55 go: downloading github.com/pelletier/go-toml v1.9.4 18:54:55 go: downloading github.com/hashicorp/consul/api v1.12.0 18:54:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:54:55 go: downloading github.com/davecgh/go-spew v1.1.1 18:54:55 go: downloading github.com/pmezard/go-difflib v1.0.0 18:54:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 18:54:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:54:55 go: downloading github.com/mitchellh/copystructure v1.0.0 18:54:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:54:55 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:54:55 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:54:55 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:54:55 go: downloading github.com/hashicorp/serf v0.9.6 18:54:55 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:54:55 go: downloading github.com/fatih/color v1.9.0 18:54:55 go: downloading github.com/mattn/go-isatty v0.0.12 18:54:55 go: downloading golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44 18:54:55 go: downloading github.com/mattn/go-colorable v0.1.6 18:54:56 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:54:56 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:54:56 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:55:28 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.028s coverage: 85.7% of statements 18:55:31 2022/01/20 18:55:24 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:55:31 2022/01/20 18:55:24 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:55:31 2022/01/20 18:55:24 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:55:31 2022/01/20 18:55:25 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:55:31 2022/01/20 18:55:27 edgex/core/1.0/consulUnitTest26444968/Logging/ changed 18:55:31 --- FAIL: TestAccessToken (0.00s) 18:55:31 client_test.go:606: 18:55:31 Error Trace: client_test.go:606 18:55:31 Error: Error message not equal: 18:55:31 expected: "unable to get value for edgex/core/1.0/consulUnitTest537948368/testAccess from Consul: Unexpected response code: 403" 18:55:31 actual : "unable to get value for edgex/core/1.0/consulUnitTest537948368/testAccess from Consul: Unexpected response code: 403 ()" 18:55:31 Test: TestAccessToken 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 2022/01/20 18:55:27 http: superfluous response.WriteHeader call from github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul.(*MockConsul).Start.func1 (mock_consul.go:174) 18:55:31 2022/01/20 18:55:28 edgex/core/1.0/consulUnitTest26444968/Logging/ changed 18:55:31 2022/01/20 18:55:28 edgex/core/1.0/RenewAccessToken-Test/ changed 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 RenewAccessToken called 18:55:31 WatchForChanges update received 18:55:31 2022/01/20 18:55:29 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 18:55:31 2022/01/20 18:55:30 edgex/core/1.0/RenewAccessToken-Test/Logging/ changed 18:55:31 FAIL 18:55:31 coverage: 88.3% of statements 18:55:31 FAIL github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.702s 18:55:31 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.011s coverage: 100.0% of statements 18:55:31 FAIL 18:55:31 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 18:55:31 $ docker stop --time=1 a306cec0e21a0c52858efed807cca20d2ccb61dced109801ea51fc9cc53663cd 18:55:33 $ docker rm -f a306cec0e21a0c52858efed807cca20d2ccb61dced109801ea51fc9cc53663cd [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 18:55:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:34 18:55:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:35 arm64: Pulling from edgex-lftools-log-publisher 18:55:35 448f6bf000e3: Pulling fs layer 18:55:35 f757da607395: Pulling fs layer 18:55:35 05883995daec: Pulling fs layer 18:55:35 8603b9c90790: Pulling fs layer 18:55:35 1560dd03e051: Pulling fs layer 18:55:35 27f5ce0e4adf: Pulling fs layer 18:55:35 c2d8d7efcc4b: Pulling fs layer 18:55:35 1560dd03e051: Waiting 18:55:35 27f5ce0e4adf: Waiting 18:55:35 c2d8d7efcc4b: Waiting 18:55:35 8603b9c90790: Waiting 18:55:35 f757da607395: Verifying Checksum 18:55:35 f757da607395: Download complete 18:55:35 8603b9c90790: Verifying Checksum 18:55:35 8603b9c90790: Download complete 18:55:35 1560dd03e051: Verifying Checksum 18:55:35 1560dd03e051: Download complete 18:55:35 27f5ce0e4adf: Verifying Checksum 18:55:35 27f5ce0e4adf: Download complete 18:55:35 05883995daec: Verifying Checksum 18:55:35 05883995daec: Download complete 18:55:35 448f6bf000e3: Verifying Checksum 18:55:35 448f6bf000e3: Download complete 18:55:38 c2d8d7efcc4b: Verifying Checksum 18:55:38 c2d8d7efcc4b: Download complete 18:55:39 448f6bf000e3: Pull complete 18:55:40 f757da607395: Pull complete 18:55:41 05883995daec: Pull complete 18:55:41 8603b9c90790: Pull complete 18:55:42 1560dd03e051: Pull complete 18:55:42 27f5ce0e4adf: Pull complete 18:55:57 c2d8d7efcc4b: Pull complete 18:55:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:55:58 prd-ubuntu18.04-docker-arm64-4c-16g-3510 does not seem to be running inside a container 18:55:58 $ 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/7 -v /w/workspace/go-mod-configuration/7:/w/workspace/go-mod-configuration/7:rw,z -v /w/workspace/go-mod-configuration/7@tmp:/w/workspace/go-mod-configuration/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:56:00 $ docker top dfe625891dabcf99642fd0d32252f833f632102c53ec572b14a2d8edd7aca7ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> job-cost.sh 18:56:01 lf-activate-venv: SKIPPING 18:56:01 INFO: No Stack... 18:56:01 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:02 INFO: Archiving Costs [Pipeline] sh 18:56:02 + cut -d, -f6 18:56:02 + cat /w/workspace/go-mod-configuration/7/archives/cost.csv [Pipeline] lock 18:56:02 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] 18:56:02 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] did not exist. Created. 18:56:02 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:03 /w/workspace/go-mod-configuration/7@tmp/durable-9a394da8/script.sh: 1: /w/workspace/go-mod-configuration/7@tmp/durable-9a394da8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:04 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:04 Warning: overwriting stash ‘stack-cost’ 18:56:04 Stashed 1 file(s) [Pipeline] } 18:56:04 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:04 $ docker stop --time=1 dfe625891dabcf99642fd0d32252f833f632102c53ec572b14a2d8edd7aca7ea 18:56:06 $ docker rm -f dfe625891dabcf99642fd0d32252f833f632102c53ec572b14a2d8edd7aca7ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:56:06 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 18:56:07 + '[' -d /w/workspace/undry_go-mod-configuration_PR-56/archives ']' 18:56:07 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 18:56:07 total 8 18:56:07 drwxr-xr-x. 3 root root 34 Jan 20 18:54 . 18:56:07 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:54 .. 18:56:07 drwxr-xr-x. 2 root root 6 Jan 20 18:54 cost 18:56:07 -rw-r--r--. 1 root root 89 Jan 20 18:54 cost.csv 18:56:07 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-56/archives 18:56:07 + ls -al /w/workspace/undry_go-mod-configuration_PR-56/archives 18:56:07 total 8 18:56:07 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:54 . 18:56:07 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:54 .. 18:56:07 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:54 cost 18:56:07 -rw-r--r--. 1 jenkins jenkins 89 Jan 20 18:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:56:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:07 ---> package-listing.sh 18:56:07 ++ tr '[:upper:]' '[:lower:]' 18:56:07 ++ facter osfamily 18:56:08 + OS_FAMILY=redhat 18:56:08 + workspace=/w/workspace/undry_go-mod-configuration_PR-56 18:56:08 + START_PACKAGES=/tmp/packages_start.txt 18:56:08 + END_PACKAGES=/tmp/packages_end.txt 18:56:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:08 + PACKAGES=/tmp/packages_start.txt 18:56:08 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 18:56:08 + PACKAGES=/tmp/packages_end.txt 18:56:08 + case "${OS_FAMILY}" in 18:56:08 + rpm -qa 18:56:08 + sort 18:56:08 + '[' -f /tmp/packages_start.txt ']' 18:56:08 + '[' -f /tmp/packages_end.txt ']' 18:56:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:08 + '[' /w/workspace/undry_go-mod-configuration_PR-56 ']' 18:56:08 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-56/archives/ 18:56:08 + 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 18:56:08 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 18:56:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:09 . [Pipeline] withDockerContainer 18:56:09 prd-centos7-docker-4c-2g-3537 does not seem to be running inside a container 18:56:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:56:09 $ docker top 6bf1e4dc58f2690c2c8064a33398eaf88a9519ba6f4f903365cb68a4e366d96f -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:10 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:10 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:10 + ls /var/log/sa-host 18:56:10 + sadf -c /var/log/sa-host/sa17 18:56:10 file_magic: OK 18:56:10 HZ: Using current value: 100 18:56:10 file_header: OK 18:56:10 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 18:56:10 Statistics: 18:56:10 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:10 File successfully converted to sysstat format version 12.0.3 18:56:10 + sadf -c /var/log/sa-host/sa20 18:56:10 file_magic: OK 18:56:10 HZ: Using current value: 100 18:56:10 file_header: OK 18:56:10 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 18:56:10 Statistics: 18:56:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:10 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:11 provisioning config files... 18:56:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-56@tmp/config6352850783684579189tmp [Pipeline] { [Pipeline] echo 18:56:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:11 ---> create-netrc.sh [Pipeline] } 18:56:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:11 ---> python-tools-install.sh [Pipeline] echo 18:56:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:12 ---> sudo-logs.sh 18:56:12 Archiving 'sudo' log.. 18:56:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-3537.novalocal: Name or service not known 18:56:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-3537.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:56:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:12 ---> job-cost.sh 18:56:12 lf-activate-venv: SKIPPING 18:56:12 DEBUG: total: 0.05999999865889549 18:56:12 INFO: Retrieving Stack Cost... 18:56:12 INFO: Retrieving Pricing Info for: v3-standard-2 18:56:13 INFO: Archiving Costs [Pipeline] echo 18:56:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:13 ---> logs-deploy.sh 18:56:13 lf-activate-venv: SKIPPING 18:56:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-56/7 18:56:13 INFO: archiving workspace using pattern(s): 18:56:14 Archives upload complete. 18:56:14 INFO: archiving logs to Nexus