Pull request #48 opened 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 AnthonyMBonafide for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from 17a9852c459dda2d4354fd6c02859b2f770143e9+46ec339d38a6c534561391a7c694d90b2cf27fe2 (88e4c60058015068346915ea0b9d2a183113f819) Running in Durability level: MAX_SURVIVABILITY 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 be13395f86379d55f5290fa9cfe6e7af12c9a609 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-48/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 be13395f86379d55f5290fa9cfe6e7af12c9a609 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be13395f86379d55f5290fa9cfe6e7af12c9a609 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [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-2291 in /w/workspace/exfoundry_go-mod-messaging_PR-48 [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-48 # timeout=10 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/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 46ec339d38a6c534561391a7c694d90b2cf27fe2 into PR head commit 17a9852c459dda2d4354fd6c02859b2f770143e9 Merge succeeded, producing 17a9852c459dda2d4354fd6c02859b2f770143e9 Checking out Revision 17a9852c459dda2d4354fd6c02859b2f770143e9 (PR-48) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/48/head:refs/remotes/origin/PR-48 # 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/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # 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 46ec339d38a6c534561391a7c694d90b2cf27fe2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # timeout=10 Commit message: "Add TLS Support For MQTT Client" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-04T19:23:13.670Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:23:15.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-04T19:23:15.356Z] [2020-03-04T19:23:15.356Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:23:15.715Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-04T19:23:15.715Z] latest: Pulling from edgex-devops/git-semver [2020-03-04T19:23:15.715Z] 9123ac7c32f7: Pulling fs layer [2020-03-04T19:23:15.715Z] b8cc5d1170e3: Pulling fs layer [2020-03-04T19:23:15.715Z] 2924cbbf6a41: Pulling fs layer [2020-03-04T19:23:15.715Z] 93b08a4f1073: Pulling fs layer [2020-03-04T19:23:15.715Z] 93b08a4f1073: Waiting [2020-03-04T19:23:15.715Z] b8cc5d1170e3: Verifying Checksum [2020-03-04T19:23:15.715Z] b8cc5d1170e3: Download complete [2020-03-04T19:23:15.974Z] 9123ac7c32f7: Verifying Checksum [2020-03-04T19:23:15.974Z] 9123ac7c32f7: Download complete [2020-03-04T19:23:15.974Z] 93b08a4f1073: Verifying Checksum [2020-03-04T19:23:15.974Z] 93b08a4f1073: Download complete [2020-03-04T19:23:15.974Z] 2924cbbf6a41: Verifying Checksum [2020-03-04T19:23:15.974Z] 2924cbbf6a41: Download complete [2020-03-04T19:23:16.236Z] 9123ac7c32f7: Pull complete [2020-03-04T19:23:16.236Z] b8cc5d1170e3: Pull complete [2020-03-04T19:23:16.811Z] 2924cbbf6a41: Pull complete [2020-03-04T19:23:17.071Z] 93b08a4f1073: Pull complete [2020-03-04T19:23:17.071Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-04T19:23:17.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-04T19:23:17.473Z] prd-centos7-docker-4c-2g-2291 does not seem to be running inside a container [2020-03-04T19:23:17.515Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-48 -v /w/workspace/exfoundry_go-mod-messaging_PR-48:/w/workspace/exfoundry_go-mod-messaging_PR-48:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-48@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-48@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-04T19:23:18.116Z] $ docker top 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-04T19:23:18.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T19:23:18.767Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T19:23:18.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T19:23:18.966Z] $ docker exec 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 ssh-agent [2020-03-04T19:23:19.155Z] SSH_AUTH_SOCK=/tmp/ssh-kWzAB7E10Y8H/agent.14 [2020-03-04T19:23:19.155Z] SSH_AGENT_PID=20 [2020-03-04T19:23:19.168Z] Running ssh-add (command line suppressed) [2020-03-04T19:23:19.312Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/private_key_3011533175563764296.key (/w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/private_key_3011533175563764296.key) [2020-03-04T19:23:19.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T19:23:19.713Z] + git describe --exact-match --tags HEAD [2020-03-04T19:23:19.713Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-04T19:23:19.807Z] $ docker exec --env ******** --env ******** 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 ssh-agent -k [2020-03-04T19:23:19.971Z] unset SSH_AUTH_SOCK; [2020-03-04T19:23:19.971Z] unset SSH_AGENT_PID; [2020-03-04T19:23:19.971Z] echo Agent pid 20 killed; [2020-03-04T19:23:20.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-04T19:23:20.089Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-04T19:23:20.089Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-04T19:23:20.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-04T19:23:20.133Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-04T19:23:20.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-04T19:23:20.324Z] $ docker exec 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 ssh-agent [2020-03-04T19:23:20.501Z] SSH_AUTH_SOCK=/tmp/ssh-35mmYXD6nnvK/agent.55 [2020-03-04T19:23:20.501Z] SSH_AGENT_PID=62 [2020-03-04T19:23:20.507Z] Running ssh-add (command line suppressed) [2020-03-04T19:23:20.656Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/private_key_253287930389756791.key (/w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/private_key_253287930389756791.key) [2020-03-04T19:23:20.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-04T19:23:21.049Z] + git semver init [2020-03-04T19:23:21.049Z] # -> Open(): unable to determine branch for HEAD [2020-03-04T19:23:21.049Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-48/.git [2020-03-04T19:23:21.049Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-48 [2020-03-04T19:23:21.049Z] # $SEMVER_REMOTE_NAME = origin [2020-03-04T19:23:21.049Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-04T19:23:21.049Z] # $SEMVER_USER_NAME = jenkins [2020-03-04T19:23:21.049Z] # $SEMVER_BRANCH = PR-48 [2020-03-04T19:23:21.049Z] # $SEMVER_TEMP = /tmp/semver-657561994 [2020-03-04T19:23:21.049Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-03-04T19:23:21.309Z] # '/tmp/semver-657561994' -> '/w/workspace/exfoundry_go-mod-messaging_PR-48/.semver' [2020-03-04T19:23:21.309Z] # -> Force: false [2020-03-04T19:23:21.309Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-48/.semver [Pipeline] } [2020-03-04T19:23:21.330Z] $ docker exec --env ******** --env ******** 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 ssh-agent -k [2020-03-04T19:23:21.470Z] unset SSH_AUTH_SOCK; [2020-03-04T19:23:21.471Z] unset SSH_AGENT_PID; [2020-03-04T19:23:21.471Z] echo Agent pid 62 killed; [2020-03-04T19:23:21.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-04T19:23:21.944Z] + git semver [Pipeline] } [2020-03-04T19:23:21.970Z] $ docker stop --time=1 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 [2020-03-04T19:23:23.307Z] $ docker rm -f 847a948821b76e972f518fc4551d77263037dde6b5f2dafbd83a3458e1649c16 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-04T19:23:23.961Z] Stashed 30 file(s) [Pipeline] echo [2020-03-04T19:23:23.980Z] [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-03-04T19:23:39.292Z] Still waiting to schedule task [2020-03-04T19:23:39.292Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-04T19:23:39.315Z] Still waiting to schedule task [2020-03-04T19:23:39.315Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-04T19:26:05.812Z] Running on prd-centos7-docker-4c-2g-2292 in /w/workspace/exfoundry_go-mod-messaging_PR-48 [Pipeline] { [Pipeline] ws [2020-03-04T19:26:05.859Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2020-03-04T19:26:07.888Z] using credential edgex-jenkins-ssh [2020-03-04T19:26:07.916Z] Cloning the remote Git repository [2020-03-04T19:26:07.916Z] Cloning with configured refspecs honoured and without tags [2020-03-04T19:26:07.456Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:26:07.494Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2020-03-04T19:26:07.544Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:26:07.544Z] > git --version # timeout=10 [2020-03-04T19:26:07.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:26:07.579Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:26:08.518Z] Fetching without tags [2020-03-04T19:26:08.879Z] Merging remotes/origin/master commit 46ec339d38a6c534561391a7c694d90b2cf27fe2 into PR head commit 17a9852c459dda2d4354fd6c02859b2f770143e9 [2020-03-04T19:26:08.956Z] Merge succeeded, producing 17a9852c459dda2d4354fd6c02859b2f770143e9 [2020-03-04T19:26:08.956Z] Checking out Revision 17a9852c459dda2d4354fd6c02859b2f770143e9 (PR-48) [2020-03-04T19:26:08.043Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-04T19:26:08.051Z] > git config --add remote.origin.fetch +refs/pull/48/head:refs/remotes/origin/PR-48 # timeout=10 [2020-03-04T19:26:08.057Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:26:08.074Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-04T19:26:08.088Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:26:08.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:26:08.094Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:26:08.483Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T19:26:08.490Z] > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # timeout=10 [2020-03-04T19:26:08.526Z] > git remote # timeout=10 [2020-03-04T19:26:08.531Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T19:26:08.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:26:08.542Z] > git merge 46ec339d38a6c534561391a7c694d90b2cf27fe2 # timeout=10 [2020-03-04T19:26:08.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T19:26:08.562Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T19:26:08.567Z] > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # timeout=10 [2020-03-04T19:26:12.640Z] Commit message: "Add TLS Support For MQTT Client" [2020-03-04T19:26:12.583Z] > git --version # timeout=10 [2020-03-04T19:26:12.601Z] fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T19:26:13.860Z] ========================================================= [2020-03-04T19:26:13.860Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-04T19:26:13.860Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:26:14.531Z] + 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-03-04T19:26:14.796Z] Sending build context to Docker daemon 412.7kB [2020-03-04T19:26:14.796Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-04T19:26:14.796Z] Step 2/7 : FROM ${BASE} [2020-03-04T19:26:14.796Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-04T19:26:14.796Z] e6b0cf9c0882: Pulling fs layer [2020-03-04T19:26:14.796Z] 2848faf0eed1: Pulling fs layer [2020-03-04T19:26:14.796Z] 0f37312ad70f: Pulling fs layer [2020-03-04T19:26:14.796Z] 5788d62ee057: Pulling fs layer [2020-03-04T19:26:14.796Z] 0e6b1d234666: Pulling fs layer [2020-03-04T19:26:14.796Z] bf5d7aec512f: Pulling fs layer [2020-03-04T19:26:14.796Z] 34c802a77dc8: Pulling fs layer [2020-03-04T19:26:14.796Z] 9eb99e56ec68: Pulling fs layer [2020-03-04T19:26:14.796Z] 27c7a5d97fbd: Pulling fs layer [2020-03-04T19:26:14.796Z] 5c102a31e300: Pulling fs layer [2020-03-04T19:26:14.796Z] dcfb455df0a1: Pulling fs layer [2020-03-04T19:26:14.796Z] 9eb99e56ec68: Waiting [2020-03-04T19:26:14.796Z] 5788d62ee057: Waiting [2020-03-04T19:26:14.796Z] 0e6b1d234666: Waiting [2020-03-04T19:26:14.796Z] bf5d7aec512f: Waiting [2020-03-04T19:26:14.796Z] 34c802a77dc8: Waiting [2020-03-04T19:26:14.796Z] 5c102a31e300: Waiting [2020-03-04T19:26:14.796Z] 27c7a5d97fbd: Waiting [2020-03-04T19:26:14.796Z] dcfb455df0a1: Waiting [2020-03-04T19:26:14.796Z] 0f37312ad70f: Verifying Checksum [2020-03-04T19:26:14.796Z] 0f37312ad70f: Download complete [2020-03-04T19:26:14.796Z] 2848faf0eed1: Verifying Checksum [2020-03-04T19:26:14.796Z] 2848faf0eed1: Download complete [2020-03-04T19:26:14.796Z] 0e6b1d234666: Verifying Checksum [2020-03-04T19:26:14.796Z] 0e6b1d234666: Download complete [2020-03-04T19:26:14.796Z] bf5d7aec512f: Download complete [2020-03-04T19:26:15.064Z] e6b0cf9c0882: Verifying Checksum [2020-03-04T19:26:15.064Z] e6b0cf9c0882: Download complete [2020-03-04T19:26:15.338Z] e6b0cf9c0882: Pull complete [2020-03-04T19:26:16.311Z] 34c802a77dc8: Verifying Checksum [2020-03-04T19:26:16.311Z] 34c802a77dc8: Download complete [2020-03-04T19:26:16.311Z] 27c7a5d97fbd: Verifying Checksum [2020-03-04T19:26:16.311Z] 27c7a5d97fbd: Download complete [2020-03-04T19:26:16.311Z] 2848faf0eed1: Pull complete [2020-03-04T19:26:16.590Z] 0f37312ad70f: Pull complete [2020-03-04T19:26:16.867Z] 9eb99e56ec68: Verifying Checksum [2020-03-04T19:26:16.867Z] 9eb99e56ec68: Download complete [2020-03-04T19:26:16.867Z] 5788d62ee057: Verifying Checksum [2020-03-04T19:26:16.867Z] 5788d62ee057: Download complete [2020-03-04T19:26:17.130Z] 5c102a31e300: Verifying Checksum [2020-03-04T19:26:17.130Z] 5c102a31e300: Download complete [2020-03-04T19:26:17.130Z] dcfb455df0a1: Verifying Checksum [2020-03-04T19:26:17.130Z] dcfb455df0a1: Download complete [2020-03-04T19:26:22.422Z] 5788d62ee057: Pull complete [2020-03-04T19:26:22.682Z] 0e6b1d234666: Pull complete [2020-03-04T19:26:22.682Z] bf5d7aec512f: Pull complete [2020-03-04T19:26:29.276Z] 34c802a77dc8: Pull complete [2020-03-04T19:26:31.838Z] 9eb99e56ec68: Pull complete [2020-03-04T19:26:31.838Z] 27c7a5d97fbd: Pull complete [2020-03-04T19:26:32.415Z] 5c102a31e300: Pull complete [2020-03-04T19:26:32.683Z] dcfb455df0a1: Pull complete [2020-03-04T19:26:32.683Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-04T19:26:32.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-04T19:26:32.683Z] ---> 7c70fe431013 [2020-03-04T19:26:32.683Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T19:26:32.683Z] ---> Running in 97ac60057642 [2020-03-04T19:26:32.946Z] Removing intermediate container 97ac60057642 [2020-03-04T19:26:32.946Z] ---> f7d68866a2a4 [2020-03-04T19:26:32.946Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-04T19:26:32.946Z] ---> Running in ddb559270326 [2020-03-04T19:26:33.525Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-04T19:26:34.102Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-04T19:26:34.363Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-04T19:26:34.627Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-04T19:26:34.627Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-04T19:26:34.893Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-04T19:26:34.893Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-04T19:26:34.893Z] Executing busybox-1.31.1-r8.trigger [2020-03-04T19:26:34.893Z] OK: 145 MiB in 44 packages [2020-03-04T19:26:35.474Z] Removing intermediate container ddb559270326 [2020-03-04T19:26:35.474Z] ---> 7d7666d73317 [2020-03-04T19:26:35.474Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-04T19:26:35.474Z] ---> Running in 453e10f368cd [2020-03-04T19:26:35.474Z] Removing intermediate container 453e10f368cd [2020-03-04T19:26:35.474Z] ---> 3b5d59f7cae2 [2020-03-04T19:26:35.474Z] Step 6/7 : COPY go.mod . [2020-03-04T19:26:35.737Z] ---> 51de6c2c510e [2020-03-04T19:26:35.737Z] Step 7/7 : RUN go mod download [2020-03-04T19:26:35.737Z] ---> Running in b213545f7b4d [2020-03-04T19:26:37.182Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-04T19:26:37.445Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-04T19:26:37.445Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-04T19:26:37.445Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T19:26:37.445Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T19:26:37.445Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T19:26:37.445Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-04T19:26:37.445Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-04T19:26:37.445Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-04T19:26:37.445Z] go: finding golang.org/x/text v0.3.0 [2020-03-04T19:26:41.674Z] Removing intermediate container b213545f7b4d [2020-03-04T19:26:41.674Z] ---> 9178330a3e75 [2020-03-04T19:26:41.674Z] Successfully built 9178330a3e75 [2020-03-04T19:26:41.674Z] 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-03-04T19:26:42.255Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-04T19:26:42.255Z] . [Pipeline] withDockerContainer [2020-03-04T19:26:42.408Z] prd-centos7-docker-4c-2g-2292 does not seem to be running inside a container [2020-03-04T19:26:42.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-04T19:26:43.134Z] $ docker top 6a9f4f0aeb5699186644f65284790f9b444db63811a7d3ca7e962c317bee4474 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T19:26:44.031Z] + go version [2020-03-04T19:26:44.031Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-04T19:26:44.355Z] + make test [2020-03-04T19:26:44.355Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-04T19:26:47.655Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-03-04T19:26:50.220Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.023s coverage: 96.1% of statements [2020-03-04T19:27:16.839Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.341s coverage: 83.8% of statements [2020-03-04T19:27:16.839Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.008s coverage: 100.0% of statements [2020-03-04T19:27:16.839Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.006s coverage: 100.0% of statements [2020-03-04T19:27:16.839Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.005s coverage: 90.9% of statements [2020-03-04T19:27:16.839Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-03-04T19:27:16.839Z] gofmt -l . [2020-03-04T19:27:16.839Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-04T19:27:17.073Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T19:27:17.093Z] $ docker stop --time=1 6a9f4f0aeb5699186644f65284790f9b444db63811a7d3ca7e962c317bee4474 [2020-03-04T19:27:18.605Z] $ docker rm -f 6a9f4f0aeb5699186644f65284790f9b444db63811a7d3ca7e962c317bee4474 [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-03-04T19:27:58.687Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2293 in /w/workspace/exfoundry_go-mod-messaging_PR-48 [Pipeline] { [Pipeline] ws [2020-03-04T19:27:58.742Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2020-03-04T19:28:04.546Z] using credential edgex-jenkins-ssh [2020-03-04T19:28:04.574Z] Cloning the remote Git repository [2020-03-04T19:28:04.574Z] Cloning with configured refspecs honoured and without tags [2020-03-04T19:28:04.678Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:28:04.772Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2020-03-04T19:28:04.864Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:28:04.865Z] > git --version # timeout=10 [2020-03-04T19:28:04.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:28:04.973Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:28:05.715Z] Fetching without tags [2020-03-04T19:28:06.244Z] Merging remotes/origin/master commit 46ec339d38a6c534561391a7c694d90b2cf27fe2 into PR head commit 17a9852c459dda2d4354fd6c02859b2f770143e9 [2020-03-04T19:28:05.626Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-04T19:28:05.643Z] > git config --add remote.origin.fetch +refs/pull/48/head:refs/remotes/origin/PR-48 # timeout=10 [2020-03-04T19:28:05.674Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:28:05.714Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-04T19:28:05.760Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-04T19:28:05.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:28:05.779Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-04T19:28:06.304Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T19:28:06.336Z] > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # timeout=10 [2020-03-04T19:28:06.415Z] > git remote # timeout=10 [2020-03-04T19:28:06.444Z] > git config --get remote.origin.url # timeout=10 [2020-03-04T19:28:06.567Z] Merge succeeded, producing 17a9852c459dda2d4354fd6c02859b2f770143e9 [2020-03-04T19:28:06.567Z] Checking out Revision 17a9852c459dda2d4354fd6c02859b2f770143e9 (PR-48) [2020-03-04T19:28:06.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-04T19:28:06.510Z] > git merge 46ec339d38a6c534561391a7c694d90b2cf27fe2 # timeout=10 [2020-03-04T19:28:06.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-04T19:28:06.603Z] > git config core.sparsecheckout # timeout=10 [2020-03-04T19:28:06.630Z] > git checkout -f 17a9852c459dda2d4354fd6c02859b2f770143e9 # timeout=10 [2020-03-04T19:28:11.278Z] Commit message: "Add TLS Support For MQTT Client" [2020-03-04T19:28:11.337Z] > git --version # timeout=10 [2020-03-04T19:28:11.354Z] fatal: bad object be13395f86379d55f5290fa9cfe6e7af12c9a609 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-04T19:28:12.426Z] ========================================================= [2020-03-04T19:28:12.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-04T19:28:12.427Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:28:13.870Z] + 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-03-04T19:28:14.901Z] Sending build context to Docker daemon 412.7kB [2020-03-04T19:28:14.901Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-04T19:28:14.901Z] Step 2/7 : FROM ${BASE} [2020-03-04T19:28:15.167Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-04T19:28:15.167Z] cde5963f3b93: Pulling fs layer [2020-03-04T19:28:15.167Z] 2a23fa8c16f7: Pulling fs layer [2020-03-04T19:28:15.167Z] 777b28850792: Pulling fs layer [2020-03-04T19:28:15.167Z] 8a11ddd9e578: Pulling fs layer [2020-03-04T19:28:15.167Z] 4cf88f913ddb: Pulling fs layer [2020-03-04T19:28:15.167Z] 1df406cf5192: Pulling fs layer [2020-03-04T19:28:15.167Z] cd6300453558: Pulling fs layer [2020-03-04T19:28:15.167Z] b9c365052c96: Pulling fs layer [2020-03-04T19:28:15.167Z] a2d8cc88f415: Pulling fs layer [2020-03-04T19:28:15.167Z] ea1d1ca13537: Pulling fs layer [2020-03-04T19:28:15.167Z] 3750a50a1c5e: Pulling fs layer [2020-03-04T19:28:15.167Z] 8a11ddd9e578: Waiting [2020-03-04T19:28:15.167Z] 4cf88f913ddb: Waiting [2020-03-04T19:28:15.167Z] 1df406cf5192: Waiting [2020-03-04T19:28:15.167Z] cd6300453558: Waiting [2020-03-04T19:28:15.167Z] b9c365052c96: Waiting [2020-03-04T19:28:15.167Z] a2d8cc88f415: Waiting [2020-03-04T19:28:15.167Z] ea1d1ca13537: Waiting [2020-03-04T19:28:15.167Z] 3750a50a1c5e: Waiting [2020-03-04T19:28:15.167Z] 777b28850792: Download complete [2020-03-04T19:28:15.167Z] 2a23fa8c16f7: Verifying Checksum [2020-03-04T19:28:15.167Z] 2a23fa8c16f7: Download complete [2020-03-04T19:28:15.167Z] 4cf88f913ddb: Verifying Checksum [2020-03-04T19:28:15.167Z] 4cf88f913ddb: Download complete [2020-03-04T19:28:15.167Z] 1df406cf5192: Download complete [2020-03-04T19:28:15.441Z] cde5963f3b93: Download complete [2020-03-04T19:28:16.034Z] cde5963f3b93: Pull complete [2020-03-04T19:28:16.620Z] 2a23fa8c16f7: Pull complete [2020-03-04T19:28:16.894Z] 777b28850792: Pull complete [2020-03-04T19:28:19.493Z] cd6300453558: Verifying Checksum [2020-03-04T19:28:19.493Z] cd6300453558: Download complete [2020-03-04T19:28:19.493Z] a2d8cc88f415: Download complete [2020-03-04T19:28:22.099Z] ea1d1ca13537: Verifying Checksum [2020-03-04T19:28:22.099Z] ea1d1ca13537: Download complete [2020-03-04T19:28:22.367Z] 3750a50a1c5e: Verifying Checksum [2020-03-04T19:28:22.367Z] 3750a50a1c5e: Download complete [2020-03-04T19:28:24.955Z] b9c365052c96: Verifying Checksum [2020-03-04T19:28:24.955Z] b9c365052c96: Download complete [2020-03-04T19:28:26.363Z] 8a11ddd9e578: Verifying Checksum [2020-03-04T19:28:26.363Z] 8a11ddd9e578: Download complete [2020-03-04T19:28:38.735Z] 8a11ddd9e578: Pull complete [2020-03-04T19:28:38.735Z] 4cf88f913ddb: Pull complete [2020-03-04T19:28:38.735Z] 1df406cf5192: Pull complete [2020-03-04T19:28:44.121Z] cd6300453558: Pull complete [2020-03-04T19:28:48.395Z] b9c365052c96: Pull complete [2020-03-04T19:28:48.991Z] a2d8cc88f415: Pull complete [2020-03-04T19:28:50.962Z] ea1d1ca13537: Pull complete [2020-03-04T19:28:51.233Z] 3750a50a1c5e: Pull complete [2020-03-04T19:28:51.233Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-04T19:28:51.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-04T19:28:51.233Z] ---> 78745c68409d [2020-03-04T19:28:51.233Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-04T19:28:56.598Z] ---> Running in 5896bc60560a [2020-03-04T19:28:56.598Z] Removing intermediate container 5896bc60560a [2020-03-04T19:28:56.598Z] ---> 822e92ba606a [2020-03-04T19:28:56.598Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-04T19:28:56.598Z] ---> Running in 763b10947d98 [2020-03-04T19:28:57.577Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-04T19:28:58.161Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-04T19:28:58.428Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-04T19:28:58.694Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-04T19:28:58.694Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-04T19:28:58.964Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-04T19:28:58.964Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-04T19:28:58.964Z] Executing busybox-1.31.1-r8.trigger [2020-03-04T19:28:58.964Z] OK: 127 MiB in 44 packages [2020-03-04T19:29:00.388Z] Removing intermediate container 763b10947d98 [2020-03-04T19:29:00.388Z] ---> 143aba832860 [2020-03-04T19:29:00.388Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-04T19:29:00.655Z] ---> Running in 29ea2c3e02cf [2020-03-04T19:29:01.240Z] Removing intermediate container 29ea2c3e02cf [2020-03-04T19:29:01.240Z] ---> 6029da21076e [2020-03-04T19:29:01.240Z] Step 6/7 : COPY go.mod . [2020-03-04T19:29:01.509Z] ---> a0284e370895 [2020-03-04T19:29:01.509Z] Step 7/7 : RUN go mod download [2020-03-04T19:29:01.778Z] ---> Running in f76fdc201701 [2020-03-04T19:29:03.196Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-04T19:29:03.196Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-04T19:29:03.196Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-04T19:29:03.196Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-04T19:29:03.196Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-04T19:29:03.196Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-04T19:29:03.196Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-04T19:29:03.465Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-04T19:29:03.465Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-04T19:29:03.465Z] go: finding golang.org/x/text v0.3.0 [2020-03-04T19:29:11.682Z] Removing intermediate container f76fdc201701 [2020-03-04T19:29:11.682Z] ---> de932e72c971 [2020-03-04T19:29:11.682Z] Successfully built de932e72c971 [2020-03-04T19:29:11.682Z] 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-03-04T19:29:12.366Z] + docker inspect -f . ci-base-image-arm64 [2020-03-04T19:29:12.634Z] . [Pipeline] withDockerContainer [2020-03-04T19:29:13.011Z] prd-ubuntu18.04-docker-arm64-4c-16g-2293 does not seem to be running inside a container [2020-03-04T19:29:13.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-03-04T19:29:14.559Z] $ docker top b1664e9ac566bc703d7fc124cd029a8e1821bc0be778d598c4cff18c9151e350 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-04T19:29:16.913Z] + go version [2020-03-04T19:29:16.913Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-04T19:29:17.595Z] + make test [2020-03-04T19:29:17.595Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-04T19:29:25.847Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-03-04T19:29:34.094Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.039s coverage: 96.1% of statements [2020-03-04T19:30:06.341Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.386s coverage: 83.8% of statements [2020-03-04T19:30:06.341Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.024s coverage: 100.0% of statements [2020-03-04T19:30:06.341Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.020s coverage: 100.0% of statements [2020-03-04T19:30:06.341Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.014s coverage: 90.9% of statements [2020-03-04T19:30:06.341Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-03-04T19:30:06.341Z] gofmt -l . [2020-03-04T19:30:06.341Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-04T19:30:06.390Z] Warning: overwriting stash ‘coverage-report’ [2020-03-04T19:30:06.813Z] Stashed 1 file(s) [Pipeline] } [2020-03-04T19:30:06.832Z] $ docker stop --time=1 b1664e9ac566bc703d7fc124cd029a8e1821bc0be778d598c4cff18c9151e350 [2020-03-04T19:30:09.028Z] $ docker rm -f b1664e9ac566bc703d7fc124cd029a8e1821bc0be778d598c4cff18c9151e350 [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-03-04T19:30:10.708Z] provisioning config files... [2020-03-04T19:30:10.718Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/config131817519743125783tmp [Pipeline] { [Pipeline] sh [2020-03-04T19:30:11.060Z] + curl -s https://codecov.io/bash [2020-03-04T19:30:11.060Z] + bash -s - -t @/w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/config131817519743125783tmp [2020-03-04T19:30:11.323Z] [2020-03-04T19:30:11.323Z] _____ _ [2020-03-04T19:30:11.323Z] / ____| | | [2020-03-04T19:30:11.323Z] | | ___ __| | ___ ___ _____ __ [2020-03-04T19:30:11.323Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-04T19:30:11.323Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-04T19:30:11.323Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-04T19:30:11.323Z] Bash-20200303-bc4d7e6 [2020-03-04T19:30:11.323Z] [2020-03-04T19:30:11.323Z] [2020-03-04T19:30:11.323Z] ==> Jenkins CI detected. [2020-03-04T19:30:11.323Z] project root: . [2020-03-04T19:30:11.323Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-04T19:30:11.323Z] ==> Running gcov in . (disable via -X gcov) [2020-03-04T19:30:11.323Z] ==> Python coveragepy not found [2020-03-04T19:30:11.323Z] ==> Searching for coverage reports in: [2020-03-04T19:30:11.323Z] + . [2020-03-04T19:30:11.323Z] -> Found 1 reports [2020-03-04T19:30:11.323Z] ==> Detecting git/mercurial file structure [2020-03-04T19:30:11.323Z] ==> Reading reports [2020-03-04T19:30:11.323Z] + ./coverage.out bytes=16891 [2020-03-04T19:30:11.323Z] ==> Appending adjustments [2020-03-04T19:30:11.323Z] http://docs.codecov.io/docs/fixing-reports [2020-03-04T19:30:11.585Z] + Found adjustments [2020-03-04T19:30:11.585Z] ==> Gzipping contents [2020-03-04T19:30:11.585Z] ==> Uploading reports [2020-03-04T19:30:11.585Z] url: https://codecov.io [2020-03-04T19:30:11.585Z] query: branch=PR-48&commit=17a9852c459dda2d4354fd6c02859b2f770143e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-48%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=48&job= [2020-03-04T19:30:11.585Z] -> Pinging Codecov [2020-03-04T19:30:11.585Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-48&commit=17a9852c459dda2d4354fd6c02859b2f770143e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-48%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=48&job= [2020-03-04T19:30:12.155Z] -> Uploading [2020-03-04T19:30:12.413Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/17a9852c459dda2d4354fd6c02859b2f770143e9 [Pipeline] } [2020-03-04T19:30:12.440Z] 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-03-04T19:30:13.614Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T19:30:13.947Z] ---> package-listing.sh [2020-03-04T19:30:13.947Z] ++ facter osfamily [2020-03-04T19:30:13.947Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-04T19:30:13.947Z] + OS_FAMILY=redhat [2020-03-04T19:30:13.947Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-48 [2020-03-04T19:30:13.947Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-04T19:30:13.947Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-04T19:30:13.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-04T19:30:13.947Z] + PACKAGES=/tmp/packages_start.txt [2020-03-04T19:30:13.947Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-48 ']' [2020-03-04T19:30:13.947Z] + PACKAGES=/tmp/packages_end.txt [2020-03-04T19:30:13.947Z] + case "${OS_FAMILY}" in [2020-03-04T19:30:13.947Z] + rpm -qa [2020-03-04T19:30:13.947Z] + sort [2020-03-04T19:30:18.139Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-04T19:30:18.140Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-04T19:30:18.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-04T19:30:18.140Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-48 ']' [2020-03-04T19:30:18.140Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-48/archives/ [2020-03-04T19:30:18.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-48/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:30:18.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T19:30:18.617Z] [2020-03-04T19:30:18.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-04T19:30:18.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-04T19:30:18.957Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-04T19:30:18.957Z] c9b1b535fdd9: Pulling fs layer [2020-03-04T19:30:18.957Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-04T19:30:18.957Z] 756a868c4378: Pulling fs layer [2020-03-04T19:30:18.957Z] 444b2fc9a129: Pulling fs layer [2020-03-04T19:30:18.957Z] ea15f1150254: Pulling fs layer [2020-03-04T19:30:18.957Z] 00618671c354: Pulling fs layer [2020-03-04T19:30:18.957Z] d9479acb82c8: Pulling fs layer [2020-03-04T19:30:18.957Z] f1b84d85c2e2: Pulling fs layer [2020-03-04T19:30:18.957Z] 391a11a28a13: Pulling fs layer [2020-03-04T19:30:18.957Z] fa8e2b892eb3: Pulling fs layer [2020-03-04T19:30:18.957Z] 00618671c354: Waiting [2020-03-04T19:30:18.957Z] d9479acb82c8: Waiting [2020-03-04T19:30:18.957Z] f1b84d85c2e2: Waiting [2020-03-04T19:30:18.957Z] 391a11a28a13: Waiting [2020-03-04T19:30:18.957Z] 444b2fc9a129: Waiting [2020-03-04T19:30:18.957Z] fa8e2b892eb3: Waiting [2020-03-04T19:30:18.957Z] ea15f1150254: Waiting [2020-03-04T19:30:18.957Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-04T19:30:18.957Z] 2cc5ad85d9ab: Download complete [2020-03-04T19:30:18.957Z] 444b2fc9a129: Download complete [2020-03-04T19:30:18.957Z] c9b1b535fdd9: Verifying Checksum [2020-03-04T19:30:18.957Z] c9b1b535fdd9: Download complete [2020-03-04T19:30:18.957Z] ea15f1150254: Verifying Checksum [2020-03-04T19:30:18.957Z] ea15f1150254: Download complete [2020-03-04T19:30:19.222Z] d9479acb82c8: Verifying Checksum [2020-03-04T19:30:19.222Z] d9479acb82c8: Download complete [2020-03-04T19:30:19.222Z] c9b1b535fdd9: Pull complete [2020-03-04T19:30:19.486Z] 756a868c4378: Verifying Checksum [2020-03-04T19:30:19.486Z] 756a868c4378: Download complete [2020-03-04T19:30:19.486Z] f1b84d85c2e2: Verifying Checksum [2020-03-04T19:30:19.486Z] f1b84d85c2e2: Download complete [2020-03-04T19:30:19.486Z] 391a11a28a13: Verifying Checksum [2020-03-04T19:30:19.486Z] 391a11a28a13: Download complete [2020-03-04T19:30:19.486Z] 2cc5ad85d9ab: Pull complete [2020-03-04T19:30:19.486Z] fa8e2b892eb3: Verifying Checksum [2020-03-04T19:30:19.486Z] fa8e2b892eb3: Download complete [2020-03-04T19:30:20.066Z] 00618671c354: Verifying Checksum [2020-03-04T19:30:20.066Z] 00618671c354: Download complete [2020-03-04T19:30:21.006Z] 756a868c4378: Pull complete [2020-03-04T19:30:21.006Z] 444b2fc9a129: Pull complete [2020-03-04T19:30:21.574Z] ea15f1150254: Pull complete [2020-03-04T19:30:25.776Z] 00618671c354: Pull complete [2020-03-04T19:30:25.776Z] d9479acb82c8: Pull complete [2020-03-04T19:30:27.154Z] f1b84d85c2e2: Pull complete [2020-03-04T19:30:27.413Z] 391a11a28a13: Pull complete [2020-03-04T19:30:27.671Z] fa8e2b892eb3: Pull complete [2020-03-04T19:30:27.671Z] Digest: sha256:5bb339bb7a0ba14d6edc6a1a45a69439bce21292506a8eca4128b46a77270878 [2020-03-04T19:30:27.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-04T19:30:27.842Z] prd-centos7-docker-4c-2g-2291 does not seem to be running inside a container [2020-03-04T19:30:27.880Z] $ 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-48 -v /w/workspace/exfoundry_go-mod-messaging_PR-48:/w/workspace/exfoundry_go-mod-messaging_PR-48:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-48@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-48@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-04T19:30:29.063Z] $ docker top fa268c27161639da505f29c6e84984ac5c5eed11cf48052b10513dcae8e87298 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-04T19:30:29.717Z] provisioning config files... [2020-03-04T19:30:29.730Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-48@tmp/config3639564029031199209tmp [Pipeline] { [Pipeline] echo [2020-03-04T19:30:29.784Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T19:30:30.122Z] ---> create-netrc.sh [Pipeline] echo [2020-03-04T19:30:30.151Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-04T19:30:30.470Z] ---> logs-deploy.sh [2020-03-04T19:30:30.471Z] + ARCHIVE_ARTIFACTS= [2020-03-04T19:30:30.471Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-04T19:30:30.471Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-04T19:30:30.471Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-04T19:30:30.471Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-48/1 [2020-03-04T19:30:30.471Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-48/1/ [2020-03-04T19:30:30.471Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-48/1 /w/workspace/exfoundry_go-mod-messaging_PR-48 [2020-03-04T19:30:31.407Z] Archives upload complete. [2020-03-04T19:30:31.665Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-48/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-48/1/