Pull request #67 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b3828b6d13b10d8c995c7c56929eb75afe47f2cb+cdc83e6a035d7284a4501830fd11fcb851a98cc0 (9c3bbfdbf94a415a77e59c7d80bd90dd29dc7cb8) 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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-67/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > 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-67/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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10052 in /w/workspace/dgexfoundry_go-mod-secrets_PR-67 [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-67 # 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 Merging remotes/origin/master commit cdc83e6a035d7284a4501830fd11fcb851a98cc0 into PR head commit b3828b6d13b10d8c995c7c56929eb75afe47f2cb Merge succeeded, producing b3828b6d13b10d8c995c7c56929eb75afe47f2cb Checking out Revision b3828b6d13b10d8c995c7c56929eb75afe47f2cb (PR-67) > 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/67/head:refs/remotes/origin/PR-67 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3828b6d13b10d8c995c7c56929eb75afe47f2cb # 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 cdc83e6a035d7284a4501830fd11fcb851a98cc0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3828b6d13b10d8c995c7c56929eb75afe47f2cb # 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:40:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:40:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:40:35 ========================================================= 06:40:35 EdgeX Global Pipelines Version Info 06:40:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:40:37 ------------------- 06:40:37 stable info: 06:40:37 ------------------- 06:40:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:40:37 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:40:37 Message: update stable to v1.0.152 06:40:38 ------------------- 06:40:38 experimental info: 06:40:38 ------------------- 06:40:38 Commited By: **** collab-it+edgex@linuxfoundation.org 06:40:38 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:40:38 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:40:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo 06:40:38 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo 06:40:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-secrets [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:40:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = patch [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:40:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-67 [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-67 [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-67 [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3828b6d13b10d8c995c7c56929eb75afe47f2cb [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3828b6 [Pipeline] echo 06:40:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:43 + git log --format=format:%s -1 b3828b6d13b10d8c995c7c56929eb75afe47f2cb [Pipeline] echo 06:40:43 GIT_COMMIT: b3828b6d13b10d8c995c7c56929eb75afe47f2cb, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:40:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:44 06:40:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:40:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:44 latest: Pulling from edgex-devops/git-semver 06:40:44 31603596830f: Pulling fs layer 06:40:44 2a8b12db71e7: Pulling fs layer 06:40:44 6ca5941a6612: Pulling fs layer 06:40:44 ecc8261a40a4: Pulling fs layer 06:40:44 ecc8261a40a4: Waiting 06:40:44 2a8b12db71e7: Verifying Checksum 06:40:44 2a8b12db71e7: Download complete 06:40:45 31603596830f: Verifying Checksum 06:40:45 31603596830f: Download complete 06:40:45 ecc8261a40a4: Verifying Checksum 06:40:45 ecc8261a40a4: Download complete 06:40:45 6ca5941a6612: Verifying Checksum 06:40:45 6ca5941a6612: Download complete 06:40:45 31603596830f: Pull complete 06:40:45 2a8b12db71e7: Pull complete 06:40:46 6ca5941a6612: Pull complete 06:40:46 ecc8261a40a4: Pull complete 06:40:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:40:46 prd-centos7-docker-4c-2g-10052 does not seem to be running inside a container 06:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-67 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67:/w/workspace/dgexfoundry_go-mod-secrets_PR-67:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:40:49 $ docker top b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:49 [ssh-agent] Looking for ssh-agent implementation... 06:40:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:49 $ docker exec b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e ssh-agent 06:40:49 SSH_AUTH_SOCK=/tmp/ssh-D6PBmLCeIPvR/agent.11 06:40:49 SSH_AGENT_PID=16 06:40:49 Running ssh-add (command line suppressed) 06:40:50 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/private_key_4992434138967111357.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/private_key_4992434138967111357.key) 06:40:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:50 + git tag --points-at HEAD [Pipeline] } 06:40:50 $ docker exec --env ******** --env ******** b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e ssh-agent -k 06:40:50 unset SSH_AUTH_SOCK; 06:40:50 unset SSH_AGENT_PID; 06:40:50 echo Agent pid 16 killed; 06:40:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:40:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:51 [ssh-agent] Looking for ssh-agent implementation... 06:40:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:51 $ docker exec b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e ssh-agent 06:40:51 SSH_AUTH_SOCK=/tmp/ssh-FGmnIxNYeCgD/agent.46 06:40:51 SSH_AGENT_PID=51 06:40:51 Running ssh-add (command line suppressed) 06:40:51 Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/private_key_6863161091551173479.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/private_key_6863161091551173479.key) 06:40:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:52 + git semver init 06:40:52 # -> Open(): unable to determine branch for HEAD 06:40:52 # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-67/.git 06:40:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-67 06:40:52 # $SEMVER_REMOTE_NAME = origin 06:40:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:40:52 # $SEMVER_USER_NAME = edgex-jenkins 06:40:52 # $SEMVER_BRANCH = PR-67 06:40:52 # $SEMVER_TEMP = /tmp/semver-903263481 06:40:52 # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP 06:40:52 # '/tmp/semver-903263481' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-67/.semver' 06:40:52 # -> Force: false 06:40:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-67/.semver [Pipeline] } 06:40:52 $ docker exec --env ******** --env ******** b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e ssh-agent -k 06:40:52 unset SSH_AUTH_SOCK; 06:40:52 unset SSH_AGENT_PID; 06:40:52 echo Agent pid 51 killed; 06:40:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:53 + git semver [Pipeline] } 06:40:53 $ docker stop --time=1 b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e 06:40:54 $ docker rm -f b2147cda7afabc84f43844e64916459a8c8a44e949c636de394e1fd388954f2e [Pipeline] // withDockerContainer [Pipeline] sh 06:40:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:40:55 Stashed 1 file(s) [Pipeline] echo 06:40:55 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:40:57 ========================================================= 06:40:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:40:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:57 + 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:40:57 Sending build context to Docker daemon 617.5kB 06:40:57 Step 1/7 : ARG BASE=golang:1.15-alpine 06:40:57 Step 2/7 : FROM ${BASE} 06:40:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:40:57 df20fa9351a1: Pulling fs layer 06:40:57 ed8968b2872e: Pulling fs layer 06:40:57 a92cc7c5fd73: Pulling fs layer 06:40:57 e871e8e8d7a9: Pulling fs layer 06:40:57 e73272ec9a57: Pulling fs layer 06:40:57 1e910a182e73: Pulling fs layer 06:40:57 4e634b169226: Pulling fs layer 06:40:57 1e910a182e73: Waiting 06:40:57 e871e8e8d7a9: Waiting 06:40:57 e73272ec9a57: Waiting 06:40:57 4e634b169226: Waiting 06:40:58 a92cc7c5fd73: Verifying Checksum 06:40:58 a92cc7c5fd73: Download complete 06:40:58 ed8968b2872e: Verifying Checksum 06:40:58 ed8968b2872e: Download complete 06:40:58 e73272ec9a57: Verifying Checksum 06:40:58 e73272ec9a57: Download complete 06:40:58 1e910a182e73: Verifying Checksum 06:40:58 1e910a182e73: Download complete 06:40:58 df20fa9351a1: Verifying Checksum 06:40:58 df20fa9351a1: Download complete 06:40:58 df20fa9351a1: Pull complete 06:40:58 ed8968b2872e: Pull complete 06:40:58 a92cc7c5fd73: Pull complete 06:41:00 4e634b169226: Verifying Checksum 06:41:00 4e634b169226: Download complete 06:41:00 e871e8e8d7a9: Verifying Checksum 06:41:00 e871e8e8d7a9: Download complete 06:41:07 e871e8e8d7a9: Pull complete 06:41:07 e73272ec9a57: Pull complete 06:41:07 1e910a182e73: Pull complete 06:41:11 Still waiting to schedule task 06:41:11 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:41:14 4e634b169226: Pull complete 06:41:14 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:41:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:41:14 ---> f7629b54cfaa 06:41:14 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:41:14 ---> Running in 6ec8a73ba8f0 06:41:14 Removing intermediate container 6ec8a73ba8f0 06:41:14 ---> c5dfb56ec74c 06:41:14 Step 4/7 : RUN apk add --update bash 06:41:14 ---> Running in 46571370c51e 06:41:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:41:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:41:17 OK: 166 MiB in 39 packages 06:41:17 Removing intermediate container 46571370c51e 06:41:17 ---> c6a6787c3451 06:41:17 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:41:17 ---> Running in 7259d22bbdb0 06:41:18 Removing intermediate container 7259d22bbdb0 06:41:18 ---> 02143ee7d14d 06:41:18 Step 6/7 : COPY go.mod . 06:41:18 ---> 3f0b08eac875 06:41:18 Step 7/7 : RUN go mod download 06:41:18 ---> Running in 0a3fb67232b8 06:41:30 Removing intermediate container 0a3fb67232b8 06:41:30 ---> f4142e0654a3 06:41:30 Successfully built f4142e0654a3 06:41:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:41:31 + docker inspect -f . ci-base-image-x86_64 06:41:31 . [Pipeline] withDockerContainer 06:41:31 prd-centos7-docker-4c-2g-10052 does not seem to be running inside a container 06:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-secrets_PR-67 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67:/w/workspace/dgexfoundry_go-mod-secrets_PR-67:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@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 ******** ci-base-image-x86_64 cat 06:41:32 $ docker top 4cae9fd62d690e949a30066dbb4f9dd455d19cc1d000b56021f2ca3600e62f87 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:33 + go version 06:41:33 go version go1.15.2 linux/amd64 [Pipeline] } 06:41:33 $ docker stop --time=1 4cae9fd62d690e949a30066dbb4f9dd455d19cc1d000b56021f2ca3600e62f87 06:41:34 $ docker rm -f 4cae9fd62d690e949a30066dbb4f9dd455d19cc1d000b56021f2ca3600e62f87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:35 + docker inspect -f . ci-base-image-x86_64 06:41:35 . [Pipeline] withDockerContainer 06:41:35 prd-centos7-docker-4c-2g-10052 does not seem to be running inside a container 06:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-secrets_PR-67 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67:/w/workspace/dgexfoundry_go-mod-secrets_PR-67:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@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 ******** ci-base-image-x86_64 cat 06:41:36 $ docker top 7ae4fd91854a3d669c3d64994422488f0d8d51cde2d6d902535edb669163ad6b -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:37 + make test 06:41:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:41:42 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:41:42 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:41:50 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.017s coverage: 96.7% of statements 06:42:03 ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.026s coverage: 86.4% of statements 06:42:03 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.005s coverage: 89.5% of statements 06:42:03 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.019s coverage: 100.0% of statements 06:42:03 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.016s coverage: 100.0% of statements 06:42:03 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.006s coverage: 100.0% of statements 06:42:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:42:03 gofmt -l . 06:42:03 [ "`gofmt -l .`" = "" ] [Pipeline] } 06:42:03 $ docker stop --time=1 7ae4fd91854a3d669c3d64994422488f0d8d51cde2d6d902535edb669163ad6b 06:42:05 $ docker rm -f 7ae4fd91854a3d669c3d64994422488f0d8d51cde2d6d902535edb669163ad6b [Pipeline] // withDockerContainer [Pipeline] sh 06:42:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:06 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10066 in /w/workspace/dgexfoundry_go-mod-secrets_PR-67 [Pipeline] { [Pipeline] ws 06:44:13 Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout 06:44:18 using credential edgex-jenkins-ssh 06:44:18 Cloning the remote Git repository 06:44:18 Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git 06:44:18 > git init /w/workspace/go-mod-secrets/1 # timeout=10 06:44:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:44:19 > git --version # timeout=10 06:44:19 > git --version # 'git version 2.17.1' 06:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:19 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:44:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 06:44:20 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git 06:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:44:20 Merging remotes/origin/master commit cdc83e6a035d7284a4501830fd11fcb851a98cc0 into PR head commit b3828b6d13b10d8c995c7c56929eb75afe47f2cb 06:44:21 Merge succeeded, producing b3828b6d13b10d8c995c7c56929eb75afe47f2cb 06:44:21 Checking out Revision b3828b6d13b10d8c995c7c56929eb75afe47f2cb (PR-67) 06:44:20 > git config core.sparsecheckout # timeout=10 06:44:20 > git checkout -f b3828b6d13b10d8c995c7c56929eb75afe47f2cb # timeout=10 06:44:20 > git remote # timeout=10 06:44:20 > git config --get remote.origin.url # timeout=10 06:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:20 > git merge cdc83e6a035d7284a4501830fd11fcb851a98cc0 # timeout=10 06:44:21 > git rev-parse HEAD^{commit} # timeout=10 06:44:21 > git config core.sparsecheckout # timeout=10 06:44:21 > git checkout -f b3828b6d13b10d8c995c7c56929eb75afe47f2cb # timeout=10 06:44:25 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:44:25 > git --version # timeout=10 06:44:25 > git --version # 'git version 2.17.1' 06:44:25 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:44:27 ========================================================= 06:44:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:44:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:44:28 + 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 . 06:44:29 Sending build context to Docker daemon 408.1kB 06:44:29 Step 1/7 : ARG BASE=golang:1.15-alpine 06:44:29 Step 2/7 : FROM ${BASE} 06:44:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:44:29 b538f80385f9: Pulling fs layer 06:44:29 74f711af9a0d: Pulling fs layer 06:44:29 99f96fe45779: Pulling fs layer 06:44:29 8529a6b9a6be: Pulling fs layer 06:44:29 45590311c82a: Pulling fs layer 06:44:29 69ca0ff8b7b3: Pulling fs layer 06:44:29 209524e5b208: Pulling fs layer 06:44:29 45590311c82a: Waiting 06:44:29 69ca0ff8b7b3: Waiting 06:44:29 209524e5b208: Waiting 06:44:29 8529a6b9a6be: Waiting 06:44:29 99f96fe45779: Verifying Checksum 06:44:29 99f96fe45779: Download complete 06:44:29 74f711af9a0d: Verifying Checksum 06:44:29 74f711af9a0d: Download complete 06:44:29 45590311c82a: Verifying Checksum 06:44:29 45590311c82a: Download complete 06:44:29 69ca0ff8b7b3: Verifying Checksum 06:44:29 69ca0ff8b7b3: Download complete 06:44:29 b538f80385f9: Verifying Checksum 06:44:29 b538f80385f9: Download complete 06:44:30 b538f80385f9: Pull complete 06:44:31 74f711af9a0d: Pull complete 06:44:31 99f96fe45779: Pull complete 06:44:31 209524e5b208: Verifying Checksum 06:44:31 209524e5b208: Download complete 06:44:33 8529a6b9a6be: Verifying Checksum 06:44:33 8529a6b9a6be: Download complete 06:44:44 8529a6b9a6be: Pull complete 06:44:44 45590311c82a: Pull complete 06:44:44 69ca0ff8b7b3: Pull complete 06:44:47 209524e5b208: Pull complete 06:44:47 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:44:47 ---> 5bddaf1c2fca 06:44:47 Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:44:50 ---> Running in a9f3c1968754 06:44:50 Removing intermediate container a9f3c1968754 06:44:50 ---> 3b1198b23e52 06:44:50 Step 4/7 : RUN apk add --update bash 06:44:50 ---> Running in 4c31359385e3 06:44:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:44:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:44:54 OK: 142 MiB in 39 packages 06:44:56 Removing intermediate container 4c31359385e3 06:44:56 ---> cc2d4e947061 06:44:56 Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry 06:44:56 ---> Running in b19af5d6f78f 06:44:56 Removing intermediate container b19af5d6f78f 06:44:56 ---> 00da36ab82a3 06:44:56 Step 6/7 : COPY go.mod . 06:44:57 ---> e91c8fb957a8 06:44:57 Step 7/7 : RUN go mod download 06:44:57 ---> Running in aea58dddb822 06:45:12 Removing intermediate container aea58dddb822 06:45:12 ---> eb05d99c8560 06:45:12 Successfully built eb05d99c8560 06:45:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:45:13 + docker inspect -f . ci-base-image-arm64 06:45:13 . [Pipeline] withDockerContainer 06:45:13 prd-ubuntu18.04-docker-arm64-4c-16g-10066 does not seem to be running inside a container 06:45:13 $ 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:45:15 $ docker top 69f2a22830c60d5e6e4938c58118f7ae826be424dd7a3f374d13e26812d40a13 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:17 + go version 06:45:17 go version go1.15.2 linux/arm64 [Pipeline] } 06:45:17 $ docker stop --time=1 69f2a22830c60d5e6e4938c58118f7ae826be424dd7a3f374d13e26812d40a13 06:45:19 $ docker rm -f 69f2a22830c60d5e6e4938c58118f7ae826be424dd7a3f374d13e26812d40a13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:20 + docker inspect -f . ci-base-image-arm64 06:45:20 . [Pipeline] withDockerContainer 06:45:20 prd-ubuntu18.04-docker-arm64-4c-16g-10066 does not seem to be running inside a container 06:45:20 $ 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:45:22 $ docker top 3ecfea453b5712fbac660b85e3cb2f54589f316cb5287a50ae3187e06fffbe86 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:24 + make test 06:45:24 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:45:36 ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] 06:45:36 ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] 06:45:47 ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.037s coverage: 96.7% of statements 06:46:05 ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.062s coverage: 86.4% of statements 06:46:05 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.012s coverage: 89.5% of statements 06:46:05 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.009s coverage: 100.0% of statements 06:46:05 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.009s coverage: 100.0% of statements 06:46:05 ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.010s coverage: 100.0% of statements 06:46:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:46:08 gofmt -l . 06:46:08 [ "`gofmt -l .`" = "" ] [Pipeline] } 06:46:08 $ docker stop --time=1 3ecfea453b5712fbac660b85e3cb2f54589f316cb5287a50ae3187e06fffbe86 06:46:10 $ docker rm -f 3ecfea453b5712fbac660b85e3cb2f54589f316cb5287a50ae3187e06fffbe86 [Pipeline] // withDockerContainer [Pipeline] sh 06:46:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:46:11 Warning: overwriting stash ‘coverage-report’ 06:46: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 [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:46:16 provisioning config files... 06:46:16 copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/config334153810335481512tmp [Pipeline] { [Pipeline] sh 06:46:17 + set +x 06:46:17 + bash -s -- 06:46:17 + curl -s https://codecov.io/bash 06:46:17 06:46:17 _____ _ 06:46:17 / ____| | | 06:46:17 | | ___ __| | ___ ___ _____ __ 06:46:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:46:17 | |___| (_) | (_| | __/ (_| (_) \ V / 06:46:17 \_____\___/ \__,_|\___|\___\___/ \_/ 06:46:17 Bash-20201009-048fee3 06:46:17 06:46:17 06:46:17 ==> Jenkins CI detected. 06:46:17 project root: . 06:46:17 --> token set from env 06:46:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:46:17 ==> Running gcov in . (disable via -X gcov) 06:46:17 ==> Python coveragepy not found 06:46:17 ==> Searching for coverage reports in: 06:46:17 + . 06:46:17 -> Found 1 reports 06:46:17 ==> Detecting git/mercurial file structure 06:46:17 ==> Reading reports 06:46:17 + ./coverage.out bytes=16941 06:46:17 ==> Appending adjustments 06:46:17 https://docs.codecov.io/docs/fixing-reports 06:46:17 + Found adjustments 06:46:17 ==> Gzipping contents 06:46:17 ==> Uploading reports 06:46:17 url: https://codecov.io 06:46:17 query: branch=PR-67&commit=b3828b6d13b10d8c995c7c56929eb75afe47f2cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=67&job=&cmd_args= 06:46:17 -> Pinging Codecov 06:46:17 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-67&commit=b3828b6d13b10d8c995c7c56929eb75afe47f2cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=67&job=&cmd_args= 06:46:17 -> Uploading to 06:46:17 06:46:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:17 Dload Upload Total Spent Left Speed 06:46:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:46:17 X> Failed to upload 06:46:17 ==> Uploading to Codecov 06:46:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:17 Dload Upload Total Spent Left Speed 06:46:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3965 100 111 100 3854 177 6153 --:--:-- --:--:-- --:--:-- 6156 06:46:18 View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/b3828b6d13b10d8c995c7c56929eb75afe47f2cb [Pipeline] } 06:46:18 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:46:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:46:23 ---> package-listing.sh 06:46:23 ++ facter osfamily 06:46:23 ++ tr '[:upper:]' '[:lower:]' 06:46:23 + OS_FAMILY=redhat 06:46:23 + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-67 06:46:23 + START_PACKAGES=/tmp/packages_start.txt 06:46:23 + END_PACKAGES=/tmp/packages_end.txt 06:46:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:46:23 + PACKAGES=/tmp/packages_start.txt 06:46:23 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-67 ']' 06:46:23 + PACKAGES=/tmp/packages_end.txt 06:46:23 + case "${OS_FAMILY}" in 06:46:23 + rpm -qa 06:46:23 + sort 06:46:28 + '[' -f /tmp/packages_start.txt ']' 06:46:28 + '[' -f /tmp/packages_end.txt ']' 06:46:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:46:28 + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-67 ']' 06:46:28 + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-67/archives/ 06:46:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-67/archives/ [Pipeline] echo 06:46:28 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-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:46:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:28 06:46:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:46:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:29 alpine: Pulling from edgex-lftools-log-publisher 06:46:29 df20fa9351a1: Already exists 06:46:29 36b3adc4ff6f: Pulling fs layer 06:46:29 8ad3a11d3b57: Pulling fs layer 06:46:29 46f8f816bc3b: Pulling fs layer 06:46:29 93b61091891f: Pulling fs layer 06:46:29 93b9cdb0e59b: Pulling fs layer 06:46:29 5e14af77c1be: Pulling fs layer 06:46:29 93b61091891f: Waiting 06:46:29 01666e4c0597: Pulling fs layer 06:46:29 93b9cdb0e59b: Waiting 06:46:29 aa168da1d23b: Pulling fs layer 06:46:29 01666e4c0597: Waiting 06:46:29 5e14af77c1be: Waiting 06:46:29 aa168da1d23b: Waiting 06:46:29 46f8f816bc3b: Verifying Checksum 06:46:29 46f8f816bc3b: Download complete 06:46:29 36b3adc4ff6f: Verifying Checksum 06:46:29 36b3adc4ff6f: Download complete 06:46:29 93b9cdb0e59b: Verifying Checksum 06:46:29 93b9cdb0e59b: Download complete 06:46:29 5e14af77c1be: Verifying Checksum 06:46:29 5e14af77c1be: Download complete 06:46:29 01666e4c0597: Verifying Checksum 06:46:29 01666e4c0597: Download complete 06:46:29 93b61091891f: Verifying Checksum 06:46:29 93b61091891f: Download complete 06:46:29 8ad3a11d3b57: Verifying Checksum 06:46:29 8ad3a11d3b57: Download complete 06:46:29 36b3adc4ff6f: Pull complete 06:46:31 8ad3a11d3b57: Pull complete 06:46:31 46f8f816bc3b: Pull complete 06:46:31 93b61091891f: Pull complete 06:46:31 93b9cdb0e59b: Pull complete 06:46:31 5e14af77c1be: Pull complete 06:46:32 01666e4c0597: Pull complete 06:46:33 aa168da1d23b: Verifying Checksum 06:46:33 aa168da1d23b: Download complete 06:46:39 aa168da1d23b: Pull complete 06:46:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:46:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:46:40 prd-centos7-docker-4c-2g-10052 does not seem to be running inside a container 06:46:40 $ 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-67/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-67 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67:/w/workspace/dgexfoundry_go-mod-secrets_PR-67:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:46:45 $ docker top 396ce4e3e55ab4fbc05bb9ace11c15bc38550e599829e5616a124e5bd9e0076e -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:46:46 + mkdir -p /var/log/sa [Pipeline] sh 06:46:46 + ls /var/log/sa-host 06:46:46 + sadf -c /var/log/sa-host/sa02 06:46:46 file_magic: OK 06:46:46 HZ: Using current value: 100 06:46:46 file_header: OK 06:46:46 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:46:46 Statistics: 06:46:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:46:46 File successfully converted to sysstat format version 12.2.1 06:46:46 + sadf -c /var/log/sa-host/sa05 06:46:46 file_magic: OK 06:46:46 HZ: Using current value: 100 06:46:46 file_header: OK 06:46:46 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:46:46 Statistics: 06:46:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:46:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:47 provisioning config files... 06:46:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-67@tmp/config4806829909457177632tmp [Pipeline] { [Pipeline] echo 06:46:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:46:47 ---> create-netrc.sh [Pipeline] } 06:46:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:46:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:46:48 ---> python-tools-install.sh [Pipeline] echo 06:46:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:46:48 ---> sudo-logs.sh 06:46:48 Archiving 'sudo' log.. [Pipeline] echo 06:46:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:46:49 ---> job-cost.sh 06:46:49 lf-activate-venv: SKIPPING 06:46:49 INFO: No Stack... 06:46:49 INFO: Retrieving Pricing Info for: v1-standard-2 06:46:50 INFO: Archiving Costs [Pipeline] echo 06:46:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:46:50 ---> logs-deploy.sh 06:46:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-67/1 06:46:50 INFO: archiving workspace using pattern(s): 06:46:51 Archives upload complete. 06:46:52 INFO: archiving logs to Nexus