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 03:22:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:22:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:22:51 ========================================================= 03:22:51 EdgeX Global Pipelines Version Info 03:22:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:52 ------------------- 03:22:52 stable info: 03:22:52 ------------------- 03:22:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:52 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:22:52 Message: update stable to v1.0.73 03:22:53 ------------------- 03:22:53 experimental info: 03:22:53 ------------------- 03:22:53 Commited By: **** collab-it+edgex@linuxfoundation.org 03:22:53 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 03:22:53 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 03:22:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:22:55 03:22:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:22:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:22:55 latest: Pulling from edgex-devops/git-semver 03:22:55 9123ac7c32f7: Pulling fs layer 03:22:55 b8cc5d1170e3: Pulling fs layer 03:22:55 2924cbbf6a41: Pulling fs layer 03:22:55 93b08a4f1073: Pulling fs layer 03:22:55 93b08a4f1073: Waiting 03:22:55 b8cc5d1170e3: Download complete 03:22:55 9123ac7c32f7: Verifying Checksum 03:22:55 9123ac7c32f7: Download complete 03:22:56 93b08a4f1073: Verifying Checksum 03:22:56 93b08a4f1073: Download complete 03:22:56 2924cbbf6a41: Verifying Checksum 03:22:56 2924cbbf6a41: Download complete 03:22:56 9123ac7c32f7: Pull complete 03:22:56 b8cc5d1170e3: Pull complete 03:22:56 2924cbbf6a41: Pull complete 03:22:57 93b08a4f1073: Pull complete 03:22:57 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:22:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:22:57 prd-centos7-docker-4c-2g-4856 does not seem to be running inside a container 03:22:57 $ 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 03:22:57 $ docker top 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:58 [ssh-agent] Looking for ssh-agent implementation... 03:22:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:58 $ docker exec 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent 03:22:58 SSH_AUTH_SOCK=/tmp/ssh-OoTRdsStyDR5/agent.14 03:22:58 SSH_AGENT_PID=21 03:22:58 Running ssh-add (command line suppressed) 03:22:58 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) 03:22:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:59 + git describe --exact-match --tags HEAD 03:22:59 fatal: No names found, cannot describe anything. [Pipeline] } 03:22:59 $ docker exec --env ******** --env ******** 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent -k 03:22:59 unset SSH_AUTH_SOCK; 03:22:59 unset SSH_AGENT_PID; 03:22:59 echo Agent pid 21 killed; 03:22:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:22:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:22:59 This usually means this commit has not been tagged. [Pipeline] sshagent 03:22:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:59 [ssh-agent] Looking for ssh-agent implementation... 03:22:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:59 $ docker exec 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent 03:23:00 SSH_AUTH_SOCK=/tmp/ssh-KC2f9lUxYlyD/agent.55 03:23:00 SSH_AGENT_PID=61 03:23:00 Running ssh-add (command line suppressed) 03:23:00 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) 03:23:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:00 + git semver init 03:23:00 # -> Open(): unable to determine branch for HEAD 03:23:00 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-141/.git 03:23:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-141 03:23:00 # $SEMVER_REMOTE_NAME = origin 03:23:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:23:00 # $SEMVER_USER_NAME = edgex-jenkins 03:23:00 # $SEMVER_BRANCH = PR-141 03:23:00 # $SEMVER_TEMP = /tmp/semver-408284968 03:23:00 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:23:01 # '/tmp/semver-408284968' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-141/.semver' 03:23:01 # -> Force: false 03:23:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-141/.semver [Pipeline] } 03:23:01 $ docker exec --env ******** --env ******** 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 ssh-agent -k 03:23:01 unset SSH_AUTH_SOCK; 03:23:01 unset SSH_AGENT_PID; 03:23:01 echo Agent pid 61 killed; 03:23:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:23:01 + git semver [Pipeline] } 03:23:01 $ docker stop --time=1 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 03:23:03 $ docker rm -f 916a8399789b65ecbdade1a513603d3deb01f267bb76241c6107e7a99234fc98 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:23:04 Stashed 21 file(s) [Pipeline] echo 03:23:04 [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 03:23:19 Still waiting to schedule task 03:23:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:23:19 Still waiting to schedule task 03:23:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:25:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4857 in /w/workspace/gexfoundry_device-mqtt-go_PR-141 [Pipeline] { [Pipeline] ws 03:25:07 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 03:25:13 using credential edgex-jenkins-ssh 03:25:13 Cloning the remote Git repository 03:25:13 Cloning with configured refspecs honoured and without tags 03:25:13 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:25:14 > git init /w/workspace/device-mqtt-go/1 # timeout=10 03:25:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:25:14 > git --version # timeout=10 03:25:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:14 > 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 03:25:15 Fetching without tags 03:25:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:25:15 > git config --add remote.origin.fetch +refs/pull/141/head:refs/remotes/origin/PR-141 # timeout=10 03:25:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:25:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:25:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:15 > 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 03:25:15 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit 674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:25:16 Merge succeeded, producing 674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:25:16 Checking out Revision 674a7330713f74ab51fe32a0624dea4b4cdf88e1 (PR-141) 03:25:15 > git config core.sparsecheckout # timeout=10 03:25:15 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 03:25:15 > git remote # timeout=10 03:25:15 > git config --get remote.origin.url # timeout=10 03:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:15 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 03:25:15 > git rev-parse HEAD^{commit} # timeout=10 03:25:16 > git config core.sparsecheckout # timeout=10 03:25:16 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 03:25:20 Commit message: "Upgrade to the latest SDK and associated files" 03:25:20 > git --version # timeout=10 03:25:20 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 03:25:21 Running on prd-centos7-docker-4c-2g-4858 in /w/workspace/gexfoundry_device-mqtt-go_PR-141 [Pipeline] { [Pipeline] ws 03:25:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:25:22 ========================================================= 03:25:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:25:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:25:23 + 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 . 03:25:24 Sending build context to Docker daemon 546.8kB 03:25:24 Step 1/8 : ARG BASE=golang:1.13-alpine 03:25:24 Step 2/8 : FROM ${BASE} 03:25:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:25:24 cde5963f3b93: Pulling fs layer 03:25:24 2a23fa8c16f7: Pulling fs layer 03:25:24 777b28850792: Pulling fs layer 03:25:24 8a11ddd9e578: Pulling fs layer 03:25:24 4cf88f913ddb: Pulling fs layer 03:25:24 1df406cf5192: Pulling fs layer 03:25:24 cd6300453558: Pulling fs layer 03:25:24 b9c365052c96: Pulling fs layer 03:25:24 a2d8cc88f415: Pulling fs layer 03:25:24 ea1d1ca13537: Pulling fs layer 03:25:24 3750a50a1c5e: Pulling fs layer 03:25:24 8a11ddd9e578: Waiting 03:25:24 4cf88f913ddb: Waiting 03:25:24 1df406cf5192: Waiting 03:25:24 cd6300453558: Waiting 03:25:24 b9c365052c96: Waiting 03:25:24 a2d8cc88f415: Waiting 03:25:24 ea1d1ca13537: Waiting 03:25:24 3750a50a1c5e: Waiting 03:25:24 777b28850792: Verifying Checksum 03:25:24 777b28850792: Download complete 03:25:24 2a23fa8c16f7: Verifying Checksum 03:25:24 2a23fa8c16f7: Download complete 03:25:24 4cf88f913ddb: Verifying Checksum 03:25:24 4cf88f913ddb: Download complete 03:25:24 1df406cf5192: Verifying Checksum 03:25:24 1df406cf5192: Download complete 03:25:24 cde5963f3b93: Verifying Checksum 03:25:24 cde5963f3b93: Download complete 03:25:25 using credential edgex-jenkins-ssh 03:25:25 Cloning the remote Git repository 03:25:25 Cloning with configured refspecs honoured and without tags 03:25:25 cde5963f3b93: Pull complete 03:25:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:25:25 > git init /w/workspace/device-mqtt-go/1 # timeout=10 03:25:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:25:25 > git --version # timeout=10 03:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:25 > 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 03:25:26 Fetching without tags 03:25:26 2a23fa8c16f7: Pull complete 03:25:26 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit 674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:25:26 777b28850792: Pull complete 03:25:26 Merge succeeded, producing 674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:25:26 Checking out Revision 674a7330713f74ab51fe32a0624dea4b4cdf88e1 (PR-141) 03:25:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:25:25 > git config --add remote.origin.fetch +refs/pull/141/head:refs/remotes/origin/PR-141 # timeout=10 03:25:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:25:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:25:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:25 > 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 03:25:26 > git config core.sparsecheckout # timeout=10 03:25:26 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 03:25:26 > git remote # timeout=10 03:25:26 > git config --get remote.origin.url # timeout=10 03:25:26 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:26 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 03:25:26 > git rev-parse HEAD^{commit} # timeout=10 03:25:26 > git config core.sparsecheckout # timeout=10 03:25:26 > git checkout -f 674a7330713f74ab51fe32a0624dea4b4cdf88e1 # timeout=10 03:25:28 cd6300453558: Verifying Checksum 03:25:28 cd6300453558: Download complete 03:25:28 a2d8cc88f415: Verifying Checksum 03:25:28 a2d8cc88f415: Download complete 03:25:30 Commit message: "Upgrade to the latest SDK and associated files" 03:25:30 > git --version # timeout=10 03:25:30 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 03:25:31 ea1d1ca13537: Verifying Checksum 03:25:31 ea1d1ca13537: Download complete [Pipeline] echo 03:25:31 ========================================================= 03:25:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:25:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:25:31 3750a50a1c5e: Download complete 03:25:32 + 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 . 03:25:32 Sending build context to Docker daemon 546.8kB 03:25:32 Step 1/8 : ARG BASE=golang:1.13-alpine 03:25:32 Step 2/8 : FROM ${BASE} 03:25:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:25:32 e6b0cf9c0882: Pulling fs layer 03:25:32 2848faf0eed1: Pulling fs layer 03:25:32 0f37312ad70f: Pulling fs layer 03:25:32 5788d62ee057: Pulling fs layer 03:25:32 0e6b1d234666: Pulling fs layer 03:25:32 bf5d7aec512f: Pulling fs layer 03:25:32 34c802a77dc8: Pulling fs layer 03:25:32 9eb99e56ec68: Pulling fs layer 03:25:32 27c7a5d97fbd: Pulling fs layer 03:25:32 5c102a31e300: Pulling fs layer 03:25:32 dcfb455df0a1: Pulling fs layer 03:25:32 5788d62ee057: Waiting 03:25:32 0e6b1d234666: Waiting 03:25:32 bf5d7aec512f: Waiting 03:25:32 34c802a77dc8: Waiting 03:25:32 5c102a31e300: Waiting 03:25:32 9eb99e56ec68: Waiting 03:25:32 dcfb455df0a1: Waiting 03:25:32 27c7a5d97fbd: Waiting 03:25:32 0f37312ad70f: Verifying Checksum 03:25:32 0f37312ad70f: Download complete 03:25:32 2848faf0eed1: Verifying Checksum 03:25:32 2848faf0eed1: Download complete 03:25:32 0e6b1d234666: Verifying Checksum 03:25:32 0e6b1d234666: Download complete 03:25:32 bf5d7aec512f: Verifying Checksum 03:25:32 bf5d7aec512f: Download complete 03:25:32 e6b0cf9c0882: Verifying Checksum 03:25:32 e6b0cf9c0882: Download complete 03:25:33 e6b0cf9c0882: Pull complete 03:25:33 34c802a77dc8: Verifying Checksum 03:25:33 34c802a77dc8: Download complete 03:25:33 27c7a5d97fbd: Verifying Checksum 03:25:33 27c7a5d97fbd: Download complete 03:25:34 5c102a31e300: Verifying Checksum 03:25:34 5c102a31e300: Download complete 03:25:34 dcfb455df0a1: Verifying Checksum 03:25:34 dcfb455df0a1: Download complete 03:25:34 b9c365052c96: Verifying Checksum 03:25:34 b9c365052c96: Download complete 03:25:34 9eb99e56ec68: Verifying Checksum 03:25:34 9eb99e56ec68: Download complete 03:25:34 5788d62ee057: Verifying Checksum 03:25:34 5788d62ee057: Download complete 03:25:35 2848faf0eed1: Pull complete 03:25:35 0f37312ad70f: Pull complete 03:25:35 8a11ddd9e578: Verifying Checksum 03:25:35 8a11ddd9e578: Download complete 03:25:42 5788d62ee057: Pull complete 03:25:42 0e6b1d234666: Pull complete 03:25:42 bf5d7aec512f: Pull complete 03:25:45 34c802a77dc8: Pull complete 03:25:48 8a11ddd9e578: Pull complete 03:25:48 4cf88f913ddb: Pull complete 03:25:48 1df406cf5192: Pull complete 03:25:48 9eb99e56ec68: Pull complete 03:25:49 27c7a5d97fbd: Pull complete 03:25:50 5c102a31e300: Pull complete 03:25:50 dcfb455df0a1: Pull complete 03:25:50 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:25:50 ---> 7c70fe431013 03:25:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:25:50 ---> Running in 3db26b71bcd1 03:25:50 Removing intermediate container 3db26b71bcd1 03:25:50 ---> 9c59db94ffd8 03:25:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:25:50 ---> Running in 4f8dce714b89 03:25:51 Removing intermediate container 4f8dce714b89 03:25:51 ---> ac3d3f282224 03:25:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:25:51 ---> Running in efcf6c193fcd 03:25:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:25:52 cd6300453558: Pull complete 03:25:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:25:54 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:25:55 (2/17) Installing libmagic (5.37-r1) 03:25:55 (3/17) Installing file (5.37-r1) 03:25:55 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:25:56 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:25:56 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:25:56 b9c365052c96: Pull complete 03:25:57 a2d8cc88f415: Pull complete 03:25:59 ea1d1ca13537: Pull complete 03:25:59 3750a50a1c5e: Pull complete 03:25:59 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:25:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:25:59 ---> 78745c68409d 03:25:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:26:03 ---> Running in e34e66b25ee1 03:26:04 Removing intermediate container e34e66b25ee1 03:26:04 ---> 0a8d7980baf0 03:26:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:26:04 ---> Running in 8af7ccf4d577 03:26:06 Removing intermediate container 8af7ccf4d577 03:26:06 ---> 199d891124c7 03:26:06 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:26:06 ---> Running in a219c162c854 03:26:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:26:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:26:09 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 03:26:09 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:26:10 (3/18) Installing libmagic (5.37-r1) 03:26:10 (4/18) Installing file (5.37-r1) 03:26:10 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:26:10 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:26:10 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:26:52 (7/17) Installing libc-dev (0.7.2-r0) 03:26:52 (8/17) Installing g++ (9.2.0-r4) 03:27:18 (8/18) Installing libc-dev (0.7.2-r0) 03:27:18 (9/18) Installing g++ (9.2.0-r4) 03:27:31 (9/17) Installing fortify-headers (1.1-r0) 03:27:31 (10/17) Installing build-base (0.5-r1) 03:27:31 (11/17) Installing openssh-keygen (8.1_p1-r0) 03:27:31 (12/17) Installing libedit (20191211.3.1-r0) 03:27:31 (13/17) Installing openssh-client (8.1_p1-r0) 03:27:33 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 03:27:33 (15/17) Installing openssh-server-common (8.1_p1-r0) 03:27:33 (16/17) Installing openssh-server (8.1_p1-r0) 03:27:33 (17/17) Installing openssh (8.1_p1-r0) 03:27:34 Executing busybox-1.31.1-r8.trigger 03:27:34 OK: 214 MiB in 52 packages 03:27:37 Removing intermediate container efcf6c193fcd 03:27:37 ---> 1473d4ee5da3 03:27:37 Step 6/8 : WORKDIR /device-mqtt-go 03:27:37 ---> Running in f4d00c1eb0e7 03:27:38 Removing intermediate container f4d00c1eb0e7 03:27:38 ---> f4c4f93579f6 03:27:38 Step 7/8 : COPY . . 03:27:38 ---> 545f67881d73 03:27:38 Step 8/8 : RUN go mod download 03:27:38 ---> Running in 9d119e66c596 03:27:41 go: finding github.com/BurntSushi/toml v0.3.1 03:27:41 go: finding github.com/OneOfOne/xxhash v1.2.6 03:27:41 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:27:41 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:41 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:27:41 go: finding github.com/bgentry/speakeasy v0.1.0 03:27:41 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:27:41 go: finding github.com/davecgh/go-spew v1.1.1 03:27:41 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 03:27:41 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 03:27:41 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:27:41 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:27:41 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:27:41 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:27:41 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:27:41 go: finding github.com/fatih/color v1.7.0 03:27:41 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:27:41 go: finding github.com/go-kit/kit v0.8.0 03:27:41 go: finding github.com/go-logfmt/logfmt v0.4.0 03:27:41 go: finding github.com/go-stack/stack v1.8.0 03:27:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:27:41 go: finding github.com/google/uuid v1.1.1 03:27:41 go: finding github.com/gorilla/mux v1.7.1 03:27:41 go: finding github.com/hashicorp/consul/api v1.1.0 03:27:42 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:27:42 go: finding github.com/hashicorp/errwrap v1.0.0 03:27:42 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:27:42 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:27:42 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:27:42 go: finding github.com/hashicorp/go-multierror v1.0.0 03:27:42 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:27:42 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:27:42 go: finding github.com/hashicorp/go-syslog v1.0.0 03:27:42 go: finding github.com/hashicorp/go-uuid v1.0.1 03:27:42 go: finding github.com/hashicorp/go.net v0.0.1 03:27:42 go: finding github.com/hashicorp/golang-lru v0.5.0 03:27:42 go: finding github.com/hashicorp/logutils v1.0.0 03:27:42 go: finding github.com/hashicorp/mdns v1.0.0 03:27:42 go: finding github.com/hashicorp/memberlist v0.1.3 03:27:42 go: finding github.com/hashicorp/serf v0.8.2 03:27:42 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:27:42 go: finding github.com/kr/pretty v0.1.0 03:27:42 go: finding github.com/kr/pty v1.1.1 03:27:42 go: finding github.com/kr/text v0.1.0 03:27:42 go: finding github.com/mattn/go-colorable v0.0.9 03:27:42 go: finding github.com/mattn/go-isatty v0.0.3 03:27:42 go: finding github.com/miekg/dns v1.0.14 03:27:42 go: finding github.com/mitchellh/cli v1.0.0 03:27:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:42 go: finding github.com/mitchellh/copystructure v1.0.0 03:27:42 go: finding github.com/mitchellh/go-homedir v1.0.0 03:27:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:27:42 go: finding github.com/mitchellh/gox v0.4.0 03:27:42 go: finding github.com/mitchellh/iochan v1.0.0 03:27:42 go: finding github.com/mitchellh/mapstructure v1.1.2 03:27:42 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:27:42 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:27:42 go: finding github.com/pelletier/go-toml v1.2.0 03:27:42 go: finding github.com/pkg/errors v0.8.1 03:27:42 go: finding github.com/pmezard/go-difflib v1.0.0 03:27:42 go: finding github.com/posener/complete v1.1.1 03:27:42 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:27:42 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:27:42 go: finding github.com/spf13/cast v1.3.0 03:27:43 go: finding github.com/stretchr/objx v0.1.0 03:27:43 go: finding github.com/stretchr/testify v1.5.1 03:27:43 go: finding github.com/ugorji/go v1.1.4 03:27:43 go: finding github.com/x448/float16 v0.8.4 03:27:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:27:43 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 03:27:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:27:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:27:43 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 03:27:43 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 03:27:43 go: finding gopkg.in/yaml.v2 v2.2.8 03:27:47 Removing intermediate container 9d119e66c596 03:27:47 ---> 6024a109e285 03:27:47 Successfully built 6024a109e285 03:27:47 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 03:27:48 + docker inspect -f . ci-base-image-x86_64 03:27:48 . [Pipeline] withDockerContainer 03:27:48 prd-centos7-docker-4c-2g-4858 does not seem to be running inside a container 03:27:48 $ 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 03:27:49 $ docker top 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:49 + go version 03:27:49 go version go1.13.5 linux/amd64 [Pipeline] sh 03:27:49 + make test 03:27:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:27:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:27:58 (10/18) Installing fortify-headers (1.1-r0) 03:27:58 (11/18) Installing build-base (0.5-r1) 03:27:58 (12/18) Installing openssh-keygen (8.1_p1-r0) 03:27:58 (13/18) Installing libedit (20191211.3.1-r0) 03:27:58 (14/18) Installing openssh-client (8.1_p1-r0) 03:28:00 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 03:28:00 (16/18) Installing openssh-server-common (8.1_p1-r0) 03:28:00 (17/18) Installing openssh-server (8.1_p1-r0) 03:28:01 (18/18) Installing openssh (8.1_p1-r0) 03:28:01 Executing busybox-1.31.1-r8.trigger 03:28:01 OK: 203 MiB in 52 packages 03:28:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:28:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 29.8% of statements 03:28:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:28:03 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:28:05 gofmt -l . 03:28:05 ["`gofmt -l .`" = ""] 03:28:05 ./bin/test-attribution-txt.sh 03:28:05 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:28:06 Stashed 1 file(s) [Pipeline] } 03:28:06 $ docker stop --time=1 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 03:28:08 Removing intermediate container a219c162c854 03:28:08 ---> 5f6c623ad0bc 03:28:08 Step 6/8 : WORKDIR /device-mqtt-go 03:28:08 ---> Running in 69e2e0c72050 03:28:08 Removing intermediate container 69e2e0c72050 03:28:08 ---> 1b8f4a8e0b3f 03:28:08 Step 7/8 : COPY . . 03:28:08 ---> f854c732b5d9 03:28:08 Step 8/8 : RUN go mod download 03:28:08 $ docker rm -f 1b1752af033838b673fc945bb25fe69450fe85516832baaa171cd0f6d1ce7527 03:28:08 ---> Running in 01a1725e0a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:28:10 + ls -al . 03:28:10 total 92 03:28:10 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 20 03:28 . 03:28:10 drwxrwxr-x. 4 jenkins jenkins 28 Apr 20 03:25 .. 03:28:10 drwxrwxr-x. 2 jenkins jenkins 87 Apr 20 03:25 bin 03:28:10 drwxrwxr-x. 3 jenkins jenkins 55 Apr 20 03:25 cmd 03:28:10 -rw-r--r--. 1 jenkins jenkins 18213 Apr 20 03:28 coverage.out 03:28:10 -rw-rw-r--. 1 jenkins jenkins 1614 Apr 20 03:25 Dockerfile 03:28:10 -rw-rw-r--. 1 jenkins jenkins 953 Apr 20 03:25 Dockerfile.build 03:28:10 -rw-rw-r--. 1 jenkins jenkins 140 Apr 20 03:25 .dockerignore 03:28:10 drwxrwxr-x. 8 jenkins jenkins 179 Apr 20 03:25 .git 03:28:10 -rw-rw-r--. 1 jenkins jenkins 335 Apr 20 03:25 .gitignore 03:28:10 -rw-r--r--. 1 jenkins jenkins 517 Apr 20 03:28 go.mod 03:28:10 -rw-r--r--. 1 jenkins jenkins 13532 Apr 20 03:28 go.sum 03:28:10 drwxrwxr-x. 3 jenkins jenkins 20 Apr 20 03:25 internal 03:28:10 -rw-rw-r--. 1 jenkins jenkins 679 Apr 20 03:25 Jenkinsfile 03:28:10 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 20 03:25 LICENSE 03:28:10 -rw-rw-r--. 1 jenkins jenkins 902 Apr 20 03:25 Makefile 03:28:10 drwxrwxr-x. 2 jenkins jenkins 23 Apr 20 03:25 mock 03:28:10 -rw-rw-r--. 1 jenkins jenkins 444 Apr 20 03:25 README.md 03:28:10 drwxrwxr-x. 3 jenkins jenkins 58 Apr 20 03:25 .semver 03:28:10 drwxrwxr-x. 4 jenkins jenkins 54 Apr 20 03:25 snap 03:28:10 -rw-rw-r--. 1 jenkins jenkins 5 Apr 20 03:23 VERSION 03:28:10 -rw-rw-r--. 1 jenkins jenkins 227 Apr 20 03:25 version.go [Pipeline] isUnix [Pipeline] sh 03:28:10 go: finding github.com/BurntSushi/toml v0.3.1 03:28:10 go: finding github.com/OneOfOne/xxhash v1.2.6 03:28:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:28:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:28:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:28:10 go: finding github.com/bgentry/speakeasy v0.1.0 03:28:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:28:10 go: finding github.com/davecgh/go-spew v1.1.1 03:28:10 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 03:28:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 03:28:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 03:28:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:28:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:28:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:28:10 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:28:10 go: finding github.com/fatih/color v1.7.0 03:28:10 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:28:10 go: finding github.com/go-kit/kit v0.8.0 03:28:10 go: finding github.com/go-logfmt/logfmt v0.4.0 03:28:10 go: finding github.com/go-stack/stack v1.8.0 03:28:10 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:28:10 go: finding github.com/google/uuid v1.1.1 03:28:10 go: finding github.com/gorilla/mux v1.7.1 03:28:10 go: finding github.com/hashicorp/consul/api v1.1.0 03:28:10 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:28:10 go: finding github.com/hashicorp/errwrap v1.0.0 03:28:10 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:28:10 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:28:10 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:28:10 go: finding github.com/hashicorp/go-multierror v1.0.0 03:28:10 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:28:10 go: finding github.com/hashicorp/go-sockaddr v1.0.0 03:28:10 go: finding github.com/hashicorp/go-syslog v1.0.0 03:28:10 go: finding github.com/hashicorp/go-uuid v1.0.1 03:28:10 go: finding github.com/hashicorp/go.net v0.0.1 03:28:10 go: finding github.com/hashicorp/golang-lru v0.5.0 03:28:10 go: finding github.com/hashicorp/logutils v1.0.0 03:28:10 go: finding github.com/hashicorp/mdns v1.0.0 03:28:10 go: finding github.com/hashicorp/memberlist v0.1.3 03:28:10 go: finding github.com/hashicorp/serf v0.8.2 03:28:11 + 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 . 03:28:11 Sending build context to Docker daemon 565.8kB 03:28:11 Step 1/19 : ARG BASE=golang:1.13-alpine 03:28:11 Step 2/19 : FROM ${BASE} AS builder 03:28:11 ---> 6024a109e285 03:28:11 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:28:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:28:11 go: finding github.com/kr/pretty v0.1.0 03:28:11 go: finding github.com/kr/pty v1.1.1 03:28:11 go: finding github.com/kr/text v0.1.0 03:28:11 go: finding github.com/mattn/go-colorable v0.0.9 03:28:11 go: finding github.com/mattn/go-isatty v0.0.3 03:28:11 go: finding github.com/miekg/dns v1.0.14 03:28:11 go: finding github.com/mitchellh/cli v1.0.0 03:28:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:28:11 go: finding github.com/mitchellh/copystructure v1.0.0 03:28:11 go: finding github.com/mitchellh/go-homedir v1.0.0 03:28:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:28:11 go: finding github.com/mitchellh/gox v0.4.0 03:28:11 go: finding github.com/mitchellh/iochan v1.0.0 03:28:11 go: finding github.com/mitchellh/mapstructure v1.1.2 03:28:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:28:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:28:11 go: finding github.com/pelletier/go-toml v1.2.0 03:28:11 go: finding github.com/pkg/errors v0.8.1 03:28:11 go: finding github.com/pmezard/go-difflib v1.0.0 03:28:11 go: finding github.com/posener/complete v1.1.1 03:28:11 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 03:28:11 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:28:11 go: finding github.com/spf13/cast v1.3.0 03:28:11 go: finding github.com/stretchr/objx v0.1.0 03:28:11 go: finding github.com/stretchr/testify v1.5.1 03:28:11 go: finding github.com/ugorji/go v1.1.4 03:28:11 go: finding github.com/x448/float16 v0.8.4 03:28:11 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:28:11 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 03:28:11 ---> Running in daf74fb24daa 03:28:11 Removing intermediate container daf74fb24daa 03:28:11 ---> c0e9741df72c 03:28:11 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 03:28:11 ---> Running in fb8cb17903ef 03:28:11 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:28:11 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:28:11 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 03:28:11 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 03:28:11 go: finding gopkg.in/yaml.v2 v2.2.8 03:28:11 Removing intermediate container fb8cb17903ef 03:28:11 ---> 06ba00767c7a 03:28:11 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:28:11 ---> Running in 8a2146a593a7 03:28:12 Removing intermediate container 8a2146a593a7 03:28:12 ---> 27b5b70c9f2c 03:28:12 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:12 ---> Running in 07719ff9903a 03:28:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:28:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:28:17 OK: 214 MiB in 52 packages 03:28:17 Removing intermediate container 07719ff9903a 03:28:17 ---> 450d29b20f31 03:28:17 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 03:28:17 ---> Running in 0907e83c3e54 03:28:17 Removing intermediate container 0907e83c3e54 03:28:17 ---> a6502bd6d0d2 03:28:17 Step 8/19 : COPY . . 03:28:17 ---> 5ef57af144bd 03:28:17 Step 9/19 : ARG MAKE='make build' 03:28:17 ---> Running in 69bc14ae6695 03:28:17 Removing intermediate container 69bc14ae6695 03:28:17 ---> 7d29b82ab606 03:28:17 Step 10/19 : RUN $MAKE 03:28:17 ---> Running in 5b606f115508 03:28:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:28:21 Removing intermediate container 01a1725e0a33 03:28:21 ---> 8620a2532cdd 03:28:21 Successfully built 8620a2532cdd 03:28:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:28:22 + docker inspect -f . ci-base-image-arm64 03:28:22 . [Pipeline] withDockerContainer 03:28:22 prd-ubuntu18.04-docker-arm64-4c-16g-4857 does not seem to be running inside a container 03:28:23 $ 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 03:28:24 $ docker top e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:25 + go version 03:28:25 go version go1.13.5 linux/arm64 [Pipeline] sh 03:28:26 + make test 03:28:26 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:28:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:28:28 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:28:32 Removing intermediate container 5b606f115508 03:28:32 ---> 21311324256f 03:28:32 Step 11/19 : FROM alpine 03:28:32 latest: Pulling from library/alpine 03:28:32 aad63a933944: Pulling fs layer 03:28:32 aad63a933944: Verifying Checksum 03:28:32 aad63a933944: Download complete 03:28:32 aad63a933944: Pull complete 03:28:32 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 03:28:32 Status: Downloaded newer image for alpine:latest 03:28:32 ---> a187dde48cd2 03:28:32 Step 12/19 : ENV APP_PORT=49982 03:28:32 ---> Running in 193325dbc84c 03:28:32 Removing intermediate container 193325dbc84c 03:28:32 ---> 745683d219ea 03:28:32 Step 13/19 : EXPOSE $APP_PORT 03:28:32 ---> Running in c6bf14040998 03:28:32 Removing intermediate container c6bf14040998 03:28:32 ---> aca5b36879b8 03:28:32 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 03:28:33 ---> b247de87eb67 03:28:33 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:28:33 ---> Running in 439dfbb24ee4 03:28:33 Removing intermediate container 439dfbb24ee4 03:28:33 ---> cbb5369d4f6c 03:28:33 Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:28:33 ---> Running in 1f8324741d41 03:28:33 Removing intermediate container 1f8324741d41 03:28:33 ---> 3bffae1d8d5f 03:28:33 Step 17/19 : LABEL arch=amd64 03:28:33 ---> Running in 3693533fe1f1 03:28:33 Removing intermediate container 3693533fe1f1 03:28:33 ---> 3591340f0131 03:28:33 Step 18/19 : LABEL git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:28:33 ---> Running in efbaf74ff8f3 03:28:33 Removing intermediate container efbaf74ff8f3 03:28:33 ---> f467434a7e21 03:28:33 Step 19/19 : LABEL version=0.0.0 03:28:33 ---> Running in 242685058d18 03:28:33 Removing intermediate container 242685058d18 03:28:33 ---> 5d78ba353504 03:28:33 [Warning] One or more build-args [ARCH] were not consumed 03:28:33 Successfully built 5d78ba353504 03:28:33 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] } 03:28:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:29:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.027s coverage: 29.8% of statements 03:29:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:29:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:29:07 gofmt -l . 03:29:07 ["`gofmt -l .`" = ""] 03:29:07 ./bin/test-attribution-txt.sh 03:29:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:29:07 Warning: overwriting stash ‘coverage-report’ 03:29:08 Stashed 1 file(s) [Pipeline] } 03:29:08 $ docker stop --time=1 e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 03:29:10 $ docker rm -f e9b5ae48a0d3cf694dc544edebb4a21b5d0eadd8cb486f6644ac6999aade3759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:29:12 + ls -al . 03:29:12 total 124 03:29:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 03:29 . 03:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 03:25 .. 03:29:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 03:25 .dockerignore 03:29:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 03:25 .git 03:29:12 -rw-rw-r-- 1 jenkins jenkins 335 Apr 20 03:25 .gitignore 03:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 .semver 03:29:12 -rw-rw-r-- 1 jenkins jenkins 1614 Apr 20 03:25 Dockerfile 03:29:12 -rw-rw-r-- 1 jenkins jenkins 953 Apr 20 03:25 Dockerfile.build 03:29:12 -rw-rw-r-- 1 jenkins jenkins 679 Apr 20 03:25 Jenkinsfile 03:29:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 03:25 LICENSE 03:29:12 -rw-rw-r-- 1 jenkins jenkins 902 Apr 20 03:25 Makefile 03:29:12 -rw-rw-r-- 1 jenkins jenkins 444 Apr 20 03:25 README.md 03:29:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 03:23 VERSION 03:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 03:25 bin 03:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 cmd 03:29:12 -rw-r--r-- 1 jenkins jenkins 18213 Apr 20 03:29 coverage.out 03:29:12 -rw-r--r-- 1 jenkins jenkins 517 Apr 20 03:29 go.mod 03:29:12 -rw-r--r-- 1 jenkins jenkins 13532 Apr 20 03:29 go.sum 03:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 03:25 internal 03:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 03:25 mock 03:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 03:25 snap 03:29:12 -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 03:25 version.go [Pipeline] isUnix [Pipeline] sh 03:29:12 + 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 . 03:29:12 Sending build context to Docker daemon 565.8kB 03:29:12 Step 1/19 : ARG BASE=golang:1.13-alpine 03:29:12 Step 2/19 : FROM ${BASE} AS builder 03:29:12 ---> 8620a2532cdd 03:29:12 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 03:29:13 ---> Running in c02663710480 03:29:13 Removing intermediate container c02663710480 03:29:13 ---> 24701c02b1d6 03:29:13 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 03:29:13 ---> Running in a199468d2e3b 03:29:14 Removing intermediate container a199468d2e3b 03:29:14 ---> 3a03bc576ce3 03:29:14 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:29:14 ---> Running in 44d57281f9ec 03:29:16 Removing intermediate container 44d57281f9ec 03:29:16 ---> 0fa82a4f3051 03:29:16 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:29:16 ---> Running in 68f70d73e3cf 03:29:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:29:18 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:29:20 OK: 203 MiB in 52 packages 03:29:20 Removing intermediate container 68f70d73e3cf 03:29:20 ---> 884373826156 03:29:20 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 03:29:21 ---> Running in c7bf08f289a1 03:29:21 Removing intermediate container c7bf08f289a1 03:29:21 ---> 9788601907bc 03:29:21 Step 8/19 : COPY . . 03:29:22 ---> 9c6283f44f78 03:29:22 Step 9/19 : ARG MAKE='make build' 03:29:22 ---> Running in ec55baf9d307 03:29:22 Removing intermediate container ec55baf9d307 03:29:22 ---> fe3b8974dd5f 03:29:22 Step 10/19 : RUN $MAKE 03:29:22 ---> Running in 1e9ec7722063 03:29:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:29:50 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:29:57 Removing intermediate container 1e9ec7722063 03:29:57 ---> a3fe3b2ba390 03:29:57 Step 11/19 : FROM alpine 03:29:57 latest: Pulling from library/alpine 03:29:57 8a0637ca1ac9: Pulling fs layer 03:29:58 8a0637ca1ac9: Verifying Checksum 03:29:58 8a0637ca1ac9: Download complete 03:29:58 8a0637ca1ac9: Pull complete 03:29:58 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 03:29:58 Status: Downloaded newer image for alpine:latest 03:29:58 ---> 2ee122dcc32d 03:29:58 Step 12/19 : ENV APP_PORT=49982 03:29:58 ---> Running in 4712c0f909d7 03:29:59 Removing intermediate container 4712c0f909d7 03:29:59 ---> 98bbe5532f6d 03:29:59 Step 13/19 : EXPOSE $APP_PORT 03:29:59 ---> Running in 0a9d39f1c318 03:29:59 Removing intermediate container 0a9d39f1c318 03:29:59 ---> ca9ffdb134b5 03:29:59 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 03:30:01 ---> 36e61b653f67 03:30:01 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 03:30:01 ---> Running in 3dca434734c7 03:30:01 Removing intermediate container 3dca434734c7 03:30:01 ---> 5e33e58ad5f9 03:30:01 Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:30:01 ---> Running in 06be43c0b0cb 03:30:01 Removing intermediate container 06be43c0b0cb 03:30:01 ---> fbb843646efd 03:30:01 Step 17/19 : LABEL arch=arm64 03:30:01 ---> Running in 5bcbc723a85e 03:30:02 Removing intermediate container 5bcbc723a85e 03:30:02 ---> ed2a2c38e6e2 03:30:02 Step 18/19 : LABEL git_sha=674a7330713f74ab51fe32a0624dea4b4cdf88e1 03:30:02 ---> Running in dfc8759246bb 03:30:02 Removing intermediate container dfc8759246bb 03:30:02 ---> b542d3b23ec6 03:30:02 Step 19/19 : LABEL version=0.0.0 03:30:02 ---> Running in 8101b528fad7 03:30:03 Removing intermediate container 8101b528fad7 03:30:03 ---> 2e69b74d828d 03:30:03 [Warning] One or more build-args [ARCH] were not consumed 03:30:03 Successfully built 2e69b74d828d 03:30:03 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 03:30:05 provisioning config files... 03:30:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config5362104479858382468tmp [Pipeline] { [Pipeline] sh 03:30:05 + curl -s https://codecov.io/bash 03:30:05 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config5362104479858382468tmp 03:30:05 03:30:05 _____ _ 03:30:05 / ____| | | 03:30:05 | | ___ __| | ___ ___ _____ __ 03:30:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:30:05 | |___| (_) | (_| | __/ (_| (_) \ V / 03:30:05 \_____\___/ \__,_|\___|\___\___/ \_/ 03:30:05 Bash-tbd 03:30:05 03:30:05 03:30:05 ==> Jenkins CI detected. 03:30:05 project root: . 03:30:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:30:05 ==> Running gcov in . (disable via -X gcov) 03:30:05 ==> Python coveragepy not found 03:30:05 ==> Searching for coverage reports in: 03:30:05 + . 03:30:05 -> Found 1 reports 03:30:05 ==> Detecting git/mercurial file structure 03:30:05 ==> Reading reports 03:30:05 + ./coverage.out bytes=18213 03:30:05 ==> Appending adjustments 03:30:05 http://docs.codecov.io/docs/fixing-reports 03:30:05 + Found adjustments 03:30:05 ==> Gzipping contents 03:30:05 ==> Uploading reports 03:30:05 url: https://codecov.io 03:30:05 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= 03:30:06 -> Pinging Codecov 03:30:06 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= 03:30:06 -> Uploading 03:30:06 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/674a7330713f74ab51fe32a0624dea4b4cdf88e1 [Pipeline] } 03:30:06 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 03:30:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:30:08 ---> package-listing.sh 03:30:08 ++ facter osfamily 03:30:08 ++ tr '[:upper:]' '[:lower:]' 03:30:08 + OS_FAMILY=redhat 03:30:08 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-141 03:30:08 + START_PACKAGES=/tmp/packages_start.txt 03:30:08 + END_PACKAGES=/tmp/packages_end.txt 03:30:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:30:08 + PACKAGES=/tmp/packages_start.txt 03:30:08 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-141 ']' 03:30:08 + PACKAGES=/tmp/packages_end.txt 03:30:08 + case "${OS_FAMILY}" in 03:30:08 + rpm -qa 03:30:08 + sort 03:30:13 + '[' -f /tmp/packages_start.txt ']' 03:30:13 + '[' -f /tmp/packages_end.txt ']' 03:30:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:30:13 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-141 ']' 03:30:13 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-141/archives/ 03:30:13 + 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 03:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:30:13 03:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:30:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:30:14 alpine: Pulling from edgex-lftools-log-publisher 03:30:14 c9b1b535fdd9: Pulling fs layer 03:30:14 2cc5ad85d9ab: Pulling fs layer 03:30:14 756a868c4378: Pulling fs layer 03:30:14 444b2fc9a129: Pulling fs layer 03:30:14 ea15f1150254: Pulling fs layer 03:30:14 41b27a9f41bf: Pulling fs layer 03:30:14 28c525ee5125: Pulling fs layer 03:30:14 094b1ea09ed8: Pulling fs layer 03:30:14 138eaada9080: Pulling fs layer 03:30:14 0622d0fa9048: Pulling fs layer 03:30:14 41b27a9f41bf: Waiting 03:30:14 28c525ee5125: Waiting 03:30:14 094b1ea09ed8: Waiting 03:30:14 138eaada9080: Waiting 03:30:14 0622d0fa9048: Waiting 03:30:14 444b2fc9a129: Waiting 03:30:14 ea15f1150254: Waiting 03:30:14 2cc5ad85d9ab: Download complete 03:30:14 444b2fc9a129: Verifying Checksum 03:30:14 444b2fc9a129: Download complete 03:30:14 c9b1b535fdd9: Verifying Checksum 03:30:14 c9b1b535fdd9: Download complete 03:30:14 ea15f1150254: Verifying Checksum 03:30:14 ea15f1150254: Download complete 03:30:14 28c525ee5125: Verifying Checksum 03:30:14 28c525ee5125: Download complete 03:30:14 756a868c4378: Verifying Checksum 03:30:14 756a868c4378: Download complete 03:30:14 c9b1b535fdd9: Pull complete 03:30:14 138eaada9080: Verifying Checksum 03:30:14 138eaada9080: Download complete 03:30:14 0622d0fa9048: Verifying Checksum 03:30:14 0622d0fa9048: Download complete 03:30:14 2cc5ad85d9ab: Pull complete 03:30:14 094b1ea09ed8: Verifying Checksum 03:30:14 094b1ea09ed8: Download complete 03:30:15 41b27a9f41bf: Verifying Checksum 03:30:15 41b27a9f41bf: Download complete 03:30:16 756a868c4378: Pull complete 03:30:16 444b2fc9a129: Pull complete 03:30:16 ea15f1150254: Pull complete 03:30:20 41b27a9f41bf: Pull complete 03:30:20 28c525ee5125: Pull complete 03:30:21 094b1ea09ed8: Pull complete 03:30:21 138eaada9080: Pull complete 03:30:22 0622d0fa9048: Pull complete 03:30:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:30:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:30:22 prd-centos7-docker-4c-2g-4856 does not seem to be running inside a container 03:30:22 $ 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 03:30:23 $ docker top 09b91a2438b5df18d3853a2e6f7908aac4d0105fdcd025ab692f95cbc9074f5a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:23 provisioning config files... 03:30:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-141@tmp/config1512756654592315340tmp [Pipeline] { [Pipeline] echo 03:30:23 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:30:23 ---> create-netrc.sh [Pipeline] echo 03:30:23 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:30:24 ---> logs-deploy.sh 03:30:24 + ARCHIVE_ARTIFACTS= 03:30:24 + LOGS_SERVER=https://logs.edgexfoundry.org 03:30:24 + '[' https://logs.edgexfoundry.org == None ']' 03:30:24 + NEXUS_URL=https://nexus.edgexfoundry.org 03:30:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-141/1 03:30:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-141/1/ 03:30:24 + 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 03:30:25 Archives upload complete. 03:30:25 + 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/