Pull request #142 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 ernestojeda for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 75220f284ea9c4be94f866358096522b2c71b1ed+2d3628426a4c09a0428b2c94309d7de718300937 (7b0172b91272de7f925bba32bacfd6d50435f046) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5415 in /w/workspace/gexfoundry_device-mqtt-go_PR-142 [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-142 # 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 Fetching without tags Merging remotes/origin/master commit 2d3628426a4c09a0428b2c94309d7de718300937 into PR head commit 75220f284ea9c4be94f866358096522b2c71b1ed Merge succeeded, producing 75220f284ea9c4be94f866358096522b2c71b1ed Checking out Revision 75220f284ea9c4be94f866358096522b2c71b1ed (PR-142) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # 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/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # 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 2d3628426a4c09a0428b2c94309d7de718300937 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # timeout=10 Commit message: "add buildSnap option" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:00 ========================================================= 20:34:00 EdgeX Global Pipelines Version Info 20:34:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ad19b98015479abf72daa07cf0200ba5cc603186 # timeout=10 20:34:01 ------------------- 20:34:01 stable info: 20:34:01 ------------------- 20:34:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:01 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 20:34:01 Message: update stable to v1.0.73 20:34:01 ------------------- 20:34:01 experimental info: 20:34:01 ------------------- 20:34:01 Commited By: **** collab-it+edgex@linuxfoundation.org 20:34:01 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 20:34:01 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 20:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:04 20:34:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:34:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:04 latest: Pulling from edgex-devops/git-semver 20:34:04 9123ac7c32f7: Pulling fs layer 20:34:04 b8cc5d1170e3: Pulling fs layer 20:34:04 2924cbbf6a41: Pulling fs layer 20:34:04 93b08a4f1073: Pulling fs layer 20:34:04 93b08a4f1073: Waiting 20:34:04 b8cc5d1170e3: Verifying Checksum 20:34:04 b8cc5d1170e3: Download complete 20:34:04 9123ac7c32f7: Verifying Checksum 20:34:04 9123ac7c32f7: Download complete 20:34:04 93b08a4f1073: Verifying Checksum 20:34:04 93b08a4f1073: Download complete 20:34:04 2924cbbf6a41: Verifying Checksum 20:34:04 2924cbbf6a41: Download complete 20:34:04 9123ac7c32f7: Pull complete 20:34:04 b8cc5d1170e3: Pull complete 20:34:05 2924cbbf6a41: Pull complete 20:34:05 93b08a4f1073: Pull complete 20:34:05 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:34:06 prd-centos7-docker-4c-2g-5415 does not seem to be running inside a container 20:34:06 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-142 -v /w/workspace/gexfoundry_device-mqtt-go_PR-142:/w/workspace/gexfoundry_device-mqtt-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:34:06 $ docker top 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:06 [ssh-agent] Looking for ssh-agent implementation... 20:34:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:07 $ docker exec 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 ssh-agent 20:34:07 SSH_AUTH_SOCK=/tmp/ssh-ceQqE4xAdG5S/agent.15 20:34:07 SSH_AGENT_PID=22 20:34:07 Running ssh-add (command line suppressed) 20:34:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/private_key_6067480524179417311.key (/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/private_key_6067480524179417311.key) 20:34:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:07 + git describe --exact-match --tags HEAD 20:34:07 fatal: No names found, cannot describe anything. [Pipeline] } 20:34:07 $ docker exec --env ******** --env ******** 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 ssh-agent -k 20:34:08 unset SSH_AUTH_SOCK; 20:34:08 unset SSH_AGENT_PID; 20:34:08 echo Agent pid 22 killed; 20:34:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:34:08 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:34:08 This usually means this commit has not been tagged. [Pipeline] sshagent 20:34:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:08 [ssh-agent] Looking for ssh-agent implementation... 20:34:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:08 $ docker exec 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 ssh-agent 20:34:08 SSH_AUTH_SOCK=/tmp/ssh-FFuXU2UJ75DM/agent.57 20:34:08 SSH_AGENT_PID=64 20:34:08 Running ssh-add (command line suppressed) 20:34:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/private_key_5612953905189546121.key (/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/private_key_5612953905189546121.key) 20:34:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:09 + git semver init 20:34:09 # -> Open(): unable to determine branch for HEAD 20:34:09 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-142/.git 20:34:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-142 20:34:09 # $SEMVER_REMOTE_NAME = origin 20:34:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:34:09 # $SEMVER_USER_NAME = edgex-jenkins 20:34:09 # $SEMVER_BRANCH = PR-142 20:34:09 # $SEMVER_TEMP = /tmp/semver-289699572 20:34:09 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:34:09 # '/tmp/semver-289699572' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-142/.semver' 20:34:09 # -> Force: false 20:34:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-142/.semver [Pipeline] } 20:34:09 $ docker exec --env ******** --env ******** 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 ssh-agent -k 20:34:09 unset SSH_AUTH_SOCK; 20:34:09 unset SSH_AGENT_PID; 20:34:09 echo Agent pid 64 killed; 20:34:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:10 + git semver [Pipeline] } 20:34:10 $ docker stop --time=1 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 20:34:11 $ docker rm -f 7646401119a3946ec2785ca67321ffc27e3a19d84fecb174cef7167a47960ca1 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:34:12 Stashed 22 file(s) [Pipeline] echo 20:34:12 [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 20:34:27 Still waiting to schedule task 20:34:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:34:27 Still waiting to schedule task 20:34:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:35:45 Running on prd-centos7-docker-4c-2g-5417 in /w/workspace/gexfoundry_device-mqtt-go_PR-142 [Pipeline] { [Pipeline] ws 20:35:45 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 20:35:48 using credential edgex-jenkins-ssh 20:35:48 Cloning the remote Git repository 20:35:48 Cloning with configured refspecs honoured and without tags 20:35:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:35:48 > git init /w/workspace/device-mqtt-go/2 # timeout=10 20:35:48 Fetching without tags 20:35:49 Merging remotes/origin/master commit 2d3628426a4c09a0428b2c94309d7de718300937 into PR head commit 75220f284ea9c4be94f866358096522b2c71b1ed 20:35:49 Merge succeeded, producing 75220f284ea9c4be94f866358096522b2c71b1ed 20:35:49 Checking out Revision 75220f284ea9c4be94f866358096522b2c71b1ed (PR-142) 20:35:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:35:48 > git --version # timeout=10 20:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:35:48 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # timeout=10 20:35:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:35:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:35:49 > git config core.sparsecheckout # timeout=10 20:35:49 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # timeout=10 20:35:49 > git remote # timeout=10 20:35:49 > git config --get remote.origin.url # timeout=10 20:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:49 > git merge 2d3628426a4c09a0428b2c94309d7de718300937 # timeout=10 20:35:49 > git rev-parse HEAD^{commit} # timeout=10 20:35:49 > git config core.sparsecheckout # timeout=10 20:35:49 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # timeout=10 20:35:53 Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:35:54 ========================================================= 20:35:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:35:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:35:55 + 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 . 20:35:55 Sending build context to Docker daemon 560.1kB 20:35:55 Step 1/8 : ARG BASE=golang:1.13-alpine 20:35:55 Step 2/8 : FROM ${BASE} 20:35:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:35:55 e6b0cf9c0882: Pulling fs layer 20:35:55 2848faf0eed1: Pulling fs layer 20:35:55 0f37312ad70f: Pulling fs layer 20:35:55 5788d62ee057: Pulling fs layer 20:35:55 0e6b1d234666: Pulling fs layer 20:35:55 bf5d7aec512f: Pulling fs layer 20:35:55 34c802a77dc8: Pulling fs layer 20:35:55 9eb99e56ec68: Pulling fs layer 20:35:55 27c7a5d97fbd: Pulling fs layer 20:35:55 5c102a31e300: Pulling fs layer 20:35:55 dcfb455df0a1: Pulling fs layer 20:35:55 34c802a77dc8: Waiting 20:35:55 9eb99e56ec68: Waiting 20:35:55 27c7a5d97fbd: Waiting 20:35:55 dcfb455df0a1: Waiting 20:35:55 5788d62ee057: Waiting 20:35:55 0e6b1d234666: Waiting 20:35:55 0f37312ad70f: Download complete 20:35:55 2848faf0eed1: Verifying Checksum 20:35:55 2848faf0eed1: Download complete 20:35:55 0e6b1d234666: Verifying Checksum 20:35:55 0e6b1d234666: Download complete 20:35:55 bf5d7aec512f: Verifying Checksum 20:35:55 bf5d7aec512f: Download complete 20:35:55 e6b0cf9c0882: Download complete 20:35:55 e6b0cf9c0882: Pull complete 20:35:55 2848faf0eed1: Pull complete 20:35:56 0f37312ad70f: Pull complete 20:35:56 34c802a77dc8: Verifying Checksum 20:35:56 34c802a77dc8: Download complete 20:35:56 27c7a5d97fbd: Verifying Checksum 20:35:56 27c7a5d97fbd: Download complete 20:35:56 5c102a31e300: Verifying Checksum 20:35:56 5c102a31e300: Download complete 20:35:56 dcfb455df0a1: Verifying Checksum 20:35:56 dcfb455df0a1: Download complete 20:35:57 5788d62ee057: Verifying Checksum 20:35:57 5788d62ee057: Download complete 20:35:57 9eb99e56ec68: Verifying Checksum 20:35:57 9eb99e56ec68: Download complete 20:36:03 5788d62ee057: Pull complete 20:36:03 0e6b1d234666: Pull complete 20:36:03 bf5d7aec512f: Pull complete 20:36:07 34c802a77dc8: Pull complete 20:36:10 9eb99e56ec68: Pull complete 20:36:10 27c7a5d97fbd: Pull complete 20:36:11 5c102a31e300: Pull complete 20:36:11 dcfb455df0a1: Pull complete 20:36:11 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:36:11 ---> 7c70fe431013 20:36:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:36:11 ---> Running in c3e8d759ab2c 20:36:11 Removing intermediate container c3e8d759ab2c 20:36:11 ---> 00ec2c3c5677 20:36:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:11 ---> Running in 064976b3632a 20:36:12 Removing intermediate container 064976b3632a 20:36:12 ---> 6d96971df0c9 20:36:12 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:36:12 ---> Running in 8870bfb4e34e 20:36:13 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:36:14 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:36:14 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:36:14 (2/17) Installing libmagic (5.37-r1) 20:36:14 (3/17) Installing file (5.37-r1) 20:36:14 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:36:14 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:36:15 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:36:19 (7/17) Installing libc-dev (0.7.2-r0) 20:36:19 (8/17) Installing g++ (9.2.0-r4) 20:36:20 (9/17) Installing fortify-headers (1.1-r0) 20:36:20 (10/17) Installing build-base (0.5-r1) 20:36:20 (11/17) Installing openssh-keygen (8.1_p1-r0) 20:36:21 (12/17) Installing libedit (20191211.3.1-r0) 20:36:21 (13/17) Installing openssh-client (8.1_p1-r0) 20:36:21 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 20:36:21 (15/17) Installing openssh-server-common (8.1_p1-r0) 20:36:21 (16/17) Installing openssh-server (8.1_p1-r0) 20:36:21 (17/17) Installing openssh (8.1_p1-r0) 20:36:21 Executing busybox-1.31.1-r8.trigger 20:36:21 OK: 214 MiB in 52 packages 20:36:25 Removing intermediate container 8870bfb4e34e 20:36:25 ---> c8c92db8e434 20:36:25 Step 6/8 : WORKDIR /device-mqtt-go 20:36:25 ---> Running in 8e860e3e1416 20:36:25 Removing intermediate container 8e860e3e1416 20:36:25 ---> 0f5efd1d238a 20:36:25 Step 7/8 : COPY . . 20:36:26 ---> 8604c4858fcd 20:36:26 Step 8/8 : RUN go mod download 20:36:26 ---> Running in 37b56c6cf998 20:36:27 go: finding github.com/BurntSushi/toml v0.3.1 20:36:27 go: finding github.com/OneOfOne/xxhash v1.2.6 20:36:27 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:36:27 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:36:27 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:36:27 go: finding github.com/bgentry/speakeasy v0.1.0 20:36:27 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:36:27 go: finding github.com/davecgh/go-spew v1.1.1 20:36:27 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 20:36:27 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:36:27 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:36:27 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:36:27 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:36:27 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:36:27 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:36:27 go: finding github.com/fatih/color v1.7.0 20:36:27 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:36:27 go: finding github.com/go-kit/kit v0.8.0 20:36:27 go: finding github.com/go-logfmt/logfmt v0.4.0 20:36:27 go: finding github.com/go-stack/stack v1.8.0 20:36:27 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:36:27 go: finding github.com/google/uuid v1.1.1 20:36:27 go: finding github.com/gorilla/mux v1.7.1 20:36:27 go: finding github.com/hashicorp/consul/api v1.1.0 20:36:27 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:36:27 go: finding github.com/hashicorp/errwrap v1.0.0 20:36:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:36:27 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:36:27 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:36:27 go: finding github.com/hashicorp/go-multierror v1.0.0 20:36:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:36:27 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:36:27 go: finding github.com/hashicorp/go-syslog v1.0.0 20:36:27 go: finding github.com/hashicorp/go-uuid v1.0.1 20:36:27 go: finding github.com/hashicorp/go.net v0.0.1 20:36:27 go: finding github.com/hashicorp/golang-lru v0.5.0 20:36:27 go: finding github.com/hashicorp/logutils v1.0.0 20:36:27 go: finding github.com/hashicorp/mdns v1.0.0 20:36:27 go: finding github.com/hashicorp/memberlist v0.1.3 20:36:27 go: finding github.com/hashicorp/serf v0.8.2 20:36:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:36:27 go: finding github.com/kr/pretty v0.1.0 20:36:27 go: finding github.com/kr/pty v1.1.1 20:36:27 go: finding github.com/kr/text v0.1.0 20:36:27 go: finding github.com/mattn/go-colorable v0.0.9 20:36:27 go: finding github.com/mattn/go-isatty v0.0.3 20:36:28 go: finding github.com/miekg/dns v1.0.14 20:36:28 go: finding github.com/mitchellh/cli v1.0.0 20:36:28 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:36:28 go: finding github.com/mitchellh/copystructure v1.0.0 20:36:28 go: finding github.com/mitchellh/go-homedir v1.0.0 20:36:28 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:36:28 go: finding github.com/mitchellh/gox v0.4.0 20:36:28 go: finding github.com/mitchellh/iochan v1.0.0 20:36:28 go: finding github.com/mitchellh/mapstructure v1.1.2 20:36:28 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:36:28 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:36:28 go: finding github.com/pelletier/go-toml v1.2.0 20:36:28 go: finding github.com/pkg/errors v0.8.1 20:36:28 go: finding github.com/pmezard/go-difflib v1.0.0 20:36:28 go: finding github.com/posener/complete v1.1.1 20:36:28 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:36:28 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:36:28 go: finding github.com/spf13/cast v1.3.0 20:36:28 go: finding github.com/stretchr/objx v0.1.0 20:36:28 go: finding github.com/stretchr/testify v1.5.1 20:36:28 go: finding github.com/ugorji/go v1.1.4 20:36:28 go: finding github.com/x448/float16 v0.8.4 20:36:28 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:36:28 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:36:28 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:36:28 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:36:28 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 20:36:28 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:36:28 go: finding gopkg.in/yaml.v2 v2.2.8 20:36:31 Removing intermediate container 37b56c6cf998 20:36:31 ---> 724d1d97ee3e 20:36:31 Successfully built 724d1d97ee3e 20:36:31 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 20:36:31 + docker inspect -f . ci-base-image-x86_64 20:36:31 . [Pipeline] withDockerContainer 20:36:32 prd-centos7-docker-4c-2g-5417 does not seem to be running inside a container 20:36:32 $ 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 ******** ci-base-image-x86_64 cat 20:36:32 $ docker top 5f3512ba16e5f9614181fb82acce6b904cf4644d991de8944a7e3ca45ad8303d -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:33 + go version 20:36:33 go version go1.13.5 linux/amd64 [Pipeline] sh 20:36:33 + make test 20:36:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:36:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:36:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:36:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 29.8% of statements 20:36:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:36:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:36:48 gofmt -l . 20:36:48 ["`gofmt -l .`" = ""] 20:36:48 ./bin/test-attribution-txt.sh 20:36:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:36:49 Stashed 1 file(s) [Pipeline] } 20:36:49 $ docker stop --time=1 5f3512ba16e5f9614181fb82acce6b904cf4644d991de8944a7e3ca45ad8303d 20:36:51 $ docker rm -f 5f3512ba16e5f9614181fb82acce6b904cf4644d991de8944a7e3ca45ad8303d 20:36:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5418 in /w/workspace/gexfoundry_device-mqtt-go_PR-142 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws 20:36:52 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:54 + ls -al . 20:36:54 total 92 20:36:54 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 20:36 . 20:36:54 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 20:35 .. 20:36:54 drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 20:35 bin 20:36:54 drwxrwxr-x. 3 jenkins jenkins 55 Apr 21 20:35 cmd 20:36:54 -rw-r--r--. 1 jenkins jenkins 18213 Apr 21 20:36 coverage.out 20:36:54 -rw-rw-r--. 1 jenkins jenkins 1614 Apr 21 20:35 Dockerfile 20:36:54 -rw-rw-r--. 1 jenkins jenkins 953 Apr 21 20:35 Dockerfile.build 20:36:54 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 20:35 .dockerignore 20:36:54 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 20:35 .git 20:36:54 -rw-rw-r--. 1 jenkins jenkins 335 Apr 21 20:35 .gitignore 20:36:54 -rw-r--r--. 1 jenkins jenkins 517 Apr 21 20:36 go.mod 20:36:54 -rw-r--r--. 1 jenkins jenkins 13532 Apr 21 20:36 go.sum 20:36:54 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 20:35 internal 20:36:54 -rw-rw-r--. 1 jenkins jenkins 700 Apr 21 20:35 Jenkinsfile 20:36:54 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 20:35 LICENSE 20:36:54 -rw-rw-r--. 1 jenkins jenkins 902 Apr 21 20:35 Makefile 20:36:54 drwxrwxr-x. 2 jenkins jenkins 23 Apr 21 20:35 mock 20:36:54 -rw-rw-r--. 1 jenkins jenkins 444 Apr 21 20:35 README.md 20:36:54 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 20:35 .semver 20:36:54 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 20:35 snap 20:36:54 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 20:34 VERSION 20:36:54 -rw-rw-r--. 1 jenkins jenkins 227 Apr 21 20:35 version.go [Pipeline] isUnix [Pipeline] sh 20:36:54 + 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=75220f284ea9c4be94f866358096522b2c71b1ed --label arch=amd64 --label version=0.0.0 . 20:36:54 Sending build context to Docker daemon 579.1kB 20:36:54 Step 1/19 : ARG BASE=golang:1.13-alpine 20:36:54 Step 2/19 : FROM ${BASE} AS builder 20:36:54 ---> 724d1d97ee3e 20:36:54 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 20:36:54 ---> Running in d9dbd29c3929 20:36:54 Removing intermediate container d9dbd29c3929 20:36:54 ---> 9c785c585a4c 20:36:54 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 20:36:54 ---> Running in aa97dc9d7848 20:36:54 Removing intermediate container aa97dc9d7848 20:36:54 ---> d4b5c9a8d999 20:36:54 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:36:54 ---> Running in b78ac89e958a 20:36:55 Removing intermediate container b78ac89e958a 20:36:55 ---> 30538fda27f1 20:36:55 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:55 ---> Running in 1e7f426d3acd 20:36:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:36:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:36:56 OK: 214 MiB in 52 packages 20:36:57 Removing intermediate container 1e7f426d3acd 20:36:57 ---> bd9fd7e49892 20:36:57 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 20:36:57 ---> Running in a9c0b39e5ab9 20:36:57 Removing intermediate container a9c0b39e5ab9 20:36:57 ---> 742faadb82e7 20:36:57 Step 8/19 : COPY . . 20:36:57 ---> 4b68082b77d8 20:36:57 Step 9/19 : ARG MAKE='make build' 20:36:57 ---> Running in 790f8769284e 20:36:57 using credential edgex-jenkins-ssh 20:36:57 Cloning the remote Git repository 20:36:57 Cloning with configured refspecs honoured and without tags 20:36:57 Removing intermediate container 790f8769284e 20:36:57 ---> 7b021a472a81 20:36:57 Step 10/19 : RUN $MAKE 20:36:57 ---> Running in 4e988965b8d9 20:36:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 20:36:59 Fetching without tags 20:36:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:36:58 > git init /w/workspace/device-mqtt-go/2 # timeout=10 20:36:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:36:58 > git --version # timeout=10 20:36:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:58 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:36:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:36:58 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # timeout=10 20:36:58 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:36:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:36:59 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:36:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:36:59 Merging remotes/origin/master commit 2d3628426a4c09a0428b2c94309d7de718300937 into PR head commit 75220f284ea9c4be94f866358096522b2c71b1ed 20:36:59 Merge succeeded, producing 75220f284ea9c4be94f866358096522b2c71b1ed 20:36:59 Checking out Revision 75220f284ea9c4be94f866358096522b2c71b1ed (PR-142) 20:36:59 > git config core.sparsecheckout # timeout=10 20:36:59 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # timeout=10 20:36:59 > git remote # timeout=10 20:36:59 > git config --get remote.origin.url # timeout=10 20:36:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:59 > git merge 2d3628426a4c09a0428b2c94309d7de718300937 # timeout=10 20:36:59 > git rev-parse HEAD^{commit} # timeout=10 20:36:59 > git config core.sparsecheckout # timeout=10 20:36:59 > git checkout -f 75220f284ea9c4be94f866358096522b2c71b1ed # timeout=10 20:37:04 Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:37:05 ========================================================= 20:37:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:37:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:37:06 + 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 . 20:37:06 Sending build context to Docker daemon 560.1kB 20:37:07 Step 1/8 : ARG BASE=golang:1.13-alpine 20:37:07 Step 2/8 : FROM ${BASE} 20:37:07 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:07 cde5963f3b93: Pulling fs layer 20:37:07 2a23fa8c16f7: Pulling fs layer 20:37:07 777b28850792: Pulling fs layer 20:37:07 8a11ddd9e578: Pulling fs layer 20:37:07 4cf88f913ddb: Pulling fs layer 20:37:07 1df406cf5192: Pulling fs layer 20:37:07 cd6300453558: Pulling fs layer 20:37:07 b9c365052c96: Pulling fs layer 20:37:07 a2d8cc88f415: Pulling fs layer 20:37:07 ea1d1ca13537: Pulling fs layer 20:37:07 3750a50a1c5e: Pulling fs layer 20:37:07 8a11ddd9e578: Waiting 20:37:07 b9c365052c96: Waiting 20:37:07 4cf88f913ddb: Waiting 20:37:07 a2d8cc88f415: Waiting 20:37:07 1df406cf5192: Waiting 20:37:07 ea1d1ca13537: Waiting 20:37:07 cd6300453558: Waiting 20:37:07 3750a50a1c5e: Waiting 20:37:07 777b28850792: Verifying Checksum 20:37:07 777b28850792: Download complete 20:37:07 2a23fa8c16f7: Verifying Checksum 20:37:07 2a23fa8c16f7: Download complete 20:37:07 4cf88f913ddb: Verifying Checksum 20:37:07 4cf88f913ddb: Download complete 20:37:07 1df406cf5192: Verifying Checksum 20:37:07 1df406cf5192: Download complete 20:37:07 cde5963f3b93: Verifying Checksum 20:37:07 cde5963f3b93: Download complete 20:37:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:37:08 cde5963f3b93: Pull complete 20:37:09 2a23fa8c16f7: Pull complete 20:37:09 777b28850792: Pull complete 20:37:12 cd6300453558: Verifying Checksum 20:37:12 cd6300453558: Download complete 20:37:12 a2d8cc88f415: Verifying Checksum 20:37:12 a2d8cc88f415: Download complete 20:37:12 Removing intermediate container 4e988965b8d9 20:37:12 ---> 551bf03c0d26 20:37:12 Step 11/19 : FROM alpine 20:37:12 latest: Pulling from library/alpine 20:37:13 aad63a933944: Pulling fs layer 20:37:13 aad63a933944: Verifying Checksum 20:37:13 aad63a933944: Download complete 20:37:13 aad63a933944: Pull complete 20:37:13 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 20:37:13 Status: Downloaded newer image for alpine:latest 20:37:13 ---> a187dde48cd2 20:37:13 Step 12/19 : ENV APP_PORT=49982 20:37:13 ---> Running in 34390e848d61 20:37:14 ea1d1ca13537: Verifying Checksum 20:37:14 ea1d1ca13537: Download complete 20:37:14 Removing intermediate container 34390e848d61 20:37:14 ---> 8cf9127d1d41 20:37:14 Step 13/19 : EXPOSE $APP_PORT 20:37:14 ---> Running in 427dc007f439 20:37:14 3750a50a1c5e: Download complete 20:37:14 Removing intermediate container 427dc007f439 20:37:14 ---> d20f91546fca 20:37:14 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 20:37:14 ---> d69bdda881a3 20:37:14 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 20:37:14 ---> Running in e25764a5a7a4 20:37:14 Removing intermediate container e25764a5a7a4 20:37:14 ---> 8c40e56ea45e 20:37:14 Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:37:14 ---> Running in e77cf9ccafd5 20:37:15 Removing intermediate container e77cf9ccafd5 20:37:15 ---> 18cb52225695 20:37:15 Step 17/19 : LABEL arch=amd64 20:37:15 ---> Running in 7d9637a79d42 20:37:15 Removing intermediate container 7d9637a79d42 20:37:15 ---> ef909c3583cc 20:37:15 Step 18/19 : LABEL git_sha=75220f284ea9c4be94f866358096522b2c71b1ed 20:37:15 ---> Running in 0f4e95467eee 20:37:15 Removing intermediate container 0f4e95467eee 20:37:15 ---> 64f963bb7dd2 20:37:15 Step 19/19 : LABEL version=0.0.0 20:37:15 ---> Running in f44e60788548 20:37:15 Removing intermediate container f44e60788548 20:37:15 ---> 9272515d1685 20:37:15 [Warning] One or more build-args [ARCH] were not consumed 20:37:15 Successfully built 9272515d1685 20:37:15 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:16 ++ find /w/workspace/device-mqtt-go/2 20:37:16 ++ grep snapcraft.yaml 20:37:16 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:16 provisioning config files... 20:37:16 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config1178322298955508065tmp [Pipeline] { [Pipeline] sh 20:37:16 b9c365052c96: Download complete 20:37:17 + cp /w/workspace/device-mqtt-go/2@tmp/config1178322298955508065tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 20:37:17 + 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 20:37:17 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 20:37:17 latest: Pulling from edgex-devops/edgex-snap-builder 20:37:17 5bed26d33875: Pulling fs layer 20:37:17 f11b29a9c730: Pulling fs layer 20:37:17 930bda195c84: Pulling fs layer 20:37:17 78bf9a5ad49e: Pulling fs layer 20:37:17 e5fbee5a4b0d: Pulling fs layer 20:37:17 f452fca78f88: Pulling fs layer 20:37:17 7417ef92027a: Pulling fs layer 20:37:17 2af5c49d270b: Pulling fs layer 20:37:17 df9c3bdbc40a: Pulling fs layer 20:37:17 78bf9a5ad49e: Waiting 20:37:17 e5fbee5a4b0d: Waiting 20:37:17 7417ef92027a: Waiting 20:37:17 f452fca78f88: Waiting 20:37:17 2af5c49d270b: Waiting 20:37:17 df9c3bdbc40a: Waiting 20:37:17 930bda195c84: Verifying Checksum 20:37:17 930bda195c84: Download complete 20:37:17 f11b29a9c730: Verifying Checksum 20:37:17 f11b29a9c730: Download complete 20:37:17 78bf9a5ad49e: Verifying Checksum 20:37:17 78bf9a5ad49e: Download complete 20:37:17 f452fca78f88: Verifying Checksum 20:37:17 f452fca78f88: Download complete 20:37:17 7417ef92027a: Verifying Checksum 20:37:17 7417ef92027a: Download complete 20:37:17 2af5c49d270b: Verifying Checksum 20:37:17 2af5c49d270b: Download complete 20:37:17 df9c3bdbc40a: Verifying Checksum 20:37:17 df9c3bdbc40a: Download complete 20:37:18 5bed26d33875: Verifying Checksum 20:37:18 5bed26d33875: Download complete 20:37:18 8a11ddd9e578: Verifying Checksum 20:37:18 8a11ddd9e578: Download complete 20:37:22 e5fbee5a4b0d: Verifying Checksum 20:37:22 e5fbee5a4b0d: Download complete 20:37:22 5bed26d33875: Pull complete 20:37:23 f11b29a9c730: Pull complete 20:37:23 930bda195c84: Pull complete 20:37:23 78bf9a5ad49e: Pull complete 20:37:31 8a11ddd9e578: Pull complete 20:37:31 4cf88f913ddb: Pull complete 20:37:31 1df406cf5192: Pull complete 20:37:35 cd6300453558: Pull complete 20:37:40 b9c365052c96: Pull complete 20:37:40 a2d8cc88f415: Pull complete 20:37:42 ea1d1ca13537: Pull complete 20:37:42 3750a50a1c5e: Pull complete 20:37:42 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:37:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:37:42 ---> 78745c68409d 20:37:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:37:45 e5fbee5a4b0d: Pull complete 20:37:45 f452fca78f88: Pull complete 20:37:45 7417ef92027a: Pull complete 20:37:45 2af5c49d270b: Pull complete 20:37:45 df9c3bdbc40a: Pull complete 20:37:45 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 20:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 20:37:46 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:37:46 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 20:37:46 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:37:46 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] 20:37:46 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] 20:37:47 Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:37:47 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] 20:37:47 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] 20:37:47 Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] 20:37:47 Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 20:37:47 Fetched 4553 kB in 1s (3250 kB/s) 20:37:48 ---> Running in 5fffbc0a7a09 20:37:48 Removing intermediate container 5fffbc0a7a09 20:37:48 ---> 8af450d9ec48 20:37:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:37:48 ---> Running in 7f0607e723ce 20:37:49 Reading package lists... 20:37:49 Removing intermediate container 7f0607e723ce 20:37:49 ---> 362cff93a365 20:37:49 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:37:49 ---> Running in 1e0e40ab077b 20:37:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:37:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:37:52 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 20:37:52 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:37:52 (3/18) Installing libmagic (5.37-r1) 20:37:52 (4/18) Installing file (5.37-r1) 20:37:52 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:37:52 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 20:37:52 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:37:52 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:37:53 Reading package lists... 20:37:54 Building dependency tree... 20:37:54 Reading state information... 20:37:54 The following packages were automatically installed and are no longer required: 20:37:54 libjq1 liblzo2-2 libonig4 20:37:54 Use 'sudo apt autoremove' to remove them. 20:37:54 Suggested packages: 20:37:54 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:37:54 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:37:54 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:37:54 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:37:54 The following NEW packages will be installed: 20:37:54 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:37:54 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:37:54 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:37:54 openssh-client patch perl perl-modules-5.26 xauth 20:37:54 (8/18) Installing libc-dev (0.7.2-r0) 20:37:54 (9/18) Installing g++ (9.2.0-r4) 20:37:54 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 20:37:54 Need to get 14.7 MB of archives. 20:37:54 After this operation, 89.5 MB of additional disk space will be used. 20:37:54 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 20:37:54 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 20:37:54 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 20:37:54 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 20:37:54 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:37:54 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 20:37:55 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 20:37:55 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:37:55 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 20:37:55 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 20:37:55 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 20:37:55 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 20:37:55 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 20:37:55 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 20:37:55 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 20:37:55 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 20:37:55 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 20:37:55 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 20:37:55 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 20:37:55 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 20:37:55 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 20:37:55 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 20:37:55 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 20:37:55 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:37:55 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 20:37:55 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 20:37:55 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 20:37:56 (10/18) Installing fortify-headers (1.1-r0) 20:37:56 (11/18) Installing build-base (0.5-r1) 20:37:56 debconf: delaying package configuration, since apt-utils is not installed 20:37:56 Fetched 14.7 MB in 1s (10.5 MB/s) 20:37:56 Selecting previously unselected package libxau6:amd64. 20:37:56 (12/18) Installing openssh-keygen (8.1_p1-r0) 20:37:56 (13/18) Installing libedit (20191211.3.1-r0) 20:37:56 (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.) 20:37:56 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 20:37:56 Unpacking libxau6:amd64 (1:1.0.8-1) ... 20:37:56 Selecting previously unselected package libbsd0:amd64. 20:37:56 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 20:37:56 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:37:56 Selecting previously unselected package libxdmcp6:amd64. 20:37:56 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 20:37:56 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 20:37:56 (14/18) Installing openssh-client (8.1_p1-r0) 20:37:56 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 20:37:56 Selecting previously unselected package libxcb1:amd64. 20:37:56 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 20:37:56 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:37:56 Selecting previously unselected package libx11-data. 20:37:56 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:37:56 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:37:56 (16/18) Installing openssh-server-common (8.1_p1-r0) 20:37:56 (17/18) Installing openssh-server (8.1_p1-r0) 20:37:56 (18/18) Installing openssh (8.1_p1-r0) 20:37:57 Executing busybox-1.31.1-r8.trigger 20:37:57 OK: 203 MiB in 52 packages 20:37:57 Selecting previously unselected package libx11-6:amd64. 20:37:57 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 20:37:57 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:37:57 Selecting previously unselected package libxext6:amd64. 20:37:57 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 20:37:57 Unpacking libxext6:amd64 (2:1.3.3-1) ... 20:37:57 Selecting previously unselected package perl-modules-5.26. 20:37:57 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:37:57 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:38:00 Selecting previously unselected package libgdbm5:amd64. 20:38:00 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 20:38:00 Unpacking libgdbm5:amd64 (1.14.1-6) ... 20:38:00 Selecting previously unselected package libgdbm-compat4:amd64. 20:38:00 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 20:38:00 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 20:38:00 Selecting previously unselected package libperl5.26:amd64. 20:38:00 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 20:38:00 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:38:01 Selecting previously unselected package perl. 20:38:01 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 20:38:01 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:38:01 Selecting previously unselected package less. 20:38:01 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 20:38:01 Unpacking less (487-0.1) ... 20:38:01 Selecting previously unselected package libexpat1:amd64. 20:38:01 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 20:38:01 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:38:01 Selecting previously unselected package netbase. 20:38:01 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:38:01 Unpacking netbase (5.4) ... 20:38:01 Selecting previously unselected package libedit2:amd64. 20:38:01 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 20:38:02 Unpacking libedit2:amd64 (3.1-20170329-1) ... 20:38:02 Selecting previously unselected package libssl1.0.0:amd64. 20:38:02 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 20:38:02 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:38:02 Selecting previously unselected package libxmuu1:amd64. 20:38:02 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 20:38:02 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 20:38:02 Selecting previously unselected package openssh-client. 20:38:02 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 20:38:02 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:38:02 Selecting previously unselected package xauth. 20:38:02 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 20:38:02 Unpacking xauth (1:1.0.10-1) ... 20:38:02 Selecting previously unselected package curl. 20:38:02 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 20:38:02 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:38:02 Selecting previously unselected package libcurl3-gnutls:amd64. 20:38:02 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 20:38:02 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:38:02 Selecting previously unselected package liberror-perl. 20:38:02 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:38:02 Unpacking liberror-perl (0.17025-1) ... 20:38:02 Selecting previously unselected package git-man. 20:38:02 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:38:02 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:38:03 Selecting previously unselected package git. 20:38:03 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 20:38:03 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:38:03 Selecting previously unselected package make. 20:38:03 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 20:38:03 Unpacking make (4.1-9.1ubuntu1) ... 20:38:03 Selecting previously unselected package patch. 20:38:03 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 20:38:03 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:38:03 Removing intermediate container 1e0e40ab077b 20:38:03 ---> 151b79f1dbef 20:38:03 Step 6/8 : WORKDIR /device-mqtt-go 20:38:03 ---> Running in b581829020a6 20:38:03 Setting up libedit2:amd64 (3.1-20170329-1) ... 20:38:03 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:38:03 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:38:03 Setting up less (487-0.1) ... 20:38:03 Setting up make (4.1-9.1ubuntu1) ... 20:38:04 Removing intermediate container b581829020a6 20:38:04 ---> 20160f62bedb 20:38:04 Step 7/8 : COPY . . 20:38:04 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:38:04 Setting up curl (7.58.0-2ubuntu3.8) ... 20:38:04 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:38:04 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:38:04 Setting up libgdbm5:amd64 (1.14.1-6) ... 20:38:04 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:38:04 Setting up patch (2.7.6-2ubuntu1.1) ... 20:38:04 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 20:38:04 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 20:38:04 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:38:04 ---> 0aa382903a12 20:38:04 Step 8/8 : RUN go mod download 20:38:04 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:38:04 Setting up libxau6:amd64 (1:1.0.8-1) ... 20:38:04 Setting up netbase (5.4) ... 20:38:04 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:38:04 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:38:04 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:38:04 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 20:38:04 ---> Running in e7004ad5520b 20:38:04 Setting up perl (5.26.1-6ubuntu0.3) ... 20:38:05 Setting up libxext6:amd64 (2:1.3.3-1) ... 20:38:06 Setting up liberror-perl (0.17025-1) ... 20:38:06 Setting up xauth (1:1.0.10-1) ... 20:38:06 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:38:06 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:38:06 go: finding github.com/BurntSushi/toml v0.3.1 20:38:06 go: finding github.com/OneOfOne/xxhash v1.2.6 20:38:06 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:38:06 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:38:06 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:38:06 go: finding github.com/bgentry/speakeasy v0.1.0 20:38:06 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:38:06 go: finding github.com/davecgh/go-spew v1.1.1 20:38:06 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 20:38:06 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:38:06 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:38:06 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:38:06 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:38:06 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:38:06 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:38:07 go: finding github.com/fatih/color v1.7.0 20:38:07 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:38:07 go: finding github.com/go-kit/kit v0.8.0 20:38:07 go: finding github.com/go-logfmt/logfmt v0.4.0 20:38:07 go: finding github.com/go-stack/stack v1.8.0 20:38:07 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:38:07 go: finding github.com/google/uuid v1.1.1 20:38:07 go: finding github.com/gorilla/mux v1.7.1 20:38:07 go: finding github.com/hashicorp/consul/api v1.1.0 20:38:07 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:38:07 go: finding github.com/hashicorp/errwrap v1.0.0 20:38:07 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:38:07 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:38:07 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:38:07 go: finding github.com/hashicorp/go-multierror v1.0.0 20:38:07 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:38:07 go: finding github.com/hashicorp/go-sockaddr v1.0.0 20:38:07 go: finding github.com/hashicorp/go-syslog v1.0.0 20:38:07 go: finding github.com/hashicorp/go-uuid v1.0.1 20:38:07 go: finding github.com/hashicorp/go.net v0.0.1 20:38:07 go: finding github.com/hashicorp/golang-lru v0.5.0 20:38:07 go: finding github.com/hashicorp/logutils v1.0.0 20:38:07 go: finding github.com/hashicorp/mdns v1.0.0 20:38:07 go: finding github.com/hashicorp/memberlist v0.1.3 20:38:07 go: finding github.com/hashicorp/serf v0.8.2 20:38:07 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:38:07 go: finding github.com/kr/pretty v0.1.0 20:38:07 go: finding github.com/kr/pty v1.1.1 20:38:07 go: finding github.com/kr/text v0.1.0 20:38:07 go: finding github.com/mattn/go-colorable v0.0.9 20:38:07 go: finding github.com/mattn/go-isatty v0.0.3 20:38:07 go: finding github.com/miekg/dns v1.0.14 20:38:07 go: finding github.com/mitchellh/cli v1.0.0 20:38:07 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:38:07 go: finding github.com/mitchellh/copystructure v1.0.0 20:38:07 go: finding github.com/mitchellh/go-homedir v1.0.0 20:38:07 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:38:07 go: finding github.com/mitchellh/gox v0.4.0 20:38:07 go: finding github.com/mitchellh/iochan v1.0.0 20:38:07 go: finding github.com/mitchellh/mapstructure v1.1.2 20:38:07 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:38:07 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:38:07 go: finding github.com/pelletier/go-toml v1.2.0 20:38:07 go: finding github.com/pkg/errors v0.8.1 20:38:07 go: finding github.com/pmezard/go-difflib v1.0.0 20:38:07 go: finding github.com/posener/complete v1.1.1 20:38:07 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 20:38:07 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:38:07 go: finding github.com/spf13/cast v1.3.0 20:38:07 go: finding github.com/stretchr/objx v0.1.0 20:38:07 go: finding github.com/stretchr/testify v1.5.1 20:38:07 go: finding github.com/ugorji/go v1.1.4 20:38:07 go: finding github.com/x448/float16 v0.8.4 20:38:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:38:07 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:38:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:38:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:38:07 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 20:38:07 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:38:07 go: finding gopkg.in/yaml.v2 v2.2.8 20:38:08 curl set to automatically installed. 20:38:08 git set to automatically installed. 20:38:08 git-man set to automatically installed. 20:38:08 less set to automatically installed. 20:38:08 libbsd0 set to automatically installed. 20:38:08 libcurl3-gnutls set to automatically installed. 20:38:08 libedit2 set to automatically installed. 20:38:08 liberror-perl set to automatically installed. 20:38:08 libexpat1 set to automatically installed. 20:38:08 libgdbm-compat4 set to automatically installed. 20:38:08 libgdbm5 set to automatically installed. 20:38:08 libperl5.26 set to automatically installed. 20:38:08 libssl1.0.0 set to automatically installed. 20:38:08 libx11-6 set to automatically installed. 20:38:08 libx11-data set to automatically installed. 20:38:08 libxau6 set to automatically installed. 20:38:08 libxcb1 set to automatically installed. 20:38:08 libxdmcp6 set to automatically installed. 20:38:08 libxext6 set to automatically installed. 20:38:08 libxmuu1 set to automatically installed. 20:38:08 make set to automatically installed. 20:38:08 netbase set to automatically installed. 20:38:08 openssh-client set to automatically installed. 20:38:08 patch set to automatically installed. 20:38:08 perl set to automatically installed. 20:38:08 perl-modules-5.26 set to automatically installed. 20:38:08 xauth set to automatically installed. 20:38:08 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:38:08 Please ensure the environment is properly setup before continuing. 20:38:08 Ignore this message if the appropriate measures have already been taken 20:38:09 Pulling go 20:38:09 'device-mqtt' has dependencies that need to be staged: go 20:38:09 Skipping pull go (already ran) 20:38:09 Building go 20:38:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:38:09 Dload Upload Total Spent Left Speed 20:38:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 40 114M 40 46.1M 0 0 52.1M 0 0:00:02 --:--:-- 0:00:02 52.1M 100 114M 100 114M 0 0 63.6M 0 0:00:01 0:00:01 --:--:-- 63.6M 20:38:12 go1.13.5.linux-amd64.tar.gz: OK 20:38:17 Removing intermediate container e7004ad5520b 20:38:17 ---> f4972e6344c7 20:38:17 Successfully built f4972e6344c7 20:38:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:38:18 + docker inspect -f . ci-base-image-arm64 20:38:18 . [Pipeline] withDockerContainer 20:38:19 prd-ubuntu18.04-docker-arm64-4c-16g-5418 does not seem to be running inside a container 20:38:19 $ 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 ******** ci-base-image-arm64 cat 20:38:20 $ docker top efc946517e13a4b6ef1ba26988b05d46f87ab75a705b4c509a066436babc30d2 -eo pid,comm 20:38:20 Staging go 20:38:20 Pulling device-mqtt [Pipeline] { [Pipeline] sh 20:38:21 + go version 20:38:21 go version go1.13.5 linux/arm64 [Pipeline] sh 20:38:21 Skipping build go (already ran) 20:38:21 Building device-mqtt 20:38: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 20:38:22 + make test 20:38:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:38:23 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:38:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:38:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 20:38:23 go: downloading github.com/spf13/cast v1.3.0 20:38:23 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:38:23 go: extracting github.com/spf13/cast v1.3.0 20:38:23 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 20:38:23 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:38:23 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:38:23 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:38:23 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:38:23 go: downloading github.com/gorilla/mux v1.7.1 20:38:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:38:23 go: downloading github.com/google/uuid v1.1.1 20:38:23 go: downloading github.com/go-kit/kit v0.8.0 20:38:23 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:38:23 go: extracting github.com/gorilla/mux v1.7.1 20:38:23 go: extracting github.com/google/uuid v1.1.1 20:38:23 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:38:23 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:38:23 go: downloading github.com/pkg/errors v0.8.1 20:38:23 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:38:23 go: downloading github.com/pelletier/go-toml v1.2.0 20:38:23 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:38:23 go: extracting github.com/pkg/errors v0.8.1 20:38:23 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:38:23 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:38:23 go: extracting github.com/go-kit/kit v0.8.0 20:38:23 go: downloading gopkg.in/yaml.v2 v2.2.8 20:38:23 go: extracting github.com/pelletier/go-toml v1.2.0 20:38:23 go: downloading github.com/BurntSushi/toml v0.3.1 20:38:23 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:38:23 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:38:23 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:38:23 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 20:38:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:38:23 go: downloading github.com/hashicorp/consul/api v1.1.0 20:38:23 go: downloading github.com/x448/float16 v0.8.4 20:38:23 go: extracting gopkg.in/yaml.v2 v2.2.8 20:38:23 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 20:38:23 go: extracting github.com/BurntSushi/toml v0.3.1 20:38:23 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:38:23 go: extracting github.com/x448/float16 v0.8.4 20:38:23 go: extracting github.com/hashicorp/consul/api v1.1.0 20:38:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:38:23 go: downloading github.com/mitchellh/copystructure v1.0.0 20:38:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:38:23 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:38:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:38:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:38:23 go: downloading github.com/hashicorp/serf v0.8.2 20:38:23 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:38:24 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:38:24 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:38:24 go: extracting github.com/hashicorp/serf v0.8.2 20:38:24 go: extracting github.com/mitchellh/copystructure v1.0.0 20:38:24 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:38:24 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:38:24 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:38:24 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:38:24 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:38:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:38:24 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:38:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:38:24 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:38:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:38:25 go: extracting github.com/hashicorp/golang-lru v0.5.0 20:38:25 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:38:25 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 20:38:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:38:25 go: finding github.com/spf13/cast v1.3.0 20:38:25 go: finding github.com/gorilla/mux v1.7.1 20:38:25 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:38:25 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:38:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:38:25 go: finding github.com/OneOfOne/xxhash v1.2.6 20:38:25 go: finding github.com/go-kit/kit v0.8.0 20:38:25 go: finding github.com/google/uuid v1.1.1 20:38:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:38:25 go: finding github.com/x448/float16 v0.8.4 20:38:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:38:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:38:25 go: finding github.com/go-logfmt/logfmt v0.4.0 20:38:25 go: finding gopkg.in/yaml.v2 v2.2.8 20:38:25 go: finding github.com/pkg/errors v0.8.1 20:38:25 go: finding github.com/BurntSushi/toml v0.3.1 20:38:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:38:25 go: finding github.com/hashicorp/consul/api v1.1.0 20:38:25 go: finding github.com/pelletier/go-toml v1.2.0 20:38:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:38:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:38:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:38:25 go: finding github.com/hashicorp/serf v0.8.2 20:38:25 go: finding github.com/mitchellh/mapstructure v1.1.2 20:38:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:38:25 go: finding github.com/mitchellh/copystructure v1.0.0 20:38:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:38:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:38:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:38:25 go: finding github.com/hashicorp/golang-lru v0.5.0 20:38:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:38:39 Skipping stage go (already ran) 20:38:39 Staging device-mqtt 20:38:40 Priming go 20:38:41 Priming device-mqtt 20:38:41 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:38:41 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:38:41 Determining the version from the project repo (version-script). 20:38:42 The version has been set to '0.0.0-20200421+75220f2' 20:38:42 Snapping 'edgex-device-mqtt' ... 20:38:43 20:38:43 Snapped edgex-device-mqtt_0.0.0-20200421+75220f2_amd64.snap [Pipeline] } 20:38:44 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] } 20:38:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:38:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.025s coverage: 29.8% of statements 20:38:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:38:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:39:02 gofmt -l . 20:39:02 ["`gofmt -l .`" = ""] 20:39:02 ./bin/test-attribution-txt.sh 20:39:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:39:03 Warning: overwriting stash ‘coverage-report’ 20:39:03 Stashed 1 file(s) [Pipeline] } 20:39:03 $ docker stop --time=1 efc946517e13a4b6ef1ba26988b05d46f87ab75a705b4c509a066436babc30d2 20:39:06 $ docker rm -f efc946517e13a4b6ef1ba26988b05d46f87ab75a705b4c509a066436babc30d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:39:07 + ls -al . 20:39:07 total 124 20:39:07 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 20:39 . 20:39:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:36 .. 20:39:07 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 20:36 .dockerignore 20:39:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 20:37 .git 20:39:07 -rw-rw-r-- 1 jenkins jenkins 335 Apr 21 20:36 .gitignore 20:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:37 .semver 20:39:07 -rw-rw-r-- 1 jenkins jenkins 1614 Apr 21 20:36 Dockerfile 20:39:07 -rw-rw-r-- 1 jenkins jenkins 953 Apr 21 20:36 Dockerfile.build 20:39:07 -rw-rw-r-- 1 jenkins jenkins 700 Apr 21 20:36 Jenkinsfile 20:39:07 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 20:36 LICENSE 20:39:07 -rw-rw-r-- 1 jenkins jenkins 902 Apr 21 20:36 Makefile 20:39:07 -rw-rw-r-- 1 jenkins jenkins 444 Apr 21 20:36 README.md 20:39:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 20:34 VERSION 20:39:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:36 bin 20:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:36 cmd 20:39:07 -rw-r--r-- 1 jenkins jenkins 18213 Apr 21 20:38 coverage.out 20:39:07 -rw-r--r-- 1 jenkins jenkins 517 Apr 21 20:39 go.mod 20:39:07 -rw-r--r-- 1 jenkins jenkins 13532 Apr 21 20:39 go.sum 20:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:36 internal 20:39:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:36 mock 20:39:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:36 snap 20:39:07 -rw-rw-r-- 1 jenkins jenkins 227 Apr 21 20:36 version.go [Pipeline] isUnix [Pipeline] sh 20:39:08 + 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=75220f284ea9c4be94f866358096522b2c71b1ed --label arch=arm64 --label version=0.0.0 . 20:39:08 Sending build context to Docker daemon 579.1kB 20:39:08 Step 1/19 : ARG BASE=golang:1.13-alpine 20:39:08 Step 2/19 : FROM ${BASE} AS builder 20:39:08 ---> f4972e6344c7 20:39:08 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 20:39:08 ---> Running in d5e11ebcce44 20:39:08 Removing intermediate container d5e11ebcce44 20:39:08 ---> b37fd903ad77 20:39:08 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 20:39:09 ---> Running in 4ba551645c27 20:39:09 Removing intermediate container 4ba551645c27 20:39:09 ---> bcc0baa3d6fa 20:39:09 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:39:09 ---> Running in 041efa6a6c2b 20:39:11 Removing intermediate container 041efa6a6c2b 20:39:11 ---> 3a830617236e 20:39:11 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:11 ---> Running in faacbaf84cb2 20:39:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:39:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:39:13 OK: 203 MiB in 52 packages 20:39:14 Removing intermediate container faacbaf84cb2 20:39:14 ---> bb66e209f7f1 20:39:14 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 20:39:14 ---> Running in 0e5f55e6000b 20:39:15 Removing intermediate container 0e5f55e6000b 20:39:15 ---> 5d18011d4dee 20:39:15 Step 8/19 : COPY . . 20:39:15 ---> 93499cf8e153 20:39:15 Step 9/19 : ARG MAKE='make build' 20:39:16 ---> Running in cd017d3687ec 20:39:16 Removing intermediate container cd017d3687ec 20:39:16 ---> a156a49b4960 20:39:16 Step 10/19 : RUN $MAKE 20:39:16 ---> Running in 4826b174227e 20:39:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 20:39:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:39:52 Removing intermediate container 4826b174227e 20:39:52 ---> afb1ecd16f84 20:39:52 Step 11/19 : FROM alpine 20:39:52 latest: Pulling from library/alpine 20:39:52 8a0637ca1ac9: Pulling fs layer 20:39:52 8a0637ca1ac9: Verifying Checksum 20:39:52 8a0637ca1ac9: Download complete 20:39:52 8a0637ca1ac9: Pull complete 20:39:52 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 20:39:52 Status: Downloaded newer image for alpine:latest 20:39:52 ---> 2ee122dcc32d 20:39:52 Step 12/19 : ENV APP_PORT=49982 20:39:53 ---> Running in 2f6d5a4901d0 20:39:53 Removing intermediate container 2f6d5a4901d0 20:39:53 ---> ecf7e18c9563 20:39:53 Step 13/19 : EXPOSE $APP_PORT 20:39:53 ---> Running in 9d451ba573e6 20:39:54 Removing intermediate container 9d451ba573e6 20:39:54 ---> 3b15a11bfe41 20:39:54 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 20:39:55 ---> 5aa7e51fc8d9 20:39:55 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 20:39:55 ---> Running in c95e09a8a456 20:39:55 Removing intermediate container c95e09a8a456 20:39:55 ---> 2ba57f1ebfeb 20:39:55 Step 16/19 : ENTRYPOINT ["/device-mqtt","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:39:55 ---> Running in 427bfcbbe333 20:39:56 Removing intermediate container 427bfcbbe333 20:39:56 ---> 6ec1aca2b3e0 20:39:56 Step 17/19 : LABEL arch=arm64 20:39:56 ---> Running in 208073f244a2 20:39:56 Removing intermediate container 208073f244a2 20:39:56 ---> 3cfdfcd79fe7 20:39:56 Step 18/19 : LABEL git_sha=75220f284ea9c4be94f866358096522b2c71b1ed 20:39:57 ---> Running in 3b0aff00e6b4 20:39:57 Removing intermediate container 3b0aff00e6b4 20:39:57 ---> 885ae719375e 20:39:57 Step 19/19 : LABEL version=0.0.0 20:39:57 ---> Running in 50bc06bd8bf5 20:39:57 Removing intermediate container 50bc06bd8bf5 20:39:57 ---> 9ff82bbff2eb 20:39:57 [Warning] One or more build-args [ARCH] were not consumed 20:39:57 Successfully built 9ff82bbff2eb 20:39:57 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 20:39:58 + grep snapcraft.yaml 20:39:58 + find /w/workspace/device-mqtt-go/2 20:39:58 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:58 provisioning config files... 20:39:58 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config5749922282331234891tmp [Pipeline] { [Pipeline] sh 20:39:59 + cp /w/workspace/device-mqtt-go/2@tmp/config5749922282331234891tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 20:39:59 + 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 20:39:59 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 20:39:59 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 20:39:59 b2f61026a351: Pulling fs layer 20:39:59 5538fb30c42c: Pulling fs layer 20:39:59 f0b05810781a: Pulling fs layer 20:39:59 0180a33352d6: Pulling fs layer 20:39:59 e7604b0c0f53: Pulling fs layer 20:39:59 db689cb83ae0: Pulling fs layer 20:39:59 6138af208834: Pulling fs layer 20:39:59 007c8e8c5d63: Pulling fs layer 20:39:59 4f7a387c642f: Pulling fs layer 20:39:59 0180a33352d6: Waiting 20:39:59 e7604b0c0f53: Waiting 20:39:59 db689cb83ae0: Waiting 20:39:59 6138af208834: Waiting 20:39:59 007c8e8c5d63: Waiting 20:39:59 4f7a387c642f: Waiting 20:39:59 f0b05810781a: Download complete 20:39:59 5538fb30c42c: Verifying Checksum 20:39:59 5538fb30c42c: Download complete 20:39:59 0180a33352d6: Verifying Checksum 20:39:59 0180a33352d6: Download complete 20:39:59 db689cb83ae0: Verifying Checksum 20:39:59 db689cb83ae0: Download complete 20:39:59 6138af208834: Verifying Checksum 20:39:59 6138af208834: Download complete 20:39:59 007c8e8c5d63: Verifying Checksum 20:39:59 007c8e8c5d63: Download complete 20:39:59 4f7a387c642f: Verifying Checksum 20:39:59 4f7a387c642f: Download complete 20:40:02 b2f61026a351: Verifying Checksum 20:40:02 b2f61026a351: Download complete 20:40:04 b2f61026a351: Pull complete 20:40:05 5538fb30c42c: Pull complete 20:40:05 f0b05810781a: Pull complete 20:40:05 0180a33352d6: Pull complete 20:40:29 Cannot contact prd-ubuntu18.04-docker-arm64-4c-16g-5418: java.lang.InterruptedException 20:40:29 e7604b0c0f53: Verifying Checksum 20:40:29 e7604b0c0f53: Download complete 20:40:56 e7604b0c0f53: Pull complete 20:40:56 db689cb83ae0: Pull complete 20:40:56 6138af208834: Pull complete 20:40:56 007c8e8c5d63: Pull complete 20:40:56 4f7a387c642f: Pull complete 20:40:56 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 20:40:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 20:41:02 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 20:41:02 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 20:41:02 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 20:41:02 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 20:41:02 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] 20:41:03 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] 20:41:03 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 20:41:03 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] 20:41:03 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] 20:41:03 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] 20:41:03 Fetched 3651 kB in 2s (1626 kB/s) 20:41:08 Reading package lists... 20:41:20 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 20:41:24 Reading package lists... 20:41:25 Building dependency tree... 20:41:25 Reading state information... 20:41:25 The following packages were automatically installed and are no longer required: 20:41:25 libjq1 liblzo2-2 libonig4 20:41:25 Use 'sudo apt autoremove' to remove them. 20:41:25 Suggested packages: 20:41:25 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:41:25 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:41:25 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:41:25 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:41:26 The following NEW packages will be installed: 20:41:26 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:41:26 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:41:26 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:41:26 openssh-client patch perl perl-modules-5.26 xauth 20:41:26 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 20:41:26 Need to get 12.9 MB of archives. 20:41:26 After this operation, 84.2 MB of additional disk space will be used. 20:41:26 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 20:41:26 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 20:41:26 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 20:41:26 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 20:41:26 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:41:27 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 20:41:27 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 20:41:27 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:41:27 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 20:41:27 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 20:41:27 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 20:41:27 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 20:41:27 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 20:41:28 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 20:41:28 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 20:41:28 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 20:41:28 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 20:41:28 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 20:41:28 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 20:41:28 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 20:41:28 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 20:41:28 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 20:41:28 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 20:41:28 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:41:28 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 20:41:28 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 20:41:28 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 20:41:29 debconf: delaying package configuration, since apt-utils is not installed 20:41:29 Fetched 12.9 MB in 2s (6066 kB/s) 20:41:29 Selecting previously unselected package libxau6:arm64. 20:41:29 (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.) 20:41:29 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 20:41:29 Unpacking libxau6:arm64 (1:1.0.8-1) ... 20:41:29 Selecting previously unselected package libbsd0:arm64. 20:41:29 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 20:41:29 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:41:29 Selecting previously unselected package libxdmcp6:arm64. 20:41:29 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 20:41:29 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 20:41:29 Selecting previously unselected package libxcb1:arm64. 20:41:29 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 20:41:29 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:41:29 Selecting previously unselected package libx11-data. 20:41:29 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:41:29 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:41:30 Selecting previously unselected package libx11-6:arm64. 20:41:30 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 20:41:30 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:41:30 Selecting previously unselected package libxext6:arm64. 20:41:30 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 20:41:30 Unpacking libxext6:arm64 (2:1.3.3-1) ... 20:41:30 Selecting previously unselected package perl-modules-5.26. 20:41:30 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:41:30 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:41:32 Selecting previously unselected package libgdbm5:arm64. 20:41:32 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 20:41:32 Unpacking libgdbm5:arm64 (1.14.1-6) ... 20:41:32 Selecting previously unselected package libgdbm-compat4:arm64. 20:41:32 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 20:41:32 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 20:41:32 Selecting previously unselected package libperl5.26:arm64. 20:41:32 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 20:41:32 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:41:33 Selecting previously unselected package perl. 20:41:33 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 20:41:33 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:41:33 Selecting previously unselected package less. 20:41:33 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 20:41:33 Unpacking less (487-0.1) ... 20:41:33 Selecting previously unselected package libexpat1:arm64. 20:41:33 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 20:41:33 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:41:33 Selecting previously unselected package netbase. 20:41:33 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:41:33 Unpacking netbase (5.4) ... 20:41:34 Selecting previously unselected package libedit2:arm64. 20:41:34 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 20:41:34 Unpacking libedit2:arm64 (3.1-20170329-1) ... 20:41:34 Selecting previously unselected package libssl1.0.0:arm64. 20:41:34 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 20:41:34 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:41:34 Selecting previously unselected package libxmuu1:arm64. 20:41:34 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 20:41:34 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 20:41:34 Selecting previously unselected package openssh-client. 20:41:34 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 20:41:34 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:41:34 Selecting previously unselected package xauth. 20:41:34 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 20:41:34 Unpacking xauth (1:1.0.10-1) ... 20:41:34 Selecting previously unselected package curl. 20:41:34 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 20:41:34 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:41:35 Selecting previously unselected package libcurl3-gnutls:arm64. 20:41:35 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 20:41:35 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:41:35 Selecting previously unselected package liberror-perl. 20:41:35 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:41:35 Unpacking liberror-perl (0.17025-1) ... 20:41:35 Selecting previously unselected package git-man. 20:41:35 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:41:35 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:41:35 Selecting previously unselected package git. 20:41:35 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 20:41:35 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:41:37 Selecting previously unselected package make. 20:41:37 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 20:41:37 Unpacking make (4.1-9.1ubuntu1) ... 20:41:37 Selecting previously unselected package patch. 20:41:37 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 20:41:37 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:41:37 Setting up libedit2:arm64 (3.1-20170329-1) ... 20:41:37 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:41:37 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:41:37 Setting up less (487-0.1) ... 20:41:37 Setting up make (4.1-9.1ubuntu1) ... 20:41:37 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:41:37 Setting up curl (7.58.0-2ubuntu3.8) ... 20:41:37 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:41:37 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:41:37 Setting up libgdbm5:arm64 (1.14.1-6) ... 20:41:37 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:41:37 Setting up patch (2.7.6-2ubuntu1.1) ... 20:41:38 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 20:41:38 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 20:41:38 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:41:38 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:41:38 Setting up libxau6:arm64 (1:1.0.8-1) ... 20:41:38 Setting up netbase (5.4) ... 20:41:38 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:41:38 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:41:38 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:41:38 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 20:41:38 Setting up perl (5.26.1-6ubuntu0.3) ... 20:41:38 Setting up libxext6:arm64 (2:1.3.3-1) ... 20:41:38 Setting up liberror-perl (0.17025-1) ... 20:41:39 Setting up xauth (1:1.0.10-1) ... 20:41:39 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:41:39 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:41:45 curl set to automatically installed. 20:41:45 git set to automatically installed. 20:41:45 git-man set to automatically installed. 20:41:45 less set to automatically installed. 20:41:45 libbsd0 set to automatically installed. 20:41:45 libcurl3-gnutls set to automatically installed. 20:41:45 libedit2 set to automatically installed. 20:41:45 liberror-perl set to automatically installed. 20:41:45 libexpat1 set to automatically installed. 20:41:45 libgdbm-compat4 set to automatically installed. 20:41:45 libgdbm5 set to automatically installed. 20:41:45 libperl5.26 set to automatically installed. 20:41:45 libssl1.0.0 set to automatically installed. 20:41:45 libx11-6 set to automatically installed. 20:41:45 libx11-data set to automatically installed. 20:41:45 libxau6 set to automatically installed. 20:41:45 libxcb1 set to automatically installed. 20:41:45 libxdmcp6 set to automatically installed. 20:41:45 libxext6 set to automatically installed. 20:41:45 libxmuu1 set to automatically installed. 20:41:45 make set to automatically installed. 20:41:45 netbase set to automatically installed. 20:41:45 openssh-client set to automatically installed. 20:41:45 patch set to automatically installed. 20:41:45 perl set to automatically installed. 20:41:45 perl-modules-5.26 set to automatically installed. 20:41:45 xauth set to automatically installed. 20:41:45 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:41:45 Please ensure the environment is properly setup before continuing. 20:41:45 Ignore this message if the appropriate measures have already been taken 20:41:45 Pulling go 20:41:49 'device-mqtt' has dependencies that need to be staged: go 20:41:49 Skipping pull go (already ran) 20:41:49 Building go 20:41:49 % Total % Received % Xferd Average Speed Time Time Time Current 20:41:49 Dload Upload Total Spent Left Speed 20:41:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 19 93.0M 19 18.2M 0 0 34.2M 0 0:00:02 --:--:-- 0:00:02 34.1M 71 93.0M 71 66.5M 0 0 42.7M 0 0:00:02 0:00:01 0:00:01 42.7M 100 93.0M 100 93.0M 0 0 43.8M 0 0:00:02 0:00:02 --:--:-- 43.8M 20:41:52 go1.13.5.linux-arm64.tar.gz: OK 20:42:10 Staging go 20:42:12 Pulling device-mqtt 20:42:16 Skipping build go (already ran) 20:42:16 Building device-mqtt 20:42:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 20:42:16 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:42:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:42:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 20:42:16 go: downloading github.com/spf13/cast v1.3.0 20:42:16 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:42:16 go: extracting github.com/spf13/cast v1.3.0 20:42:16 go: extracting github.com/eclipse/paho.mqtt.golang v1.1.1 20:42:16 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:42:16 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:42:16 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:42:17 go: extracting gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:42:17 go: downloading github.com/gorilla/mux v1.7.1 20:42:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:42:17 go: downloading github.com/google/uuid v1.1.1 20:42:17 go: downloading github.com/go-kit/kit v0.8.0 20:42:17 go: extracting github.com/gorilla/mux v1.7.1 20:42:17 go: downloading github.com/pkg/errors v0.8.1 20:42:17 go: extracting github.com/google/uuid v1.1.1 20:42:17 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:42:17 go: extracting github.com/pkg/errors v0.8.1 20:42:17 go: downloading gopkg.in/yaml.v2 v2.2.8 20:42:17 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:42:17 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:42:17 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:42:17 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 20:42:17 go: downloading github.com/pelletier/go-toml v1.2.0 20:42:17 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:42:17 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:42:17 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:42:17 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 20:42:17 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:42:17 go: downloading github.com/BurntSushi/toml v0.3.1 20:42:17 go: extracting github.com/pelletier/go-toml v1.2.0 20:42:17 go: extracting gopkg.in/yaml.v2 v2.2.8 20:42:17 go: downloading github.com/x448/float16 v0.8.4 20:42:17 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:42:17 go: downloading github.com/hashicorp/consul/api v1.1.0 20:42:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:42:17 go: extracting github.com/x448/float16 v0.8.4 20:42:17 go: extracting github.com/go-kit/kit v0.8.0 20:42:17 go: extracting github.com/BurntSushi/toml v0.3.1 20:42:17 go: extracting github.com/hashicorp/consul/api v1.1.0 20:42:17 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:42:17 go: downloading github.com/mitchellh/copystructure v1.0.0 20:42:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:42:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:42:17 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:42:17 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:42:17 go: extracting golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:42:17 go: extracting github.com/mitchellh/copystructure v1.0.0 20:42:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:42:17 go: downloading github.com/hashicorp/serf v0.8.2 20:42:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:42:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:42:17 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:42:17 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:42:17 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:42:17 go: extracting github.com/hashicorp/serf v0.8.2 20:42:17 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:42:17 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:42:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:42:17 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:42:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:42:17 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:42:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:42:17 go: extracting github.com/hashicorp/golang-lru v0.5.0 20:42:17 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.25 20:42:17 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 20:42:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:42:18 go: finding github.com/spf13/cast v1.3.0 20:42:18 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 20:42:18 go: finding github.com/gorilla/mux v1.7.1 20:42:18 go: finding github.com/OneOfOne/xxhash v1.2.6 20:42:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:42:18 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 20:42:18 go: finding github.com/go-kit/kit v0.8.0 20:42:18 go: finding github.com/google/uuid v1.1.1 20:42:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:42:18 go: finding github.com/x448/float16 v0.8.4 20:42:18 go: finding github.com/go-logfmt/logfmt v0.4.0 20:42:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:42:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:42:18 go: finding gopkg.in/yaml.v2 v2.2.8 20:42:18 go: finding github.com/BurntSushi/toml v0.3.1 20:42:18 go: finding github.com/pkg/errors v0.8.1 20:42:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:42:18 go: finding github.com/hashicorp/consul/api v1.1.0 20:42:18 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:42:18 go: finding github.com/pelletier/go-toml v1.2.0 20:42:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:42:18 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:42:18 go: finding github.com/hashicorp/serf v0.8.2 20:42:18 go: finding github.com/mitchellh/mapstructure v1.1.2 20:42:18 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:42:18 go: finding github.com/mitchellh/copystructure v1.0.0 20:42:18 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:42:18 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:42:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:42:18 go: finding github.com/hashicorp/golang-lru v0.5.0 20:42:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:43:03 Skipping stage go (already ran) 20:43:03 Staging device-mqtt 20:43:03 Priming go 20:43:07 Priming device-mqtt 20:43:09 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:43:09 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:43:09 Determining the version from the project repo (version-script). 20:43:09 The version has been set to '0.0.0-20200421+75220f2' 20:43:10 Snapping 'edgex-device-mqtt' ... 20:43:13 20:43:13 Snapped edgex-device-mqtt_0.0.0-20200421+75220f2_arm64.snap [Pipeline] } 20:43:16 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 20:43:17 provisioning config files... 20:43:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/config2107303756662272381tmp [Pipeline] { [Pipeline] sh 20:43:17 + curl -s https://codecov.io/bash 20:43:17 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/config2107303756662272381tmp 20:43:17 20:43:17 _____ _ 20:43:17 / ____| | | 20:43:17 | | ___ __| | ___ ___ _____ __ 20:43:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:43:17 | |___| (_) | (_| | __/ (_| (_) \ V / 20:43:17 \_____\___/ \__,_|\___|\___\___/ \_/ 20:43:17 Bash-tbd 20:43:17 20:43:17 20:43:17 ==> Jenkins CI detected. 20:43:17 project root: . 20:43:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:43:17 ==> Running gcov in . (disable via -X gcov) 20:43:17 ==> Python coveragepy not found 20:43:17 ==> Searching for coverage reports in: 20:43:17 + . 20:43:17 -> Found 1 reports 20:43:17 ==> Detecting git/mercurial file structure 20:43:17 ==> Reading reports 20:43:17 + ./coverage.out bytes=18213 20:43:17 ==> Appending adjustments 20:43:17 http://docs.codecov.io/docs/fixing-reports 20:43:17 + Found adjustments 20:43:17 ==> Gzipping contents 20:43:17 ==> Uploading reports 20:43:17 url: https://codecov.io 20:43:17 query: branch=PR-142&commit=75220f284ea9c4be94f866358096522b2c71b1ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-142%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=142&job= 20:43:17 -> Pinging Codecov 20:43:17 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-142&commit=75220f284ea9c4be94f866358096522b2c71b1ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-142%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=142&job= 20:43:18 -> Uploading 20:43:18 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/75220f284ea9c4be94f866358096522b2c71b1ed [Pipeline] } 20:43:18 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 20:43:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:20 ---> package-listing.sh 20:43:20 ++ facter osfamily 20:43:20 ++ tr '[:upper:]' '[:lower:]' 20:43:20 + OS_FAMILY=redhat 20:43:20 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-142 20:43:20 + START_PACKAGES=/tmp/packages_start.txt 20:43:20 + END_PACKAGES=/tmp/packages_end.txt 20:43:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:20 + PACKAGES=/tmp/packages_start.txt 20:43:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-142 ']' 20:43:20 + PACKAGES=/tmp/packages_end.txt 20:43:20 + case "${OS_FAMILY}" in 20:43:20 + rpm -qa 20:43:20 + sort 20:43:24 + '[' -f /tmp/packages_start.txt ']' 20:43:24 + '[' -f /tmp/packages_end.txt ']' 20:43:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:24 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-142 ']' 20:43:24 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-142/archives/ 20:43:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-142/archives/ [Pipeline] isUnix [Pipeline] sh 20:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:43:25 20:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:43:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:43:25 alpine: Pulling from edgex-lftools-log-publisher 20:43:25 c9b1b535fdd9: Pulling fs layer 20:43:25 2cc5ad85d9ab: Pulling fs layer 20:43:25 756a868c4378: Pulling fs layer 20:43:25 444b2fc9a129: Pulling fs layer 20:43:25 ea15f1150254: Pulling fs layer 20:43:25 41b27a9f41bf: Pulling fs layer 20:43:25 28c525ee5125: Pulling fs layer 20:43:25 094b1ea09ed8: Pulling fs layer 20:43:25 138eaada9080: Pulling fs layer 20:43:25 0622d0fa9048: Pulling fs layer 20:43:25 41b27a9f41bf: Waiting 20:43:25 138eaada9080: Waiting 20:43:25 28c525ee5125: Waiting 20:43:25 094b1ea09ed8: Waiting 20:43:25 0622d0fa9048: Waiting 20:43:25 444b2fc9a129: Waiting 20:43:25 ea15f1150254: Waiting 20:43:25 2cc5ad85d9ab: Verifying Checksum 20:43:25 2cc5ad85d9ab: Download complete 20:43:25 444b2fc9a129: Verifying Checksum 20:43:25 444b2fc9a129: Download complete 20:43:25 c9b1b535fdd9: Verifying Checksum 20:43:25 c9b1b535fdd9: Download complete 20:43:25 ea15f1150254: Download complete 20:43:25 28c525ee5125: Verifying Checksum 20:43:25 28c525ee5125: Download complete 20:43:25 c9b1b535fdd9: Pull complete 20:43:25 756a868c4378: Verifying Checksum 20:43:25 756a868c4378: Download complete 20:43:25 2cc5ad85d9ab: Pull complete 20:43:26 138eaada9080: Verifying Checksum 20:43:26 138eaada9080: Download complete 20:43:26 094b1ea09ed8: Verifying Checksum 20:43:26 094b1ea09ed8: Download complete 20:43:26 0622d0fa9048: Verifying Checksum 20:43:26 0622d0fa9048: Download complete 20:43:26 41b27a9f41bf: Verifying Checksum 20:43:26 41b27a9f41bf: Download complete 20:43:27 756a868c4378: Pull complete 20:43:27 444b2fc9a129: Pull complete 20:43:27 ea15f1150254: Pull complete 20:43:31 41b27a9f41bf: Pull complete 20:43:31 28c525ee5125: Pull complete 20:43:33 094b1ea09ed8: Pull complete 20:43:33 138eaada9080: Pull complete 20:43:33 0622d0fa9048: Pull complete 20:43:33 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:43:33 prd-centos7-docker-4c-2g-5415 does not seem to be running inside a container 20:43:33 $ 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-142 -v /w/workspace/gexfoundry_device-mqtt-go_PR-142:/w/workspace/gexfoundry_device-mqtt-go_PR-142:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:43:34 $ docker top ef7f163d2146bbcf3b9ceb7e455f71a4c8a1639655dac1a89c0dd7b9de81e168 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:34 provisioning config files... 20:43:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp/config1346029026909904940tmp [Pipeline] { [Pipeline] echo 20:43:34 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:35 ---> create-netrc.sh [Pipeline] echo 20:43:35 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:35 ---> logs-deploy.sh 20:43:35 + ARCHIVE_ARTIFACTS= 20:43:35 + LOGS_SERVER=https://logs.edgexfoundry.org 20:43:35 + '[' https://logs.edgexfoundry.org == None ']' 20:43:35 + NEXUS_URL=https://nexus.edgexfoundry.org 20:43:35 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-142/2 20:43:35 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-142/2/ 20:43:35 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-142/2 /w/workspace/gexfoundry_device-mqtt-go_PR-142 20:43:37 Archives upload complete. 20:43:37 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-142/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-142/2/ 20:43:38 ---> uname -a: 20:43:38 Linux ef7f163d2146 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 20:43:38 20:43:38 20:43:38 ---> lscpu: 20:43:38 Architecture: x86_64 20:43:38 CPU op-mode(s): 32-bit, 64-bit 20:43:38 Byte Order: Little Endian 20:43:38 Address sizes: 40 bits physical, 48 bits virtual 20:43:38 CPU(s): 4 20:43:38 On-line CPU(s) list: 0-3 20:43:38 Thread(s) per core: 1 20:43:38 Core(s) per socket: 1 20:43:38 Socket(s): 4 20:43:38 NUMA node(s): 1 20:43:38 Vendor ID: GenuineIntel 20:43:38 CPU family: 6 20:43:38 Model: 44 20:43:38 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:43:38 Stepping: 1 20:43:38 CPU MHz: 2933.442 20:43:38 BogoMIPS: 5866.88 20:43:38 Virtualization: VT-x 20:43:38 Hypervisor vendor: KVM 20:43:38 Virtualization type: full 20:43:38 L1d cache: 128 KiB 20:43:38 L1i cache: 128 KiB 20:43:38 L2 cache: 16 MiB 20:43:38 L3 cache: 64 MiB 20:43:38 NUMA node0 CPU(s): 0-3 20:43:38 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 20:43:38 Vulnerability Meltdown: Mitigation; PTI 20:43:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:43:38 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 20:43:38 Vulnerability Spectre v2: Mitigation; Full retpoline 20:43:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:43:38 20:43:38 20:43:38 ---> nproc: 20:43:38 4 20:43:38 20:43:38 20:43:38 ---> df -h: 20:43:38 Filesystem Size Used Available Use% Mounted on 20:43:38 overlay 50.0G 6.3G 43.6G 13% / 20:43:38 tmpfs 64.0M 0 64.0M 0% /dev 20:43:38 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 20:43:38 shm 64.0M 0 64.0M 0% /dev/shm 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/resolv.conf 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hostname 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /etc/hosts 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/gexfoundry_device-mqtt-go_PR-142 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /w/workspace/gexfoundry_device-mqtt-go_PR-142@tmp 20:43:38 /dev/vda1 50.0G 6.3G 43.6G 13% /var/log/sa 20:43:38 20:43:38 20:43:38 ---> free -m: 20:43:38 total used free shared buff/cache available 20:43:38 Mem: 1838 626 75 0 1135 1107 20:43:38 Swap: 1023 1 1022 20:43:38 20:43:38 20:43:38 ---> ip addr: 20:43:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:43:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:43:38 inet 127.0.0.1/8 scope host lo 20:43:38 valid_lft forever preferred_lft forever 20:43:38 6: eth0@if7: mtu 1458 qdisc noqueue state UP 20:43:38 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 20:43:38 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 20:43:38 valid_lft forever preferred_lft forever 20:43:38 20:43:38 20:43:38 ---> sar -b -r -n DEV: 20:43:38 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) 20:43:38 20:43:38 20:33:19 LINUX RESTART 20:43:38 20:43:38 20:34:02 tps rtps wtps bread/s bwrtn/s 20:43:38 20:35:01 20.28 6.93 13.36 1991.33 2019.49 20:43:38 20:36:01 2.13 0.00 2.13 0.00 76.74 20:43:38 20:37:01 0.28 0.00 0.28 0.00 3.28 20:43:38 20:38:01 0.30 0.00 0.30 0.00 3.61 20:43:38 20:39:01 0.25 0.00 0.25 0.00 3.51 20:43:38 20:40:01 0.33 0.02 0.32 0.13 4.06 20:43:38 20:41:01 0.28 0.00 0.28 0.00 3.20 20:43:38 20:42:01 0.33 0.00 0.33 0.00 4.86 20:43:38 20:43:01 0.23 0.00 0.23 0.00 2.98 20:43:38 Average: 2.68 0.76 1.92 218.03 232.49 20:43:38 20:43:38 20:34:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:43:38 20:35:01 102760 1779544 94.54 2620 1213700 957440 32.67 431084 1184532 12 20:43:38 20:36:01 106288 1776016 94.35 2620 1213704 951704 32.47 432792 1180220 8 20:43:38 20:37:01 110040 1772264 94.15 2620 1213716 912772 31.14 431164 1178804 8 20:43:38 20:38:01 111296 1771008 94.09 2620 1213716 912616 31.14 430336 1178804 8 20:43:38 20:39:01 110128 1772176 94.15 2620 1213724 912772 31.14 431196 1178804 8 20:43:38 20:40:01 111076 1771228 94.10 2620 1213732 912616 31.14 430456 1178804 12 20:43:38 20:41:01 120356 1761948 93.61 2620 1213736 912616 31.14 421352 1178692 8 20:43:38 20:42:01 120172 1762132 93.62 2620 1213740 912616 31.14 421492 1178692 8 20:43:38 20:43:01 119964 1762340 93.63 2620 1213744 912616 31.14 421564 1178692 8 20:43:38 Average: 112453 1769851 94.03 2620 1213724 921974 31.46 427937 1179560 9 20:43:38 20:43:38 20:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 20:43:38 20:35:01 eth0 48.39 37.52 337.77 28.13 0.00 0.00 0.00 20:43:38 20:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:35:01 docker0 1.42 1.15 0.27 3.17 0.00 0.00 0.00 20:43:38 20:36:01 eth0 1.80 0.52 0.59 0.39 0.00 0.00 0.00 20:43:38 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:37:01 eth0 0.72 0.35 0.29 0.20 0.00 0.00 0.00 20:43:38 20:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:38:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 20:43:38 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:39:01 eth0 0.67 0.42 0.40 0.24 0.00 0.00 0.00 20:43:38 20:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:40:01 eth0 0.08 0.08 0.01 0.03 0.00 0.00 0.00 20:43:38 20:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:41:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 20:43:38 20:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:42:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 20:43:38 20:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:43:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 20:43:38 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 Average: eth0 5.71 4.30 37.13 3.18 0.00 0.00 0.00 20:43:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:43:38 Average: docker0 0.16 0.13 0.03 0.35 0.00 0.00 0.00 20:43:38 20:43:38 20:43:38 ---> sar -P ALL: 20:43:38 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) 20:43:38 20:43:38 20:33:19 LINUX RESTART 20:43:38 20:43:38 20:34:02 CPU %user %nice %system %iowait %steal %idle 20:43:38 20:35:01 all 2.79 0.00 1.36 0.08 0.00 95.77 20:43:38 20:35:01 0 2.47 0.00 1.38 0.07 0.00 96.09 20:43:38 20:35:01 1 3.25 0.00 1.33 0.12 0.00 95.30 20:43:38 20:35:01 2 2.55 0.00 1.33 0.09 0.00 96.03 20:43:38 20:35:01 3 2.87 0.00 1.39 0.05 0.00 95.68 20:43:38 20:36:01 all 0.13 0.00 0.08 0.00 0.00 99.79 20:43:38 20:36:01 0 0.20 0.00 0.07 0.00 0.00 99.73 20:43:38 20:36:01 1 0.12 0.00 0.13 0.00 0.02 99.73 20:43:38 20:36:01 2 0.13 0.00 0.07 0.00 0.02 99.78 20:43:38 20:36:01 3 0.10 0.00 0.05 0.00 0.02 99.83 20:43:38 20:37:01 all 0.17 0.00 0.07 0.00 0.00 99.75 20:43:38 20:37:01 0 0.42 0.00 0.07 0.00 0.00 99.52 20:43:38 20:37:01 1 0.07 0.00 0.07 0.00 0.00 99.87 20:43:38 20:37:01 2 0.08 0.00 0.07 0.00 0.00 99.85 20:43:38 20:37:01 3 0.10 0.00 0.07 0.00 0.00 99.83 20:43:38 20:38:01 all 0.18 0.00 0.05 0.00 0.00 99.77 20:43:38 20:38:01 0 0.52 0.00 0.02 0.00 0.00 99.47 20:43:38 20:38:01 1 0.05 0.00 0.05 0.00 0.00 99.90 20:43:38 20:38:01 2 0.10 0.00 0.08 0.00 0.00 99.82 20:43:38 20:38:01 3 0.03 0.00 0.05 0.00 0.00 99.92 20:43:38 20:39:01 all 0.20 0.00 0.05 0.00 0.00 99.74 20:43:38 20:39:01 0 0.53 0.00 0.05 0.00 0.00 99.42 20:43:38 20:39:01 1 0.08 0.00 0.07 0.00 0.00 99.85 20:43:38 20:39:01 2 0.10 0.00 0.07 0.00 0.00 99.83 20:43:38 20:39:01 3 0.08 0.00 0.05 0.00 0.00 99.87 20:43:38 20:40:01 all 0.17 0.00 0.05 0.00 0.00 99.78 20:43:38 20:40:01 0 0.52 0.00 0.02 0.00 0.00 99.47 20:43:38 20:40:01 1 0.07 0.00 0.07 0.00 0.00 99.87 20:43:38 20:40:01 2 0.03 0.00 0.05 0.00 0.00 99.92 20:43:38 20:40:01 3 0.08 0.00 0.05 0.00 0.00 99.87 20:43:38 20:41:01 all 0.18 0.00 0.05 0.00 0.00 99.77 20:43:38 20:41:01 0 0.18 0.00 0.03 0.00 0.00 99.78 20:43:38 20:41:01 1 0.08 0.00 0.08 0.00 0.00 99.83 20:43:38 20:41:01 2 0.08 0.00 0.07 0.00 0.00 99.85 20:43:38 20:41:01 3 0.37 0.00 0.03 0.00 0.00 99.60 20:43:38 20:42:01 all 0.16 0.00 0.04 0.00 0.00 99.79 20:43:38 20:42:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:43:38 20:42:01 1 0.03 0.00 0.05 0.00 0.00 99.92 20:43:38 20:42:01 2 0.07 0.00 0.05 0.00 0.02 99.87 20:43:38 20:42:01 3 0.52 0.00 0.03 0.00 0.00 99.45 20:43:38 20:43:01 all 0.18 0.00 0.04 0.00 0.00 99.78 20:43:38 20:43:01 0 0.05 0.00 0.07 0.00 0.00 99.88 20:43:38 20:43:01 1 0.07 0.00 0.07 0.00 0.00 99.87 20:43:38 20:43:01 2 0.05 0.00 0.03 0.00 0.00 99.92 20:43:38 20:43:01 3 0.53 0.00 0.03 0.00 0.00 99.43 20:43:38 Average: all 0.46 0.00 0.20 0.01 0.00 99.34 20:43:38 Average: 0 0.54 0.00 0.19 0.01 0.00 99.26 20:43:38 Average: 1 0.42 0.00 0.21 0.01 0.00 99.36 20:43:38 Average: 2 0.35 0.00 0.20 0.01 0.00 99.44 20:43:38 Average: 3 0.52 0.00 0.19 0.01 0.00 99.28 20:43:38 20:43:38 20:43:38