Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f5adf63aa6c1255066cf3357490e8370fcd65461 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5047 in /w/workspace/xfoundry_go-mod-bootstrap_master [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-bootstrap.git Fetching without tags Checking out Revision f5adf63aa6c1255066cf3357490e8370fcd65461 (master) > git init /w/workspace/xfoundry_go-mod-bootstrap_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # 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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5adf63aa6c1255066cf3357490e8370fcd65461 # timeout=10 Commit message: "Merge pull request #70 from lenny-intel/Uppercase" > git rev-list --no-walk 325489d862a0222f81a15c2c169506a36020bcef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:30:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:30:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:30:58 ========================================================= 21:30:58 EdgeX Global Pipelines Version Info 21:30:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:31:00 ------------------- 21:31:00 stable info: 21:31:00 ------------------- 21:31:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:31:00 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 21:31:00 Message: update stable to v1.0.73 21:31:00 ------------------- 21:31:00 experimental info: 21:31:00 ------------------- 21:31:00 Commited By: **** collab-it+edgex@linuxfoundation.org 21:31:00 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 21:31:00 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 21:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:31:02 21:31:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:31:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:31:03 latest: Pulling from edgex-devops/git-semver 21:31:03 9123ac7c32f7: Pulling fs layer 21:31:03 b8cc5d1170e3: Pulling fs layer 21:31:03 2924cbbf6a41: Pulling fs layer 21:31:03 93b08a4f1073: Pulling fs layer 21:31:03 93b08a4f1073: Waiting 21:31:03 b8cc5d1170e3: Verifying Checksum 21:31:03 b8cc5d1170e3: Download complete 21:31:03 9123ac7c32f7: Verifying Checksum 21:31:03 9123ac7c32f7: Download complete 21:31:03 93b08a4f1073: Verifying Checksum 21:31:03 93b08a4f1073: Download complete 21:31:03 2924cbbf6a41: Verifying Checksum 21:31:03 2924cbbf6a41: Download complete 21:31:03 9123ac7c32f7: Pull complete 21:31:03 b8cc5d1170e3: Pull complete 21:31:04 2924cbbf6a41: Pull complete 21:31:04 93b08a4f1073: Pull complete 21:31:04 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 21:31:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:31:04 prd-centos7-docker-4c-2g-5047 does not seem to be running inside a container 21:31:04 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_master -v /w/workspace/xfoundry_go-mod-bootstrap_master:/w/workspace/xfoundry_go-mod-bootstrap_master:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_master@tmp:/w/workspace/xfoundry_go-mod-bootstrap_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:31:05 $ docker top 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:05 [ssh-agent] Looking for ssh-agent implementation... 21:31:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:05 $ docker exec 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb ssh-agent 21:31:05 SSH_AUTH_SOCK=/tmp/ssh-XHtYJTHmRObJ/agent.15 21:31:05 SSH_AGENT_PID=22 21:31:05 Running ssh-add (command line suppressed) 21:31:05 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_master@tmp/private_key_7808366938513577384.key (/w/workspace/xfoundry_go-mod-bootstrap_master@tmp/private_key_7808366938513577384.key) 21:31:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:06 + git describe --exact-match --tags HEAD 21:31:06 fatal: No names found, cannot describe anything. [Pipeline] } 21:31:06 $ docker exec --env ******** --env ******** 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb ssh-agent -k 21:31:06 unset SSH_AUTH_SOCK; 21:31:06 unset SSH_AGENT_PID; 21:31:06 echo Agent pid 22 killed; 21:31:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:31:06 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 21:31:06 This usually means this commit has not been tagged. [Pipeline] sshagent 21:31:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:06 [ssh-agent] Looking for ssh-agent implementation... 21:31:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:06 $ docker exec 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb ssh-agent 21:31:07 SSH_AUTH_SOCK=/tmp/ssh-WoRRbYs7YCKE/agent.57 21:31:07 SSH_AGENT_PID=64 21:31:07 Running ssh-add (command line suppressed) 21:31:07 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_master@tmp/private_key_3574420534829708343.key (/w/workspace/xfoundry_go-mod-bootstrap_master@tmp/private_key_3574420534829708343.key) 21:31:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:07 + git semver init 21:31:07 # -> Open(): unable to determine branch for HEAD 21:31:07 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_master/.git 21:31:07 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_master 21:31:07 # $SEMVER_REMOTE_NAME = origin 21:31:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:31:07 # $SEMVER_USER_NAME = edgex-jenkins 21:31:07 # $SEMVER_BRANCH = master 21:31:07 # $SEMVER_TEMP = /tmp/semver-701155223 21:31:07 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 21:31:08 # '/tmp/semver-701155223' -> '/w/workspace/xfoundry_go-mod-bootstrap_master/.semver' 21:31:08 # -> Force: false 21:31:08 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_master/.semver [Pipeline] } 21:31:08 $ docker exec --env ******** --env ******** 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb ssh-agent -k 21:31:08 unset SSH_AUTH_SOCK; 21:31:08 unset SSH_AGENT_PID; 21:31:08 echo Agent pid 64 killed; 21:31:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:08 + git semver [Pipeline] } 21:31:08 $ docker stop --time=1 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb 21:31:10 $ docker rm -f 1af6b3e8618d0ef16d9f39bab386192c702d733f217aa94e5ee532aeba6cc9cb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 21:31:10 Stashed 38 file(s) [Pipeline] echo 21:31:10 [edgeXSemver] initialized semver on version 0.0.30 [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 21:31:26 Still waiting to schedule task 21:31:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:31:26 Still waiting to schedule task 21:31:26 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5045’ 21:33:33 Running on prd-centos7-docker-4c-2g-5048 in /w/workspace/xfoundry_go-mod-bootstrap_master [Pipeline] { [Pipeline] ws 21:33:33 Running in /w/workspace/go-mod-bootstrap/29 [Pipeline] { [Pipeline] checkout 21:33:35 using credential edgex-jenkins-ssh 21:33:36 Cloning the remote Git repository 21:33:36 Cloning with configured refspecs honoured and without tags 21:33:36 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 21:33:36 > git init /w/workspace/go-mod-bootstrap/29 # timeout=10 21:33:36 Fetching without tags 21:33:37 Checking out Revision f5adf63aa6c1255066cf3357490e8370fcd65461 (master) 21:33:36 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 21:33:36 > git --version # timeout=10 21:33:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:33:36 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 21:33:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:33:36 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 21:33:36 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 21:33:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:33:37 > git config core.sparsecheckout # timeout=10 21:33:37 > git checkout -f f5adf63aa6c1255066cf3357490e8370fcd65461 # timeout=10 21:33:40 Commit message: "Merge pull request #70 from lenny-intel/Uppercase" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:33:41 ========================================================= 21:33:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 21:33:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:33:42 + 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 . 21:33:42 Sending build context to Docker daemon 554kB 21:33:42 Step 1/8 : ARG BASE=golang:1.13-alpine 21:33:42 Step 2/8 : FROM ${BASE} 21:33:42 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 21:33:42 e6b0cf9c0882: Pulling fs layer 21:33:42 2848faf0eed1: Pulling fs layer 21:33:42 0f37312ad70f: Pulling fs layer 21:33:42 5788d62ee057: Pulling fs layer 21:33:42 0e6b1d234666: Pulling fs layer 21:33:42 bf5d7aec512f: Pulling fs layer 21:33:42 34c802a77dc8: Pulling fs layer 21:33:42 9eb99e56ec68: Pulling fs layer 21:33:42 27c7a5d97fbd: Pulling fs layer 21:33:42 5c102a31e300: Pulling fs layer 21:33:42 dcfb455df0a1: Pulling fs layer 21:33:42 34c802a77dc8: Waiting 21:33:42 9eb99e56ec68: Waiting 21:33:42 5788d62ee057: Waiting 21:33:42 27c7a5d97fbd: Waiting 21:33:42 5c102a31e300: Waiting 21:33:42 dcfb455df0a1: Waiting 21:33:42 bf5d7aec512f: Waiting 21:33:42 0f37312ad70f: Verifying Checksum 21:33:42 0f37312ad70f: Download complete 21:33:42 2848faf0eed1: Verifying Checksum 21:33:42 2848faf0eed1: Download complete 21:33:42 0e6b1d234666: Verifying Checksum 21:33:42 0e6b1d234666: Download complete 21:33:42 bf5d7aec512f: Verifying Checksum 21:33:42 bf5d7aec512f: Download complete 21:33:42 e6b0cf9c0882: Verifying Checksum 21:33:42 e6b0cf9c0882: Download complete 21:33:43 e6b0cf9c0882: Pull complete 21:33:43 2848faf0eed1: Pull complete 21:33:43 34c802a77dc8: Verifying Checksum 21:33:43 34c802a77dc8: Download complete 21:33:43 27c7a5d97fbd: Verifying Checksum 21:33:43 27c7a5d97fbd: Download complete 21:33:44 5c102a31e300: Verifying Checksum 21:33:44 5c102a31e300: Download complete 21:33:44 dcfb455df0a1: Verifying Checksum 21:33:44 dcfb455df0a1: Download complete 21:33:44 9eb99e56ec68: Verifying Checksum 21:33:44 9eb99e56ec68: Download complete 21:33:44 5788d62ee057: Verifying Checksum 21:33:44 5788d62ee057: Download complete 21:33:45 0f37312ad70f: Pull complete 21:33:50 5788d62ee057: Pull complete 21:33:50 0e6b1d234666: Pull complete 21:33:50 bf5d7aec512f: Pull complete 21:33:56 34c802a77dc8: Pull complete 21:33:59 9eb99e56ec68: Pull complete 21:33:59 27c7a5d97fbd: Pull complete 21:34:00 5c102a31e300: Pull complete 21:34:00 dcfb455df0a1: Pull complete 21:34:00 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 21:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 21:34:00 ---> 7c70fe431013 21:34:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:34:00 ---> Running in 7efdf627c6c6 21:34:01 Removing intermediate container 7efdf627c6c6 21:34:01 ---> 169417607bae 21:34:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:34:01 ---> Running in 4f460955486d 21:34:02 Removing intermediate container 4f460955486d 21:34:02 ---> 9b01e2881fc7 21:34:02 Step 5/8 : RUN apk add --update --no-cache git make 21:34:02 ---> Running in fe6a0d213776 21:34:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 21:34:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 21:34:04 OK: 143 MiB in 39 packages 21:34:04 Removing intermediate container fe6a0d213776 21:34:04 ---> cced2d69e97f 21:34:04 Step 6/8 : WORKDIR /build 21:34:04 ---> Running in 68cd993bf1a6 21:34:04 Removing intermediate container 68cd993bf1a6 21:34:04 ---> 3fea03bd114e 21:34:04 Step 7/8 : COPY go.mod . 21:34:05 ---> ea030d290a26 21:34:05 Step 8/8 : RUN go mod download 21:34:05 ---> Running in d50795e3615b 21:34:06 go: finding github.com/BurntSushi/toml v0.3.1 21:34:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:34:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:34:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:34:06 go: finding github.com/bgentry/speakeasy v0.1.0 21:34:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:34:06 go: finding github.com/davecgh/go-spew v1.1.1 21:34:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:34:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.34 21:34:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:34:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:34:06 go: finding github.com/fatih/color v1.7.0 21:34:06 go: finding github.com/go-kit/kit v0.8.0 21:34:06 go: finding github.com/go-logfmt/logfmt v0.4.0 21:34:06 go: finding github.com/go-stack/stack v1.8.0 21:34:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:34:06 go: finding github.com/google/uuid v1.1.0 21:34:06 go: finding github.com/gorilla/mux v1.7.1 21:34:06 go: finding github.com/hashicorp/consul/api v1.1.0 21:34:06 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:34:06 go: finding github.com/hashicorp/errwrap v1.0.0 21:34:06 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:34:06 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:34:06 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:34:06 go: finding github.com/hashicorp/go-multierror v1.0.0 21:34:06 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:34:06 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:34:06 go: finding github.com/hashicorp/go-syslog v1.0.0 21:34:06 go: finding github.com/hashicorp/go-uuid v1.0.1 21:34:06 go: finding github.com/hashicorp/go.net v0.0.1 21:34:06 go: finding github.com/hashicorp/golang-lru v0.5.0 21:34:06 go: finding github.com/hashicorp/logutils v1.0.0 21:34:07 go: finding github.com/hashicorp/mdns v1.0.0 21:34:07 go: finding github.com/hashicorp/memberlist v0.1.3 21:34:07 go: finding github.com/hashicorp/serf v0.8.2 21:34:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:34:07 go: finding github.com/mattn/go-colorable v0.0.9 21:34:07 go: finding github.com/mattn/go-isatty v0.0.3 21:34:07 go: finding github.com/miekg/dns v1.0.14 21:34:07 go: finding github.com/mitchellh/cli v1.0.0 21:34:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:34:07 go: finding github.com/mitchellh/copystructure v1.0.0 21:34:07 go: finding github.com/mitchellh/go-homedir v1.0.0 21:34:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:34:07 go: finding github.com/mitchellh/gox v0.4.0 21:34:07 go: finding github.com/mitchellh/iochan v1.0.0 21:34:07 go: finding github.com/mitchellh/mapstructure v1.1.2 21:34:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:34:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:34:07 go: finding github.com/pelletier/go-toml v1.2.0 21:34:07 go: finding github.com/pkg/errors v0.8.1 21:34:07 go: finding github.com/pmezard/go-difflib v1.0.0 21:34:07 go: finding github.com/posener/complete v1.1.1 21:34:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:34:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:34:07 go: finding github.com/stretchr/objx v0.1.0 21:34:07 go: finding github.com/stretchr/testify v1.5.1 21:34:07 go: finding github.com/ugorji/go v1.1.4 21:34:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:34:07 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:34:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:34:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:34:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:34:07 go: finding gopkg.in/yaml.v2 v2.2.8 21:34:10 Removing intermediate container d50795e3615b 21:34:10 ---> a18655e2681a 21:34:10 Successfully built a18655e2681a 21:34:10 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 21:34:11 + docker inspect -f . ci-base-image-x86_64 21:34:11 . [Pipeline] withDockerContainer 21:34:11 prd-centos7-docker-4c-2g-5048 does not seem to be running inside a container 21:34:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/29 -v /w/workspace/go-mod-bootstrap/29:/w/workspace/go-mod-bootstrap/29:rw,z -v /w/workspace/go-mod-bootstrap/29@tmp:/w/workspace/go-mod-bootstrap/29@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 ******** ci-base-image-x86_64 cat 21:34:12 $ docker top 5e68e060153c83925a5c5939ed0c50df48e8dedec24bd9bbf7002d955f2100d4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:12 + go version 21:34:12 go version go1.13.5 linux/amd64 [Pipeline] sh 21:34:12 + make test 21:34:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:34:31 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 21:34:31 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.009s coverage: 50.8% of statements 21:34:31 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 21:34:31 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.051s coverage: 84.2% of statements 21:34:31 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 21:34:31 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 21:34:31 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 21:34:36 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.019s coverage: 100.0% of statements 21:34:36 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 21:34:36 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 21:34:36 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 21:34:36 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.007s coverage: 48.9% of statements 21:34:36 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 21:34:36 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 21:34:36 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.004s coverage: 91.3% of statements 21:34:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:34:37 gofmt -l . 21:34:37 [ "`gofmt -l .`" = "" ] [Pipeline] stash 21:34:38 Stashed 1 file(s) [Pipeline] } 21:34:38 $ docker stop --time=1 5e68e060153c83925a5c5939ed0c50df48e8dedec24bd9bbf7002d955f2100d4 21:34:39 $ docker rm -f 5e68e060153c83925a5c5939ed0c50df48e8dedec24bd9bbf7002d955f2100d4 [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] } 21:34:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5049 in /w/workspace/xfoundry_go-mod-bootstrap_master [Pipeline] { [Pipeline] ws 21:34:44 Running in /w/workspace/go-mod-bootstrap/29 [Pipeline] { [Pipeline] checkout 21:34:49 using credential edgex-jenkins-ssh 21:34:49 Cloning the remote Git repository 21:34:49 Cloning with configured refspecs honoured and without tags 21:34:50 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 21:34:50 > git init /w/workspace/go-mod-bootstrap/29 # timeout=10 21:34:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 21:34:50 > git --version # timeout=10 21:34:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:34:50 Fetching without tags 21:34:51 Checking out Revision f5adf63aa6c1255066cf3357490e8370fcd65461 (master) 21:34:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 21:34:50 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 21:34:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 21:34:51 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 21:34:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:34:51 > git config core.sparsecheckout # timeout=10 21:34:51 > git checkout -f f5adf63aa6c1255066cf3357490e8370fcd65461 # timeout=10 21:34:56 Commit message: "Merge pull request #70 from lenny-intel/Uppercase" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:34:57 ========================================================= 21:34:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 21:34:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:34:58 + 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 . 21:34:58 Sending build context to Docker daemon 554kB 21:34:59 Step 1/8 : ARG BASE=golang:1.13-alpine 21:34:59 Step 2/8 : FROM ${BASE} 21:34:59 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:34:59 cde5963f3b93: Pulling fs layer 21:34:59 2a23fa8c16f7: Pulling fs layer 21:34:59 777b28850792: Pulling fs layer 21:34:59 8a11ddd9e578: Pulling fs layer 21:34:59 4cf88f913ddb: Pulling fs layer 21:34:59 1df406cf5192: Pulling fs layer 21:34:59 cd6300453558: Pulling fs layer 21:34:59 b9c365052c96: Pulling fs layer 21:34:59 a2d8cc88f415: Pulling fs layer 21:34:59 ea1d1ca13537: Pulling fs layer 21:34:59 3750a50a1c5e: Pulling fs layer 21:34:59 8a11ddd9e578: Waiting 21:34:59 4cf88f913ddb: Waiting 21:34:59 1df406cf5192: Waiting 21:34:59 cd6300453558: Waiting 21:34:59 b9c365052c96: Waiting 21:34:59 a2d8cc88f415: Waiting 21:34:59 ea1d1ca13537: Waiting 21:34:59 3750a50a1c5e: Waiting 21:34:59 777b28850792: Download complete 21:34:59 2a23fa8c16f7: Verifying Checksum 21:34:59 2a23fa8c16f7: Download complete 21:34:59 4cf88f913ddb: Download complete 21:34:59 1df406cf5192: Verifying Checksum 21:34:59 1df406cf5192: Download complete 21:34:59 cde5963f3b93: Download complete 21:35:00 cde5963f3b93: Pull complete 21:35:01 2a23fa8c16f7: Pull complete 21:35:01 777b28850792: Pull complete 21:35:04 cd6300453558: Verifying Checksum 21:35:04 cd6300453558: Download complete 21:35:04 a2d8cc88f415: Verifying Checksum 21:35:04 a2d8cc88f415: Download complete 21:35:06 ea1d1ca13537: Verifying Checksum 21:35:06 ea1d1ca13537: Download complete 21:35:06 3750a50a1c5e: Verifying Checksum 21:35:06 3750a50a1c5e: Download complete 21:35:09 b9c365052c96: Verifying Checksum 21:35:09 b9c365052c96: Download complete 21:35:11 8a11ddd9e578: Verifying Checksum 21:35:11 8a11ddd9e578: Download complete 21:35:21 8a11ddd9e578: Pull complete 21:35:21 4cf88f913ddb: Pull complete 21:35:21 1df406cf5192: Pull complete 21:35:27 cd6300453558: Pull complete 21:35:31 b9c365052c96: Pull complete 21:35:31 a2d8cc88f415: Pull complete 21:35:33 ea1d1ca13537: Pull complete 21:35:33 3750a50a1c5e: Pull complete 21:35:33 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 21:35:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 21:35:33 ---> 78745c68409d 21:35:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:35:38 ---> Running in 25aa515d77ae 21:35:38 Removing intermediate container 25aa515d77ae 21:35:38 ---> cebc4e486a28 21:35:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:39 ---> Running in aede871319dd 21:35:41 Removing intermediate container aede871319dd 21:35:41 ---> f83d209932e9 21:35:41 Step 5/8 : RUN apk add --update --no-cache git make 21:35:41 ---> Running in 824976fdbae9 21:35:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 21:35:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 21:35:44 OK: 125 MiB in 39 packages 21:35:45 Removing intermediate container 824976fdbae9 21:35:45 ---> 5dc855912748 21:35:45 Step 6/8 : WORKDIR /build 21:35:46 ---> Running in 5ee0a930f6e3 21:35:46 Removing intermediate container 5ee0a930f6e3 21:35:46 ---> 4a033d555004 21:35:46 Step 7/8 : COPY go.mod . 21:35:47 ---> 5ede59a1d521 21:35:47 Step 8/8 : RUN go mod download 21:35:47 ---> Running in 4dfcbfb11369 21:35:49 go: finding github.com/BurntSushi/toml v0.3.1 21:35:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 21:35:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:35:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 21:35:49 go: finding github.com/bgentry/speakeasy v0.1.0 21:35:49 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 21:35:49 go: finding github.com/davecgh/go-spew v1.1.1 21:35:49 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 21:35:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.34 21:35:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 21:35:49 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 21:35:49 go: finding github.com/fatih/color v1.7.0 21:35:49 go: finding github.com/go-kit/kit v0.8.0 21:35:49 go: finding github.com/go-logfmt/logfmt v0.4.0 21:35:49 go: finding github.com/go-stack/stack v1.8.0 21:35:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:35:49 go: finding github.com/google/uuid v1.1.0 21:35:49 go: finding github.com/gorilla/mux v1.7.1 21:35:49 go: finding github.com/hashicorp/consul/api v1.1.0 21:35:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 21:35:49 go: finding github.com/hashicorp/errwrap v1.0.0 21:35:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 21:35:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 21:35:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 21:35:49 go: finding github.com/hashicorp/go-multierror v1.0.0 21:35:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 21:35:49 go: finding github.com/hashicorp/go-sockaddr v1.0.0 21:35:49 go: finding github.com/hashicorp/go-syslog v1.0.0 21:35:49 go: finding github.com/hashicorp/go-uuid v1.0.1 21:35:49 go: finding github.com/hashicorp/go.net v0.0.1 21:35:49 go: finding github.com/hashicorp/golang-lru v0.5.0 21:35:49 go: finding github.com/hashicorp/logutils v1.0.0 21:35:49 go: finding github.com/hashicorp/mdns v1.0.0 21:35:49 go: finding github.com/hashicorp/memberlist v0.1.3 21:35:49 go: finding github.com/hashicorp/serf v0.8.2 21:35:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 21:35:49 go: finding github.com/mattn/go-colorable v0.0.9 21:35:49 go: finding github.com/mattn/go-isatty v0.0.3 21:35:49 go: finding github.com/miekg/dns v1.0.14 21:35:49 go: finding github.com/mitchellh/cli v1.0.0 21:35:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:35:49 go: finding github.com/mitchellh/copystructure v1.0.0 21:35:49 go: finding github.com/mitchellh/go-homedir v1.0.0 21:35:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 21:35:49 go: finding github.com/mitchellh/gox v0.4.0 21:35:49 go: finding github.com/mitchellh/iochan v1.0.0 21:35:49 go: finding github.com/mitchellh/mapstructure v1.1.2 21:35:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 21:35:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:35:49 go: finding github.com/pelletier/go-toml v1.2.0 21:35:49 go: finding github.com/pkg/errors v0.8.1 21:35:49 go: finding github.com/pmezard/go-difflib v1.0.0 21:35:49 go: finding github.com/posener/complete v1.1.1 21:35:49 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 21:35:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:35:49 go: finding github.com/stretchr/objx v0.1.0 21:35:49 go: finding github.com/stretchr/testify v1.5.1 21:35:49 go: finding github.com/ugorji/go v1.1.4 21:35:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 21:35:49 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 21:35:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 21:35:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 21:35:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 21:35:49 go: finding gopkg.in/yaml.v2 v2.2.8 21:35:59 Removing intermediate container 4dfcbfb11369 21:35:59 ---> c7b66d6e20e7 21:35:59 Successfully built c7b66d6e20e7 21:35:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:36:00 + docker inspect -f . ci-base-image-arm64 21:36:00 . [Pipeline] withDockerContainer 21:36:00 prd-ubuntu18.04-docker-arm64-4c-16g-5049 does not seem to be running inside a container 21:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/29 -v /w/workspace/go-mod-bootstrap/29:/w/workspace/go-mod-bootstrap/29:rw,z -v /w/workspace/go-mod-bootstrap/29@tmp:/w/workspace/go-mod-bootstrap/29@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 ******** ci-base-image-arm64 cat 21:36:02 $ docker top 7220951283c18898952da09c0dc89d90257fe456554619193131608404a308b9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:03 + go version 21:36:03 go version go1.13.5 linux/arm64 [Pipeline] sh 21:36:04 + make test 21:36:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:36:43 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap [no test files] 21:36:43 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/config 0.050s coverage: 50.8% of statements 21:36:43 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/container [no test files] 21:36:43 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/flags 0.050s coverage: 84.2% of statements 21:36:43 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [no test files] 21:36:43 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [no test files] 21:36:43 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret [no test files] 21:36:50 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/secret/client 7.058s coverage: 100.0% of statements 21:36:50 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/testing [no test files] 21:36:50 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/interfaces [no test files] 21:36:50 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [no test files] 21:36:50 ok github.com/edgexfoundry/go-mod-bootstrap/bootstrap/registration 0.026s coverage: 48.9% of statements 21:36:50 ? github.com/edgexfoundry/go-mod-bootstrap/bootstrap/startup [no test files] 21:36:50 ? github.com/edgexfoundry/go-mod-bootstrap/config [no test files] 21:36:50 ok github.com/edgexfoundry/go-mod-bootstrap/di 0.045s coverage: 91.3% of statements 21:36:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:36:57 gofmt -l . 21:36:57 [ "`gofmt -l .`" = "" ] [Pipeline] stash 21:36:57 Warning: overwriting stash ‘coverage-report’ 21:36:58 Stashed 1 file(s) [Pipeline] } 21:36:58 $ docker stop --time=1 7220951283c18898952da09c0dc89d90257fe456554619193131608404a308b9 21:37:00 $ docker rm -f 7220951283c18898952da09c0dc89d90257fe456554619193131608404a308b9 [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 21:37:02 provisioning config files... 21:37:02 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_master@tmp/config43969550955178186tmp [Pipeline] { [Pipeline] sh 21:37:02 + curl -s https://codecov.io/bash 21:37:02 + bash -s - -t @/w/workspace/xfoundry_go-mod-bootstrap_master@tmp/config43969550955178186tmp 21:37:03 21:37:03 _____ _ 21:37:03 / ____| | | 21:37:03 | | ___ __| | ___ ___ _____ __ 21:37:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:37:03 | |___| (_) | (_| | __/ (_| (_) \ V / 21:37:03 \_____\___/ \__,_|\___|\___\___/ \_/ 21:37:03 Bash-tbd 21:37:03 21:37:03 21:37:03 ==> Jenkins CI detected. 21:37:03 project root: . 21:37:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:37:03 ==> Running gcov in . (disable via -X gcov) 21:37:03 ==> Python coveragepy not found 21:37:03 ==> Searching for coverage reports in: 21:37:03 + . 21:37:03 -> Found 1 reports 21:37:03 ==> Detecting git/mercurial file structure 21:37:03 ==> Reading reports 21:37:03 + ./coverage.out bytes=20062 21:37:03 ==> Appending adjustments 21:37:03 http://docs.codecov.io/docs/fixing-reports 21:37:03 + Found adjustments 21:37:03 ==> Gzipping contents 21:37:03 ==> Uploading reports 21:37:03 url: https://codecov.io 21:37:03 query: branch=master&commit=f5adf63aa6c1255066cf3357490e8370fcd65461&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=&job= 21:37:03 -> Pinging Codecov 21:37:03 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=master&commit=f5adf63aa6c1255066cf3357490e8370fcd65461&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2Fmaster%2F29%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=&job= 21:37:03 -> Uploading 21:37:04 -> View reports at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/f5adf63aa6c1255066cf3357490e8370fcd65461 [Pipeline] } 21:37:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 21:37:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 21:37:04 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 21:37:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 21:37:04 21:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] isUnix [Pipeline] sh 21:37:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 21:37:05 1.217.3: Pulling from edgex-devops/edgex-snyk-go 21:37:05 e6b0cf9c0882: Pulling fs layer 21:37:05 2848faf0eed1: Pulling fs layer 21:37:05 0f37312ad70f: Pulling fs layer 21:37:05 7d08f2745646: Pulling fs layer 21:37:05 4c9f31393084: Pulling fs layer 21:37:05 eb21ddb83652: Pulling fs layer 21:37:05 345998794f6b: Pulling fs layer 21:37:05 97a711d68925: Pulling fs layer 21:37:05 7c8476c1cb00: Pulling fs layer 21:37:05 eb21ddb83652: Waiting 21:37:05 345998794f6b: Waiting 21:37:05 7c8476c1cb00: Waiting 21:37:05 97a711d68925: Waiting 21:37:05 7d08f2745646: Waiting 21:37:05 4c9f31393084: Waiting 21:37:05 0f37312ad70f: Verifying Checksum 21:37:05 0f37312ad70f: Download complete 21:37:05 2848faf0eed1: Download complete 21:37:05 4c9f31393084: Verifying Checksum 21:37:05 4c9f31393084: Download complete 21:37:05 eb21ddb83652: Verifying Checksum 21:37:05 eb21ddb83652: Download complete 21:37:05 e6b0cf9c0882: Download complete 21:37:05 345998794f6b: Verifying Checksum 21:37:05 345998794f6b: Download complete 21:37:05 e6b0cf9c0882: Pull complete 21:37:06 7c8476c1cb00: Verifying Checksum 21:37:06 7c8476c1cb00: Download complete 21:37:06 97a711d68925: Verifying Checksum 21:37:06 97a711d68925: Download complete 21:37:06 2848faf0eed1: Pull complete 21:37:06 0f37312ad70f: Pull complete 21:37:06 7d08f2745646: Verifying Checksum 21:37:06 7d08f2745646: Download complete 21:37:13 7d08f2745646: Pull complete 21:37:13 4c9f31393084: Pull complete 21:37:13 eb21ddb83652: Pull complete 21:37:14 345998794f6b: Pull complete 21:37:17 97a711d68925: Pull complete 21:37:17 7c8476c1cb00: Pull complete 21:37:17 Digest: sha256:607726e52887638313664f8405ebf6c5c0cb4d7cb27150ffbb2671548f966c96 21:37:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 [Pipeline] withDockerContainer 21:37:18 prd-centos7-docker-4c-2g-5047 does not seem to be running inside a container 21:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/xfoundry_go-mod-bootstrap_master:/ws -w /ws --entrypoint= -w /w/workspace/xfoundry_go-mod-bootstrap_master -v /w/workspace/xfoundry_go-mod-bootstrap_master:/w/workspace/xfoundry_go-mod-bootstrap_master:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_master@tmp:/w/workspace/xfoundry_go-mod-bootstrap_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.217.3 cat 21:37:18 $ docker top e83afb06bf2ed313dbc635951d3591409da4873ab503368356489f017f4c3cc2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:19 + snyk monitor '--org=edgex-jenkins' 21:42:25 21:42:25 Monitoring /w/workspace/xfoundry_go-mod-bootstrap_master... 21:42:25 21:42:25 Connection timeout. 21:42:25 [Pipeline] } 21:47:32 $ docker stop --time=1 e83afb06bf2ed313dbc635951d3591409da4873ab503368356489f017f4c3cc2 21:47:33 $ docker rm -f e83afb06bf2ed313dbc635951d3591409da4873ab503368356489f017f4c3cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 21:47:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:47:35 ---> package-listing.sh 21:47:35 ++ tr '[:upper:]' '[:lower:]' 21:47:35 ++ facter osfamily 21:47:35 + OS_FAMILY=redhat 21:47:35 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_master 21:47:35 + START_PACKAGES=/tmp/packages_start.txt 21:47:35 + END_PACKAGES=/tmp/packages_end.txt 21:47:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:47:35 + PACKAGES=/tmp/packages_start.txt 21:47:35 + '[' /w/workspace/xfoundry_go-mod-bootstrap_master ']' 21:47:35 + PACKAGES=/tmp/packages_end.txt 21:47:35 + case "${OS_FAMILY}" in 21:47:35 + rpm -qa 21:47:35 + sort 21:47:39 + '[' -f /tmp/packages_start.txt ']' 21:47:39 + '[' -f /tmp/packages_end.txt ']' 21:47:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:47:39 + '[' /w/workspace/xfoundry_go-mod-bootstrap_master ']' 21:47:39 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_master/archives/ 21:47:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_master/archives/ [Pipeline] isUnix [Pipeline] sh 21:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:47:40 21:47:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:47:40 alpine: Pulling from edgex-lftools-log-publisher 21:47:40 c9b1b535fdd9: Pulling fs layer 21:47:40 2cc5ad85d9ab: Pulling fs layer 21:47:40 756a868c4378: Pulling fs layer 21:47:40 444b2fc9a129: Pulling fs layer 21:47:40 ea15f1150254: Pulling fs layer 21:47:40 41b27a9f41bf: Pulling fs layer 21:47:40 28c525ee5125: Pulling fs layer 21:47:40 094b1ea09ed8: Pulling fs layer 21:47:40 138eaada9080: Pulling fs layer 21:47:40 0622d0fa9048: Pulling fs layer 21:47:40 28c525ee5125: Waiting 21:47:40 ea15f1150254: Waiting 21:47:40 41b27a9f41bf: Waiting 21:47:40 0622d0fa9048: Waiting 21:47:40 444b2fc9a129: Waiting 21:47:40 138eaada9080: Waiting 21:47:40 2cc5ad85d9ab: Download complete 21:47:40 444b2fc9a129: Verifying Checksum 21:47:40 444b2fc9a129: Download complete 21:47:40 c9b1b535fdd9: Verifying Checksum 21:47:40 c9b1b535fdd9: Download complete 21:47:40 ea15f1150254: Verifying Checksum 21:47:40 ea15f1150254: Download complete 21:47:40 28c525ee5125: Verifying Checksum 21:47:40 28c525ee5125: Download complete 21:47:41 756a868c4378: Verifying Checksum 21:47:41 756a868c4378: Download complete 21:47:41 138eaada9080: Verifying Checksum 21:47:41 138eaada9080: Download complete 21:47:41 0622d0fa9048: Verifying Checksum 21:47:41 0622d0fa9048: Download complete 21:47:41 094b1ea09ed8: Verifying Checksum 21:47:41 094b1ea09ed8: Download complete 21:47:41 c9b1b535fdd9: Pull complete 21:47:41 41b27a9f41bf: Verifying Checksum 21:47:41 41b27a9f41bf: Download complete 21:47:42 2cc5ad85d9ab: Pull complete 21:47:44 756a868c4378: Pull complete 21:47:44 444b2fc9a129: Pull complete 21:47:44 ea15f1150254: Pull complete 21:47:48 41b27a9f41bf: Pull complete 21:47:48 28c525ee5125: Pull complete 21:47:50 094b1ea09ed8: Pull complete 21:47:50 138eaada9080: Pull complete 21:47:50 0622d0fa9048: Pull complete 21:47:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 21:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:47:50 prd-centos7-docker-4c-2g-5047 does not seem to be running inside a container 21:47:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_go-mod-bootstrap_master -v /w/workspace/xfoundry_go-mod-bootstrap_master:/w/workspace/xfoundry_go-mod-bootstrap_master:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_master@tmp:/w/workspace/xfoundry_go-mod-bootstrap_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:47:51 $ docker top 1ad5c0e0a506570c9156aedb9ef8454d0cef32694a21512389be8df9e6a9745d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:51 provisioning config files... 21:47:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_master@tmp/config1335412197707460248tmp [Pipeline] { [Pipeline] echo 21:47:51 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:47:52 ---> create-netrc.sh [Pipeline] echo 21:47:52 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:47:52 ---> logs-deploy.sh 21:47:52 + ARCHIVE_ARTIFACTS= 21:47:52 + LOGS_SERVER=https://logs.edgexfoundry.org 21:47:52 + '[' https://logs.edgexfoundry.org == None ']' 21:47:52 + NEXUS_URL=https://nexus.edgexfoundry.org 21:47:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/master/29 21:47:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-bootstrap/job/master/29/ 21:47:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/master/29 /w/workspace/xfoundry_go-mod-bootstrap_master 21:47:53 Archives upload complete. 21:47:53 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/master/29 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-bootstrap/job/master/29/