Pull request #51 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 jinfahua for edgexfoundry/go-mod-messaging Loading trusted files from base branch master at cfba30792e745cabe7c9c124792dfed6ff0b4cfb rather than 93521ef6962d7fb1f04bd36dc24214edae61046e 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-3732 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [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-51 # 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 Fetching without tags Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit 93521ef6962d7fb1f04bd36dc24214edae61046e Merge succeeded, producing 93521ef6962d7fb1f04bd36dc24214edae61046e Checking out Revision 93521ef6962d7fb1f04bd36dc24214edae61046e (PR-51) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +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/51/head:refs/remotes/origin/PR-51 # 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/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93521ef6962d7fb1f04bd36dc24214edae61046e # 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 93521ef6962d7fb1f04bd36dc24214edae61046e # timeout=10 Commit message: "fix testcase issue" > git rev-list --no-walk afe572d6ed846f4a92e5f7b7004a3dbf68014d21 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-14T03:22:25.524Z] 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-04-14T03:22:27.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T03:22:27.557Z] [2020-04-14T03:22:27.557Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-14T03:22:27.921Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-14T03:22:27.921Z] latest: Pulling from edgex-devops/git-semver [2020-04-14T03:22:27.921Z] 9123ac7c32f7: Pulling fs layer [2020-04-14T03:22:27.921Z] b8cc5d1170e3: Pulling fs layer [2020-04-14T03:22:27.921Z] 2924cbbf6a41: Pulling fs layer [2020-04-14T03:22:27.921Z] 93b08a4f1073: Pulling fs layer [2020-04-14T03:22:27.921Z] 93b08a4f1073: Waiting [2020-04-14T03:22:27.921Z] b8cc5d1170e3: Verifying Checksum [2020-04-14T03:22:27.921Z] b8cc5d1170e3: Download complete [2020-04-14T03:22:28.184Z] 9123ac7c32f7: Verifying Checksum [2020-04-14T03:22:28.184Z] 9123ac7c32f7: Download complete [2020-04-14T03:22:28.184Z] 93b08a4f1073: Verifying Checksum [2020-04-14T03:22:28.184Z] 93b08a4f1073: Download complete [2020-04-14T03:22:28.184Z] 2924cbbf6a41: Verifying Checksum [2020-04-14T03:22:28.184Z] 2924cbbf6a41: Download complete [2020-04-14T03:22:28.458Z] 9123ac7c32f7: Pull complete [2020-04-14T03:22:28.458Z] b8cc5d1170e3: Pull complete [2020-04-14T03:22:29.401Z] 2924cbbf6a41: Pull complete [2020-04-14T03:22:29.401Z] 93b08a4f1073: Pull complete [2020-04-14T03:22:29.401Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-14T03:22:29.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-14T03:22:29.551Z] prd-centos7-docker-4c-2g-3732 does not seem to be running inside a container [2020-04-14T03:22:29.610Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-51 -v /w/workspace/exfoundry_go-mod-messaging_PR-51:/w/workspace/exfoundry_go-mod-messaging_PR-51:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-51@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-14T03:22:30.321Z] $ docker top fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-14T03:22:30.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T03:22:30.584Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T03:22:30.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T03:22:30.816Z] $ docker exec fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 ssh-agent [2020-04-14T03:22:31.011Z] SSH_AUTH_SOCK=/tmp/ssh-kOZFKOrzTYEU/agent.14 [2020-04-14T03:22:31.011Z] SSH_AGENT_PID=21 [2020-04-14T03:22:31.033Z] Running ssh-add (command line suppressed) [2020-04-14T03:22:31.224Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_761770045874150273.key (/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_761770045874150273.key) [2020-04-14T03:22:31.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T03:22:31.597Z] + git describe --exact-match --tags HEAD [2020-04-14T03:22:31.597Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-14T03:22:31.658Z] $ docker exec --env ******** --env ******** fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 ssh-agent -k [2020-04-14T03:22:31.815Z] unset SSH_AUTH_SOCK; [2020-04-14T03:22:31.816Z] unset SSH_AGENT_PID; [2020-04-14T03:22:31.816Z] echo Agent pid 21 killed; [2020-04-14T03:22:31.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-14T03:22:31.940Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-14T03:22:31.940Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-14T03:22:32.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-14T03:22:32.087Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-14T03:22:32.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-14T03:22:32.286Z] $ docker exec fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 ssh-agent [2020-04-14T03:22:32.508Z] SSH_AUTH_SOCK=/tmp/ssh-LrTmI6MRhBHP/agent.54 [2020-04-14T03:22:32.508Z] SSH_AGENT_PID=61 [2020-04-14T03:22:32.521Z] Running ssh-add (command line suppressed) [2020-04-14T03:22:32.679Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_5672290881500903179.key (/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/private_key_5672290881500903179.key) [2020-04-14T03:22:32.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-14T03:22:33.068Z] + git semver init [2020-04-14T03:22:33.069Z] # -> Open(): unable to determine branch for HEAD [2020-04-14T03:22:33.069Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-51/.git [2020-04-14T03:22:33.069Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-51 [2020-04-14T03:22:33.069Z] # $SEMVER_REMOTE_NAME = origin [2020-04-14T03:22:33.069Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-14T03:22:33.069Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-14T03:22:33.069Z] # $SEMVER_BRANCH = PR-51 [2020-04-14T03:22:33.069Z] # $SEMVER_TEMP = /tmp/semver-105414399 [2020-04-14T03:22:33.069Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-04-14T03:22:33.329Z] # '/tmp/semver-105414399' -> '/w/workspace/exfoundry_go-mod-messaging_PR-51/.semver' [2020-04-14T03:22:33.329Z] # -> Force: false [2020-04-14T03:22:33.329Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-51/.semver [Pipeline] } [2020-04-14T03:22:33.341Z] $ docker exec --env ******** --env ******** fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 ssh-agent -k [2020-04-14T03:22:33.482Z] unset SSH_AUTH_SOCK; [2020-04-14T03:22:33.483Z] unset SSH_AGENT_PID; [2020-04-14T03:22:33.483Z] echo Agent pid 61 killed; [2020-04-14T03:22:33.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-14T03:22:33.949Z] + git semver [Pipeline] } [2020-04-14T03:22:33.966Z] $ docker stop --time=1 fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 [2020-04-14T03:22:35.323Z] $ docker rm -f fda44f56e419695ea4ed95ed2c79a02c4482dd5c315d3e043607b7a8e63bcd92 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-14T03:22:36.100Z] Stashed 32 file(s) [Pipeline] echo [2020-04-14T03:22:36.102Z] [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-14T03:22:51.318Z] Still waiting to schedule task [2020-04-14T03:22:51.318Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-14T03:22:51.320Z] Still waiting to schedule task [2020-04-14T03:22:51.320Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-14T03:24:07.514Z] Running on prd-centos7-docker-4c-2g-3734 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [Pipeline] { [Pipeline] ws [2020-04-14T03:24:07.550Z] Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout [2020-04-14T03:24:09.704Z] using credential edgex-jenkins-ssh [2020-04-14T03:24:09.747Z] Cloning the remote Git repository [2020-04-14T03:24:09.747Z] Cloning with configured refspecs honoured and without tags [2020-04-14T03:24:09.771Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:24:09.809Z] > git init /w/workspace/go-mod-messaging/3 # timeout=10 [2020-04-14T03:24:09.852Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:24:09.853Z] > git --version # timeout=10 [2020-04-14T03:24:09.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:24:09.901Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:24:10.344Z] Fetching without tags [2020-04-14T03:24:10.696Z] Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit 93521ef6962d7fb1f04bd36dc24214edae61046e [2020-04-14T03:24:10.767Z] Merge succeeded, producing 93521ef6962d7fb1f04bd36dc24214edae61046e [2020-04-14T03:24:10.767Z] Checking out Revision 93521ef6962d7fb1f04bd36dc24214edae61046e (PR-51) [2020-04-14T03:24:10.312Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T03:24:10.318Z] > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 [2020-04-14T03:24:10.323Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:24:10.335Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T03:24:10.348Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:24:10.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:24:10.353Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:24:10.703Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T03:24:10.709Z] > git checkout -f 93521ef6962d7fb1f04bd36dc24214edae61046e # timeout=10 [2020-04-14T03:24:10.739Z] > git remote # timeout=10 [2020-04-14T03:24:10.743Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T03:24:10.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:24:10.752Z] > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 [2020-04-14T03:24:10.760Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T03:24:10.770Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T03:24:10.776Z] > git checkout -f 93521ef6962d7fb1f04bd36dc24214edae61046e # timeout=10 [2020-04-14T03:24:14.649Z] Commit message: "fix testcase issue" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T03:24:15.403Z] ========================================================= [2020-04-14T03:24:15.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-14T03:24:15.403Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T03:24:16.065Z] + 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-14T03:24:16.329Z] Sending build context to Docker daemon 438.8kB [2020-04-14T03:24:16.329Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-14T03:24:16.329Z] Step 2/7 : FROM ${BASE} [2020-04-14T03:24:16.592Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-14T03:24:16.592Z] e6b0cf9c0882: Pulling fs layer [2020-04-14T03:24:16.592Z] 2848faf0eed1: Pulling fs layer [2020-04-14T03:24:16.592Z] 0f37312ad70f: Pulling fs layer [2020-04-14T03:24:16.592Z] 5788d62ee057: Pulling fs layer [2020-04-14T03:24:16.592Z] 0e6b1d234666: Pulling fs layer [2020-04-14T03:24:16.592Z] bf5d7aec512f: Pulling fs layer [2020-04-14T03:24:16.592Z] 34c802a77dc8: Pulling fs layer [2020-04-14T03:24:16.592Z] 9eb99e56ec68: Pulling fs layer [2020-04-14T03:24:16.592Z] 27c7a5d97fbd: Pulling fs layer [2020-04-14T03:24:16.592Z] 5c102a31e300: Pulling fs layer [2020-04-14T03:24:16.592Z] dcfb455df0a1: Pulling fs layer [2020-04-14T03:24:16.592Z] bf5d7aec512f: Waiting [2020-04-14T03:24:16.592Z] 34c802a77dc8: Waiting [2020-04-14T03:24:16.592Z] 9eb99e56ec68: Waiting [2020-04-14T03:24:16.592Z] 27c7a5d97fbd: Waiting [2020-04-14T03:24:16.592Z] 5c102a31e300: Waiting [2020-04-14T03:24:16.592Z] dcfb455df0a1: Waiting [2020-04-14T03:24:16.592Z] 5788d62ee057: Waiting [2020-04-14T03:24:16.592Z] 0e6b1d234666: Waiting [2020-04-14T03:24:16.592Z] 0f37312ad70f: Verifying Checksum [2020-04-14T03:24:16.592Z] 0f37312ad70f: Download complete [2020-04-14T03:24:16.592Z] 2848faf0eed1: Verifying Checksum [2020-04-14T03:24:16.592Z] 2848faf0eed1: Download complete [2020-04-14T03:24:16.592Z] 0e6b1d234666: Verifying Checksum [2020-04-14T03:24:16.592Z] 0e6b1d234666: Download complete [2020-04-14T03:24:16.592Z] bf5d7aec512f: Verifying Checksum [2020-04-14T03:24:16.592Z] bf5d7aec512f: Download complete [2020-04-14T03:24:16.592Z] e6b0cf9c0882: Download complete [2020-04-14T03:24:17.170Z] e6b0cf9c0882: Pull complete [2020-04-14T03:24:17.434Z] 34c802a77dc8: Verifying Checksum [2020-04-14T03:24:17.434Z] 34c802a77dc8: Download complete [2020-04-14T03:24:17.434Z] 27c7a5d97fbd: Verifying Checksum [2020-04-14T03:24:17.434Z] 27c7a5d97fbd: Download complete [2020-04-14T03:24:18.015Z] 2848faf0eed1: Pull complete [2020-04-14T03:24:18.015Z] 5c102a31e300: Verifying Checksum [2020-04-14T03:24:18.015Z] 5c102a31e300: Download complete [2020-04-14T03:24:18.015Z] dcfb455df0a1: Verifying Checksum [2020-04-14T03:24:18.015Z] dcfb455df0a1: Download complete [2020-04-14T03:24:18.279Z] 0f37312ad70f: Pull complete [2020-04-14T03:24:18.279Z] 9eb99e56ec68: Verifying Checksum [2020-04-14T03:24:18.279Z] 9eb99e56ec68: Download complete [2020-04-14T03:24:18.542Z] 5788d62ee057: Verifying Checksum [2020-04-14T03:24:18.542Z] 5788d62ee057: Download complete [2020-04-14T03:24:23.836Z] 5788d62ee057: Pull complete [2020-04-14T03:24:23.836Z] 0e6b1d234666: Pull complete [2020-04-14T03:24:24.096Z] bf5d7aec512f: Pull complete [2020-04-14T03:24:28.300Z] 34c802a77dc8: Pull complete [2020-04-14T03:24:31.629Z] 9eb99e56ec68: Pull complete [2020-04-14T03:24:31.629Z] 27c7a5d97fbd: Pull complete [2020-04-14T03:24:31.889Z] 5c102a31e300: Pull complete [2020-04-14T03:24:32.149Z] dcfb455df0a1: Pull complete [2020-04-14T03:24:32.149Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-14T03:24:32.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-14T03:24:32.149Z] ---> 7c70fe431013 [2020-04-14T03:24:32.149Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T03:24:32.409Z] ---> Running in 53570bdec4b6 [2020-04-14T03:24:32.409Z] Removing intermediate container 53570bdec4b6 [2020-04-14T03:24:32.409Z] ---> 55a8d51adfa2 [2020-04-14T03:24:32.409Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T03:24:32.409Z] ---> Running in d0a14c7404d7 [2020-04-14T03:24:32.986Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-14T03:24:33.922Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-14T03:24:34.181Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T03:24:34.181Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T03:24:34.181Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T03:24:34.448Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T03:24:34.448Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T03:24:34.448Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T03:24:34.448Z] OK: 145 MiB in 44 packages [2020-04-14T03:24:35.049Z] Removing intermediate container d0a14c7404d7 [2020-04-14T03:24:35.049Z] ---> 6f46ec99638b [2020-04-14T03:24:35.049Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-14T03:24:35.049Z] ---> Running in dc649c2ac2de [2020-04-14T03:24:35.049Z] Removing intermediate container dc649c2ac2de [2020-04-14T03:24:35.049Z] ---> 7211c3535d17 [2020-04-14T03:24:35.049Z] Step 6/7 : COPY go.mod . [2020-04-14T03:24:35.334Z] ---> 598bc5c85437 [2020-04-14T03:24:35.335Z] Step 7/7 : RUN go mod download [2020-04-14T03:24:35.335Z] ---> Running in add91c1ecc2c [2020-04-14T03:24:37.882Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-14T03:24:37.882Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T03:24:37.882Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T03:24:37.882Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T03:24:37.882Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T03:24:37.882Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-14T03:24:37.882Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T03:24:38.142Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T03:24:38.142Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T03:24:38.142Z] go: finding golang.org/x/text v0.3.0 [2020-04-14T03:24:43.449Z] Removing intermediate container add91c1ecc2c [2020-04-14T03:24:43.449Z] ---> 1957b312ba8e [2020-04-14T03:24:43.449Z] Successfully built 1957b312ba8e [2020-04-14T03:24:43.449Z] 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-14T03:24:43.988Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-14T03:24:43.988Z] . [Pipeline] withDockerContainer [2020-04-14T03:24:44.110Z] prd-centos7-docker-4c-2g-3734 does not seem to be running inside a container [2020-04-14T03:24:44.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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 ******** ci-base-image-x86_64 cat [2020-04-14T03:24:44.721Z] $ docker top 048d799f768f918a8b24ef60f6138a0ae061488413b1a2940887612a810017b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T03:24:45.246Z] + go version [2020-04-14T03:24:45.246Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-14T03:24:45.562Z] + make test [2020-04-14T03:24:45.563Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T03:24:48.126Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-04-14T03:24:50.710Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.007s coverage: 95.4% of statements [2020-04-14T03:25:17.264Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.353s coverage: 84.1% of statements [2020-04-14T03:25:17.264Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.007s coverage: 100.0% of statements [2020-04-14T03:25:17.264Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.006s coverage: 100.0% of statements [2020-04-14T03:25:17.264Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.005s coverage: 90.9% of statements [2020-04-14T03:25:17.264Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-04-14T03:25:17.264Z] gofmt -l . [2020-04-14T03:25:17.264Z] internal/pkg/mqtt/client_options.go [2020-04-14T03:25:17.264Z] internal/pkg/mqtt/client_test.go [2020-04-14T03:25:17.264Z] [ "`gofmt -l .`" = "" ] [2020-04-14T03:25:17.264Z] make: *** [Makefile:9: test] Error 1 [Pipeline] } [2020-04-14T03:25:17.276Z] $ docker stop --time=1 048d799f768f918a8b24ef60f6138a0ae061488413b1a2940887612a810017b4 [2020-04-14T03:25:18.667Z] $ docker rm -f 048d799f768f918a8b24ef60f6138a0ae061488413b1a2940887612a810017b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-14T03:25:19.642Z] Failed in branch amd64 [2020-04-14T03:26:13.822Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3735 in /w/workspace/exfoundry_go-mod-messaging_PR-51 [Pipeline] { [Pipeline] ws [2020-04-14T03:26:13.870Z] Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout [2020-04-14T03:26:20.204Z] using credential edgex-jenkins-ssh [2020-04-14T03:26:20.256Z] Cloning the remote Git repository [2020-04-14T03:26:20.256Z] Cloning with configured refspecs honoured and without tags [2020-04-14T03:26:20.320Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:26:21.429Z] Fetching without tags [2020-04-14T03:26:20.411Z] > git init /w/workspace/go-mod-messaging/3 # timeout=10 [2020-04-14T03:26:20.530Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:26:20.531Z] > git --version # timeout=10 [2020-04-14T03:26:20.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:26:20.665Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:26:21.301Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T03:26:21.323Z] > git config --add remote.origin.fetch +refs/pull/51/head:refs/remotes/origin/PR-51 # timeout=10 [2020-04-14T03:26:21.339Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:26:21.370Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-04-14T03:26:21.439Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-04-14T03:26:21.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:26:21.452Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-14T03:26:21.915Z] Merging remotes/origin/master commit cfba30792e745cabe7c9c124792dfed6ff0b4cfb into PR head commit 93521ef6962d7fb1f04bd36dc24214edae61046e [2020-04-14T03:26:22.161Z] Merge succeeded, producing 93521ef6962d7fb1f04bd36dc24214edae61046e [2020-04-14T03:26:22.162Z] Checking out Revision 93521ef6962d7fb1f04bd36dc24214edae61046e (PR-51) [2020-04-14T03:26:21.935Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T03:26:21.969Z] > git checkout -f 93521ef6962d7fb1f04bd36dc24214edae61046e # timeout=10 [2020-04-14T03:26:22.054Z] > git remote # timeout=10 [2020-04-14T03:26:22.075Z] > git config --get remote.origin.url # timeout=10 [2020-04-14T03:26:22.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-14T03:26:22.109Z] > git merge cfba30792e745cabe7c9c124792dfed6ff0b4cfb # timeout=10 [2020-04-14T03:26:22.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-14T03:26:22.167Z] > git config core.sparsecheckout # timeout=10 [2020-04-14T03:26:22.206Z] > git checkout -f 93521ef6962d7fb1f04bd36dc24214edae61046e # timeout=10 [2020-04-14T03:26:26.878Z] Commit message: "fix testcase issue" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-14T03:26:27.948Z] ========================================================= [2020-04-14T03:26:27.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-14T03:26:27.948Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-14T03:26:29.100Z] + 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-14T03:26:29.690Z] Sending build context to Docker daemon 438.8kB [2020-04-14T03:26:29.958Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-04-14T03:26:29.959Z] Step 2/7 : FROM ${BASE} [2020-04-14T03:26:30.232Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-14T03:26:30.232Z] cde5963f3b93: Pulling fs layer [2020-04-14T03:26:30.232Z] 2a23fa8c16f7: Pulling fs layer [2020-04-14T03:26:30.232Z] 777b28850792: Pulling fs layer [2020-04-14T03:26:30.232Z] 8a11ddd9e578: Pulling fs layer [2020-04-14T03:26:30.232Z] 4cf88f913ddb: Pulling fs layer [2020-04-14T03:26:30.232Z] 1df406cf5192: Pulling fs layer [2020-04-14T03:26:30.232Z] cd6300453558: Pulling fs layer [2020-04-14T03:26:30.232Z] b9c365052c96: Pulling fs layer [2020-04-14T03:26:30.232Z] a2d8cc88f415: Pulling fs layer [2020-04-14T03:26:30.232Z] ea1d1ca13537: Pulling fs layer [2020-04-14T03:26:30.232Z] 3750a50a1c5e: Pulling fs layer [2020-04-14T03:26:30.232Z] 4cf88f913ddb: Waiting [2020-04-14T03:26:30.232Z] 1df406cf5192: Waiting [2020-04-14T03:26:30.232Z] cd6300453558: Waiting [2020-04-14T03:26:30.232Z] b9c365052c96: Waiting [2020-04-14T03:26:30.232Z] a2d8cc88f415: Waiting [2020-04-14T03:26:30.232Z] ea1d1ca13537: Waiting [2020-04-14T03:26:30.232Z] 3750a50a1c5e: Waiting [2020-04-14T03:26:30.232Z] 8a11ddd9e578: Waiting [2020-04-14T03:26:30.232Z] 777b28850792: Verifying Checksum [2020-04-14T03:26:30.232Z] 777b28850792: Download complete [2020-04-14T03:26:30.232Z] 2a23fa8c16f7: Verifying Checksum [2020-04-14T03:26:30.232Z] 2a23fa8c16f7: Download complete [2020-04-14T03:26:30.232Z] 4cf88f913ddb: Verifying Checksum [2020-04-14T03:26:30.232Z] 4cf88f913ddb: Download complete [2020-04-14T03:26:30.232Z] 1df406cf5192: Download complete [2020-04-14T03:26:30.502Z] cde5963f3b93: Verifying Checksum [2020-04-14T03:26:30.502Z] cde5963f3b93: Download complete [2020-04-14T03:26:31.473Z] cde5963f3b93: Pull complete [2020-04-14T03:26:32.068Z] 2a23fa8c16f7: Pull complete [2020-04-14T03:26:32.339Z] 777b28850792: Pull complete [2020-04-14T03:26:34.325Z] cd6300453558: Verifying Checksum [2020-04-14T03:26:34.325Z] cd6300453558: Download complete [2020-04-14T03:26:34.325Z] a2d8cc88f415: Verifying Checksum [2020-04-14T03:26:34.325Z] a2d8cc88f415: Download complete [2020-04-14T03:26:36.925Z] ea1d1ca13537: Verifying Checksum [2020-04-14T03:26:36.925Z] ea1d1ca13537: Download complete [2020-04-14T03:26:36.925Z] 3750a50a1c5e: Verifying Checksum [2020-04-14T03:26:36.925Z] 3750a50a1c5e: Download complete [2020-04-14T03:26:39.525Z] b9c365052c96: Verifying Checksum [2020-04-14T03:26:39.525Z] b9c365052c96: Download complete [2020-04-14T03:26:41.473Z] 8a11ddd9e578: Verifying Checksum [2020-04-14T03:26:41.473Z] 8a11ddd9e578: Download complete [2020-04-14T03:26:51.565Z] 8a11ddd9e578: Pull complete [2020-04-14T03:26:51.834Z] 4cf88f913ddb: Pull complete [2020-04-14T03:26:52.420Z] 1df406cf5192: Pull complete [2020-04-14T03:26:56.701Z] cd6300453558: Pull complete [2020-04-14T03:27:02.062Z] b9c365052c96: Pull complete [2020-04-14T03:27:02.062Z] a2d8cc88f415: Pull complete [2020-04-14T03:27:03.480Z] ea1d1ca13537: Pull complete [2020-04-14T03:27:04.075Z] 3750a50a1c5e: Pull complete [2020-04-14T03:27:04.075Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-14T03:27:04.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-14T03:27:04.075Z] ---> 78745c68409d [2020-04-14T03:27:04.075Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-04-14T03:27:08.369Z] ---> Running in 8a5487c2fc6d [2020-04-14T03:27:08.636Z] Removing intermediate container 8a5487c2fc6d [2020-04-14T03:27:08.636Z] ---> 801e4cc29b0f [2020-04-14T03:27:08.636Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-04-14T03:27:08.905Z] ---> Running in ad234ba336c9 [2020-04-14T03:27:09.877Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-14T03:27:10.836Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-14T03:27:11.105Z] (1/5) Installing libsodium (1.0.18-r0) [2020-04-14T03:27:11.374Z] (2/5) Installing libzmq (4.3.2-r0) [2020-04-14T03:27:11.640Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-04-14T03:27:11.640Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-04-14T03:27:11.640Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-04-14T03:27:11.908Z] Executing busybox-1.31.1-r8.trigger [2020-04-14T03:27:11.908Z] OK: 127 MiB in 44 packages [2020-04-14T03:27:13.326Z] Removing intermediate container ad234ba336c9 [2020-04-14T03:27:13.326Z] ---> 691574231931 [2020-04-14T03:27:13.326Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-04-14T03:27:13.326Z] ---> Running in de21f34266e9 [2020-04-14T03:27:13.915Z] Removing intermediate container de21f34266e9 [2020-04-14T03:27:13.915Z] ---> 88e8d1a6225f [2020-04-14T03:27:13.915Z] Step 6/7 : COPY go.mod . [2020-04-14T03:27:14.504Z] ---> 5710ad1d4ee1 [2020-04-14T03:27:14.504Z] Step 7/7 : RUN go mod download [2020-04-14T03:27:14.504Z] ---> Running in 5c52c941bef3 [2020-04-14T03:27:16.453Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-14T03:27:16.453Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-04-14T03:27:16.720Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-04-14T03:27:16.720Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-14T03:27:16.720Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-14T03:27:16.989Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-14T03:27:16.989Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-04-14T03:27:16.989Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-04-14T03:27:16.989Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-04-14T03:27:16.989Z] go: finding golang.org/x/text v0.3.0 [2020-04-14T03:27:25.220Z] Removing intermediate container 5c52c941bef3 [2020-04-14T03:27:25.220Z] ---> 7dd3166538e0 [2020-04-14T03:27:25.220Z] Successfully built 7dd3166538e0 [2020-04-14T03:27:25.220Z] 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-14T03:27:25.850Z] + docker inspect -f . ci-base-image-arm64 [2020-04-14T03:27:25.851Z] . [Pipeline] withDockerContainer [2020-04-14T03:27:26.448Z] prd-ubuntu18.04-docker-arm64-4c-16g-3735 does not seem to be running inside a container [2020-04-14T03:27:26.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/3 -v /w/workspace/go-mod-messaging/3:/w/workspace/go-mod-messaging/3:rw,z -v /w/workspace/go-mod-messaging/3@tmp:/w/workspace/go-mod-messaging/3@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-04-14T03:27:27.971Z] $ docker top 863cdc239b6eddf77fbf0dd1f0a946d6e85e481ec4cb356d51fac40e994d6b5c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-14T03:27:29.025Z] + go version [2020-04-14T03:27:29.025Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-14T03:27:29.685Z] + make test [2020-04-14T03:27:29.685Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-04-14T03:27:37.916Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-04-14T03:27:46.156Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.058s coverage: 95.4% of statements [2020-04-14T03:28:18.387Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.385s coverage: 84.1% of statements [2020-04-14T03:28:18.387Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.024s coverage: 100.0% of statements [2020-04-14T03:28:18.387Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.018s coverage: 100.0% of statements [2020-04-14T03:28:18.387Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.023s coverage: 90.9% of statements [2020-04-14T03:28:18.387Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-04-14T03:28:18.387Z] gofmt -l . [2020-04-14T03:28:18.387Z] internal/pkg/mqtt/client_options.go [2020-04-14T03:28:18.387Z] internal/pkg/mqtt/client_test.go [2020-04-14T03:28:18.387Z] [ "`gofmt -l .`" = "" ] [2020-04-14T03:28:18.387Z] make: *** [Makefile:9: test] Error 1 [Pipeline] } [2020-04-14T03:28:18.412Z] $ docker stop --time=1 863cdc239b6eddf77fbf0dd1f0a946d6e85e481ec4cb356d51fac40e994d6b5c [2020-04-14T03:28:20.476Z] $ docker rm -f 863cdc239b6eddf77fbf0dd1f0a946d6e85e481ec4cb356d51fac40e994d6b5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-14T03:28:21.822Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-14T03:28:23.306Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T03:28:23.613Z] ---> package-listing.sh [2020-04-14T03:28:23.613Z] ++ facter osfamily [2020-04-14T03:28:23.613Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-14T03:28:23.613Z] + OS_FAMILY=redhat [2020-04-14T03:28:23.613Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-51 [2020-04-14T03:28:23.613Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-14T03:28:23.613Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-14T03:28:23.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-14T03:28:23.613Z] + PACKAGES=/tmp/packages_start.txt [2020-04-14T03:28:23.613Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-51 ']' [2020-04-14T03:28:23.613Z] + PACKAGES=/tmp/packages_end.txt [2020-04-14T03:28:23.613Z] + case "${OS_FAMILY}" in [2020-04-14T03:28:23.613Z] + sort [2020-04-14T03:28:23.613Z] + rpm -qa [2020-04-14T03:28:26.155Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-14T03:28:26.155Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-14T03:28:26.155Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-14T03:28:26.155Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-51 ']' [2020-04-14T03:28:26.155Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-51/archives/ [2020-04-14T03:28:26.155Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-51/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-14T03:28:26.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T03:28:26.638Z] [2020-04-14T03:28:26.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-14T03:28:26.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-14T03:28:26.978Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-14T03:28:26.978Z] c9b1b535fdd9: Pulling fs layer [2020-04-14T03:28:26.978Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-14T03:28:26.978Z] 756a868c4378: Pulling fs layer [2020-04-14T03:28:26.978Z] 444b2fc9a129: Pulling fs layer [2020-04-14T03:28:26.978Z] ea15f1150254: Pulling fs layer [2020-04-14T03:28:26.978Z] 41b27a9f41bf: Pulling fs layer [2020-04-14T03:28:26.978Z] 28c525ee5125: Pulling fs layer [2020-04-14T03:28:26.978Z] 094b1ea09ed8: Pulling fs layer [2020-04-14T03:28:26.978Z] 138eaada9080: Pulling fs layer [2020-04-14T03:28:26.978Z] 0622d0fa9048: Pulling fs layer [2020-04-14T03:28:26.978Z] 41b27a9f41bf: Waiting [2020-04-14T03:28:26.978Z] 28c525ee5125: Waiting [2020-04-14T03:28:26.978Z] 094b1ea09ed8: Waiting [2020-04-14T03:28:26.978Z] 138eaada9080: Waiting [2020-04-14T03:28:26.978Z] 0622d0fa9048: Waiting [2020-04-14T03:28:26.978Z] ea15f1150254: Waiting [2020-04-14T03:28:26.978Z] 444b2fc9a129: Waiting [2020-04-14T03:28:26.978Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-14T03:28:26.978Z] 2cc5ad85d9ab: Download complete [2020-04-14T03:28:26.978Z] 444b2fc9a129: Verifying Checksum [2020-04-14T03:28:26.978Z] 444b2fc9a129: Download complete [2020-04-14T03:28:26.978Z] c9b1b535fdd9: Download complete [2020-04-14T03:28:26.978Z] ea15f1150254: Verifying Checksum [2020-04-14T03:28:26.978Z] ea15f1150254: Download complete [2020-04-14T03:28:27.263Z] 28c525ee5125: Verifying Checksum [2020-04-14T03:28:27.263Z] 28c525ee5125: Download complete [2020-04-14T03:28:27.555Z] 756a868c4378: Verifying Checksum [2020-04-14T03:28:27.555Z] 756a868c4378: Download complete [2020-04-14T03:28:27.555Z] c9b1b535fdd9: Pull complete [2020-04-14T03:28:27.823Z] 094b1ea09ed8: Verifying Checksum [2020-04-14T03:28:27.823Z] 094b1ea09ed8: Download complete [2020-04-14T03:28:27.823Z] 138eaada9080: Verifying Checksum [2020-04-14T03:28:27.823Z] 138eaada9080: Download complete [2020-04-14T03:28:27.823Z] 0622d0fa9048: Verifying Checksum [2020-04-14T03:28:27.823Z] 0622d0fa9048: Download complete [2020-04-14T03:28:27.823Z] 2cc5ad85d9ab: Pull complete [2020-04-14T03:28:28.402Z] 41b27a9f41bf: Verifying Checksum [2020-04-14T03:28:28.402Z] 41b27a9f41bf: Download complete [2020-04-14T03:28:29.784Z] 756a868c4378: Pull complete [2020-04-14T03:28:29.784Z] 444b2fc9a129: Pull complete [2020-04-14T03:28:30.364Z] ea15f1150254: Pull complete [2020-04-14T03:28:34.577Z] 41b27a9f41bf: Pull complete [2020-04-14T03:28:34.577Z] 28c525ee5125: Pull complete [2020-04-14T03:28:36.495Z] 094b1ea09ed8: Pull complete [2020-04-14T03:28:36.756Z] 138eaada9080: Pull complete [2020-04-14T03:28:37.019Z] 0622d0fa9048: Pull complete [2020-04-14T03:28:37.019Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-14T03:28:37.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-14T03:28:37.196Z] prd-centos7-docker-4c-2g-3732 does not seem to be running inside a container [2020-04-14T03:28:37.246Z] $ 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-51 -v /w/workspace/exfoundry_go-mod-messaging_PR-51:/w/workspace/exfoundry_go-mod-messaging_PR-51:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-51@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-51@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:10003/edgex-lftools-log-publisher:alpine cat [2020-04-14T03:28:38.334Z] $ docker top 0d4938866c0386fb51a55332fa49ef416f28adb80741d9fcd16442e4384111e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-14T03:28:38.575Z] provisioning config files... [2020-04-14T03:28:38.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-51@tmp/config7926966025836741193tmp [Pipeline] { [Pipeline] echo [2020-04-14T03:28:38.668Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T03:28:38.971Z] ---> create-netrc.sh [Pipeline] echo [2020-04-14T03:28:38.980Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-14T03:28:39.292Z] ---> logs-deploy.sh [2020-04-14T03:28:39.292Z] + ARCHIVE_ARTIFACTS= [2020-04-14T03:28:39.292Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-14T03:28:39.292Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-14T03:28:39.292Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-14T03:28:39.292Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/3 [2020-04-14T03:28:39.292Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-51/3/ [2020-04-14T03:28:39.292Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/3 /w/workspace/exfoundry_go-mod-messaging_PR-51 [2020-04-14T03:28:40.681Z] Archives upload complete. [2020-04-14T03:28:40.943Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-51/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-51/3/