Pull request #156 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 7e3748a7206db0950755fd783d3c275004c33838+49672cc0825fc2b257ef421e8ddc02da382ee60a (8a7e2441451b067a10d53e71913dc9fd47c2a2d1) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-156/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13, buildSnap:true] ========================================================= [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: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-530’ Running on prd-centos7-docker-4c-2g-532 in /w/workspace/gexfoundry_device-mqtt-go_PR-156 [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-156 # 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/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 49672cc0825fc2b257ef421e8ddc02da382ee60a into PR head commit 7e3748a7206db0950755fd783d3c275004c33838 Merge succeeded, producing 7e3748a7206db0950755fd783d3c275004c33838 Checking out Revision 7e3748a7206db0950755fd783d3c275004c33838 (PR-156) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/156/head:refs/remotes/origin/PR-156 # 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/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # 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 49672cc0825fc2b257ef421e8ddc02da382ee60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # timeout=10 Commit message: "Upgrade SDK version and configuration file" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:28 ========================================================= 04:52:28 EdgeX Global Pipelines Version Info 04:52:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:30 ------------------- 04:52:30 stable info: 04:52:30 ------------------- 04:52:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:30 Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 04:52:30 Message: update stable to v1.0.99 04:52:30 ------------------- 04:52:30 experimental info: 04:52:30 ------------------- 04:52:30 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:30 Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 04:52:30 Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 04:52:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:52:33 04:52:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:52:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:52:33 latest: Pulling from edgex-devops/git-semver 04:52:33 31603596830f: Pulling fs layer 04:52:33 2a8b12db71e7: Pulling fs layer 04:52:33 6ca5941a6612: Pulling fs layer 04:52:33 ecc8261a40a4: Pulling fs layer 04:52:33 ecc8261a40a4: Waiting 04:52:33 2a8b12db71e7: Verifying Checksum 04:52:33 2a8b12db71e7: Download complete 04:52:33 31603596830f: Verifying Checksum 04:52:33 31603596830f: Download complete 04:52:34 ecc8261a40a4: Verifying Checksum 04:52:34 ecc8261a40a4: Download complete 04:52:34 6ca5941a6612: Verifying Checksum 04:52:34 6ca5941a6612: Download complete 04:52:34 31603596830f: Pull complete 04:52:34 2a8b12db71e7: Pull complete 04:52:35 6ca5941a6612: Pull complete 04:52:35 ecc8261a40a4: Pull complete 04:52:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:52:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:52:35 prd-centos7-docker-4c-2g-532 does not seem to be running inside a container 04:52:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-156 -v /w/workspace/gexfoundry_device-mqtt-go_PR-156:/w/workspace/gexfoundry_device-mqtt-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-156@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:52:37 $ docker top 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:37 [ssh-agent] Looking for ssh-agent implementation... 04:52:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:38 $ docker exec 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 ssh-agent 04:52:38 SSH_AUTH_SOCK=/tmp/ssh-AXJ687p0c1K7/agent.12 04:52:38 SSH_AGENT_PID=17 04:52:38 Running ssh-add (command line suppressed) 04:52:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/private_key_4031818700696047283.key (/w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/private_key_4031818700696047283.key) 04:52:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:38 + git describe --exact-match --tags HEAD 04:52:38 fatal: No names found, cannot describe anything. [Pipeline] } 04:52:38 $ docker exec --env ******** --env ******** 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 ssh-agent -k 04:52:38 unset SSH_AUTH_SOCK; 04:52:38 unset SSH_AGENT_PID; 04:52:38 echo Agent pid 17 killed; 04:52:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 04:52:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 04:52:39 This usually means this commit has not been tagged. [Pipeline] sshagent 04:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:39 [ssh-agent] Looking for ssh-agent implementation... 04:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:39 $ docker exec 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 ssh-agent 04:52:39 SSH_AUTH_SOCK=/tmp/ssh-aRH9gZRLAWgp/agent.46 04:52:39 SSH_AGENT_PID=51 04:52:39 Running ssh-add (command line suppressed) 04:52:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/private_key_6429226820415120882.key (/w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/private_key_6429226820415120882.key) 04:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:40 + git semver init 04:52:40 # -> Open(): unable to determine branch for HEAD 04:52:40 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-156/.git 04:52:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-156 04:52:40 # $SEMVER_REMOTE_NAME = origin 04:52:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:52:40 # $SEMVER_USER_NAME = edgex-jenkins 04:52:40 # $SEMVER_BRANCH = PR-156 04:52:40 # $SEMVER_TEMP = /tmp/semver-179596998 04:52:40 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 04:52:40 # '/tmp/semver-179596998' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-156/.semver' 04:52:40 # -> Force: false 04:52:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-156/.semver [Pipeline] } 04:52:40 $ docker exec --env ******** --env ******** 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 ssh-agent -k 04:52:40 unset SSH_AUTH_SOCK; 04:52:40 unset SSH_AGENT_PID; 04:52:40 echo Agent pid 51 killed; 04:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:41 + git semver [Pipeline] } 04:52:41 $ docker stop --time=1 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 04:52:42 $ docker rm -f 829018a7abe22826aafe788d03f4d51900e5ca9e32163a6851d7e66183919625 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 04:52:43 Stashed 21 file(s) [Pipeline] echo 04:52:43 [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 04:52:58 Still waiting to schedule task 04:52:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:52:58 Still waiting to schedule task 04:52:58 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-531’ 04:55:21 Running on prd-centos7-docker-4c-2g-533 in /w/workspace/gexfoundry_device-mqtt-go_PR-156 [Pipeline] { [Pipeline] ws 04:55:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 04:55:26 using credential edgex-jenkins-ssh 04:55:26 Cloning the remote Git repository 04:55:26 Cloning with configured refspecs honoured and without tags 04:55:27 Fetching without tags 04:55:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:55:27 > git init /w/workspace/device-mqtt-go/1 # timeout=10 04:55:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:55:27 > git --version # timeout=10 04:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:55:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:55:27 > git config --add remote.origin.fetch +refs/pull/156/head:refs/remotes/origin/PR-156 # timeout=10 04:55:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:55:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:55:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:55:28 Merging remotes/origin/master commit 49672cc0825fc2b257ef421e8ddc02da382ee60a into PR head commit 7e3748a7206db0950755fd783d3c275004c33838 04:55:28 Merge succeeded, producing 7e3748a7206db0950755fd783d3c275004c33838 04:55:28 Checking out Revision 7e3748a7206db0950755fd783d3c275004c33838 (PR-156) 04:55:28 > git config core.sparsecheckout # timeout=10 04:55:28 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # timeout=10 04:55:28 > git remote # timeout=10 04:55:28 > git config --get remote.origin.url # timeout=10 04:55:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:28 > git merge 49672cc0825fc2b257ef421e8ddc02da382ee60a # timeout=10 04:55:28 > git rev-parse HEAD^{commit} # timeout=10 04:55:28 > git config core.sparsecheckout # timeout=10 04:55:28 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # timeout=10 04:55:32 Commit message: "Upgrade SDK version and configuration file" 04:55:32 > git --version # timeout=10 04:55:32 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:55:33 ========================================================= 04:55:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 04:55:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:55:34 + 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 . 04:55:34 Sending build context to Docker daemon 607.2kB 04:55:34 Step 1/8 : ARG BASE=golang:1.13-alpine 04:55:34 Step 2/8 : FROM ${BASE} 04:55:34 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 04:55:34 df20fa9351a1: Pulling fs layer 04:55:34 ed8968b2872e: Pulling fs layer 04:55:34 a92cc7c5fd73: Pulling fs layer 04:55:34 2dd03ba5bac4: Pulling fs layer 04:55:34 1e091d79d1de: Pulling fs layer 04:55:34 481702a1767f: Pulling fs layer 04:55:34 f64a6f60c768: Pulling fs layer 04:55:34 e78d2573fc39: Pulling fs layer 04:55:34 e876d2f968b6: Pulling fs layer 04:55:34 ce8a83651883: Pulling fs layer 04:55:34 07967f4d0e4b: Pulling fs layer 04:55:34 2dd03ba5bac4: Waiting 04:55:34 1e091d79d1de: Waiting 04:55:34 481702a1767f: Waiting 04:55:34 f64a6f60c768: Waiting 04:55:34 e78d2573fc39: Waiting 04:55:34 e876d2f968b6: Waiting 04:55:34 ce8a83651883: Waiting 04:55:34 07967f4d0e4b: Waiting 04:55:35 a92cc7c5fd73: Download complete 04:55:35 ed8968b2872e: Verifying Checksum 04:55:35 ed8968b2872e: Download complete 04:55:35 1e091d79d1de: Verifying Checksum 04:55:35 1e091d79d1de: Download complete 04:55:35 481702a1767f: Verifying Checksum 04:55:35 481702a1767f: Download complete 04:55:35 df20fa9351a1: Verifying Checksum 04:55:35 df20fa9351a1: Download complete 04:55:35 df20fa9351a1: Pull complete 04:55:37 ed8968b2872e: Pull complete 04:55:37 f64a6f60c768: Verifying Checksum 04:55:37 f64a6f60c768: Download complete 04:55:37 a92cc7c5fd73: Pull complete 04:55:37 e876d2f968b6: Verifying Checksum 04:55:37 e876d2f968b6: Download complete 04:55:37 e78d2573fc39: Verifying Checksum 04:55:37 e78d2573fc39: Download complete 04:55:37 07967f4d0e4b: Verifying Checksum 04:55:37 07967f4d0e4b: Download complete 04:55:38 2dd03ba5bac4: Verifying Checksum 04:55:38 2dd03ba5bac4: Download complete 04:55:38 ce8a83651883: Verifying Checksum 04:55:38 ce8a83651883: Download complete 04:55:48 2dd03ba5bac4: Pull complete 04:55:48 1e091d79d1de: Pull complete 04:55:48 481702a1767f: Pull complete 04:55:53 f64a6f60c768: Pull complete 04:55:58 e78d2573fc39: Pull complete 04:55:58 e876d2f968b6: Pull complete 04:56:00 ce8a83651883: Pull complete 04:56:00 07967f4d0e4b: Pull complete 04:56:00 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 04:56:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 04:56:00 ---> 5d7c900382c6 04:56:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:56:02 ---> Running in 33ee9a634f61 04:56:02 Removing intermediate container 33ee9a634f61 04:56:02 ---> 0a0fa53b3c87 04:56:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:56:02 ---> Running in 146c76d7da23 04:56:04 Removing intermediate container 146c76d7da23 04:56:04 ---> e8e7eb9f6cf3 04:56:04 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:56:04 ---> Running in d36f1429a389 04:56:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:56:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:56:06 (1/14) Installing libmagic (5.38-r0) 04:56:06 (2/14) Installing file (5.38-r0) 04:56:06 (3/14) Installing libc-dev (0.7.2-r3) 04:56:06 (4/14) Installing g++ (9.3.0-r2) 04:56:08 (5/14) Installing fortify-headers (1.1-r0) 04:56:08 (6/14) Installing patch (2.7.6-r6) 04:56:08 (7/14) Installing build-base (0.5-r2) 04:56:08 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:56:08 (9/14) Installing libedit (20191231.3.1-r0) 04:56:09 (10/14) Installing openssh-client (8.3_p1-r0) 04:56:09 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:56:09 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:56:09 (13/14) Installing openssh-server (8.3_p1-r0) 04:56:10 (14/14) Installing openssh (8.3_p1-r0) 04:56:10 Executing busybox-1.31.1-r16.trigger 04:56:10 OK: 237 MiB in 53 packages 04:56:14 Removing intermediate container d36f1429a389 04:56:14 ---> 4fd52a970066 04:56:14 Step 6/8 : WORKDIR /device-mqtt-go 04:56:14 ---> Running in 46281c362b01 04:56:14 Removing intermediate container 46281c362b01 04:56:14 ---> f8685ea053fd 04:56:14 Step 7/8 : COPY . . 04:56:14 ---> 29526421f5ce 04:56:14 Step 8/8 : RUN go mod download 04:56:15 ---> Running in 69ff48f32c27 04:56:17 go: finding github.com/BurntSushi/toml v0.3.1 04:56:17 go: finding github.com/OneOfOne/xxhash v1.2.6 04:56:17 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:56:17 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:56:17 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:56:17 go: finding github.com/bgentry/speakeasy v0.1.0 04:56:17 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:56:17 go: finding github.com/davecgh/go-spew v1.1.1 04:56:17 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 04:56:17 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:56:17 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:56:17 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:56:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:56:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:56:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:56:18 go: finding github.com/fatih/color v1.7.0 04:56:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:56:18 go: finding github.com/go-kit/kit v0.8.0 04:56:18 go: finding github.com/go-logfmt/logfmt v0.4.0 04:56:18 go: finding github.com/go-stack/stack v1.8.0 04:56:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:56:18 go: finding github.com/google/uuid v1.1.1 04:56:18 go: finding github.com/gorilla/mux v1.7.1 04:56:18 go: finding github.com/hashicorp/consul/api v1.1.0 04:56:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:56:18 go: finding github.com/hashicorp/errwrap v1.0.0 04:56:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:56:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:56:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:56:18 go: finding github.com/hashicorp/go-multierror v1.0.0 04:56:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:56:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:56:18 go: finding github.com/hashicorp/go-syslog v1.0.0 04:56:18 go: finding github.com/hashicorp/go-uuid v1.0.1 04:56:18 go: finding github.com/hashicorp/go.net v0.0.1 04:56:18 go: finding github.com/hashicorp/golang-lru v0.5.0 04:56:18 go: finding github.com/hashicorp/logutils v1.0.0 04:56:18 go: finding github.com/hashicorp/mdns v1.0.0 04:56:18 go: finding github.com/hashicorp/memberlist v0.1.3 04:56:18 go: finding github.com/hashicorp/serf v0.8.2 04:56:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:56:18 go: finding github.com/kr/pretty v0.1.0 04:56:18 go: finding github.com/kr/pty v1.1.1 04:56:18 go: finding github.com/kr/text v0.1.0 04:56:18 go: finding github.com/mattn/go-colorable v0.0.9 04:56:18 go: finding github.com/mattn/go-isatty v0.0.3 04:56:18 go: finding github.com/miekg/dns v1.0.14 04:56:18 go: finding github.com/mitchellh/cli v1.0.0 04:56:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:56:18 go: finding github.com/mitchellh/copystructure v1.0.0 04:56:18 go: finding github.com/mitchellh/go-homedir v1.0.0 04:56:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:56:18 go: finding github.com/mitchellh/gox v0.4.0 04:56:18 go: finding github.com/mitchellh/iochan v1.0.0 04:56:19 go: finding github.com/mitchellh/mapstructure v1.1.2 04:56:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:56:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:56:19 go: finding github.com/pelletier/go-toml v1.2.0 04:56:19 go: finding github.com/pkg/errors v0.8.1 04:56:19 go: finding github.com/pmezard/go-difflib v1.0.0 04:56:19 go: finding github.com/posener/complete v1.1.1 04:56:19 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:56:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:56:19 go: finding github.com/spf13/cast v1.3.0 04:56:19 go: finding github.com/stretchr/objx v0.1.0 04:56:19 go: finding github.com/stretchr/testify v1.5.1 04:56:19 go: finding github.com/ugorji/go v1.1.4 04:56:19 go: finding github.com/x448/float16 v0.8.4 04:56:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:56:19 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 04:56:19 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:56:19 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:56:19 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 04:56:19 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 04:56:19 go: finding gopkg.in/yaml.v2 v2.2.8 04:56:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-534 in /w/workspace/gexfoundry_device-mqtt-go_PR-156 [Pipeline] { [Pipeline] ws 04:56:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 04:56:26 using credential edgex-jenkins-ssh 04:56:26 Cloning the remote Git repository 04:56:26 Cloning with configured refspecs honoured and without tags 04:56:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:56:27 Fetching without tags 04:56:26 > git init /w/workspace/device-mqtt-go/1 # timeout=10 04:56:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:56:26 > git --version # timeout=10 04:56:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:56:27 > git config --add remote.origin.fetch +refs/pull/156/head:refs/remotes/origin/PR-156 # timeout=10 04:56:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 04:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:56:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:56:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:56:27 Merging remotes/origin/master commit 49672cc0825fc2b257ef421e8ddc02da382ee60a into PR head commit 7e3748a7206db0950755fd783d3c275004c33838 04:56:28 Merge succeeded, producing 7e3748a7206db0950755fd783d3c275004c33838 04:56:28 Checking out Revision 7e3748a7206db0950755fd783d3c275004c33838 (PR-156) 04:56:27 > git config core.sparsecheckout # timeout=10 04:56:28 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # timeout=10 04:56:28 > git remote # timeout=10 04:56:28 > git config --get remote.origin.url # timeout=10 04:56:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:28 > git merge 49672cc0825fc2b257ef421e8ddc02da382ee60a # timeout=10 04:56:28 > git rev-parse HEAD^{commit} # timeout=10 04:56:28 > git config core.sparsecheckout # timeout=10 04:56:28 > git checkout -f 7e3748a7206db0950755fd783d3c275004c33838 # timeout=10 04:56:29 Removing intermediate container 69ff48f32c27 04:56:29 ---> f5b2935d93ef 04:56:29 Successfully built f5b2935d93ef 04:56:29 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 04:56:30 + docker inspect -f . ci-base-image-x86_64 04:56:30 . [Pipeline] withDockerContainer 04:56:30 prd-centos7-docker-4c-2g-533 does not seem to be running inside a container 04:56:31 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:32 $ docker top 2402a8b28b870f0a7a4efac01d2184886ae21b6dea55d744b48033b40d66fffe -eo pid,comm 04:56:32 Commit message: "Upgrade SDK version and configuration file" 04:56:32 > git --version # timeout=10 04:56:32 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:56:33 + go version 04:56:33 go version go1.13.13 linux/amd64 [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 04:56:33 + make test 04:56:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] echo 04:56:34 ========================================================= 04:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 04:56:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:56:35 + 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 . 04:56:36 Sending build context to Docker daemon 607.2kB 04:56:36 Step 1/8 : ARG BASE=golang:1.13-alpine 04:56:36 Step 2/8 : FROM ${BASE} 04:56:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:56:36 b538f80385f9: Pulling fs layer 04:56:36 74f711af9a0d: Pulling fs layer 04:56:36 99f96fe45779: Pulling fs layer 04:56:36 fd7a069fd194: Pulling fs layer 04:56:36 66aa3694b03b: Pulling fs layer 04:56:36 170f70906a0f: Pulling fs layer 04:56:36 ad7c5574e4b9: Pulling fs layer 04:56:36 e772456be8f7: Pulling fs layer 04:56:36 c890913d741a: Pulling fs layer 04:56:36 2480fcc9aa5a: Pulling fs layer 04:56:36 09adf4765672: Pulling fs layer 04:56:36 66aa3694b03b: Waiting 04:56:36 170f70906a0f: Waiting 04:56:36 ad7c5574e4b9: Waiting 04:56:36 e772456be8f7: Waiting 04:56:36 c890913d741a: Waiting 04:56:36 09adf4765672: Waiting 04:56:36 2480fcc9aa5a: Waiting 04:56:36 fd7a069fd194: Waiting 04:56:36 99f96fe45779: Verifying Checksum 04:56:36 99f96fe45779: Download complete 04:56:36 74f711af9a0d: Verifying Checksum 04:56:36 74f711af9a0d: Download complete 04:56:36 66aa3694b03b: Verifying Checksum 04:56:36 66aa3694b03b: Download complete 04:56:36 170f70906a0f: Verifying Checksum 04:56:36 170f70906a0f: Download complete 04:56:36 b538f80385f9: Verifying Checksum 04:56:36 b538f80385f9: Download complete 04:56:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:56:37 b538f80385f9: Pull complete 04:56:37 74f711af9a0d: Pull complete 04:56:38 99f96fe45779: Pull complete 04:56:40 ad7c5574e4b9: Download complete 04:56:40 c890913d741a: Verifying Checksum 04:56:40 c890913d741a: Download complete 04:56:42 2480fcc9aa5a: Verifying Checksum 04:56:42 2480fcc9aa5a: Download complete 04:56:42 09adf4765672: Verifying Checksum 04:56:42 09adf4765672: Download complete 04:56:42 e772456be8f7: Verifying Checksum 04:56:42 e772456be8f7: Download complete 04:56:43 fd7a069fd194: Verifying Checksum 04:56:43 fd7a069fd194: Download complete 04:56:55 fd7a069fd194: Pull complete 04:56:55 66aa3694b03b: Pull complete 04:56:55 170f70906a0f: Pull complete 04:56:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:56:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 28.3% of statements 04:56:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:56:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:56:58 ad7c5574e4b9: Pull complete 04:56:59 gofmt -l . 04:56:59 ["`gofmt -l .`" = ""] 04:56:59 ./bin/test-attribution-txt.sh 04:57:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:57:01 Stashed 1 file(s) [Pipeline] } 04:57:01 $ docker stop --time=1 2402a8b28b870f0a7a4efac01d2184886ae21b6dea55d744b48033b40d66fffe 04:57:03 $ docker rm -f 2402a8b28b870f0a7a4efac01d2184886ae21b6dea55d744b48033b40d66fffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script 04:57:04 e772456be8f7: Pull complete 04:57:04 c890913d741a: Pull complete [Pipeline] { [Pipeline] sh 04:57:06 2480fcc9aa5a: Pull complete 04:57:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:57:06 09adf4765672: Pull complete 04:57:06 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 04:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 04:57:06 ---> 2248a725d1cf 04:57:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 04:57:06 + ls -al . 04:57:06 total 100 04:57:06 drwxrwxr-x. 10 jenkins jenkins 4096 Jul 22 04:57 . 04:57:06 drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 04:55 .. 04:57:06 -rw-rw-r--. 1 jenkins jenkins 4678 Jul 22 04:55 Attribution.txt 04:57:06 drwxrwxr-x. 2 jenkins jenkins 87 Jul 22 04:55 bin 04:57:06 drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 04:55 cmd 04:57:06 -rw-r--r--. 1 jenkins jenkins 18939 Jul 22 04:56 coverage.out 04:57:06 -rw-rw-r--. 1 jenkins jenkins 1776 Jul 22 04:55 Dockerfile 04:57:06 -rw-rw-r--. 1 jenkins jenkins 953 Jul 22 04:55 Dockerfile.build 04:57:06 -rw-rw-r--. 1 jenkins jenkins 140 Jul 22 04:55 .dockerignore 04:57:06 drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 04:55 .git 04:57:06 drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 04:55 .github 04:57:06 -rw-rw-r--. 1 jenkins jenkins 328 Jul 22 04:55 .gitignore 04:57:06 -rw-r--r--. 1 jenkins jenkins 510 Jul 22 04:57 go.mod 04:57:06 -rw-r--r--. 1 jenkins jenkins 13621 Jul 22 04:57 go.sum 04:57:06 drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 04:55 internal 04:57:06 -rw-rw-r--. 1 jenkins jenkins 700 Jul 22 04:55 Jenkinsfile 04:57:06 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 04:55 LICENSE 04:57:06 -rw-rw-r--. 1 jenkins jenkins 902 Jul 22 04:55 Makefile 04:57:06 drwxrwxr-x. 2 jenkins jenkins 23 Jul 22 04:55 mock 04:57:06 -rw-rw-r--. 1 jenkins jenkins 444 Jul 22 04:55 README.md 04:57:06 drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 04:55 .semver 04:57:06 drwxrwxr-x. 4 jenkins jenkins 54 Jul 22 04:55 snap 04:57:06 -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 04:52 VERSION 04:57:06 -rw-rw-r--. 1 jenkins jenkins 227 Jul 22 04:55 version.go [Pipeline] isUnix [Pipeline] sh 04:57:07 + 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=7e3748a7206db0950755fd783d3c275004c33838 --label arch=amd64 --label version=0.0.0 . 04:57:07 Sending build context to Docker daemon 626.7kB 04:57:07 Step 1/21 : ARG BASE=golang:1.13-alpine 04:57:07 Step 2/21 : FROM ${BASE} AS builder 04:57:07 ---> f5b2935d93ef 04:57:07 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 04:57:07 ---> Running in 431f137fa0e8 04:57:08 Removing intermediate container 431f137fa0e8 04:57:08 ---> 6d7828abbefc 04:57:08 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 04:57:08 ---> Running in 7eefb9b9a6c3 04:57:08 Removing intermediate container 7eefb9b9a6c3 04:57:08 ---> a05e465ae9c2 04:57:08 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:08 ---> Running in 11e9c6cd5357 04:57:09 Removing intermediate container 11e9c6cd5357 04:57:09 ---> 2d67673dcc09 04:57:09 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:57:09 ---> Running in 1761cb4c6277 04:57:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:57:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:57:11 OK: 237 MiB in 53 packages 04:57:11 Removing intermediate container 1761cb4c6277 04:57:11 ---> 85c985445da3 04:57:11 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 04:57:11 ---> Running in 3e06164109ba 04:57:11 Removing intermediate container 3e06164109ba 04:57:11 ---> b99279e71f45 04:57:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:11 ---> Running in 7df17789d006 04:57:12 ---> Running in 2e4797f756e9 04:57:12 Removing intermediate container 2e4797f756e9 04:57:12 ---> c8690da0b012 04:57:12 Step 8/21 : COPY . . 04:57:13 ---> 29d0449732c1 04:57:13 Step 9/21 : ARG MAKE='make build' 04:57:13 ---> Running in d2a57057e77c 04:57:13 Removing intermediate container d2a57057e77c 04:57:13 ---> b52605ae3062 04:57:13 Step 10/21 : RUN $MAKE 04:57:13 ---> Running in c8b46cf5f8c3 04:57:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 04:57:14 Removing intermediate container 7df17789d006 04:57:14 ---> 9334d07f750d 04:57:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 04:57:14 ---> Running in 73ecd04388ae 04:57:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:57:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:57:17 (1/14) Installing libmagic (5.38-r0) 04:57:17 (2/14) Installing file (5.38-r0) 04:57:17 (3/14) Installing libc-dev (0.7.2-r3) 04:57:17 (4/14) Installing g++ (9.3.0-r2) 04:57:21 (5/14) Installing fortify-headers (1.1-r0) 04:57:21 (6/14) Installing patch (2.7.6-r6) 04:57:21 (7/14) Installing build-base (0.5-r2) 04:57:21 (8/14) Installing openssh-keygen (8.3_p1-r0) 04:57:22 (9/14) Installing libedit (20191231.3.1-r0) 04:57:22 (10/14) Installing openssh-client (8.3_p1-r0) 04:57:22 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 04:57:23 (12/14) Installing openssh-server-common (8.3_p1-r0) 04:57:23 (13/14) Installing openssh-server (8.3_p1-r0) 04:57:23 (14/14) Installing openssh (8.3_p1-r0) 04:57:23 Executing busybox-1.31.1-r16.trigger 04:57:23 OK: 221 MiB in 53 packages 04:57:27 Removing intermediate container 73ecd04388ae 04:57:27 ---> df0b99dc0a1d 04:57:27 Step 6/8 : WORKDIR /device-mqtt-go 04:57:27 ---> Running in a57b0c44230b 04:57:27 Removing intermediate container a57b0c44230b 04:57:27 ---> 8b12f700dbe0 04:57:27 Step 7/8 : COPY . . 04:57:28 ---> 4601ea649efc 04:57:28 Step 8/8 : RUN go mod download 04:57:28 ---> Running in 97c7b76874db 04:57:29 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:57:31 go: finding github.com/BurntSushi/toml v0.3.1 04:57:31 go: finding github.com/OneOfOne/xxhash v1.2.6 04:57:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 04:57:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:57:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 04:57:31 go: finding github.com/bgentry/speakeasy v0.1.0 04:57:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:57:31 go: finding github.com/davecgh/go-spew v1.1.1 04:57:31 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 04:57:31 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:57:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:57:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:57:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:57:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:57:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:57:31 go: finding github.com/fatih/color v1.7.0 04:57:31 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:57:31 go: finding github.com/go-kit/kit v0.8.0 04:57:31 go: finding github.com/go-logfmt/logfmt v0.4.0 04:57:31 go: finding github.com/go-stack/stack v1.8.0 04:57:32 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 04:57:32 go: finding github.com/google/uuid v1.1.1 04:57:32 go: finding github.com/gorilla/mux v1.7.1 04:57:32 go: finding github.com/hashicorp/consul/api v1.1.0 04:57:32 go: finding github.com/hashicorp/consul/sdk v0.1.1 04:57:32 go: finding github.com/hashicorp/errwrap v1.0.0 04:57:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:57:32 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:57:32 go: finding github.com/hashicorp/go-msgpack v0.5.3 04:57:32 go: finding github.com/hashicorp/go-multierror v1.0.0 04:57:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:57:32 go: finding github.com/hashicorp/go-sockaddr v1.0.0 04:57:32 Removing intermediate container c8b46cf5f8c3 04:57:32 ---> 2e42a4cf9c41 04:57:32 Step 11/21 : FROM alpine 04:57:32 go: finding github.com/hashicorp/go-syslog v1.0.0 04:57:32 go: finding github.com/hashicorp/go-uuid v1.0.1 04:57:32 go: finding github.com/hashicorp/go.net v0.0.1 04:57:32 go: finding github.com/hashicorp/golang-lru v0.5.0 04:57:32 go: finding github.com/hashicorp/logutils v1.0.0 04:57:32 go: finding github.com/hashicorp/mdns v1.0.0 04:57:32 go: finding github.com/hashicorp/memberlist v0.1.3 04:57:32 go: finding github.com/hashicorp/serf v0.8.2 04:57:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 04:57:32 go: finding github.com/kr/pretty v0.1.0 04:57:32 go: finding github.com/kr/pty v1.1.1 04:57:32 go: finding github.com/kr/text v0.1.0 04:57:32 latest: Pulling from library/alpine 04:57:32 df20fa9351a1: Already exists 04:57:32 go: finding github.com/mattn/go-colorable v0.0.9 04:57:32 go: finding github.com/mattn/go-isatty v0.0.3 04:57:32 go: finding github.com/miekg/dns v1.0.14 04:57:32 go: finding github.com/mitchellh/cli v1.0.0 04:57:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:57:32 go: finding github.com/mitchellh/copystructure v1.0.0 04:57:32 go: finding github.com/mitchellh/go-homedir v1.0.0 04:57:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 04:57:32 go: finding github.com/mitchellh/gox v0.4.0 04:57:32 go: finding github.com/mitchellh/iochan v1.0.0 04:57:32 go: finding github.com/mitchellh/mapstructure v1.1.2 04:57:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:57:32 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:57:32 Status: Downloaded newer image for alpine:latest 04:57:32 ---> a24bb4013296 04:57:32 Step 12/21 : ENV APP_PORT=49982 04:57:32 ---> Running in 5dc6af79b079 04:57:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 04:57:32 go: finding github.com/pelletier/go-toml v1.2.0 04:57:32 go: finding github.com/pkg/errors v0.8.1 04:57:32 go: finding github.com/pmezard/go-difflib v1.0.0 04:57:32 go: finding github.com/posener/complete v1.1.1 04:57:32 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 04:57:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 04:57:32 go: finding github.com/spf13/cast v1.3.0 04:57:32 go: finding github.com/stretchr/objx v0.1.0 04:57:32 go: finding github.com/stretchr/testify v1.5.1 04:57:32 go: finding github.com/ugorji/go v1.1.4 04:57:32 go: finding github.com/x448/float16 v0.8.4 04:57:33 Removing intermediate container 5dc6af79b079 04:57:33 ---> 47b137d96e48 04:57:33 Step 13/21 : EXPOSE $APP_PORT 04:57:33 ---> Running in abac27ece51f 04:57:33 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 04:57:33 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 04:57:33 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 04:57:33 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 04:57:33 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 04:57:33 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 04:57:33 go: finding gopkg.in/yaml.v2 v2.2.8 04:57:33 Removing intermediate container abac27ece51f 04:57:33 ---> 761d46dab183 04:57:33 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 04:57:34 ---> 85d8e69188bf 04:57:34 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 04:57:34 ---> 45712d473198 04:57:34 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 04:57:35 ---> e5b6d95d8c11 04:57:35 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 04:57:35 ---> Running in 886a0d507f41 04:57:35 Removing intermediate container 886a0d507f41 04:57:35 ---> 8384b108252a 04:57:35 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 04:57:35 ---> Running in d17af100ccf1 04:57:35 Removing intermediate container d17af100ccf1 04:57:35 ---> a4d9370dd4b0 04:57:35 Step 19/21 : LABEL arch=amd64 04:57:35 ---> Running in aac05e6cdecf 04:57:35 Removing intermediate container aac05e6cdecf 04:57:35 ---> 0bd6e6ef2ef6 04:57:35 Step 20/21 : LABEL git_sha=7e3748a7206db0950755fd783d3c275004c33838 04:57:35 ---> Running in b8a8b6d76bfb 04:57:36 Removing intermediate container b8a8b6d76bfb 04:57:36 ---> 0b63608f8574 04:57:36 Step 21/21 : LABEL version=0.0.0 04:57:36 ---> Running in caebe37d6124 04:57:36 Removing intermediate container caebe37d6124 04:57:36 ---> 32f14154fb27 04:57:36 [Warning] One or more build-args [ARCH] were not consumed 04:57:36 Successfully built 32f14154fb27 04:57:36 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) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:37 ++ find /w/workspace/device-mqtt-go/1 04:57:37 ++ grep snapcraft.yaml 04:57:37 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:37 provisioning config files... 04:57:37 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config2606653811202728750tmp [Pipeline] { [Pipeline] sh 04:57:38 + cp /w/workspace/device-mqtt-go/1@tmp/config2606653811202728750tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 04:57:38 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 04:57:38 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 04:57:38 latest: Pulling from edgex-devops/edgex-snap-builder 04:57:38 a1125296b23d: Pulling fs layer 04:57:38 3c742a4a0f38: Pulling fs layer 04:57:38 4c5ea3b32996: Pulling fs layer 04:57:38 1b4be91ead68: Pulling fs layer 04:57:38 9224317f5338: Pulling fs layer 04:57:38 a1d4acd2f81e: Pulling fs layer 04:57:38 de16526aea4f: Pulling fs layer 04:57:38 98d9a47ff92f: Pulling fs layer 04:57:38 f00a2f7e41d2: Pulling fs layer 04:57:38 a1d4acd2f81e: Waiting 04:57:38 de16526aea4f: Waiting 04:57:38 98d9a47ff92f: Waiting 04:57:38 1b4be91ead68: Waiting 04:57:38 9224317f5338: Waiting 04:57:38 f00a2f7e41d2: Waiting 04:57:38 4c5ea3b32996: Verifying Checksum 04:57:38 4c5ea3b32996: Download complete 04:57:38 3c742a4a0f38: Verifying Checksum 04:57:38 3c742a4a0f38: Download complete 04:57:38 1b4be91ead68: Verifying Checksum 04:57:38 1b4be91ead68: Download complete 04:57:38 a1d4acd2f81e: Download complete 04:57:38 de16526aea4f: Verifying Checksum 04:57:38 de16526aea4f: Download complete 04:57:38 98d9a47ff92f: Verifying Checksum 04:57:38 98d9a47ff92f: Download complete 04:57:38 f00a2f7e41d2: Verifying Checksum 04:57:38 f00a2f7e41d2: Download complete 04:57:39 a1125296b23d: Verifying Checksum 04:57:39 a1125296b23d: Download complete 04:57:41 a1125296b23d: Pull complete 04:57:41 3c742a4a0f38: Pull complete 04:57:43 Removing intermediate container 97c7b76874db 04:57:43 ---> a8aae8967f35 04:57:43 Successfully built a8aae8967f35 04:57:43 Successfully tagged ci-base-image-arm64:latest 04:57:43 4c5ea3b32996: Pull complete [Pipeline] } [Pipeline] // script [Pipeline] } 04:57:43 1b4be91ead68: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:57:44 9224317f5338: Verifying Checksum 04:57:44 9224317f5338: Download complete 04:57:44 + docker inspect -f . ci-base-image-arm64 04:57:44 . [Pipeline] withDockerContainer 04:57:44 prd-ubuntu18.04-docker-arm64-4c-16g-534 does not seem to be running inside a container 04:57:44 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 04:57:46 $ docker top 89b31f88e7c9f96e97a8b5fbb6d5fac3d381f2e23c46b7e685c917cce31a6ea0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:47 + go version 04:57:47 go version go1.13.13 linux/arm64 [Pipeline] sh 04:57:48 + make test 04:57:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:57:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:58:16 9224317f5338: Pull complete 04:58:16 a1d4acd2f81e: Pull complete 04:58:16 de16526aea4f: Pull complete 04:58:16 98d9a47ff92f: Pull complete 04:58:16 f00a2f7e41d2: Pull complete 04:58:16 Digest: sha256:39fc549714d04fcee7efecd05a41bc4dfa0e7f4fb03cb3990b8a1054409554c4 04:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 04:58:19 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 04:58:19 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 04:58:20 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 04:58:20 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 04:58:20 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1018 kB] 04:58:20 Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [94.6 kB] 04:58:20 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [870 kB] 04:58:20 Get:8 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9279 B] 04:58:20 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1409 kB] 04:58:21 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1321 kB] 04:58:21 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [111 kB] 04:58:21 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [13.6 kB] 04:58:21 Fetched 5098 kB in 2s (2748 kB/s) 04:58:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:58:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.028s coverage: 28.3% of statements 04:58:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:58:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:58:24 Reading package lists... 04:58:27 gofmt -l . 04:58:27 ["`gofmt -l .`" = ""] 04:58:27 ./bin/test-attribution-txt.sh 04:58:28 ./bin/test-go-mod-tidy.sh [Pipeline] stash 04:58:28 Warning: overwriting stash ‘coverage-report’ 04:58:29 Stashed 1 file(s) [Pipeline] } 04:58:29 $ docker stop --time=1 89b31f88e7c9f96e97a8b5fbb6d5fac3d381f2e23c46b7e685c917cce31a6ea0 04:58:30 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 04:58:30 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 04:58:30 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 04:58:30 0% [2 InRelease gpgv 242 kB] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 04:58:31 $ docker rm -f 89b31f88e7c9f96e97a8b5fbb6d5fac3d381f2e23c46b7e685c917cce31a6ea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 04:58:32 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 39% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 80% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:33 + ls -al . 04:58:33 total 136 04:58:33 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 04:58 . 04:58:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:56 .. 04:58:33 -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 04:56 .dockerignore 04:58:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 04:56 .git 04:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 04:56 .github 04:58:33 -rw-rw-r-- 1 jenkins jenkins 328 Jul 22 04:56 .gitignore 04:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:56 .semver 04:58:33 -rw-rw-r-- 1 jenkins jenkins 4678 Jul 22 04:56 Attribution.txt 04:58:33 -rw-rw-r-- 1 jenkins jenkins 1776 Jul 22 04:56 Dockerfile 04:58:33 -rw-rw-r-- 1 jenkins jenkins 953 Jul 22 04:56 Dockerfile.build 04:58:33 -rw-rw-r-- 1 jenkins jenkins 700 Jul 22 04:56 Jenkinsfile 04:58:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 04:56 LICENSE 04:58:33 -rw-rw-r-- 1 jenkins jenkins 902 Jul 22 04:56 Makefile 04:58:33 -rw-rw-r-- 1 jenkins jenkins 444 Jul 22 04:56 README.md 04:58:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 04:52 VERSION 04:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 04:56 bin 04:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:56 cmd 04:58:33 -rw-r--r-- 1 jenkins jenkins 18939 Jul 22 04:58 coverage.out 04:58:33 -rw-r--r-- 1 jenkins jenkins 510 Jul 22 04:58 go.mod 04:58:33 -rw-r--r-- 1 jenkins jenkins 13621 Jul 22 04:58 go.sum 04:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 04:56 internal 04:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 04:56 mock 04:58:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 04:56 snap 04:58:33 -rw-rw-r-- 1 jenkins jenkins 227 Jul 22 04:56 version.go [Pipeline] isUnix [Pipeline] sh 04:58:33 + 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=7e3748a7206db0950755fd783d3c275004c33838 --label arch=arm64 --label version=0.0.0 . 04:58:34 Sending build context to Docker daemon 626.7kB 04:58:34 Step 1/21 : ARG BASE=golang:1.13-alpine 04:58:34 Step 2/21 : FROM ${BASE} AS builder 04:58:34 ---> a8aae8967f35 04:58:34 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 04:58:34 ---> Running in da6cb79c28de 04:58:34 Removing intermediate container da6cb79c28de 04:58:34 ---> f755028d2f0f 04:58:34 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 04:58:34 ---> Running in e49f06a51090 04:58:35 Removing intermediate container e49f06a51090 04:58:35 ---> 9e5859043334 04:58:35 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:58:35 ---> Running in 9226cb343164 04:58:35 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 04:58:37 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 36% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 71% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 04:58:37 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 68% Building dependency tree 04:58:37 Reading state information... 0% Reading state information... 0% Reading state information... Done 04:58:38 Removing intermediate container 9226cb343164 04:58:38 ---> 3cd6a530120d 04:58:38 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:58:38 ---> Running in 840b11bd5884 04:58:38 The following packages were automatically installed and are no longer required: 04:58:38 libjq1 libonig4 04:58:38 Use 'sudo apt autoremove' to remove them. 04:58:38 Suggested packages: 04:58:38 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 04:58:38 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 04:58:38 diffutils-doc perl-doc libterm-readline-gnu-perl 04:58:38 | libterm-readline-perl-perl 04:58:39 The following NEW packages will be installed: 04:58:39 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 04:58:39 libperl5.26 make netbase patch perl perl-modules-5.26 04:58:39 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. 04:58:39 Need to get 12.0 MB of archives. 04:58:39 After this operation, 77.5 MB of additional disk space will be used. 04:58:39 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 04:58:40 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 682 kB/2763 kB 25%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 04:58:40 20% [2 libgdbm5 15.2 kB/26.0 kB 58%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 04:58:40 21% [3 libgdbm-compat4 6084 B/6084 B 100%] 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 04:58:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:58:40 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 04:58:40 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 04:58:40 51% [6 less 28.4 kB/112 kB 25%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 04:58:40 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.9 [159 kB] 04:58:40 55% [8 curl 112 kB/159 kB 70%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.9 [212 kB] 04:58:40 58% [9 libcurl3-gnutls 212 kB/212 kB 100%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 04:58:40 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 04:58:40 62% [11 git-man 131 kB/804 kB 16%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 04:58:40 68% [12 git 57.3 kB/3915 kB 1%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 04:58:40 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 04:58:40 98% [14 patch 12.3 kB/102 kB 12%] 100% [Working] Fetched 12.0 MB in 1s (8409 kB/s) 04:58:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:58:41 debconf: delaying package configuration, since apt-utils is not installed 04:58:41 Selecting previously unselected package perl-modules-5.26. 04:58:41 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 04:58:41 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 04:58:41 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:58:42 OK: 221 MiB in 53 packages 04:58:43 Removing intermediate container 840b11bd5884 04:58:43 ---> a894640ad1c3 04:58:43 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 04:58:43 ---> Running in 613709b5671d 04:58:44 Removing intermediate container 613709b5671d 04:58:44 ---> 44764ac9f2d3 04:58:44 Step 8/21 : COPY . . 04:58:44 Selecting previously unselected package libgdbm5:amd64. 04:58:44 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 04:58:44 Unpacking libgdbm5:amd64 (1.14.1-6) ... 04:58:44 Selecting previously unselected package libgdbm-compat4:amd64. 04:58:44 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 04:58:44 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 04:58:44 Selecting previously unselected package libperl5.26:amd64. 04:58:44 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 04:58:44 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 04:58:44 ---> b758c8e7cd23 04:58:44 Step 9/21 : ARG MAKE='make build' 04:58:44 ---> Running in 59bd9133f48b 04:58:45 Selecting previously unselected package perl. 04:58:45 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 04:58:45 Unpacking perl (5.26.1-6ubuntu0.3) ... 04:58:45 Selecting previously unselected package less. 04:58:45 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 04:58:45 Unpacking less (487-0.1) ... 04:58:45 Selecting previously unselected package netbase. 04:58:45 Preparing to unpack .../06-netbase_5.4_all.deb ... 04:58:45 Unpacking netbase (5.4) ... 04:58:45 Selecting previously unselected package curl. 04:58:45 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_amd64.deb ... 04:58:45 Unpacking curl (7.58.0-2ubuntu3.9) ... 04:58:45 Removing intermediate container 59bd9133f48b 04:58:45 ---> 516fd553cfeb 04:58:45 Step 10/21 : RUN $MAKE 04:58:45 ---> Running in 23c7bb226a3c 04:58:45 Selecting previously unselected package libcurl3-gnutls:amd64. 04:58:45 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_amd64.deb ... 04:58:45 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... 04:58:46 Selecting previously unselected package liberror-perl. 04:58:46 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 04:58:46 Unpacking liberror-perl (0.17025-1) ... 04:58:46 Selecting previously unselected package git-man. 04:58:46 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 04:58:46 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 04:58:46 Selecting previously unselected package git. 04:58:46 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 04:58:46 Unpacking git (1:2.17.1-1ubuntu0.7) ... 04:58:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 04:58:47 Selecting previously unselected package make. 04:58:47 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 04:58:47 Unpacking make (4.1-9.1ubuntu1) ... 04:58:48 Selecting previously unselected package patch. 04:58:48 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 04:58:48 Unpacking patch (2.7.6-2ubuntu1.1) ... 04:58:48 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 04:58:48 Setting up less (487-0.1) ... 04:58:48 Setting up make (4.1-9.1ubuntu1) ... 04:58:48 Setting up curl (7.58.0-2ubuntu3.9) ... 04:58:48 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... 04:58:48 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 04:58:48 Setting up libgdbm5:amd64 (1.14.1-6) ... 04:58:48 Setting up patch (2.7.6-2ubuntu1.1) ... 04:58:48 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 04:58:48 Setting up netbase (5.4) ... 04:58:48 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 04:58:48 Setting up perl (5.26.1-6ubuntu0.3) ... 04:58:49 Setting up liberror-perl (0.17025-1) ... 04:58:49 Setting up git (1:2.17.1-1ubuntu0.7) ... 04:58:49 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 04:58:49 Processing triggers for mime-support (3.60ubuntu1) ... 04:58:52 curl set to automatically installed. 04:58:52 git set to automatically installed. 04:58:52 git-man set to automatically installed. 04:58:52 less set to automatically installed. 04:58:52 libcurl3-gnutls set to automatically installed. 04:58:52 liberror-perl set to automatically installed. 04:58:52 libgdbm-compat4 set to automatically installed. 04:58:52 libgdbm5 set to automatically installed. 04:58:52 libperl5.26 set to automatically installed. 04:58:52 make set to automatically installed. 04:58:52 netbase set to automatically installed. 04:58:52 patch set to automatically installed. 04:58:52 perl set to automatically installed. 04:58:52 perl-modules-5.26 set to automatically installed. 04:58:52 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 04:58:52 Please ensure the environment is properly setup before continuing. 04:58:52 Ignore this message if the appropriate measures have already been taken 04:58:52 Pulling go  04:58:54 'device-mqtt' has dependencies that need to be staged: go 04:58:54 Skipping pull go (already ran) 04:58:54 Building go  04:58:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:54 Dload Upload Total Spent Left Speed 04:58:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 31814 0 0 211k 0 0:09:14 --:--:-- 0:09:14 209k 43 114M 43 49.4M 0 0 43.2M 0 0:00:02 0:00:01 0:00:01 43.2M 95 114M 95 109M 0 0 51.0M 0 0:00:02 0:00:02 --:--:-- 51.0M 100 114M 100 114M 0 0 51.3M 0 0:00:02 0:00:02 --:--:-- 51.3M 04:58:57 go1.13.5.linux-amd64.tar.gz: OK 04:59:07 Staging go  04:59:09 Pulling device-mqtt  04:59:10 Skipping build go (already ran) 04:59:10 Building device-mqtt  04:59:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 04:59:11 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 04:59:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:59:11 go: downloading github.com/spf13/cast v1.3.0 04:59:11 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 04:59:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 04:59:11 go: extracting github.com/spf13/cast v1.3.0 04:59:11 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 04:59:11 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:59:11 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 04:59:11 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 04:59:11 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 04:59:11 go: downloading github.com/gorilla/mux v1.7.1 04:59:11 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 04:59:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:59:11 go: downloading github.com/pkg/errors v0.8.1 04:59:11 go: extracting github.com/gorilla/mux v1.7.1 04:59:11 go: downloading github.com/google/uuid v1.1.1 04:59:11 go: extracting github.com/pkg/errors v0.8.1 04:59:11 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:59:11 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 04:59:11 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 04:59:11 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 04:59:11 go: downloading github.com/go-kit/kit v0.8.0 04:59:11 go: downloading github.com/x448/float16 v0.8.4 04:59:11 go: downloading gopkg.in/yaml.v2 v2.2.8 04:59:11 go: extracting github.com/google/uuid v1.1.1 04:59:11 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 04:59:11 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 04:59:11 go: extracting gopkg.in/yaml.v2 v2.2.8 04:59:11 go: extracting github.com/x448/float16 v0.8.4 04:59:11 go: downloading github.com/OneOfOne/xxhash v1.2.6 04:59:11 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 04:59:11 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 04:59:11 go: downloading github.com/pelletier/go-toml v1.2.0 04:59:11 go: downloading github.com/hashicorp/consul/api v1.1.0 04:59:11 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:59:11 go: downloading github.com/BurntSushi/toml v0.3.1 04:59:11 go: extracting github.com/OneOfOne/xxhash v1.2.6 04:59:11 go: extracting github.com/pelletier/go-toml v1.2.0 04:59:11 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:59:11 go: downloading github.com/mitchellh/copystructure v1.0.0 04:59:11 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 04:59:12 go: extracting github.com/go-kit/kit v0.8.0 04:59:12 go: extracting github.com/BurntSushi/toml v0.3.1 04:59:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 04:59:12 go: extracting github.com/hashicorp/consul/api v1.1.0 04:59:12 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 04:59:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 04:59:12 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 04:59:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 04:59:12 go: downloading github.com/hashicorp/serf v0.8.2 04:59:12 go: extracting github.com/mitchellh/copystructure v1.0.0 04:59:12 go: extracting github.com/mitchellh/mapstructure v1.1.2 04:59:12 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 04:59:12 go: downloading github.com/mitchellh/reflectwalk v1.0.0 04:59:12 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 04:59:12 go: downloading github.com/go-logfmt/logfmt v0.4.0 04:59:12 go: extracting github.com/hashicorp/serf v0.8.2 04:59:12 go: extracting github.com/mitchellh/reflectwalk v1.0.0 04:59:12 go: extracting github.com/go-logfmt/logfmt v0.4.0 04:59:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:59:12 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:59:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 04:59:12 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 04:59:12 go: downloading github.com/hashicorp/golang-lru v0.5.0 04:59:12 go: extracting github.com/hashicorp/golang-lru v0.5.0 04:59:12 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 04:59:12 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 04:59:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 04:59:12 go: finding github.com/spf13/cast v1.3.0 04:59:12 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 04:59:12 go: finding github.com/gorilla/mux v1.7.1 04:59:12 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 04:59:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 04:59:12 go: finding github.com/OneOfOne/xxhash v1.2.6 04:59:12 go: finding github.com/go-kit/kit v0.8.0 04:59:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 04:59:12 go: finding github.com/google/uuid v1.1.1 04:59:12 go: finding github.com/x448/float16 v0.8.4 04:59:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 04:59:12 go: finding github.com/go-logfmt/logfmt v0.4.0 04:59:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 04:59:12 go: finding gopkg.in/yaml.v2 v2.2.8 04:59:12 go: finding github.com/BurntSushi/toml v0.3.1 04:59:12 go: finding github.com/pkg/errors v0.8.1 04:59:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 04:59:12 go: finding github.com/hashicorp/consul/api v1.1.0 04:59:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 04:59:12 go: finding github.com/pelletier/go-toml v1.2.0 04:59:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 04:59:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 04:59:12 go: finding github.com/mitchellh/copystructure v1.0.0 04:59:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 04:59:12 go: finding github.com/mitchellh/mapstructure v1.1.2 04:59:12 go: finding github.com/hashicorp/serf v0.8.2 04:59:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 04:59:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 04:59:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 04:59:13 go: finding github.com/hashicorp/golang-lru v0.5.0 04:59:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:59:22 Removing intermediate container 23c7bb226a3c 04:59:22 ---> 9c7362980505 04:59:22 Step 11/21 : FROM alpine 04:59:22 latest: Pulling from library/alpine 04:59:22 b538f80385f9: Already exists 04:59:22 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 04:59:22 Status: Downloaded newer image for alpine:latest 04:59:22 ---> 62ee0e9f8440 04:59:22 Step 12/21 : ENV APP_PORT=49982 04:59:22 ---> Running in 2678f6b8cc94 04:59:22 Removing intermediate container 2678f6b8cc94 04:59:22 ---> 0b1126621a8e 04:59:22 Step 13/21 : EXPOSE $APP_PORT 04:59:22 ---> Running in abc3ebebe901 04:59:23 Removing intermediate container abc3ebebe901 04:59:23 ---> 950218122d01 04:59:23 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 04:59:24 ---> 4456c23f86d7 04:59:24 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 04:59:25 ---> 35fdab92a250 04:59:25 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 04:59:26 ---> 0d4e631f2668 04:59:26 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 04:59:26 ---> Running in 537115a1aa5e 04:59:26 Removing intermediate container 537115a1aa5e 04:59:26 ---> 026e4cd70944 04:59:26 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 04:59:26 ---> Running in 02ccdb3f4b21 04:59:27 Removing intermediate container 02ccdb3f4b21 04:59:27 ---> a79a4417437b 04:59:27 Step 19/21 : LABEL arch=arm64 04:59:27 ---> Running in 9ed9e7154d36 04:59:28 Removing intermediate container 9ed9e7154d36 04:59:28 ---> f651064e3d8f 04:59:28 Step 20/21 : LABEL git_sha=7e3748a7206db0950755fd783d3c275004c33838 04:59:28 ---> Running in b052af848091 04:59:28 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:59:28 Removing intermediate container b052af848091 04:59:28 ---> 075b6c11e793 04:59:28 Step 21/21 : LABEL version=0.0.0 04:59:28 ---> Running in 8aade7e76a95 04:59:29 Removing intermediate container 8aade7e76a95 04:59:29 ---> 79d6e1a2dcdf 04:59:29 [Warning] One or more build-args [ARCH] were not consumed 04:59:29 Successfully built 79d6e1a2dcdf 04:59:29 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) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 04:59:30 + find /w/workspace/device-mqtt-go/1 04:59:30 + grep snapcraft.yaml 04:59:30 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:30 provisioning config files... 04:59:30 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config2944760180508067121tmp [Pipeline] { [Pipeline] sh 04:59:30 + cp /w/workspace/device-mqtt-go/1@tmp/config2944760180508067121tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 04:59:31 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 04:59:31 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 04:59:31 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 04:59:31 68fe03cb170d: Pulling fs layer 04:59:31 18959295effb: Pulling fs layer 04:59:31 51118fb70ce3: Pulling fs layer 04:59:31 409a5d9eae93: Pulling fs layer 04:59:31 76e762919bd5: Pulling fs layer 04:59:31 8ed2c1ec22f6: Pulling fs layer 04:59:31 7f90baa40d9b: Pulling fs layer 04:59:31 e1aa5cc854c1: Pulling fs layer 04:59:31 409a5d9eae93: Waiting 04:59:31 76e762919bd5: Waiting 04:59:31 8ed2c1ec22f6: Waiting 04:59:31 b0d1d86f3456: Pulling fs layer 04:59:31 e1aa5cc854c1: Waiting 04:59:31 b0d1d86f3456: Waiting 04:59:31 7f90baa40d9b: Waiting 04:59:31 51118fb70ce3: Verifying Checksum 04:59:31 51118fb70ce3: Download complete 04:59:31 18959295effb: Verifying Checksum 04:59:31 18959295effb: Download complete 04:59:31 409a5d9eae93: Verifying Checksum 04:59:31 409a5d9eae93: Download complete 04:59:31 8ed2c1ec22f6: Verifying Checksum 04:59:31 8ed2c1ec22f6: Download complete 04:59:31 7f90baa40d9b: Verifying Checksum 04:59:31 7f90baa40d9b: Download complete 04:59:31 e1aa5cc854c1: Verifying Checksum 04:59:31 e1aa5cc854c1: Download complete 04:59:31 b0d1d86f3456: Download complete 04:59:32 68fe03cb170d: Verifying Checksum 04:59:32 68fe03cb170d: Download complete 04:59:35 68fe03cb170d: Pull complete 04:59:35 18959295effb: Pull complete 04:59:35 51118fb70ce3: Pull complete 04:59:36 409a5d9eae93: Pull complete 04:59:36 Skipping stage go (already ran) 04:59:36 Staging device-mqtt  04:59:37 Priming go  04:59:38 Priming device-mqtt  04:59:39 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 04:59:39 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 04:59:39 Determining the version from the project repo (version-script). 04:59:39 The version has been set to '0.0.0-20200722+7e3748a' 04:59:41 76e762919bd5: Verifying Checksum 04:59:41 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | 04:59:41 Snapped edgex-device-mqtt_0.0.0-20200722+7e3748a_amd64.snap [Pipeline] } 04:59:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:00:20 76e762919bd5: Pull complete 05:00:20 8ed2c1ec22f6: Pull complete 05:00:20 7f90baa40d9b: Pull complete 05:00:20 e1aa5cc854c1: Pull complete 05:00:20 b0d1d86f3456: Pull complete 05:00:20 Digest: sha256:05830ed3def9c2eaf396b0f1c8191bdb37c9887c76356d219b134b5fd994ebab 05:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 05:00:27 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 05:00:27 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 05:00:27 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 05:00:27 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 05:00:27 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [912 kB] 05:00:28 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3463 B] 05:00:28 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1250 kB] 05:00:28 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [637 kB] 05:00:28 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [762 kB] 05:00:29 Fetched 3817 kB in 2s (1782 kB/s) 05:00:34 Reading package lists... 05:00:46 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 05:00:46 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 05:00:46 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 05:00:46 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 05:00:52 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 11% Reading package lists... 33% Reading package lists... 55% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 75% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 05:00:58 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 05:01:02 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 05:01:03 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 55% Building dependency tree 05:01:03 Reading state information... 0% Reading state information... 0% Reading state information... Done 05:01:04 The following packages were automatically installed and are no longer required: 05:01:04 libjq1 libonig4 05:01:04 Use 'sudo apt autoremove' to remove them. 05:01:04 Suggested packages: 05:01:04 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 05:01:04 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 05:01:04 diffutils-doc perl-doc libterm-readline-gnu-perl 05:01:04 | libterm-readline-perl-perl 05:01:04 The following NEW packages will be installed: 05:01:04 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 05:01:04 libperl5.26 make netbase patch perl perl-modules-5.26 05:01:04 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. 05:01:04 Need to get 10.8 MB of archives. 05:01:04 After this operation, 73.6 MB of additional disk space will be used. 05:01:05 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 05:01:06 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 7% [1 perl-modules-5.26 886 kB/2763 kB 32%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 05:01:06 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 05:01:06 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 05:01:06 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 05:01:06 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 05:01:06 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 05:01:06 56% [7 netbase 12.7 kB/12.7 kB 100%] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.9 [152 kB] 05:01:06 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.9 [179 kB] 05:01:06 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 05:01:06 63% [10 liberror-perl 3846 B/22.8 kB 17%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 05:01:06 65% [11 git-man 28.4 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 05:01:06 72% [12 git 11.0 kB/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 05:01:06 96% [13 make 65.5 kB/139 kB 47%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 05:01:06 98% [14 patch 30.1 kB/91.8 kB 33%] 100% [Working] Fetched 10.8 MB in 2s (6996 kB/s) 05:01:07 debconf: delaying package configuration, since apt-utils is not installed 05:01:07 Selecting previously unselected package perl-modules-5.26. 05:01:07 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) 05:01:07 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 05:01:07 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:01:08 Selecting previously unselected package libgdbm5:arm64. 05:01:08 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 05:01:08 Unpacking libgdbm5:arm64 (1.14.1-6) ... 05:01:08 Selecting previously unselected package libgdbm-compat4:arm64. 05:01:09 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 05:01:09 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 05:01:09 Selecting previously unselected package libperl5.26:arm64. 05:01:09 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 05:01:09 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 05:01:10 Selecting previously unselected package perl. 05:01:10 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 05:01:10 Unpacking perl (5.26.1-6ubuntu0.3) ... 05:01:10 Selecting previously unselected package less. 05:01:10 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 05:01:10 Unpacking less (487-0.1) ... 05:01:10 Selecting previously unselected package netbase. 05:01:10 Preparing to unpack .../06-netbase_5.4_all.deb ... 05:01:10 Unpacking netbase (5.4) ... 05:01:10 Selecting previously unselected package curl. 05:01:10 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_arm64.deb ... 05:01:10 Unpacking curl (7.58.0-2ubuntu3.9) ... 05:01:11 Selecting previously unselected package libcurl3-gnutls:arm64. 05:01:11 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_arm64.deb ... 05:01:11 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... 05:01:11 Selecting previously unselected package liberror-perl. 05:01:11 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 05:01:11 Unpacking liberror-perl (0.17025-1) ... 05:01:11 Selecting previously unselected package git-man. 05:01:11 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 05:01:11 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 05:01:11 Selecting previously unselected package git. 05:01:11 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 05:01:11 Unpacking git (1:2.17.1-1ubuntu0.7) ... 05:01:13 Selecting previously unselected package make. 05:01:13 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 05:01:13 Unpacking make (4.1-9.1ubuntu1) ... 05:01:13 Selecting previously unselected package patch. 05:01:13 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 05:01:13 Unpacking patch (2.7.6-2ubuntu1.1) ... 05:01:13 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 05:01:13 Setting up less (487-0.1) ... 05:01:13 Setting up make (4.1-9.1ubuntu1) ... 05:01:13 Setting up curl (7.58.0-2ubuntu3.9) ... 05:01:13 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... 05:01:13 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:01:13 Setting up libgdbm5:arm64 (1.14.1-6) ... 05:01:13 Setting up patch (2.7.6-2ubuntu1.1) ... 05:01:13 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 05:01:13 Setting up netbase (5.4) ... 05:01:14 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 05:01:14 Setting up perl (5.26.1-6ubuntu0.3) ... 05:01:14 Setting up liberror-perl (0.17025-1) ... 05:01:14 Setting up git (1:2.17.1-1ubuntu0.7) ... 05:01:14 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 05:01:14 Processing triggers for mime-support (3.60ubuntu1) ... 05:01:19 curl set to automatically installed. 05:01:19 git set to automatically installed. 05:01:19 git-man set to automatically installed. 05:01:19 less set to automatically installed. 05:01:19 libcurl3-gnutls set to automatically installed. 05:01:19 liberror-perl set to automatically installed. 05:01:19 libgdbm-compat4 set to automatically installed. 05:01:19 libgdbm5 set to automatically installed. 05:01:20 libperl5.26 set to automatically installed. 05:01:20 make set to automatically installed. 05:01:20 netbase set to automatically installed. 05:01:20 patch set to automatically installed. 05:01:20 perl set to automatically installed. 05:01:20 perl-modules-5.26 set to automatically installed. 05:01:20 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 05:01:20 Please ensure the environment is properly setup before continuing. 05:01:20 Ignore this message if the appropriate measures have already been taken 05:01:20 Pulling go  05:01:24 'device-mqtt' has dependencies that need to be staged: go 05:01:24 Skipping pull go (already ran) 05:01:24 Building go  05:01:24 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:24 Dload Upload Total Spent Left Speed 05:01:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 93.0M 0 212k 0 0 611k 0 0:02:35 --:--:-- 0:02:35 609k 45 93.0M 45 42.6M 0 0 31.2M 0 0:00:02 0:00:01 0:00:01 31.2M 92 93.0M 92 86.3M 0 0 36.6M 0 0:00:02 0:00:02 --:--:-- 36.6M 100 93.0M 100 93.0M 0 0 37.3M 0 0:00:02 0:00:02 --:--:-- 37.3M 05:01:27 go1.13.5.linux-arm64.tar.gz: OK 05:01:46 Staging go  05:01:48 Pulling device-mqtt  05:01:51 Skipping build go (already ran) 05:01:51 Building device-mqtt  05:01:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 05:01:52 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 05:01:52 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 05:01:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:01:52 go: downloading github.com/spf13/cast v1.3.0 05:01:52 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 05:01:52 go: extracting github.com/spf13/cast v1.3.0 05:01:52 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 05:01:52 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 05:01:52 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:01:52 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 05:01:52 go: downloading github.com/gorilla/mux v1.7.1 05:01:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 05:01:52 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 05:01:52 go: extracting github.com/gorilla/mux v1.7.1 05:01:52 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 05:01:52 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 05:01:52 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 05:01:52 go: downloading github.com/go-kit/kit v0.8.0 05:01:52 go: downloading github.com/google/uuid v1.1.1 05:01:52 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 05:01:52 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 05:01:52 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 05:01:52 go: downloading gopkg.in/yaml.v2 v2.2.8 05:01:52 go: downloading github.com/x448/float16 v0.8.4 05:01:52 go: downloading github.com/OneOfOne/xxhash v1.2.6 05:01:52 go: extracting github.com/google/uuid v1.1.1 05:01:52 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 05:01:52 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 05:01:52 go: extracting github.com/x448/float16 v0.8.4 05:01:52 go: extracting gopkg.in/yaml.v2 v2.2.8 05:01:52 go: extracting github.com/OneOfOne/xxhash v1.2.6 05:01:52 go: downloading github.com/BurntSushi/toml v0.3.1 05:01:52 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 05:01:52 go: downloading github.com/pkg/errors v0.8.1 05:01:52 go: downloading github.com/hashicorp/consul/api v1.1.0 05:01:52 go: downloading github.com/pelletier/go-toml v1.2.0 05:01:52 go: extracting github.com/BurntSushi/toml v0.3.1 05:01:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:01:53 go: extracting github.com/pkg/errors v0.8.1 05:01:53 go: extracting github.com/go-kit/kit v0.8.0 05:01:53 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:01:53 go: downloading github.com/mitchellh/copystructure v1.0.0 05:01:53 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:01:53 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:01:53 go: extracting github.com/pelletier/go-toml v1.2.0 05:01:53 go: extracting github.com/hashicorp/consul/api v1.1.0 05:01:53 go: extracting github.com/mitchellh/copystructure v1.0.0 05:01:53 go: extracting github.com/mitchellh/mapstructure v1.1.2 05:01:53 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 05:01:53 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:01:53 go: extracting github.com/mitchellh/reflectwalk v1.0.0 05:01:53 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 05:01:53 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:01:53 go: downloading github.com/hashicorp/serf v0.8.2 05:01:53 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 05:01:53 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 05:01:53 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 05:01:53 go: extracting github.com/hashicorp/serf v0.8.2 05:01:53 go: downloading github.com/go-logfmt/logfmt v0.4.0 05:01:53 go: extracting github.com/go-logfmt/logfmt v0.4.0 05:01:53 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:01:53 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:01:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:01:53 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 05:01:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:01:53 go: extracting github.com/hashicorp/golang-lru v0.5.0 05:01:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 05:01:53 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 05:01:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:01:53 go: finding github.com/spf13/cast v1.3.0 05:01:53 go: finding github.com/gorilla/mux v1.7.1 05:01:53 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 05:01:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:01:53 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 05:01:53 go: finding github.com/OneOfOne/xxhash v1.2.6 05:01:53 go: finding github.com/go-kit/kit v0.8.0 05:01:54 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 05:01:54 go: finding github.com/google/uuid v1.1.1 05:01:54 go: finding github.com/x448/float16 v0.8.4 05:01:54 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:01:54 go: finding github.com/go-logfmt/logfmt v0.4.0 05:01:54 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:01:54 go: finding gopkg.in/yaml.v2 v2.2.8 05:01:54 go: finding github.com/BurntSushi/toml v0.3.1 05:01:54 go: finding github.com/pkg/errors v0.8.1 05:01:54 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:01:54 go: finding github.com/hashicorp/consul/api v1.1.0 05:01:54 go: finding github.com/pelletier/go-toml v1.2.0 05:01:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:01:54 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:01:54 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:01:54 go: finding github.com/hashicorp/serf v0.8.2 05:01:54 go: finding github.com/mitchellh/mapstructure v1.1.2 05:01:54 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:01:54 go: finding github.com/mitchellh/copystructure v1.0.0 05:01:54 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:01:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:01:54 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:01:54 go: finding github.com/hashicorp/golang-lru v0.5.0 05:02:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:02:39 Skipping stage go (already ran) 05:02:39 Staging device-mqtt  05:02:41 Priming go  05:02:44 Priming device-mqtt  05:02:48 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 05:02:48 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 05:02:48 Determining the version from the project repo (version-script). 05:02:48 The version has been set to '0.0.0-20200722+7e3748a' 05:02:51 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 05:02:51 Snapped edgex-device-mqtt_0.0.0-20200722+7e3748a_arm64.snap [Pipeline] } 05:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 05:02:56 provisioning config files... 05:02:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/config7399081159644917041tmp [Pipeline] { [Pipeline] sh 05:02:56 + curl -s https://codecov.io/bash 05:02:56 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/config7399081159644917041tmp [Pipeline] } 05:02:57 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 05:02:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:02:59 ---> package-listing.sh 05:02:59 ++ facter osfamily 05:02:59 ++ tr '[:upper:]' '[:lower:]' 05:02:59 + OS_FAMILY=redhat 05:02:59 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-156 05:02:59 + START_PACKAGES=/tmp/packages_start.txt 05:02:59 + END_PACKAGES=/tmp/packages_end.txt 05:02:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:02:59 + PACKAGES=/tmp/packages_start.txt 05:02:59 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-156 ']' 05:02:59 + PACKAGES=/tmp/packages_end.txt 05:02:59 + case "${OS_FAMILY}" in 05:02:59 + rpm -qa 05:02:59 + sort 05:03:03 + '[' -f /tmp/packages_start.txt ']' 05:03:03 + '[' -f /tmp/packages_end.txt ']' 05:03:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:03:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-156 ']' 05:03:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-156/archives/ 05:03:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-156/archives/ [Pipeline] isUnix [Pipeline] sh 05:03:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:03:04 05:03:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:03:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:03:04 alpine: Pulling from edgex-lftools-log-publisher 05:03:04 c9b1b535fdd9: Pulling fs layer 05:03:04 2cc5ad85d9ab: Pulling fs layer 05:03:04 756a868c4378: Pulling fs layer 05:03:04 444b2fc9a129: Pulling fs layer 05:03:04 ea15f1150254: Pulling fs layer 05:03:04 41b27a9f41bf: Pulling fs layer 05:03:04 28c525ee5125: Pulling fs layer 05:03:04 094b1ea09ed8: Pulling fs layer 05:03:04 138eaada9080: Pulling fs layer 05:03:04 0622d0fa9048: Pulling fs layer 05:03:04 444b2fc9a129: Waiting 05:03:04 ea15f1150254: Waiting 05:03:04 41b27a9f41bf: Waiting 05:03:04 28c525ee5125: Waiting 05:03:04 094b1ea09ed8: Waiting 05:03:04 0622d0fa9048: Waiting 05:03:04 138eaada9080: Waiting 05:03:04 2cc5ad85d9ab: Download complete 05:03:04 444b2fc9a129: Verifying Checksum 05:03:04 444b2fc9a129: Download complete 05:03:04 c9b1b535fdd9: Verifying Checksum 05:03:04 c9b1b535fdd9: Download complete 05:03:05 ea15f1150254: Download complete 05:03:05 28c525ee5125: Verifying Checksum 05:03:05 28c525ee5125: Download complete 05:03:05 756a868c4378: Verifying Checksum 05:03:05 756a868c4378: Download complete 05:03:05 c9b1b535fdd9: Pull complete 05:03:05 138eaada9080: Verifying Checksum 05:03:05 138eaada9080: Download complete 05:03:05 094b1ea09ed8: Verifying Checksum 05:03:05 094b1ea09ed8: Download complete 05:03:05 0622d0fa9048: Verifying Checksum 05:03:05 0622d0fa9048: Download complete 05:03:05 2cc5ad85d9ab: Pull complete 05:03:05 41b27a9f41bf: Verifying Checksum 05:03:05 41b27a9f41bf: Download complete 05:03:06 756a868c4378: Pull complete 05:03:07 444b2fc9a129: Pull complete 05:03:07 ea15f1150254: Pull complete 05:03:11 41b27a9f41bf: Pull complete 05:03:11 28c525ee5125: Pull complete 05:03:14 094b1ea09ed8: Pull complete 05:03:14 138eaada9080: Pull complete 05:03:14 0622d0fa9048: Pull complete 05:03:14 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:03:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:03:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:03:14 prd-centos7-docker-4c-2g-532 does not seem to be running inside a container 05:03:14 $ 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-156 -v /w/workspace/gexfoundry_device-mqtt-go_PR-156:/w/workspace/gexfoundry_device-mqtt-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-156@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:03:17 $ docker top 40d6248c4eac181f67b036ef6f35e75556b54ab33a64b4ecf8971bdfc3c3088c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:17 provisioning config files... 05:03:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-156@tmp/config5441545246267378721tmp [Pipeline] { [Pipeline] echo 05:03:18 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:03:18 ---> create-netrc.sh [Pipeline] echo 05:03:18 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:03:18 ---> logs-deploy.sh 05:03:18 + ARCHIVE_ARTIFACTS= 05:03:18 + LOGS_SERVER=https://logs.edgexfoundry.org 05:03:18 + '[' https://logs.edgexfoundry.org == None ']' 05:03:18 + NEXUS_URL=https://nexus.edgexfoundry.org 05:03:18 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-156/1 05:03:18 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-156/1/ 05:03:18 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-156/1 /w/workspace/gexfoundry_device-mqtt-go_PR-156 05:03:19 Archives upload complete. 05:03:19 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-156/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-156/1/