Pull request #141 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 674a7330713f74ab51fe32a0624dea4b4cdf88e1+a379864c4ca603a3f217526d4d7ed89d41ad0b38 (cc087c481fa2011c856fb102af402362820f9e3c) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-141/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13] ========================================================= [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: device-mqtt-go-settings PROJECT: device-mqtt-go 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-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4856 in /w/workspace/gexfoundry_device-mqtt-go_PR-141 [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/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-141 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit 674a7330713f74ab51fe32a0624dea4b4cdf88e1 Merge succeeded, producing 674a7330713f74ab51fe32a0624dea4b4cdf88e1 Checking out Revision 674a7330713f74ab51fe32a0624dea4b4cdf88e1 (PR-141) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/141/head:refs/remotes/origin/PR-141 # 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/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # 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 a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 Commit message: "Upgrade to the latest SDK and associated files" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-20T03:22:50.577Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-20T03:22:50.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-20T03:22:51.054Z] ========================================================= [2020-04-20T03:22:51.054Z] EdgeX Global Pipelines Version Info [2020-04-20T03:22:51.054Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-20T03:22:52.448Z] ------------------- [2020-04-20T03:22:52.448Z] stable info: [2020-04-20T03:22:52.448Z] ------------------- [2020-04-20T03:22:52.448Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-20T03:22:52.448Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T03:22:52.448Z] Message: update stable to v1.0.73 [2020-04-20T03:22:53.014Z] ------------------- [2020-04-20T03:22:53.014Z] experimental info: [2020-04-20T03:22:53.014Z] ------------------- [2020-04-20T03:22:53.014Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-20T03:22:53.014Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-20T03:22:53.014Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:22:55.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T03:22:55.425Z] [2020-04-20T03:22:55.425Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:22:55.801Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-20T03:22:55.801Z] latest: Pulling from edgex-devops/git-semver [2020-04-20T03:22:55.801Z] 9123ac7c32f7: Pulling fs layer [2020-04-20T03:22:55.801Z] b8cc5d1170e3: Pulling fs layer [2020-04-20T03:22:55.801Z] 2924cbbf6a41: Pulling fs layer [2020-04-20T03:22:55.801Z] 93b08a4f1073: Pulling fs layer [2020-04-20T03:22:55.801Z] 93b08a4f1073: Waiting [2020-04-20T03:22:55.801Z] b8cc5d1170e3: Download complete [2020-04-20T03:22:55.801Z] 9123ac7c32f7: Verifying Checksum [2020-04-20T03:22:55.801Z] 9123ac7c32f7: Download complete [2020-04-20T03:22:56.060Z] 93b08a4f1073: Verifying Checksum [2020-04-20T03:22:56.060Z] 93b08a4f1073: Download complete [2020-04-20T03:22:56.060Z] 2924cbbf6a41: Verifying Checksum [2020-04-20T03:22:56.060Z] 2924cbbf6a41: Download complete [2020-04-20T03:22:56.060Z] 9123ac7c32f7: Pull complete [2020-04-20T03:22:56.319Z] b8cc5d1170e3: Pull complete [2020-04-20T03:22:56.888Z] 2924cbbf6a41: Pull complete [2020-04-20T03:22:57.146Z] 93b08a4f1073: Pull complete [2020-04-20T03:22:57.146Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-20T03:22:57.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-20T03:22:57.286Z] prd-centos7-docker-4c-2g-4856 does not seem to be running inside a container [2020-04-20T03:22:57.328Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-141 -v /w/workspace/gexfoundry_device-mqtt-go_PR-141:/w/workspace/gexfoundry_device-mqtt-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-20T03:22:57.961Z] $ docker top 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-20T03:22:58.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T03:22:58.350Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T03:22:58.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T03:22:58.580Z] $ docker exec 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent [2020-04-20T03:22:58.749Z] SSH_AUTH_SOCK=/tmp/ssh-OoTRdsStyDR5/agent.14 [2020-04-20T03:22:58.749Z] SSH_AGENT_PID=21 [2020-04-20T03:22:58.761Z] Running ssh-add (command line suppressed) [2020-04-20T03:22:58.900Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/private_key_43706454618458733.key (/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/private_key_43706454618458733.key) [2020-04-20T03:22:58.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T03:22:59.314Z] + git describe --exact-match --tags HEAD [2020-04-20T03:22:59.314Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-20T03:22:59.390Z] $ docker exec --env ******** --env ******** 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent -k [2020-04-20T03:22:59.541Z] unset SSH_AUTH_SOCK; [2020-04-20T03:22:59.542Z] unset SSH_AGENT_PID; [2020-04-20T03:22:59.542Z] echo Agent pid 21 killed; [2020-04-20T03:22:59.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-20T03:22:59.720Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-20T03:22:59.720Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-20T03:22:59.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-20T03:22:59.811Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-20T03:22:59.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-20T03:22:59.992Z] $ docker exec 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent [2020-04-20T03:23:00.170Z] SSH_AUTH_SOCK=/tmp/ssh-KC2f9lUxYlyD/agent.55 [2020-04-20T03:23:00.170Z] SSH_AGENT_PID=61 [2020-04-20T03:23:00.175Z] Running ssh-add (command line suppressed) [2020-04-20T03:23:00.344Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/private_key_2008097718433798848.key (/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/private_key_2008097718433798848.key) [2020-04-20T03:23:00.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-20T03:23:00.769Z] + git semver init [2020-04-20T03:23:00.769Z] # -> Open(): unable to determine branch for HEAD [2020-04-20T03:23:00.769Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-141/.git [2020-04-20T03:23:00.769Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-141 [2020-04-20T03:23:00.769Z] # $SEMVER_REMOTE_NAME = origin [2020-04-20T03:23:00.769Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-20T03:23:00.769Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-20T03:23:00.769Z] # $SEMVER_BRANCH = PR-141 [2020-04-20T03:23:00.769Z] # $SEMVER_TEMP = /tmp/semver-408284968 [2020-04-20T03:23:00.769Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-04-20T03:23:01.029Z] # '/tmp/semver-408284968' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-141/.semver' [2020-04-20T03:23:01.029Z] # -> Force: false [2020-04-20T03:23:01.029Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-141/.semver [Pipeline] } [2020-04-20T03:23:01.050Z] $ docker exec --env ******** --env ******** 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent -k [2020-04-20T03:23:01.180Z] unset SSH_AUTH_SOCK; [2020-04-20T03:23:01.180Z] unset SSH_AGENT_PID; [2020-04-20T03:23:01.180Z] echo Agent pid 61 killed; [2020-04-20T03:23:01.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-20T03:23:01.752Z] + git semver [Pipeline] } [2020-04-20T03:23:01.787Z] $ docker stop --time=1 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 [2020-04-20T03:23:03.418Z] $ docker rm -f 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-20T03:23:04.212Z] Stashed 21 file(s) [Pipeline] echo [2020-04-20T03:23:04.227Z] [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-20T03:23:19.694Z] Still waiting to schedule task [2020-04-20T03:23:19.694Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-20T03:23:19.720Z] Still waiting to schedule task [2020-04-20T03:23:19.720Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-20T03:25:07.738Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4857 in /w/workspace/gexfoundry_device-mqtt-go_PR-141 [Pipeline] { [Pipeline] ws [2020-04-20T03:25:07.820Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-04-20T03:25:13.838Z] using credential edgex-jenkins-ssh [2020-04-20T03:25:13.884Z] Cloning the remote Git repository [2020-04-20T03:25:13.884Z] Cloning with configured refspecs honoured and without tags [2020-04-20T03:25:13.972Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:14.066Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-04-20T03:25:14.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:14.151Z] > git --version # timeout=10 [2020-04-20T03:25:14.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:14.239Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:15.100Z] Fetching without tags [2020-04-20T03:25:14.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-20T03:25:15.003Z] > git config --add remote.origin.fetch +refs/pull/141/head:refs/remotes/origin/PR-141 # timeout=10 [2020-04-20T03:25:15.036Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:15.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-20T03:25:15.137Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:15.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:15.159Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:15.652Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit 674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:25:16.065Z] Merge succeeded, producing 674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:25:16.065Z] Checking out Revision 674a7330713f74ab51fe32a0624dea4b4cdf88e1 (PR-141) [2020-04-20T03:25:15.694Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T03:25:15.730Z] > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 [2020-04-20T03:25:15.831Z] > git remote # timeout=10 [2020-04-20T03:25:15.853Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T03:25:15.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:15.901Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-20T03:25:15.940Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T03:25:16.096Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T03:25:16.178Z] > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 [2020-04-20T03:25:20.815Z] Commit message: "Upgrade to the latest SDK and associated files" [2020-04-20T03:25:20.891Z] > git --version # timeout=10 [2020-04-20T03:25:20.942Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-04-20T03:25:21.566Z] Running on prd-centos7-docker-4c-2g-4858 in /w/workspace/gexfoundry_device-mqtt-go_PR-141 [Pipeline] { [Pipeline] ws [2020-04-20T03:25:21.659Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-20T03:25:22.265Z] ========================================================= [2020-04-20T03:25:22.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-20T03:25:22.265Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:25:23.361Z] + 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-20T03:25:24.333Z] Sending build context to Docker daemon 546.8kB [2020-04-20T03:25:24.333Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-20T03:25:24.333Z] Step 2/8 : FROM ${BASE} [2020-04-20T03:25:24.998Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-20T03:25:24.998Z] cde5963f3b93: Pulling fs layer [2020-04-20T03:25:24.998Z] 2a23fa8c16f7: Pulling fs layer [2020-04-20T03:25:24.998Z] 777b28850792: Pulling fs layer [2020-04-20T03:25:24.998Z] 8a11ddd9e578: Pulling fs layer [2020-04-20T03:25:24.998Z] 4cf88f913ddb: Pulling fs layer [2020-04-20T03:25:24.998Z] 1df406cf5192: Pulling fs layer [2020-04-20T03:25:24.998Z] cd6300453558: Pulling fs layer [2020-04-20T03:25:24.998Z] b9c365052c96: Pulling fs layer [2020-04-20T03:25:24.998Z] a2d8cc88f415: Pulling fs layer [2020-04-20T03:25:24.998Z] ea1d1ca13537: Pulling fs layer [2020-04-20T03:25:24.998Z] 3750a50a1c5e: Pulling fs layer [2020-04-20T03:25:24.998Z] 8a11ddd9e578: Waiting [2020-04-20T03:25:24.998Z] 4cf88f913ddb: Waiting [2020-04-20T03:25:24.998Z] 1df406cf5192: Waiting [2020-04-20T03:25:24.998Z] cd6300453558: Waiting [2020-04-20T03:25:24.998Z] b9c365052c96: Waiting [2020-04-20T03:25:24.998Z] a2d8cc88f415: Waiting [2020-04-20T03:25:24.998Z] ea1d1ca13537: Waiting [2020-04-20T03:25:24.998Z] 3750a50a1c5e: Waiting [2020-04-20T03:25:24.998Z] 777b28850792: Verifying Checksum [2020-04-20T03:25:24.998Z] 777b28850792: Download complete [2020-04-20T03:25:24.998Z] 2a23fa8c16f7: Verifying Checksum [2020-04-20T03:25:24.998Z] 2a23fa8c16f7: Download complete [2020-04-20T03:25:24.998Z] 4cf88f913ddb: Verifying Checksum [2020-04-20T03:25:24.998Z] 4cf88f913ddb: Download complete [2020-04-20T03:25:24.998Z] 1df406cf5192: Verifying Checksum [2020-04-20T03:25:24.998Z] 1df406cf5192: Download complete [2020-04-20T03:25:24.998Z] cde5963f3b93: Verifying Checksum [2020-04-20T03:25:24.998Z] cde5963f3b93: Download complete [2020-04-20T03:25:25.801Z] using credential edgex-jenkins-ssh [2020-04-20T03:25:25.843Z] Cloning the remote Git repository [2020-04-20T03:25:25.843Z] Cloning with configured refspecs honoured and without tags [2020-04-20T03:25:25.972Z] cde5963f3b93: Pull complete [2020-04-20T03:25:25.157Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:25.197Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-04-20T03:25:25.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:25.248Z] > git --version # timeout=10 [2020-04-20T03:25:25.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:25.285Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:26.471Z] Fetching without tags [2020-04-20T03:25:26.566Z] 2a23fa8c16f7: Pull complete [2020-04-20T03:25:26.827Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit 674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:25:26.837Z] 777b28850792: Pull complete [2020-04-20T03:25:26.905Z] Merge succeeded, producing 674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:25:26.906Z] Checking out Revision 674a7330713f74ab51fe32a0624dea4b4cdf88e1 (PR-141) [2020-04-20T03:25:25.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-20T03:25:25.783Z] > git config --add remote.origin.fetch +refs/pull/141/head:refs/remotes/origin/PR-141 # timeout=10 [2020-04-20T03:25:25.789Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:25.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-20T03:25:25.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-20T03:25:25.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:25.818Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-20T03:25:26.201Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T03:25:26.209Z] > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 [2020-04-20T03:25:26.246Z] > git remote # timeout=10 [2020-04-20T03:25:26.251Z] > git config --get remote.origin.url # timeout=10 [2020-04-20T03:25:26.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-20T03:25:26.261Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-20T03:25:26.270Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-20T03:25:26.280Z] > git config core.sparsecheckout # timeout=10 [2020-04-20T03:25:26.285Z] > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 [2020-04-20T03:25:28.800Z] cd6300453558: Verifying Checksum [2020-04-20T03:25:28.800Z] cd6300453558: Download complete [2020-04-20T03:25:28.800Z] a2d8cc88f415: Verifying Checksum [2020-04-20T03:25:28.800Z] a2d8cc88f415: Download complete [2020-04-20T03:25:30.484Z] Commit message: "Upgrade to the latest SDK and associated files" [2020-04-20T03:25:30.182Z] > git --version # timeout=10 [2020-04-20T03:25:30.191Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-20T03:25:31.428Z] ea1d1ca13537: Verifying Checksum [2020-04-20T03:25:31.428Z] ea1d1ca13537: Download complete [Pipeline] echo [2020-04-20T03:25:31.469Z] ========================================================= [2020-04-20T03:25:31.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-20T03:25:31.469Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:25:31.708Z] 3750a50a1c5e: Download complete [2020-04-20T03:25:32.201Z] + 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-20T03:25:32.467Z] Sending build context to Docker daemon 546.8kB [2020-04-20T03:25:32.467Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-20T03:25:32.467Z] Step 2/8 : FROM ${BASE} [2020-04-20T03:25:32.467Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-20T03:25:32.467Z] e6b0cf9c0882: Pulling fs layer [2020-04-20T03:25:32.467Z] 2848faf0eed1: Pulling fs layer [2020-04-20T03:25:32.467Z] 0f37312ad70f: Pulling fs layer [2020-04-20T03:25:32.467Z] 5788d62ee057: Pulling fs layer [2020-04-20T03:25:32.467Z] 0e6b1d234666: Pulling fs layer [2020-04-20T03:25:32.467Z] bf5d7aec512f: Pulling fs layer [2020-04-20T03:25:32.467Z] 34c802a77dc8: Pulling fs layer [2020-04-20T03:25:32.467Z] 9eb99e56ec68: Pulling fs layer [2020-04-20T03:25:32.467Z] 27c7a5d97fbd: Pulling fs layer [2020-04-20T03:25:32.467Z] 5c102a31e300: Pulling fs layer [2020-04-20T03:25:32.467Z] dcfb455df0a1: Pulling fs layer [2020-04-20T03:25:32.467Z] 5788d62ee057: Waiting [2020-04-20T03:25:32.467Z] 0e6b1d234666: Waiting [2020-04-20T03:25:32.467Z] bf5d7aec512f: Waiting [2020-04-20T03:25:32.467Z] 34c802a77dc8: Waiting [2020-04-20T03:25:32.467Z] 5c102a31e300: Waiting [2020-04-20T03:25:32.467Z] 9eb99e56ec68: Waiting [2020-04-20T03:25:32.467Z] dcfb455df0a1: Waiting [2020-04-20T03:25:32.467Z] 27c7a5d97fbd: Waiting [2020-04-20T03:25:32.467Z] 0f37312ad70f: Verifying Checksum [2020-04-20T03:25:32.467Z] 0f37312ad70f: Download complete [2020-04-20T03:25:32.467Z] 2848faf0eed1: Verifying Checksum [2020-04-20T03:25:32.467Z] 2848faf0eed1: Download complete [2020-04-20T03:25:32.467Z] 0e6b1d234666: Verifying Checksum [2020-04-20T03:25:32.467Z] 0e6b1d234666: Download complete [2020-04-20T03:25:32.467Z] bf5d7aec512f: Verifying Checksum [2020-04-20T03:25:32.467Z] bf5d7aec512f: Download complete [2020-04-20T03:25:32.467Z] e6b0cf9c0882: Verifying Checksum [2020-04-20T03:25:32.467Z] e6b0cf9c0882: Download complete [2020-04-20T03:25:33.056Z] e6b0cf9c0882: Pull complete [2020-04-20T03:25:33.635Z] 34c802a77dc8: Verifying Checksum [2020-04-20T03:25:33.635Z] 34c802a77dc8: Download complete [2020-04-20T03:25:33.635Z] 27c7a5d97fbd: Verifying Checksum [2020-04-20T03:25:33.635Z] 27c7a5d97fbd: Download complete [2020-04-20T03:25:34.214Z] 5c102a31e300: Verifying Checksum [2020-04-20T03:25:34.214Z] 5c102a31e300: Download complete [2020-04-20T03:25:34.214Z] dcfb455df0a1: Verifying Checksum [2020-04-20T03:25:34.214Z] dcfb455df0a1: Download complete [2020-04-20T03:25:34.309Z] b9c365052c96: Verifying Checksum [2020-04-20T03:25:34.309Z] b9c365052c96: Download complete [2020-04-20T03:25:34.477Z] 9eb99e56ec68: Verifying Checksum [2020-04-20T03:25:34.477Z] 9eb99e56ec68: Download complete [2020-04-20T03:25:34.477Z] 5788d62ee057: Verifying Checksum [2020-04-20T03:25:34.477Z] 5788d62ee057: Download complete [2020-04-20T03:25:35.415Z] 2848faf0eed1: Pull complete [2020-04-20T03:25:35.675Z] 0f37312ad70f: Pull complete [2020-04-20T03:25:35.724Z] 8a11ddd9e578: Verifying Checksum [2020-04-20T03:25:35.724Z] 8a11ddd9e578: Download complete [2020-04-20T03:25:42.261Z] 5788d62ee057: Pull complete [2020-04-20T03:25:42.261Z] 0e6b1d234666: Pull complete [2020-04-20T03:25:42.261Z] bf5d7aec512f: Pull complete [2020-04-20T03:25:45.556Z] 34c802a77dc8: Pull complete [2020-04-20T03:25:48.066Z] 8a11ddd9e578: Pull complete [2020-04-20T03:25:48.066Z] 4cf88f913ddb: Pull complete [2020-04-20T03:25:48.066Z] 1df406cf5192: Pull complete [2020-04-20T03:25:48.849Z] 9eb99e56ec68: Pull complete [2020-04-20T03:25:49.109Z] 27c7a5d97fbd: Pull complete [2020-04-20T03:25:50.047Z] 5c102a31e300: Pull complete [2020-04-20T03:25:50.047Z] dcfb455df0a1: Pull complete [2020-04-20T03:25:50.047Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-20T03:25:50.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-20T03:25:50.047Z] ---> 7c70fe431013 [2020-04-20T03:25:50.047Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-20T03:25:50.047Z] ---> Running in 3db26b71bcd1 [2020-04-20T03:25:50.305Z] Removing intermediate container 3db26b71bcd1 [2020-04-20T03:25:50.305Z] ---> 9c59db94ffd8 [2020-04-20T03:25:50.305Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T03:25:50.305Z] ---> Running in 4f8dce714b89 [2020-04-20T03:25:51.248Z] Removing intermediate container 4f8dce714b89 [2020-04-20T03:25:51.248Z] ---> ac3d3f282224 [2020-04-20T03:25:51.248Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-20T03:25:51.248Z] ---> Running in efcf6c193fcd [2020-04-20T03:25:52.189Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T03:25:52.339Z] cd6300453558: Pull complete [2020-04-20T03:25:53.620Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T03:25:54.562Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:25:55.506Z] (2/17) Installing libmagic (5.37-r1) [2020-04-20T03:25:55.765Z] (3/17) Installing file (5.37-r1) [2020-04-20T03:25:55.765Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:25:56.025Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:25:56.026Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:25:56.620Z] b9c365052c96: Pull complete [2020-04-20T03:25:57.212Z] a2d8cc88f415: Pull complete [2020-04-20T03:25:59.172Z] ea1d1ca13537: Pull complete [2020-04-20T03:25:59.440Z] 3750a50a1c5e: Pull complete [2020-04-20T03:25:59.440Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-20T03:25:59.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-20T03:25:59.440Z] ---> 78745c68409d [2020-04-20T03:25:59.440Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-20T03:26:03.725Z] ---> Running in e34e66b25ee1 [2020-04-20T03:26:04.314Z] Removing intermediate container e34e66b25ee1 [2020-04-20T03:26:04.314Z] ---> 0a8d7980baf0 [2020-04-20T03:26:04.314Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T03:26:04.314Z] ---> Running in 8af7ccf4d577 [2020-04-20T03:26:06.912Z] Removing intermediate container 8af7ccf4d577 [2020-04-20T03:26:06.912Z] ---> 199d891124c7 [2020-04-20T03:26:06.912Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-20T03:26:06.912Z] ---> Running in a219c162c854 [2020-04-20T03:26:07.495Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T03:26:08.912Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T03:26:09.497Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:26:09.497Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:26:10.080Z] (3/18) Installing libmagic (5.37-r1) [2020-04-20T03:26:10.666Z] (4/18) Installing file (5.37-r1) [2020-04-20T03:26:10.666Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:26:10.931Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:26:10.931Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-20T03:26:52.271Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-20T03:26:52.272Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-20T03:27:18.914Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-20T03:27:18.915Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-20T03:27:31.008Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-20T03:27:31.008Z] (10/17) Installing build-base (0.5-r1) [2020-04-20T03:27:31.008Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-20T03:27:31.267Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-20T03:27:31.267Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-20T03:27:33.172Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-20T03:27:33.172Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-20T03:27:33.433Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-20T03:27:33.691Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-20T03:27:34.630Z] Executing busybox-1.31.1-r8.trigger [2020-04-20T03:27:34.630Z] OK: 214 MiB in 52 packages [2020-04-20T03:27:37.939Z] Removing intermediate container efcf6c193fcd [2020-04-20T03:27:37.939Z] ---> 1473d4ee5da3 [2020-04-20T03:27:37.939Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-20T03:27:37.939Z] ---> Running in f4d00c1eb0e7 [2020-04-20T03:27:38.198Z] Removing intermediate container f4d00c1eb0e7 [2020-04-20T03:27:38.198Z] ---> f4c4f93579f6 [2020-04-20T03:27:38.198Z] Step 7/8 : COPY . . [2020-04-20T03:27:38.460Z] ---> 545f67881d73 [2020-04-20T03:27:38.460Z] Step 8/8 : RUN go mod download [2020-04-20T03:27:38.460Z] ---> Running in 9d119e66c596 [2020-04-20T03:27:41.755Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T03:27:41.755Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T03:27:41.755Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T03:27:41.755Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T03:27:41.755Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T03:27:41.755Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T03:27:41.755Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T03:27:41.755Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T03:27:41.755Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T03:27:41.755Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T03:27:41.755Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T03:27:41.755Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T03:27:41.755Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T03:27:41.755Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T03:27:41.755Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T03:27:41.756Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T03:27:41.756Z] go: finding github.com/google/uuid v1.1.1 [2020-04-20T03:27:41.756Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T03:27:41.756Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T03:27:42.014Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T03:27:42.273Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T03:27:42.273Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T03:27:42.273Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-20T03:27:42.532Z] go: finding github.com/kr/pty v1.1.1 [2020-04-20T03:27:42.532Z] go: finding github.com/kr/text v0.1.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T03:27:42.532Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T03:27:42.532Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T03:27:42.532Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T03:27:42.794Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T03:27:42.794Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T03:27:42.794Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T03:27:42.794Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T03:27:42.794Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T03:27:42.794Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T03:27:42.794Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T03:27:42.794Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T03:27:42.794Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-20T03:27:43.054Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T03:27:43.054Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T03:27:43.054Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T03:27:43.054Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T03:27:43.054Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T03:27:43.054Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-20T03:27:43.054Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T03:27:43.314Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T03:27:43.314Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-20T03:27:43.314Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-20T03:27:43.314Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T03:27:47.528Z] Removing intermediate container 9d119e66c596 [2020-04-20T03:27:47.528Z] ---> 6024a109e285 [2020-04-20T03:27:47.528Z] Successfully built 6024a109e285 [2020-04-20T03:27:47.528Z] 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-20T03:27:48.348Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-20T03:27:48.348Z] . [Pipeline] withDockerContainer [2020-04-20T03:27:48.490Z] prd-centos7-docker-4c-2g-4858 does not seem to be running inside a container [2020-04-20T03:27:48.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-20T03:27:49.103Z] $ docker top 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T03:27:49.645Z] + go version [2020-04-20T03:27:49.645Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-20T03:27:49.957Z] + make test [2020-04-20T03:27:49.957Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-20T03:27:50.905Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-20T03:27:58.033Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-20T03:27:58.033Z] (11/18) Installing build-base (0.5-r1) [2020-04-20T03:27:58.033Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-20T03:27:58.033Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-20T03:27:58.300Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-20T03:28:00.877Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-20T03:28:00.877Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-20T03:28:00.877Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-20T03:28:01.456Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-20T03:28:01.727Z] Executing busybox-1.31.1-r8.trigger [2020-04-20T03:28:01.727Z] OK: 203 MiB in 52 packages [2020-04-20T03:28:03.209Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-20T03:28:03.209Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 29.8% of statements [2020-04-20T03:28:03.209Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-20T03:28:03.209Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T03:28:05.134Z] gofmt -l . [2020-04-20T03:28:05.134Z] ["`gofmt -l .`" = ""] [2020-04-20T03:28:05.134Z] ./bin/test-attribution-txt.sh [2020-04-20T03:28:05.703Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-20T03:28:06.379Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T03:28:06.393Z] $ docker stop --time=1 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 [2020-04-20T03:28:08.387Z] Removing intermediate container a219c162c854 [2020-04-20T03:28:08.387Z] ---> 5f6c623ad0bc [2020-04-20T03:28:08.387Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-20T03:28:08.387Z] ---> Running in 69e2e0c72050 [2020-04-20T03:28:08.387Z] Removing intermediate container 69e2e0c72050 [2020-04-20T03:28:08.387Z] ---> 1b8f4a8e0b3f [2020-04-20T03:28:08.387Z] Step 7/8 : COPY . . [2020-04-20T03:28:08.654Z] ---> f854c732b5d9 [2020-04-20T03:28:08.654Z] Step 8/8 : RUN go mod download [2020-04-20T03:28:08.813Z] $ docker rm -f 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 [2020-04-20T03:28:08.928Z] ---> Running in 01a1725e0a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T03:28:10.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T03:28:10.736Z] + ls -al . [2020-04-20T03:28:10.736Z] total 92 [2020-04-20T03:28:10.736Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 20 03:28 . [2020-04-20T03:28:10.736Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 03:25 .. [2020-04-20T03:28:10.736Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 20 03:25 bin [2020-04-20T03:28:10.736Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 03:25 cmd [2020-04-20T03:28:10.736Z] -rw-r--r--. 1 jenkins jenkins 18213 Apr 20 03:28 coverage.out [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 1614 Apr 20 03:25 Dockerfile [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 953 Apr 20 03:25 Dockerfile.build [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 03:25 .dockerignore [2020-04-20T03:28:10.736Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 03:25 .git [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 335 Apr 20 03:25 .gitignore [2020-04-20T03:28:10.736Z] -rw-r--r--. 1 jenkins jenkins 517 Apr 20 03:28 go.mod [2020-04-20T03:28:10.736Z] -rw-r--r--. 1 jenkins jenkins 13532 Apr 20 03:28 go.sum [2020-04-20T03:28:10.736Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 03:25 internal [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 679 Apr 20 03:25 Jenkinsfile [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 20 03:25 LICENSE [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 902 Apr 20 03:25 Makefile [2020-04-20T03:28:10.736Z] drwxrwxr-x. 2 jenkins jenkins 23 Apr 20 03:25 mock [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 03:25 README.md [2020-04-20T03:28:10.736Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 20 03:25 .semver [2020-04-20T03:28:10.736Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 03:25 snap [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 03:23 VERSION [2020-04-20T03:28:10.736Z] -rw-rw-r--. 1 jenkins jenkins 227 Apr 20 03:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:28:10.879Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-20T03:28:10.879Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-20T03:28:10.879Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-20T03:28:10.879Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-20T03:28:10.879Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-20T03:28:10.879Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-20T03:28:10.879Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-20T03:28:10.879Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-20T03:28:10.879Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-20T03:28:10.879Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-20T03:28:10.879Z] go: finding github.com/fatih/color v1.7.0 [2020-04-20T03:28:10.879Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-20T03:28:10.879Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-20T03:28:10.879Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-20T03:28:10.879Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-20T03:28:10.879Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-20T03:28:10.879Z] go: finding github.com/google/uuid v1.1.1 [2020-04-20T03:28:10.879Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-20T03:28:10.879Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-20T03:28:11.062Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 --label arch=amd64 --label version=0.0.0 . [2020-04-20T03:28:11.062Z] Sending build context to Docker daemon 565.8kB [2020-04-20T03:28:11.062Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-20T03:28:11.062Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-20T03:28:11.062Z] ---> 6024a109e285 [2020-04-20T03:28:11.062Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-20T03:28:11.146Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-20T03:28:11.147Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-20T03:28:11.147Z] go: finding github.com/kr/pty v1.1.1 [2020-04-20T03:28:11.147Z] go: finding github.com/kr/text v0.1.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-20T03:28:11.147Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-20T03:28:11.147Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-20T03:28:11.147Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-20T03:28:11.147Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-20T03:28:11.147Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-20T03:28:11.147Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-20T03:28:11.147Z] go: finding github.com/posener/complete v1.1.1 [2020-04-20T03:28:11.147Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-20T03:28:11.147Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-20T03:28:11.147Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-20T03:28:11.147Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-20T03:28:11.147Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-20T03:28:11.147Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-20T03:28:11.147Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-20T03:28:11.147Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-20T03:28:11.147Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-20T03:28:11.321Z] ---> Running in daf74fb24daa [2020-04-20T03:28:11.321Z] Removing intermediate container daf74fb24daa [2020-04-20T03:28:11.321Z] ---> c0e9741df72c [2020-04-20T03:28:11.321Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T03:28:11.321Z] ---> Running in fb8cb17903ef [2020-04-20T03:28:11.414Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-20T03:28:11.414Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-20T03:28:11.414Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-20T03:28:11.414Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-20T03:28:11.414Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-20T03:28:11.581Z] Removing intermediate container fb8cb17903ef [2020-04-20T03:28:11.581Z] ---> 06ba00767c7a [2020-04-20T03:28:11.581Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T03:28:11.581Z] ---> Running in 8a2146a593a7 [2020-04-20T03:28:12.148Z] Removing intermediate container 8a2146a593a7 [2020-04-20T03:28:12.148Z] ---> 27b5b70c9f2c [2020-04-20T03:28:12.148Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T03:28:12.406Z] ---> Running in 07719ff9903a [2020-04-20T03:28:12.665Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-20T03:28:14.569Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-20T03:28:17.102Z] OK: 214 MiB in 52 packages [2020-04-20T03:28:17.361Z] Removing intermediate container 07719ff9903a [2020-04-20T03:28:17.361Z] ---> 450d29b20f31 [2020-04-20T03:28:17.361Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-20T03:28:17.361Z] ---> Running in 0907e83c3e54 [2020-04-20T03:28:17.361Z] Removing intermediate container 0907e83c3e54 [2020-04-20T03:28:17.361Z] ---> a6502bd6d0d2 [2020-04-20T03:28:17.361Z] Step 8/19 : COPY . . [2020-04-20T03:28:17.621Z] ---> 5ef57af144bd [2020-04-20T03:28:17.621Z] Step 9/19 : ARG MAKE='make build' [2020-04-20T03:28:17.621Z] ---> Running in 69bc14ae6695 [2020-04-20T03:28:17.882Z] Removing intermediate container 69bc14ae6695 [2020-04-20T03:28:17.882Z] ---> 7d29b82ab606 [2020-04-20T03:28:17.882Z] Step 10/19 : RUN $MAKE [2020-04-20T03:28:17.882Z] ---> Running in 5b606f115508 [2020-04-20T03:28:18.141Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-04-20T03:28:21.519Z] Removing intermediate container 01a1725e0a33 [2020-04-20T03:28:21.519Z] ---> 8620a2532cdd [2020-04-20T03:28:21.519Z] Successfully built 8620a2532cdd [2020-04-20T03:28:21.519Z] 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-20T03:28:22.360Z] + docker inspect -f . ci-base-image-arm64 [2020-04-20T03:28:22.633Z] . [Pipeline] withDockerContainer [2020-04-20T03:28:22.997Z] prd-ubuntu18.04-docker-arm64-4c-16g-4857 does not seem to be running inside a container [2020-04-20T03:28:23.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-20T03:28:24.437Z] $ docker top e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-20T03:28:25.557Z] + go version [2020-04-20T03:28:25.557Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-20T03:28:26.241Z] + make test [2020-04-20T03:28:26.241Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-20T03:28:27.220Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-20T03:28:28.184Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-20T03:28:32.384Z] Removing intermediate container 5b606f115508 [2020-04-20T03:28:32.384Z] ---> 21311324256f [2020-04-20T03:28:32.384Z] Step 11/19 : FROM alpine [2020-04-20T03:28:32.384Z] latest: Pulling from library/alpine [2020-04-20T03:28:32.384Z] aad63a933944: Pulling fs layer [2020-04-20T03:28:32.384Z] aad63a933944: Verifying Checksum [2020-04-20T03:28:32.384Z] aad63a933944: Download complete [2020-04-20T03:28:32.384Z] aad63a933944: Pull complete [2020-04-20T03:28:32.384Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T03:28:32.384Z] Status: Downloaded newer image for alpine:latest [2020-04-20T03:28:32.384Z] ---> a187dde48cd2 [2020-04-20T03:28:32.384Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-20T03:28:32.384Z] ---> Running in 193325dbc84c [2020-04-20T03:28:32.643Z] Removing intermediate container 193325dbc84c [2020-04-20T03:28:32.643Z] ---> 745683d219ea [2020-04-20T03:28:32.643Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-20T03:28:32.643Z] ---> Running in c6bf14040998 [2020-04-20T03:28:32.643Z] Removing intermediate container c6bf14040998 [2020-04-20T03:28:32.643Z] ---> aca5b36879b8 [2020-04-20T03:28:32.643Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-20T03:28:33.211Z] ---> b247de87eb67 [2020-04-20T03:28:33.211Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-04-20T03:28:33.211Z] ---> Running in 439dfbb24ee4 [2020-04-20T03:28:33.469Z] Removing intermediate container 439dfbb24ee4 [2020-04-20T03:28:33.469Z] ---> cbb5369d4f6c [2020-04-20T03:28:33.469Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-20T03:28:33.469Z] ---> Running in 1f8324741d41 [2020-04-20T03:28:33.469Z] Removing intermediate container 1f8324741d41 [2020-04-20T03:28:33.469Z] ---> 3bffae1d8d5f [2020-04-20T03:28:33.469Z] Step 17/19 : LABEL arch=amd64 [2020-04-20T03:28:33.469Z] ---> Running in 3693533fe1f1 [2020-04-20T03:28:33.730Z] Removing intermediate container 3693533fe1f1 [2020-04-20T03:28:33.730Z] ---> 3591340f0131 [2020-04-20T03:28:33.730Z] Step 18/19 : LABEL git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:28:33.730Z] ---> Running in efbaf74ff8f3 [2020-04-20T03:28:33.990Z] Removing intermediate container efbaf74ff8f3 [2020-04-20T03:28:33.990Z] ---> f467434a7e21 [2020-04-20T03:28:33.990Z] Step 19/19 : LABEL version=0.0.0 [2020-04-20T03:28:33.990Z] ---> Running in 242685058d18 [2020-04-20T03:28:33.990Z] Removing intermediate container 242685058d18 [2020-04-20T03:28:33.990Z] ---> 5d78ba353504 [2020-04-20T03:28:33.990Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T03:28:33.990Z] Successfully built 5d78ba353504 [2020-04-20T03:28:33.990Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-20T03:28:59.476Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-20T03:29:00.065Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.027s coverage: 29.8% of statements [2020-04-20T03:29:00.065Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-20T03:29:00.653Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-20T03:29:07.334Z] gofmt -l . [2020-04-20T03:29:07.334Z] ["`gofmt -l .`" = ""] [2020-04-20T03:29:07.334Z] ./bin/test-attribution-txt.sh [2020-04-20T03:29:07.334Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-20T03:29:07.949Z] Warning: overwriting stash ‘coverage-report’ [2020-04-20T03:29:08.331Z] Stashed 1 file(s) [Pipeline] } [2020-04-20T03:29:08.358Z] $ docker stop --time=1 e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 [2020-04-20T03:29:10.603Z] $ docker rm -f e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-20T03:29:12.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-20T03:29:12.345Z] + ls -al . [2020-04-20T03:29:12.345Z] total 124 [2020-04-20T03:29:12.345Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 03:29 . [2020-04-20T03:29:12.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 03:25 .. [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 03:25 .dockerignore [2020-04-20T03:29:12.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 03:25 .git [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 335 Apr 20 03:25 .gitignore [2020-04-20T03:29:12.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 .semver [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 1614 Apr 20 03:25 Dockerfile [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 953 Apr 20 03:25 Dockerfile.build [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 679 Apr 20 03:25 Jenkinsfile [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 03:25 LICENSE [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 902 Apr 20 03:25 Makefile [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 03:25 README.md [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 03:23 VERSION [2020-04-20T03:29:12.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 03:25 bin [2020-04-20T03:29:12.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 cmd [2020-04-20T03:29:12.345Z] -rw-r--r-- 1 jenkins jenkins 18213 Apr 20 03:29 coverage.out [2020-04-20T03:29:12.345Z] -rw-r--r-- 1 jenkins jenkins 517 Apr 20 03:29 go.mod [2020-04-20T03:29:12.345Z] -rw-r--r-- 1 jenkins jenkins 13532 Apr 20 03:29 go.sum [2020-04-20T03:29:12.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 internal [2020-04-20T03:29:12.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 03:25 mock [2020-04-20T03:29:12.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 03:25 snap [2020-04-20T03:29:12.345Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 03:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:29:12.703Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 --label arch=arm64 --label version=0.0.0 . [2020-04-20T03:29:12.973Z] Sending build context to Docker daemon 565.8kB [2020-04-20T03:29:12.973Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-20T03:29:12.973Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-20T03:29:12.973Z] ---> 8620a2532cdd [2020-04-20T03:29:12.973Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-20T03:29:13.242Z] ---> Running in c02663710480 [2020-04-20T03:29:13.510Z] Removing intermediate container c02663710480 [2020-04-20T03:29:13.510Z] ---> 24701c02b1d6 [2020-04-20T03:29:13.510Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-20T03:29:13.778Z] ---> Running in a199468d2e3b [2020-04-20T03:29:14.045Z] Removing intermediate container a199468d2e3b [2020-04-20T03:29:14.045Z] ---> 3a03bc576ce3 [2020-04-20T03:29:14.045Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-20T03:29:14.315Z] ---> Running in 44d57281f9ec [2020-04-20T03:29:16.270Z] Removing intermediate container 44d57281f9ec [2020-04-20T03:29:16.270Z] ---> 0fa82a4f3051 [2020-04-20T03:29:16.270Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-20T03:29:16.270Z] ---> Running in 68f70d73e3cf [2020-04-20T03:29:16.855Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-20T03:29:18.796Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-20T03:29:20.208Z] OK: 203 MiB in 52 packages [2020-04-20T03:29:20.796Z] Removing intermediate container 68f70d73e3cf [2020-04-20T03:29:20.796Z] ---> 884373826156 [2020-04-20T03:29:20.796Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-20T03:29:21.064Z] ---> Running in c7bf08f289a1 [2020-04-20T03:29:21.334Z] Removing intermediate container c7bf08f289a1 [2020-04-20T03:29:21.334Z] ---> 9788601907bc [2020-04-20T03:29:21.334Z] Step 8/19 : COPY . . [2020-04-20T03:29:22.297Z] ---> 9c6283f44f78 [2020-04-20T03:29:22.297Z] Step 9/19 : ARG MAKE='make build' [2020-04-20T03:29:22.297Z] ---> Running in ec55baf9d307 [2020-04-20T03:29:22.572Z] Removing intermediate container ec55baf9d307 [2020-04-20T03:29:22.572Z] ---> fe3b8974dd5f [2020-04-20T03:29:22.572Z] Step 10/19 : RUN $MAKE [2020-04-20T03:29:22.843Z] ---> Running in 1e9ec7722063 [2020-04-20T03:29:23.816Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-04-20T03:29:50.543Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-20T03:29:57.196Z] Removing intermediate container 1e9ec7722063 [2020-04-20T03:29:57.196Z] ---> a3fe3b2ba390 [2020-04-20T03:29:57.196Z] Step 11/19 : FROM alpine [2020-04-20T03:29:57.781Z] latest: Pulling from library/alpine [2020-04-20T03:29:57.781Z] 8a0637ca1ac9: Pulling fs layer [2020-04-20T03:29:58.365Z] 8a0637ca1ac9: Verifying Checksum [2020-04-20T03:29:58.365Z] 8a0637ca1ac9: Download complete [2020-04-20T03:29:58.644Z] 8a0637ca1ac9: Pull complete [2020-04-20T03:29:58.644Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-20T03:29:58.644Z] Status: Downloaded newer image for alpine:latest [2020-04-20T03:29:58.644Z] ---> 2ee122dcc32d [2020-04-20T03:29:58.644Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-20T03:29:58.914Z] ---> Running in 4712c0f909d7 [2020-04-20T03:29:59.182Z] Removing intermediate container 4712c0f909d7 [2020-04-20T03:29:59.182Z] ---> 98bbe5532f6d [2020-04-20T03:29:59.182Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-20T03:29:59.452Z] ---> Running in 0a9d39f1c318 [2020-04-20T03:29:59.720Z] Removing intermediate container 0a9d39f1c318 [2020-04-20T03:29:59.720Z] ---> ca9ffdb134b5 [2020-04-20T03:29:59.720Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-20T03:30:01.137Z] ---> 36e61b653f67 [2020-04-20T03:30:01.137Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-04-20T03:30:01.137Z] ---> Running in 3dca434734c7 [2020-04-20T03:30:01.410Z] Removing intermediate container 3dca434734c7 [2020-04-20T03:30:01.410Z] ---> 5e33e58ad5f9 [2020-04-20T03:30:01.410Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-20T03:30:01.410Z] ---> Running in 06be43c0b0cb [2020-04-20T03:30:01.681Z] Removing intermediate container 06be43c0b0cb [2020-04-20T03:30:01.681Z] ---> fbb843646efd [2020-04-20T03:30:01.681Z] Step 17/19 : LABEL arch=arm64 [2020-04-20T03:30:01.952Z] ---> Running in 5bcbc723a85e [2020-04-20T03:30:02.234Z] Removing intermediate container 5bcbc723a85e [2020-04-20T03:30:02.234Z] ---> ed2a2c38e6e2 [2020-04-20T03:30:02.234Z] Step 18/19 : LABEL git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 [2020-04-20T03:30:02.508Z] ---> Running in dfc8759246bb [2020-04-20T03:30:02.777Z] Removing intermediate container dfc8759246bb [2020-04-20T03:30:02.777Z] ---> b542d3b23ec6 [2020-04-20T03:30:02.777Z] Step 19/19 : LABEL version=0.0.0 [2020-04-20T03:30:02.777Z] ---> Running in 8101b528fad7 [2020-04-20T03:30:03.365Z] Removing intermediate container 8101b528fad7 [2020-04-20T03:30:03.365Z] ---> 2e69b74d828d [2020-04-20T03:30:03.365Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-20T03:30:03.365Z] Successfully built 2e69b74d828d [2020-04-20T03:30:03.365Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-20T03:30:05.160Z] provisioning config files... [2020-04-20T03:30:05.171Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config5362104479858382468tmp [Pipeline] { [Pipeline] sh [2020-04-20T03:30:05.565Z] + curl -s https://codecov.io/bash [2020-04-20T03:30:05.565Z] + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config5362104479858382468tmp [2020-04-20T03:30:05.824Z] [2020-04-20T03:30:05.824Z] _____ _ [2020-04-20T03:30:05.824Z] / ____| | | [2020-04-20T03:30:05.824Z] | | ___ __| | ___ ___ _____ __ [2020-04-20T03:30:05.824Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-20T03:30:05.824Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-20T03:30:05.824Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-20T03:30:05.824Z] Bash-tbd [2020-04-20T03:30:05.824Z] [2020-04-20T03:30:05.824Z] [2020-04-20T03:30:05.824Z] ==> Jenkins CI detected. [2020-04-20T03:30:05.824Z] project root: . [2020-04-20T03:30:05.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-20T03:30:05.824Z] ==> Running gcov in . (disable via -X gcov) [2020-04-20T03:30:05.824Z] ==> Python coveragepy not found [2020-04-20T03:30:05.824Z] ==> Searching for coverage reports in: [2020-04-20T03:30:05.824Z] + . [2020-04-20T03:30:05.824Z] -> Found 1 reports [2020-04-20T03:30:05.824Z] ==> Detecting git/mercurial file structure [2020-04-20T03:30:05.824Z] ==> Reading reports [2020-04-20T03:30:05.824Z] + ./coverage.out bytes=18213 [2020-04-20T03:30:05.824Z] ==> Appending adjustments [2020-04-20T03:30:05.824Z] http://docs.codecov.io/docs/fixing-reports [2020-04-20T03:30:05.824Z] + Found adjustments [2020-04-20T03:30:05.824Z] ==> Gzipping contents [2020-04-20T03:30:05.824Z] ==> Uploading reports [2020-04-20T03:30:05.824Z] url: https://codecov.io [2020-04-20T03:30:05.824Z] query: branch=PR-141&commit=674a7330713f74ab51fe32a0624dea4b4cdf88e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=141&job= [2020-04-20T03:30:06.089Z] -> Pinging Codecov [2020-04-20T03:30:06.089Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-141&commit=674a7330713f74ab51fe32a0624dea4b4cdf88e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=141&job= [2020-04-20T03:30:06.348Z] -> Uploading [2020-04-20T03:30:06.937Z] -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/674a7330713f74ab51fe32a0624dea4b4cdf88e1 [Pipeline] } [2020-04-20T03:30:06.959Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-20T03:30:08.672Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T03:30:08.998Z] ---> package-listing.sh [2020-04-20T03:30:08.998Z] ++ facter osfamily [2020-04-20T03:30:08.998Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-20T03:30:08.998Z] + OS_FAMILY=redhat [2020-04-20T03:30:08.998Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-141 [2020-04-20T03:30:08.998Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-20T03:30:08.998Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-20T03:30:08.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-20T03:30:08.998Z] + PACKAGES=/tmp/packages_start.txt [2020-04-20T03:30:08.998Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-141 ']' [2020-04-20T03:30:08.998Z] + PACKAGES=/tmp/packages_end.txt [2020-04-20T03:30:08.998Z] + case "${OS_FAMILY}" in [2020-04-20T03:30:08.998Z] + rpm -qa [2020-04-20T03:30:08.998Z] + sort [2020-04-20T03:30:13.191Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-20T03:30:13.191Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-20T03:30:13.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-20T03:30:13.191Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-141 ']' [2020-04-20T03:30:13.191Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-141/archives/ [2020-04-20T03:30:13.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-141/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:30:13.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T03:30:13.702Z] [2020-04-20T03:30:13.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-20T03:30:14.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-20T03:30:14.072Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-20T03:30:14.072Z] c9b1b535fdd9: Pulling fs layer [2020-04-20T03:30:14.072Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-20T03:30:14.072Z] 756a868c4378: Pulling fs layer [2020-04-20T03:30:14.072Z] 444b2fc9a129: Pulling fs layer [2020-04-20T03:30:14.072Z] ea15f1150254: Pulling fs layer [2020-04-20T03:30:14.072Z] 41b27a9f41bf: Pulling fs layer [2020-04-20T03:30:14.072Z] 28c525ee5125: Pulling fs layer [2020-04-20T03:30:14.072Z] 094b1ea09ed8: Pulling fs layer [2020-04-20T03:30:14.072Z] 138eaada9080: Pulling fs layer [2020-04-20T03:30:14.072Z] 0622d0fa9048: Pulling fs layer [2020-04-20T03:30:14.072Z] 41b27a9f41bf: Waiting [2020-04-20T03:30:14.072Z] 28c525ee5125: Waiting [2020-04-20T03:30:14.072Z] 094b1ea09ed8: Waiting [2020-04-20T03:30:14.072Z] 138eaada9080: Waiting [2020-04-20T03:30:14.072Z] 0622d0fa9048: Waiting [2020-04-20T03:30:14.072Z] 444b2fc9a129: Waiting [2020-04-20T03:30:14.072Z] ea15f1150254: Waiting [2020-04-20T03:30:14.072Z] 2cc5ad85d9ab: Download complete [2020-04-20T03:30:14.072Z] 444b2fc9a129: Verifying Checksum [2020-04-20T03:30:14.072Z] 444b2fc9a129: Download complete [2020-04-20T03:30:14.072Z] c9b1b535fdd9: Verifying Checksum [2020-04-20T03:30:14.072Z] c9b1b535fdd9: Download complete [2020-04-20T03:30:14.334Z] ea15f1150254: Verifying Checksum [2020-04-20T03:30:14.334Z] ea15f1150254: Download complete [2020-04-20T03:30:14.334Z] 28c525ee5125: Verifying Checksum [2020-04-20T03:30:14.334Z] 28c525ee5125: Download complete [2020-04-20T03:30:14.607Z] 756a868c4378: Verifying Checksum [2020-04-20T03:30:14.608Z] 756a868c4378: Download complete [2020-04-20T03:30:14.608Z] c9b1b535fdd9: Pull complete [2020-04-20T03:30:14.608Z] 138eaada9080: Verifying Checksum [2020-04-20T03:30:14.608Z] 138eaada9080: Download complete [2020-04-20T03:30:14.608Z] 0622d0fa9048: Verifying Checksum [2020-04-20T03:30:14.608Z] 0622d0fa9048: Download complete [2020-04-20T03:30:14.882Z] 2cc5ad85d9ab: Pull complete [2020-04-20T03:30:14.882Z] 094b1ea09ed8: Verifying Checksum [2020-04-20T03:30:14.882Z] 094b1ea09ed8: Download complete [2020-04-20T03:30:15.146Z] 41b27a9f41bf: Verifying Checksum [2020-04-20T03:30:15.146Z] 41b27a9f41bf: Download complete [2020-04-20T03:30:16.525Z] 756a868c4378: Pull complete [2020-04-20T03:30:16.525Z] 444b2fc9a129: Pull complete [2020-04-20T03:30:16.788Z] ea15f1150254: Pull complete [2020-04-20T03:30:20.083Z] 41b27a9f41bf: Pull complete [2020-04-20T03:30:20.083Z] 28c525ee5125: Pull complete [2020-04-20T03:30:21.990Z] 094b1ea09ed8: Pull complete [2020-04-20T03:30:21.990Z] 138eaada9080: Pull complete [2020-04-20T03:30:22.248Z] 0622d0fa9048: Pull complete [2020-04-20T03:30:22.248Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-20T03:30:22.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-20T03:30:22.421Z] prd-centos7-docker-4c-2g-4856 does not seem to be running inside a container [2020-04-20T03:30:22.461Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/gexfoundry_device-mqtt-go_PR-141 -v /w/workspace/gexfoundry_device-mqtt-go_PR-141:/w/workspace/gexfoundry_device-mqtt-go_PR-141:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-141@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-20T03:30:23.013Z] $ docker top 09b91a2438b5df18d3853a2e6f7908aac4d0105fdcd025ab692f95cbc9074f5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-20T03:30:23.381Z] provisioning config files... [2020-04-20T03:30:23.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config1512756654592315340tmp [Pipeline] { [Pipeline] echo [2020-04-20T03:30:23.478Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T03:30:23.800Z] ---> create-netrc.sh [Pipeline] echo [2020-04-20T03:30:23.824Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-20T03:30:24.153Z] ---> logs-deploy.sh [2020-04-20T03:30:24.153Z] + ARCHIVE_ARTIFACTS= [2020-04-20T03:30:24.153Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-20T03:30:24.153Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-20T03:30:24.153Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-20T03:30:24.153Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-141/1 [2020-04-20T03:30:24.153Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-141/1/ [2020-04-20T03:30:24.153Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-141/1 /w/workspace/gexfoundry_device-mqtt-go_PR-141 [2020-04-20T03:30:25.529Z] Archives upload complete. [2020-04-20T03:30:25.529Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-141/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-141/1/