Pull request #150 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 tonyespy for edgexfoundry/device-mqtt-go Loading trusted files from base branch master at 8b9d4518ce44b452ea6e7170c38b8c7009d29236 rather than c418d371bc54cc5a2f15a6864e3b1205028dfdad Obtained Jenkinsfile from 8b9d4518ce44b452ea6e7170c38b8c7009d29236 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-2092 in /w/workspace/gexfoundry_device-mqtt-go_PR-150 [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-150 # 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/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit c418d371bc54cc5a2f15a6864e3b1205028dfdad Merge succeeded, producing c418d371bc54cc5a2f15a6864e3b1205028dfdad Checking out Revision c418d371bc54cc5a2f15a6864e3b1205028dfdad (PR-150) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/150/head:refs/remotes/origin/PR-150 # 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/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c418d371bc54cc5a2f15a6864e3b1205028dfdad # 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 c418d371bc54cc5a2f15a6864e3b1205028dfdad # timeout=10 Commit message: "snap: add env override for ProfilesDir" First time build. Skipping changelog. > git rev-list --no-walk eceea4ada48422c7e0ee9868d7d274b43293b963 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:34:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:34:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:34:30 ========================================================= 14:34:30 EdgeX Global Pipelines Version Info 14:34:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:34:32 ------------------- 14:34:32 stable info: 14:34:32 ------------------- 14:34:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:34:32 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:34:32 Message: update stable to v1.0.89 14:34:33 ------------------- 14:34:33 experimental info: 14:34:33 ------------------- 14:34:33 Commited By: **** collab-it+edgex@linuxfoundation.org 14:34:33 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 14:34:33 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 14:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:34:35 14:34:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:34:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:34:35 latest: Pulling from edgex-devops/git-semver 14:34:35 9123ac7c32f7: Pulling fs layer 14:34:35 b8cc5d1170e3: Pulling fs layer 14:34:35 2924cbbf6a41: Pulling fs layer 14:34:35 93b08a4f1073: Pulling fs layer 14:34:35 93b08a4f1073: Waiting 14:34:35 b8cc5d1170e3: Verifying Checksum 14:34:35 b8cc5d1170e3: Download complete 14:34:36 9123ac7c32f7: Download complete 14:34:36 93b08a4f1073: Verifying Checksum 14:34:36 93b08a4f1073: Download complete 14:34:36 2924cbbf6a41: Verifying Checksum 14:34:36 2924cbbf6a41: Download complete 14:34:36 9123ac7c32f7: Pull complete 14:34:36 b8cc5d1170e3: Pull complete 14:34:37 2924cbbf6a41: Pull complete 14:34:37 93b08a4f1073: Pull complete 14:34:37 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:34:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:34:37 prd-centos7-docker-4c-2g-2092 does not seem to be running inside a container 14:34:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-150 -v /w/workspace/gexfoundry_device-mqtt-go_PR-150:/w/workspace/gexfoundry_device-mqtt-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-150@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 14:34:39 $ docker top 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:34:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:39 [ssh-agent] Looking for ssh-agent implementation... 14:34:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:39 $ docker exec 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 ssh-agent 14:34:40 SSH_AUTH_SOCK=/tmp/ssh-kuDxDCz4OJbH/agent.12 14:34:40 SSH_AGENT_PID=17 14:34:40 Running ssh-add (command line suppressed) 14:34:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/private_key_7505140031009735503.key (/w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/private_key_7505140031009735503.key) 14:34:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:40 + git describe --exact-match --tags HEAD 14:34:40 fatal: No names found, cannot describe anything. [Pipeline] } 14:34:40 $ docker exec --env ******** --env ******** 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 ssh-agent -k 14:34:40 unset SSH_AUTH_SOCK; 14:34:40 unset SSH_AGENT_PID; 14:34:40 echo Agent pid 17 killed; 14:34:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:34:40 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:34:40 This usually means this commit has not been tagged. [Pipeline] sshagent 14:34:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:40 [ssh-agent] Looking for ssh-agent implementation... 14:34:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:41 $ docker exec 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 ssh-agent 14:34:41 SSH_AUTH_SOCK=/tmp/ssh-fjdsW5Ia0tqj/agent.45 14:34:41 SSH_AGENT_PID=50 14:34:41 Running ssh-add (command line suppressed) 14:34:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/private_key_5298866996217965638.key (/w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/private_key_5298866996217965638.key) 14:34:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:41 + git semver init 14:34:41 # -> Open(): unable to determine branch for HEAD 14:34:41 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-150/.git 14:34:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-150 14:34:41 # $SEMVER_REMOTE_NAME = origin 14:34:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:34:41 # $SEMVER_USER_NAME = edgex-jenkins 14:34:41 # $SEMVER_BRANCH = PR-150 14:34:41 # $SEMVER_TEMP = /tmp/semver-836467022 14:34:41 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 14:34:42 # '/tmp/semver-836467022' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-150/.semver' 14:34:42 # -> Force: false 14:34:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-150/.semver [Pipeline] } 14:34:42 $ docker exec --env ******** --env ******** 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 ssh-agent -k 14:34:42 unset SSH_AUTH_SOCK; 14:34:42 unset SSH_AGENT_PID; 14:34:42 echo Agent pid 50 killed; 14:34:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:34:42 + git semver [Pipeline] } 14:34:42 $ docker stop --time=1 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 14:34:44 $ docker rm -f 75624e7c5aea97e226ce91dbd10d2b257ef32dfc5a4b609475cd0a3cf75098e3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:34:44 Stashed 26 file(s) [Pipeline] echo 14:34:44 [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 14:34:59 Still waiting to schedule task 14:34:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:34:59 Still waiting to schedule task 14:34:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:37:01 Running on prd-centos7-docker-4c-2g-2093 in /w/workspace/gexfoundry_device-mqtt-go_PR-150 [Pipeline] { [Pipeline] ws 14:37:01 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 14:37:03 using credential edgex-jenkins-ssh 14:37:03 Cloning the remote Git repository 14:37:03 Cloning with configured refspecs honoured and without tags 14:37:04 Fetching without tags 14:37:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:37:04 > git init /w/workspace/device-mqtt-go/2 # timeout=10 14:37:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:37:04 > git --version # timeout=10 14:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:37:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:37:04 > git config --add remote.origin.fetch +refs/pull/150/head:refs/remotes/origin/PR-150 # timeout=10 14:37:04 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:37:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:37:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:04 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:37:05 Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:37:05 Merge succeeded, producing c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:37:05 Checking out Revision c418d371bc54cc5a2f15a6864e3b1205028dfdad (PR-150) 14:37:05 > git config core.sparsecheckout # timeout=10 14:37:05 > git checkout -f c418d371bc54cc5a2f15a6864e3b1205028dfdad # timeout=10 14:37:05 > git remote # timeout=10 14:37:05 > git config --get remote.origin.url # timeout=10 14:37:05 using GIT_SSH to set credentials SSH Credentials for GitHub 14:37:05 > git merge 8b9d4518ce44b452ea6e7170c38b8c7009d29236 # timeout=10 14:37:05 > git rev-parse HEAD^{commit} # timeout=10 14:37:05 > git config core.sparsecheckout # timeout=10 14:37:05 > git checkout -f c418d371bc54cc5a2f15a6864e3b1205028dfdad # timeout=10 14:37:08 Commit message: "snap: add env override for ProfilesDir" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:37:09 ========================================================= 14:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:37:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:37:10 + 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 . 14:37:10 Sending build context to Docker daemon 571.9kB 14:37:10 Step 1/8 : ARG BASE=golang:1.13-alpine 14:37:10 Step 2/8 : FROM ${BASE} 14:37:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:37:10 e6b0cf9c0882: Pulling fs layer 14:37:10 2848faf0eed1: Pulling fs layer 14:37:10 0f37312ad70f: Pulling fs layer 14:37:10 5788d62ee057: Pulling fs layer 14:37:10 0e6b1d234666: Pulling fs layer 14:37:10 bf5d7aec512f: Pulling fs layer 14:37:10 34c802a77dc8: Pulling fs layer 14:37:10 9eb99e56ec68: Pulling fs layer 14:37:10 27c7a5d97fbd: Pulling fs layer 14:37:10 5c102a31e300: Pulling fs layer 14:37:10 dcfb455df0a1: Pulling fs layer 14:37:10 34c802a77dc8: Waiting 14:37:10 9eb99e56ec68: Waiting 14:37:10 27c7a5d97fbd: Waiting 14:37:10 5c102a31e300: Waiting 14:37:10 dcfb455df0a1: Waiting 14:37:10 0e6b1d234666: Waiting 14:37:10 5788d62ee057: Waiting 14:37:10 bf5d7aec512f: Waiting 14:37:10 0f37312ad70f: Download complete 14:37:10 2848faf0eed1: Download complete 14:37:10 0e6b1d234666: Verifying Checksum 14:37:10 0e6b1d234666: Download complete 14:37:10 e6b0cf9c0882: Verifying Checksum 14:37:10 e6b0cf9c0882: Download complete 14:37:10 bf5d7aec512f: Verifying Checksum 14:37:10 bf5d7aec512f: Download complete 14:37:10 e6b0cf9c0882: Pull complete 14:37:11 34c802a77dc8: Verifying Checksum 14:37:11 34c802a77dc8: Download complete 14:37:11 27c7a5d97fbd: Verifying Checksum 14:37:11 27c7a5d97fbd: Download complete 14:37:12 9eb99e56ec68: Verifying Checksum 14:37:12 9eb99e56ec68: Download complete 14:37:12 5788d62ee057: Verifying Checksum 14:37:12 5788d62ee057: Download complete 14:37:12 5c102a31e300: Verifying Checksum 14:37:12 5c102a31e300: Download complete 14:37:12 dcfb455df0a1: Verifying Checksum 14:37:12 dcfb455df0a1: Download complete 14:37:13 2848faf0eed1: Pull complete 14:37:13 0f37312ad70f: Pull complete 14:37:19 5788d62ee057: Pull complete 14:37:19 0e6b1d234666: Pull complete 14:37:19 bf5d7aec512f: Pull complete 14:37:24 34c802a77dc8: Pull complete 14:37:27 9eb99e56ec68: Pull complete 14:37:27 27c7a5d97fbd: Pull complete 14:37:28 5c102a31e300: Pull complete 14:37:28 dcfb455df0a1: Pull complete 14:37:28 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:37:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:37:28 ---> 7c70fe431013 14:37:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:37:29 ---> Running in 82c6ab8040eb 14:37:29 Removing intermediate container 82c6ab8040eb 14:37:29 ---> 1533992c3412 14:37:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:37:30 ---> Running in 0d43bffe6450 14:37:31 Removing intermediate container 0d43bffe6450 14:37:31 ---> dbc04c998462 14:37:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:37:31 ---> Running in bc0319fcc38c 14:37:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:37:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:37:33 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:37:34 (2/17) Installing libmagic (5.37-r1) 14:37:35 (3/17) Installing file (5.37-r1) 14:37:35 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:37:35 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:37:35 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:37:45 (7/17) Installing libc-dev (0.7.2-r0) 14:37:45 (8/17) Installing g++ (9.2.0-r4) 14:37:50 (9/17) Installing fortify-headers (1.1-r0) 14:37:50 (10/17) Installing build-base (0.5-r1) 14:37:50 (11/17) Installing openssh-keygen (8.1_p1-r0) 14:37:50 (12/17) Installing libedit (20191211.3.1-r0) 14:37:50 (13/17) Installing openssh-client (8.1_p1-r0) 14:37:51 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 14:37:51 (15/17) Installing openssh-server-common (8.1_p1-r0) 14:37:51 (16/17) Installing openssh-server (8.1_p1-r0) 14:37:51 (17/17) Installing openssh (8.1_p1-r0) 14:37:51 Executing busybox-1.31.1-r8.trigger 14:37:51 OK: 214 MiB in 52 packages 14:37:55 Removing intermediate container bc0319fcc38c 14:37:55 ---> dcdcb2809fc5 14:37:55 Step 6/8 : WORKDIR /device-mqtt-go 14:37:55 ---> Running in b50536221a58 14:37:55 Removing intermediate container b50536221a58 14:37:55 ---> dcb034d89b0d 14:37:55 Step 7/8 : COPY . . 14:37:56 ---> 16987d70b767 14:37:56 Step 8/8 : RUN go mod download 14:37:56 ---> Running in a03c82bf4d84 14:37:58 go: finding github.com/BurntSushi/toml v0.3.1 14:37:58 go: finding github.com/OneOfOne/xxhash v1.2.6 14:37:58 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:37:58 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:37:58 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:37:58 go: finding github.com/bgentry/speakeasy v0.1.0 14:37:58 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:37:58 go: finding github.com/davecgh/go-spew v1.1.1 14:37:58 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:37:58 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:37:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:37:58 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:37:58 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:37:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:37:58 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:37:58 go: finding github.com/fatih/color v1.7.0 14:37:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:37:58 go: finding github.com/go-kit/kit v0.8.0 14:37:58 go: finding github.com/go-logfmt/logfmt v0.4.0 14:37:58 go: finding github.com/go-stack/stack v1.8.0 14:37:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:37:58 go: finding github.com/google/uuid v1.1.1 14:37:58 go: finding github.com/gorilla/mux v1.7.1 14:37:58 go: finding github.com/hashicorp/consul/api v1.1.0 14:37:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:37:58 go: finding github.com/hashicorp/errwrap v1.0.0 14:37:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:37:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:37:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:37:58 go: finding github.com/hashicorp/go-multierror v1.0.0 14:37:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:37:58 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:37:58 go: finding github.com/hashicorp/go-syslog v1.0.0 14:37:58 go: finding github.com/hashicorp/go-uuid v1.0.1 14:37:58 go: finding github.com/hashicorp/go.net v0.0.1 14:37:58 go: finding github.com/hashicorp/golang-lru v0.5.0 14:37:58 go: finding github.com/hashicorp/logutils v1.0.0 14:37:58 go: finding github.com/hashicorp/mdns v1.0.0 14:37:58 go: finding github.com/hashicorp/memberlist v0.1.3 14:37:58 go: finding github.com/hashicorp/serf v0.8.2 14:37:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:37:58 go: finding github.com/kr/pretty v0.1.0 14:37:58 go: finding github.com/kr/pty v1.1.1 14:37:58 go: finding github.com/kr/text v0.1.0 14:37:58 go: finding github.com/mattn/go-colorable v0.0.9 14:37:58 go: finding github.com/mattn/go-isatty v0.0.3 14:37:58 go: finding github.com/miekg/dns v1.0.14 14:37:58 go: finding github.com/mitchellh/cli v1.0.0 14:37:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:37:58 go: finding github.com/mitchellh/copystructure v1.0.0 14:37:58 go: finding github.com/mitchellh/go-homedir v1.0.0 14:37:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:37:59 go: finding github.com/mitchellh/gox v0.4.0 14:37:59 go: finding github.com/mitchellh/iochan v1.0.0 14:37:59 go: finding github.com/mitchellh/mapstructure v1.1.2 14:37:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:37:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:37:59 go: finding github.com/pelletier/go-toml v1.2.0 14:37:59 go: finding github.com/pkg/errors v0.8.1 14:37:59 go: finding github.com/pmezard/go-difflib v1.0.0 14:37:59 go: finding github.com/posener/complete v1.1.1 14:37:59 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:37:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:37:59 go: finding github.com/spf13/cast v1.3.0 14:37:59 go: finding github.com/stretchr/objx v0.1.0 14:37:59 go: finding github.com/stretchr/testify v1.5.1 14:37:59 go: finding github.com/ugorji/go v1.1.4 14:37:59 go: finding github.com/x448/float16 v0.8.4 14:37:59 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:37:59 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:37:59 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:37:59 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:37:59 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 14:37:59 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:37:59 go: finding gopkg.in/yaml.v2 v2.2.8 14:38:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2094 in /w/workspace/gexfoundry_device-mqtt-go_PR-150 [Pipeline] { [Pipeline] ws 14:38:01 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 14:38:06 using credential edgex-jenkins-ssh 14:38:06 Cloning the remote Git repository 14:38:06 Cloning with configured refspecs honoured and without tags 14:38:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:38:07 Fetching without tags 14:38:06 > git init /w/workspace/device-mqtt-go/2 # timeout=10 14:38:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:38:06 > git --version # timeout=10 14:38:06 using GIT_SSH to set credentials SSH Credentials for GitHub 14:38:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:38:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:38:07 > git config --add remote.origin.fetch +refs/pull/150/head:refs/remotes/origin/PR-150 # timeout=10 14:38:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:38:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:38:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:38:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:38:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/150/head:refs/remotes/origin/PR-150 +refs/heads/master:refs/remotes/origin/master # timeout=10 14:38:08 Merging remotes/origin/master commit 8b9d4518ce44b452ea6e7170c38b8c7009d29236 into PR head commit c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:38:08 Merge succeeded, producing c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:38:08 Checking out Revision c418d371bc54cc5a2f15a6864e3b1205028dfdad (PR-150) 14:38:08 > git config core.sparsecheckout # timeout=10 14:38:08 > git checkout -f c418d371bc54cc5a2f15a6864e3b1205028dfdad # timeout=10 14:38:08 > git remote # timeout=10 14:38:08 > git config --get remote.origin.url # timeout=10 14:38:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:38:08 > git merge 8b9d4518ce44b452ea6e7170c38b8c7009d29236 # timeout=10 14:38:08 > git rev-parse HEAD^{commit} # timeout=10 14:38:08 > git config core.sparsecheckout # timeout=10 14:38:08 > git checkout -f c418d371bc54cc5a2f15a6864e3b1205028dfdad # timeout=10 14:38:09 Removing intermediate container a03c82bf4d84 14:38:09 ---> ddc9dfb913ce 14:38:09 Successfully built ddc9dfb913ce 14:38:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:38:10 + docker inspect -f . ci-base-image-x86_64 14:38:10 . [Pipeline] withDockerContainer 14:38:10 prd-centos7-docker-4c-2g-2093 does not seem to be running inside a container 14:38:10 $ 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-x86_64 cat 14:38:11 $ docker top 85494bd30df7316da925e4f1b75988af5fabac265efaca3fca7bf188571bfe51 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:12 + go version 14:38:12 go version go1.13.5 linux/amd64 [Pipeline] sh 14:38:12 + make test 14:38:12 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:38:12 Commit message: "snap: add env override for ProfilesDir" 14:38:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:38:13 ========================================================= 14:38:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:38:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:38:15 + 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 . 14:38:16 Sending build context to Docker daemon 571.9kB 14:38:16 Step 1/8 : ARG BASE=golang:1.13-alpine 14:38:16 Step 2/8 : FROM ${BASE} 14:38:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:38:16 cde5963f3b93: Pulling fs layer 14:38:16 2a23fa8c16f7: Pulling fs layer 14:38:16 777b28850792: Pulling fs layer 14:38:16 8a11ddd9e578: Pulling fs layer 14:38:16 4cf88f913ddb: Pulling fs layer 14:38:16 1df406cf5192: Pulling fs layer 14:38:16 cd6300453558: Pulling fs layer 14:38:16 b9c365052c96: Pulling fs layer 14:38:16 a2d8cc88f415: Pulling fs layer 14:38:16 ea1d1ca13537: Pulling fs layer 14:38:16 3750a50a1c5e: Pulling fs layer 14:38:16 4cf88f913ddb: Waiting 14:38:16 1df406cf5192: Waiting 14:38:16 cd6300453558: Waiting 14:38:16 b9c365052c96: Waiting 14:38:16 a2d8cc88f415: Waiting 14:38:16 ea1d1ca13537: Waiting 14:38:16 3750a50a1c5e: Waiting 14:38:16 8a11ddd9e578: Waiting 14:38:16 777b28850792: Verifying Checksum 14:38:16 777b28850792: Download complete 14:38:16 2a23fa8c16f7: Verifying Checksum 14:38:16 2a23fa8c16f7: Download complete 14:38:16 4cf88f913ddb: Verifying Checksum 14:38:16 4cf88f913ddb: Download complete 14:38:16 1df406cf5192: Verifying Checksum 14:38:16 1df406cf5192: Download complete 14:38:16 cde5963f3b93: Verifying Checksum 14:38:17 cde5963f3b93: Pull complete 14:38:17 2a23fa8c16f7: Pull complete 14:38:18 777b28850792: Pull complete 14:38:19 cd6300453558: Verifying Checksum 14:38:19 cd6300453558: Download complete 14:38:19 a2d8cc88f415: Verifying Checksum 14:38:19 a2d8cc88f415: Download complete 14:38:20 ea1d1ca13537: Verifying Checksum 14:38:20 ea1d1ca13537: Download complete 14:38:20 3750a50a1c5e: Verifying Checksum 14:38:20 3750a50a1c5e: Download complete 14:38:21 b9c365052c96: Verifying Checksum 14:38:21 b9c365052c96: Download complete 14:38:21 8a11ddd9e578: Verifying Checksum 14:38:21 8a11ddd9e578: Download complete 14:38:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:38:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 29.8% of statements 14:38:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:38:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:38:26 gofmt -l . 14:38:26 ["`gofmt -l .`" = ""] 14:38:26 ./bin/test-attribution-txt.sh 14:38:26 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:38:27 Stashed 1 file(s) [Pipeline] } 14:38:27 $ docker stop --time=1 85494bd30df7316da925e4f1b75988af5fabac265efaca3fca7bf188571bfe51 14:38:29 $ docker rm -f 85494bd30df7316da925e4f1b75988af5fabac265efaca3fca7bf188571bfe51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:38:31 + ls -al . 14:38:31 total 100 14:38:31 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 6 14:38 . 14:38:31 drwxrwxr-x. 4 jenkins jenkins 28 Jun 6 14:37 .. 14:38:31 -rw-rw-r--. 1 jenkins jenkins 4678 Jun 6 14:37 Attribution.txt 14:38:31 drwxrwxr-x. 2 jenkins jenkins 87 Jun 6 14:37 bin 14:38:31 drwxrwxr-x. 3 jenkins jenkins 32 Jun 6 14:37 cmd 14:38:31 -rw-r--r--. 1 jenkins jenkins 18214 Jun 6 14:38 coverage.out 14:38:31 -rw-rw-r--. 1 jenkins jenkins 1776 Jun 6 14:37 Dockerfile 14:38:31 -rw-rw-r--. 1 jenkins jenkins 953 Jun 6 14:37 Dockerfile.build 14:38:31 -rw-rw-r--. 1 jenkins jenkins 140 Jun 6 14:37 .dockerignore 14:38:31 drwxrwxr-x. 8 jenkins jenkins 179 Jun 6 14:37 .git 14:38:31 -rw-rw-r--. 1 jenkins jenkins 328 Jun 6 14:37 .gitignore 14:38:31 -rw-r--r--. 1 jenkins jenkins 510 Jun 6 14:38 go.mod 14:38:31 -rw-r--r--. 1 jenkins jenkins 13621 Jun 6 14:38 go.sum 14:38:31 drwxrwxr-x. 3 jenkins jenkins 20 Jun 6 14:37 internal 14:38:31 -rw-rw-r--. 1 jenkins jenkins 700 Jun 6 14:37 Jenkinsfile 14:38:31 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 6 14:37 LICENSE 14:38:31 -rw-rw-r--. 1 jenkins jenkins 902 Jun 6 14:37 Makefile 14:38:31 drwxrwxr-x. 2 jenkins jenkins 23 Jun 6 14:37 mock 14:38:31 -rw-rw-r--. 1 jenkins jenkins 444 Jun 6 14:37 README.md 14:38:31 drwxrwxr-x. 3 jenkins jenkins 58 Jun 6 14:37 .semver 14:38:31 drwxrwxr-x. 4 jenkins jenkins 54 Jun 6 14:37 snap 14:38:31 -rw-rw-r--. 1 jenkins jenkins 5 Jun 6 14:34 VERSION 14:38:31 -rw-rw-r--. 1 jenkins jenkins 227 Jun 6 14:37 version.go [Pipeline] isUnix [Pipeline] sh 14:38:32 + 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=c418d371bc54cc5a2f15a6864e3b1205028dfdad --label arch=amd64 --label version=0.0.0 . 14:38:32 Sending build context to Docker daemon 590.8kB 14:38:32 Step 1/21 : ARG BASE=golang:1.13-alpine 14:38:32 Step 2/21 : FROM ${BASE} AS builder 14:38:32 ---> ddc9dfb913ce 14:38:32 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:38:32 ---> Running in 5df506e85d21 14:38:32 Removing intermediate container 5df506e85d21 14:38:32 ---> 8fd9ddddad71 14:38:32 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:38:32 ---> Running in 41bb1b55f92b 14:38:32 Removing intermediate container 41bb1b55f92b 14:38:32 ---> 40dc298cbb6d 14:38:32 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:38:33 ---> Running in 776346d35c7f 14:38:33 8a11ddd9e578: Pull complete 14:38:33 4cf88f913ddb: Pull complete 14:38:33 1df406cf5192: Pull complete 14:38:33 Removing intermediate container 776346d35c7f 14:38:33 ---> ed8b5128730f 14:38:33 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:38:33 ---> Running in 7b8a6cf3e92b 14:38:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:38:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:38:35 OK: 214 MiB in 52 packages 14:38:36 Removing intermediate container 7b8a6cf3e92b 14:38:36 ---> 7efbb9bdd5d6 14:38:36 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 14:38:36 ---> Running in bf8a0024956e 14:38:36 Removing intermediate container bf8a0024956e 14:38:36 ---> f6d2f658f20b 14:38:36 Step 8/21 : COPY . . 14:38:36 cd6300453558: Pull complete 14:38:36 ---> 4ff47809da75 14:38:36 Step 9/21 : ARG MAKE='make build' 14:38:37 ---> Running in 8d98692879ec 14:38:37 Removing intermediate container 8d98692879ec 14:38:37 ---> 996b810172ef 14:38:37 Step 10/21 : RUN $MAKE 14:38:37 ---> Running in 63486833cc33 14:38:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:38:41 b9c365052c96: Pull complete 14:38:41 a2d8cc88f415: Pull complete 14:38:43 ea1d1ca13537: Pull complete 14:38:43 3750a50a1c5e: Pull complete 14:38:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:38:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:38:43 ---> 78745c68409d 14:38:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:38:47 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:38:49 ---> Running in e9ff87f3817c 14:38:49 Removing intermediate container e9ff87f3817c 14:38:49 ---> 0028dc296510 14:38:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:38:49 ---> Running in 290ed059d169 14:38:51 Removing intermediate container 63486833cc33 14:38:51 ---> c06d3098fea3 14:38:51 Step 11/21 : FROM alpine 14:38:51 latest: Pulling from library/alpine 14:38:51 df20fa9351a1: Pulling fs layer 14:38:51 df20fa9351a1: Verifying Checksum 14:38:51 df20fa9351a1: Download complete 14:38:51 df20fa9351a1: Pull complete 14:38:51 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 14:38:51 Status: Downloaded newer image for alpine:latest 14:38:51 ---> a24bb4013296 14:38:51 Step 12/21 : ENV APP_PORT=49982 14:38:51 ---> Running in 650474b12d0a 14:38:51 Removing intermediate container 650474b12d0a 14:38:51 ---> c03413581038 14:38:51 Step 13/21 : EXPOSE $APP_PORT 14:38:52 Removing intermediate container 290ed059d169 14:38:52 ---> 5c1b03d85b46 14:38:52 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:38:52 ---> Running in 6ca96702a501 14:38:52 ---> Running in 19c07b17b71d 14:38:52 Removing intermediate container 19c07b17b71d 14:38:52 ---> aa42dbd0291a 14:38:52 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 14:38:52 ---> 75267790df7f 14:38:52 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 14:38:52 ---> d097c8f590c8 14:38:52 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 14:38:53 ---> eb2a3b628be7 14:38:53 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 14:38:53 ---> Running in 535073112e8f 14:38:53 Removing intermediate container 535073112e8f 14:38:53 ---> 70fcc9de80e0 14:38:53 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 14:38:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:38:53 ---> Running in eedceaed4e61 14:38:53 Removing intermediate container eedceaed4e61 14:38:53 ---> 5250a5abed60 14:38:53 Step 19/21 : LABEL arch=amd64 14:38:53 ---> Running in 723892597f22 14:38:54 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:38:54 Removing intermediate container 723892597f22 14:38:54 ---> 1bcac29a006a 14:38:54 Step 20/21 : LABEL git_sha=c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:38:54 ---> Running in aa6aedb5cf3b 14:38:54 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 14:38:54 Removing intermediate container aa6aedb5cf3b 14:38:54 ---> f92394a9010f 14:38:54 Step 21/21 : LABEL version=0.0.0 14:38:54 ---> Running in 738b627a2ec3 14:38:54 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:38:54 Removing intermediate container 738b627a2ec3 14:38:54 ---> 22017ba4486a 14:38:54 [Warning] One or more build-args [ARCH] were not consumed 14:38:54 Successfully built 22017ba4486a 14:38:54 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) 14:38:55 (3/18) Installing libmagic (5.37-r1) 14:38:55 (4/18) Installing file (5.37-r1) [Pipeline] findFiles [Pipeline] script [Pipeline] { 14:38:55 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:38:55 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:38:55 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [Pipeline] sh 14:38:55 ++ find /w/workspace/device-mqtt-go/2 14:38:55 ++ grep snapcraft.yaml 14:38:55 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:38:55 provisioning config files... 14:38:55 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config1763276431306220153tmp [Pipeline] { [Pipeline] sh 14:38:56 + cp /w/workspace/device-mqtt-go/2@tmp/config1763276431306220153tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 14:38:56 + 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 14:38:56 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 14:38:56 latest: Pulling from edgex-devops/edgex-snap-builder 14:38:56 5bed26d33875: Pulling fs layer 14:38:56 f11b29a9c730: Pulling fs layer 14:38:56 930bda195c84: Pulling fs layer 14:38:56 78bf9a5ad49e: Pulling fs layer 14:38:56 e5fbee5a4b0d: Pulling fs layer 14:38:56 f452fca78f88: Pulling fs layer 14:38:56 7417ef92027a: Pulling fs layer 14:38:56 2af5c49d270b: Pulling fs layer 14:38:56 df9c3bdbc40a: Pulling fs layer 14:38:56 78bf9a5ad49e: Waiting 14:38:56 e5fbee5a4b0d: Waiting 14:38:56 2af5c49d270b: Waiting 14:38:56 df9c3bdbc40a: Waiting 14:38:56 f452fca78f88: Waiting 14:38:56 7417ef92027a: Waiting 14:38:56 f11b29a9c730: Download complete 14:38:56 930bda195c84: Verifying Checksum 14:38:56 930bda195c84: Download complete 14:38:56 78bf9a5ad49e: Verifying Checksum 14:38:56 78bf9a5ad49e: Download complete 14:38:56 f452fca78f88: Verifying Checksum 14:38:56 f452fca78f88: Download complete 14:38:56 7417ef92027a: Verifying Checksum 14:38:56 7417ef92027a: Download complete 14:38:56 2af5c49d270b: Download complete 14:38:56 df9c3bdbc40a: Verifying Checksum 14:38:56 df9c3bdbc40a: Download complete 14:38:57 5bed26d33875: Verifying Checksum 14:38:57 5bed26d33875: Download complete 14:39:00 e5fbee5a4b0d: Verifying Checksum 14:39:00 e5fbee5a4b0d: Download complete 14:39:00 5bed26d33875: Pull complete 14:39:00 f11b29a9c730: Pull complete 14:39:00 930bda195c84: Pull complete 14:39:00 78bf9a5ad49e: Pull complete 14:39:03 (8/18) Installing libc-dev (0.7.2-r0) 14:39:03 (9/18) Installing g++ (9.2.0-r4) 14:39:10 (10/18) Installing fortify-headers (1.1-r0) 14:39:10 (11/18) Installing build-base (0.5-r1) 14:39:10 (12/18) Installing openssh-keygen (8.1_p1-r0) 14:39:10 (13/18) Installing libedit (20191211.3.1-r0) 14:39:10 (14/18) Installing openssh-client (8.1_p1-r0) 14:39:10 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 14:39:10 (16/18) Installing openssh-server-common (8.1_p1-r0) 14:39:10 (17/18) Installing openssh-server (8.1_p1-r0) 14:39:10 (18/18) Installing openssh (8.1_p1-r0) 14:39:11 Executing busybox-1.31.1-r8.trigger 14:39:11 OK: 203 MiB in 52 packages 14:39:17 Removing intermediate container 6ca96702a501 14:39:17 ---> 9218b2b8edd2 14:39:17 Step 6/8 : WORKDIR /device-mqtt-go 14:39:17 ---> Running in ef9f99d8f4bd 14:39:18 Removing intermediate container ef9f99d8f4bd 14:39:18 ---> 1fc4bed749c2 14:39:18 Step 7/8 : COPY . . 14:39:19 e5fbee5a4b0d: Pull complete 14:39:19 ---> 1d92b1615ef6 14:39:19 Step 8/8 : RUN go mod download 14:39:19 ---> Running in f9a56c64fb54 14:39:19 f452fca78f88: Pull complete 14:39:19 7417ef92027a: Pull complete 14:39:19 2af5c49d270b: Pull complete 14:39:19 df9c3bdbc40a: Pull complete 14:39:19 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 14:39:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 14:39:21 go: finding github.com/BurntSushi/toml v0.3.1 14:39:21 go: finding github.com/OneOfOne/xxhash v1.2.6 14:39:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:39:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:39:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:39:21 go: finding github.com/bgentry/speakeasy v0.1.0 14:39:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:39:21 go: finding github.com/davecgh/go-spew v1.1.1 14:39:21 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:39:21 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:39:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:39:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:39:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:39:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:39:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:39:21 go: finding github.com/fatih/color v1.7.0 14:39:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:39:21 go: finding github.com/go-kit/kit v0.8.0 14:39:21 go: finding github.com/go-logfmt/logfmt v0.4.0 14:39:21 go: finding github.com/go-stack/stack v1.8.0 14:39:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:39:21 go: finding github.com/google/uuid v1.1.1 14:39:21 go: finding github.com/gorilla/mux v1.7.1 14:39:21 go: finding github.com/hashicorp/consul/api v1.1.0 14:39:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 14:39:21 go: finding github.com/hashicorp/errwrap v1.0.0 14:39:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:39:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:39:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:39:21 go: finding github.com/hashicorp/go-multierror v1.0.0 14:39:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:39:21 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:39:21 go: finding github.com/hashicorp/go-syslog v1.0.0 14:39:21 go: finding github.com/hashicorp/go-uuid v1.0.1 14:39:21 go: finding github.com/hashicorp/go.net v0.0.1 14:39:21 go: finding github.com/hashicorp/golang-lru v0.5.0 14:39:21 go: finding github.com/hashicorp/logutils v1.0.0 14:39:21 go: finding github.com/hashicorp/mdns v1.0.0 14:39:21 go: finding github.com/hashicorp/memberlist v0.1.3 14:39:21 go: finding github.com/hashicorp/serf v0.8.2 14:39:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:39:21 go: finding github.com/kr/pretty v0.1.0 14:39:21 go: finding github.com/kr/pty v1.1.1 14:39:21 go: finding github.com/kr/text v0.1.0 14:39:21 go: finding github.com/mattn/go-colorable v0.0.9 14:39:21 go: finding github.com/mattn/go-isatty v0.0.3 14:39:21 go: finding github.com/miekg/dns v1.0.14 14:39:21 go: finding github.com/mitchellh/cli v1.0.0 14:39:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:39:21 go: finding github.com/mitchellh/copystructure v1.0.0 14:39:21 go: finding github.com/mitchellh/go-homedir v1.0.0 14:39:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:39:21 go: finding github.com/mitchellh/gox v0.4.0 14:39:21 go: finding github.com/mitchellh/iochan v1.0.0 14:39:22 go: finding github.com/mitchellh/mapstructure v1.1.2 14:39:22 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:39:22 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:39:22 go: finding github.com/pelletier/go-toml v1.2.0 14:39:22 go: finding github.com/pkg/errors v0.8.1 14:39:22 go: finding github.com/pmezard/go-difflib v1.0.0 14:39:22 go: finding github.com/posener/complete v1.1.1 14:39:22 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:39:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:39:22 go: finding github.com/spf13/cast v1.3.0 14:39:22 go: finding github.com/stretchr/objx v0.1.0 14:39:22 go: finding github.com/stretchr/testify v1.5.1 14:39:22 go: finding github.com/ugorji/go v1.1.4 14:39:22 go: finding github.com/x448/float16 v0.8.4 14:39:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:39:22 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:39:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:39:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:39:22 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 14:39:22 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:39:22 go: finding gopkg.in/yaml.v2 v2.2.8 14:39:22 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 14:39:22 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 14:39:22 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 14:39:22 Get:4 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [59.3 kB] 14:39:22 Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 14:39:22 Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [856 kB] 14:39:22 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1230 kB] 14:39:23 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [933 kB] 14:39:23 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1387 kB] 14:39:23 Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8815 B] 14:39:23 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [73.6 kB] 14:39:23 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.1 kB] 14:39:23 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 14:39:23 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 14:39:23 Fetched 4836 kB in 2s (2321 kB/s) 14:39:25 Reading package lists... 14:39:28 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 14:39:29 Reading package lists... 14:39:30 Building dependency tree... 14:39:30 Reading state information... 14:39:30 The following packages were automatically installed and are no longer required: 14:39:30 libjq1 liblzo2-2 libonig4 14:39:30 Use 'sudo apt autoremove' to remove them. 14:39:30 Suggested packages: 14:39:30 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 14:39:30 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 14:39:30 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 14:39:30 libterm-readline-gnu-perl | libterm-readline-perl-perl 14:39:30 The following NEW packages will be installed: 14:39:30 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 14:39:30 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 14:39:30 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 14:39:30 openssh-client patch perl perl-modules-5.26 xauth 14:39:30 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 14:39:30 Need to get 14.7 MB of archives. 14:39:30 After this operation, 89.5 MB of additional disk space will be used. 14:39:30 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 14:39:30 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 14:39:30 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 14:39:30 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 14:39:31 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 14:39:31 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 14:39:31 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 14:39:31 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 14:39:31 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 14:39:31 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 14:39:31 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 14:39:31 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 14:39:31 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 14:39:31 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 14:39:32 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 14:39:32 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 14:39:32 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 14:39:32 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 14:39:32 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 14:39:32 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 14:39:32 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 14:39:32 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 14:39:32 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 14:39:32 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 14:39:32 Removing intermediate container f9a56c64fb54 14:39:32 ---> a54de6d61d1f 14:39:32 Successfully built a54de6d61d1f 14:39:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 14:39:32 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 14:39:32 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 14:39:32 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:39:32 debconf: delaying package configuration, since apt-utils is not installed 14:39:32 Fetched 14.7 MB in 2s (6964 kB/s) 14:39:32 + docker inspect -f . ci-base-image-arm64 14:39:32 . [Pipeline] withDockerContainer 14:39:33 Selecting previously unselected package libxau6:amd64. 14:39:33 (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.) 14:39:33 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 14:39:33 Unpacking libxau6:amd64 (1:1.0.8-1) ... 14:39:33 Selecting previously unselected package libbsd0:amd64. 14:39:33 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 14:39:33 prd-ubuntu18.04-docker-arm64-4c-16g-2094 does not seem to be running inside a container 14:39:33 $ 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 14:39:33 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 14:39:33 Selecting previously unselected package libxdmcp6:amd64. 14:39:33 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 14:39:33 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 14:39:33 Selecting previously unselected package libxcb1:amd64. 14:39:33 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 14:39:33 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 14:39:33 Selecting previously unselected package libx11-data. 14:39:33 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 14:39:33 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 14:39:34 Selecting previously unselected package libx11-6:amd64. 14:39:34 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 14:39:34 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 14:39:34 Selecting previously unselected package libxext6:amd64. 14:39:34 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 14:39:34 Unpacking libxext6:amd64 (2:1.3.3-1) ... 14:39:34 Selecting previously unselected package perl-modules-5.26. 14:39:34 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 14:39:34 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 14:39:34 $ docker top bf3d08da0022988d41a5e70a5aca40eb3ea482bc0703d2444b24bd36c887e390 -eo pid,comm [Pipeline] { [Pipeline] sh 14:39:36 + go version 14:39:36 go version go1.13.5 linux/arm64 [Pipeline] sh 14:39:37 Selecting previously unselected package libgdbm5:amd64. 14:39:37 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 14:39:37 Unpacking libgdbm5:amd64 (1.14.1-6) ... 14:39:37 Selecting previously unselected package libgdbm-compat4:amd64. 14:39:37 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 14:39:37 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 14:39:37 Selecting previously unselected package libperl5.26:amd64. 14:39:37 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 14:39:37 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 14:39:37 + make test 14:39:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:39:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:39:38 Selecting previously unselected package perl. 14:39:38 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 14:39:38 Unpacking perl (5.26.1-6ubuntu0.3) ... 14:39:38 Selecting previously unselected package less. 14:39:38 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 14:39:38 Unpacking less (487-0.1) ... 14:39:38 Selecting previously unselected package libexpat1:amd64. 14:39:38 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 14:39:38 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 14:39:38 Selecting previously unselected package netbase. 14:39:38 Preparing to unpack .../14-netbase_5.4_all.deb ... 14:39:38 Unpacking netbase (5.4) ... 14:39:39 Selecting previously unselected package libedit2:amd64. 14:39:39 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 14:39:39 Unpacking libedit2:amd64 (3.1-20170329-1) ... 14:39:39 Selecting previously unselected package libssl1.0.0:amd64. 14:39:39 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 14:39:39 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 14:39:39 Selecting previously unselected package libxmuu1:amd64. 14:39:39 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 14:39:39 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 14:39:39 Selecting previously unselected package openssh-client. 14:39:39 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 14:39:39 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 14:39:39 Selecting previously unselected package xauth. 14:39:39 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 14:39:39 Unpacking xauth (1:1.0.10-1) ... 14:39:39 Selecting previously unselected package curl. 14:39:39 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 14:39:39 Unpacking curl (7.58.0-2ubuntu3.8) ... 14:39:39 Selecting previously unselected package libcurl3-gnutls:amd64. 14:39:39 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 14:39:39 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 14:39:39 Selecting previously unselected package liberror-perl. 14:39:39 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 14:39:39 Unpacking liberror-perl (0.17025-1) ... 14:39:39 Selecting previously unselected package git-man. 14:39:39 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 14:39:39 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 14:39:39 Selecting previously unselected package git. 14:39:39 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 14:39:40 Unpacking git (1:2.17.1-1ubuntu0.7) ... 14:39:40 Selecting previously unselected package make. 14:39:40 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 14:39:40 Unpacking make (4.1-9.1ubuntu1) ... 14:39:40 Selecting previously unselected package patch. 14:39:40 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 14:39:40 Unpacking patch (2.7.6-2ubuntu1.1) ... 14:39:40 Setting up libedit2:amd64 (3.1-20170329-1) ... 14:39:40 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 14:39:40 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 14:39:40 Setting up less (487-0.1) ... 14:39:40 Setting up make (4.1-9.1ubuntu1) ... 14:39:40 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 14:39:41 Setting up curl (7.58.0-2ubuntu3.8) ... 14:39:41 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 14:39:41 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 14:39:41 Setting up libgdbm5:amd64 (1.14.1-6) ... 14:39:41 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 14:39:41 Setting up patch (2.7.6-2ubuntu1.1) ... 14:39:41 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 14:39:41 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 14:39:41 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 14:39:41 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 14:39:41 Setting up libxau6:amd64 (1:1.0.8-1) ... 14:39:41 Setting up netbase (5.4) ... 14:39:41 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 14:39:41 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 14:39:41 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 14:39:41 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 14:39:41 Setting up perl (5.26.1-6ubuntu0.3) ... 14:39:42 Setting up libxext6:amd64 (2:1.3.3-1) ... 14:39:42 Setting up liberror-perl (0.17025-1) ... 14:39:42 Setting up xauth (1:1.0.10-1) ... 14:39:42 Setting up git (1:2.17.1-1ubuntu0.7) ... 14:39:42 Processing triggers for libc-bin (2.27-3ubuntu1) ... 14:39:44 curl set to automatically installed. 14:39:44 git set to automatically installed. 14:39:44 git-man set to automatically installed. 14:39:44 less set to automatically installed. 14:39:44 libbsd0 set to automatically installed. 14:39:44 libcurl3-gnutls set to automatically installed. 14:39:44 libedit2 set to automatically installed. 14:39:44 liberror-perl set to automatically installed. 14:39:44 libexpat1 set to automatically installed. 14:39:44 libgdbm-compat4 set to automatically installed. 14:39:44 libgdbm5 set to automatically installed. 14:39:44 libperl5.26 set to automatically installed. 14:39:44 libssl1.0.0 set to automatically installed. 14:39:44 libx11-6 set to automatically installed. 14:39:44 libx11-data set to automatically installed. 14:39:44 libxau6 set to automatically installed. 14:39:44 libxcb1 set to automatically installed. 14:39:44 libxdmcp6 set to automatically installed. 14:39:44 libxext6 set to automatically installed. 14:39:44 libxmuu1 set to automatically installed. 14:39:44 make set to automatically installed. 14:39:44 netbase set to automatically installed. 14:39:44 openssh-client set to automatically installed. 14:39:44 patch set to automatically installed. 14:39:44 perl set to automatically installed. 14:39:44 perl-modules-5.26 set to automatically installed. 14:39:44 xauth set to automatically installed. 14:39:44 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 14:39:44 Please ensure the environment is properly setup before continuing. 14:39:44 Ignore this message if the appropriate measures have already been taken 14:39:44 Pulling go 14:39:45 'device-mqtt' has dependencies that need to be staged: go 14:39:45 Skipping pull go (already ran) 14:39:45 Building go 14:39:45 % Total % Received % Xferd Average Speed Time Time Time Current 14:39:45 Dload Upload Total Spent Left Speed 14:39:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 114M 5 6831k 0 0 47.6M 0 0:00:02 --:--:-- 0:00:02 47.3M 100 114M 100 114M 0 0 102M 0 0:00:01 0:00:01 --:--:-- 102M 14:39:47 go1.13.5.linux-amd64.tar.gz: OK 14:39:55 Staging go 14:39:56 Pulling device-mqtt 14:39:57 Skipping build go (already ran) 14:39:57 Building device-mqtt 14:39:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:39:58 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 14:39:58 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:39:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 14:39:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:39:58 go: downloading github.com/spf13/cast v1.3.0 14:39:58 go: extracting github.com/spf13/cast v1.3.0 14:39:58 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:39:58 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 14:39:58 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 14:39:58 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:39:58 go: downloading github.com/google/uuid v1.1.1 14:39:58 go: downloading github.com/go-kit/kit v0.8.0 14:39:58 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 14:39:58 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:39:58 go: downloading github.com/gorilla/mux v1.7.1 14:39:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:39:58 go: extracting github.com/google/uuid v1.1.1 14:39:58 go: extracting github.com/gorilla/mux v1.7.1 14:39:58 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 14:39:58 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:39:58 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 14:39:58 go: downloading github.com/pkg/errors v0.8.1 14:39:58 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 14:39:58 go: downloading github.com/x448/float16 v0.8.4 14:39:58 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 14:39:58 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 14:39:58 go: downloading gopkg.in/yaml.v2 v2.2.8 14:39:58 go: downloading github.com/OneOfOne/xxhash v1.2.6 14:39:58 go: extracting github.com/pkg/errors v0.8.1 14:39:58 go: extracting github.com/go-kit/kit v0.8.0 14:39:58 go: downloading github.com/pelletier/go-toml v1.2.0 14:39:58 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 14:39:58 go: extracting github.com/OneOfOne/xxhash v1.2.6 14:39:58 go: extracting gopkg.in/yaml.v2 v2.2.8 14:39:58 go: downloading github.com/BurntSushi/toml v0.3.1 14:39:58 go: extracting github.com/x448/float16 v0.8.4 14:39:58 go: downloading github.com/hashicorp/consul/api v1.1.0 14:39:58 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 14:39:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:39:58 go: extracting github.com/BurntSushi/toml v0.3.1 14:39:58 go: extracting github.com/pelletier/go-toml v1.2.0 14:39:58 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:39:58 go: extracting github.com/hashicorp/consul/api v1.1.0 14:39:58 go: downloading github.com/hashicorp/serf v0.8.2 14:39:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 14:39:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 14:39:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 14:39:58 go: downloading github.com/go-logfmt/logfmt v0.4.0 14:39:58 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:39:58 go: downloading github.com/mitchellh/copystructure v1.0.0 14:39:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 14:39:58 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 14:39:58 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 14:39:58 go: extracting github.com/mitchellh/mapstructure v1.1.2 14:39:58 go: extracting github.com/go-logfmt/logfmt v0.4.0 14:39:58 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 14:39:58 go: extracting github.com/mitchellh/copystructure v1.0.0 14:39:59 go: downloading github.com/mitchellh/reflectwalk v1.0.0 14:39:59 go: extracting github.com/hashicorp/serf v0.8.2 14:39:59 go: extracting github.com/mitchellh/reflectwalk v1.0.0 14:39:59 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:39:59 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:39:59 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 14:39:59 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 14:39:59 go: downloading github.com/hashicorp/golang-lru v0.5.0 14:39:59 go: extracting github.com/hashicorp/golang-lru v0.5.0 14:39:59 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:39:59 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:39:59 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:39:59 go: finding github.com/spf13/cast v1.3.0 14:39:59 go: finding github.com/gorilla/mux v1.7.1 14:39:59 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:39:59 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:39:59 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:39:59 go: finding github.com/OneOfOne/xxhash v1.2.6 14:39:59 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:39:59 go: finding github.com/go-kit/kit v0.8.0 14:39:59 go: finding github.com/google/uuid v1.1.1 14:39:59 go: finding github.com/x448/float16 v0.8.4 14:39:59 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:39:59 go: finding github.com/go-logfmt/logfmt v0.4.0 14:39:59 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:39:59 go: finding gopkg.in/yaml.v2 v2.2.8 14:39:59 go: finding github.com/BurntSushi/toml v0.3.1 14:39:59 go: finding github.com/hashicorp/consul/api v1.1.0 14:39:59 go: finding github.com/pkg/errors v0.8.1 14:39:59 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:39:59 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:39:59 go: finding github.com/pelletier/go-toml v1.2.0 14:39:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:39:59 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:39:59 go: finding github.com/mitchellh/copystructure v1.0.0 14:39:59 go: finding github.com/mitchellh/mapstructure v1.1.2 14:39:59 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:39:59 go: finding github.com/hashicorp/serf v0.8.2 14:39:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:39:59 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:39:59 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:39:59 go: finding github.com/hashicorp/golang-lru v0.5.0 14:40:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:40:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:40:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.028s coverage: 29.8% of statements 14:40:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:40:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:40:15 Skipping stage go (already ran) 14:40:15 Staging device-mqtt 14:40:16 Priming go 14:40:16 Priming device-mqtt 14:40:17 gofmt -l . 14:40:17 ["`gofmt -l .`" = ""] 14:40:17 ./bin/test-attribution-txt.sh 14:40:17 ./bin/test-go-mod-tidy.sh 14:40:17 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 14:40:17 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 14:40:17 Determining the version from the project repo (version-script). 14:40:17 The version has been set to '0.0.0-20200606+c418d37' 14:40:17 Snapping 'edgex-device-mqtt' ... [Pipeline] stash 14:40:18 Warning: overwriting stash ‘coverage-report’ 14:40:18 Stashed 1 file(s) [Pipeline] } 14:40:18 $ docker stop --time=1 bf3d08da0022988d41a5e70a5aca40eb3ea482bc0703d2444b24bd36c887e390 14:40:19 14:40:19 Snapped edgex-device-mqtt_0.0.0-20200606+c418d37_amd64.snap 14:40:20 $ docker rm -f bf3d08da0022988d41a5e70a5aca40eb3ea482bc0703d2444b24bd36c887e390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 14:40:21 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // configFileProvider [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:40:22 + ls -al . 14:40:22 total 132 14:40:22 drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 14:40 . 14:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 14:38 .. 14:40:22 -rw-rw-r-- 1 jenkins jenkins 140 Jun 6 14:38 .dockerignore 14:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 14:38 .git 14:40:22 -rw-rw-r-- 1 jenkins jenkins 328 Jun 6 14:38 .gitignore 14:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 14:38 .semver 14:40:22 -rw-rw-r-- 1 jenkins jenkins 4678 Jun 6 14:38 Attribution.txt 14:40:22 -rw-rw-r-- 1 jenkins jenkins 1776 Jun 6 14:38 Dockerfile 14:40:22 -rw-rw-r-- 1 jenkins jenkins 953 Jun 6 14:38 Dockerfile.build 14:40:22 -rw-rw-r-- 1 jenkins jenkins 700 Jun 6 14:38 Jenkinsfile 14:40:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 6 14:38 LICENSE 14:40:22 -rw-rw-r-- 1 jenkins jenkins 902 Jun 6 14:38 Makefile 14:40:22 -rw-rw-r-- 1 jenkins jenkins 444 Jun 6 14:38 README.md 14:40:22 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 14:34 VERSION 14:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 14:38 bin 14:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 14:38 cmd 14:40:22 -rw-r--r-- 1 jenkins jenkins 18214 Jun 6 14:40 coverage.out 14:40:22 -rw-r--r-- 1 jenkins jenkins 510 Jun 6 14:40 go.mod 14:40:22 -rw-r--r-- 1 jenkins jenkins 13621 Jun 6 14:40 go.sum 14:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 14:38 internal 14:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 14:38 mock 14:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 14:38 snap 14:40:22 -rw-rw-r-- 1 jenkins jenkins 227 Jun 6 14:38 version.go [Pipeline] isUnix [Pipeline] sh 14:40:22 + 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=c418d371bc54cc5a2f15a6864e3b1205028dfdad --label arch=arm64 --label version=0.0.0 . 14:40:22 Sending build context to Docker daemon 590.8kB 14:40:22 Step 1/21 : ARG BASE=golang:1.13-alpine 14:40:22 Step 2/21 : FROM ${BASE} AS builder 14:40:22 ---> a54de6d61d1f 14:40:22 Step 3/21 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:40:23 ---> Running in 8d11bc6b353e 14:40:23 Removing intermediate container 8d11bc6b353e 14:40:23 ---> 4ed6ff816b10 14:40:23 Step 4/21 : ARG ALPINE_PKG_EXTRA="" 14:40:23 ---> Running in 731e09c9a324 14:40:24 Removing intermediate container 731e09c9a324 14:40:24 ---> 94a1f7f5e6e3 14:40:24 Step 5/21 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:40:24 ---> Running in 78f03574ce58 14:40:26 Removing intermediate container 78f03574ce58 14:40:26 ---> 0b33d3ef4594 14:40:26 Step 6/21 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:40:26 ---> Running in 3ec18e9fd2fe 14:40:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:40:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:40:29 OK: 203 MiB in 52 packages 14:40:30 Removing intermediate container 3ec18e9fd2fe 14:40:30 ---> d8bd2fb83caa 14:40:30 Step 7/21 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 14:40:30 ---> Running in cc18b2d9d4fe 14:40:31 Removing intermediate container cc18b2d9d4fe 14:40:31 ---> 1aad0e277244 14:40:31 Step 8/21 : COPY . . 14:40:32 ---> b57e88cecebb 14:40:32 Step 9/21 : ARG MAKE='make build' 14:40:32 ---> Running in 9ad1bcb2ab26 14:40:32 Removing intermediate container 9ad1bcb2ab26 14:40:32 ---> 6ce84a7c92a9 14:40:32 Step 10/21 : RUN $MAKE 14:40:33 ---> Running in f7b1c60f4222 14:40:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:41:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:41:09 Removing intermediate container f7b1c60f4222 14:41:09 ---> 61a59afc242b 14:41:09 Step 11/21 : FROM alpine 14:41:09 latest: Pulling from library/alpine 14:41:09 b538f80385f9: Pulling fs layer 14:41:10 b538f80385f9: Verifying Checksum 14:41:10 b538f80385f9: Download complete 14:41:10 b538f80385f9: Pull complete 14:41:10 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 14:41:10 Status: Downloaded newer image for alpine:latest 14:41:10 ---> 62ee0e9f8440 14:41:10 Step 12/21 : ENV APP_PORT=49982 14:41:11 ---> Running in 7aa122026976 14:41:11 Removing intermediate container 7aa122026976 14:41:11 ---> c8db25c3d63a 14:41:11 Step 13/21 : EXPOSE $APP_PORT 14:41:11 ---> Running in 3e9344db2e66 14:41:11 Removing intermediate container 3e9344db2e66 14:41:11 ---> 3b834a9a5314 14:41:11 Step 14/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 14:41:13 ---> bc6d7883fccd 14:41:13 Step 15/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 14:41:14 ---> 75d9c5861ae9 14:41:14 Step 16/21 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 14:41:15 ---> f55b5a22bc9c 14:41:15 Step 17/21 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 14:41:15 ---> Running in 7c3939ab5905 14:41:15 Removing intermediate container 7c3939ab5905 14:41:15 ---> 8ad6b283ee09 14:41:15 Step 18/21 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 14:41:15 ---> Running in f3e5c85c45ec 14:41:15 Removing intermediate container f3e5c85c45ec 14:41:15 ---> a31f5a257726 14:41:15 Step 19/21 : LABEL arch=arm64 14:41:16 ---> Running in 49ca5fe2478b 14:41:16 Removing intermediate container 49ca5fe2478b 14:41:16 ---> 9e91d844a151 14:41:16 Step 20/21 : LABEL git_sha=c418d371bc54cc5a2f15a6864e3b1205028dfdad 14:41:16 ---> Running in c73343d2c28a 14:41:16 Removing intermediate container c73343d2c28a 14:41:16 ---> 2c7dba4f41cc 14:41:16 Step 21/21 : LABEL version=0.0.0 14:41:17 ---> Running in f3d4918bcf3a 14:41:17 Removing intermediate container f3d4918bcf3a 14:41:17 ---> 0d38e2fee227 14:41:17 [Warning] One or more build-args [ARCH] were not consumed 14:41:17 Successfully built 0d38e2fee227 14:41:17 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 14:41:18 + find+ /w/workspace/device-mqtt-go/2 14:41:18 grep snapcraft.yaml 14:41:18 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:41:18 provisioning config files... 14:41:18 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config785581269396028727tmp [Pipeline] { [Pipeline] sh 14:41:18 + cp /w/workspace/device-mqtt-go/2@tmp/config785581269396028727tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 14:41:19 + 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 14:41:19 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 14:41:19 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 14:41:19 b2f61026a351: Pulling fs layer 14:41:19 5538fb30c42c: Pulling fs layer 14:41:19 f0b05810781a: Pulling fs layer 14:41:19 0180a33352d6: Pulling fs layer 14:41:19 e7604b0c0f53: Pulling fs layer 14:41:19 db689cb83ae0: Pulling fs layer 14:41:19 6138af208834: Pulling fs layer 14:41:19 007c8e8c5d63: Pulling fs layer 14:41:19 4f7a387c642f: Pulling fs layer 14:41:19 0180a33352d6: Waiting 14:41:19 e7604b0c0f53: Waiting 14:41:19 db689cb83ae0: Waiting 14:41:19 6138af208834: Waiting 14:41:19 007c8e8c5d63: Waiting 14:41:19 4f7a387c642f: Waiting 14:41:19 f0b05810781a: Verifying Checksum 14:41:19 f0b05810781a: Download complete 14:41:19 5538fb30c42c: Verifying Checksum 14:41:19 5538fb30c42c: Download complete 14:41:19 0180a33352d6: Verifying Checksum 14:41:19 db689cb83ae0: Verifying Checksum 14:41:19 db689cb83ae0: Download complete 14:41:19 6138af208834: Verifying Checksum 14:41:19 6138af208834: Download complete 14:41:19 007c8e8c5d63: Download complete 14:41:19 4f7a387c642f: Verifying Checksum 14:41:19 4f7a387c642f: Download complete 14:41:19 b2f61026a351: Download complete 14:41:23 b2f61026a351: Pull complete 14:41:23 5538fb30c42c: Pull complete 14:41:23 f0b05810781a: Pull complete 14:41:23 0180a33352d6: Pull complete 14:41:26 e7604b0c0f53: Verifying Checksum 14:41:26 e7604b0c0f53: Download complete 14:41:58 e7604b0c0f53: Pull complete 14:41:58 db689cb83ae0: Pull complete 14:41:58 6138af208834: Pull complete 14:41:58 007c8e8c5d63: Pull complete 14:41:58 4f7a387c642f: Pull complete 14:41:58 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 14:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 14:42:05 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 14:42:05 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 14:42:05 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 14:42:05 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 14:42:06 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 14:42:06 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 14:42:06 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [869 kB] 14:42:06 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1231 kB] 14:42:06 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 14:42:06 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 14:42:06 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [594 kB] 14:42:06 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [754 kB] 14:42:07 Fetched 3720 kB in 2s (1532 kB/s) 14:42:11 Reading package lists... 14:42:23 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 14:42:28 Reading package lists... 14:42:29 Building dependency tree... 14:42:29 Reading state information... 14:42:30 The following packages were automatically installed and are no longer required: 14:42:30 libjq1 liblzo2-2 libonig4 14:42:30 Use 'sudo apt autoremove' to remove them. 14:42:30 Suggested packages: 14:42:30 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 14:42:30 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 14:42:30 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 14:42:30 libterm-readline-gnu-perl | libterm-readline-perl-perl 14:42:30 The following NEW packages will be installed: 14:42:30 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 14:42:30 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 14:42:30 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 14:42:30 openssh-client patch perl perl-modules-5.26 xauth 14:42:30 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 14:42:30 Need to get 12.9 MB of archives. 14:42:30 After this operation, 84.2 MB of additional disk space will be used. 14:42:30 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 14:42:30 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 14:42:30 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 14:42:30 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 14:42:31 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 14:42:31 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 14:42:31 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 14:42:31 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 14:42:31 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 14:42:31 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 14:42:31 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 14:42:32 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 14:42:32 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 14:42:32 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 14:42:32 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 14:42:32 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 14:42:32 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 14:42:32 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 14:42:32 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 14:42:32 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 14:42:32 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 14:42:32 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 14:42:32 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 14:42:32 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 14:42:32 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 14:42:32 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 14:42:32 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 14:42:33 debconf: delaying package configuration, since apt-utils is not installed 14:42:33 Fetched 12.9 MB in 2s (5568 kB/s) 14:42:33 Selecting previously unselected package libxau6:arm64. 14:42:33 (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.) 14:42:33 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 14:42:33 Unpacking libxau6:arm64 (1:1.0.8-1) ... 14:42:33 Selecting previously unselected package libbsd0:arm64. 14:42:33 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 14:42:33 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 14:42:33 Selecting previously unselected package libxdmcp6:arm64. 14:42:33 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 14:42:33 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 14:42:33 Selecting previously unselected package libxcb1:arm64. 14:42:33 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 14:42:33 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 14:42:34 Selecting previously unselected package libx11-data. 14:42:34 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 14:42:34 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 14:42:34 Selecting previously unselected package libx11-6:arm64. 14:42:34 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 14:42:34 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 14:42:34 Selecting previously unselected package libxext6:arm64. 14:42:34 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 14:42:34 Unpacking libxext6:arm64 (2:1.3.3-1) ... 14:42:34 Selecting previously unselected package perl-modules-5.26. 14:42:34 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 14:42:34 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 14:42:36 Selecting previously unselected package libgdbm5:arm64. 14:42:36 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 14:42:36 Unpacking libgdbm5:arm64 (1.14.1-6) ... 14:42:36 Selecting previously unselected package libgdbm-compat4:arm64. 14:42:36 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 14:42:36 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 14:42:36 Selecting previously unselected package libperl5.26:arm64. 14:42:36 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 14:42:36 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 14:42:38 Selecting previously unselected package perl. 14:42:38 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 14:42:38 Unpacking perl (5.26.1-6ubuntu0.3) ... 14:42:38 Selecting previously unselected package less. 14:42:38 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 14:42:38 Unpacking less (487-0.1) ... 14:42:38 Selecting previously unselected package libexpat1:arm64. 14:42:38 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 14:42:38 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 14:42:38 Selecting previously unselected package netbase. 14:42:38 Preparing to unpack .../14-netbase_5.4_all.deb ... 14:42:38 Unpacking netbase (5.4) ... 14:42:38 Selecting previously unselected package libedit2:arm64. 14:42:38 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 14:42:38 Unpacking libedit2:arm64 (3.1-20170329-1) ... 14:42:38 Selecting previously unselected package libssl1.0.0:arm64. 14:42:38 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 14:42:38 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 14:42:38 Selecting previously unselected package libxmuu1:arm64. 14:42:38 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 14:42:39 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 14:42:39 Selecting previously unselected package openssh-client. 14:42:39 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 14:42:39 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 14:42:39 Selecting previously unselected package xauth. 14:42:39 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 14:42:39 Unpacking xauth (1:1.0.10-1) ... 14:42:39 Selecting previously unselected package curl. 14:42:39 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 14:42:39 Unpacking curl (7.58.0-2ubuntu3.8) ... 14:42:39 Selecting previously unselected package libcurl3-gnutls:arm64. 14:42:39 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 14:42:39 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 14:42:39 Selecting previously unselected package liberror-perl. 14:42:39 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 14:42:39 Unpacking liberror-perl (0.17025-1) ... 14:42:40 Selecting previously unselected package git-man. 14:42:40 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 14:42:40 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 14:42:40 Selecting previously unselected package git. 14:42:40 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 14:42:40 Unpacking git (1:2.17.1-1ubuntu0.7) ... 14:42:41 Selecting previously unselected package make. 14:42:41 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 14:42:41 Unpacking make (4.1-9.1ubuntu1) ... 14:42:41 Selecting previously unselected package patch. 14:42:41 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 14:42:41 Unpacking patch (2.7.6-2ubuntu1.1) ... 14:42:41 Setting up libedit2:arm64 (3.1-20170329-1) ... 14:42:42 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 14:42:42 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 14:42:42 Setting up less (487-0.1) ... 14:42:42 Setting up make (4.1-9.1ubuntu1) ... 14:42:42 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 14:42:42 Setting up curl (7.58.0-2ubuntu3.8) ... 14:42:42 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 14:42:42 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 14:42:42 Setting up libgdbm5:arm64 (1.14.1-6) ... 14:42:43 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 14:42:43 Setting up patch (2.7.6-2ubuntu1.1) ... 14:42:43 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 14:42:43 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 14:42:43 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 14:42:43 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 14:42:43 Setting up libxau6:arm64 (1:1.0.8-1) ... 14:42:43 Setting up netbase (5.4) ... 14:42:44 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 14:42:44 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 14:42:44 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 14:42:44 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 14:42:44 Setting up perl (5.26.1-6ubuntu0.3) ... 14:42:44 Setting up libxext6:arm64 (2:1.3.3-1) ... 14:42:44 Setting up liberror-perl (0.17025-1) ... 14:42:44 Setting up xauth (1:1.0.10-1) ... 14:42:44 Setting up git (1:2.17.1-1ubuntu0.7) ... 14:42:44 Processing triggers for libc-bin (2.27-3ubuntu1) ... 14:42:51 curl set to automatically installed. 14:42:51 git set to automatically installed. 14:42:51 git-man set to automatically installed. 14:42:51 less set to automatically installed. 14:42:51 libbsd0 set to automatically installed. 14:42:51 libcurl3-gnutls set to automatically installed. 14:42:51 libedit2 set to automatically installed. 14:42:51 liberror-perl set to automatically installed. 14:42:51 libexpat1 set to automatically installed. 14:42:51 libgdbm-compat4 set to automatically installed. 14:42:51 libgdbm5 set to automatically installed. 14:42:51 libperl5.26 set to automatically installed. 14:42:51 libssl1.0.0 set to automatically installed. 14:42:51 libx11-6 set to automatically installed. 14:42:51 libx11-data set to automatically installed. 14:42:51 libxau6 set to automatically installed. 14:42:51 libxcb1 set to automatically installed. 14:42:51 libxdmcp6 set to automatically installed. 14:42:51 libxext6 set to automatically installed. 14:42:51 libxmuu1 set to automatically installed. 14:42:51 make set to automatically installed. 14:42:51 netbase set to automatically installed. 14:42:51 openssh-client set to automatically installed. 14:42:51 patch set to automatically installed. 14:42:51 perl set to automatically installed. 14:42:51 perl-modules-5.26 set to automatically installed. 14:42:51 xauth set to automatically installed. 14:42:51 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 14:42:51 Please ensure the environment is properly setup before continuing. 14:42:51 Ignore this message if the appropriate measures have already been taken 14:42:51 Pulling go 14:42:54 'device-mqtt' has dependencies that need to be staged: go 14:42:54 Skipping pull go (already ran) 14:42:54 Building go 14:42:54 % Total % Received % Xferd Average Speed Time Time Time Current 14:42:54 Dload Upload Total Spent Left Speed 14:42:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 31 93.0M 31 29.7M 0 0 39.6M 0 0:00:02 --:--:-- 0:00:02 39.5M 83 93.0M 83 77.8M 0 0 44.1M 0 0:00:02 0:00:01 0:00:01 44.1M 100 93.0M 100 93.0M 0 0 44.8M 0 0:00:02 0:00:02 --:--:-- 44.8M 14:42:58 go1.13.5.linux-arm64.tar.gz: OK 14:43:16 Staging go 14:43:17 Pulling device-mqtt 14:43:21 Skipping build go (already ran) 14:43:21 Building device-mqtt 14:43:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:43:23 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 14:43:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 14:43:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:43:23 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:43:23 go: downloading github.com/spf13/cast v1.3.0 14:43:23 go: extracting github.com/spf13/cast v1.3.0 14:43:23 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 14:43:23 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 14:43:23 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:43:23 go: downloading github.com/gorilla/mux v1.7.1 14:43:23 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:43:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:43:23 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 14:43:23 go: extracting github.com/gorilla/mux v1.7.1 14:43:23 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:43:23 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:43:23 go: downloading github.com/go-kit/kit v0.8.0 14:43:23 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 14:43:23 go: downloading github.com/OneOfOne/xxhash v1.2.6 14:43:23 go: downloading github.com/pkg/errors v0.8.1 14:43:23 go: downloading github.com/google/uuid v1.1.1 14:43:23 go: downloading github.com/pelletier/go-toml v1.2.0 14:43:23 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:23 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:23 go: downloading gopkg.in/yaml.v2 v2.2.8 14:43:23 go: extracting github.com/pkg/errors v0.8.1 14:43:23 go: extracting github.com/google/uuid v1.1.1 14:43:23 go: downloading github.com/hashicorp/consul/api v1.1.0 14:43:23 go: extracting github.com/OneOfOne/xxhash v1.2.6 14:43:23 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:23 go: extracting gopkg.in/yaml.v2 v2.2.8 14:43:23 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:23 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 14:43:23 go: downloading github.com/BurntSushi/toml v0.3.1 14:43:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:23 go: extracting github.com/pelletier/go-toml v1.2.0 14:43:23 go: extracting github.com/go-kit/kit v0.8.0 14:43:24 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:24 go: downloading github.com/mitchellh/copystructure v1.0.0 14:43:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 14:43:24 go: downloading github.com/mitchellh/mapstructure v1.1.2 14:43:24 go: extracting github.com/BurntSushi/toml v0.3.1 14:43:24 go: extracting github.com/hashicorp/consul/api v1.1.0 14:43:24 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 14:43:24 go: downloading github.com/hashicorp/serf v0.8.2 14:43:24 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 14:43:24 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 14:43:24 go: downloading github.com/x448/float16 v0.8.4 14:43:24 go: extracting github.com/mitchellh/mapstructure v1.1.2 14:43:24 go: extracting github.com/mitchellh/copystructure v1.0.0 14:43:24 go: downloading github.com/mitchellh/reflectwalk v1.0.0 14:43:24 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 14:43:24 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 14:43:24 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 14:43:24 go: downloading github.com/go-logfmt/logfmt v0.4.0 14:43:24 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:43:24 go: extracting github.com/x448/float16 v0.8.4 14:43:24 go: extracting github.com/mitchellh/reflectwalk v1.0.0 14:43:24 go: extracting github.com/go-logfmt/logfmt v0.4.0 14:43:24 go: extracting github.com/hashicorp/serf v0.8.2 14:43:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:24 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 14:43:24 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 14:43:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 14:43:24 go: extracting github.com/hashicorp/golang-lru v0.5.0 14:43:24 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 14:43:24 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:43:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 14:43:24 go: finding github.com/spf13/cast v1.3.0 14:43:24 go: finding github.com/gorilla/mux v1.7.1 14:43:24 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:43:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 14:43:24 go: finding github.com/OneOfOne/xxhash v1.2.6 14:43:24 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:43:24 go: finding github.com/go-kit/kit v0.8.0 14:43:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 14:43:25 go: finding github.com/google/uuid v1.1.1 14:43:25 go: finding github.com/x448/float16 v0.8.4 14:43:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 14:43:25 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 14:43:25 go: finding gopkg.in/yaml.v2 v2.2.8 14:43:25 go: finding github.com/BurntSushi/toml v0.3.1 14:43:25 go: finding github.com/pkg/errors v0.8.1 14:43:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 14:43:25 go: finding github.com/hashicorp/consul/api v1.1.0 14:43:25 go: finding github.com/pelletier/go-toml v1.2.0 14:43:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 14:43:25 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:25 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 14:43:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:26 go: finding github.com/hashicorp/serf v0.8.2 14:43:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:26 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:44:13 Skipping stage go (already ran) 14:44:13 Staging device-mqtt 14:44:15 Priming go 14:44:17 Priming device-mqtt 14:44:21 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 14:44:21 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 14:44:21 Determining the version from the project repo (version-script). 14:44:21 The version has been set to '0.0.0-20200606+c418d37' 14:44:21 Snapping 'edgex-device-mqtt' ... 14:44:24 14:44:24 Snapped edgex-device-mqtt_0.0.0-20200606+c418d37_arm64.snap [Pipeline] } 14:44:26 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 14:44:27 provisioning config files... 14:44:27 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/config7938163571351677685tmp [Pipeline] { [Pipeline] sh 14:44:27 + curl -s https://codecov.io/bash 14:44:27 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/config7938163571351677685tmp 14:44:27 14:44:27 _____ _ 14:44:27 / ____| | | 14:44:27 | | ___ __| | ___ ___ _____ __ 14:44:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:44:27 | |___| (_) | (_| | __/ (_| (_) \ V / 14:44:27 \_____\___/ \__,_|\___|\___\___/ \_/ 14:44:27 Bash-20200602-f809a24 14:44:27 14:44:27 14:44:27 ==> Jenkins CI detected. 14:44:27 project root: . 14:44:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:44:27 ==> Running gcov in . (disable via -X gcov) 14:44:27 ==> Python coveragepy not found 14:44:27 ==> Searching for coverage reports in: 14:44:27 + . 14:44:27 -> Found 1 reports 14:44:27 ==> Detecting git/mercurial file structure 14:44:27 ==> Reading reports 14:44:27 + ./coverage.out bytes=18214 14:44:27 ==> Appending adjustments 14:44:27 https://docs.codecov.io/docs/fixing-reports 14:44:28 + Found adjustments 14:44:28 ==> Gzipping contents 14:44:28 ==> Uploading reports 14:44:28 url: https://codecov.io 14:44:28 query: branch=PR-150&commit=c418d371bc54cc5a2f15a6864e3b1205028dfdad&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-150%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=150&job= 14:44:28 -> Pinging Codecov 14:44:28 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-150&commit=c418d371bc54cc5a2f15a6864e3b1205028dfdad&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-150%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=150&job= 14:44:28 -> Uploading 14:44:29 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c418d371bc54cc5a2f15a6864e3b1205028dfdad [Pipeline] } 14:44:29 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 14:44:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:44:30 ---> package-listing.sh 14:44:30 ++ facter osfamily 14:44:30 ++ tr '[:upper:]' '[:lower:]' 14:44:30 + OS_FAMILY=redhat 14:44:30 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-150 14:44:30 + START_PACKAGES=/tmp/packages_start.txt 14:44:30 + END_PACKAGES=/tmp/packages_end.txt 14:44:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:44:30 + PACKAGES=/tmp/packages_start.txt 14:44:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-150 ']' 14:44:30 + PACKAGES=/tmp/packages_end.txt 14:44:30 + case "${OS_FAMILY}" in 14:44:30 + rpm -qa 14:44:30 + sort 14:44:34 + '[' -f /tmp/packages_start.txt ']' 14:44:34 + '[' -f /tmp/packages_end.txt ']' 14:44:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:44:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-150 ']' 14:44:34 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-150/archives/ 14:44:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-150/archives/ [Pipeline] isUnix [Pipeline] sh 14:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:44:35 14:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:44:35 alpine: Pulling from edgex-lftools-log-publisher 14:44:35 c9b1b535fdd9: Pulling fs layer 14:44:35 2cc5ad85d9ab: Pulling fs layer 14:44:35 756a868c4378: Pulling fs layer 14:44:35 444b2fc9a129: Pulling fs layer 14:44:35 ea15f1150254: Pulling fs layer 14:44:35 41b27a9f41bf: Pulling fs layer 14:44:35 28c525ee5125: Pulling fs layer 14:44:35 094b1ea09ed8: Pulling fs layer 14:44:35 138eaada9080: Pulling fs layer 14:44:35 0622d0fa9048: Pulling fs layer 14:44:35 41b27a9f41bf: Waiting 14:44:35 28c525ee5125: Waiting 14:44:35 094b1ea09ed8: Waiting 14:44:35 138eaada9080: Waiting 14:44:35 0622d0fa9048: Waiting 14:44:35 444b2fc9a129: Waiting 14:44:35 ea15f1150254: Waiting 14:44:35 2cc5ad85d9ab: Download complete 14:44:35 444b2fc9a129: Verifying Checksum 14:44:35 444b2fc9a129: Download complete 14:44:35 c9b1b535fdd9: Verifying Checksum 14:44:35 c9b1b535fdd9: Download complete 14:44:35 ea15f1150254: Verifying Checksum 14:44:35 ea15f1150254: Download complete 14:44:35 28c525ee5125: Verifying Checksum 14:44:35 28c525ee5125: Download complete 14:44:36 c9b1b535fdd9: Pull complete 14:44:36 756a868c4378: Verifying Checksum 14:44:36 756a868c4378: Download complete 14:44:36 138eaada9080: Verifying Checksum 14:44:36 138eaada9080: Download complete 14:44:36 2cc5ad85d9ab: Pull complete 14:44:36 0622d0fa9048: Verifying Checksum 14:44:36 0622d0fa9048: Download complete 14:44:36 094b1ea09ed8: Verifying Checksum 14:44:36 094b1ea09ed8: Download complete 14:44:37 41b27a9f41bf: Verifying Checksum 14:44:37 41b27a9f41bf: Download complete 14:44:37 756a868c4378: Pull complete 14:44:37 444b2fc9a129: Pull complete 14:44:38 ea15f1150254: Pull complete 14:44:42 41b27a9f41bf: Pull complete 14:44:42 28c525ee5125: Pull complete 14:44:45 094b1ea09ed8: Pull complete 14:44:45 138eaada9080: Pull complete 14:44:45 0622d0fa9048: Pull complete 14:44:45 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:44:45 prd-centos7-docker-4c-2g-2092 does not seem to be running inside a container 14:44:45 $ 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-150 -v /w/workspace/gexfoundry_device-mqtt-go_PR-150:/w/workspace/gexfoundry_device-mqtt-go_PR-150:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-150@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 14:44:49 $ docker top e9e11c702bfb76607af1a7aa150321a2f9470fb840435ea639525d46e4a18635 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:50 provisioning config files... 14:44:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-150@tmp/config9172289934366458382tmp [Pipeline] { [Pipeline] echo 14:44:50 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:44:50 ---> create-netrc.sh [Pipeline] echo 14:44:50 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:44:50 ---> logs-deploy.sh 14:44:50 + ARCHIVE_ARTIFACTS= 14:44:50 + LOGS_SERVER=https://logs.edgexfoundry.org 14:44:50 + '[' https://logs.edgexfoundry.org == None ']' 14:44:50 + NEXUS_URL=https://nexus.edgexfoundry.org 14:44:50 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-150/2 14:44:50 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-150/2/ 14:44:50 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-150/2 /w/workspace/gexfoundry_device-mqtt-go_PR-150 14:44:52 Archives upload complete. 14:44:52 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-150/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-150/2/