Pull request #66 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c+b2b25be523e877d963522165bac2f59bad0af1c8 (160837398590d15449284d787b6ddd283afd1bbb) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3f382fce060f16c10d6f597981912fab355381a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-66/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-secrets/branches/PR-66/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a 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:patch] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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: patch BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8792’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8793 in /w/workspace/dgexfoundry_go-mod-secrets_PR-66 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/dgexfoundry_go-mod-secrets_PR-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b2b25be523e877d963522165bac2f59bad0af1c8 into PR head commit 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c Merge succeeded, producing 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c Checking out Revision 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c (PR-66) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b2b25be523e877d963522165bac2f59bad0af1c8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:25:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:25:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:25:56 ========================================================= 06:25:56 EdgeX Global Pipelines Version Info 06:25:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:25:58 ------------------- 06:25:58 stable info: 06:25:58 ------------------- 06:25:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:25:58 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 06:25:58 Message: update stable to v1.0.148 06:25:59 ------------------- 06:25:59 experimental info: 06:25:59 ------------------- 06:25:59 Commited By: **** collab-it+edgex@linuxfoundation.org 06:25:59 Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc 06:25:59 Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:26:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 06:26:00 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 06:26:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:26:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:26:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a6b244 [Pipeline] echo 06:26:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:05 + git log --format=format:%s -1 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c [Pipeline] echo 06:26:05 GIT_COMMIT: 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:26:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:06 06:26:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:26:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:07 latest: Pulling from edgex-devops/git-semver 06:26:07 31603596830f: Pulling fs layer 06:26:07 2a8b12db71e7: Pulling fs layer 06:26:07 6ca5941a6612: Pulling fs layer 06:26:07 ecc8261a40a4: Pulling fs layer 06:26:07 ecc8261a40a4: Waiting 06:26:07 2a8b12db71e7: Verifying Checksum 06:26:07 2a8b12db71e7: Download complete 06:26:07 31603596830f: Verifying Checksum 06:26:07 31603596830f: Download complete 06:26:07 ecc8261a40a4: Verifying Checksum 06:26:07 ecc8261a40a4: Download complete 06:26:07 6ca5941a6612: Verifying Checksum 06:26:07 6ca5941a6612: Download complete 06:26:08 31603596830f: Pull complete 06:26:08 2a8b12db71e7: Pull complete 06:26:08 6ca5941a6612: Pull complete 06:26:08 ecc8261a40a4: Pull complete 06:26:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:26:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:26:09 prd-centos7-docker-4c-2g-8793 does not seem to be running inside a container 06:26:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-66 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-66:/w/workspace/dgexfoundry_go-mod-secrets_PR-66:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-66@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:26:11 $ docker top 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:26:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:11 [ssh-agent] Looking for ssh-agent implementation... 06:26:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:12 $ docker exec 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c ssh-agent 06:26:12 SSH_AUTH_SOCK=/tmp/ssh-hXAyVrod4Po9/agent.12 06:26:12 SSH_AGENT_PID=17 06:26:12 Running ssh-add (command line suppressed) 06:26:12 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/private_key_5973781415696024908.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/private_key_5973781415696024908.key) 06:26:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:12 + git tag --points-at HEAD [Pipeline] } 06:26:12 $ docker exec --env ******** --env ******** 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c ssh-agent -k 06:26:12 unset SSH_AUTH_SOCK; 06:26:12 unset SSH_AGENT_PID; 06:26:12 echo Agent pid 17 killed; 06:26:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:26:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:13 [ssh-agent] Looking for ssh-agent implementation... 06:26:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:13 $ docker exec 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c ssh-agent 06:26:13 SSH_AUTH_SOCK=/tmp/ssh-zTTziqkfLK23/agent.46 06:26:13 SSH_AGENT_PID=52 06:26:13 Running ssh-add (command line suppressed) 06:26:13 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/private_key_5948004877045432494.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/private_key_5948004877045432494.key) 06:26:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:14 + git semver init 06:26:14 # -> Open(): unable to determine branch for HEAD 06:26:14 # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-66/.git 06:26:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-66 06:26:14 # $SEMVER_REMOTE_NAME = origin 06:26:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:26:14 # $SEMVER_USER_NAME = edgex-jenkins 06:26:14 # $SEMVER_BRANCH = PR-66 06:26:14 # $SEMVER_TEMP = /tmp/semver-152682783 06:26:14 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 06:26:14 # '/tmp/semver-152682783' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-66/.semver' 06:26:14 # -> Force: false 06:26:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-66/.semver [Pipeline] } 06:26:14 $ docker exec --env ******** --env ******** 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c ssh-agent -k 06:26:14 unset SSH_AUTH_SOCK; 06:26:14 unset SSH_AGENT_PID; 06:26:14 echo Agent pid 52 killed; 06:26:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:15 + git semver [Pipeline] } 06:26:15 $ docker stop --time=1 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c 06:26:16 $ docker rm -f 539ba02b13e97fd2c547f4e9e9a9918797040aa1b067a608858bc80d7141dd0c [Pipeline] // withDockerContainer [Pipeline] sh 06:26:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:26:17 Stashed 1 file(s) [Pipeline] echo 06:26:17 [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 06:26:33 Still waiting to schedule task 06:26:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:26:33 Still waiting to schedule task 06:26:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:28:09 Running on prd-centos7-docker-4c-2g-8798 in /w/workspace/dgexfoundry_go-mod-secrets_PR-66 [Pipeline] { [Pipeline] ws 06:28:10 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 06:28:12 using credential edgex-jenkins-ssh 06:28:12 Cloning the remote Git repository 06:28:12 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 06:28:13 > git init /w/workspace/go-mod-secrets/1 # timeout=10 06:28:13 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:28:13 > git --version # timeout=10 06:28:13 > git --version # 'git version 2.16.5' 06:28:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:28:14 Merging remotes/origin/master commit b2b25be523e877d963522165bac2f59bad0af1c8 into PR head commit 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c 06:28:14 Merge succeeded, producing 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c 06:28:14 Checking out Revision 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c (PR-66) 06:28:14 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:28:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:28:14 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:28:14 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:28:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:28:14 > git config core.sparsecheckout # timeout=10 06:28:14 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 06:28:14 > git remote # timeout=10 06:28:14 > git config --get remote.origin.url # timeout=10 06:28:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:14 > git merge b2b25be523e877d963522165bac2f59bad0af1c8 # timeout=10 06:28:14 > git rev-parse HEAD^{commit} # timeout=10 06:28:14 > git config core.sparsecheckout # timeout=10 06:28:14 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 06:28:18 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:28:18 > git --version # timeout=10 06:28:18 > git --version # 'git version 2.16.5' 06:28:18 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:28:19 ========================================================= 06:28:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:28:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:28:20 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:28:20 Sending build context to Docker daemon 404kB 06:28:20 Step 1/7 : ARG BASE=golang:1.15-alpine 06:28:20 Step 2/7 : FROM ${BASE} 06:28:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:28:20 df20fa9351a1: Pulling fs layer 06:28:20 ed8968b2872e: Pulling fs layer 06:28:20 a92cc7c5fd73: Pulling fs layer 06:28:20 e871e8e8d7a9: Pulling fs layer 06:28:20 e73272ec9a57: Pulling fs layer 06:28:20 1e910a182e73: Pulling fs layer 06:28:20 4e634b169226: Pulling fs layer 06:28:20 e73272ec9a57: Waiting 06:28:20 1e910a182e73: Waiting 06:28:20 4e634b169226: Waiting 06:28:20 e871e8e8d7a9: Waiting 06:28:20 a92cc7c5fd73: Verifying Checksum 06:28:20 a92cc7c5fd73: Download complete 06:28:20 ed8968b2872e: Download complete 06:28:20 e73272ec9a57: Download complete 06:28:20 1e910a182e73: Verifying Checksum 06:28:20 1e910a182e73: Download complete 06:28:20 df20fa9351a1: Verifying Checksum 06:28:20 df20fa9351a1: Download complete 06:28:21 df20fa9351a1: Pull complete 06:28:21 ed8968b2872e: Pull complete 06:28:21 a92cc7c5fd73: Pull complete 06:28:23 4e634b169226: Verifying Checksum 06:28:23 4e634b169226: Download complete 06:28:23 e871e8e8d7a9: Verifying Checksum 06:28:23 e871e8e8d7a9: Download complete 06:28:28 e871e8e8d7a9: Pull complete 06:28:29 e73272ec9a57: Pull complete 06:28:29 1e910a182e73: Pull complete 06:28:39 4e634b169226: Pull complete 06:28:39 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:28:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:28:39 ---> f7629b54cfaa 06:28:39 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:28:39 ---> Running in 4b5d4952caf4 06:28:39 Removing intermediate container 4b5d4952caf4 06:28:39 ---> 934a7ebcda64 06:28:39 Step 4/7 : RUN apk add --update bash 06:28:39 ---> Running in 4e99b7da4798 06:28:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:28:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:28:41 OK: 166 MiB in 39 packages 06:28:41 Removing intermediate container 4e99b7da4798 06:28:41 ---> 7a7b7e961623 06:28:41 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:28:41 ---> Running in e176c779b71a 06:28:42 Removing intermediate container e176c779b71a 06:28:42 ---> 4cae915773af 06:28:42 Step 6/7 : COPY go.mod . 06:28:42 ---> 1e47f268ee16 06:28:42 Step 7/7 : RUN go mod download 06:28:42 ---> Running in 33ac63354fd6 06:28:54 Removing intermediate container 33ac63354fd6 06:28:54 ---> f19ca92cde62 06:28:54 Successfully built f19ca92cde62 06:28:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:28:55 + docker inspect -f . ci-base-image-x86_64 06:28:55 . [Pipeline] withDockerContainer 06:28:55 prd-centos7-docker-4c-2g-8798 does not seem to be running inside a container 06:28:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:28:56 $ docker top ef0df40320e4c47a9295d3c58055d499619734aa4a060f3922c65cb4225e6f55 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:56 + go version 06:28:56 go version go1.15.2 linux/amd64 [Pipeline] } 06:28:56 $ docker stop --time=1 ef0df40320e4c47a9295d3c58055d499619734aa4a060f3922c65cb4225e6f55 06:28:58 $ docker rm -f ef0df40320e4c47a9295d3c58055d499619734aa4a060f3922c65cb4225e6f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:59 + docker inspect -f . ci-base-image-x86_64 06:28:59 . [Pipeline] withDockerContainer 06:28:59 prd-centos7-docker-4c-2g-8798 does not seem to be running inside a container 06:28:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:00 $ docker top edec267db6e914d9bf9e533925696f7f106f194e1e1970ea931487c6749b5985 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:01 + make test 06:29:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:29:06 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:29:06 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:29:17 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.033s coverage: 96.7% of statements 06:29:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8799 in /w/workspace/dgexfoundry_go-mod-secrets_PR-66 [Pipeline] { [Pipeline] ws 06:29:18 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 06:29:23 using credential edgex-jenkins-ssh 06:29:23 Cloning the remote Git repository 06:29:23 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 06:29:24 > git init /w/workspace/go-mod-secrets/1 # timeout=10 06:29:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:29:24 > git --version # timeout=10 06:29:24 > git --version # 'git version 2.17.1' 06:29:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:25 Merging remotes/origin/master commit b2b25be523e877d963522165bac2f59bad0af1c8 into PR head commit 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c 06:29:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:29:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:25 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:29:25 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:29:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:25 > git config core.sparsecheckout # timeout=10 06:29:25 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 06:29:25 > git remote # timeout=10 06:29:25 > git config --get remote.origin.url # timeout=10 06:29:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:26 Merge succeeded, producing 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c 06:29:26 Checking out Revision 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c (PR-66) 06:29:27 ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.019s coverage: 86.4% of statements 06:29:27 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.019s coverage: 89.5% of statements 06:29:27 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.011s coverage: 100.0% of statements 06:29:27 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.011s coverage: 100.0% of statements 06:29:27 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.006s coverage: 100.0% of statements 06:29:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:29:25 > git merge b2b25be523e877d963522165bac2f59bad0af1c8 # timeout=10 06:29:25 > git rev-parse HEAD^{commit} # timeout=10 06:29:26 > git config core.sparsecheckout # timeout=10 06:29:26 > git checkout -f 0a6b2446600229f1dec35eaceb0eb5f62c3ec24c # timeout=10 06:29:27 gofmt -l . 06:29:27 [ "`gofmt -l .`" = "" ] [Pipeline] stash 06:29:27 Stashed 1 file(s) [Pipeline] } 06:29:28 $ docker stop --time=1 edec267db6e914d9bf9e533925696f7f106f194e1e1970ea931487c6749b5985 06:29:30 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:29:30 $ docker rm -f edec267db6e914d9bf9e533925696f7f106f194e1e1970ea931487c6749b5985 06:29:30 > git --version # timeout=10 06:29:30 > git --version # 'git version 2.17.1' 06:29:30 fatal: bad object f3f382fce060f16c10d6f597981912fab355381a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] unstash Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] echo 06:29:31 ========================================================= 06:29:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:29:31 ========================================================= [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 06:29:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:29:33 Sending build context to Docker daemon 404kB 06:29:33 Step 1/7 : ARG BASE=golang:1.15-alpine 06:29:33 Step 2/7 : FROM ${BASE} 06:29:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:29:34 b538f80385f9: Pulling fs layer 06:29:34 74f711af9a0d: Pulling fs layer 06:29:34 99f96fe45779: Pulling fs layer 06:29:34 8529a6b9a6be: Pulling fs layer 06:29:34 45590311c82a: Pulling fs layer 06:29:34 69ca0ff8b7b3: Pulling fs layer 06:29:34 209524e5b208: Pulling fs layer 06:29:34 8529a6b9a6be: Waiting 06:29:34 45590311c82a: Waiting 06:29:34 69ca0ff8b7b3: Waiting 06:29:34 209524e5b208: Waiting 06:29:34 99f96fe45779: Verifying Checksum 06:29:34 99f96fe45779: Download complete 06:29:34 74f711af9a0d: Verifying Checksum 06:29:34 74f711af9a0d: Download complete 06:29:34 45590311c82a: Verifying Checksum 06:29:34 45590311c82a: Download complete 06:29:34 69ca0ff8b7b3: Verifying Checksum 06:29:34 69ca0ff8b7b3: Download complete 06:29:34 b538f80385f9: Verifying Checksum 06:29:34 b538f80385f9: Download complete 06:29:35 b538f80385f9: Pull complete 06:29:35 74f711af9a0d: Pull complete 06:29:36 99f96fe45779: Pull complete 06:29:36 209524e5b208: Verifying Checksum 06:29:36 209524e5b208: Download complete 06:29:38 8529a6b9a6be: Verifying Checksum 06:29:38 8529a6b9a6be: Download complete 06:29:50 8529a6b9a6be: Pull complete 06:29:50 45590311c82a: Pull complete 06:29:50 69ca0ff8b7b3: Pull complete 06:29:53 209524e5b208: Pull complete 06:29:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:29:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:29:53 ---> 5bddaf1c2fca 06:29:53 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:29:55 ---> Running in 850be7c17fda 06:29:55 Removing intermediate container 850be7c17fda 06:29:55 ---> 4e3751f0cb57 06:29:55 Step 4/7 : RUN apk add --update bash 06:29:56 ---> Running in 5cbc9af48083 06:29:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:29:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:29:59 OK: 142 MiB in 39 packages 06:30:00 Removing intermediate container 5cbc9af48083 06:30:00 ---> 00fa6ced0353 06:30:00 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:30:00 ---> Running in 4856799d342e 06:30:01 Removing intermediate container 4856799d342e 06:30:01 ---> d4723cfb7af5 06:30:01 Step 6/7 : COPY go.mod . 06:30:02 ---> cb1896eb70af 06:30:02 Step 7/7 : RUN go mod download 06:30:02 ---> Running in 3acc3b23949d 06:30:17 Removing intermediate container 3acc3b23949d 06:30:17 ---> c463e426dc5d 06:30:17 Successfully built c463e426dc5d 06:30:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:30:17 + docker inspect -f . ci-base-image-arm64 06:30:17 . [Pipeline] withDockerContainer 06:30:17 prd-ubuntu18.04-docker-arm64-4c-16g-8799 does not seem to be running inside a container 06:30:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:20 $ docker top c28bbada06db35c16857c7440f4b328c4384761b9528d030b591e0da3097710b -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:21 + go version 06:30:21 go version go1.15.2 linux/arm64 [Pipeline] } 06:30:21 $ docker stop --time=1 c28bbada06db35c16857c7440f4b328c4384761b9528d030b591e0da3097710b 06:30:23 $ docker rm -f c28bbada06db35c16857c7440f4b328c4384761b9528d030b591e0da3097710b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:30:24 + docker inspect -f . ci-base-image-arm64 06:30:24 . [Pipeline] withDockerContainer 06:30:25 prd-ubuntu18.04-docker-arm64-4c-16g-8799 does not seem to be running inside a container 06:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:27 $ docker top 450f91ae14a4416aa1d892d3d342ce79c9ed433aa35be907f27bfbf5660011e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:28 + make test 06:30:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:30:41 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:30:41 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:30:51 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.032s coverage: 96.7% of statements 06:31:09 ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.058s coverage: 86.4% of statements 06:31:09 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.019s coverage: 89.5% of statements 06:31:09 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.012s coverage: 100.0% of statements 06:31:09 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.012s coverage: 100.0% of statements 06:31:09 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.010s coverage: 100.0% of statements 06:31:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:31:13 gofmt -l . 06:31:13 [ "`gofmt -l .`" = "" ] [Pipeline] stash 06:31:13 Warning: overwriting stash ‘coverage-report’ 06:31:14 Stashed 1 file(s) [Pipeline] } 06:31:14 $ docker stop --time=1 450f91ae14a4416aa1d892d3d342ce79c9ed433aa35be907f27bfbf5660011e9 06:31:16 $ docker rm -f 450f91ae14a4416aa1d892d3d342ce79c9ed433aa35be907f27bfbf5660011e9 [Pipeline] // withDockerContainer [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 [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] wrap 06:31:20 provisioning config files... 06:31:20 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/config3900716684006431814tmp [Pipeline] { [Pipeline] sh 06:31:20 + set +x 06:31:20 + curl -s https://codecov.io/bash 06:31:20 + bash -s -- 06:31:20 06:31:20 _____ _ 06:31:20 / ____| | | 06:31:20 | | ___ __| | ___ ___ _____ __ 06:31:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:31:20 | |___| (_) | (_| | __/ (_| (_) \ V / 06:31:20 \_____\___/ \__,_|\___|\___\___/ \_/ 06:31:20 Bash-20201009-048fee3 06:31:20 06:31:20 06:31:20 ==> Jenkins CI detected. 06:31:20 project root: . 06:31:20 --> token set from env 06:31:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:31:20 ==> Running gcov in . (disable via -X gcov) 06:31:20 ==> Python coveragepy not found 06:31:20 ==> Searching for coverage reports in: 06:31:20 + . 06:31:20 -> Found 1 reports 06:31:20 ==> Detecting git/mercurial file structure 06:31:20 ==> Reading reports 06:31:20 + ./coverage.out bytes=16941 06:31:20 ==> Appending adjustments 06:31:20 https://docs.codecov.io/docs/fixing-reports 06:31:21 + Found adjustments 06:31:21 ==> Gzipping contents 06:31:21 ==> Uploading reports 06:31:21 url: https://codecov.io 06:31:21 query: branch=PR-66&commit=0a6b2446600229f1dec35eaceb0eb5f62c3ec24c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=66&job=&cmd_args= 06:31:21 -> Pinging Codecov 06:31:21 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-66&commit=0a6b2446600229f1dec35eaceb0eb5f62c3ec24c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=66&job=&cmd_args= 06:31:21 -> Uploading to 06:31:21 06:31:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:21 Dload Upload Total Spent Left Speed 06:31:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:31:21 X> Failed to upload 06:31:21 ==> Uploading to Codecov 06:31:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:21 Dload Upload Total Spent Left Speed 06:31:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 3970 0 0 100 3859 0 6552 --:--:-- --:--:-- --:--:-- 6551 100 3970 100 111 100 3859 188 6549 --:--:-- --:--:-- --:--:-- 6540 06:31:22 View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/0a6b2446600229f1dec35eaceb0eb5f62c3ec24c [Pipeline] } 06:31:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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] libraryResource [Pipeline] sh 06:31:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:31:26 ---> package-listing.sh 06:31:26 ++ facter osfamily 06:31:26 ++ tr '[:upper:]' '[:lower:]' 06:31:26 + OS_FAMILY=redhat 06:31:26 + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-66 06:31:26 + START_PACKAGES=/tmp/packages_start.txt 06:31:26 + END_PACKAGES=/tmp/packages_end.txt 06:31:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:31:26 + PACKAGES=/tmp/packages_start.txt 06:31:26 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-66 ']' 06:31:26 + PACKAGES=/tmp/packages_end.txt 06:31:26 + case "${OS_FAMILY}" in 06:31:26 + rpm -qa 06:31:26 + sort 06:31:30 + '[' -f /tmp/packages_start.txt ']' 06:31:30 + '[' -f /tmp/packages_end.txt ']' 06:31:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:31:30 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-66 ']' 06:31:30 + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-66/archives/ 06:31:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-66/archives/ [Pipeline] echo 06:31:30 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/dgexfoundry_go-mod-secrets_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:31:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:31:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:31 06:31:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:31:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:31 alpine: Pulling from edgex-lftools-log-publisher 06:31:31 df20fa9351a1: Pulling fs layer 06:31:31 36b3adc4ff6f: Pulling fs layer 06:31:31 8ad3a11d3b57: Pulling fs layer 06:31:31 46f8f816bc3b: Pulling fs layer 06:31:31 93b61091891f: Pulling fs layer 06:31:31 93b9cdb0e59b: Pulling fs layer 06:31:31 5e14af77c1be: Pulling fs layer 06:31:31 01666e4c0597: Pulling fs layer 06:31:31 aa168da1d23b: Pulling fs layer 06:31:31 46f8f816bc3b: Waiting 06:31:31 5e14af77c1be: Waiting 06:31:31 93b61091891f: Waiting 06:31:31 93b9cdb0e59b: Waiting 06:31:31 01666e4c0597: Waiting 06:31:31 aa168da1d23b: Waiting 06:31:31 36b3adc4ff6f: Verifying Checksum 06:31:31 36b3adc4ff6f: Download complete 06:31:31 46f8f816bc3b: Verifying Checksum 06:31:31 46f8f816bc3b: Download complete 06:31:31 df20fa9351a1: Verifying Checksum 06:31:32 93b9cdb0e59b: Verifying Checksum 06:31:32 93b9cdb0e59b: Download complete 06:31:32 5e14af77c1be: Verifying Checksum 06:31:32 5e14af77c1be: Download complete 06:31:32 01666e4c0597: Verifying Checksum 06:31:32 01666e4c0597: Download complete 06:31:32 93b61091891f: Download complete 06:31:32 df20fa9351a1: Pull complete 06:31:32 36b3adc4ff6f: Pull complete 06:31:32 8ad3a11d3b57: Verifying Checksum 06:31:32 8ad3a11d3b57: Download complete 06:31:33 8ad3a11d3b57: Pull complete 06:31:33 46f8f816bc3b: Pull complete 06:31:33 93b61091891f: Pull complete 06:31:34 93b9cdb0e59b: Pull complete 06:31:34 aa168da1d23b: Verifying Checksum 06:31:34 aa168da1d23b: Download complete 06:31:35 5e14af77c1be: Pull complete 06:31:35 01666e4c0597: Pull complete 06:31:41 aa168da1d23b: Pull complete 06:31:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:31:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:31:42 prd-centos7-docker-4c-2g-8793 does not seem to be running inside a container 06:31:42 $ 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/dgexfoundry_go-mod-secrets_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-secrets_PR-66 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-66:/w/workspace/dgexfoundry_go-mod-secrets_PR-66:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:31:49 $ docker top d0b602ba4eb0b62a15ce33d54242ad852862967e3fed694fcb398623e269619e -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:50 + touch /tmp/pre-build-complete [Pipeline] sh 06:31:51 + mkdir -p /var/log/sa [Pipeline] sh 06:31:51 + ls /var/log/sa-host 06:31:51 + sadf -c /var/log/sa-host/sa05 06:31:51 file_magic: OK 06:31:51 HZ: Using current value: 100 06:31:51 file_header: OK 06:31:51 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 06:31:51 Statistics: 06:31:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:31:51 File successfully converted to sysstat format version 12.2.1 06:31:51 + sadf -c /var/log/sa-host/sa26 06:31:51 file_magic: OK 06:31:51 HZ: Using current value: 100 06:31:51 file_header: OK 06:31:51 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 06:31:51 Statistics: 06:31:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:31:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:51 provisioning config files... 06:31:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-66@tmp/config3480543169012074062tmp [Pipeline] { [Pipeline] echo 06:31:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:31:52 ---> create-netrc.sh [Pipeline] } 06:31:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:31:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:31:52 ---> python-tools-install.sh [Pipeline] echo 06:31:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:31:53 ---> sudo-logs.sh 06:31:53 Archiving 'sudo' log.. [Pipeline] echo 06:31:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:31:53 ---> job-cost.sh 06:31:53 lf-activate-venv: SKIPPING 06:31:53 INFO: No Stack... 06:31:56 INFO: Retrieving Pricing Info for: v1-standard-2 06:31:56 INFO: Archiving Costs [Pipeline] echo 06:31:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:31:56 ---> logs-deploy.sh 06:31:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-66/1 06:31:56 INFO: archiving workspace using pattern(s): 06:31:58 Archives upload complete. 06:31:58 INFO: archiving logs to Nexus