Pull request #46 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of rsdmike for edgexfoundry/go-mod-secrets Loading trusted files from base branch master at 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 rather than fb4af79f433da7c3c24b75e851ed38876c626065 Obtained Jenkinsfile from 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision a8d5489117fb74ecf2babedeac9793ec80335c77 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-secrets, goVersion:1.13, 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.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 SEMVER_BUMP_LEVEL: patch GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-8034 in /w/workspace/dgexfoundry_go-mod-secrets_PR-46 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/dgexfoundry_go-mod-secrets_PR-46 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/46/head:refs/remotes/origin/PR-46 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 into PR head commit fb4af79f433da7c3c24b75e851ed38876c626065 Merge succeeded, producing fb4af79f433da7c3c24b75e851ed38876c626065 Checking out Revision fb4af79f433da7c3c24b75e851ed38876c626065 (PR-46) > git config core.sparsecheckout # timeout=10 > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # 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 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # timeout=10 Commit message: "Merge branch 'master' into PRTEMPLATE" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 5bbd7ad44b2c3299f9afa3a07cab2a0b313fa3f9 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-12T19:30:11.673Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-12T19:30:11.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-12T19:30:12.009Z] ========================================================= [2020-05-12T19:30:12.009Z] EdgeX Global Pipelines Version Info [2020-05-12T19:30:12.009Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-05-12T19:30:13.447Z] ------------------- [2020-05-12T19:30:13.447Z] stable info: [2020-05-12T19:30:13.447Z] ------------------- [2020-05-12T19:30:13.447Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-12T19:30:13.447Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-12T19:30:13.447Z] Message: update stable to v1.0.87 [2020-05-12T19:30:14.386Z] ------------------- [2020-05-12T19:30:14.386Z] experimental info: [2020-05-12T19:30:14.386Z] ------------------- [2020-05-12T19:30:14.386Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-12T19:30:14.386Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-12T19:30:14.386Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:30:16.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T19:30:16.580Z] [2020-05-12T19:30:16.580Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:30:16.920Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-12T19:30:16.920Z] latest: Pulling from edgex-devops/git-semver [2020-05-12T19:30:16.920Z] 9123ac7c32f7: Pulling fs layer [2020-05-12T19:30:16.920Z] b8cc5d1170e3: Pulling fs layer [2020-05-12T19:30:16.920Z] 2924cbbf6a41: Pulling fs layer [2020-05-12T19:30:16.920Z] 93b08a4f1073: Pulling fs layer [2020-05-12T19:30:16.920Z] 93b08a4f1073: Waiting [2020-05-12T19:30:16.920Z] b8cc5d1170e3: Verifying Checksum [2020-05-12T19:30:16.920Z] b8cc5d1170e3: Download complete [2020-05-12T19:30:17.180Z] 9123ac7c32f7: Verifying Checksum [2020-05-12T19:30:17.180Z] 9123ac7c32f7: Download complete [2020-05-12T19:30:17.180Z] 93b08a4f1073: Verifying Checksum [2020-05-12T19:30:17.180Z] 93b08a4f1073: Download complete [2020-05-12T19:30:17.180Z] 2924cbbf6a41: Verifying Checksum [2020-05-12T19:30:17.180Z] 2924cbbf6a41: Download complete [2020-05-12T19:30:17.441Z] 9123ac7c32f7: Pull complete [2020-05-12T19:30:17.441Z] b8cc5d1170e3: Pull complete [2020-05-12T19:30:18.009Z] 2924cbbf6a41: Pull complete [2020-05-12T19:30:18.268Z] 93b08a4f1073: Pull complete [2020-05-12T19:30:18.268Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-12T19:30:18.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-12T19:30:18.399Z] prd-centos7-docker-4c-2g-8034 does not seem to be running inside a container [2020-05-12T19:30:18.452Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-secrets_PR-46 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-46:/w/workspace/dgexfoundry_go-mod-secrets_PR-46:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-46@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-12T19:30:19.065Z] $ docker top c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-12T19:30:19.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T19:30:19.399Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T19:30:19.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T19:30:19.610Z] $ docker exec c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f ssh-agent [2020-05-12T19:30:19.823Z] SSH_AUTH_SOCK=/tmp/ssh-g4oh0E42xeGs/agent.15 [2020-05-12T19:30:19.823Z] SSH_AGENT_PID=21 [2020-05-12T19:30:19.832Z] Running ssh-add (command line suppressed) [2020-05-12T19:30:19.978Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/private_key_5975368900857863224.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/private_key_5975368900857863224.key) [2020-05-12T19:30:20.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T19:30:20.410Z] + git describe --exact-match --tags HEAD [2020-05-12T19:30:20.410Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-12T19:30:20.466Z] $ docker exec --env ******** --env ******** c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f ssh-agent -k [2020-05-12T19:30:20.608Z] unset SSH_AUTH_SOCK; [2020-05-12T19:30:20.608Z] unset SSH_AGENT_PID; [2020-05-12T19:30:20.608Z] echo Agent pid 21 killed; [2020-05-12T19:30:20.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-12T19:30:20.778Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-12T19:30:20.778Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-12T19:30:20.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-12T19:30:20.944Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-12T19:30:21.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-12T19:30:21.137Z] $ docker exec c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f ssh-agent [2020-05-12T19:30:21.316Z] SSH_AUTH_SOCK=/tmp/ssh-wDdfvaj00PVL/agent.57 [2020-05-12T19:30:21.316Z] SSH_AGENT_PID=63 [2020-05-12T19:30:21.322Z] Running ssh-add (command line suppressed) [2020-05-12T19:30:21.470Z] Identity added: /w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/private_key_2934568697881362294.key (/w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/private_key_2934568697881362294.key) [2020-05-12T19:30:21.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-12T19:30:21.836Z] + git semver init [2020-05-12T19:30:21.837Z] # -> Open(): unable to determine branch for HEAD [2020-05-12T19:30:21.837Z] # $GIT_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-46/.git [2020-05-12T19:30:21.837Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_go-mod-secrets_PR-46 [2020-05-12T19:30:21.837Z] # $SEMVER_REMOTE_NAME = origin [2020-05-12T19:30:21.837Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-12T19:30:21.837Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-12T19:30:21.837Z] # $SEMVER_BRANCH = PR-46 [2020-05-12T19:30:21.837Z] # $SEMVER_TEMP = /tmp/semver-006706755 [2020-05-12T19:30:21.837Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2020-05-12T19:30:22.096Z] # '/tmp/semver-006706755' -> '/w/workspace/dgexfoundry_go-mod-secrets_PR-46/.semver' [2020-05-12T19:30:22.096Z] # -> Force: false [2020-05-12T19:30:22.096Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_go-mod-secrets_PR-46/.semver [Pipeline] } [2020-05-12T19:30:22.109Z] $ docker exec --env ******** --env ******** c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f ssh-agent -k [2020-05-12T19:30:22.241Z] unset SSH_AUTH_SOCK; [2020-05-12T19:30:22.241Z] unset SSH_AGENT_PID; [2020-05-12T19:30:22.241Z] echo Agent pid 63 killed; [2020-05-12T19:30:22.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-12T19:30:22.716Z] + git semver [Pipeline] } [2020-05-12T19:30:22.733Z] $ docker stop --time=1 c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f [2020-05-12T19:30:24.069Z] $ docker rm -f c391ea3abdc4fb99fa8be26a43313781114b2f9c8a60805b3477dc1534aa4b5f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-12T19:30:24.765Z] Stashed 31 file(s) [Pipeline] echo [2020-05-12T19:30:24.767Z] [edgeXSemver] initialized semver on version 0.0.0 [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 [2020-05-12T19:30:40.119Z] Still waiting to schedule task [2020-05-12T19:30:40.119Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-8034’ [2020-05-12T19:30:40.121Z] Still waiting to schedule task [2020-05-12T19:30:40.121Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-05-12T19:32:16.603Z] Running on prd-centos7-docker-4c-2g-8037 in /w/workspace/dgexfoundry_go-mod-secrets_PR-46 [Pipeline] { [Pipeline] ws [2020-05-12T19:32:16.647Z] Running in /w/workspace/go-mod-secrets/6 [Pipeline] { [Pipeline] checkout [2020-05-12T19:32:18.875Z] using credential edgex-jenkins-ssh [2020-05-12T19:32:18.913Z] Cloning the remote Git repository [2020-05-12T19:32:18.913Z] Cloning with configured refspecs honoured and without tags [2020-05-12T19:32:18.941Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:18.980Z] > git init /w/workspace/go-mod-secrets/6 # timeout=10 [2020-05-12T19:32:19.021Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:19.021Z] > git --version # timeout=10 [2020-05-12T19:32:19.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:19.050Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:24.554Z] Fetching without tags [2020-05-12T19:32:24.934Z] Merging remotes/origin/master commit 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 into PR head commit fb4af79f433da7c3c24b75e851ed38876c626065 [2020-05-12T19:32:25.013Z] Merge succeeded, producing fb4af79f433da7c3c24b75e851ed38876c626065 [2020-05-12T19:32:25.014Z] Checking out Revision fb4af79f433da7c3c24b75e851ed38876c626065 (PR-46) [2020-05-12T19:32:24.526Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-05-12T19:32:24.532Z] > git config --add remote.origin.fetch +refs/pull/46/head:refs/remotes/origin/PR-46 # timeout=10 [2020-05-12T19:32:24.538Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:24.553Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-05-12T19:32:24.564Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:24.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:24.568Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:24.948Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T19:32:24.954Z] > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # timeout=10 [2020-05-12T19:32:24.985Z] > git remote # timeout=10 [2020-05-12T19:32:24.990Z] > git config --get remote.origin.url # timeout=10 [2020-05-12T19:32:24.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:24.999Z] > git merge 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 # timeout=10 [2020-05-12T19:32:25.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-12T19:32:25.023Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T19:32:25.028Z] > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # timeout=10 [2020-05-12T19:32:28.322Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8035 in /w/workspace/dgexfoundry_go-mod-secrets_PR-46 [Pipeline] { [Pipeline] ws [2020-05-12T19:32:28.362Z] Running in /w/workspace/go-mod-secrets/6 [Pipeline] { [Pipeline] checkout [2020-05-12T19:32:28.804Z] Commit message: "Merge branch 'master' into PRTEMPLATE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T19:32:29.431Z] ========================================================= [2020-05-12T19:32:29.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-12T19:32:29.431Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:32:30.084Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-05-12T19:32:30.358Z] Sending build context to Docker daemon 509.4kB [2020-05-12T19:32:30.358Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-05-12T19:32:30.358Z] Step 2/7 : FROM ${BASE} [2020-05-12T19:32:30.358Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-12T19:32:30.358Z] e6b0cf9c0882: Pulling fs layer [2020-05-12T19:32:30.358Z] 2848faf0eed1: Pulling fs layer [2020-05-12T19:32:30.358Z] 0f37312ad70f: Pulling fs layer [2020-05-12T19:32:30.358Z] 5788d62ee057: Pulling fs layer [2020-05-12T19:32:30.358Z] 0e6b1d234666: Pulling fs layer [2020-05-12T19:32:30.358Z] bf5d7aec512f: Pulling fs layer [2020-05-12T19:32:30.358Z] 34c802a77dc8: Pulling fs layer [2020-05-12T19:32:30.358Z] 9eb99e56ec68: Pulling fs layer [2020-05-12T19:32:30.358Z] 27c7a5d97fbd: Pulling fs layer [2020-05-12T19:32:30.358Z] 5c102a31e300: Pulling fs layer [2020-05-12T19:32:30.358Z] dcfb455df0a1: Pulling fs layer [2020-05-12T19:32:30.358Z] 0e6b1d234666: Waiting [2020-05-12T19:32:30.358Z] bf5d7aec512f: Waiting [2020-05-12T19:32:30.358Z] 34c802a77dc8: Waiting [2020-05-12T19:32:30.358Z] 9eb99e56ec68: Waiting [2020-05-12T19:32:30.358Z] 27c7a5d97fbd: Waiting [2020-05-12T19:32:30.358Z] 5c102a31e300: Waiting [2020-05-12T19:32:30.358Z] dcfb455df0a1: Waiting [2020-05-12T19:32:30.358Z] 5788d62ee057: Waiting [2020-05-12T19:32:30.358Z] 0f37312ad70f: Verifying Checksum [2020-05-12T19:32:30.358Z] 0f37312ad70f: Download complete [2020-05-12T19:32:30.358Z] 2848faf0eed1: Download complete [2020-05-12T19:32:30.358Z] 0e6b1d234666: Download complete [2020-05-12T19:32:30.358Z] bf5d7aec512f: Verifying Checksum [2020-05-12T19:32:30.358Z] bf5d7aec512f: Download complete [2020-05-12T19:32:30.358Z] e6b0cf9c0882: Verifying Checksum [2020-05-12T19:32:30.358Z] e6b0cf9c0882: Download complete [2020-05-12T19:32:30.935Z] e6b0cf9c0882: Pull complete [2020-05-12T19:32:30.935Z] 2848faf0eed1: Pull complete [2020-05-12T19:32:31.887Z] 34c802a77dc8: Verifying Checksum [2020-05-12T19:32:31.887Z] 34c802a77dc8: Download complete [2020-05-12T19:32:31.887Z] 27c7a5d97fbd: Verifying Checksum [2020-05-12T19:32:31.887Z] 27c7a5d97fbd: Download complete [2020-05-12T19:32:32.158Z] 5788d62ee057: Verifying Checksum [2020-05-12T19:32:32.158Z] 5788d62ee057: Download complete [2020-05-12T19:32:32.158Z] dcfb455df0a1: Verifying Checksum [2020-05-12T19:32:32.158Z] dcfb455df0a1: Download complete [2020-05-12T19:32:32.158Z] 9eb99e56ec68: Verifying Checksum [2020-05-12T19:32:32.158Z] 9eb99e56ec68: Download complete [2020-05-12T19:32:32.158Z] 5c102a31e300: Verifying Checksum [2020-05-12T19:32:32.158Z] 5c102a31e300: Download complete [2020-05-12T19:32:33.103Z] 0f37312ad70f: Pull complete [2020-05-12T19:32:34.175Z] using credential edgex-jenkins-ssh [2020-05-12T19:32:34.222Z] Cloning the remote Git repository [2020-05-12T19:32:34.222Z] Cloning with configured refspecs honoured and without tags [2020-05-12T19:32:34.327Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:34.403Z] > git init /w/workspace/go-mod-secrets/6 # timeout=10 [2020-05-12T19:32:34.482Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:34.483Z] > git --version # timeout=10 [2020-05-12T19:32:34.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:34.585Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:35.385Z] Fetching without tags [2020-05-12T19:32:35.897Z] Merging remotes/origin/master commit 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 into PR head commit fb4af79f433da7c3c24b75e851ed38876c626065 [2020-05-12T19:32:36.152Z] Merge succeeded, producing fb4af79f433da7c3c24b75e851ed38876c626065 [2020-05-12T19:32:36.153Z] Checking out Revision fb4af79f433da7c3c24b75e851ed38876c626065 (PR-46) [2020-05-12T19:32:35.279Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-05-12T19:32:35.325Z] > git config --add remote.origin.fetch +refs/pull/46/head:refs/remotes/origin/PR-46 # timeout=10 [2020-05-12T19:32:35.344Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:35.371Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2020-05-12T19:32:35.413Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2020-05-12T19:32:35.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:35.427Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-12T19:32:35.932Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T19:32:35.958Z] > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # timeout=10 [2020-05-12T19:32:36.041Z] > git remote # timeout=10 [2020-05-12T19:32:36.079Z] > git config --get remote.origin.url # timeout=10 [2020-05-12T19:32:36.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-12T19:32:36.131Z] > git merge 77cc06b6c95753ce1abc91ff04c9018b5d8707b1 # timeout=10 [2020-05-12T19:32:36.152Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-12T19:32:36.173Z] > git config core.sparsecheckout # timeout=10 [2020-05-12T19:32:36.210Z] > git checkout -f fb4af79f433da7c3c24b75e851ed38876c626065 # timeout=10 [2020-05-12T19:32:38.386Z] 5788d62ee057: Pull complete [2020-05-12T19:32:38.646Z] 0e6b1d234666: Pull complete [2020-05-12T19:32:38.646Z] bf5d7aec512f: Pull complete [2020-05-12T19:32:40.722Z] Commit message: "Merge branch 'master' into PRTEMPLATE" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-12T19:32:41.690Z] ========================================================= [2020-05-12T19:32:41.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-12T19:32:41.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:32:42.642Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-05-12T19:32:43.229Z] Sending build context to Docker daemon 509.4kB [2020-05-12T19:32:43.496Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-05-12T19:32:43.496Z] Step 2/7 : FROM ${BASE} [2020-05-12T19:32:43.763Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-12T19:32:43.763Z] cde5963f3b93: Pulling fs layer [2020-05-12T19:32:43.763Z] 2a23fa8c16f7: Pulling fs layer [2020-05-12T19:32:43.763Z] 777b28850792: Pulling fs layer [2020-05-12T19:32:43.763Z] 8a11ddd9e578: Pulling fs layer [2020-05-12T19:32:43.763Z] 4cf88f913ddb: Pulling fs layer [2020-05-12T19:32:43.763Z] 1df406cf5192: Pulling fs layer [2020-05-12T19:32:43.763Z] cd6300453558: Pulling fs layer [2020-05-12T19:32:43.763Z] b9c365052c96: Pulling fs layer [2020-05-12T19:32:43.763Z] a2d8cc88f415: Pulling fs layer [2020-05-12T19:32:43.763Z] ea1d1ca13537: Pulling fs layer [2020-05-12T19:32:43.763Z] 3750a50a1c5e: Pulling fs layer [2020-05-12T19:32:43.763Z] cd6300453558: Waiting [2020-05-12T19:32:43.763Z] b9c365052c96: Waiting [2020-05-12T19:32:43.763Z] a2d8cc88f415: Waiting [2020-05-12T19:32:43.763Z] ea1d1ca13537: Waiting [2020-05-12T19:32:43.763Z] 3750a50a1c5e: Waiting [2020-05-12T19:32:43.763Z] 8a11ddd9e578: Waiting [2020-05-12T19:32:43.763Z] 1df406cf5192: Waiting [2020-05-12T19:32:43.763Z] 4cf88f913ddb: Waiting [2020-05-12T19:32:43.763Z] 777b28850792: Verifying Checksum [2020-05-12T19:32:43.763Z] 777b28850792: Download complete [2020-05-12T19:32:43.763Z] 2a23fa8c16f7: Verifying Checksum [2020-05-12T19:32:43.763Z] 2a23fa8c16f7: Download complete [2020-05-12T19:32:43.763Z] 4cf88f913ddb: Verifying Checksum [2020-05-12T19:32:43.763Z] 4cf88f913ddb: Download complete [2020-05-12T19:32:43.763Z] 1df406cf5192: Verifying Checksum [2020-05-12T19:32:43.763Z] 1df406cf5192: Download complete [2020-05-12T19:32:43.942Z] 34c802a77dc8: Pull complete [2020-05-12T19:32:44.032Z] cde5963f3b93: Download complete [2020-05-12T19:32:45.007Z] cde5963f3b93: Pull complete [2020-05-12T19:32:45.609Z] 2a23fa8c16f7: Pull complete [2020-05-12T19:32:45.876Z] 777b28850792: Pull complete [2020-05-12T19:32:47.239Z] 9eb99e56ec68: Pull complete [2020-05-12T19:32:47.239Z] 27c7a5d97fbd: Pull complete [2020-05-12T19:32:47.809Z] 5c102a31e300: Pull complete [2020-05-12T19:32:48.069Z] dcfb455df0a1: Pull complete [2020-05-12T19:32:48.069Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-12T19:32:48.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-12T19:32:48.069Z] ---> 7c70fe431013 [2020-05-12T19:32:48.069Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T19:32:48.069Z] ---> Running in 7880fae95e24 [2020-05-12T19:32:48.330Z] Removing intermediate container 7880fae95e24 [2020-05-12T19:32:48.330Z] ---> 22b97e729d7d [2020-05-12T19:32:48.330Z] Step 4/7 : RUN apk add --update bash [2020-05-12T19:32:48.330Z] ---> Running in 6c216f571d7a [2020-05-12T19:32:48.484Z] cd6300453558: Verifying Checksum [2020-05-12T19:32:48.484Z] cd6300453558: Download complete [2020-05-12T19:32:48.484Z] a2d8cc88f415: Verifying Checksum [2020-05-12T19:32:48.484Z] a2d8cc88f415: Download complete [2020-05-12T19:32:48.901Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-12T19:32:49.838Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-12T19:32:50.440Z] ea1d1ca13537: Verifying Checksum [2020-05-12T19:32:50.440Z] ea1d1ca13537: Download complete [2020-05-12T19:32:50.708Z] 3750a50a1c5e: Verifying Checksum [2020-05-12T19:32:50.708Z] 3750a50a1c5e: Download complete [2020-05-12T19:32:50.796Z] OK: 143 MiB in 39 packages [2020-05-12T19:32:51.365Z] Removing intermediate container 6c216f571d7a [2020-05-12T19:32:51.365Z] ---> 340b95c41848 [2020-05-12T19:32:51.365Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-05-12T19:32:51.365Z] ---> Running in 4815a8b87614 [2020-05-12T19:32:51.365Z] Removing intermediate container 4815a8b87614 [2020-05-12T19:32:51.365Z] ---> de3cf51dff59 [2020-05-12T19:32:51.365Z] Step 6/7 : COPY go.mod . [2020-05-12T19:32:51.626Z] ---> 76fe2589cd93 [2020-05-12T19:32:51.626Z] Step 7/7 : RUN go mod download [2020-05-12T19:32:51.626Z] ---> Running in 21bce0858966 [2020-05-12T19:32:53.541Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-05-12T19:32:53.541Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T19:32:53.541Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T19:32:53.541Z] go: finding github.com/stretchr/testify v1.3.0 [2020-05-12T19:32:54.067Z] b9c365052c96: Verifying Checksum [2020-05-12T19:32:54.113Z] Removing intermediate container 21bce0858966 [2020-05-12T19:32:54.113Z] ---> 76646d0cfd9b [2020-05-12T19:32:54.113Z] Successfully built 76646d0cfd9b [2020-05-12T19:32:54.113Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:32:54.777Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-12T19:32:54.777Z] . [Pipeline] withDockerContainer [2020-05-12T19:32:54.917Z] prd-centos7-docker-4c-2g-8037 does not seem to be running inside a container [2020-05-12T19:32:54.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/6 -v /w/workspace/go-mod-secrets/6:/w/workspace/go-mod-secrets/6:rw,z -v /w/workspace/go-mod-secrets/6@tmp:/w/workspace/go-mod-secrets/6@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 ******** ci-base-image-x86_64 cat [2020-05-12T19:32:55.034Z] 8a11ddd9e578: Verifying Checksum [2020-05-12T19:32:55.034Z] 8a11ddd9e578: Download complete [2020-05-12T19:32:55.790Z] $ docker top 5c830e179001964632e4897c596eb31902a5a9d629a0251680fc7070b14f5196 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T19:32:56.396Z] + go version [2020-05-12T19:32:56.396Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-12T19:32:56.695Z] + make test [2020-05-12T19:32:56.695Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-05-12T19:33:00.011Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2020-05-12T19:33:00.011Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2020-05-12T19:33:07.389Z] 8a11ddd9e578: Pull complete [2020-05-12T19:33:07.389Z] 4cf88f913ddb: Pull complete [2020-05-12T19:33:07.389Z] 1df406cf5192: Pull complete [2020-05-12T19:33:10.038Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.023s coverage: 96.7% of statements [2020-05-12T19:33:11.662Z] cd6300453558: Pull complete [2020-05-12T19:33:17.018Z] b9c365052c96: Pull complete [2020-05-12T19:33:17.018Z] a2d8cc88f415: Pull complete [2020-05-12T19:33:18.967Z] ea1d1ca13537: Pull complete [2020-05-12T19:33:18.967Z] 3750a50a1c5e: Pull complete [2020-05-12T19:33:18.967Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-12T19:33:18.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-12T19:33:18.967Z] ---> 78745c68409d [2020-05-12T19:33:18.967Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-05-12T19:33:20.021Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.017s coverage: 86.1% of statements [2020-05-12T19:33:20.021Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.016s coverage: 89.5% of statements [2020-05-12T19:33:20.021Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.008s coverage: 100.0% of statements [2020-05-12T19:33:20.021Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.005s coverage: 100.0% of statements [2020-05-12T19:33:20.021Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-05-12T19:33:20.280Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-12T19:33:20.849Z] gofmt -l . [2020-05-12T19:33:20.849Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-05-12T19:33:21.459Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T19:33:21.471Z] $ docker stop --time=1 5c830e179001964632e4897c596eb31902a5a9d629a0251680fc7070b14f5196 [2020-05-12T19:33:22.951Z] $ docker rm -f 5c830e179001964632e4897c596eb31902a5a9d629a0251680fc7070b14f5196 [Pipeline] // withDockerContainer [2020-05-12T19:33:23.239Z] ---> Running in 06577eaf340c [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-05-12T19:33:23.507Z] Removing intermediate container 06577eaf340c [2020-05-12T19:33:23.507Z] ---> 34be02af29d9 [2020-05-12T19:33:23.507Z] Step 4/7 : RUN apk add --update bash 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 [2020-05-12T19:33:23.777Z] ---> Running in a9abb7ff769f [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] } [2020-05-12T19:33:24.740Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-12T19:33:26.146Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-12T19:33:27.106Z] OK: 125 MiB in 39 packages [2020-05-12T19:33:28.068Z] Removing intermediate container a9abb7ff769f [2020-05-12T19:33:28.068Z] ---> b4ff9710e60c [2020-05-12T19:33:28.068Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-05-12T19:33:28.336Z] ---> Running in f27417fc0acb [2020-05-12T19:33:28.921Z] Removing intermediate container f27417fc0acb [2020-05-12T19:33:28.921Z] ---> 605ddff363c0 [2020-05-12T19:33:28.921Z] Step 6/7 : COPY go.mod . [2020-05-12T19:33:29.513Z] ---> e65470919a32 [2020-05-12T19:33:29.513Z] Step 7/7 : RUN go mod download [2020-05-12T19:33:29.513Z] ---> Running in 558b4964e5e7 [2020-05-12T19:33:30.927Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-05-12T19:33:30.927Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-12T19:33:30.927Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-12T19:33:30.927Z] go: finding github.com/stretchr/testify v1.3.0 [2020-05-12T19:33:32.340Z] Removing intermediate container 558b4964e5e7 [2020-05-12T19:33:32.340Z] ---> e1479d50858e [2020-05-12T19:33:32.340Z] Successfully built e1479d50858e [2020-05-12T19:33:32.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:33:33.033Z] + docker inspect -f . ci-base-image-arm64 [2020-05-12T19:33:33.060Z] . [Pipeline] withDockerContainer [2020-05-12T19:33:33.382Z] prd-ubuntu18.04-docker-arm64-4c-16g-8035 does not seem to be running inside a container [2020-05-12T19:33:33.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/6 -v /w/workspace/go-mod-secrets/6:/w/workspace/go-mod-secrets/6:rw,z -v /w/workspace/go-mod-secrets/6@tmp:/w/workspace/go-mod-secrets/6@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 ******** ci-base-image-arm64 cat [2020-05-12T19:33:34.880Z] $ docker top b71e382e39267b539850da9fdc0a99b9e8361a614d44f831e5832d93dbceb3c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-12T19:33:35.982Z] + go version [2020-05-12T19:33:35.982Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-12T19:33:36.644Z] + make test [2020-05-12T19:33:36.644Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-05-12T19:33:44.882Z] ? github.com/edgexfoundry/go-mod-secrets/pkg [no test files] [2020-05-12T19:33:44.882Z] ? github.com/edgexfoundry/go-mod-secrets/pkg/keys [no test files] [2020-05-12T19:33:53.157Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/listener 9.041s coverage: 96.7% of statements [2020-05-12T19:34:15.281Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/providers/vault 15.043s coverage: 86.1% of statements [2020-05-12T19:34:15.281Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader 0.015s coverage: 89.5% of statements [2020-05-12T19:34:15.281Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/authtokenloader/mocks 0.014s coverage: 100.0% of statements [2020-05-12T19:34:15.281Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer 0.017s coverage: 100.0% of statements [2020-05-12T19:34:15.281Z] ok github.com/edgexfoundry/go-mod-secrets/pkg/token/fileioperformer/mocks 0.014s coverage: 100.0% of statements [2020-05-12T19:34:15.281Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-12T19:34:15.281Z] gofmt -l . [2020-05-12T19:34:15.281Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-05-12T19:34:15.295Z] Warning: overwriting stash ‘coverage-report’ [2020-05-12T19:34:15.662Z] Stashed 1 file(s) [Pipeline] } [2020-05-12T19:34:15.663Z] $ docker stop --time=1 b71e382e39267b539850da9fdc0a99b9e8361a614d44f831e5832d93dbceb3c8 [2020-05-12T19:34:17.834Z] $ docker rm -f b71e382e39267b539850da9fdc0a99b9e8361a614d44f831e5832d93dbceb3c8 [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 [2020-05-12T19:34:19.935Z] provisioning config files... [2020-05-12T19:34:19.948Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/config8936605859591258238tmp [Pipeline] { [Pipeline] sh [2020-05-12T19:34:20.301Z] + curl -s https://codecov.io/bash [2020-05-12T19:34:20.301Z] + bash -s - -t @/w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/config8936605859591258238tmp [2020-05-12T19:34:20.559Z] [2020-05-12T19:34:20.560Z] _____ _ [2020-05-12T19:34:20.560Z] / ____| | | [2020-05-12T19:34:20.560Z] | | ___ __| | ___ ___ _____ __ [2020-05-12T19:34:20.560Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-12T19:34:20.560Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-12T19:34:20.560Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-12T19:34:20.560Z] Bash-tbd [2020-05-12T19:34:20.560Z] [2020-05-12T19:34:20.560Z] [2020-05-12T19:34:20.560Z] ==> Jenkins CI detected. [2020-05-12T19:34:20.560Z] project root: . [2020-05-12T19:34:20.560Z] Fixing merge commit SHA [2020-05-12T19:34:20.560Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-12T19:34:20.560Z] ==> Running gcov in . (disable via -X gcov) [2020-05-12T19:34:20.560Z] ==> Python coveragepy not found [2020-05-12T19:34:20.560Z] ==> Searching for coverage reports in: [2020-05-12T19:34:20.560Z] + . [2020-05-12T19:34:20.560Z] -> Found 1 reports [2020-05-12T19:34:20.560Z] ==> Detecting git/mercurial file structure [2020-05-12T19:34:20.560Z] ==> Reading reports [2020-05-12T19:34:20.560Z] + ./coverage.out bytes=16773 [2020-05-12T19:34:20.560Z] ==> Appending adjustments [2020-05-12T19:34:20.560Z] http://docs.codecov.io/docs/fixing-reports [2020-05-12T19:34:20.829Z] + Found adjustments [2020-05-12T19:34:20.829Z] ==> Gzipping contents [2020-05-12T19:34:20.829Z] ==> Uploading reports [2020-05-12T19:34:20.829Z] url: https://codecov.io [2020-05-12T19:34:20.829Z] query: branch=PR-46&commit=77cc06b6c95753ce1abc91ff04c9018b5d8707b1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-46%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=46&job= [2020-05-12T19:34:20.829Z] -> Pinging Codecov [2020-05-12T19:34:20.829Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-46&commit=77cc06b6c95753ce1abc91ff04c9018b5d8707b1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-46%2F6%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=46&job= [2020-05-12T19:34:21.089Z] -> Uploading [2020-05-12T19:34:21.657Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/77cc06b6c95753ce1abc91ff04c9018b5d8707b1 [Pipeline] } [2020-05-12T19:34:21.663Z] 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-05-12T19:34:23.084Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T19:34:23.378Z] ---> package-listing.sh [2020-05-12T19:34:23.378Z] ++ facter osfamily [2020-05-12T19:34:23.378Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-12T19:34:23.378Z] + OS_FAMILY=redhat [2020-05-12T19:34:23.378Z] + workspace=/w/workspace/dgexfoundry_go-mod-secrets_PR-46 [2020-05-12T19:34:23.378Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-12T19:34:23.378Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-12T19:34:23.378Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-12T19:34:23.378Z] + PACKAGES=/tmp/packages_start.txt [2020-05-12T19:34:23.378Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-46 ']' [2020-05-12T19:34:23.378Z] + PACKAGES=/tmp/packages_end.txt [2020-05-12T19:34:23.378Z] + case "${OS_FAMILY}" in [2020-05-12T19:34:23.378Z] + rpm -qa [2020-05-12T19:34:23.378Z] + sort [2020-05-12T19:34:27.575Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-12T19:34:27.575Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-12T19:34:27.575Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-12T19:34:27.575Z] + '[' /w/workspace/dgexfoundry_go-mod-secrets_PR-46 ']' [2020-05-12T19:34:27.575Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-secrets_PR-46/archives/ [2020-05-12T19:34:27.575Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-secrets_PR-46/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:34:28.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T19:34:28.040Z] [2020-05-12T19:34:28.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-12T19:34:28.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-12T19:34:28.412Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-12T19:34:28.412Z] c9b1b535fdd9: Pulling fs layer [2020-05-12T19:34:28.412Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-12T19:34:28.412Z] 756a868c4378: Pulling fs layer [2020-05-12T19:34:28.412Z] 444b2fc9a129: Pulling fs layer [2020-05-12T19:34:28.412Z] ea15f1150254: Pulling fs layer [2020-05-12T19:34:28.412Z] 41b27a9f41bf: Pulling fs layer [2020-05-12T19:34:28.412Z] 28c525ee5125: Pulling fs layer [2020-05-12T19:34:28.412Z] 094b1ea09ed8: Pulling fs layer [2020-05-12T19:34:28.412Z] 138eaada9080: Pulling fs layer [2020-05-12T19:34:28.412Z] 0622d0fa9048: Pulling fs layer [2020-05-12T19:34:28.412Z] 41b27a9f41bf: Waiting [2020-05-12T19:34:28.412Z] 28c525ee5125: Waiting [2020-05-12T19:34:28.412Z] 094b1ea09ed8: Waiting [2020-05-12T19:34:28.412Z] 138eaada9080: Waiting [2020-05-12T19:34:28.412Z] 0622d0fa9048: Waiting [2020-05-12T19:34:28.412Z] 444b2fc9a129: Waiting [2020-05-12T19:34:28.412Z] ea15f1150254: Waiting [2020-05-12T19:34:28.412Z] 2cc5ad85d9ab: Verifying Checksum [2020-05-12T19:34:28.412Z] 2cc5ad85d9ab: Download complete [2020-05-12T19:34:28.412Z] 444b2fc9a129: Verifying Checksum [2020-05-12T19:34:28.412Z] 444b2fc9a129: Download complete [2020-05-12T19:34:28.412Z] ea15f1150254: Verifying Checksum [2020-05-12T19:34:28.412Z] ea15f1150254: Download complete [2020-05-12T19:34:28.412Z] c9b1b535fdd9: Verifying Checksum [2020-05-12T19:34:28.412Z] c9b1b535fdd9: Download complete [2020-05-12T19:34:28.676Z] 28c525ee5125: Verifying Checksum [2020-05-12T19:34:28.676Z] 28c525ee5125: Download complete [2020-05-12T19:34:28.954Z] 756a868c4378: Verifying Checksum [2020-05-12T19:34:28.954Z] 756a868c4378: Download complete [2020-05-12T19:34:28.954Z] c9b1b535fdd9: Pull complete [2020-05-12T19:34:28.954Z] 138eaada9080: Verifying Checksum [2020-05-12T19:34:28.954Z] 138eaada9080: Download complete [2020-05-12T19:34:28.954Z] 094b1ea09ed8: Verifying Checksum [2020-05-12T19:34:28.954Z] 094b1ea09ed8: Download complete [2020-05-12T19:34:28.954Z] 0622d0fa9048: Download complete [2020-05-12T19:34:30.083Z] 2cc5ad85d9ab: Pull complete [2020-05-12T19:34:30.083Z] 41b27a9f41bf: Verifying Checksum [2020-05-12T19:34:30.083Z] 41b27a9f41bf: Download complete [2020-05-12T19:34:31.028Z] 756a868c4378: Pull complete [2020-05-12T19:34:31.028Z] 444b2fc9a129: Pull complete [2020-05-12T19:34:31.288Z] ea15f1150254: Pull complete [2020-05-12T19:34:34.608Z] 41b27a9f41bf: Pull complete [2020-05-12T19:34:34.868Z] 28c525ee5125: Pull complete [2020-05-12T19:34:36.780Z] 094b1ea09ed8: Pull complete [2020-05-12T19:34:37.040Z] 138eaada9080: Pull complete [2020-05-12T19:34:37.040Z] 0622d0fa9048: Pull complete [2020-05-12T19:34:37.040Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-12T19:34:37.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-12T19:34:37.473Z] prd-centos7-docker-4c-2g-8034 does not seem to be running inside a container [2020-05-12T19:34:37.518Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_go-mod-secrets_PR-46 -v /w/workspace/dgexfoundry_go-mod-secrets_PR-46:/w/workspace/dgexfoundry_go-mod-secrets_PR-46:rw,z -v /w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp:/w/workspace/dgexfoundry_go-mod-secrets_PR-46@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-12T19:34:38.169Z] $ docker top f0bb7a47fa2dfd102b1815eee1808b537a86187791400cc84ac021cb5cac222d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-12T19:34:38.421Z] provisioning config files... [2020-05-12T19:34:38.436Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-secrets_PR-46@tmp/config9068494196760648219tmp [Pipeline] { [Pipeline] echo [2020-05-12T19:34:38.514Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T19:34:38.809Z] ---> create-netrc.sh [Pipeline] echo [2020-05-12T19:34:38.817Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-12T19:34:39.117Z] ---> logs-deploy.sh [2020-05-12T19:34:39.117Z] + ARCHIVE_ARTIFACTS= [2020-05-12T19:34:39.117Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-12T19:34:39.117Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-12T19:34:39.117Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-12T19:34:39.117Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-46/6 [2020-05-12T19:34:39.117Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-secrets/job/PR-46/6/ [2020-05-12T19:34:39.117Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-46/6 /w/workspace/dgexfoundry_go-mod-secrets_PR-46 [2020-05-12T19:34:40.492Z] Archives upload complete. [2020-05-12T19:34:40.492Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-46/6 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-secrets/job/PR-46/6/