Pull request #43 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-messaging Loading trusted files from base branch master at cfba30792e745cabe7c9c124792dfed6ff0b4cfb rather than f86159b7a1023a843f8e0f76c9e4023718665cbf Obtained Jenkinsfile from cfba30792e745cabe7c9c124792dfed6ff0b4cfb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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-messaging, 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-messaging-settings PROJECT: go-mod-messaging 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-messaging 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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3884 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [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-messaging.git > git init /w/workspace/exfoundry_go-mod-messaging_PR-43 # timeout=10 Fetching without tags Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit f86159b7a1023a843f8e0f76c9e4023718665cbf Merge succeeded, producing f86159b7a1023a843f8e0f76c9e4023718665cbf Checking out Revision f86159b7a1023a843f8e0f76c9e4023718665cbf (PR-43) Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.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-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # 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-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # 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 cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # timeout=10 Commit message: "Merge branch 'master' into PRTEMPLATE" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T21:16:32.072Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 0e50a43105a2b383057d7c9768ae5c68ac91d9be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:16:34.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T21:16:34.025Z] [2020-04-14T21:16:34.025Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:16:34.386Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T21:16:34.386Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T21:16:34.386Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T21:16:34.386Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T21:16:34.386Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T21:16:34.386Z] 93b08a4f1073: Pulling fs layer [2020-04-14T21:16:34.386Z] 93b08a4f1073: Waiting [2020-04-14T21:16:34.386Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T21:16:34.386Z] b8cc5d1170e3: Download complete [2020-04-14T21:16:34.646Z] 9123ac7c32f7: Verifying Checksum [2020-04-14T21:16:34.646Z] 9123ac7c32f7: Download complete [2020-04-14T21:16:34.646Z] 93b08a4f1073: Verifying Checksum [2020-04-14T21:16:34.646Z] 93b08a4f1073: Download complete [2020-04-14T21:16:34.646Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T21:16:34.646Z] 2924cbbf6a41: Download complete [2020-04-14T21:16:34.908Z] 9123ac7c32f7: Pull complete [2020-04-14T21:16:34.908Z] b8cc5d1170e3: Pull complete [2020-04-14T21:16:35.852Z] 2924cbbf6a41: Pull complete [2020-04-14T21:16:35.852Z] 93b08a4f1073: Pull complete [2020-04-14T21:16:35.852Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T21:16:35.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T21:16:35.982Z] prd-centos7-docker-4c-2g-3884 does not seem to be running inside a container [2020-04-14T21:16:36.038Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-43 -v /w/workspace/exfoundry_go-mod-messaging_PR-43:/w/workspace/exfoundry_go-mod-messaging_PR-43:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-43@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T21:16:36.650Z] $ docker top db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T21:16:37.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T21:16:37.016Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T21:16:37.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T21:16:37.283Z] $ docker exec db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 ssh-agent [2020-04-14T21:16:37.469Z] SSH_AUTH_SOCK=/tmp/ssh-DbGCWPSKRVaG/agent.15 [2020-04-14T21:16:37.469Z] SSH_AGENT_PID=22 [2020-04-14T21:16:37.479Z] Running ssh-add (command line suppressed) [2020-04-14T21:16:37.629Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_3546228208987520947.key (/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_3546228208987520947.key) [2020-04-14T21:16:37.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T21:16:38.037Z] + git describe --exact-match --tags HEAD [2020-04-14T21:16:38.037Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T21:16:38.096Z] $ docker exec --env ******** --env ******** db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 ssh-agent -k [2020-04-14T21:16:38.239Z] unset SSH_AUTH_SOCK; [2020-04-14T21:16:38.240Z] unset SSH_AGENT_PID; [2020-04-14T21:16:38.240Z] echo Agent pid 22 killed; [2020-04-14T21:16:38.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T21:16:38.343Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T21:16:38.344Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T21:16:38.427Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T21:16:38.427Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T21:16:38.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T21:16:38.618Z] $ docker exec db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 ssh-agent [2020-04-14T21:16:38.794Z] SSH_AUTH_SOCK=/tmp/ssh-Z3wGf3eNzDDJ/agent.57 [2020-04-14T21:16:38.794Z] SSH_AGENT_PID=64 [2020-04-14T21:16:38.800Z] Running ssh-add (command line suppressed) [2020-04-14T21:16:38.945Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_1966621876332379042.key (/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_1966621876332379042.key) [2020-04-14T21:16:38.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T21:16:39.320Z] + git semver init [2020-04-14T21:16:39.320Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T21:16:39.320Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-43/.git [2020-04-14T21:16:39.320Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-04-14T21:16:39.320Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T21:16:39.320Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T21:16:39.320Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T21:16:39.320Z] # $SEMVER_BRANCH = PR-43 [2020-04-14T21:16:39.320Z] # $SEMVER_TEMP = /tmp/semver-460142792 [2020-04-14T21:16:39.320Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-04-14T21:16:39.579Z] # '/tmp/semver-460142792' -> '/w/workspace/exfoundry_go-mod-messaging_PR-43/.semver' [2020-04-14T21:16:39.579Z] # -> Force: false [2020-04-14T21:16:39.579Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-43/.semver [Pipeline] } [2020-04-14T21:16:39.592Z] $ docker exec --env ******** --env ******** db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 ssh-agent -k [2020-04-14T21:16:39.724Z] unset SSH_AUTH_SOCK; [2020-04-14T21:16:39.724Z] unset SSH_AGENT_PID; [2020-04-14T21:16:39.724Z] echo Agent pid 64 killed; [2020-04-14T21:16:39.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T21:16:40.175Z] + git semver [Pipeline] } [2020-04-14T21:16:40.191Z] $ docker stop --time=1 db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 [2020-04-14T21:16:41.536Z] $ docker rm -f db2534690e0c5a6f4baa43fecf409f125d036c44c5596be6556d9c22c5666cf2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T21:16:42.158Z] Stashed 32 file(s) [Pipeline] echo [2020-04-14T21:16:42.160Z] [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-04-14T21:16:57.445Z] Still waiting to schedule task [2020-04-14T21:16:57.445Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-14T21:16:57.447Z] Still waiting to schedule task [2020-04-14T21:16:57.447Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-14T21:18:29.044Z] Running on prd-centos7-docker-4c-2g-3885 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [Pipeline] { [Pipeline] ws [2020-04-14T21:18:29.095Z] Running in /w/workspace/go-mod-messaging/5 [Pipeline] { [Pipeline] checkout [2020-04-14T21:18:32.568Z] using credential edgex-jenkins-ssh [2020-04-14T21:18:32.609Z] Cloning the remote Git repository [2020-04-14T21:18:32.609Z] Cloning with configured refspecs honoured and without tags [2020-04-14T21:18:33.357Z] Fetching without tags [2020-04-14T21:18:32.280Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:18:32.326Z] > git init /w/workspace/go-mod-messaging/5 # timeout=10 [2020-04-14T21:18:32.391Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:18:32.391Z] > git --version # timeout=10 [2020-04-14T21:18:32.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:18:32.469Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:18:32.948Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T21:18:32.956Z] > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # timeout=10 [2020-04-14T21:18:32.966Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:18:32.983Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T21:18:33.002Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:18:33.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:18:33.007Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:18:33.765Z] Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit f86159b7a1023a843f8e0f76c9e4023718665cbf [2020-04-14T21:18:33.843Z] Merge succeeded, producing f86159b7a1023a843f8e0f76c9e4023718665cbf [2020-04-14T21:18:33.843Z] Checking out Revision f86159b7a1023a843f8e0f76c9e4023718665cbf (PR-43) [2020-04-14T21:18:33.440Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:18:33.446Z] > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # timeout=10 [2020-04-14T21:18:33.480Z] > git remote # timeout=10 [2020-04-14T21:18:33.487Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T21:18:33.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:18:33.499Z] > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 [2020-04-14T21:18:33.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T21:18:33.518Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:18:33.527Z] > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # timeout=10 [2020-04-14T21:18:37.372Z] 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-04-14T21:18:38.210Z] ========================================================= [2020-04-14T21:18:38.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T21:18:38.210Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:18:38.883Z] + 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-04-14T21:18:39.147Z] Sending build context to Docker daemon 433.2kB [2020-04-14T21:18:39.147Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-14T21:18:39.147Z] Step 2/7 : FROM ${BASE} [2020-04-14T21:18:39.408Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T21:18:39.408Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T21:18:39.408Z] 2848faf0eed1: Pulling fs layer [2020-04-14T21:18:39.408Z] 0f37312ad70f: Pulling fs layer [2020-04-14T21:18:39.408Z] 5788d62ee057: Pulling fs layer [2020-04-14T21:18:39.408Z] 0e6b1d234666: Pulling fs layer [2020-04-14T21:18:39.408Z] bf5d7aec512f: Pulling fs layer [2020-04-14T21:18:39.408Z] 34c802a77dc8: Pulling fs layer [2020-04-14T21:18:39.408Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T21:18:39.408Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T21:18:39.408Z] 5c102a31e300: Pulling fs layer [2020-04-14T21:18:39.408Z] dcfb455df0a1: Pulling fs layer [2020-04-14T21:18:39.408Z] 0e6b1d234666: Waiting [2020-04-14T21:18:39.408Z] bf5d7aec512f: Waiting [2020-04-14T21:18:39.408Z] 34c802a77dc8: Waiting [2020-04-14T21:18:39.408Z] 9eb99e56ec68: Waiting [2020-04-14T21:18:39.408Z] 27c7a5d97fbd: Waiting [2020-04-14T21:18:39.408Z] 5c102a31e300: Waiting [2020-04-14T21:18:39.408Z] dcfb455df0a1: Waiting [2020-04-14T21:18:39.408Z] 5788d62ee057: Waiting [2020-04-14T21:18:39.408Z] 0f37312ad70f: Verifying Checksum [2020-04-14T21:18:39.408Z] 0f37312ad70f: Download complete [2020-04-14T21:18:39.408Z] 2848faf0eed1: Verifying Checksum [2020-04-14T21:18:39.408Z] 2848faf0eed1: Download complete [2020-04-14T21:18:39.408Z] 0e6b1d234666: Verifying Checksum [2020-04-14T21:18:39.408Z] 0e6b1d234666: Download complete [2020-04-14T21:18:39.408Z] bf5d7aec512f: Verifying Checksum [2020-04-14T21:18:39.408Z] bf5d7aec512f: Download complete [2020-04-14T21:18:39.408Z] e6b0cf9c0882: Verifying Checksum [2020-04-14T21:18:39.408Z] e6b0cf9c0882: Download complete [2020-04-14T21:18:39.676Z] e6b0cf9c0882: Pull complete [2020-04-14T21:18:40.255Z] 34c802a77dc8: Verifying Checksum [2020-04-14T21:18:40.255Z] 34c802a77dc8: Download complete [2020-04-14T21:18:40.255Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T21:18:40.255Z] 27c7a5d97fbd: Download complete [2020-04-14T21:18:40.516Z] 5c102a31e300: Verifying Checksum [2020-04-14T21:18:40.516Z] 5c102a31e300: Download complete [2020-04-14T21:18:40.516Z] dcfb455df0a1: Verifying Checksum [2020-04-14T21:18:40.516Z] dcfb455df0a1: Download complete [2020-04-14T21:18:41.145Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T21:18:41.145Z] 9eb99e56ec68: Download complete [2020-04-14T21:18:41.145Z] 5788d62ee057: Download complete [2020-04-14T21:18:42.082Z] 2848faf0eed1: Pull complete [2020-04-14T21:18:42.082Z] 0f37312ad70f: Pull complete [2020-04-14T21:18:48.660Z] 5788d62ee057: Pull complete [2020-04-14T21:18:48.660Z] 0e6b1d234666: Pull complete [2020-04-14T21:18:48.660Z] bf5d7aec512f: Pull complete [2020-04-14T21:18:52.900Z] 34c802a77dc8: Pull complete [2020-04-14T21:18:57.110Z] 9eb99e56ec68: Pull complete [2020-04-14T21:18:57.110Z] 27c7a5d97fbd: Pull complete [2020-04-14T21:18:57.371Z] 5c102a31e300: Pull complete [2020-04-14T21:18:57.371Z] dcfb455df0a1: Pull complete [2020-04-14T21:18:57.371Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T21:18:57.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T21:18:57.371Z] ---> 7c70fe431013 [2020-04-14T21:18:57.371Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T21:18:57.630Z] ---> Running in 8643728c58a1 [2020-04-14T21:18:57.630Z] Removing intermediate container 8643728c58a1 [2020-04-14T21:18:57.630Z] ---> ee46b582d909 [2020-04-14T21:18:57.630Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T21:18:57.630Z] ---> Running in 9fa9a6ba8d7b [2020-04-14T21:18:58.209Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T21:18:59.146Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T21:18:59.408Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T21:18:59.666Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T21:18:59.666Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T21:18:59.927Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T21:18:59.927Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T21:19:00.187Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T21:19:00.187Z] OK: 145 MiB in 44 packages [2020-04-14T21:19:00.777Z] Removing intermediate container 9fa9a6ba8d7b [2020-04-14T21:19:00.777Z] ---> 62ae74af19e1 [2020-04-14T21:19:00.777Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-14T21:19:00.777Z] ---> Running in 365b2bbd71ba [2020-04-14T21:19:01.037Z] Removing intermediate container 365b2bbd71ba [2020-04-14T21:19:01.037Z] ---> 782cb62d2136 [2020-04-14T21:19:01.037Z] Step 6/7 : COPY go.mod . [2020-04-14T21:19:01.037Z] ---> a6bb353b4625 [2020-04-14T21:19:01.037Z] Step 7/7 : RUN go mod download [2020-04-14T21:19:01.296Z] ---> Running in c4190b651297 [2020-04-14T21:19:02.233Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-14T21:19:02.492Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T21:19:02.492Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T21:19:02.492Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T21:19:02.492Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T21:19:02.492Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-14T21:19:02.752Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T21:19:02.752Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T21:19:02.752Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T21:19:02.752Z] go: finding golang.org/x/text v0.3.0 [2020-04-14T21:19:06.966Z] Removing intermediate container c4190b651297 [2020-04-14T21:19:06.966Z] ---> 429e3156056d [2020-04-14T21:19:06.966Z] Successfully built 429e3156056d [2020-04-14T21:19:06.966Z] 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-04-14T21:19:07.500Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T21:19:07.500Z] . [Pipeline] withDockerContainer [2020-04-14T21:19:07.626Z] prd-centos7-docker-4c-2g-3885 does not seem to be running inside a container [2020-04-14T21:19:07.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@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 ******** ci-base-image-x86_64 cat [2020-04-14T21:19:08.432Z] $ docker top c1619f2aa26e84bc3bd0ca229a1517ffd6b42738449a6a14bf910e5ffe2574e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T21:19:08.907Z] + go version [2020-04-14T21:19:08.907Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T21:19:09.205Z] + make test [2020-04-14T21:19:09.205Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T21:19:11.774Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-04-14T21:19:15.101Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.008s coverage: 96.0% of statements [2020-04-14T21:19:41.665Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.340s coverage: 84.1% of statements [2020-04-14T21:19:41.665Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.027s coverage: 100.0% of statements [2020-04-14T21:19:41.665Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.005s coverage: 100.0% of statements [2020-04-14T21:19:41.665Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.004s coverage: 90.9% of statements [2020-04-14T21:19:41.665Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-04-14T21:19:41.665Z] gofmt -l . [2020-04-14T21:19:41.665Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-14T21:19:42.042Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T21:19:42.049Z] $ docker stop --time=1 c1619f2aa26e84bc3bd0ca229a1517ffd6b42738449a6a14bf910e5ffe2574e8 [2020-04-14T21:19:43.522Z] $ docker rm -f c1619f2aa26e84bc3bd0ca229a1517ffd6b42738449a6a14bf910e5ffe2574e8 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-14T21:20:24.018Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3886 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [Pipeline] { [Pipeline] ws [2020-04-14T21:20:24.062Z] Running in /w/workspace/go-mod-messaging/5 [Pipeline] { [Pipeline] checkout [2020-04-14T21:20:29.836Z] using credential edgex-jenkins-ssh [2020-04-14T21:20:29.890Z] Cloning the remote Git repository [2020-04-14T21:20:29.890Z] Cloning with configured refspecs honoured and without tags [2020-04-14T21:20:29.970Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:20:30.063Z] > git init /w/workspace/go-mod-messaging/5 # timeout=10 [2020-04-14T21:20:30.162Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:20:30.164Z] > git --version # timeout=10 [2020-04-14T21:20:30.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:20:30.254Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:20:31.041Z] Fetching without tags [2020-04-14T21:20:31.535Z] Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit f86159b7a1023a843f8e0f76c9e4023718665cbf [2020-04-14T21:20:30.933Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T21:20:30.968Z] > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # timeout=10 [2020-04-14T21:20:30.990Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:20:31.024Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T21:20:31.068Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T21:20:31.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:20:31.086Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T21:20:31.573Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:20:31.615Z] > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # timeout=10 [2020-04-14T21:20:31.720Z] > git remote # timeout=10 [2020-04-14T21:20:31.861Z] Merge succeeded, producing f86159b7a1023a843f8e0f76c9e4023718665cbf [2020-04-14T21:20:31.861Z] Checking out Revision f86159b7a1023a843f8e0f76c9e4023718665cbf (PR-43) [2020-04-14T21:20:31.760Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T21:20:31.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T21:20:31.798Z] > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 [2020-04-14T21:20:31.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T21:20:31.884Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T21:20:31.914Z] > git checkout -f f86159b7a1023a843f8e0f76c9e4023718665cbf # timeout=10 [2020-04-14T21:20:37.021Z] 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-04-14T21:20:38.016Z] ========================================================= [2020-04-14T21:20:38.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T21:20:38.016Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:20:39.115Z] + 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-04-14T21:20:39.706Z] Sending build context to Docker daemon 433.2kB [2020-04-14T21:20:39.707Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-14T21:20:39.707Z] Step 2/7 : FROM ${BASE} [2020-04-14T21:20:40.296Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T21:20:40.296Z] cde5963f3b93: Pulling fs layer [2020-04-14T21:20:40.296Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T21:20:40.296Z] 777b28850792: Pulling fs layer [2020-04-14T21:20:40.296Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T21:20:40.296Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T21:20:40.296Z] 1df406cf5192: Pulling fs layer [2020-04-14T21:20:40.296Z] cd6300453558: Pulling fs layer [2020-04-14T21:20:40.296Z] b9c365052c96: Pulling fs layer [2020-04-14T21:20:40.296Z] a2d8cc88f415: Pulling fs layer [2020-04-14T21:20:40.296Z] ea1d1ca13537: Pulling fs layer [2020-04-14T21:20:40.296Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T21:20:40.296Z] 8a11ddd9e578: Waiting [2020-04-14T21:20:40.296Z] 4cf88f913ddb: Waiting [2020-04-14T21:20:40.296Z] 1df406cf5192: Waiting [2020-04-14T21:20:40.296Z] cd6300453558: Waiting [2020-04-14T21:20:40.296Z] b9c365052c96: Waiting [2020-04-14T21:20:40.296Z] a2d8cc88f415: Waiting [2020-04-14T21:20:40.296Z] ea1d1ca13537: Waiting [2020-04-14T21:20:40.296Z] 3750a50a1c5e: Waiting [2020-04-14T21:20:40.296Z] 777b28850792: Verifying Checksum [2020-04-14T21:20:40.296Z] 777b28850792: Download complete [2020-04-14T21:20:40.296Z] 2a23fa8c16f7: Verifying Checksum [2020-04-14T21:20:40.296Z] 2a23fa8c16f7: Download complete [2020-04-14T21:20:40.296Z] 4cf88f913ddb: Verifying Checksum [2020-04-14T21:20:40.296Z] 4cf88f913ddb: Download complete [2020-04-14T21:20:40.296Z] 1df406cf5192: Verifying Checksum [2020-04-14T21:20:40.296Z] 1df406cf5192: Download complete [2020-04-14T21:20:40.573Z] cde5963f3b93: Verifying Checksum [2020-04-14T21:20:41.544Z] cde5963f3b93: Pull complete [2020-04-14T21:20:41.815Z] 2a23fa8c16f7: Pull complete [2020-04-14T21:20:42.411Z] 777b28850792: Pull complete [2020-04-14T21:20:45.053Z] cd6300453558: Verifying Checksum [2020-04-14T21:20:45.053Z] cd6300453558: Download complete [2020-04-14T21:20:45.053Z] a2d8cc88f415: Verifying Checksum [2020-04-14T21:20:45.053Z] a2d8cc88f415: Download complete [2020-04-14T21:20:47.009Z] ea1d1ca13537: Verifying Checksum [2020-04-14T21:20:47.009Z] ea1d1ca13537: Download complete [2020-04-14T21:20:47.278Z] 3750a50a1c5e: Verifying Checksum [2020-04-14T21:20:47.278Z] 3750a50a1c5e: Download complete [2020-04-14T21:20:49.866Z] b9c365052c96: Verifying Checksum [2020-04-14T21:20:49.866Z] b9c365052c96: Download complete [2020-04-14T21:20:51.812Z] 8a11ddd9e578: Download complete [2020-04-14T21:21:04.158Z] 8a11ddd9e578: Pull complete [2020-04-14T21:21:04.158Z] 4cf88f913ddb: Pull complete [2020-04-14T21:21:04.158Z] 1df406cf5192: Pull complete [2020-04-14T21:21:08.411Z] cd6300453558: Pull complete [2020-04-14T21:21:12.673Z] b9c365052c96: Pull complete [2020-04-14T21:21:12.673Z] a2d8cc88f415: Pull complete [2020-04-14T21:21:14.624Z] ea1d1ca13537: Pull complete [2020-04-14T21:21:15.209Z] 3750a50a1c5e: Pull complete [2020-04-14T21:21:15.209Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T21:21:15.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T21:21:15.476Z] ---> 78745c68409d [2020-04-14T21:21:15.476Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T21:21:18.822Z] ---> Running in b1eea2692f9f [2020-04-14T21:21:18.822Z] Removing intermediate container b1eea2692f9f [2020-04-14T21:21:18.822Z] ---> aaf24682e0df [2020-04-14T21:21:18.822Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T21:21:18.822Z] ---> Running in dff547d6e43b [2020-04-14T21:21:19.789Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T21:21:20.743Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T21:21:21.323Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T21:21:21.590Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T21:21:21.590Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T21:21:21.590Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T21:21:21.855Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T21:21:21.855Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T21:21:21.855Z] OK: 127 MiB in 44 packages [2020-04-14T21:21:23.266Z] Removing intermediate container dff547d6e43b [2020-04-14T21:21:23.266Z] ---> 584d4201093c [2020-04-14T21:21:23.266Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-14T21:21:23.266Z] ---> Running in eebb778df977 [2020-04-14T21:21:23.850Z] Removing intermediate container eebb778df977 [2020-04-14T21:21:23.850Z] ---> 04f67273cb6c [2020-04-14T21:21:23.850Z] Step 6/7 : COPY go.mod . [2020-04-14T21:21:24.116Z] ---> 81ff5b72a943 [2020-04-14T21:21:24.116Z] Step 7/7 : RUN go mod download [2020-04-14T21:21:24.384Z] ---> Running in d45421617957 [2020-04-14T21:21:25.792Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-14T21:21:25.792Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T21:21:25.792Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T21:21:25.792Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T21:21:25.792Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T21:21:25.792Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-14T21:21:25.792Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T21:21:25.792Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T21:21:25.792Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T21:21:25.792Z] go: finding golang.org/x/text v0.3.0 [2020-04-14T21:21:34.011Z] Removing intermediate container d45421617957 [2020-04-14T21:21:34.011Z] ---> d25d382d95c9 [2020-04-14T21:21:34.011Z] Successfully built d25d382d95c9 [2020-04-14T21:21:34.011Z] 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-04-14T21:21:34.687Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T21:21:34.687Z] . [Pipeline] withDockerContainer [2020-04-14T21:21:35.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-3886 does not seem to be running inside a container [2020-04-14T21:21:35.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/5 -v /w/workspace/go-mod-messaging/5:/w/workspace/go-mod-messaging/5:rw,z -v /w/workspace/go-mod-messaging/5@tmp:/w/workspace/go-mod-messaging/5@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 ******** ci-base-image-arm64 cat [2020-04-14T21:21:36.862Z] $ docker top 5243b32ef16d257259c3fe624912350dd27a183d3d30286ab96310694ada6934 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T21:21:37.924Z] + go version [2020-04-14T21:21:37.924Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T21:21:38.567Z] + make test [2020-04-14T21:21:38.567Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T21:21:48.671Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-04-14T21:21:55.335Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.024s coverage: 96.0% of statements [2020-04-14T21:22:27.578Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.384s coverage: 84.1% of statements [2020-04-14T21:22:27.578Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.025s coverage: 100.0% of statements [2020-04-14T21:22:27.578Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.014s coverage: 100.0% of statements [2020-04-14T21:22:27.579Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.015s coverage: 90.9% of statements [2020-04-14T21:22:27.579Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-04-14T21:22:27.579Z] gofmt -l . [2020-04-14T21:22:27.579Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-04-14T21:22:27.592Z] Warning: overwriting stash ‘coverage-report’ [2020-04-14T21:22:28.000Z] Stashed 1 file(s) [Pipeline] } [2020-04-14T21:22:28.013Z] $ docker stop --time=1 5243b32ef16d257259c3fe624912350dd27a183d3d30286ab96310694ada6934 [2020-04-14T21:22:30.218Z] $ docker rm -f 5243b32ef16d257259c3fe624912350dd27a183d3d30286ab96310694ada6934 [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] } [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-04-14T21:22:31.801Z] provisioning config files... [2020-04-14T21:22:31.813Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config1337654917566383555tmp [Pipeline] { [Pipeline] sh [2020-04-14T21:22:32.147Z] + curl -s https://codecov.io/bash [2020-04-14T21:22:32.147Z] + bash -s - -t @/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config1337654917566383555tmp [2020-04-14T21:22:32.407Z] [2020-04-14T21:22:32.407Z] _____ _ [2020-04-14T21:22:32.407Z] / ____| | | [2020-04-14T21:22:32.407Z] | | ___ __| | ___ ___ _____ __ [2020-04-14T21:22:32.407Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-14T21:22:32.407Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-14T21:22:32.407Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-14T21:22:32.407Z] Bash-20200410-0786dee [2020-04-14T21:22:32.407Z] [2020-04-14T21:22:32.407Z] [2020-04-14T21:22:32.407Z] ==> Jenkins CI detected. [2020-04-14T21:22:32.407Z] project root: . [2020-04-14T21:22:32.407Z] Fixing merge commit SHA [2020-04-14T21:22:32.407Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-14T21:22:32.407Z] ==> Running gcov in . (disable via -X gcov) [2020-04-14T21:22:32.407Z] ==> Python coveragepy not found [2020-04-14T21:22:32.407Z] ==> Searching for coverage reports in: [2020-04-14T21:22:32.407Z] + . [2020-04-14T21:22:32.407Z] -> Found 1 reports [2020-04-14T21:22:32.407Z] ==> Detecting git/mercurial file structure [2020-04-14T21:22:32.407Z] ==> Reading reports [2020-04-14T21:22:32.407Z] + ./coverage.out bytes=16797 [2020-04-14T21:22:32.407Z] ==> Appending adjustments [2020-04-14T21:22:32.407Z] http://docs.codecov.io/docs/fixing-reports [2020-04-14T21:22:32.666Z] + Found adjustments [2020-04-14T21:22:32.666Z] ==> Gzipping contents [2020-04-14T21:22:32.666Z] ==> Uploading reports [2020-04-14T21:22:32.666Z] url: https://codecov.io [2020-04-14T21:22:32.666Z] query: branch=PR-43&commit=cfba30792e745cabe7c9c124792dfed6ff0b4cfb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-43%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=43&job= [2020-04-14T21:22:32.666Z] -> Pinging Codecov [2020-04-14T21:22:32.666Z] https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-43&commit=cfba30792e745cabe7c9c124792dfed6ff0b4cfb&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-43%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=43&job= [2020-04-14T21:22:32.925Z] -> Uploading [2020-04-14T21:22:33.492Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/cfba30792e745cabe7c9c124792dfed6ff0b4cfb [Pipeline] } [2020-04-14T21:22:33.498Z] 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-04-14T21:22:34.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:22:34.942Z] ---> package-listing.sh [2020-04-14T21:22:34.942Z] ++ facter osfamily [2020-04-14T21:22:34.942Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T21:22:34.942Z] + OS_FAMILY=redhat [2020-04-14T21:22:34.942Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-04-14T21:22:34.942Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T21:22:34.942Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T21:22:34.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T21:22:34.942Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T21:22:34.942Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-43 ']' [2020-04-14T21:22:34.942Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T21:22:34.942Z] + case "${OS_FAMILY}" in [2020-04-14T21:22:34.942Z] + rpm -qa [2020-04-14T21:22:34.942Z] + sort [2020-04-14T21:22:39.133Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T21:22:39.133Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T21:22:39.134Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T21:22:39.134Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-43 ']' [2020-04-14T21:22:39.134Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-43/archives/ [2020-04-14T21:22:39.134Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-43/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:22:39.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T21:22:39.484Z] [2020-04-14T21:22:39.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T21:22:39.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T21:22:39.815Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T21:22:39.815Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T21:22:39.815Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T21:22:39.815Z] 756a868c4378: Pulling fs layer [2020-04-14T21:22:39.815Z] 444b2fc9a129: Pulling fs layer [2020-04-14T21:22:39.815Z] ea15f1150254: Pulling fs layer [2020-04-14T21:22:39.815Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T21:22:39.815Z] 28c525ee5125: Pulling fs layer [2020-04-14T21:22:39.815Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T21:22:39.815Z] 138eaada9080: Pulling fs layer [2020-04-14T21:22:39.815Z] 0622d0fa9048: Pulling fs layer [2020-04-14T21:22:39.815Z] 444b2fc9a129: Waiting [2020-04-14T21:22:39.815Z] ea15f1150254: Waiting [2020-04-14T21:22:39.815Z] 41b27a9f41bf: Waiting [2020-04-14T21:22:39.815Z] 28c525ee5125: Waiting [2020-04-14T21:22:39.815Z] 0622d0fa9048: Waiting [2020-04-14T21:22:39.815Z] 094b1ea09ed8: Waiting [2020-04-14T21:22:39.815Z] 138eaada9080: Waiting [2020-04-14T21:22:39.815Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-14T21:22:39.815Z] 2cc5ad85d9ab: Download complete [2020-04-14T21:22:39.815Z] 444b2fc9a129: Verifying Checksum [2020-04-14T21:22:39.815Z] 444b2fc9a129: Download complete [2020-04-14T21:22:39.815Z] c9b1b535fdd9: Verifying Checksum [2020-04-14T21:22:39.815Z] ea15f1150254: Verifying Checksum [2020-04-14T21:22:39.815Z] ea15f1150254: Download complete [2020-04-14T21:22:40.096Z] 28c525ee5125: Verifying Checksum [2020-04-14T21:22:40.096Z] 28c525ee5125: Download complete [2020-04-14T21:22:40.377Z] 756a868c4378: Verifying Checksum [2020-04-14T21:22:40.377Z] 756a868c4378: Download complete [2020-04-14T21:22:40.377Z] c9b1b535fdd9: Pull complete [2020-04-14T21:22:40.377Z] 138eaada9080: Verifying Checksum [2020-04-14T21:22:40.377Z] 138eaada9080: Download complete [2020-04-14T21:22:40.377Z] 0622d0fa9048: Verifying Checksum [2020-04-14T21:22:40.377Z] 0622d0fa9048: Download complete [2020-04-14T21:22:40.377Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T21:22:40.377Z] 094b1ea09ed8: Download complete [2020-04-14T21:22:40.641Z] 2cc5ad85d9ab: Pull complete [2020-04-14T21:22:40.900Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T21:22:40.900Z] 41b27a9f41bf: Download complete [2020-04-14T21:22:42.813Z] 756a868c4378: Pull complete [2020-04-14T21:22:42.813Z] 444b2fc9a129: Pull complete [2020-04-14T21:22:43.073Z] ea15f1150254: Pull complete [2020-04-14T21:22:47.280Z] 41b27a9f41bf: Pull complete [2020-04-14T21:22:47.280Z] 28c525ee5125: Pull complete [2020-04-14T21:22:49.187Z] 094b1ea09ed8: Pull complete [2020-04-14T21:22:49.187Z] 138eaada9080: Pull complete [2020-04-14T21:22:51.094Z] 0622d0fa9048: Pull complete [2020-04-14T21:22:51.095Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T21:22:51.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T21:22:51.244Z] prd-centos7-docker-4c-2g-3884 does not seem to be running inside a container [2020-04-14T21:22:51.293Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/exfoundry_go-mod-messaging_PR-43 -v /w/workspace/exfoundry_go-mod-messaging_PR-43:/w/workspace/exfoundry_go-mod-messaging_PR-43:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-43@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T21:22:52.116Z] $ docker top 047eb4d59334567c364134f5dbbcbdc5b0845c8c29a8217f9e9abd6cc2473eec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T21:22:52.351Z] provisioning config files... [2020-04-14T21:22:52.363Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config1377074576702834762tmp [Pipeline] { [Pipeline] echo [2020-04-14T21:22:52.438Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:22:52.728Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T21:22:52.735Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T21:22:53.025Z] ---> logs-deploy.sh [2020-04-14T21:22:53.025Z] + ARCHIVE_ARTIFACTS= [2020-04-14T21:22:53.025Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T21:22:53.025Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T21:22:53.025Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T21:22:53.025Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/5 [2020-04-14T21:22:53.025Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-43/5/ [2020-04-14T21:22:53.025Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/5 /w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-04-14T21:22:54.467Z] Archives upload complete. [2020-04-14T21:22:54.467Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-43/5/