Pull request #130 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/go-mod-secrets Obtained Jenkinsfile from a07696176532f07539554ddd794eaada27e2d54e+27b61fbea77631ab8db888db2953ba85805d96a0 (66d078d91737f6e405ccaee5d1fc8c78039656a5) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7440190005868309304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh5115510766262952092.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-secrets/branches/PR-130/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-secrets/branches/PR-130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7144146388871354362.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh3774315302117034893.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-secrets/branches/PR-130/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-secrets/branches/PR-130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh590386884115628953.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-secrets, 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-secrets-settings PROJECT: go-mod-secrets USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-secrets 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-2333 in /w/workspace/gexfoundry_go-mod-secrets_PR-130 [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-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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/gexfoundry_go-mod-secrets_PR-130@tmp/jenkins-gitclient-ssh8388954102838219547.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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/gexfoundry_go-mod-secrets_PR-130@tmp/jenkins-gitclient-ssh1809255509340533970.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 27b61fbea77631ab8db888db2953ba85805d96a0 into PR head commit a07696176532f07539554ddd794eaada27e2d54e Merge succeeded, producing a07696176532f07539554ddd794eaada27e2d54e Checking out Revision a07696176532f07539554ddd794eaada27e2d54e (PR-130) > git config core.sparsecheckout # timeout=10 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # 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/gexfoundry_go-mod-secrets_PR-130@tmp/jenkins-gitclient-ssh8878638394152630379.key > git merge 27b61fbea77631ab8db888db2953ba85805d96a0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # timeout=10 Commit message: "Merge branch 'main' into changes-for-lts-builds" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:31 ========================================================= 04:19:31 EdgeX Global Pipelines Version Info 04:19:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cb38d049e64716d4651b1387d1ef40ffe63049b0 # timeout=10 04:19:32 ------------------- 04:19:32 stable info: 04:19:32 ------------------- 04:19:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:32 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 04:19:32 Message: update stable to v1.0.207 04:19:33 ------------------- 04:19:33 experimental info: 04:19:33 ------------------- 04:19:33 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:33 Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 04:19:33 Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:19:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a07696176532f07539554ddd794eaada27e2d54e [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a076961 [Pipeline] echo 04:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:34 + git log --format=format:%s -1 a07696176532f07539554ddd794eaada27e2d54e [Pipeline] echo 04:19:34 GIT_COMMIT: a07696176532f07539554ddd794eaada27e2d54e, Commit Message: Merge branch 'main' into changes-for-lts-builds [Pipeline] echo 04:19:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:35 04:19:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:19:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:35 latest: Pulling from edgex-devops/git-semver 04:19:35 31603596830f: Pulling fs layer 04:19:35 04fac38145f0: Pulling fs layer 04:19:35 701f6daf10bf: Pulling fs layer 04:19:35 24f72da36158: Pulling fs layer 04:19:35 24f72da36158: Waiting 04:19:35 04fac38145f0: Verifying Checksum 04:19:35 04fac38145f0: Download complete 04:19:35 31603596830f: Verifying Checksum 04:19:35 31603596830f: Download complete 04:19:35 24f72da36158: Verifying Checksum 04:19:35 24f72da36158: Download complete 04:19:35 31603596830f: Pull complete 04:19:36 04fac38145f0: Pull complete 04:19:36 701f6daf10bf: Verifying Checksum 04:19:36 701f6daf10bf: Download complete 04:19:36 701f6daf10bf: Pull complete 04:19:37 24f72da36158: Pull complete 04:19:37 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 04:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:19:37 prd-centos7-docker-4c-2g-2333 does not seem to be running inside a container 04:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-130 -v /w/workspace/gexfoundry_go-mod-secrets_PR-130:/w/workspace/gexfoundry_go-mod-secrets_PR-130:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:19:38 $ docker top 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:38 [ssh-agent] Looking for ssh-agent implementation... 04:19:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:38 $ docker exec 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 ssh-agent 04:19:38 SSH_AUTH_SOCK=/tmp/ssh-DEaUwbOXXMV8/agent.13 04:19:38 SSH_AGENT_PID=18 04:19:38 Running ssh-add (command line suppressed) 04:19:38 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/private_key_7451610330645740729.key (/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/private_key_7451610330645740729.key) 04:19:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:38 + git tag --points-at HEAD [Pipeline] } 04:19:38 $ docker exec --env ******** --env ******** 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 ssh-agent -k 04:19:39 unset SSH_AUTH_SOCK; 04:19:39 unset SSH_AGENT_PID; 04:19:39 echo Agent pid 18 killed; 04:19:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:39 [ssh-agent] Looking for ssh-agent implementation... 04:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:39 $ docker exec 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 ssh-agent 04:19:39 SSH_AUTH_SOCK=/tmp/ssh-Jm923j8UX99b/agent.52 04:19:39 SSH_AGENT_PID=59 04:19:39 Running ssh-add (command line suppressed) 04:19:39 Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/private_key_3629889144960839714.key (/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/private_key_3629889144960839714.key) 04:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:39 + git semver init 04:19:39 # -> Open(): unable to determine branch for HEAD 04:19:39 # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-130/.git 04:19:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-130 04:19:39 # $SEMVER_REMOTE_NAME = origin 04:19:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:19:39 # $SEMVER_USER_NAME = edgex-jenkins 04:19:39 # $SEMVER_BRANCH = PR-130 04:19:39 # $SEMVER_TEMP = /tmp/semver-034603236 04:19:39 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 04:19:40 # '/tmp/semver-034603236' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-130/.semver' 04:19:40 # -> Force: false 04:19:40 # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-130/.semver [Pipeline] } 04:19:40 $ docker exec --env ******** --env ******** 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 ssh-agent -k 04:19:40 unset SSH_AUTH_SOCK; 04:19:40 unset SSH_AGENT_PID; 04:19:40 echo Agent pid 59 killed; 04:19:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:40 + git semver [Pipeline] } 04:19:40 $ docker stop --time=1 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 04:19:42 $ docker rm -f 6ece9d048fa80dae8bffb93f7bfa91ca4fccaf071ef73f8e98cc9d69bc97e899 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:43 Stashed 1 file(s) [Pipeline] echo 04:19:43 [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 04:19:58 Still waiting to schedule task 04:19:58 ‘prd-centos7-docker-4c-2g-2263’ is offline 04:19:58 ‘prd-centos7-docker-4c-2g-2342’ is offline 04:19:58 ‘prd-centos7-docker-4c-2g-285’ is offline 04:19:58 ‘prd-centos7-docker-4c-2g-336’ is offline 04:19:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2331’ doesn’t have label ‘centos7-docker-4c-2g’ 04:19:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2332’ doesn’t have label ‘centos7-docker-4c-2g’ 04:19:58 Still waiting to schedule task 04:19:58 ‘prd-centos7-docker-4c-2g-2263’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 04:19:58 ‘prd-centos7-docker-4c-2g-2342’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 04:19:58 ‘prd-centos7-docker-4c-2g-285’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 04:19:58 ‘prd-centos7-docker-4c-2g-336’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 04:19:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2331’ is offline 04:19:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2332’ is offline 04:20:11 Running on prd-centos7-docker-4c-2g-2340 in /w/workspace/gexfoundry_go-mod-secrets_PR-130 [Pipeline] { [Pipeline] ws 04:20:11 Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout 04:20:11 Selected Git installation does not exist. Using Default 04:20:11 The recommended git tool is: NONE 04:20:14 using credential edgex-jenkins-ssh 04:20:14 Cloning the remote Git repository 04:20:14 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 04:20:14 > git init /w/workspace/go-mod-secrets/2 # timeout=10 04:20:14 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:20:14 > git --version # timeout=10 04:20:14 > git --version # 'git version 2.24.4' 04:20:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:14 [INFO] Currently running in a labeled security context 04:20:14 [INFO] Currently SELinux is 'enforcing' on the host 04:20:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/2@tmp/jenkins-gitclient-ssh9088478474316746986.key 04:20:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:16 Merging remotes/origin/main commit 27b61fbea77631ab8db888db2953ba85805d96a0 into PR head commit a07696176532f07539554ddd794eaada27e2d54e 04:20:16 Merge succeeded, producing a07696176532f07539554ddd794eaada27e2d54e 04:20:16 Checking out Revision a07696176532f07539554ddd794eaada27e2d54e (PR-130) 04:20:15 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:20:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:15 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:20:15 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:20:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:15 [INFO] Currently running in a labeled security context 04:20:15 [INFO] Currently SELinux is 'enforcing' on the host 04:20:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/2@tmp/jenkins-gitclient-ssh5633120111666774081.key 04:20:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:20:16 > git config core.sparsecheckout # timeout=10 04:20:16 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # timeout=10 04:20:16 > git remote # timeout=10 04:20:16 > git config --get remote.origin.url # timeout=10 04:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:16 [INFO] Currently running in a labeled security context 04:20:16 [INFO] Currently SELinux is 'enforcing' on the host 04:20:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/2@tmp/jenkins-gitclient-ssh4359048994759185089.key 04:20:16 > git merge 27b61fbea77631ab8db888db2953ba85805d96a0 # timeout=10 04:20:16 > git rev-parse HEAD^{commit} # timeout=10 04:20:16 > git config core.sparsecheckout # timeout=10 04:20:16 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # timeout=10 04:20:20 Commit message: "Merge branch 'main' into changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:20:21 ========================================================= 04:20:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:20:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:20:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:20:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:21 4e9f2cdf4387: Pulling fs layer 04:20:21 57d31006c564: Pulling fs layer 04:20:21 bd5ccded8296: Pulling fs layer 04:20:21 304dd3a0f381: Pulling fs layer 04:20:21 d37cda54a23b: Pulling fs layer 04:20:21 bae75c0f2455: Pulling fs layer 04:20:21 806579b3d29a: Pulling fs layer 04:20:21 c77eb801bf70: Pulling fs layer 04:20:21 6d0567d44e1a: Pulling fs layer 04:20:21 304dd3a0f381: Waiting 04:20:21 d37cda54a23b: Waiting 04:20:21 bae75c0f2455: Waiting 04:20:21 806579b3d29a: Waiting 04:20:21 c77eb801bf70: Waiting 04:20:21 6d0567d44e1a: Waiting 04:20:21 bd5ccded8296: Verifying Checksum 04:20:21 bd5ccded8296: Download complete 04:20:21 57d31006c564: Verifying Checksum 04:20:21 57d31006c564: Download complete 04:20:21 d37cda54a23b: Verifying Checksum 04:20:21 d37cda54a23b: Download complete 04:20:21 bae75c0f2455: Verifying Checksum 04:20:21 bae75c0f2455: Download complete 04:20:22 806579b3d29a: Verifying Checksum 04:20:22 806579b3d29a: Download complete 04:20:22 4e9f2cdf4387: Verifying Checksum 04:20:22 4e9f2cdf4387: Download complete 04:20:22 4e9f2cdf4387: Pull complete 04:20:22 57d31006c564: Pull complete 04:20:22 c77eb801bf70: Verifying Checksum 04:20:22 c77eb801bf70: Download complete 04:20:22 bd5ccded8296: Pull complete 04:20:23 304dd3a0f381: Verifying Checksum 04:20:23 304dd3a0f381: Download complete 04:20:23 6d0567d44e1a: Verifying Checksum 04:20:23 6d0567d44e1a: Download complete 04:20:28 304dd3a0f381: Pull complete 04:20:28 d37cda54a23b: Pull complete 04:20:28 bae75c0f2455: Pull complete 04:20:28 806579b3d29a: Pull complete 04:20:28 c77eb801bf70: Pull complete 04:20:30 6d0567d44e1a: Pull complete 04:20:30 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 04:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:20:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 04:20:31 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 04:20:31 + docker inspect -f . ci-base-image-x86_64 04:20:31 . [Pipeline] withDockerContainer 04:20:31 prd-centos7-docker-4c-2g-2340 does not seem to be running inside a container 04:20:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:35 $ docker top c2cadab46dc2f1045e5647495d3de5ed0d857144044d16105821875eee930095 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:36 + go version 04:20:36 go version go1.16.8 linux/amd64 [Pipeline] } 04:20:36 $ docker stop --time=1 c2cadab46dc2f1045e5647495d3de5ed0d857144044d16105821875eee930095 04:20:37 $ docker rm -f c2cadab46dc2f1045e5647495d3de5ed0d857144044d16105821875eee930095 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:20:37 + docker inspect -f . ci-base-image-x86_64 04:20:37 . [Pipeline] withDockerContainer 04:20:38 prd-centos7-docker-4c-2g-2340 does not seem to be running inside a container 04:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:20:38 $ docker top 7f95ec45ad710b7ccf505218d59c9bc07d7728e190dcd33d1036dc9dbdf92c66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:20:38 + make test 04:20:38 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 04:20:38 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 04:20:38 go: downloading github.com/stretchr/testify v1.7.0 04:20:39 go: downloading github.com/davecgh/go-spew v1.1.0 04:20:39 go: downloading github.com/pmezard/go-difflib v1.0.0 04:20:39 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 04:20:39 go: downloading github.com/go-kit/kit v0.9.0 04:20:39 go: downloading github.com/go-playground/validator/v10 v10.6.1 04:20:39 go: downloading github.com/google/uuid v1.2.0 04:20:39 go: downloading github.com/stretchr/objx v0.1.0 04:20:39 go: downloading github.com/go-playground/universal-translator v0.17.0 04:20:39 go: downloading github.com/leodido/go-urn v1.2.0 04:20:39 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 04:20:39 go: downloading golang.org/x/text v0.3.2 04:20:39 go: downloading github.com/go-logfmt/logfmt v0.4.0 04:20:39 go: downloading github.com/go-playground/locales v0.13.0 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.536s coverage: 80.5% of statements 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.046s coverage: 57.1% of statements 04:21:12 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.040s coverage: 96.7% of statements 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.025s coverage: 89.5% of statements 04:21:12 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.024s coverage: 100.0% of statements 04:21:12 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.020s coverage: 85.7% of statements 04:21:12 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.049s coverage: 100.0% of statements 04:21:12 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 04:21:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:21:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 04:21:17 $ docker stop --time=1 7f95ec45ad710b7ccf505218d59c9bc07d7728e190dcd33d1036dc9dbdf92c66 04:21:19 $ docker rm -f 7f95ec45ad710b7ccf505218d59c9bc07d7728e190dcd33d1036dc9dbdf92c66 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:21 04:21:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:21:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:21 latest: Pulling from edgex-lftools-log-publisher 04:21:21 b4d181a07f80: Pulling fs layer 04:21:21 a1111a8f2ec3: Pulling fs layer 04:21:21 ed53099fbce6: Pulling fs layer 04:21:21 dc539afda2c1: Pulling fs layer 04:21:21 77bc0d833cb6: Pulling fs layer 04:21:21 9065ff56babe: Pulling fs layer 04:21:21 d287ab97295c: Pulling fs layer 04:21:21 77bc0d833cb6: Waiting 04:21:21 9065ff56babe: Waiting 04:21:21 d287ab97295c: Waiting 04:21:21 dc539afda2c1: Waiting 04:21:22 a1111a8f2ec3: Verifying Checksum 04:21:22 a1111a8f2ec3: Download complete 04:21:22 ed53099fbce6: Verifying Checksum 04:21:22 ed53099fbce6: Download complete 04:21:22 dc539afda2c1: Verifying Checksum 04:21:22 dc539afda2c1: Download complete 04:21:22 9065ff56babe: Verifying Checksum 04:21:22 9065ff56babe: Download complete 04:21:22 77bc0d833cb6: Verifying Checksum 04:21:22 77bc0d833cb6: Download complete 04:21:22 b4d181a07f80: Verifying Checksum 04:21:22 b4d181a07f80: Download complete 04:21:22 d287ab97295c: Verifying Checksum 04:21:22 d287ab97295c: Download complete 04:21:23 b4d181a07f80: Pull complete 04:21:24 a1111a8f2ec3: Pull complete 04:21:24 ed53099fbce6: Pull complete 04:21:24 dc539afda2c1: Pull complete 04:21:25 77bc0d833cb6: Pull complete 04:21:25 9065ff56babe: Pull complete 04:21:30 d287ab97295c: Pull complete 04:21:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:21:30 prd-centos7-docker-4c-2g-2340 does not seem to be running inside a container 04:21:30 $ 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-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:33 $ docker top 9eb96dac5cff1f92e53d07308d5306682989fce8fbad5fefe7ca49c41dc3433a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> job-cost.sh 04:21:33 lf-activate-venv: SKIPPING 04:21:33 INFO: No Stack... 04:21:34 INFO: Retrieving Pricing Info for: v3-standard-2 04:21:34 INFO: Archiving Costs [Pipeline] sh 04:21:34 + cat /w/workspace/go-mod-secrets/2/archives/cost.csv 04:21:34 + cut -d, -f6 [Pipeline] lock 04:21:34 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] 04:21:34 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] did not exist. Created. 04:21:34 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:35 + echo total: 0.05999999865889549 [Pipeline] stash 04:21:35 Stashed 1 file(s) [Pipeline] } 04:21:35 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:35 $ docker stop --time=1 9eb96dac5cff1f92e53d07308d5306682989fce8fbad5fefe7ca49c41dc3433a 04:21:36 $ docker rm -f 9eb96dac5cff1f92e53d07308d5306682989fce8fbad5fefe7ca49c41dc3433a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:23:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2346 in /w/workspace/gexfoundry_go-mod-secrets_PR-130 [Pipeline] { [Pipeline] ws 04:23:22 Running in /w/workspace/go-mod-secrets/2 [Pipeline] { [Pipeline] checkout 04:23:22 Selected Git installation does not exist. Using Default 04:23:22 The recommended git tool is: NONE 04:23:32 using credential edgex-jenkins-ssh 04:23:32 Cloning the remote Git repository 04:23:32 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 04:23:33 > git init /w/workspace/go-mod-secrets/2 # timeout=10 04:23:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:23:33 > git --version # timeout=10 04:23:33 > git --version # 'git version 2.17.1' 04:23:33 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:34 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:23:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:23:34 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 04:23:34 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 04:23:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:23:35 Merging remotes/origin/main commit 27b61fbea77631ab8db888db2953ba85805d96a0 into PR head commit a07696176532f07539554ddd794eaada27e2d54e 04:23:35 Merge succeeded, producing a07696176532f07539554ddd794eaada27e2d54e 04:23:35 Checking out Revision a07696176532f07539554ddd794eaada27e2d54e (PR-130) 04:23:35 > git config core.sparsecheckout # timeout=10 04:23:35 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # timeout=10 04:23:35 > git remote # timeout=10 04:23:35 > git config --get remote.origin.url # timeout=10 04:23:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:23:35 > git merge 27b61fbea77631ab8db888db2953ba85805d96a0 # timeout=10 04:23:35 > git rev-parse HEAD^{commit} # timeout=10 04:23:35 > git config core.sparsecheckout # timeout=10 04:23:35 > git checkout -f a07696176532f07539554ddd794eaada27e2d54e # timeout=10 04:23:40 Commit message: "Merge branch 'main' into changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:23:41 ========================================================= 04:23:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:23:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:23:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:23:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:23:44 bbf911997326: Pulling fs layer 04:23:44 58ec367f63d7: Pulling fs layer 04:23:44 1b4a6ffa7d45: Pulling fs layer 04:23:44 fc5181fea5dc: Pulling fs layer 04:23:44 9c418107303f: Pulling fs layer 04:23:44 284eca6f2348: Pulling fs layer 04:23:44 842844d905b1: Pulling fs layer 04:23:44 901a3a57568e: Pulling fs layer 04:23:44 fc5181fea5dc: Waiting 04:23:44 284eca6f2348: Waiting 04:23:44 9c418107303f: Waiting 04:23:44 842844d905b1: Waiting 04:23:44 1b4a6ffa7d45: Verifying Checksum 04:23:44 1b4a6ffa7d45: Download complete 04:23:44 58ec367f63d7: Verifying Checksum 04:23:44 58ec367f63d7: Download complete 04:23:44 9c418107303f: Verifying Checksum 04:23:44 284eca6f2348: Verifying Checksum 04:23:44 284eca6f2348: Download complete 04:23:44 bbf911997326: Verifying Checksum 04:23:44 bbf911997326: Download complete 04:23:44 842844d905b1: Verifying Checksum 04:23:44 842844d905b1: Download complete 04:23:45 bbf911997326: Pull complete 04:23:46 58ec367f63d7: Pull complete 04:23:46 1b4a6ffa7d45: Pull complete 04:23:47 901a3a57568e: Verifying Checksum 04:23:47 901a3a57568e: Download complete 04:23:47 fc5181fea5dc: Verifying Checksum 04:23:47 fc5181fea5dc: Download complete 04:23:57 fc5181fea5dc: Pull complete 04:23:57 9c418107303f: Pull complete 04:23:58 284eca6f2348: Pull complete 04:23:58 842844d905b1: Pull complete 04:24:04 901a3a57568e: Pull complete 04:24:04 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 04:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:24:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 04:24:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 04:24:05 + docker inspect -f . ci-base-image-arm64 04:24:05 . [Pipeline] withDockerContainer 04:24:05 prd-ubuntu18.04-docker-arm64-4c-16g-2346 does not seem to be running inside a container 04:24:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:24:13 $ docker top 2a0f1c89a3867ab94c3087f9f88a1e057f3ba1fdf3d242f83dd06b7cc079033f -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:15 + go version 04:24:15 go version go1.16.8 linux/arm64 [Pipeline] } 04:24:15 $ docker stop --time=1 2a0f1c89a3867ab94c3087f9f88a1e057f3ba1fdf3d242f83dd06b7cc079033f 04:24:16 $ docker rm -f 2a0f1c89a3867ab94c3087f9f88a1e057f3ba1fdf3d242f83dd06b7cc079033f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:24:18 + docker inspect -f . ci-base-image-arm64 04:24:18 . [Pipeline] withDockerContainer 04:24:18 prd-ubuntu18.04-docker-arm64-4c-16g-2346 does not seem to be running inside a container 04:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:24:20 $ docker top 1a657935fb7276dd40d985e2c1e45e7c63c801524126b9773c1f0b88d2560db5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:24:21 + make test 04:24:21 CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out 04:24:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 04:24:22 go: downloading github.com/stretchr/testify v1.7.0 04:24:22 go: downloading github.com/davecgh/go-spew v1.1.0 04:24:22 go: downloading github.com/pmezard/go-difflib v1.0.0 04:24:22 go: downloading github.com/stretchr/objx v0.1.0 04:24:22 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 04:24:22 go: downloading github.com/go-playground/validator/v10 v10.6.1 04:24:22 go: downloading github.com/google/uuid v1.2.0 04:24:22 go: downloading github.com/go-kit/kit v0.9.0 04:24:22 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 04:24:22 go: downloading github.com/leodido/go-urn v1.2.0 04:24:22 go: downloading github.com/go-playground/universal-translator v0.17.0 04:24:22 go: downloading golang.org/x/text v0.3.2 04:24:23 go: downloading github.com/go-playground/locales v0.13.0 04:24:23 go: downloading github.com/go-logfmt/logfmt v0.4.0 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.589s coverage: 80.5% of statements 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.225s coverage: 57.1% of statements 04:25:45 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.193s coverage: 96.7% of statements 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.081s coverage: 89.5% of statements 04:25:45 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.104s coverage: 100.0% of statements 04:25:45 ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.057s coverage: 85.7% of statements 04:25:45 ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.182s coverage: 100.0% of statements 04:25:45 ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] 04:25:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:26:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 04:26:07 $ docker stop --time=1 1a657935fb7276dd40d985e2c1e45e7c63c801524126b9773c1f0b88d2560db5 04:26:10 $ docker rm -f 1a657935fb7276dd40d985e2c1e45e7c63c801524126b9773c1f0b88d2560db5 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:11 Warning: overwriting stash ‘coverage-report’ 04:26:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:13 04:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:26:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:13 arm64: Pulling from edgex-lftools-log-publisher 04:26:13 448f6bf000e3: Pulling fs layer 04:26:13 f757da607395: Pulling fs layer 04:26:13 05883995daec: Pulling fs layer 04:26:13 8603b9c90790: Pulling fs layer 04:26:13 1560dd03e051: Pulling fs layer 04:26:13 27f5ce0e4adf: Pulling fs layer 04:26:13 c2d8d7efcc4b: Pulling fs layer 04:26:13 1560dd03e051: Waiting 04:26:13 27f5ce0e4adf: Waiting 04:26:13 c2d8d7efcc4b: Waiting 04:26:13 8603b9c90790: Waiting 04:26:13 f757da607395: Verifying Checksum 04:26:13 f757da607395: Download complete 04:26:14 8603b9c90790: Verifying Checksum 04:26:14 8603b9c90790: Download complete 04:26:14 05883995daec: Verifying Checksum 04:26:14 05883995daec: Download complete 04:26:14 27f5ce0e4adf: Download complete 04:26:14 1560dd03e051: Verifying Checksum 04:26:14 1560dd03e051: Download complete 04:26:14 448f6bf000e3: Download complete 04:26:17 c2d8d7efcc4b: Verifying Checksum 04:26:17 c2d8d7efcc4b: Download complete 04:26:17 448f6bf000e3: Pull complete 04:26:18 f757da607395: Pull complete 04:26:19 05883995daec: Pull complete 04:26:20 8603b9c90790: Pull complete 04:26:21 1560dd03e051: Pull complete 04:26:21 27f5ce0e4adf: Pull complete 04:26:36 c2d8d7efcc4b: Pull complete 04:26:36 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:26:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:26:37 prd-ubuntu18.04-docker-arm64-4c-16g-2346 does not seem to be running inside a container 04:26:37 $ 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-secrets/2 -v /w/workspace/go-mod-secrets/2:/w/workspace/go-mod-secrets/2:rw,z -v /w/workspace/go-mod-secrets/2@tmp:/w/workspace/go-mod-secrets/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:26:42 $ docker top 4bc75abd98e76ce370e7399b92b41ac119781d8c6106dd2e13782be077cd1666 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:43 ---> job-cost.sh 04:26:43 lf-activate-venv: SKIPPING 04:26:43 INFO: No Stack... 04:27:05 INFO: Retrieving Pricing Info for: v3-standard-4 04:27:05 INFO: Archiving Costs [Pipeline] sh 04:27:06 + cat /w/workspace/go-mod-secrets/2/archives/cost.csv 04:27:06 + cut -d, -f6 [Pipeline] lock 04:27:06 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] 04:27:06 Resource [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] did not exist. Created. 04:27:06 Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:07 /w/workspace/go-mod-secrets/2@tmp/durable-9037149b/script.sh: 1: /w/workspace/go-mod-secrets/2@tmp/durable-9037149b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:07 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:07 Warning: overwriting stash ‘stack-cost’ 04:27:07 Stashed 1 file(s) [Pipeline] } 04:27:07 Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:08 $ docker stop --time=1 4bc75abd98e76ce370e7399b92b41ac119781d8c6106dd2e13782be077cd1666 04:27:09 $ docker rm -f 4bc75abd98e76ce370e7399b92b41ac119781d8c6106dd2e13782be077cd1666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:27:10 provisioning config files... 04:27:10 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/config4984726913819939389tmp [Pipeline] { [Pipeline] sh 04:27:11 + set +x 04:27:11 + curl -s https://codecov.io/bash 04:27:11 + bash -s -- 04:27:11 04:27:11 _____ _ 04:27:11 / ____| | | 04:27:11 | | ___ __| | ___ ___ _____ __ 04:27:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:11 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:11 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:11 Bash-1.0.6 04:27:11 04:27:11 04:27:11 ==> git version 2.24.4 found 04:27:11 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:27:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:27:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:27:11 ==> Jenkins CI detected. 04:27:11 current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-130 04:27:11 project root: . 04:27:11 --> token set from env 04:27:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:11 ==> Running gcov in . (disable via -X gcov) 04:27:11 ==> Python coveragepy not found 04:27:11 ==> Searching for coverage reports in: 04:27:11 + . 04:27:11 -> Found 1 reports 04:27:11 ==> Detecting git/mercurial file structure 04:27:11 ==> Reading reports 04:27:11 + ./coverage.out bytes=27744 04:27:11 ==> Appending adjustments 04:27:11 https://docs.codecov.io/docs/fixing-reports 04:27:11 + Found adjustments 04:27:11 ==> Gzipping contents 04:27:11 8.0K /tmp/codecov.g06bIK.gz 04:27:11 ==> Uploading reports 04:27:11 url: https://codecov.io 04:27:11 query: branch=PR-130&commit=a07696176532f07539554ddd794eaada27e2d54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=130&job=&cmd_args= 04:27:11 -> Pinging Codecov 04:27:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-130&commit=a07696176532f07539554ddd794eaada27e2d54e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=130&job=&cmd_args= 04:27:11 -> Uploading to 04:27:11 https://storage.googleapis.com/codecov/v4/raw/2021-10-07/D63849C06B6B67093493C71CE874ED06/a07696176532f07539554ddd794eaada27e2d54e/1da36e84-9736-416b-8656-b8959a9c6308.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211007T042711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c03f8ef2093860fdf00fb6c7ccbe56e36e584d8256300517385858a5f428dfa6 04:27:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:11 Dload Upload Total Spent Left Speed 04:27:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5721 0 0 100 5721 0 18782 --:--:-- --:--:-- --:--:-- 18819 04:27:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/a07696176532f07539554ddd794eaada27e2d54e [Pipeline] } 04:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:27:13 + '[' -d /w/workspace/gexfoundry_go-mod-secrets_PR-130/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:27:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:27:14 ---> package-listing.sh 04:27:14 ++ facter osfamily 04:27:14 ++ tr '[:upper:]' '[:lower:]' 04:27:14 + OS_FAMILY=redhat 04:27:14 + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-130 04:27:14 + START_PACKAGES=/tmp/packages_start.txt 04:27:14 + END_PACKAGES=/tmp/packages_end.txt 04:27:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:27:14 + PACKAGES=/tmp/packages_start.txt 04:27:14 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-130 ']' 04:27:14 + PACKAGES=/tmp/packages_end.txt 04:27:14 + case "${OS_FAMILY}" in 04:27:14 + sort 04:27:14 + rpm -qa 04:27:15 + '[' -f /tmp/packages_start.txt ']' 04:27:15 + '[' -f /tmp/packages_end.txt ']' 04:27:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:27:15 + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-130 ']' 04:27:15 + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-130/archives/ 04:27:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-130/archives/ [Pipeline] echo 04:27:15 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/gexfoundry_go-mod-secrets_PR-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:27:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:27:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:27:16 04:27:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:27:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:27:16 latest: Pulling from edgex-lftools-log-publisher 04:27:16 b4d181a07f80: Pulling fs layer 04:27:16 a1111a8f2ec3: Pulling fs layer 04:27:16 ed53099fbce6: Pulling fs layer 04:27:16 dc539afda2c1: Pulling fs layer 04:27:16 77bc0d833cb6: Pulling fs layer 04:27:16 9065ff56babe: Pulling fs layer 04:27:16 d287ab97295c: Pulling fs layer 04:27:16 dc539afda2c1: Waiting 04:27:16 77bc0d833cb6: Waiting 04:27:16 9065ff56babe: Waiting 04:27:16 d287ab97295c: Waiting 04:27:17 a1111a8f2ec3: Verifying Checksum 04:27:17 a1111a8f2ec3: Download complete 04:27:17 dc539afda2c1: Verifying Checksum 04:27:17 dc539afda2c1: Download complete 04:27:17 ed53099fbce6: Verifying Checksum 04:27:17 ed53099fbce6: Download complete 04:27:17 9065ff56babe: Verifying Checksum 04:27:17 9065ff56babe: Download complete 04:27:17 b4d181a07f80: Verifying Checksum 04:27:17 b4d181a07f80: Download complete 04:27:17 77bc0d833cb6: Verifying Checksum 04:27:17 77bc0d833cb6: Download complete 04:27:18 d287ab97295c: Verifying Checksum 04:27:18 d287ab97295c: Download complete 04:27:18 b4d181a07f80: Pull complete 04:27:19 a1111a8f2ec3: Pull complete 04:27:19 ed53099fbce6: Pull complete 04:27:19 dc539afda2c1: Pull complete 04:27:20 77bc0d833cb6: Pull complete 04:27:20 9065ff56babe: Pull complete 04:27:25 d287ab97295c: Pull complete 04:27:25 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:27:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:27:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:27:25 prd-centos7-docker-4c-2g-2333 does not seem to be running inside a container 04:27:25 $ 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/gexfoundry_go-mod-secrets_PR-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-130 -v /w/workspace/gexfoundry_go-mod-secrets_PR-130:/w/workspace/gexfoundry_go-mod-secrets_PR-130:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:27:28 $ docker top 6e22be7c622e82ef50a3dfd3a41a49de9d90af6bbea1193e92c9d8e628bb39fa -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:27:29 + mkdir -p /var/log/sysstat [Pipeline] sh 04:27:29 + ls /var/log/sa-host 04:27:29 + sadf -c /var/log/sa-host/sa07 04:27:29 file_magic: OK 04:27:29 HZ: Using current value: 100 04:27:29 file_header: OK 04:27:29 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 04:27:29 Statistics: 04:27:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:27:29 File successfully converted to sysstat format version 12.0.3 04:27:29 + sadf -c /var/log/sa-host/sa30 04:27:29 file_magic: OK 04:27:29 HZ: Using current value: 100 04:27:29 file_header: OK 04:27:29 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 04:27:29 Statistics: 04:27:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:27:29 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:29 provisioning config files... 04:27:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-130@tmp/config6972948106912202670tmp [Pipeline] { [Pipeline] echo 04:27:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:27:30 ---> create-netrc.sh [Pipeline] } 04:27:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:27:30 ---> python-tools-install.sh [Pipeline] echo 04:27:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:27:30 ---> sudo-logs.sh 04:27:30 Archiving 'sudo' log.. 04:27:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-2333.novalocal: Name or service not known 04:27:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-2333.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:27:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:27:31 ---> job-cost.sh 04:27:31 lf-activate-venv: SKIPPING 04:27:31 DEBUG: total: 0.10999999940395355 04:27:31 INFO: Retrieving Stack Cost... 04:27:49 INFO: Retrieving Pricing Info for: v3-standard-2 04:27:49 INFO: Archiving Costs [Pipeline] echo 04:27:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:27:50 ---> logs-deploy.sh 04:27:50 lf-activate-venv: SKIPPING 04:27:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-130/2 04:27:50 INFO: archiving workspace using pattern(s): 04:27:50 Archives upload complete. 04:27:50 INFO: archiving logs to Nexus