Pull request #151 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 1000bbd73f91f04f839a054127d940c9984c9c24+8b9d4518ce44b452ea6e7170c38b8c7009d29236 (01c3978dc0dd885f0ead30f7b83cd2f2c5d2ca72) Running in Durability level: PERFORMANCE_OPTIMIZED 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 370697454611dc68c0596e0d0a50477a8de841a8 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 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2449 in /w/workspace/gexfoundry_device-mqtt-go_PR-151 [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-151 # 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/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/151/head:refs/remotes/origin/PR-151 # 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/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit 1000bbd73f91f04f839a054127d940c9984c9c24 Merge succeeded, producing 1000bbd73f91f04f839a054127d940c9984c9c24 Checking out Revision 1000bbd73f91f04f839a054127d940c9984c9c24 (PR-151) > git config core.sparsecheckout # timeout=10 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # 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 8b9d4518ce44b452ea6e7170c38b8c7009d29236 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # timeout=10 Commit message: "fix: Optimize MQTT client creation for async value Add conn retry mechanism and use os.Exit(1) instead of the panic error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:10:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:10:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:10:51 ========================================================= 11:10:51 EdgeX Global Pipelines Version Info 11:10:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3b52549e5ba1d6afaf962868232d9fb5aa920591 # timeout=10 11:10:53 ------------------- 11:10:53 stable info: 11:10:53 ------------------- 11:10:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:10:53 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 11:10:53 Message: update stable to v1.0.89 11:10:53 ------------------- 11:10:53 experimental info: 11:10:53 ------------------- 11:10:53 Commited By: **** collab-it+edgex@linuxfoundation.org 11:10:53 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 11:10:53 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:56 11:10:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:10:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:56 latest: Pulling from edgex-devops/git-semver 11:10:56 9123ac7c32f7: Pulling fs layer 11:10:56 b8cc5d1170e3: Pulling fs layer 11:10:56 2924cbbf6a41: Pulling fs layer 11:10:56 93b08a4f1073: Pulling fs layer 11:10:56 93b08a4f1073: Waiting 11:10:56 b8cc5d1170e3: Verifying Checksum 11:10:56 b8cc5d1170e3: Download complete 11:10:56 9123ac7c32f7: Verifying Checksum 11:10:56 9123ac7c32f7: Download complete 11:10:56 93b08a4f1073: Verifying Checksum 11:10:56 93b08a4f1073: Download complete 11:10:56 2924cbbf6a41: Verifying Checksum 11:10:56 2924cbbf6a41: Download complete 11:10:56 9123ac7c32f7: Pull complete 11:10:57 b8cc5d1170e3: Pull complete 11:10:58 2924cbbf6a41: Pull complete 11:10:58 93b08a4f1073: Pull complete 11:10:58 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 11:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:10:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:10:58 prd-centos7-docker-4c-2g-2449 does not seem to be running inside a container 11:10:58 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-151 -v /w/workspace/gexfoundry_device-mqtt-go_PR-151:/w/workspace/gexfoundry_device-mqtt-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-151@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 11:11:00 $ docker top d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:00 [ssh-agent] Looking for ssh-agent implementation... 11:11:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:00 $ docker exec d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade ssh-agent 11:11:01 SSH_AUTH_SOCK=/tmp/ssh-s63owG3CYvKG/agent.12 11:11:01 SSH_AGENT_PID=18 11:11:01 Running ssh-add (command line suppressed) 11:11:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/private_key_8458483547672670516.key (/w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/private_key_8458483547672670516.key) 11:11:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:01 + git describe --exact-match --tags HEAD 11:11:01 fatal: No names found, cannot describe anything. [Pipeline] } 11:11:01 $ docker exec --env ******** --env ******** d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade ssh-agent -k 11:11:01 unset SSH_AUTH_SOCK; 11:11:01 unset SSH_AGENT_PID; 11:11:01 echo Agent pid 18 killed; 11:11:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:11:01 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 11:11:01 This usually means this commit has not been tagged. [Pipeline] sshagent 11:11:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:01 [ssh-agent] Looking for ssh-agent implementation... 11:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:02 $ docker exec d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade ssh-agent 11:11:02 SSH_AUTH_SOCK=/tmp/ssh-wzlZvpugUqbM/agent.48 11:11:02 SSH_AGENT_PID=53 11:11:02 Running ssh-add (command line suppressed) 11:11:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/private_key_2528086617792046255.key (/w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/private_key_2528086617792046255.key) 11:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:02 + git semver init 11:11:02 # -> Open(): unable to determine branch for HEAD 11:11:02 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-151/.git 11:11:02 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-151 11:11:02 # $SEMVER_REMOTE_NAME = origin 11:11:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:11:02 # $SEMVER_USER_NAME = edgex-jenkins 11:11:02 # $SEMVER_BRANCH = PR-151 11:11:02 # $SEMVER_TEMP = /tmp/semver-785283678 11:11:02 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 11:11:03 # '/tmp/semver-785283678' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-151/.semver' 11:11:03 # -> Force: false 11:11:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-151/.semver [Pipeline] } 11:11:03 $ docker exec --env ******** --env ******** d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade ssh-agent -k 11:11:03 unset SSH_AUTH_SOCK; 11:11:03 unset SSH_AGENT_PID; 11:11:03 echo Agent pid 53 killed; 11:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:03 + git semver [Pipeline] } 11:11:03 $ docker stop --time=1 d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade 11:11:04 $ docker rm -f d43b07bad91f486cefcad2b661ce7893ac0c3a050722bc1e72701f0b31927ade [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 11:11:05 Stashed 26 file(s) [Pipeline] echo 11:11:05 [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 11:11:20 Still waiting to schedule task 11:11:20 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2449’ 11:11:20 Still waiting to schedule task 11:11:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ is offline 11:13:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2450 in /w/workspace/gexfoundry_device-mqtt-go_PR-151 [Pipeline] { [Pipeline] ws 11:13:00 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 11:13:04 using credential edgex-jenkins-ssh 11:13:04 Cloning the remote Git repository 11:13:04 Cloning with configured refspecs honoured and without tags 11:13:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:13:04 > git init /w/workspace/device-mqtt-go/2 # timeout=10 11:13:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:13:05 > git --version # timeout=10 11:13:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:13:05 Fetching without tags 11:13:06 Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit 1000bbd73f91f04f839a054127d940c9984c9c24 11:13:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:13:05 > git config --add remote.origin.fetch +refs/pull/151/head:refs/remotes/origin/PR-151 # timeout=10 11:13:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:13:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:13:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:13:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:13:06 > git config core.sparsecheckout # timeout=10 11:13:06 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # timeout=10 11:13:06 > git remote # timeout=10 11:13:06 > git config --get remote.origin.url # timeout=10 11:13:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:06 > git merge 8b9d4518ce44b452ea6e7170c38b8c7009d29236 # timeout=10 11:13:06 Merge succeeded, producing 1000bbd73f91f04f839a054127d940c9984c9c24 11:13:06 Checking out Revision 1000bbd73f91f04f839a054127d940c9984c9c24 (PR-151) 11:13:06 > git rev-parse HEAD^{commit} # timeout=10 11:13:06 > git config core.sparsecheckout # timeout=10 11:13:06 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # timeout=10 11:13:10 Commit message: "fix: Optimize MQTT client creation for async value Add conn retry mechanism and use os.Exit(1) instead of the panic error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:13:11 ========================================================= 11:13:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 11:13:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:13:12 + 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 . 11:13:13 Sending build context to Docker daemon 581.6kB 11:13:13 Step 1/8 : ARG BASE=golang:1.13-alpine 11:13:13 Step 2/8 : FROM ${BASE} 11:13:14 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:13:14 cde5963f3b93: Pulling fs layer 11:13:14 2a23fa8c16f7: Pulling fs layer 11:13:14 777b28850792: Pulling fs layer 11:13:14 8a11ddd9e578: Pulling fs layer 11:13:14 4cf88f913ddb: Pulling fs layer 11:13:14 1df406cf5192: Pulling fs layer 11:13:14 cd6300453558: Pulling fs layer 11:13:14 b9c365052c96: Pulling fs layer 11:13:14 a2d8cc88f415: Pulling fs layer 11:13:14 ea1d1ca13537: Pulling fs layer 11:13:14 3750a50a1c5e: Pulling fs layer 11:13:14 cd6300453558: Waiting 11:13:14 b9c365052c96: Waiting 11:13:14 8a11ddd9e578: Waiting 11:13:14 a2d8cc88f415: Waiting 11:13:14 4cf88f913ddb: Waiting 11:13:14 ea1d1ca13537: Waiting 11:13:14 3750a50a1c5e: Waiting 11:13:14 1df406cf5192: Waiting 11:13:14 777b28850792: Verifying Checksum 11:13:14 777b28850792: Download complete 11:13:14 2a23fa8c16f7: Verifying Checksum 11:13:14 2a23fa8c16f7: Download complete 11:13:14 4cf88f913ddb: Verifying Checksum 11:13:14 4cf88f913ddb: Download complete 11:13:14 1df406cf5192: Verifying Checksum 11:13:14 1df406cf5192: Download complete 11:13:14 cde5963f3b93: Verifying Checksum 11:13:14 cde5963f3b93: Download complete 11:13:15 cde5963f3b93: Pull complete 11:13:15 2a23fa8c16f7: Pull complete 11:13:15 777b28850792: Pull complete 11:13:16 cd6300453558: Verifying Checksum 11:13:16 cd6300453558: Download complete 11:13:16 a2d8cc88f415: Download complete 11:13:18 ea1d1ca13537: Verifying Checksum 11:13:18 ea1d1ca13537: Download complete 11:13:18 3750a50a1c5e: Verifying Checksum 11:13:18 3750a50a1c5e: Download complete 11:13:18 b9c365052c96: Verifying Checksum 11:13:18 b9c365052c96: Download complete 11:13:19 8a11ddd9e578: Download complete 11:13:31 8a11ddd9e578: Pull complete 11:13:31 4cf88f913ddb: Pull complete 11:13:31 1df406cf5192: Pull complete 11:13:36 cd6300453558: Pull complete 11:13:41 b9c365052c96: Pull complete 11:13:41 a2d8cc88f415: Pull complete 11:13:43 ea1d1ca13537: Pull complete 11:13:43 3750a50a1c5e: Pull complete 11:13:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 11:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 11:13:43 ---> 78745c68409d 11:13:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 11:13:47 ---> Running in 061bd47d1f41 11:13:48 Removing intermediate container 061bd47d1f41 11:13:48 ---> ddfdbf1b6438 11:13:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:48 ---> Running in 71f365d1b097 11:13:51 Removing intermediate container 71f365d1b097 11:13:51 ---> f46fd927e508 11:13:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 11:13:51 ---> Running in 76fb1df85cc7 11:13:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:13:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:13:54 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 11:13:54 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 11:13:54 (3/18) Installing libmagic (5.37-r1) 11:13:54 (4/18) Installing file (5.37-r1) 11:13:54 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 11:13:55 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 11:13:55 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 11:14:01 (8/18) Installing libc-dev (0.7.2-r0) 11:14:01 (9/18) Installing g++ (9.2.0-r4) 11:14:06 (10/18) Installing fortify-headers (1.1-r0) 11:14:06 (11/18) Installing build-base (0.5-r1) 11:14:06 (12/18) Installing openssh-keygen (8.1_p1-r0) 11:14:06 (13/18) Installing libedit (20191211.3.1-r0) 11:14:06 (14/18) Installing openssh-client (8.1_p1-r0) 11:14:06 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 11:14:06 (16/18) Installing openssh-server-common (8.1_p1-r0) 11:14:06 (17/18) Installing openssh-server (8.1_p1-r0) 11:14:07 (18/18) Installing openssh (8.1_p1-r0) 11:14:07 Executing busybox-1.31.1-r8.trigger 11:14:07 OK: 203 MiB in 52 packages 11:14:14 Removing intermediate container 76fb1df85cc7 11:14:14 ---> 2f23f03e6ec4 11:14:14 Step 6/8 : WORKDIR /device-mqtt-go 11:14:14 ---> Running in 6db6d14d93ce 11:14:14 Removing intermediate container 6db6d14d93ce 11:14:14 ---> a4ee50467bd6 11:14:14 Step 7/8 : COPY . . 11:14:15 ---> bd39b50c4627 11:14:15 Step 8/8 : RUN go mod download 11:14:15 ---> Running in d48bc877ebe5 11:14:18 go: finding github.com/BurntSushi/toml v0.3.1 11:14:18 go: finding github.com/OneOfOne/xxhash v1.2.6 11:14:18 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:14:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:14:18 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:14:18 go: finding github.com/bgentry/speakeasy v0.1.0 11:14:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:14:18 go: finding github.com/davecgh/go-spew v1.1.1 11:14:18 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 11:14:18 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 11:14:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:14:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:14:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:14:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 11:14:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:14:18 go: finding github.com/fatih/color v1.7.0 11:14:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:14:18 go: finding github.com/go-kit/kit v0.8.0 11:14:18 go: finding github.com/go-logfmt/logfmt v0.4.0 11:14:18 go: finding github.com/go-stack/stack v1.8.0 11:14:18 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:14:18 go: finding github.com/google/uuid v1.1.1 11:14:18 go: finding github.com/gorilla/mux v1.7.1 11:14:18 go: finding github.com/hashicorp/consul/api v1.1.0 11:14:18 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:14:18 go: finding github.com/hashicorp/errwrap v1.0.0 11:14:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:14:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:14:18 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:14:18 go: finding github.com/hashicorp/go-multierror v1.0.0 11:14:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:14:18 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:14:18 go: finding github.com/hashicorp/go-syslog v1.0.0 11:14:18 go: finding github.com/hashicorp/go-uuid v1.0.1 11:14:18 go: finding github.com/hashicorp/go.net v0.0.1 11:14:18 go: finding github.com/hashicorp/golang-lru v0.5.0 11:14:18 go: finding github.com/hashicorp/logutils v1.0.0 11:14:18 go: finding github.com/hashicorp/mdns v1.0.0 11:14:18 go: finding github.com/hashicorp/memberlist v0.1.3 11:14:18 go: finding github.com/hashicorp/serf v0.8.2 11:14:18 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:14:18 go: finding github.com/kr/pretty v0.1.0 11:14:18 go: finding github.com/kr/pty v1.1.1 11:14:18 go: finding github.com/kr/text v0.1.0 11:14:18 go: finding github.com/mattn/go-colorable v0.0.9 11:14:18 go: finding github.com/mattn/go-isatty v0.0.3 11:14:18 go: finding github.com/miekg/dns v1.0.14 11:14:18 go: finding github.com/mitchellh/cli v1.0.0 11:14:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:14:18 go: finding github.com/mitchellh/copystructure v1.0.0 11:14:18 go: finding github.com/mitchellh/go-homedir v1.0.0 11:14:18 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:14:18 go: finding github.com/mitchellh/gox v0.4.0 11:14:18 go: finding github.com/mitchellh/iochan v1.0.0 11:14:18 go: finding github.com/mitchellh/mapstructure v1.1.2 11:14:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:14:18 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:14:18 go: finding github.com/pelletier/go-toml v1.2.0 11:14:18 go: finding github.com/pkg/errors v0.8.1 11:14:18 go: finding github.com/pmezard/go-difflib v1.0.0 11:14:18 go: finding github.com/posener/complete v1.1.1 11:14:18 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:14:18 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:14:18 go: finding github.com/spf13/cast v1.3.0 11:14:18 go: finding github.com/stretchr/objx v0.1.0 11:14:18 go: finding github.com/stretchr/testify v1.5.1 11:14:18 go: finding github.com/ugorji/go v1.1.4 11:14:18 go: finding github.com/x448/float16 v0.8.4 11:14:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:14:18 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:14:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:14:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:14:18 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 11:14:18 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:14:18 go: finding gopkg.in/yaml.v2 v2.2.8 11:14:29 Removing intermediate container d48bc877ebe5 11:14:29 ---> 4cbaea605892 11:14:29 Successfully built 4cbaea605892 11:14:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:14:29 + docker inspect -f . ci-base-image-arm64 11:14:29 . [Pipeline] withDockerContainer 11:14:29 prd-ubuntu18.04-docker-arm64-4c-16g-2450 does not seem to be running inside a container 11:14:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 11:14:31 $ docker top c611cc353c8e87bdee35a0b0028b02f051c2dd898ed559fdb98f60ad2a8580e1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:33 + go version 11:14:33 go version go1.13.5 linux/arm64 [Pipeline] sh 11:14:34 + make test 11:14:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:14:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:14:39 Running on prd-centos7-docker-4c-2g-2451 in /w/workspace/gexfoundry_device-mqtt-go_PR-151 [Pipeline] { [Pipeline] ws 11:14:39 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 11:14:45 using credential edgex-jenkins-ssh 11:14:45 Cloning the remote Git repository 11:14:45 Cloning with configured refspecs honoured and without tags 11:14:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:14:45 > git init /w/workspace/device-mqtt-go/2 # timeout=10 11:14:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:14:45 > git --version # timeout=10 11:14:45 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:14:46 Fetching without tags 11:14:46 Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit 1000bbd73f91f04f839a054127d940c9984c9c24 11:14:47 Merge succeeded, producing 1000bbd73f91f04f839a054127d940c9984c9c24 11:14:47 Checking out Revision 1000bbd73f91f04f839a054127d940c9984c9c24 (PR-151) 11:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:14:46 > git config --add remote.origin.fetch +refs/pull/151/head:refs/remotes/origin/PR-151 # timeout=10 11:14:46 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 11:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:14:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:14:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:14:46 > git config core.sparsecheckout # timeout=10 11:14:46 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # timeout=10 11:14:47 > git remote # timeout=10 11:14:47 > git config --get remote.origin.url # timeout=10 11:14:47 using GIT_SSH to set credentials SSH Credentials for GitHub 11:14:47 > git merge 8b9d4518ce44b452ea6e7170c38b8c7009d29236 # timeout=10 11:14:47 > git rev-parse HEAD^{commit} # timeout=10 11:14:47 > git config core.sparsecheckout # timeout=10 11:14:47 > git checkout -f 1000bbd73f91f04f839a054127d940c9984c9c24 # timeout=10 11:14:51 Commit message: "fix: Optimize MQTT client creation for async value Add conn retry mechanism and use os.Exit(1) instead of the panic error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 11:14:52 ========================================================= 11:14:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 11:14:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:14:53 + 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 . 11:14:53 Sending build context to Docker daemon 581.6kB 11:14:53 Step 1/8 : ARG BASE=golang:1.13-alpine 11:14:53 Step 2/8 : FROM ${BASE} 11:14:53 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 11:14:53 e6b0cf9c0882: Pulling fs layer 11:14:53 2848faf0eed1: Pulling fs layer 11:14:53 0f37312ad70f: Pulling fs layer 11:14:53 5788d62ee057: Pulling fs layer 11:14:53 0e6b1d234666: Pulling fs layer 11:14:53 bf5d7aec512f: Pulling fs layer 11:14:53 34c802a77dc8: Pulling fs layer 11:14:53 9eb99e56ec68: Pulling fs layer 11:14:53 27c7a5d97fbd: Pulling fs layer 11:14:53 5c102a31e300: Pulling fs layer 11:14:53 dcfb455df0a1: Pulling fs layer 11:14:53 bf5d7aec512f: Waiting 11:14:53 34c802a77dc8: Waiting 11:14:53 9eb99e56ec68: Waiting 11:14:53 27c7a5d97fbd: Waiting 11:14:53 5c102a31e300: Waiting 11:14:53 dcfb455df0a1: Waiting 11:14:53 5788d62ee057: Waiting 11:14:53 0e6b1d234666: Waiting 11:14:54 0f37312ad70f: Verifying Checksum 11:14:54 0f37312ad70f: Download complete 11:14:54 2848faf0eed1: Verifying Checksum 11:14:54 2848faf0eed1: Download complete 11:14:54 0e6b1d234666: Verifying Checksum 11:14:54 0e6b1d234666: Download complete 11:14:54 bf5d7aec512f: Verifying Checksum 11:14:54 bf5d7aec512f: Download complete 11:14:54 e6b0cf9c0882: Verifying Checksum 11:14:54 e6b0cf9c0882: Download complete 11:14:55 e6b0cf9c0882: Pull complete 11:14:55 34c802a77dc8: Verifying Checksum 11:14:55 34c802a77dc8: Download complete 11:14:55 27c7a5d97fbd: Verifying Checksum 11:14:55 27c7a5d97fbd: Download complete 11:14:55 2848faf0eed1: Pull complete 11:14:56 0f37312ad70f: Pull complete 11:14:57 5788d62ee057: Verifying Checksum 11:14:57 5788d62ee057: Download complete 11:14:57 9eb99e56ec68: Verifying Checksum 11:14:57 9eb99e56ec68: Download complete 11:14:57 dcfb455df0a1: Verifying Checksum 11:14:57 dcfb455df0a1: Download complete 11:14:57 5c102a31e300: Verifying Checksum 11:14:57 5c102a31e300: Download complete 11:15:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:15:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.024s coverage: 28.3% of statements 11:15:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:15:07 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:15:09 5788d62ee057: Pull complete 11:15:09 0e6b1d234666: Pull complete 11:15:09 bf5d7aec512f: Pull complete 11:15:12 gofmt -l . 11:15:12 ["`gofmt -l .`" = ""] 11:15:12 ./bin/test-attribution-txt.sh 11:15:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 11:15:14 Stashed 1 file(s) [Pipeline] } 11:15:14 $ docker stop --time=1 c611cc353c8e87bdee35a0b0028b02f051c2dd898ed559fdb98f60ad2a8580e1 11:15:14 34c802a77dc8: Pull complete 11:15:16 $ docker rm -f c611cc353c8e87bdee35a0b0028b02f051c2dd898ed559fdb98f60ad2a8580e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:15:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:15:19 + ls -al . 11:15:19 total 132 11:15:19 drwxrwxr-x 9 jenkins jenkins 4096 Jun 10 11:15 . 11:15:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 11:13 .. 11:15:19 -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 11:13 .dockerignore 11:15:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 11:13 .git 11:15:19 -rw-rw-r-- 1 jenkins jenkins 328 Jun 10 11:13 .gitignore 11:15:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 11:13 .semver 11:15:19 -rw-rw-r-- 1 jenkins jenkins 4678 Jun 10 11:13 Attribution.txt 11:15:19 -rw-rw-r-- 1 jenkins jenkins 1776 Jun 10 11:13 Dockerfile 11:15:19 -rw-rw-r-- 1 jenkins jenkins 953 Jun 10 11:13 Dockerfile.build 11:15:19 -rw-rw-r-- 1 jenkins jenkins 700 Jun 10 11:13 Jenkinsfile 11:15:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 10 11:13 LICENSE 11:15:19 -rw-rw-r-- 1 jenkins jenkins 902 Jun 10 11:13 Makefile 11:15:19 -rw-rw-r-- 1 jenkins jenkins 444 Jun 10 11:13 README.md 11:15:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 10 11:11 VERSION 11:15:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 11:13 bin 11:15:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 11:13 cmd 11:15:19 -rw-r--r-- 1 jenkins jenkins 18939 Jun 10 11:15 coverage.out 11:15:19 -rw-r--r-- 1 jenkins jenkins 510 Jun 10 11:15 go.mod 11:15:19 -rw-r--r-- 1 jenkins jenkins 13621 Jun 10 11:15 go.sum 11:15:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 10 11:13 internal 11:15:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 11:13 mock 11:15:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 11:13 snap 11:15:19 -rw-rw-r-- 1 jenkins jenkins 227 Jun 10 11:13 version.go [Pipeline] isUnix [Pipeline] sh 11:15:19 + 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=1000bbd73f91f04f839a054127d940c9984c9c24 --label arch=arm64 --label version=0.0.0 . 11:15:19 Sending build context to Docker daemon 601.1kB 11:15:19 9eb99e56ec68: Pull complete 11:15:19 27c7a5d97fbd: Pull complete 11:15:19 Step 1/21 : ARG BASE=golang:1.13-alpine 11:15:19 Step 2/21 : FROM ${BASE} AS builder 11:15:19 ---> 4cbaea605892 11:15:19 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 11:15:19 ---> Running in 493d82b1c03a 11:15:20 5c102a31e300: Pull complete 11:15:20 Removing intermediate container 493d82b1c03a 11:15:20 ---> 52ed6d30fda8 11:15:20 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 11:15:20 dcfb455df0a1: Pull complete 11:15:20 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 11:15:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 11:15:20 ---> 7c70fe431013 11:15:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 11:15:20 ---> Running in db6eb8b94d0c 11:15:21 Removing intermediate container db6eb8b94d0c 11:15:21 ---> 3982cb307dec 11:15:21 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:21 ---> Running in ae28218d54ee 11:15:21 ---> Running in 309ee667e5cd 11:15:22 Removing intermediate container 309ee667e5cd 11:15:22 ---> 1ff99c713ac0 11:15:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:22 ---> Running in 992e39de4224 11:15:24 Removing intermediate container ae28218d54ee 11:15:24 ---> 61d98a87440d 11:15:24 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:15:24 ---> Running in 860dabcb91a0 11:15:24 Removing intermediate container 992e39de4224 11:15:24 ---> 54c3adad36f1 11:15:24 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 11:15:24 ---> Running in 88e62e2ef71a 11:15:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 11:15:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:15:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 11:15:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:15:26 OK: 203 MiB in 52 packages 11:15:27 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 11:15:27 (2/17) Installing libmagic (5.37-r1) 11:15:27 (3/17) Installing file (5.37-r1) 11:15:27 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 11:15:27 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 11:15:27 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 11:15:27 Removing intermediate container 860dabcb91a0 11:15:27 ---> 8c8906df04c2 11:15:27 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 11:15:28 ---> Running in 51adc62a2ff0 11:15:28 Removing intermediate container 51adc62a2ff0 11:15:28 ---> d7686aabecfc 11:15:28 Step 8/21 : COPY . . 11:15:29 ---> dbb858d16630 11:15:29 Step 9/21 : ARG MAKE='make build' 11:15:29 ---> Running in d814db481a57 11:15:29 Removing intermediate container d814db481a57 11:15:29 ---> 80f5e945727a 11:15:29 Step 10/21 : RUN $MAKE 11:15:30 ---> Running in 218737230f16 11:15:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 11:15:40 (7/17) Installing libc-dev (0.7.2-r0) 11:15:40 (8/17) Installing g++ (9.2.0-r4) 11:15:47 (9/17) Installing fortify-headers (1.1-r0) 11:15:47 (10/17) Installing build-base (0.5-r1) 11:15:47 (11/17) Installing openssh-keygen (8.1_p1-r0) 11:15:47 (12/17) Installing libedit (20191211.3.1-r0) 11:15:47 (13/17) Installing openssh-client (8.1_p1-r0) 11:15:47 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 11:15:47 (15/17) Installing openssh-server-common (8.1_p1-r0) 11:15:47 (16/17) Installing openssh-server (8.1_p1-r0) 11:15:47 (17/17) Installing openssh (8.1_p1-r0) 11:15:47 Executing busybox-1.31.1-r8.trigger 11:15:47 OK: 214 MiB in 52 packages 11:15:52 Removing intermediate container 88e62e2ef71a 11:15:52 ---> 1bb439933e85 11:15:52 Step 6/8 : WORKDIR /device-mqtt-go 11:15:52 ---> Running in c2b66c61cc20 11:15:52 Removing intermediate container c2b66c61cc20 11:15:52 ---> 87c2c5982f82 11:15:52 Step 7/8 : COPY . . 11:15:53 ---> 9b63f2f6771e 11:15:53 Step 8/8 : RUN go mod download 11:15:53 ---> Running in 168e00f0d25a 11:15:55 go: finding github.com/BurntSushi/toml v0.3.1 11:15:55 go: finding github.com/OneOfOne/xxhash v1.2.6 11:15:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 11:15:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:15:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 11:15:55 go: finding github.com/bgentry/speakeasy v0.1.0 11:15:55 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:15:55 go: finding github.com/davecgh/go-spew v1.1.1 11:15:55 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 11:15:55 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 11:15:55 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:15:55 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:15:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:15:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 11:15:55 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:15:55 go: finding github.com/fatih/color v1.7.0 11:15:55 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:15:55 go: finding github.com/go-kit/kit v0.8.0 11:15:55 go: finding github.com/go-logfmt/logfmt v0.4.0 11:15:55 go: finding github.com/go-stack/stack v1.8.0 11:15:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 11:15:55 go: finding github.com/google/uuid v1.1.1 11:15:55 go: finding github.com/gorilla/mux v1.7.1 11:15:55 go: finding github.com/hashicorp/consul/api v1.1.0 11:15:55 go: finding github.com/hashicorp/consul/sdk v0.1.1 11:15:55 go: finding github.com/hashicorp/errwrap v1.0.0 11:15:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:15:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:15:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 11:15:55 go: finding github.com/hashicorp/go-multierror v1.0.0 11:15:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:15:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 11:15:55 go: finding github.com/hashicorp/go-syslog v1.0.0 11:15:56 go: finding github.com/hashicorp/go-uuid v1.0.1 11:15:56 go: finding github.com/hashicorp/go.net v0.0.1 11:15:56 go: finding github.com/hashicorp/golang-lru v0.5.0 11:15:56 go: finding github.com/hashicorp/logutils v1.0.0 11:15:56 go: finding github.com/hashicorp/mdns v1.0.0 11:15:56 go: finding github.com/hashicorp/memberlist v0.1.3 11:15:56 go: finding github.com/hashicorp/serf v0.8.2 11:15:56 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 11:15:56 go: finding github.com/kr/pretty v0.1.0 11:15:56 go: finding github.com/kr/pty v1.1.1 11:15:56 go: finding github.com/kr/text v0.1.0 11:15:56 go: finding github.com/mattn/go-colorable v0.0.9 11:15:56 go: finding github.com/mattn/go-isatty v0.0.3 11:15:56 go: finding github.com/miekg/dns v1.0.14 11:15:56 go: finding github.com/mitchellh/cli v1.0.0 11:15:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:15:56 go: finding github.com/mitchellh/copystructure v1.0.0 11:15:56 go: finding github.com/mitchellh/go-homedir v1.0.0 11:15:56 go: finding github.com/mitchellh/go-testing-interface v1.0.0 11:15:56 go: finding github.com/mitchellh/gox v0.4.0 11:15:56 go: finding github.com/mitchellh/iochan v1.0.0 11:15:56 go: finding github.com/mitchellh/mapstructure v1.1.2 11:15:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:15:56 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 11:15:56 go: finding github.com/pelletier/go-toml v1.2.0 11:15:56 go: finding github.com/pkg/errors v0.8.1 11:15:56 go: finding github.com/pmezard/go-difflib v1.0.0 11:15:56 go: finding github.com/posener/complete v1.1.1 11:15:56 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 11:15:56 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 11:15:56 go: finding github.com/spf13/cast v1.3.0 11:15:56 go: finding github.com/stretchr/objx v0.1.0 11:15:56 go: finding github.com/stretchr/testify v1.5.1 11:15:56 go: finding github.com/ugorji/go v1.1.4 11:15:56 go: finding github.com/x448/float16 v0.8.4 11:15:56 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 11:15:56 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:15:56 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 11:15:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 11:15:56 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 11:15:56 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:15:56 go: finding gopkg.in/yaml.v2 v2.2.8 11:15:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:16:06 Removing intermediate container 218737230f16 11:16:06 ---> db58f9593bd1 11:16:06 Step 11/21 : FROM alpine 11:16:06 latest: Pulling from library/alpine 11:16:06 b538f80385f9: Pulling fs layer 11:16:06 Removing intermediate container 168e00f0d25a 11:16:06 ---> bcfc18c5b919 11:16:06 Successfully built bcfc18c5b919 11:16:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 11:16:07 b538f80385f9: Download complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:16:07 + docker inspect -f . ci-base-image-x86_64 11:16:07 b538f80385f9: Pull complete 11:16:07 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 11:16:07 Status: Downloaded newer image for alpine:latest 11:16:07 ---> 62ee0e9f8440 11:16:07 Step 12/21 : ENV APP_PORT=49982 11:16:07 . [Pipeline] withDockerContainer 11:16:08 ---> Running in ca5d6a9c8931 11:16:08 prd-centos7-docker-4c-2g-2451 does not seem to be running inside a container 11:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-x86_64 cat 11:16:08 Removing intermediate container ca5d6a9c8931 11:16:08 ---> f07de4edc74e 11:16:08 Step 13/21 : EXPOSE $APP_PORT 11:16:08 ---> Running in 0b8c3b18bede 11:16:08 Removing intermediate container 0b8c3b18bede 11:16:08 ---> dcac7a06b096 11:16:08 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 11:16:09 $ docker top df0f59284addf589bdeeb649da732276c977014177a0fcf90caff10fead96146 -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:10 ---> d6a9811f4a77 11:16:10 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 11:16:10 + go version 11:16:10 go version go1.13.5 linux/amd64 [Pipeline] sh 11:16:10 ---> f4d7fe5dabc2 11:16:10 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 11:16:11 ---> 4da5ec296c11 11:16:11 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 11:16:11 + make test 11:16:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:16:11 ---> Running in bdb3054c7c99 11:16:12 Removing intermediate container bdb3054c7c99 11:16:12 ---> 7ed8f2589dd4 11:16:12 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 11:16:12 ---> Running in 1a2f081c17ad 11:16:12 Removing intermediate container 1a2f081c17ad 11:16:12 ---> 157ded074313 11:16:12 Step 19/21 : LABEL arch=arm64 11:16:12 ---> Running in 6b668dd320ff 11:16:13 Removing intermediate container 6b668dd320ff 11:16:13 ---> ae8d799798df 11:16:13 Step 20/21 : LABEL git_sha=1000bbd73f91f04f839a054127d940c9984c9c24 11:16:13 ---> Running in 7a82128ddadc 11:16:14 Removing intermediate container 7a82128ddadc 11:16:14 ---> 679169f1ff4d 11:16:14 Step 21/21 : LABEL version=0.0.0 11:16:14 ---> Running in 356503b1648c 11:16:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:16:14 Removing intermediate container 356503b1648c 11:16:14 ---> e60376e9695f 11:16:14 [Warning] One or more build-args [ARCH] were not consumed 11:16:14 Successfully built e60376e9695f 11:16:14 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 11:16:15 + find+ /w/workspace/device-mqtt-go/2 11:16:15 grep snapcraft.yaml 11:16:15 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:15 provisioning config files... 11:16:15 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config7781543854803371212tmp [Pipeline] { [Pipeline] sh 11:16:15 + cp /w/workspace/device-mqtt-go/2@tmp/config7781543854803371212tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 11:16:16 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/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 11:16:16 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 11:16:16 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 11:16:16 b2f61026a351: Pulling fs layer 11:16:16 5538fb30c42c: Pulling fs layer 11:16:16 f0b05810781a: Pulling fs layer 11:16:16 0180a33352d6: Pulling fs layer 11:16:16 e7604b0c0f53: Pulling fs layer 11:16:16 db689cb83ae0: Pulling fs layer 11:16:16 6138af208834: Pulling fs layer 11:16:16 007c8e8c5d63: Pulling fs layer 11:16:16 4f7a387c642f: Pulling fs layer 11:16:16 db689cb83ae0: Waiting 11:16:16 6138af208834: Waiting 11:16:16 007c8e8c5d63: Waiting 11:16:16 4f7a387c642f: Waiting 11:16:16 0180a33352d6: Waiting 11:16:16 e7604b0c0f53: Waiting 11:16:16 f0b05810781a: Verifying Checksum 11:16:16 f0b05810781a: Download complete 11:16:16 5538fb30c42c: Verifying Checksum 11:16:16 5538fb30c42c: Download complete 11:16:16 0180a33352d6: Verifying Checksum 11:16:16 0180a33352d6: Download complete 11:16:16 db689cb83ae0: Verifying Checksum 11:16:16 db689cb83ae0: Download complete 11:16:16 6138af208834: Verifying Checksum 11:16:16 6138af208834: Download complete 11:16:16 007c8e8c5d63: Download complete 11:16:16 4f7a387c642f: Download complete 11:16:17 b2f61026a351: Verifying Checksum 11:16:17 b2f61026a351: Download complete 11:16:20 b2f61026a351: Pull complete 11:16:20 5538fb30c42c: Pull complete 11:16:20 f0b05810781a: Pull complete 11:16:21 0180a33352d6: Pull complete 11:16:24 e7604b0c0f53: Download complete 11:16:33 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:16:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.030s coverage: 28.3% of statements 11:16:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:16:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:16:40 gofmt -l . 11:16:40 ["`gofmt -l .`" = ""] 11:16:40 ./bin/test-attribution-txt.sh 11:16:41 ./bin/test-go-mod-tidy.sh [Pipeline] stash 11:16:41 Warning: overwriting stash ‘coverage-report’ 11:16:43 Stashed 1 file(s) [Pipeline] } 11:16:43 $ docker stop --time=1 df0f59284addf589bdeeb649da732276c977014177a0fcf90caff10fead96146 11:16:46 $ docker rm -f df0f59284addf589bdeeb649da732276c977014177a0fcf90caff10fead96146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:16:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:47 + ls -al . 11:16:47 total 100 11:16:47 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 10 11:16 . 11:16:47 drwxrwxr-x. 4 jenkins jenkins 28 Jun 10 11:14 .. 11:16:47 -rw-rw-r--. 1 jenkins jenkins 4678 Jun 10 11:14 Attribution.txt 11:16:47 drwxrwxr-x. 2 jenkins jenkins 87 Jun 10 11:14 bin 11:16:47 drwxrwxr-x. 3 jenkins jenkins 32 Jun 10 11:14 cmd 11:16:47 -rw-r--r--. 1 jenkins jenkins 18939 Jun 10 11:16 coverage.out 11:16:47 -rw-rw-r--. 1 jenkins jenkins 1776 Jun 10 11:14 Dockerfile 11:16:47 -rw-rw-r--. 1 jenkins jenkins 953 Jun 10 11:14 Dockerfile.build 11:16:47 -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 11:14 .dockerignore 11:16:47 drwxrwxr-x. 8 jenkins jenkins 179 Jun 10 11:14 .git 11:16:47 -rw-rw-r--. 1 jenkins jenkins 328 Jun 10 11:14 .gitignore 11:16:47 -rw-r--r--. 1 jenkins jenkins 510 Jun 10 11:16 go.mod 11:16:47 -rw-r--r--. 1 jenkins jenkins 13621 Jun 10 11:16 go.sum 11:16:47 drwxrwxr-x. 3 jenkins jenkins 20 Jun 10 11:14 internal 11:16:47 -rw-rw-r--. 1 jenkins jenkins 700 Jun 10 11:14 Jenkinsfile 11:16:47 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 10 11:14 LICENSE 11:16:47 -rw-rw-r--. 1 jenkins jenkins 902 Jun 10 11:14 Makefile 11:16:47 drwxrwxr-x. 2 jenkins jenkins 23 Jun 10 11:14 mock 11:16:47 -rw-rw-r--. 1 jenkins jenkins 444 Jun 10 11:14 README.md 11:16:47 drwxrwxr-x. 3 jenkins jenkins 58 Jun 10 11:14 .semver 11:16:47 drwxrwxr-x. 4 jenkins jenkins 54 Jun 10 11:14 snap 11:16:47 -rw-rw-r--. 1 jenkins jenkins 5 Jun 10 11:11 VERSION 11:16:47 -rw-rw-r--. 1 jenkins jenkins 227 Jun 10 11:14 version.go [Pipeline] isUnix [Pipeline] sh 11:16:48 + 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=1000bbd73f91f04f839a054127d940c9984c9c24 --label arch=amd64 --label version=0.0.0 . 11:16:48 Sending build context to Docker daemon 601.1kB 11:16:48 Step 1/21 : ARG BASE=golang:1.13-alpine 11:16:48 Step 2/21 : FROM ${BASE} AS builder 11:16:48 ---> bcfc18c5b919 11:16:48 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 11:16:48 ---> Running in 3e3a4476ec5c 11:16:48 Removing intermediate container 3e3a4476ec5c 11:16:48 ---> b7151067769e 11:16:48 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 11:16:48 ---> Running in 7954e65858cd 11:16:49 Removing intermediate container 7954e65858cd 11:16:49 ---> 339d805d3379 11:16:49 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:49 ---> Running in b1753278ebfa 11:16:50 Removing intermediate container b1753278ebfa 11:16:50 ---> 6bd6e3156b2b 11:16:50 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:50 ---> Running in 6c8f46a86852 11:16:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 11:16:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 11:16:52 OK: 214 MiB in 52 packages 11:16:53 Removing intermediate container 6c8f46a86852 11:16:53 ---> f2c118da6b58 11:16:53 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 11:16:53 ---> Running in 8de88047d78b 11:16:53 Removing intermediate container 8de88047d78b 11:16:53 ---> 7707cf1c3295 11:16:53 Step 8/21 : COPY . . 11:16:55 ---> ca9118f65945 11:16:55 Step 9/21 : ARG MAKE='make build' 11:16:55 ---> Running in 82cf34069b9c 11:16:55 Removing intermediate container 82cf34069b9c 11:16:55 ---> 1f565a4391bd 11:16:55 Step 10/21 : RUN $MAKE 11:16:55 ---> Running in 8a4b9a35d321 11:16:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 11:16:56 e7604b0c0f53: Pull complete 11:16:56 db689cb83ae0: Pull complete 11:16:56 6138af208834: Pull complete 11:16:56 007c8e8c5d63: Pull complete 11:16:56 4f7a387c642f: Pull complete 11:16:56 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 11:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 11:17:02 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 11:17:02 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 11:17:02 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 11:17:02 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 11:17:02 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [879 kB] 11:17:03 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1233 kB] 11:17:03 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 11:17:03 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 11:17:03 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 11:17:03 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 11:17:03 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [605 kB] 11:17:03 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [754 kB] 11:17:04 Fetched 3745 kB in 2s (1544 kB/s) 11:17:08 Reading package lists... 11:17:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:17:18 Removing intermediate container 8a4b9a35d321 11:17:18 ---> 26e212889fd8 11:17:18 Step 11/21 : FROM alpine 11:17:18 latest: Pulling from library/alpine 11:17:18 df20fa9351a1: Pulling fs layer 11:17:18 df20fa9351a1: Verifying Checksum 11:17:18 df20fa9351a1: Download complete 11:17:18 df20fa9351a1: Pull complete 11:17:18 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 11:17:18 Status: Downloaded newer image for alpine:latest 11:17:18 ---> a24bb4013296 11:17:18 Step 12/21 : ENV APP_PORT=49982 11:17:18 ---> Running in 5641f54bb9b1 11:17:18 Removing intermediate container 5641f54bb9b1 11:17:18 ---> 553d6083cf5b 11:17:18 Step 13/21 : EXPOSE $APP_PORT 11:17:19 ---> Running in 4fbc886e94a5 11:17:19 Removing intermediate container 4fbc886e94a5 11:17:19 ---> 968495f43699 11:17:19 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 11:17:20 ---> 4f40d63a9d38 11:17:20 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 11:17:20 ---> bafba1c16f43 11:17:20 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 11:17:20 ---> 6dab0f4a4a5d 11:17:20 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 11:17:20 ---> Running in 1f6ea693a928 11:17:20 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 11:17:20 Removing intermediate container 1f6ea693a928 11:17:20 ---> 645e45fc7616 11:17:20 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 11:17:20 ---> Running in 2fccb032951c 11:17:21 Removing intermediate container 2fccb032951c 11:17:21 ---> 576f734cb7e0 11:17:21 Step 19/21 : LABEL arch=amd64 11:17:21 ---> Running in c62074dbb345 11:17:21 Removing intermediate container c62074dbb345 11:17:21 ---> fffad54d53a8 11:17:21 Step 20/21 : LABEL git_sha=1000bbd73f91f04f839a054127d940c9984c9c24 11:17:21 ---> Running in a0c472b2d731 11:17:21 Removing intermediate container a0c472b2d731 11:17:21 ---> 72d57ef45332 11:17:21 Step 21/21 : LABEL version=0.0.0 11:17:21 ---> Running in 86b80af36e80 11:17:21 Removing intermediate container 86b80af36e80 11:17:21 ---> 478c95e8f91f 11:17:21 [Warning] One or more build-args [ARCH] were not consumed 11:17:21 Successfully built 478c95e8f91f 11:17:21 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 11:17:22 ++ find /w/workspace/device-mqtt-go/2 11:17:22 ++ grep snapcraft.yaml 11:17:22 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:22 provisioning config files... 11:17:22 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config4593134529029839678tmp [Pipeline] { [Pipeline] sh 11:17:23 + cp /w/workspace/device-mqtt-go/2@tmp/config4593134529029839678tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 11:17:23 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/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 11:17:23 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 11:17:23 latest: Pulling from edgex-devops/edgex-snap-builder 11:17:23 5bed26d33875: Pulling fs layer 11:17:23 f11b29a9c730: Pulling fs layer 11:17:23 930bda195c84: Pulling fs layer 11:17:23 78bf9a5ad49e: Pulling fs layer 11:17:23 e5fbee5a4b0d: Pulling fs layer 11:17:23 f452fca78f88: Pulling fs layer 11:17:23 7417ef92027a: Pulling fs layer 11:17:23 2af5c49d270b: Pulling fs layer 11:17:23 df9c3bdbc40a: Pulling fs layer 11:17:23 78bf9a5ad49e: Waiting 11:17:23 e5fbee5a4b0d: Waiting 11:17:23 f452fca78f88: Waiting 11:17:23 7417ef92027a: Waiting 11:17:23 2af5c49d270b: Waiting 11:17:23 df9c3bdbc40a: Waiting 11:17:23 930bda195c84: Verifying Checksum 11:17:23 930bda195c84: Download complete 11:17:23 f11b29a9c730: Verifying Checksum 11:17:23 f11b29a9c730: Download complete 11:17:23 78bf9a5ad49e: Verifying Checksum 11:17:23 78bf9a5ad49e: Download complete 11:17:23 f452fca78f88: Verifying Checksum 11:17:23 f452fca78f88: Download complete 11:17:23 7417ef92027a: Verifying Checksum 11:17:23 7417ef92027a: Download complete 11:17:23 2af5c49d270b: Verifying Checksum 11:17:23 2af5c49d270b: Download complete 11:17:23 df9c3bdbc40a: Verifying Checksum 11:17:23 df9c3bdbc40a: Download complete 11:17:23 5bed26d33875: Download complete 11:17:24 Reading package lists... 11:17:24 Building dependency tree... 11:17:24 Reading state information... 11:17:25 The following packages were automatically installed and are no longer required: 11:17:25 libjq1 liblzo2-2 libonig4 11:17:25 Use 'sudo apt autoremove' to remove them. 11:17:25 Suggested packages: 11:17:25 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 11:17:25 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 11:17:25 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 11:17:25 libterm-readline-gnu-perl | libterm-readline-perl-perl 11:17:25 The following NEW packages will be installed: 11:17:25 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 11:17:25 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 11:17:25 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 11:17:25 openssh-client patch perl perl-modules-5.26 xauth 11:17:25 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 11:17:25 Need to get 12.9 MB of archives. 11:17:25 After this operation, 84.2 MB of additional disk space will be used. 11:17:25 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 11:17:25 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 11:17:26 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 11:17:26 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 11:17:26 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 11:17:26 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 11:17:26 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 11:17:26 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 11:17:26 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 11:17:26 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 11:17:26 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 11:17:27 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 11:17:27 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 11:17:27 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 11:17:27 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 11:17:27 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 11:17:27 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 11:17:27 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 11:17:27 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 11:17:27 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 11:17:27 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 11:17:27 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 11:17:27 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 11:17:27 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 11:17:27 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 11:17:27 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 11:17:27 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 11:17:28 debconf: delaying package configuration, since apt-utils is not installed 11:17:28 Fetched 12.9 MB in 2s (6083 kB/s) 11:17:28 Selecting previously unselected package libxau6:arm64. 11:17:28 (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 ... 4630 files and directories currently installed.) 11:17:28 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 11:17:28 Unpacking libxau6:arm64 (1:1.0.8-1) ... 11:17:28 Selecting previously unselected package libbsd0:arm64. 11:17:28 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 11:17:28 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 11:17:28 Selecting previously unselected package libxdmcp6:arm64. 11:17:28 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 11:17:28 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 11:17:28 Selecting previously unselected package libxcb1:arm64. 11:17:28 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 11:17:28 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 11:17:28 Selecting previously unselected package libx11-data. 11:17:28 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 11:17:28 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 11:17:29 Selecting previously unselected package libx11-6:arm64. 11:17:29 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 11:17:29 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 11:17:29 5bed26d33875: Pull complete 11:17:29 e5fbee5a4b0d: Verifying Checksum 11:17:29 e5fbee5a4b0d: Download complete 11:17:29 f11b29a9c730: Pull complete 11:17:29 930bda195c84: Pull complete 11:17:29 78bf9a5ad49e: Pull complete 11:17:29 Selecting previously unselected package libxext6:arm64. 11:17:29 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 11:17:29 Unpacking libxext6:arm64 (2:1.3.3-1) ... 11:17:29 Selecting previously unselected package perl-modules-5.26. 11:17:29 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 11:17:29 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 11:17:32 Selecting previously unselected package libgdbm5:arm64. 11:17:32 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 11:17:32 Unpacking libgdbm5:arm64 (1.14.1-6) ... 11:17:32 Selecting previously unselected package libgdbm-compat4:arm64. 11:17:32 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 11:17:32 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 11:17:32 Selecting previously unselected package libperl5.26:arm64. 11:17:32 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 11:17:32 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 11:17:33 Selecting previously unselected package perl. 11:17:33 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 11:17:33 Unpacking perl (5.26.1-6ubuntu0.3) ... 11:17:33 Selecting previously unselected package less. 11:17:33 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 11:17:33 Unpacking less (487-0.1) ... 11:17:34 Selecting previously unselected package libexpat1:arm64. 11:17:34 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 11:17:34 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 11:17:34 Selecting previously unselected package netbase. 11:17:34 Preparing to unpack .../14-netbase_5.4_all.deb ... 11:17:34 Unpacking netbase (5.4) ... 11:17:34 Selecting previously unselected package libedit2:arm64. 11:17:34 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 11:17:34 Unpacking libedit2:arm64 (3.1-20170329-1) ... 11:17:34 Selecting previously unselected package libssl1.0.0:arm64. 11:17:34 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 11:17:34 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 11:17:34 Selecting previously unselected package libxmuu1:arm64. 11:17:34 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 11:17:34 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 11:17:34 Selecting previously unselected package openssh-client. 11:17:34 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 11:17:34 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 11:17:35 Selecting previously unselected package xauth. 11:17:35 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 11:17:35 Unpacking xauth (1:1.0.10-1) ... 11:17:35 Selecting previously unselected package curl. 11:17:35 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 11:17:35 Unpacking curl (7.58.0-2ubuntu3.8) ... 11:17:35 Selecting previously unselected package libcurl3-gnutls:arm64. 11:17:35 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 11:17:35 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 11:17:35 Selecting previously unselected package liberror-perl. 11:17:35 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 11:17:35 Unpacking liberror-perl (0.17025-1) ... 11:17:35 Selecting previously unselected package git-man. 11:17:35 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 11:17:35 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 11:17:35 Selecting previously unselected package git. 11:17:35 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 11:17:36 Unpacking git (1:2.17.1-1ubuntu0.7) ... 11:17:37 Selecting previously unselected package make. 11:17:37 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 11:17:37 Unpacking make (4.1-9.1ubuntu1) ... 11:17:37 Selecting previously unselected package patch. 11:17:37 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 11:17:37 Unpacking patch (2.7.6-2ubuntu1.1) ... 11:17:37 Setting up libedit2:arm64 (3.1-20170329-1) ... 11:17:37 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 11:17:37 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 11:17:37 Setting up less (487-0.1) ... 11:17:38 Setting up make (4.1-9.1ubuntu1) ... 11:17:38 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 11:17:38 Setting up curl (7.58.0-2ubuntu3.8) ... 11:17:38 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 11:17:38 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 11:17:38 Setting up libgdbm5:arm64 (1.14.1-6) ... 11:17:38 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 11:17:38 Setting up patch (2.7.6-2ubuntu1.1) ... 11:17:38 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 11:17:38 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 11:17:38 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 11:17:39 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 11:17:39 Setting up libxau6:arm64 (1:1.0.8-1) ... 11:17:39 Setting up netbase (5.4) ... 11:17:39 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 11:17:39 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 11:17:39 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 11:17:39 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 11:17:39 Setting up perl (5.26.1-6ubuntu0.3) ... 11:17:39 Setting up libxext6:arm64 (2:1.3.3-1) ... 11:17:39 Setting up liberror-perl (0.17025-1) ... 11:17:39 Setting up xauth (1:1.0.10-1) ... 11:17:39 Setting up git (1:2.17.1-1ubuntu0.7) ... 11:17:39 Processing triggers for libc-bin (2.27-3ubuntu1) ... 11:17:46 curl set to automatically installed. 11:17:46 git set to automatically installed. 11:17:46 git-man set to automatically installed. 11:17:46 less set to automatically installed. 11:17:46 libbsd0 set to automatically installed. 11:17:46 libcurl3-gnutls set to automatically installed. 11:17:46 libedit2 set to automatically installed. 11:17:46 liberror-perl set to automatically installed. 11:17:46 libexpat1 set to automatically installed. 11:17:46 libgdbm-compat4 set to automatically installed. 11:17:46 libgdbm5 set to automatically installed. 11:17:46 libperl5.26 set to automatically installed. 11:17:46 libssl1.0.0 set to automatically installed. 11:17:46 libx11-6 set to automatically installed. 11:17:46 libx11-data set to automatically installed. 11:17:46 libxau6 set to automatically installed. 11:17:46 libxcb1 set to automatically installed. 11:17:46 libxdmcp6 set to automatically installed. 11:17:46 libxext6 set to automatically installed. 11:17:46 libxmuu1 set to automatically installed. 11:17:46 make set to automatically installed. 11:17:46 netbase set to automatically installed. 11:17:46 openssh-client set to automatically installed. 11:17:46 patch set to automatically installed. 11:17:46 perl set to automatically installed. 11:17:46 perl-modules-5.26 set to automatically installed. 11:17:46 xauth set to automatically installed. 11:17:46 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 11:17:46 Please ensure the environment is properly setup before continuing. 11:17:46 Ignore this message if the appropriate measures have already been taken 11:17:46 Pulling go 11:17:50 'device-mqtt' has dependencies that need to be staged: go 11:17:50 Skipping pull go (already ran) 11:17:50 Building go 11:17:50 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:50 Dload Upload Total Spent Left Speed 11:17:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 9 93.0M 9 9359k 0 0 9149k 0 0:00:10 0:00:01 0:00:09 9149k 25 93.0M 25 24.1M 0 0 11.9M 0 0:00:07 0:00:02 0:00:05 11.9M 43 93.0M 43 40.0M 0 0 13.2M 0 0:00:07 0:00:03 0:00:04 13.2M 59 93.0M 59 55.6M 0 0 13.8M 0 0:00:06 0:00:04 0:00:02 13.8M 77 93.0M 77 72.1M 0 0 14.3M 0 0:00:06 0:00:05 0:00:01 14.4M 94 93.0M 94 88.2M 0 0 14.6M 0 0:00:06 0:00:06 --:--:-- 15.8M 100 93.0M 100 93.0M 0 0 14.5M 0 0:00:06 0:00:06 --:--:-- 15.7M 11:17:56 e5fbee5a4b0d: Pull complete 11:17:56 f452fca78f88: Pull complete 11:17:56 7417ef92027a: Pull complete 11:17:56 2af5c49d270b: Pull complete 11:17:56 df9c3bdbc40a: Pull complete 11:17:56 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 11:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 11:17:57 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 11:17:57 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 11:17:57 go1.13.5.linux-arm64.tar.gz: OK 11:17:57 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 11:17:58 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] 11:17:58 Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 11:17:58 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1392 kB] 11:17:58 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] 11:17:58 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [958 kB] 11:17:58 Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] 11:17:59 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] 11:17:59 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] 11:17:59 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] 11:17:59 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 11:17:59 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 11:17:59 Fetched 4909 kB in 2s (2126 kB/s) 11:18:01 Reading package lists... 11:18:07 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 11:18:08 Reading package lists... 11:18:08 Building dependency tree... 11:18:08 Reading state information... 11:18:09 The following packages were automatically installed and are no longer required: 11:18:09 libjq1 liblzo2-2 libonig4 11:18:09 Use 'sudo apt autoremove' to remove them. 11:18:09 Suggested packages: 11:18:09 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 11:18:09 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 11:18:09 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 11:18:09 libterm-readline-gnu-perl | libterm-readline-perl-perl 11:18:09 The following NEW packages will be installed: 11:18:09 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 11:18:09 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 11:18:09 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 11:18:09 openssh-client patch perl perl-modules-5.26 xauth 11:18:09 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 11:18:09 Need to get 14.7 MB of archives. 11:18:09 After this operation, 89.5 MB of additional disk space will be used. 11:18:09 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 11:18:10 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 11:18:10 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 11:18:10 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 11:18:10 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 11:18:10 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 11:18:10 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 11:18:10 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 11:18:10 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 11:18:10 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 11:18:10 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 11:18:11 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 11:18:11 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 11:18:11 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 11:18:11 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 11:18:11 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 11:18:11 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 11:18:11 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 11:18:11 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 11:18:11 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 11:18:11 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 11:18:11 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 11:18:11 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 11:18:11 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 11:18:11 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 11:18:11 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 11:18:11 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 11:18:12 debconf: delaying package configuration, since apt-utils is not installed 11:18:12 Fetched 14.7 MB in 2s (6845 kB/s) 11:18:12 Selecting previously unselected package libxau6:amd64. 11:18:12 (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 ... 4637 files and directories currently installed.) 11:18:12 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 11:18:12 Unpacking libxau6:amd64 (1:1.0.8-1) ... 11:18:12 Selecting previously unselected package libbsd0:amd64. 11:18:12 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 11:18:12 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 11:18:12 Selecting previously unselected package libxdmcp6:amd64. 11:18:12 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 11:18:12 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 11:18:12 Selecting previously unselected package libxcb1:amd64. 11:18:12 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 11:18:12 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 11:18:12 Selecting previously unselected package libx11-data. 11:18:12 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 11:18:12 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 11:18:13 Selecting previously unselected package libx11-6:amd64. 11:18:13 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 11:18:13 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 11:18:13 Selecting previously unselected package libxext6:amd64. 11:18:13 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 11:18:13 Unpacking libxext6:amd64 (2:1.3.3-1) ... 11:18:13 Selecting previously unselected package perl-modules-5.26. 11:18:13 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 11:18:13 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 11:18:15 Staging go 11:18:16 Selecting previously unselected package libgdbm5:amd64. 11:18:16 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 11:18:16 Unpacking libgdbm5:amd64 (1.14.1-6) ... 11:18:17 Pulling device-mqtt 11:18:18 Selecting previously unselected package libgdbm-compat4:amd64. 11:18:18 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 11:18:18 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 11:18:18 Selecting previously unselected package libperl5.26:amd64. 11:18:18 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 11:18:18 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 11:18:19 Selecting previously unselected package perl. 11:18:19 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 11:18:19 Unpacking perl (5.26.1-6ubuntu0.3) ... 11:18:19 Selecting previously unselected package less. 11:18:19 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 11:18:19 Unpacking less (487-0.1) ... 11:18:19 Selecting previously unselected package libexpat1:amd64. 11:18:19 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 11:18:19 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 11:18:19 Selecting previously unselected package netbase. 11:18:19 Preparing to unpack .../14-netbase_5.4_all.deb ... 11:18:19 Unpacking netbase (5.4) ... 11:18:19 Selecting previously unselected package libedit2:amd64. 11:18:19 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 11:18:19 Unpacking libedit2:amd64 (3.1-20170329-1) ... 11:18:19 Selecting previously unselected package libssl1.0.0:amd64. 11:18:19 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 11:18:19 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 11:18:19 Skipping build go (already ran) 11:18:19 Building device-mqtt 11:18:19 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 11:18:20 Selecting previously unselected package libxmuu1:amd64. 11:18:20 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 11:18:20 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 11:18:20 Selecting previously unselected package openssh-client. 11:18:20 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 11:18:20 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 11:18:20 Selecting previously unselected package xauth. 11:18:20 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 11:18:20 Unpacking xauth (1:1.0.10-1) ... 11:18:20 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:20 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:20 go: downloading github.com/spf13/cast v1.3.0 11:18:20 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:20 Selecting previously unselected package curl. 11:18:20 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 11:18:20 Unpacking curl (7.58.0-2ubuntu3.8) ... 11:18:20 Selecting previously unselected package libcurl3-gnutls:amd64. 11:18:20 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 11:18:20 go: extracting github.com/spf13/cast v1.3.0 11:18:20 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:20 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:20 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:20 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:20 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:20 go: downloading github.com/gorilla/mux v1.7.1 11:18:20 go: downloading github.com/google/uuid v1.1.1 11:18:20 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:20 go: extracting github.com/google/uuid v1.1.1 11:18:20 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:21 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 11:18:21 Selecting previously unselected package liberror-perl. 11:18:21 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 11:18:21 Unpacking liberror-perl (0.17025-1) ... 11:18:21 Selecting previously unselected package git-man. 11:18:21 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 11:18:21 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 11:18:21 go: extracting github.com/gorilla/mux v1.7.1 11:18:21 go: downloading github.com/pkg/errors v0.8.1 11:18:21 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:21 go: extracting github.com/pkg/errors v0.8.1 11:18:21 go: downloading github.com/BurntSushi/toml v0.3.1 11:18:21 go: downloading gopkg.in/yaml.v2 v2.2.8 11:18:21 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 11:18:21 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:21 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:21 go: downloading github.com/OneOfOne/xxhash v1.2.6 11:18:21 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:21 go: downloading github.com/pelletier/go-toml v1.2.0 11:18:21 go: extracting github.com/OneOfOne/xxhash v1.2.6 11:18:21 go: downloading github.com/go-kit/kit v0.8.0 11:18:21 go: extracting github.com/BurntSushi/toml v0.3.1 11:18:21 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:21 go: extracting gopkg.in/yaml.v2 v2.2.8 11:18:21 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:21 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 11:18:21 go: extracting github.com/pelletier/go-toml v1.2.0 11:18:21 Selecting previously unselected package git. 11:18:21 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 11:18:21 Unpacking git (1:2.17.1-1ubuntu0.7) ... 11:18:21 go: downloading github.com/hashicorp/consul/api v1.1.0 11:18:21 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:21 go: downloading github.com/x448/float16 v0.8.4 11:18:21 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:21 go: downloading github.com/mitchellh/mapstructure v1.1.2 11:18:21 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:18:21 go: downloading github.com/mitchellh/copystructure v1.0.0 11:18:21 go: extracting github.com/hashicorp/consul/api v1.1.0 11:18:21 go: extracting github.com/x448/float16 v0.8.4 11:18:21 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 11:18:21 go: extracting github.com/mitchellh/copystructure v1.0.0 11:18:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 11:18:21 go: extracting github.com/mitchellh/mapstructure v1.1.2 11:18:21 go: downloading github.com/hashicorp/serf v0.8.2 11:18:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 11:18:21 go: extracting github.com/mitchellh/reflectwalk v1.0.0 11:18:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 11:18:21 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:21 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 11:18:21 go: extracting github.com/go-kit/kit v0.8.0 11:18:21 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 11:18:21 go: extracting github.com/hashicorp/serf v0.8.2 11:18:21 go: downloading github.com/go-logfmt/logfmt v0.4.0 11:18:21 go: extracting github.com/go-logfmt/logfmt v0.4.0 11:18:21 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:21 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:21 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 11:18:21 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 11:18:21 go: downloading github.com/hashicorp/golang-lru v0.5.0 11:18:21 go: extracting github.com/hashicorp/golang-lru v0.5.0 11:18:21 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:21 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:21 go: finding github.com/spf13/cast v1.3.0 11:18:21 go: finding github.com/gorilla/mux v1.7.1 11:18:21 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:18:21 go: finding github.com/OneOfOne/xxhash v1.2.6 11:18:21 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:21 go: finding github.com/go-kit/kit v0.8.0 11:18:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:21 go: finding github.com/google/uuid v1.1.1 11:18:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:22 go: finding github.com/x448/float16 v0.8.4 11:18:22 go: finding github.com/go-logfmt/logfmt v0.4.0 11:18:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:22 go: finding gopkg.in/yaml.v2 v2.2.8 11:18:22 go: finding github.com/BurntSushi/toml v0.3.1 11:18:22 go: finding github.com/pkg/errors v0.8.1 11:18:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:22 go: finding github.com/hashicorp/consul/api v1.1.0 11:18:22 go: finding github.com/pelletier/go-toml v1.2.0 11:18:22 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:18:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:18:22 go: finding github.com/hashicorp/serf v0.8.2 11:18:22 go: finding github.com/mitchellh/mapstructure v1.1.2 11:18:22 go: finding github.com/mitchellh/copystructure v1.0.0 11:18:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:18:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:22 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:18:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:18:22 Selecting previously unselected package make. 11:18:22 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 11:18:22 Unpacking make (4.1-9.1ubuntu1) ... 11:18:22 Selecting previously unselected package patch. 11:18:22 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 11:18:22 Unpacking patch (2.7.6-2ubuntu1.1) ... 11:18:22 Setting up libedit2:amd64 (3.1-20170329-1) ... 11:18:22 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 11:18:22 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 11:18:22 Setting up less (487-0.1) ... 11:18:22 Setting up make (4.1-9.1ubuntu1) ... 11:18:22 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 11:18:22 go: finding github.com/hashicorp/golang-lru v0.5.0 11:18:23 Setting up curl (7.58.0-2ubuntu3.8) ... 11:18:23 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 11:18:23 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 11:18:23 Setting up libgdbm5:amd64 (1.14.1-6) ... 11:18:23 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 11:18:23 Setting up patch (2.7.6-2ubuntu1.1) ... 11:18:23 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 11:18:23 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 11:18:23 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 11:18:23 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 11:18:23 Setting up libxau6:amd64 (1:1.0.8-1) ... 11:18:23 Setting up netbase (5.4) ... 11:18:23 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 11:18:23 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 11:18:23 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 11:18:23 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 11:18:23 Setting up perl (5.26.1-6ubuntu0.3) ... 11:18:24 Setting up libxext6:amd64 (2:1.3.3-1) ... 11:18:24 Setting up liberror-perl (0.17025-1) ... 11:18:24 Setting up xauth (1:1.0.10-1) ... 11:18:24 Setting up git (1:2.17.1-1ubuntu0.7) ... 11:18:24 Processing triggers for libc-bin (2.27-3ubuntu1) ... 11:18:28 curl set to automatically installed. 11:18:28 git set to automatically installed. 11:18:28 git-man set to automatically installed. 11:18:28 less set to automatically installed. 11:18:28 libbsd0 set to automatically installed. 11:18:28 libcurl3-gnutls set to automatically installed. 11:18:28 libedit2 set to automatically installed. 11:18:28 liberror-perl set to automatically installed. 11:18:28 libexpat1 set to automatically installed. 11:18:28 libgdbm-compat4 set to automatically installed. 11:18:28 libgdbm5 set to automatically installed. 11:18:28 libperl5.26 set to automatically installed. 11:18:28 libssl1.0.0 set to automatically installed. 11:18:28 libx11-6 set to automatically installed. 11:18:28 libx11-data set to automatically installed. 11:18:28 libxau6 set to automatically installed. 11:18:28 libxcb1 set to automatically installed. 11:18:28 libxdmcp6 set to automatically installed. 11:18:28 libxext6 set to automatically installed. 11:18:28 libxmuu1 set to automatically installed. 11:18:28 make set to automatically installed. 11:18:28 netbase set to automatically installed. 11:18:28 openssh-client set to automatically installed. 11:18:28 patch set to automatically installed. 11:18:28 perl set to automatically installed. 11:18:28 perl-modules-5.26 set to automatically installed. 11:18:28 xauth set to automatically installed. 11:18:28 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 11:18:28 Please ensure the environment is properly setup before continuing. 11:18:28 Ignore this message if the appropriate measures have already been taken 11:18:28 Pulling go 11:18:29 'device-mqtt' has dependencies that need to be staged: go 11:18:29 Skipping pull go (already ran) 11:18:29 Building go 11:18:29 % Total % Received % Xferd Average Speed Time Time Time Current 11:18:29 Dload Upload Total Spent Left Speed 11:18:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 114M 13 14.9M 0 0 19.3M 0 0:00:05 --:--:-- 0:00:05 19.2M 47 114M 47 54.1M 0 0 30.1M 0 0:00:03 0:00:01 0:00:02 30.1M 71 114M 71 81.4M 0 0 29.2M 0 0:00:03 0:00:02 0:00:01 29.2M 100 114M 100 114M 0 0 30.5M 0 0:00:03 0:00:03 --:--:-- 30.5M 11:18:34 go1.13.5.linux-amd64.tar.gz: OK 11:18:46 Staging go 11:18:47 Pulling device-mqtt 11:18:48 Skipping build go (already ran) 11:18:48 Building device-mqtt 11:18:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 11:18:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:18:50 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:50 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:50 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:50 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:50 go: downloading github.com/spf13/cast v1.3.0 11:18:50 go: extracting github.com/spf13/cast v1.3.0 11:18:50 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:50 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:50 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:50 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:50 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:50 go: downloading github.com/gorilla/mux v1.7.1 11:18:50 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:50 go: downloading github.com/OneOfOne/xxhash v1.2.6 11:18:50 go: downloading github.com/google/uuid v1.1.1 11:18:50 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:50 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:50 go: extracting github.com/gorilla/mux v1.7.1 11:18:50 go: extracting github.com/OneOfOne/xxhash v1.2.6 11:18:50 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:50 go: downloading gopkg.in/yaml.v2 v2.2.8 11:18:50 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 11:18:50 go: extracting github.com/google/uuid v1.1.1 11:18:50 go: downloading github.com/hashicorp/consul/api v1.1.0 11:18:50 go: downloading github.com/go-kit/kit v0.8.0 11:18:50 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:50 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:50 go: downloading github.com/pelletier/go-toml v1.2.0 11:18:50 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 11:18:50 go: extracting gopkg.in/yaml.v2 v2.2.8 11:18:50 go: extracting github.com/hashicorp/consul/api v1.1.0 11:18:50 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:50 go: downloading github.com/BurntSushi/toml v0.3.1 11:18:50 go: downloading github.com/pkg/errors v0.8.1 11:18:50 go: extracting github.com/pelletier/go-toml v1.2.0 11:18:50 go: downloading github.com/hashicorp/serf v0.8.2 11:18:50 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 11:18:50 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:50 go: downloading github.com/x448/float16 v0.8.4 11:18:50 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 11:18:50 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:51 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:51 go: extracting github.com/pkg/errors v0.8.1 11:18:51 go: extracting github.com/BurntSushi/toml v0.3.1 11:18:51 go: extracting github.com/go-kit/kit v0.8.0 11:18:51 go: downloading github.com/mitchellh/mapstructure v1.1.2 11:18:51 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 11:18:51 go: extracting github.com/x448/float16 v0.8.4 11:18:51 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 11:18:51 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:51 go: downloading github.com/mitchellh/copystructure v1.0.0 11:18:51 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 11:18:51 go: extracting github.com/mitchellh/mapstructure v1.1.2 11:18:51 go: extracting github.com/hashicorp/serf v0.8.2 11:18:51 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 11:18:51 go: extracting github.com/mitchellh/copystructure v1.0.0 11:18:51 go: downloading github.com/mitchellh/reflectwalk v1.0.0 11:18:51 go: downloading github.com/go-logfmt/logfmt v0.4.0 11:18:51 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:51 go: extracting github.com/mitchellh/reflectwalk v1.0.0 11:18:51 go: extracting github.com/go-logfmt/logfmt v0.4.0 11:18:51 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:51 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 11:18:51 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 11:18:51 go: downloading github.com/hashicorp/golang-lru v0.5.0 11:18:51 go: extracting github.com/hashicorp/golang-lru v0.5.0 11:18:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 11:18:51 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 11:18:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 11:18:51 go: finding github.com/spf13/cast v1.3.0 11:18:51 go: finding github.com/gorilla/mux v1.7.1 11:18:51 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 11:18:51 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 11:18:51 go: finding github.com/fxamacker/cbor/v2 v2.2.0 11:18:51 go: finding github.com/OneOfOne/xxhash v1.2.6 11:18:51 go: finding github.com/go-kit/kit v0.8.0 11:18:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 11:18:51 go: finding github.com/google/uuid v1.1.1 11:18:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 11:18:51 go: finding github.com/x448/float16 v0.8.4 11:18:51 go: finding github.com/go-logfmt/logfmt v0.4.0 11:18:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 11:18:51 go: finding gopkg.in/yaml.v2 v2.2.8 11:18:51 go: finding github.com/pkg/errors v0.8.1 11:18:51 go: finding github.com/BurntSushi/toml v0.3.1 11:18:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 11:18:51 go: finding github.com/hashicorp/consul/api v1.1.0 11:18:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 11:18:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 11:18:51 go: finding github.com/pelletier/go-toml v1.2.0 11:18:51 go: finding github.com/mitchellh/mapstructure v1.1.2 11:18:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 11:18:51 go: finding github.com/hashicorp/serf v0.8.2 11:18:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 11:18:51 go: finding github.com/mitchellh/copystructure v1.0.0 11:18:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 11:18:51 go: finding github.com/mitchellh/reflectwalk v1.0.0 11:18:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 11:18:51 go: finding github.com/hashicorp/golang-lru v0.5.0 11:19:07 Skipping stage go (already ran) 11:19:07 Staging device-mqtt 11:19:08 Priming go 11:19:11 Priming device-mqtt 11:19:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:19:14 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 11:19:14 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 11:19:14 Determining the version from the project repo (version-script). 11:19:14 The version has been set to '0.0.0-20200610+1000bbd' 11:19:14 Snapping 'edgex-device-mqtt' ... 11:19:17 11:19:17 Snapped edgex-device-mqtt_0.0.0-20200610+1000bbd_arm64.snap 11:19:18 Skipping stage go (already ran) 11:19:18 Staging device-mqtt 11:19:20 Priming go [Pipeline] } 11:19:20 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] } 11:19:21 Priming device-mqtt 11:19:21 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 11:19:21 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 11:19:21 Determining the version from the project repo (version-script). 11:19:22 The version has been set to '0.0.0-20200610+1000bbd' 11:19:22 Snapping 'edgex-device-mqtt' ... 11:19:26 11:19:26 Snapped edgex-device-mqtt_0.0.0-20200610+1000bbd_amd64.snap [Pipeline] } 11:19:28 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 11:19:28 provisioning config files... 11:19:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/config8052827651699284854tmp [Pipeline] { [Pipeline] sh 11:19:29 + curl -s https://codecov.io/bash 11:19:29 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/config8052827651699284854tmp 11:19:29 11:19:29 _____ _ 11:19:29 / ____| | | 11:19:29 | | ___ __| | ___ ___ _____ __ 11:19:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:19:29 | |___| (_) | (_| | __/ (_| (_) \ V / 11:19:29 \_____\___/ \__,_|\___|\___\___/ \_/ 11:19:29 Bash-20200602-f809a24 11:19:29 11:19:29 11:19:29 ==> Jenkins CI detected. 11:19:29 project root: . 11:19:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:19:29 ==> Running gcov in . (disable via -X gcov) 11:19:29 ==> Python coveragepy not found 11:19:29 ==> Searching for coverage reports in: 11:19:29 + . 11:19:29 -> Found 1 reports 11:19:29 ==> Detecting git/mercurial file structure 11:19:29 ==> Reading reports 11:19:29 + ./coverage.out bytes=18939 11:19:29 ==> Appending adjustments 11:19:29 https://docs.codecov.io/docs/fixing-reports 11:19:29 + Found adjustments 11:19:29 ==> Gzipping contents 11:19:29 ==> Uploading reports 11:19:29 url: https://codecov.io 11:19:29 query: branch=PR-151&commit=1000bbd73f91f04f839a054127d940c9984c9c24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=151&job= 11:19:29 -> Pinging Codecov 11:19:29 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-151&commit=1000bbd73f91f04f839a054127d940c9984c9c24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=151&job= 11:19:30 -> Uploading 11:19:30 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1000bbd73f91f04f839a054127d940c9984c9c24 [Pipeline] } 11:19:30 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 11:19:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:19:32 ---> package-listing.sh 11:19:32 ++ facter osfamily 11:19:32 ++ tr '[:upper:]' '[:lower:]' 11:19:32 + OS_FAMILY=redhat 11:19:32 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-151 11:19:32 + START_PACKAGES=/tmp/packages_start.txt 11:19:32 + END_PACKAGES=/tmp/packages_end.txt 11:19:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:19:32 + PACKAGES=/tmp/packages_start.txt 11:19:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-151 ']' 11:19:32 + PACKAGES=/tmp/packages_end.txt 11:19:32 + case "${OS_FAMILY}" in 11:19:32 + rpm -qa 11:19:32 + sort 11:19:35 + '[' -f /tmp/packages_start.txt ']' 11:19:35 + '[' -f /tmp/packages_end.txt ']' 11:19:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:19:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-151 ']' 11:19:35 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-151/archives/ 11:19:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-151/archives/ [Pipeline] isUnix [Pipeline] sh 11:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:19:36 11:19:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:19:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:19:36 alpine: Pulling from edgex-lftools-log-publisher 11:19:36 c9b1b535fdd9: Pulling fs layer 11:19:36 2cc5ad85d9ab: Pulling fs layer 11:19:36 756a868c4378: Pulling fs layer 11:19:36 444b2fc9a129: Pulling fs layer 11:19:36 ea15f1150254: Pulling fs layer 11:19:36 41b27a9f41bf: Pulling fs layer 11:19:36 28c525ee5125: Pulling fs layer 11:19:36 094b1ea09ed8: Pulling fs layer 11:19:36 138eaada9080: Pulling fs layer 11:19:36 0622d0fa9048: Pulling fs layer 11:19:36 41b27a9f41bf: Waiting 11:19:36 28c525ee5125: Waiting 11:19:36 094b1ea09ed8: Waiting 11:19:36 444b2fc9a129: Waiting 11:19:36 ea15f1150254: Waiting 11:19:36 138eaada9080: Waiting 11:19:36 0622d0fa9048: Waiting 11:19:36 2cc5ad85d9ab: Download complete 11:19:36 444b2fc9a129: Verifying Checksum 11:19:36 444b2fc9a129: Download complete 11:19:36 c9b1b535fdd9: Verifying Checksum 11:19:36 c9b1b535fdd9: Download complete 11:19:36 ea15f1150254: Verifying Checksum 11:19:36 ea15f1150254: Download complete 11:19:36 28c525ee5125: Verifying Checksum 11:19:36 28c525ee5125: Download complete 11:19:37 756a868c4378: Verifying Checksum 11:19:37 756a868c4378: Download complete 11:19:37 c9b1b535fdd9: Pull complete 11:19:37 138eaada9080: Verifying Checksum 11:19:37 138eaada9080: Download complete 11:19:37 0622d0fa9048: Verifying Checksum 11:19:37 0622d0fa9048: Download complete 11:19:37 094b1ea09ed8: Verifying Checksum 11:19:37 094b1ea09ed8: Download complete 11:19:37 2cc5ad85d9ab: Pull complete 11:19:38 41b27a9f41bf: Verifying Checksum 11:19:38 41b27a9f41bf: Download complete 11:19:39 756a868c4378: Pull complete 11:19:39 444b2fc9a129: Pull complete 11:19:39 ea15f1150254: Pull complete 11:19:44 41b27a9f41bf: Pull complete 11:19:44 28c525ee5125: Pull complete 11:19:47 094b1ea09ed8: Pull complete 11:19:47 138eaada9080: Pull complete 11:19:47 0622d0fa9048: Pull complete 11:19:47 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 11:19:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:19:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:19:47 prd-centos7-docker-4c-2g-2449 does not seem to be running inside a container 11:19:47 $ 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-151 -v /w/workspace/gexfoundry_device-mqtt-go_PR-151:/w/workspace/gexfoundry_device-mqtt-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-151@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 11:19:51 $ docker top eae40d1c90092cb297ed10dd79004ce2f6d2a04c659ff981212567fcacedc4ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:19:51 provisioning config files... 11:19:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-151@tmp/config2048419927425610261tmp [Pipeline] { [Pipeline] echo 11:19:51 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:19:51 ---> create-netrc.sh [Pipeline] echo 11:19:51 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:19:52 ---> logs-deploy.sh 11:19:52 + ARCHIVE_ARTIFACTS= 11:19:52 + LOGS_SERVER=https://logs.edgexfoundry.org 11:19:52 + '[' https://logs.edgexfoundry.org == None ']' 11:19:52 + NEXUS_URL=https://nexus.edgexfoundry.org 11:19:52 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-151/2 11:19:52 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-151/2/ 11:19:52 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-151/2 /w/workspace/gexfoundry_device-mqtt-go_PR-151 11:19:53 Archives upload complete. 11:19:53 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-151/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-151/2/