Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of rsdmike for edgexfoundry/go-mod-messaging Loading trusted files from base branch master at 87d9609fa25c1224d63bb58472268eba1be5cb73 rather than 33089b25f7a44b21d1f129d1164dcac1bf35d905 Obtained Jenkinsfile from 87d9609fa25c1224d63bb58472268eba1be5cb73 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 b810438aec07f555226556e3b59abf2bab733840 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # 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 [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-2811 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git > git init /w/workspace/exfoundry_go-mod-messaging_PR-43 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 87d9609fa25c1224d63bb58472268eba1be5cb73 into PR head commit 33089b25f7a44b21d1f129d1164dcac1bf35d905 Merge succeeded, producing 094e08c96fd7788afce68ee18bc6f007d2755ac2 Checking out Revision 094e08c96fd7788afce68ee18bc6f007d2755ac2 (PR-43) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33089b25f7a44b21d1f129d1164dcac1bf35d905 # 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 87d9609fa25c1224d63bb58472268eba1be5cb73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 094e08c96fd7788afce68ee18bc6f007d2755ac2 # timeout=10 Commit message: "Merge commit '87d9609fa25c1224d63bb58472268eba1be5cb73' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-03-06T20:29:32.985Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 38ba0d2100fc6147152bba345c6c7ae9ff35db22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:29:34.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-06T20:29:34.758Z] [2020-03-06T20:29:34.758Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:29:35.194Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-03-06T20:29:35.194Z] latest: Pulling from edgex-devops/git-semver [2020-03-06T20:29:35.194Z] 9123ac7c32f7: Pulling fs layer [2020-03-06T20:29:35.194Z] b8cc5d1170e3: Pulling fs layer [2020-03-06T20:29:35.194Z] 2924cbbf6a41: Pulling fs layer [2020-03-06T20:29:35.194Z] 93b08a4f1073: Pulling fs layer [2020-03-06T20:29:35.194Z] 93b08a4f1073: Waiting [2020-03-06T20:29:35.194Z] b8cc5d1170e3: Verifying Checksum [2020-03-06T20:29:35.194Z] b8cc5d1170e3: Download complete [2020-03-06T20:29:35.454Z] 9123ac7c32f7: Verifying Checksum [2020-03-06T20:29:35.454Z] 9123ac7c32f7: Download complete [2020-03-06T20:29:35.454Z] 93b08a4f1073: Verifying Checksum [2020-03-06T20:29:35.454Z] 93b08a4f1073: Download complete [2020-03-06T20:29:35.454Z] 2924cbbf6a41: Verifying Checksum [2020-03-06T20:29:35.454Z] 2924cbbf6a41: Download complete [2020-03-06T20:29:35.715Z] 9123ac7c32f7: Pull complete [2020-03-06T20:29:35.715Z] b8cc5d1170e3: Pull complete [2020-03-06T20:29:36.283Z] 2924cbbf6a41: Pull complete [2020-03-06T20:29:36.541Z] 93b08a4f1073: Pull complete [2020-03-06T20:29:36.542Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-03-06T20:29:36.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-03-06T20:29:36.668Z] prd-centos7-docker-4c-2g-2811 does not seem to be running inside a container [2020-03-06T20:29:36.711Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-messaging_PR-43 -v /w/workspace/exfoundry_go-mod-messaging_PR-43:/w/workspace/exfoundry_go-mod-messaging_PR-43:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-03-06T20:29:37.405Z] $ docker top 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-03-06T20:29:38.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-06T20:29:38.154Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-06T20:29:38.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-06T20:29:38.398Z] $ docker exec 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 ssh-agent [2020-03-06T20:29:38.584Z] SSH_AUTH_SOCK=/tmp/ssh-zHykukFR4Zvl/agent.15 [2020-03-06T20:29:38.584Z] SSH_AGENT_PID=22 [2020-03-06T20:29:38.597Z] Running ssh-add (command line suppressed) [2020-03-06T20:29:38.737Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_2237176122561660078.key (/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_2237176122561660078.key) [2020-03-06T20:29:38.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-06T20:29:39.123Z] + git describe --exact-match --tags HEAD [2020-03-06T20:29:39.123Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-03-06T20:29:39.184Z] $ docker exec --env ******** --env ******** 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 ssh-agent -k [2020-03-06T20:29:39.326Z] unset SSH_AUTH_SOCK; [2020-03-06T20:29:39.327Z] unset SSH_AGENT_PID; [2020-03-06T20:29:39.327Z] echo Agent pid 22 killed; [2020-03-06T20:29:39.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-03-06T20:29:39.445Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-03-06T20:29:39.445Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-03-06T20:29:39.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-03-06T20:29:39.520Z] [ssh-agent] Looking for ssh-agent implementation... [2020-03-06T20:29:39.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-03-06T20:29:39.706Z] $ docker exec 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 ssh-agent [2020-03-06T20:29:39.888Z] SSH_AUTH_SOCK=/tmp/ssh-UsHCDsg5eoaR/agent.58 [2020-03-06T20:29:39.888Z] SSH_AGENT_PID=65 [2020-03-06T20:29:39.895Z] Running ssh-add (command line suppressed) [2020-03-06T20:29:40.031Z] Identity added: /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_4393218231975545348.key (/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/private_key_4393218231975545348.key) [2020-03-06T20:29:40.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-03-06T20:29:40.414Z] + git semver init [2020-03-06T20:29:40.414Z] # -> Open(): unable to determine branch for HEAD [2020-03-06T20:29:40.414Z] # $GIT_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-43/.git [2020-03-06T20:29:40.414Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-03-06T20:29:40.414Z] # $SEMVER_REMOTE_NAME = origin [2020-03-06T20:29:40.414Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-03-06T20:29:40.414Z] # $SEMVER_USER_NAME = jenkins [2020-03-06T20:29:40.414Z] # $SEMVER_BRANCH = PR-43 [2020-03-06T20:29:40.414Z] # $SEMVER_TEMP = /tmp/semver-174829853 [2020-03-06T20:29:40.414Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2020-03-06T20:29:40.674Z] # '/tmp/semver-174829853' -> '/w/workspace/exfoundry_go-mod-messaging_PR-43/.semver' [2020-03-06T20:29:40.674Z] # -> Force: false [2020-03-06T20:29:40.674Z] # $SEMVER_DIR = /w/workspace/exfoundry_go-mod-messaging_PR-43/.semver [Pipeline] } [2020-03-06T20:29:40.684Z] $ docker exec --env ******** --env ******** 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 ssh-agent -k [2020-03-06T20:29:40.820Z] unset SSH_AUTH_SOCK; [2020-03-06T20:29:40.821Z] unset SSH_AGENT_PID; [2020-03-06T20:29:40.821Z] echo Agent pid 65 killed; [2020-03-06T20:29:40.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-03-06T20:29:41.327Z] + git semver [Pipeline] } [2020-03-06T20:29:41.342Z] $ docker stop --time=1 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 [2020-03-06T20:29:42.701Z] $ docker rm -f 8bd1beb427288917bf54e73daa5c83611a7865c46e3cdc4d8f6e4400619eecb5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-03-06T20:29:43.496Z] Stashed 31 file(s) [Pipeline] echo [2020-03-06T20:29:43.498Z] [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-06T20:29:58.718Z] Still waiting to schedule task [2020-03-06T20:29:58.718Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-03-06T20:29:58.720Z] Still waiting to schedule task [2020-03-06T20:29:58.720Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-03-06T20:32:05.606Z] Running on prd-centos7-docker-4c-2g-2814 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [Pipeline] { [Pipeline] ws [2020-03-06T20:32:05.650Z] Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout [2020-03-06T20:32:07.864Z] using credential edgex-jenkins-ssh [2020-03-06T20:32:07.908Z] Cloning the remote Git repository [2020-03-06T20:32:07.908Z] Cloning with configured refspecs honoured and without tags [2020-03-06T20:32:07.816Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:32:08.597Z] Fetching without tags [2020-03-06T20:32:08.952Z] Merging remotes/origin/master commit 87d9609fa25c1224d63bb58472268eba1be5cb73 into PR head commit 33089b25f7a44b21d1f129d1164dcac1bf35d905 [2020-03-06T20:32:07.859Z] > git init /w/workspace/go-mod-messaging/3 # timeout=10 [2020-03-06T20:32:07.936Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:32:07.936Z] > git --version # timeout=10 [2020-03-06T20:32:07.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:32:08.013Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:32:08.484Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-06T20:32:08.495Z] > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # timeout=10 [2020-03-06T20:32:08.501Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:32:08.511Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-06T20:32:08.531Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:32:08.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:32:08.538Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:32:08.919Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T20:32:08.932Z] > git checkout -f 33089b25f7a44b21d1f129d1164dcac1bf35d905 # timeout=10 [2020-03-06T20:32:09.053Z] Merge succeeded, producing 8958e773329f02b3abcb934fcef3b97b4416c5b6 [2020-03-06T20:32:09.054Z] Checking out Revision 8958e773329f02b3abcb934fcef3b97b4416c5b6 (PR-43) [2020-03-06T20:32:08.969Z] > git remote # timeout=10 [2020-03-06T20:32:08.976Z] > git config --get remote.origin.url # timeout=10 [2020-03-06T20:32:08.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:32:08.990Z] > git merge 87d9609fa25c1224d63bb58472268eba1be5cb73 # timeout=10 [2020-03-06T20:32:09.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-06T20:32:09.023Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T20:32:09.037Z] > git checkout -f 8958e773329f02b3abcb934fcef3b97b4416c5b6 # timeout=10 [2020-03-06T20:32:12.812Z] Commit message: "Merge commit '87d9609fa25c1224d63bb58472268eba1be5cb73' into HEAD" [2020-03-06T20:32:12.824Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-06T20:32:13.681Z] ========================================================= [2020-03-06T20:32:13.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-03-06T20:32:13.681Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:32:12.819Z] > git rev-list --no-walk 38ba0d2100fc6147152bba345c6c7ae9ff35db22 # timeout=10 [2020-03-06T20:32:14.352Z] + 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-06T20:32:14.618Z] Sending build context to Docker daemon 432.6kB [2020-03-06T20:32:14.618Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-06T20:32:14.618Z] Step 2/7 : FROM ${BASE} [2020-03-06T20:32:14.618Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-03-06T20:32:14.618Z] e6b0cf9c0882: Pulling fs layer [2020-03-06T20:32:14.618Z] 2848faf0eed1: Pulling fs layer [2020-03-06T20:32:14.618Z] 0f37312ad70f: Pulling fs layer [2020-03-06T20:32:14.619Z] 5788d62ee057: Pulling fs layer [2020-03-06T20:32:14.619Z] 0e6b1d234666: Pulling fs layer [2020-03-06T20:32:14.619Z] bf5d7aec512f: Pulling fs layer [2020-03-06T20:32:14.619Z] 34c802a77dc8: Pulling fs layer [2020-03-06T20:32:14.619Z] 9eb99e56ec68: Pulling fs layer [2020-03-06T20:32:14.619Z] 27c7a5d97fbd: Pulling fs layer [2020-03-06T20:32:14.619Z] 5c102a31e300: Pulling fs layer [2020-03-06T20:32:14.619Z] dcfb455df0a1: Pulling fs layer [2020-03-06T20:32:14.619Z] 34c802a77dc8: Waiting [2020-03-06T20:32:14.619Z] 9eb99e56ec68: Waiting [2020-03-06T20:32:14.619Z] 5788d62ee057: Waiting [2020-03-06T20:32:14.619Z] 27c7a5d97fbd: Waiting [2020-03-06T20:32:14.619Z] 0e6b1d234666: Waiting [2020-03-06T20:32:14.619Z] bf5d7aec512f: Waiting [2020-03-06T20:32:14.619Z] dcfb455df0a1: Waiting [2020-03-06T20:32:14.619Z] 5c102a31e300: Waiting [2020-03-06T20:32:14.619Z] 0f37312ad70f: Verifying Checksum [2020-03-06T20:32:14.619Z] 0f37312ad70f: Download complete [2020-03-06T20:32:14.619Z] 2848faf0eed1: Verifying Checksum [2020-03-06T20:32:14.619Z] 2848faf0eed1: Download complete [2020-03-06T20:32:14.619Z] 0e6b1d234666: Download complete [2020-03-06T20:32:14.619Z] bf5d7aec512f: Verifying Checksum [2020-03-06T20:32:14.619Z] bf5d7aec512f: Download complete [2020-03-06T20:32:14.619Z] e6b0cf9c0882: Verifying Checksum [2020-03-06T20:32:14.619Z] e6b0cf9c0882: Download complete [2020-03-06T20:32:15.201Z] e6b0cf9c0882: Pull complete [2020-03-06T20:32:15.471Z] 34c802a77dc8: Verifying Checksum [2020-03-06T20:32:15.471Z] 34c802a77dc8: Download complete [2020-03-06T20:32:15.471Z] 27c7a5d97fbd: Verifying Checksum [2020-03-06T20:32:15.471Z] 27c7a5d97fbd: Download complete [2020-03-06T20:32:16.052Z] 5c102a31e300: Download complete [2020-03-06T20:32:16.315Z] dcfb455df0a1: Verifying Checksum [2020-03-06T20:32:16.315Z] dcfb455df0a1: Download complete [2020-03-06T20:32:16.315Z] 9eb99e56ec68: Verifying Checksum [2020-03-06T20:32:16.315Z] 9eb99e56ec68: Download complete [2020-03-06T20:32:16.315Z] 5788d62ee057: Verifying Checksum [2020-03-06T20:32:16.574Z] 2848faf0eed1: Pull complete [2020-03-06T20:32:16.837Z] 0f37312ad70f: Pull complete [2020-03-06T20:32:22.133Z] 5788d62ee057: Pull complete [2020-03-06T20:32:22.133Z] 0e6b1d234666: Pull complete [2020-03-06T20:32:22.133Z] bf5d7aec512f: Pull complete [2020-03-06T20:32:26.338Z] 34c802a77dc8: Pull complete [2020-03-06T20:32:30.538Z] 9eb99e56ec68: Pull complete [2020-03-06T20:32:30.538Z] 27c7a5d97fbd: Pull complete [2020-03-06T20:32:31.483Z] 5c102a31e300: Pull complete [2020-03-06T20:32:31.483Z] dcfb455df0a1: Pull complete [2020-03-06T20:32:31.483Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-03-06T20:32:31.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-03-06T20:32:31.483Z] ---> 7c70fe431013 [2020-03-06T20:32:31.483Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-06T20:32:31.483Z] ---> Running in c4d1bf74ee64 [2020-03-06T20:32:31.744Z] Removing intermediate container c4d1bf74ee64 [2020-03-06T20:32:31.744Z] ---> bc3b9e7a84e7 [2020-03-06T20:32:31.744Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-06T20:32:31.744Z] ---> Running in 5b3d8fe47ad1 [2020-03-06T20:32:32.317Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-03-06T20:32:32.885Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-03-06T20:32:33.453Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-06T20:32:33.453Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-06T20:32:34.022Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-06T20:32:34.022Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-06T20:32:34.022Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-06T20:32:34.282Z] Executing busybox-1.31.1-r8.trigger [2020-03-06T20:32:34.282Z] OK: 145 MiB in 44 packages [2020-03-06T20:32:34.541Z] Removing intermediate container 5b3d8fe47ad1 [2020-03-06T20:32:34.541Z] ---> 625d369791b4 [2020-03-06T20:32:34.541Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-06T20:32:34.541Z] ---> Running in 78834ff5c5d8 [2020-03-06T20:32:34.802Z] Removing intermediate container 78834ff5c5d8 [2020-03-06T20:32:34.802Z] ---> 43a877e07116 [2020-03-06T20:32:34.802Z] Step 6/7 : COPY go.mod . [2020-03-06T20:32:35.063Z] ---> 666528173000 [2020-03-06T20:32:35.063Z] Step 7/7 : RUN go mod download [2020-03-06T20:32:35.063Z] ---> Running in 5b7f3cdf1d68 [2020-03-06T20:32:36.518Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-06T20:32:36.518Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-06T20:32:36.518Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-06T20:32:36.518Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-06T20:32:36.518Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-06T20:32:36.518Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-06T20:32:36.518Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-06T20:32:36.518Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-06T20:32:36.518Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-06T20:32:36.518Z] go: finding golang.org/x/text v0.3.0 [2020-03-06T20:32:39.825Z] Removing intermediate container 5b7f3cdf1d68 [2020-03-06T20:32:39.825Z] ---> 5b32623f7b00 [2020-03-06T20:32:39.825Z] Successfully built 5b32623f7b00 [2020-03-06T20:32:39.825Z] 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-06T20:32:40.422Z] + docker inspect -f . ci-base-image-x86_64 [2020-03-06T20:32:40.422Z] . [Pipeline] withDockerContainer [2020-03-06T20:32:40.545Z] prd-centos7-docker-4c-2g-2814 does not seem to be running inside a container [2020-03-06T20:32:40.605Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-03-06T20:32:41.250Z] $ docker top 95e2b572fa933f6ad46b667cb82967126b0b995d6a127600b8701173eb1548be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-06T20:32:42.245Z] + go version [2020-03-06T20:32:42.245Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-03-06T20:32:42.551Z] + make test [2020-03-06T20:32:42.551Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-06T20:32:45.875Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-03-06T20:32:49.200Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.024s coverage: 96.0% of statements [2020-03-06T20:33:15.773Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.361s coverage: 83.8% of statements [2020-03-06T20:33:15.773Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.008s coverage: 100.0% of statements [2020-03-06T20:33:15.773Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.006s coverage: 100.0% of statements [2020-03-06T20:33:15.773Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.005s coverage: 90.9% of statements [2020-03-06T20:33:15.773Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-03-06T20:33:15.773Z] gofmt -l . [2020-03-06T20:33:15.773Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-06T20:33:16.185Z] Stashed 1 file(s) [Pipeline] } [2020-03-06T20:33:16.192Z] $ docker stop --time=1 95e2b572fa933f6ad46b667cb82967126b0b995d6a127600b8701173eb1548be [2020-03-06T20:33:17.640Z] $ docker rm -f 95e2b572fa933f6ad46b667cb82967126b0b995d6a127600b8701173eb1548be [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-06T20:33:44.023Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2815 in /w/workspace/exfoundry_go-mod-messaging_PR-43 [Pipeline] { [Pipeline] ws [2020-03-06T20:33:44.178Z] Running in /w/workspace/go-mod-messaging/3 [Pipeline] { [Pipeline] checkout [2020-03-06T20:33:50.498Z] using credential edgex-jenkins-ssh [2020-03-06T20:33:50.579Z] Cloning the remote Git repository [2020-03-06T20:33:50.579Z] Cloning with configured refspecs honoured and without tags [2020-03-06T20:33:50.653Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:33:50.786Z] > git init /w/workspace/go-mod-messaging/3 # timeout=10 [2020-03-06T20:33:50.961Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:33:50.964Z] > git --version # timeout=10 [2020-03-06T20:33:50.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:33:51.087Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:33:51.891Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-06T20:33:51.927Z] > git config --add remote.origin.fetch +refs/pull/43/head:refs/remotes/origin/PR-43 # timeout=10 [2020-03-06T20:33:51.957Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:33:51.994Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2020-03-06T20:33:52.037Z] Fetching without tags [2020-03-06T20:33:52.574Z] Merging remotes/origin/master commit 87d9609fa25c1224d63bb58472268eba1be5cb73 into PR head commit 33089b25f7a44b21d1f129d1164dcac1bf35d905 [2020-03-06T20:33:52.997Z] Merge succeeded, producing 28ff754d79fd8fd7a30c835d809a067466e7fc57 [2020-03-06T20:33:52.998Z] Checking out Revision 28ff754d79fd8fd7a30c835d809a067466e7fc57 (PR-43) [2020-03-06T20:33:52.047Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2020-03-06T20:33:52.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:33:52.068Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-03-06T20:33:52.594Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T20:33:52.620Z] > git checkout -f 33089b25f7a44b21d1f129d1164dcac1bf35d905 # timeout=10 [2020-03-06T20:33:52.743Z] > git remote # timeout=10 [2020-03-06T20:33:52.770Z] > git config --get remote.origin.url # timeout=10 [2020-03-06T20:33:52.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-03-06T20:33:52.827Z] > git merge 87d9609fa25c1224d63bb58472268eba1be5cb73 # timeout=10 [2020-03-06T20:33:52.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-03-06T20:33:53.008Z] > git config core.sparsecheckout # timeout=10 [2020-03-06T20:33:53.055Z] > git checkout -f 28ff754d79fd8fd7a30c835d809a067466e7fc57 # timeout=10 [2020-03-06T20:33:57.537Z] Commit message: "Merge commit '87d9609fa25c1224d63bb58472268eba1be5cb73' into HEAD" [2020-03-06T20:33:57.574Z] First time build. Skipping changelog. [2020-03-06T20:33:57.545Z] > git rev-list --no-walk 38ba0d2100fc6147152bba345c6c7ae9ff35db22 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-03-06T20:33:58.957Z] ========================================================= [2020-03-06T20:33:58.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-03-06T20:33:58.957Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:34:00.515Z] + 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-06T20:34:01.106Z] Sending build context to Docker daemon 432.6kB [2020-03-06T20:34:01.380Z] Step 1/7 : ARG BASE=golang:1.13-alpine [2020-03-06T20:34:01.380Z] Step 2/7 : FROM ${BASE} [2020-03-06T20:34:01.651Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-03-06T20:34:01.651Z] cde5963f3b93: Pulling fs layer [2020-03-06T20:34:01.651Z] 2a23fa8c16f7: Pulling fs layer [2020-03-06T20:34:01.651Z] 777b28850792: Pulling fs layer [2020-03-06T20:34:01.651Z] 8a11ddd9e578: Pulling fs layer [2020-03-06T20:34:01.651Z] 4cf88f913ddb: Pulling fs layer [2020-03-06T20:34:01.651Z] 1df406cf5192: Pulling fs layer [2020-03-06T20:34:01.651Z] cd6300453558: Pulling fs layer [2020-03-06T20:34:01.651Z] b9c365052c96: Pulling fs layer [2020-03-06T20:34:01.651Z] 8a11ddd9e578: Waiting [2020-03-06T20:34:01.651Z] 4cf88f913ddb: Waiting [2020-03-06T20:34:01.651Z] 1df406cf5192: Waiting [2020-03-06T20:34:01.651Z] cd6300453558: Waiting [2020-03-06T20:34:01.651Z] b9c365052c96: Waiting [2020-03-06T20:34:01.651Z] a2d8cc88f415: Pulling fs layer [2020-03-06T20:34:01.651Z] ea1d1ca13537: Pulling fs layer [2020-03-06T20:34:01.651Z] 3750a50a1c5e: Pulling fs layer [2020-03-06T20:34:01.651Z] a2d8cc88f415: Waiting [2020-03-06T20:34:01.651Z] ea1d1ca13537: Waiting [2020-03-06T20:34:01.651Z] 3750a50a1c5e: Waiting [2020-03-06T20:34:01.651Z] 777b28850792: Verifying Checksum [2020-03-06T20:34:01.651Z] 777b28850792: Download complete [2020-03-06T20:34:01.651Z] 2a23fa8c16f7: Download complete [2020-03-06T20:34:01.651Z] 4cf88f913ddb: Verifying Checksum [2020-03-06T20:34:01.651Z] 4cf88f913ddb: Download complete [2020-03-06T20:34:01.651Z] 1df406cf5192: Verifying Checksum [2020-03-06T20:34:01.651Z] 1df406cf5192: Download complete [2020-03-06T20:34:01.925Z] cde5963f3b93: Verifying Checksum [2020-03-06T20:34:01.925Z] cde5963f3b93: Download complete [2020-03-06T20:34:02.897Z] cde5963f3b93: Pull complete [2020-03-06T20:34:03.490Z] 2a23fa8c16f7: Pull complete [2020-03-06T20:34:03.760Z] 777b28850792: Pull complete [2020-03-06T20:34:06.365Z] cd6300453558: Verifying Checksum [2020-03-06T20:34:06.365Z] cd6300453558: Download complete [2020-03-06T20:34:06.365Z] a2d8cc88f415: Verifying Checksum [2020-03-06T20:34:06.365Z] a2d8cc88f415: Download complete [2020-03-06T20:34:08.323Z] ea1d1ca13537: Verifying Checksum [2020-03-06T20:34:08.323Z] ea1d1ca13537: Download complete [2020-03-06T20:34:08.593Z] 3750a50a1c5e: Verifying Checksum [2020-03-06T20:34:08.593Z] 3750a50a1c5e: Download complete [2020-03-06T20:34:11.943Z] b9c365052c96: Verifying Checksum [2020-03-06T20:34:11.943Z] b9c365052c96: Download complete [2020-03-06T20:34:13.361Z] 8a11ddd9e578: Verifying Checksum [2020-03-06T20:34:13.361Z] 8a11ddd9e578: Download complete [2020-03-06T20:34:25.698Z] 8a11ddd9e578: Pull complete [2020-03-06T20:34:25.698Z] 4cf88f913ddb: Pull complete [2020-03-06T20:34:25.698Z] 1df406cf5192: Pull complete [2020-03-06T20:34:29.058Z] cd6300453558: Pull complete [2020-03-06T20:34:33.335Z] b9c365052c96: Pull complete [2020-03-06T20:34:33.335Z] a2d8cc88f415: Pull complete [2020-03-06T20:34:35.291Z] ea1d1ca13537: Pull complete [2020-03-06T20:34:35.561Z] 3750a50a1c5e: Pull complete [2020-03-06T20:34:35.831Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-03-06T20:34:35.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-03-06T20:34:35.831Z] ---> 78745c68409d [2020-03-06T20:34:35.831Z] Step 3/7 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-03-06T20:34:40.115Z] ---> Running in 15ddeee8ad5b [2020-03-06T20:34:40.384Z] Removing intermediate container 15ddeee8ad5b [2020-03-06T20:34:40.385Z] ---> f4ecd2394780 [2020-03-06T20:34:40.385Z] Step 4/7 : RUN apk add --update --no-cache zeromq-dev bash [2020-03-06T20:34:40.385Z] ---> Running in bea83b086594 [2020-03-06T20:34:41.351Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-03-06T20:34:42.309Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-03-06T20:34:43.268Z] (1/5) Installing libsodium (1.0.18-r0) [2020-03-06T20:34:43.535Z] (2/5) Installing libzmq (4.3.2-r0) [2020-03-06T20:34:43.801Z] (3/5) Installing pkgconf (1.6.3-r0) [2020-03-06T20:34:43.801Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-03-06T20:34:44.073Z] (5/5) Installing zeromq-dev (4.3.2-r0) [2020-03-06T20:34:44.073Z] Executing busybox-1.31.1-r8.trigger [2020-03-06T20:34:44.073Z] OK: 127 MiB in 44 packages [2020-03-06T20:34:45.488Z] Removing intermediate container bea83b086594 [2020-03-06T20:34:45.488Z] ---> 202e31972df5 [2020-03-06T20:34:45.488Z] Step 5/7 : WORKDIR /go/src/github.com/edgexfoundry [2020-03-06T20:34:45.488Z] ---> Running in dc39a2869de5 [2020-03-06T20:34:46.074Z] Removing intermediate container dc39a2869de5 [2020-03-06T20:34:46.074Z] ---> a12e19054b04 [2020-03-06T20:34:46.074Z] Step 6/7 : COPY go.mod . [2020-03-06T20:34:46.660Z] ---> ce8d92969ca6 [2020-03-06T20:34:46.660Z] Step 7/7 : RUN go mod download [2020-03-06T20:34:46.931Z] ---> Running in aa667a4ce4be [2020-03-06T20:34:48.351Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-03-06T20:34:48.351Z] go: finding github.com/eclipse/paho.mqtt.golang v1.2.0 [2020-03-06T20:34:48.351Z] go: finding github.com/pebbe/zmq4 v1.0.0 [2020-03-06T20:34:48.351Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-03-06T20:34:48.351Z] go: finding github.com/stretchr/objx v0.1.0 [2020-03-06T20:34:48.351Z] go: finding github.com/stretchr/testify v1.3.0 [2020-03-06T20:34:48.351Z] go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2020-03-06T20:34:48.351Z] go: finding golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 [2020-03-06T20:34:48.351Z] go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a [2020-03-06T20:34:48.351Z] go: finding golang.org/x/text v0.3.0 [2020-03-06T20:34:56.577Z] Removing intermediate container aa667a4ce4be [2020-03-06T20:34:56.577Z] ---> dec4b362218e [2020-03-06T20:34:56.577Z] Successfully built dec4b362218e [2020-03-06T20:34:56.577Z] 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-06T20:34:57.414Z] + docker inspect -f . ci-base-image-arm64 [2020-03-06T20:34:57.683Z] . [Pipeline] withDockerContainer [2020-03-06T20:34:58.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-2815 does not seem to be running inside a container [2020-03-06T20:34:58.109Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-03-06T20:34:59.578Z] $ docker top 3983ee0241ffb771cf327433e0ca6ea62c1c4de59aa89f42bacd51514ed9c916 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-03-06T20:35:02.235Z] + go version [2020-03-06T20:35:02.235Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-03-06T20:35:02.919Z] + make test [2020-03-06T20:35:02.919Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-03-06T20:35:15.348Z] ? github.com/edgexfoundry/go-mod-messaging/internal/pkg [no test files] [2020-03-06T20:35:25.501Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/mqtt 0.069s coverage: 96.0% of statements [2020-03-06T20:35:52.215Z] ok github.com/edgexfoundry/go-mod-messaging/internal/pkg/zeromq 20.390s coverage: 83.8% of statements [2020-03-06T20:35:52.215Z] ok github.com/edgexfoundry/go-mod-messaging/messaging 0.023s coverage: 100.0% of statements [2020-03-06T20:35:52.215Z] ok github.com/edgexfoundry/go-mod-messaging/messaging/mqtt 0.034s coverage: 100.0% of statements [2020-03-06T20:35:52.215Z] ok github.com/edgexfoundry/go-mod-messaging/pkg/types 0.024s coverage: 90.9% of statements [2020-03-06T20:35:52.215Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-03-06T20:35:52.215Z] gofmt -l . [2020-03-06T20:35:52.215Z] [ "`gofmt -l .`" = "" ] [Pipeline] stash [2020-03-06T20:35:52.229Z] Warning: overwriting stash ‘coverage-report’ [2020-03-06T20:35:52.598Z] Stashed 1 file(s) [Pipeline] } [2020-03-06T20:35:52.606Z] $ docker stop --time=1 3983ee0241ffb771cf327433e0ca6ea62c1c4de59aa89f42bacd51514ed9c916 [2020-03-06T20:35:54.781Z] $ docker rm -f 3983ee0241ffb771cf327433e0ca6ea62c1c4de59aa89f42bacd51514ed9c916 [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-06T20:35:56.722Z] provisioning config files... [2020-03-06T20:35:56.735Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config1306167178330113430tmp [Pipeline] { [Pipeline] sh [2020-03-06T20:35:57.087Z] + curl -s https://codecov.io/bash [2020-03-06T20:35:57.087Z] + bash -s - -t @/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config1306167178330113430tmp [2020-03-06T20:35:57.346Z] [2020-03-06T20:35:57.346Z] _____ _ [2020-03-06T20:35:57.346Z] / ____| | | [2020-03-06T20:35:57.346Z] | | ___ __| | ___ ___ _____ __ [2020-03-06T20:35:57.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-03-06T20:35:57.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-03-06T20:35:57.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-03-06T20:35:57.346Z] Bash-20200303-bc4d7e6 [2020-03-06T20:35:57.346Z] [2020-03-06T20:35:57.346Z] [2020-03-06T20:35:57.346Z] ==> Jenkins CI detected. [2020-03-06T20:35:57.346Z] project root: . [2020-03-06T20:35:57.346Z] Fixing merge commit SHA [2020-03-06T20:35:57.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-03-06T20:35:57.346Z] ==> Running gcov in . (disable via -X gcov) [2020-03-06T20:35:57.346Z] ==> Python coveragepy not found [2020-03-06T20:35:57.346Z] ==> Searching for coverage reports in: [2020-03-06T20:35:57.346Z] + . [2020-03-06T20:35:57.346Z] -> Found 1 reports [2020-03-06T20:35:57.346Z] ==> Detecting git/mercurial file structure [2020-03-06T20:35:57.346Z] ==> Reading reports [2020-03-06T20:35:57.346Z] + ./coverage.out bytes=16797 [2020-03-06T20:35:57.346Z] ==> Appending adjustments [2020-03-06T20:35:57.346Z] http://docs.codecov.io/docs/fixing-reports [2020-03-06T20:35:57.607Z] + Found adjustments [2020-03-06T20:35:57.607Z] ==> Gzipping contents [2020-03-06T20:35:57.607Z] ==> Uploading reports [2020-03-06T20:35:57.607Z] url: https://codecov.io [2020-03-06T20:35:57.607Z] query: branch=PR-43&commit=87d9609fa25c1224d63bb58472268eba1be5cb73&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-43%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=43&job= [2020-03-06T20:35:57.607Z] -> Pinging Codecov [2020-03-06T20:35:57.607Z] https://codecov.io/upload/v4?package=bash-20200303-bc4d7e6&token=secret&branch=PR-43&commit=87d9609fa25c1224d63bb58472268eba1be5cb73&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-43%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=43&job= [2020-03-06T20:35:57.869Z] -> Uploading [2020-03-06T20:35:58.808Z] -> View reports at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/87d9609fa25c1224d63bb58472268eba1be5cb73 [Pipeline] } [2020-03-06T20:35:58.815Z] 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-06T20:35:59.981Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T20:36:00.279Z] ---> package-listing.sh [2020-03-06T20:36:00.279Z] ++ facter osfamily [2020-03-06T20:36:00.279Z] ++ tr '[:upper:]' '[:lower:]' [2020-03-06T20:36:00.279Z] + OS_FAMILY=redhat [2020-03-06T20:36:00.279Z] + workspace=/w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-03-06T20:36:00.279Z] + START_PACKAGES=/tmp/packages_start.txt [2020-03-06T20:36:00.279Z] + END_PACKAGES=/tmp/packages_end.txt [2020-03-06T20:36:00.279Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-03-06T20:36:00.279Z] + PACKAGES=/tmp/packages_start.txt [2020-03-06T20:36:00.279Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-43 ']' [2020-03-06T20:36:00.279Z] + PACKAGES=/tmp/packages_end.txt [2020-03-06T20:36:00.279Z] + case "${OS_FAMILY}" in [2020-03-06T20:36:00.279Z] + rpm -qa [2020-03-06T20:36:00.279Z] + sort [2020-03-06T20:36:04.477Z] + '[' -f /tmp/packages_start.txt ']' [2020-03-06T20:36:04.477Z] + '[' -f /tmp/packages_end.txt ']' [2020-03-06T20:36:04.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-03-06T20:36:04.478Z] + '[' /w/workspace/exfoundry_go-mod-messaging_PR-43 ']' [2020-03-06T20:36:04.478Z] + mkdir -p /w/workspace/exfoundry_go-mod-messaging_PR-43/archives/ [2020-03-06T20:36:04.478Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-messaging_PR-43/archives/ [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:36:04.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-06T20:36:04.825Z] [2020-03-06T20:36:04.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-03-06T20:36:05.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-03-06T20:36:05.173Z] alpine: Pulling from edgex-lftools-log-publisher [2020-03-06T20:36:05.173Z] c9b1b535fdd9: Pulling fs layer [2020-03-06T20:36:05.173Z] 2cc5ad85d9ab: Pulling fs layer [2020-03-06T20:36:05.173Z] 756a868c4378: Pulling fs layer [2020-03-06T20:36:05.173Z] 444b2fc9a129: Pulling fs layer [2020-03-06T20:36:05.173Z] ea15f1150254: Pulling fs layer [2020-03-06T20:36:05.173Z] 41b27a9f41bf: Pulling fs layer [2020-03-06T20:36:05.173Z] 28c525ee5125: Pulling fs layer [2020-03-06T20:36:05.173Z] 094b1ea09ed8: Pulling fs layer [2020-03-06T20:36:05.173Z] 138eaada9080: Pulling fs layer [2020-03-06T20:36:05.173Z] 0622d0fa9048: Pulling fs layer [2020-03-06T20:36:05.173Z] 41b27a9f41bf: Waiting [2020-03-06T20:36:05.173Z] 28c525ee5125: Waiting [2020-03-06T20:36:05.173Z] 094b1ea09ed8: Waiting [2020-03-06T20:36:05.173Z] 138eaada9080: Waiting [2020-03-06T20:36:05.173Z] 0622d0fa9048: Waiting [2020-03-06T20:36:05.173Z] 444b2fc9a129: Waiting [2020-03-06T20:36:05.173Z] ea15f1150254: Waiting [2020-03-06T20:36:05.173Z] 2cc5ad85d9ab: Verifying Checksum [2020-03-06T20:36:05.173Z] 2cc5ad85d9ab: Download complete [2020-03-06T20:36:05.173Z] 444b2fc9a129: Verifying Checksum [2020-03-06T20:36:05.173Z] 444b2fc9a129: Download complete [2020-03-06T20:36:05.173Z] c9b1b535fdd9: Verifying Checksum [2020-03-06T20:36:05.173Z] c9b1b535fdd9: Download complete [2020-03-06T20:36:05.173Z] ea15f1150254: Verifying Checksum [2020-03-06T20:36:05.173Z] ea15f1150254: Download complete [2020-03-06T20:36:05.441Z] 28c525ee5125: Verifying Checksum [2020-03-06T20:36:05.441Z] 28c525ee5125: Download complete [2020-03-06T20:36:05.711Z] c9b1b535fdd9: Pull complete [2020-03-06T20:36:05.711Z] 756a868c4378: Verifying Checksum [2020-03-06T20:36:05.711Z] 756a868c4378: Download complete [2020-03-06T20:36:05.711Z] 138eaada9080: Verifying Checksum [2020-03-06T20:36:05.711Z] 138eaada9080: Download complete [2020-03-06T20:36:05.711Z] 2cc5ad85d9ab: Pull complete [2020-03-06T20:36:05.711Z] 0622d0fa9048: Verifying Checksum [2020-03-06T20:36:05.711Z] 0622d0fa9048: Download complete [2020-03-06T20:36:05.982Z] 094b1ea09ed8: Verifying Checksum [2020-03-06T20:36:05.982Z] 094b1ea09ed8: Download complete [2020-03-06T20:36:06.242Z] 41b27a9f41bf: Verifying Checksum [2020-03-06T20:36:06.242Z] 41b27a9f41bf: Download complete [2020-03-06T20:36:07.619Z] 756a868c4378: Pull complete [2020-03-06T20:36:07.619Z] 444b2fc9a129: Pull complete [2020-03-06T20:36:07.883Z] ea15f1150254: Pull complete [2020-03-06T20:36:11.196Z] 41b27a9f41bf: Pull complete [2020-03-06T20:36:11.196Z] 28c525ee5125: Pull complete [2020-03-06T20:36:13.746Z] 094b1ea09ed8: Pull complete [2020-03-06T20:36:13.746Z] 138eaada9080: Pull complete [2020-03-06T20:36:13.746Z] 0622d0fa9048: Pull complete [2020-03-06T20:36:13.746Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-03-06T20:36:13.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-03-06T20:36:13.899Z] prd-centos7-docker-4c-2g-2811 does not seem to be running inside a container [2020-03-06T20:36:13.947Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/exfoundry_go-mod-messaging_PR-43 -v /w/workspace/exfoundry_go-mod-messaging_PR-43:/w/workspace/exfoundry_go-mod-messaging_PR-43:rw,z -v /w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-03-06T20:36:15.008Z] $ docker top eb46b8217db1c6e6af0fd88effb2a0cc47b2c02ac2cd110beec1bd9085a4d8b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-03-06T20:36:15.706Z] provisioning config files... [2020-03-06T20:36:15.720Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-messaging_PR-43@tmp/config5767634731269434489tmp [Pipeline] { [Pipeline] echo [2020-03-06T20:36:15.812Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T20:36:16.105Z] ---> create-netrc.sh [Pipeline] echo [2020-03-06T20:36:16.112Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-03-06T20:36:16.412Z] ---> logs-deploy.sh [2020-03-06T20:36:16.412Z] + ARCHIVE_ARTIFACTS= [2020-03-06T20:36:16.412Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-03-06T20:36:16.412Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-03-06T20:36:16.412Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-03-06T20:36:16.412Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/3 [2020-03-06T20:36:16.412Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-43/3/ [2020-03-06T20:36:16.412Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/3 /w/workspace/exfoundry_go-mod-messaging_PR-43 [2020-03-06T20:36:17.794Z] Archives upload complete. [2020-03-06T20:36:17.794Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-43/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/go-mod-messaging/job/PR-43/3/