Started by user ernesto-ojeda 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 ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee+a379864c4ca603a3f217526d4d7ed89d41ad0b38 (bb5ab696f97fa7500d3f54afdaa6a9773bd52df2) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4167’ Running on prd-centos7-docker-4c-2g-4181 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +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/139/head:refs/remotes/origin/PR-139 # 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 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 Commit message: "add buildSnap option" > git rev-list --no-walk ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:14 ========================================================= 02:43:14 EdgeX Global Pipelines Version Info 02:43:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:15 ------------------- 02:43:15 stable info: 02:43:15 ------------------- 02:43:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:15 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:43:15 Message: update stable to v1.0.73 02:43:16 ------------------- 02:43:16 experimental info: 02:43:16 ------------------- 02:43:16 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:16 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 02:43:16 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 02:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:18 02:43:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:18 latest: Pulling from edgex-devops/git-semver 02:43:18 9123ac7c32f7: Pulling fs layer 02:43:18 b8cc5d1170e3: Pulling fs layer 02:43:18 2924cbbf6a41: Pulling fs layer 02:43:18 93b08a4f1073: Pulling fs layer 02:43:18 b8cc5d1170e3: Verifying Checksum 02:43:18 b8cc5d1170e3: Download complete 02:43:18 9123ac7c32f7: Download complete 02:43:18 93b08a4f1073: Verifying Checksum 02:43:18 93b08a4f1073: Download complete 02:43:18 2924cbbf6a41: Verifying Checksum 02:43:18 2924cbbf6a41: Download complete 02:43:19 9123ac7c32f7: Pull complete 02:43:19 b8cc5d1170e3: Pull complete 02:43:20 2924cbbf6a41: Pull complete 02:43:20 93b08a4f1073: Pull complete 02:43:20 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:20 prd-centos7-docker-4c-2g-4181 does not seem to be running inside a container 02:43:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-139 -v /w/workspace/gexfoundry_device-mqtt-go_PR-139:/w/workspace/gexfoundry_device-mqtt-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-139@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:10004/edgex-devops/git-semver:latest cat 02:43:20 $ docker top addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:21 [ssh-agent] Looking for ssh-agent implementation... 02:43:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:21 $ docker exec addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 ssh-agent 02:43:21 SSH_AUTH_SOCK=/tmp/ssh-bQdZIjDo36yr/agent.15 02:43:21 SSH_AGENT_PID=21 02:43:21 Running ssh-add (command line suppressed) 02:43:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_8482896833350429578.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_8482896833350429578.key) 02:43:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:21 + git describe --exact-match --tags HEAD 02:43:21 fatal: No names found, cannot describe anything. [Pipeline] } 02:43:22 $ docker exec --env ******** --env ******** addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 ssh-agent -k 02:43:22 unset SSH_AUTH_SOCK; 02:43:22 unset SSH_AGENT_PID; 02:43:22 echo Agent pid 21 killed; 02:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:43:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:43:22 This usually means this commit has not been tagged. [Pipeline] sshagent 02:43:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:22 [ssh-agent] Looking for ssh-agent implementation... 02:43:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:22 $ docker exec addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 ssh-agent 02:43:22 SSH_AUTH_SOCK=/tmp/ssh-ydSh9MRCkzXb/agent.57 02:43:22 SSH_AGENT_PID=64 02:43:22 Running ssh-add (command line suppressed) 02:43:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_6528731330932382982.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_6528731330932382982.key) 02:43:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:23 + git semver init 02:43:23 # -> Open(): unable to determine branch for HEAD 02:43:23 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.git 02:43:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-139 02:43:23 # $SEMVER_REMOTE_NAME = origin 02:43:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:23 # $SEMVER_USER_NAME = edgex-jenkins 02:43:23 # $SEMVER_BRANCH = PR-139 02:43:23 # $SEMVER_TEMP = /tmp/semver-638396509 02:43:23 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 02:43:23 # '/tmp/semver-638396509' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver' 02:43:23 # -> Force: false 02:43:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver [Pipeline] } 02:43:23 $ docker exec --env ******** --env ******** addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 ssh-agent -k 02:43:23 unset SSH_AUTH_SOCK; 02:43:23 unset SSH_AGENT_PID; 02:43:23 echo Agent pid 64 killed; 02:43:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:24 + git semver [Pipeline] } 02:43:24 $ docker stop --time=1 addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 02:43:25 $ docker rm -f addfb07c8c0cc0806b2861db834321b8451247a22b57151d7698612430bdee59 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:26 Stashed 21 file(s) [Pipeline] echo 02:43:26 [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 02:43:41 Still waiting to schedule task 02:43:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:41 Still waiting to schedule task 02:43:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4180’ is offline 02:45:58 Running on prd-centos7-docker-4c-2g-4184 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 02:45:58 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 02:46:00 using credential edgex-jenkins-ssh 02:46:00 Cloning the remote Git repository 02:46:00 Cloning with configured refspecs honoured and without tags 02:46:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:46:00 > git init /w/workspace/device-mqtt-go/2 # timeout=10 02:46:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:46:00 > git --version # timeout=10 02:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:02 Fetching without tags 02:46:02 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:46:02 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:46:02 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 02:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:46:01 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 02:46:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:46:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:02 > git config core.sparsecheckout # timeout=10 02:46:02 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 02:46:02 > git remote # timeout=10 02:46:02 > git config --get remote.origin.url # timeout=10 02:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:02 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 02:46:02 > git rev-parse HEAD^{commit} # timeout=10 02:46:02 > git config core.sparsecheckout # timeout=10 02:46:02 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 02:46:06 Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:07 ========================================================= 02:46:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:46:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:07 + 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 . 02:46:08 Sending build context to Docker daemon 544.3kB 02:46:08 Step 1/8 : ARG BASE=golang:1.13-alpine 02:46:08 Step 2/8 : FROM ${BASE} 02:46:08 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:08 e6b0cf9c0882: Pulling fs layer 02:46:08 2848faf0eed1: Pulling fs layer 02:46:08 0f37312ad70f: Pulling fs layer 02:46:08 5788d62ee057: Pulling fs layer 02:46:08 0e6b1d234666: Pulling fs layer 02:46:08 bf5d7aec512f: Pulling fs layer 02:46:08 34c802a77dc8: Pulling fs layer 02:46:08 9eb99e56ec68: Pulling fs layer 02:46:08 27c7a5d97fbd: Pulling fs layer 02:46:08 5c102a31e300: Pulling fs layer 02:46:08 dcfb455df0a1: Pulling fs layer 02:46:08 34c802a77dc8: Waiting 02:46:08 9eb99e56ec68: Waiting 02:46:08 27c7a5d97fbd: Waiting 02:46:08 5c102a31e300: Waiting 02:46:08 dcfb455df0a1: Waiting 02:46:08 5788d62ee057: Waiting 02:46:08 0e6b1d234666: Waiting 02:46:08 bf5d7aec512f: Waiting 02:46:08 0f37312ad70f: Verifying Checksum 02:46:08 0f37312ad70f: Download complete 02:46:08 2848faf0eed1: Download complete 02:46:08 0e6b1d234666: Verifying Checksum 02:46:08 0e6b1d234666: Download complete 02:46:08 bf5d7aec512f: Verifying Checksum 02:46:08 bf5d7aec512f: Download complete 02:46:08 e6b0cf9c0882: Verifying Checksum 02:46:08 e6b0cf9c0882: Download complete 02:46:08 e6b0cf9c0882: Pull complete 02:46:08 2848faf0eed1: Pull complete 02:46:08 34c802a77dc8: Verifying Checksum 02:46:08 34c802a77dc8: Download complete 02:46:08 27c7a5d97fbd: Verifying Checksum 02:46:08 27c7a5d97fbd: Download complete 02:46:09 5c102a31e300: Verifying Checksum 02:46:09 5c102a31e300: Download complete 02:46:09 dcfb455df0a1: Verifying Checksum 02:46:09 dcfb455df0a1: Download complete 02:46:10 5788d62ee057: Verifying Checksum 02:46:10 5788d62ee057: Download complete 02:46:10 9eb99e56ec68: Verifying Checksum 02:46:10 9eb99e56ec68: Download complete 02:46:10 0f37312ad70f: Pull complete 02:46:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4183 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 02:46:11 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 02:46:17 5788d62ee057: Pull complete 02:46:17 0e6b1d234666: Pull complete 02:46:17 bf5d7aec512f: Pull complete 02:46:18 using credential edgex-jenkins-ssh 02:46:18 Cloning the remote Git repository 02:46:18 Cloning with configured refspecs honoured and without tags 02:46:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:46:19 Fetching without tags 02:46:18 > git init /w/workspace/device-mqtt-go/2 # timeout=10 02:46:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:46:18 > git --version # timeout=10 02:46:18 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:18 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:46:19 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 02:46:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:46:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:20 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:46:20 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:46:20 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 02:46:20 > git config core.sparsecheckout # timeout=10 02:46:20 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 02:46:20 > git remote # timeout=10 02:46:20 > git config --get remote.origin.url # timeout=10 02:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:20 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 02:46:20 > git rev-parse HEAD^{commit} # timeout=10 02:46:20 > git config core.sparsecheckout # timeout=10 02:46:20 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 02:46:21 34c802a77dc8: Pull complete 02:46:24 9eb99e56ec68: Pull complete 02:46:24 27c7a5d97fbd: Pull complete 02:46:25 Commit message: "add buildSnap option" 02:46:25 5c102a31e300: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:46:25 dcfb455df0a1: Pull complete 02:46:25 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:46:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:46:25 ---> 7c70fe431013 02:46:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:46:25 ---> Running in bc653ea4f0af [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:46:25 Removing intermediate container bc653ea4f0af 02:46:25 ---> 0c066e57ab5c 02:46:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:25 ---> Running in c60f5574fe49 [Pipeline] echo 02:46:26 ========================================================= 02:46:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:46:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:26 Removing intermediate container c60f5574fe49 02:46:26 ---> 818f6876bf03 02:46:26 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:46:26 ---> Running in 9274acf8aaa0 02:46:27 + 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 . 02:46:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:46:28 Sending build context to Docker daemon 544.3kB 02:46:28 Step 1/8 : ARG BASE=golang:1.13-alpine 02:46:28 Step 2/8 : FROM ${BASE} 02:46:28 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:28 cde5963f3b93: Pulling fs layer 02:46:28 2a23fa8c16f7: Pulling fs layer 02:46:28 777b28850792: Pulling fs layer 02:46:28 8a11ddd9e578: Pulling fs layer 02:46:28 4cf88f913ddb: Pulling fs layer 02:46:28 1df406cf5192: Pulling fs layer 02:46:28 cd6300453558: Pulling fs layer 02:46:28 b9c365052c96: Pulling fs layer 02:46:28 a2d8cc88f415: Pulling fs layer 02:46:28 ea1d1ca13537: Pulling fs layer 02:46:28 3750a50a1c5e: Pulling fs layer 02:46:28 4cf88f913ddb: Waiting 02:46:28 cd6300453558: Waiting 02:46:28 b9c365052c96: Waiting 02:46:28 a2d8cc88f415: Waiting 02:46:28 1df406cf5192: Waiting 02:46:28 ea1d1ca13537: Waiting 02:46:28 8a11ddd9e578: Waiting 02:46:28 3750a50a1c5e: Waiting 02:46:28 777b28850792: Verifying Checksum 02:46:28 777b28850792: Download complete 02:46:28 2a23fa8c16f7: Verifying Checksum 02:46:28 2a23fa8c16f7: Download complete 02:46:28 4cf88f913ddb: Verifying Checksum 02:46:28 4cf88f913ddb: Download complete 02:46:28 1df406cf5192: Verifying Checksum 02:46:28 1df406cf5192: Download complete 02:46:28 cde5963f3b93: Verifying Checksum 02:46:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:46:29 cde5963f3b93: Pull complete 02:46:30 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 02:46:30 2a23fa8c16f7: Pull complete 02:46:30 777b28850792: Pull complete 02:46:30 (2/17) Installing libmagic (5.37-r1) 02:46:30 (3/17) Installing file (5.37-r1) 02:46:31 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 02:46:31 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 02:46:31 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 02:46:33 cd6300453558: Verifying Checksum 02:46:33 cd6300453558: Download complete 02:46:33 a2d8cc88f415: Verifying Checksum 02:46:33 a2d8cc88f415: Download complete 02:46:35 ea1d1ca13537: Verifying Checksum 02:46:35 ea1d1ca13537: Download complete 02:46:35 3750a50a1c5e: Verifying Checksum 02:46:35 3750a50a1c5e: Download complete 02:46:38 b9c365052c96: Verifying Checksum 02:46:38 b9c365052c96: Download complete 02:46:40 8a11ddd9e578: Verifying Checksum 02:46:40 8a11ddd9e578: Download complete 02:46:52 8a11ddd9e578: Pull complete 02:46:52 4cf88f913ddb: Pull complete 02:46:52 1df406cf5192: Pull complete 02:46:56 cd6300453558: Pull complete 02:47:00 b9c365052c96: Pull complete 02:47:00 a2d8cc88f415: Pull complete 02:47:02 ea1d1ca13537: Pull complete 02:47:02 3750a50a1c5e: Pull complete 02:47:02 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:47:03 ---> 78745c68409d 02:47:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:47:07 ---> Running in 989368ddbe1f 02:47:07 Removing intermediate container 989368ddbe1f 02:47:07 ---> c04e1273dadc 02:47:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:07 ---> Running in 50758ec5673b 02:47:09 (7/17) Installing libc-dev (0.7.2-r0) 02:47:09 (8/17) Installing g++ (9.2.0-r4) 02:47:09 Removing intermediate container 50758ec5673b 02:47:09 ---> c60565dbd92a 02:47:09 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:47:09 ---> Running in 0d2b9c911c9a 02:47:10 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:47:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:47:14 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 02:47:14 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 02:47:15 (3/18) Installing libmagic (5.37-r1) 02:47:15 (4/18) Installing file (5.37-r1) 02:47:15 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 02:47:15 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 02:47:16 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 02:47:22 (9/17) Installing fortify-headers (1.1-r0) 02:47:22 (10/17) Installing build-base (0.5-r1) 02:47:22 (11/17) Installing openssh-keygen (8.1_p1-r0) 02:47:22 (12/17) Installing libedit (20191211.3.1-r0) 02:47:22 (13/17) Installing openssh-client (8.1_p1-r0) 02:47:22 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 02:47:22 (15/17) Installing openssh-server-common (8.1_p1-r0) 02:47:22 (16/17) Installing openssh-server (8.1_p1-r0) 02:47:22 (17/17) Installing openssh (8.1_p1-r0) 02:47:22 Executing busybox-1.31.1-r8.trigger 02:47:22 OK: 214 MiB in 52 packages 02:47:26 Removing intermediate container 9274acf8aaa0 02:47:26 ---> 0f8521c12726 02:47:26 Step 6/8 : WORKDIR /device-mqtt-go 02:47:26 ---> Running in ab6b2781da8f 02:47:26 Removing intermediate container ab6b2781da8f 02:47:26 ---> 92fa5b5a91a2 02:47:26 Step 7/8 : COPY . . 02:47:26 ---> 49f7401703f7 02:47:26 Step 8/8 : RUN go mod download 02:47:26 ---> Running in f44ee9fd4251 02:47:26 (8/18) Installing libc-dev (0.7.2-r0) 02:47:26 (9/18) Installing g++ (9.2.0-r4) 02:47:28 (10/18) Installing fortify-headers (1.1-r0) 02:47:28 (11/18) Installing build-base (0.5-r1) 02:47:28 (12/18) Installing openssh-keygen (8.1_p1-r0) 02:47:28 (13/18) Installing libedit (20191211.3.1-r0) 02:47:28 (14/18) Installing openssh-client (8.1_p1-r0) 02:47:28 go: finding github.com/BurntSushi/toml v0.3.1 02:47:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:47:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:47:28 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:47:28 go: finding github.com/bgentry/speakeasy v0.1.0 02:47:28 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:47:28 go: finding github.com/davecgh/go-spew v1.1.1 02:47:28 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 02:47:28 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 02:47:28 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 02:47:28 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:47:28 go: finding github.com/fatih/color v1.7.0 02:47:28 go: finding github.com/go-kit/kit v0.8.0 02:47:28 go: finding github.com/go-logfmt/logfmt v0.4.0 02:47:28 go: finding github.com/go-stack/stack v1.8.0 02:47:28 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:47:28 go: finding github.com/google/uuid v1.1.1 02:47:28 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:47:28 go: finding github.com/gorilla/mux v1.7.0 02:47:28 go: finding github.com/hashicorp/consul v1.4.2 02:47:28 go: finding github.com/hashicorp/errwrap v1.0.0 02:47:28 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:47:28 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:47:28 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:47:28 go: finding github.com/hashicorp/go-multierror v1.0.0 02:47:28 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:47:28 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:47:29 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 02:47:29 (16/18) Installing openssh-server-common (8.1_p1-r0) 02:47:29 (17/18) Installing openssh-server (8.1_p1-r0) 02:47:29 go: finding github.com/hashicorp/go-syslog v1.0.0 02:47:29 go: finding github.com/hashicorp/go-uuid v1.0.1 02:47:29 go: finding github.com/hashicorp/go.net v0.0.1 02:47:29 go: finding github.com/hashicorp/golang-lru v0.5.0 02:47:29 go: finding github.com/hashicorp/logutils v1.0.0 02:47:29 go: finding github.com/hashicorp/mdns v1.0.0 02:47:29 go: finding github.com/hashicorp/memberlist v0.1.3 02:47:29 go: finding github.com/hashicorp/serf v0.8.2 02:47:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:47:29 go: finding github.com/kr/pretty v0.1.0 02:47:29 go: finding github.com/kr/pty v1.1.1 02:47:29 go: finding github.com/kr/text v0.1.0 02:47:29 go: finding github.com/mattn/go-colorable v0.0.9 02:47:29 go: finding github.com/mattn/go-isatty v0.0.3 02:47:29 go: finding github.com/miekg/dns v1.0.14 02:47:29 go: finding github.com/mitchellh/cli v1.0.0 02:47:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:47:29 go: finding github.com/mitchellh/copystructure v1.0.0 02:47:29 go: finding github.com/mitchellh/go-homedir v1.0.0 02:47:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:47:29 go: finding github.com/mitchellh/gox v0.4.0 02:47:29 go: finding github.com/mitchellh/iochan v1.0.0 02:47:29 go: finding github.com/mitchellh/mapstructure v1.1.2 02:47:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:47:29 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:47:29 go: finding github.com/pelletier/go-toml v1.2.0 02:47:29 go: finding github.com/pkg/errors v0.8.1 02:47:29 go: finding github.com/pmezard/go-difflib v1.0.0 02:47:29 go: finding github.com/posener/complete v1.1.1 02:47:29 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:47:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:47:29 (18/18) Installing openssh (8.1_p1-r0) 02:47:29 go: finding github.com/spf13/cast v1.3.0 02:47:29 go: finding github.com/stretchr/objx v0.1.0 02:47:29 go: finding github.com/stretchr/testify v1.3.0 02:47:29 go: finding github.com/ugorji/go v1.1.4 02:47:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:47:29 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 02:47:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:47:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:47:29 Executing busybox-1.31.1-r8.trigger 02:47:29 OK: 203 MiB in 52 packages 02:47:29 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 02:47:29 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 02:47:29 go: finding gopkg.in/yaml.v2 v2.2.2 02:47:36 Removing intermediate container 0d2b9c911c9a 02:47:36 ---> 0ce97e73fa4f 02:47:36 Step 6/8 : WORKDIR /device-mqtt-go 02:47:36 ---> Running in cc55cdd49d7e 02:47:36 Removing intermediate container cc55cdd49d7e 02:47:36 ---> ba8b4462dd0f 02:47:36 Step 7/8 : COPY . . 02:47:37 ---> ffb2d2c260de 02:47:37 Step 8/8 : RUN go mod download 02:47:37 ---> Running in 2a8b265d60a4 02:47:39 Removing intermediate container f44ee9fd4251 02:47:39 ---> f288efb9162d 02:47:39 Successfully built f288efb9162d 02:47:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 02:47:39 go: finding github.com/BurntSushi/toml v0.3.1 02:47:39 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:47:39 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:47:39 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:47:39 go: finding github.com/bgentry/speakeasy v0.1.0 02:47:39 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:47:39 go: finding github.com/davecgh/go-spew v1.1.1 02:47:39 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 02:47:39 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 02:47:39 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 02:47:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:47:39 go: finding github.com/fatih/color v1.7.0 02:47:39 go: finding github.com/go-kit/kit v0.8.0 02:47:39 go: finding github.com/go-logfmt/logfmt v0.4.0 02:47:39 go: finding github.com/go-stack/stack v1.8.0 02:47:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:47:39 go: finding github.com/google/uuid v1.1.1 02:47:39 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:47:39 go: finding github.com/gorilla/mux v1.7.0 02:47:39 go: finding github.com/hashicorp/consul v1.4.2 02:47:39 go: finding github.com/hashicorp/errwrap v1.0.0 02:47:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:47:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:47:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:47:39 go: finding github.com/hashicorp/go-multierror v1.0.0 02:47:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:47:39 go: finding github.com/hashicorp/go-sockaddr v1.0.0 02:47:39 go: finding github.com/hashicorp/go-syslog v1.0.0 02:47:39 go: finding github.com/hashicorp/go-uuid v1.0.1 02:47:39 go: finding github.com/hashicorp/go.net v0.0.1 02:47:39 go: finding github.com/hashicorp/golang-lru v0.5.0 02:47:39 go: finding github.com/hashicorp/logutils v1.0.0 02:47:39 go: finding github.com/hashicorp/mdns v1.0.0 02:47:39 go: finding github.com/hashicorp/memberlist v0.1.3 02:47:39 go: finding github.com/hashicorp/serf v0.8.2 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:39 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:47:39 go: finding github.com/kr/pretty v0.1.0 02:47:39 go: finding github.com/kr/pty v1.1.1 02:47:39 go: finding github.com/kr/text v0.1.0 02:47:39 go: finding github.com/mattn/go-colorable v0.0.9 02:47:39 go: finding github.com/mattn/go-isatty v0.0.3 02:47:39 go: finding github.com/miekg/dns v1.0.14 02:47:39 go: finding github.com/mitchellh/cli v1.0.0 02:47:39 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:47:39 go: finding github.com/mitchellh/copystructure v1.0.0 02:47:39 go: finding github.com/mitchellh/go-homedir v1.0.0 02:47:39 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:47:39 go: finding github.com/mitchellh/gox v0.4.0 02:47:39 go: finding github.com/mitchellh/iochan v1.0.0 02:47:39 go: finding github.com/mitchellh/mapstructure v1.1.2 02:47:39 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:47:39 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:47:39 go: finding github.com/pelletier/go-toml v1.2.0 02:47:39 go: finding github.com/pkg/errors v0.8.1 02:47:39 go: finding github.com/pmezard/go-difflib v1.0.0 02:47:39 go: finding github.com/posener/complete v1.1.1 02:47:39 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 02:47:39 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:47:39 go: finding github.com/spf13/cast v1.3.0 02:47:39 go: finding github.com/stretchr/objx v0.1.0 02:47:39 go: finding github.com/stretchr/testify v1.3.0 02:47:39 go: finding github.com/ugorji/go v1.1.4 02:47:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:47:40 + docker inspect -f . ci-base-image-x86_64 02:47:40 . [Pipeline] withDockerContainer 02:47:40 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 02:47:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:47:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:47:40 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 02:47:40 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 02:47:40 go: finding gopkg.in/yaml.v2 v2.2.2 02:47:40 prd-centos7-docker-4c-2g-4184 does not seem to be running inside a container 02:47:40 $ 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 02:47:40 $ docker top b84b2a33edebd18aee541c66302c77d0840e6164af43f75589a75c21dcd9766b -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:41 + go version 02:47:41 go version go1.13.5 linux/amd64 [Pipeline] sh 02:47:41 + make test 02:47:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:47:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:47:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:47:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 29.8% of statements 02:47:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:47:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:47:58 Removing intermediate container 2a8b265d60a4 02:47:58 ---> ac1d6c6c9bea 02:47:58 Successfully built ac1d6c6c9bea 02:47:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:59 + docker inspect -f . ci-base-image-arm64 02:47:59 . [Pipeline] withDockerContainer 02:47:59 prd-ubuntu18.04-docker-arm64-4c-16g-4183 does not seem to be running inside a container 02:47:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:00 gofmt -l . 02:48:00 ["`gofmt -l .`" = ""] 02:48:00 ./bin/test-attribution-txt.sh 02:48:01 $ docker top efe3be1fa001deadb117ef112acdc20f6efddbc0b87e828d75056224862c9995 -eo pid,comm 02:48:01 ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] stash [Pipeline] sh 02:48:02 Stashed 1 file(s) [Pipeline] } 02:48:02 $ docker stop --time=1 b84b2a33edebd18aee541c66302c77d0840e6164af43f75589a75c21dcd9766b 02:48:02 + go version 02:48:02 go version go1.13.5 linux/arm64 02:48:03 $ docker rm -f b84b2a33edebd18aee541c66302c77d0840e6164af43f75589a75c21dcd9766b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 02:48:04 + make test 02:48:04 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] sh 02:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:05 + ls -al . 02:48:05 total 92 02:48:05 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 02:48 . 02:48:05 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 02:46 .. 02:48:05 -rw-rw-r--. 1 jenkins jenkins 3943 Apr 16 02:46 Attribution.txt 02:48:05 drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 02:46 bin 02:48:05 drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 02:46 cmd 02:48:05 -rw-r--r--. 1 jenkins jenkins 18213 Apr 16 02:47 coverage.out 02:48:05 -rw-rw-r--. 1 jenkins jenkins 1626 Apr 16 02:46 Dockerfile 02:48:05 -rw-rw-r--. 1 jenkins jenkins 953 Apr 16 02:46 Dockerfile.build 02:48:05 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 02:46 .dockerignore 02:48:05 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 02:46 .git 02:48:05 -rw-rw-r--. 1 jenkins jenkins 335 Apr 16 02:46 .gitignore 02:48:05 -rw-r--r--. 1 jenkins jenkins 581 Apr 16 02:48 go.mod 02:48:05 -rw-r--r--. 1 jenkins jenkins 12267 Apr 16 02:48 go.sum 02:48:05 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 02:46 internal 02:48:05 -rw-rw-r--. 1 jenkins jenkins 700 Apr 16 02:46 Jenkinsfile 02:48:05 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 02:46 LICENSE 02:48:05 -rw-rw-r--. 1 jenkins jenkins 902 Apr 16 02:46 Makefile 02:48:05 drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 02:46 mock 02:48:05 -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 02:46 README.md 02:48:05 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 02:46 .semver 02:48:05 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 02:46 snap 02:48:05 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 02:43 VERSION 02:48:05 -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:48:05 + 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=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee --label arch=amd64 --label version=0.0.0 . 02:48:05 Sending build context to Docker daemon 563.2kB 02:48:05 Step 1/19 : ARG BASE=golang:1.13-alpine 02:48:05 Step 2/19 : FROM ${BASE} AS builder 02:48:05 ---> f288efb9162d 02:48:05 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:48:05 ---> Running in 09d1dd20f6fa 02:48:05 Removing intermediate container 09d1dd20f6fa 02:48:05 ---> f01bf1668a08 02:48:05 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 02:48:05 ---> Running in 4016aacab79e 02:48:05 Removing intermediate container 4016aacab79e 02:48:05 ---> e9f43366d20e 02:48:05 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:05 ---> Running in cc855022b045 02:48:06 Removing intermediate container cc855022b045 02:48:06 ---> d27a43286b79 02:48:06 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:06 ---> Running in 7091f3835a63 02:48:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:48:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:48:08 OK: 214 MiB in 52 packages 02:48:08 Removing intermediate container 7091f3835a63 02:48:08 ---> 731c3f7c6fa5 02:48:08 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 02:48:08 ---> Running in 0ab3cf2f0043 02:48:08 Removing intermediate container 0ab3cf2f0043 02:48:08 ---> e1d83cb8e67c 02:48:08 Step 8/19 : COPY . . 02:48:08 ---> dc5e29f3b920 02:48:08 Step 9/19 : ARG MAKE='make build' 02:48:09 ---> Running in 5deddd4ad7b2 02:48:09 Removing intermediate container 5deddd4ad7b2 02:48:09 ---> 06e41d5b7fa0 02:48:09 Step 10/19 : RUN $MAKE 02:48:09 ---> Running in 6bc7ef79cb06 02:48:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 02:48:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:48:25 Removing intermediate container 6bc7ef79cb06 02:48:25 ---> 1b63c418f11e 02:48:25 Step 11/19 : FROM alpine 02:48:25 latest: Pulling from library/alpine 02:48:25 aad63a933944: Pulling fs layer 02:48:25 aad63a933944: Verifying Checksum 02:48:25 aad63a933944: Download complete 02:48:25 aad63a933944: Pull complete 02:48:25 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 02:48:25 Status: Downloaded newer image for alpine:latest 02:48:25 ---> a187dde48cd2 02:48:25 Step 12/19 : ENV APP_PORT=49982 02:48:25 ---> Running in a27471394e02 02:48:25 Removing intermediate container a27471394e02 02:48:25 ---> a279a4f6a832 02:48:25 Step 13/19 : EXPOSE $APP_PORT 02:48:26 ---> Running in 22db158333e6 02:48:26 Removing intermediate container 22db158333e6 02:48:26 ---> 13f35b2065d8 02:48:26 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 02:48:26 ---> 310f054fabf9 02:48:26 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 02:48:26 ---> Running in 591a296b8294 02:48:26 Removing intermediate container 591a296b8294 02:48:26 ---> fd8dd7542238 02:48:26 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 02:48:26 ---> Running in d26a6ca12432 02:48:26 Removing intermediate container d26a6ca12432 02:48:26 ---> 579ae0dcd7df 02:48:26 Step 17/19 : LABEL arch=amd64 02:48:27 ---> Running in 3a40485b928c 02:48:27 Removing intermediate container 3a40485b928c 02:48:27 ---> 00359e87ad44 02:48:27 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:48:27 ---> Running in d1a2337e106f 02:48:27 Removing intermediate container d1a2337e106f 02:48:27 ---> a9d907c09628 02:48:27 Step 19/19 : LABEL version=0.0.0 02:48:27 ---> Running in f82043a9ec8f 02:48:27 Removing intermediate container f82043a9ec8f 02:48:27 ---> c782bc0a1a69 02:48:27 [Warning] One or more build-args [ARCH] were not consumed 02:48:27 Successfully built c782bc0a1a69 02:48:27 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 02:48:28 ++ find /w/workspace/device-mqtt-go/2 02:48:28 ++ grep snapcraft.yaml 02:48:28 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:28 provisioning config files... 02:48:28 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config2636491634217221433tmp [Pipeline] { [Pipeline] sh 02:48:28 + cp /w/workspace/device-mqtt-go/2@tmp/config2636491634217221433tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 02:48:29 + 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 02:48:29 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 02:48:29 latest: Pulling from edgex-devops/edgex-snap-builder 02:48:29 5bed26d33875: Pulling fs layer 02:48:29 f11b29a9c730: Pulling fs layer 02:48:29 930bda195c84: Pulling fs layer 02:48:29 78bf9a5ad49e: Pulling fs layer 02:48:29 e75ab6511037: Pulling fs layer 02:48:29 04d638ffbd94: Pulling fs layer 02:48:29 f4f5cce346a8: Pulling fs layer 02:48:29 78bf9a5ad49e: Waiting 02:48:29 704472b7d14e: Pulling fs layer 02:48:29 e75ab6511037: Waiting 02:48:29 d92ed03d1dad: Pulling fs layer 02:48:29 04d638ffbd94: Waiting 02:48:29 f4f5cce346a8: Waiting 02:48:29 704472b7d14e: Waiting 02:48:29 d92ed03d1dad: Waiting 02:48:29 930bda195c84: Verifying Checksum 02:48:29 930bda195c84: Download complete 02:48:29 f11b29a9c730: Verifying Checksum 02:48:29 f11b29a9c730: Download complete 02:48:29 78bf9a5ad49e: Download complete 02:48:29 04d638ffbd94: Verifying Checksum 02:48:29 04d638ffbd94: Download complete 02:48:29 f4f5cce346a8: Verifying Checksum 02:48:29 f4f5cce346a8: Download complete 02:48:29 704472b7d14e: Verifying Checksum 02:48:29 704472b7d14e: Download complete 02:48:29 d92ed03d1dad: Verifying Checksum 02:48:29 d92ed03d1dad: Download complete 02:48:29 5bed26d33875: Verifying Checksum 02:48:29 5bed26d33875: Download complete 02:48:32 e75ab6511037: Verifying Checksum 02:48:32 e75ab6511037: Download complete 02:48:33 5bed26d33875: Pull complete 02:48:34 f11b29a9c730: Pull complete 02:48:34 930bda195c84: Pull complete 02:48:34 78bf9a5ad49e: Pull complete 02:48:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:48:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 29.8% of statements 02:48:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:48:46 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:48:54 gofmt -l . 02:48:54 ["`gofmt -l .`" = ""] 02:48:54 ./bin/test-attribution-txt.sh 02:48:54 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:48:55 Warning: overwriting stash ‘coverage-report’ 02:48:55 Stashed 1 file(s) [Pipeline] } 02:48:55 $ docker stop --time=1 efe3be1fa001deadb117ef112acdc20f6efddbc0b87e828d75056224862c9995 02:48:56 e75ab6511037: Pull complete 02:48:56 04d638ffbd94: Pull complete 02:48:56 f4f5cce346a8: Pull complete 02:48:56 704472b7d14e: Pull complete 02:48:56 d92ed03d1dad: Pull complete 02:48:56 Digest: sha256:834ffeafcc9ca33964284e701e2fd595e30a976ce23a06ba08cd3e3051b3b84d 02:48:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 02:48:58 $ docker rm -f efe3be1fa001deadb117ef112acdc20f6efddbc0b87e828d75056224862c9995 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:59 + ls -al . 02:48:59 total 124 02:48:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 02:48 . 02:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 02:46 .. 02:48:59 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 02:46 .dockerignore 02:48:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 02:46 .git 02:48:59 -rw-rw-r-- 1 jenkins jenkins 335 Apr 16 02:46 .gitignore 02:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 02:46 .semver 02:48:59 -rw-rw-r-- 1 jenkins jenkins 3943 Apr 16 02:46 Attribution.txt 02:48:59 -rw-rw-r-- 1 jenkins jenkins 1626 Apr 16 02:46 Dockerfile 02:48:59 -rw-rw-r-- 1 jenkins jenkins 953 Apr 16 02:46 Dockerfile.build 02:48:59 -rw-rw-r-- 1 jenkins jenkins 700 Apr 16 02:46 Jenkinsfile 02:48:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 02:46 LICENSE 02:48:59 -rw-rw-r-- 1 jenkins jenkins 902 Apr 16 02:46 Makefile 02:48:59 -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 02:46 README.md 02:48:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 02:43 VERSION 02:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 02:46 bin 02:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 02:46 cmd 02:48:59 -rw-r--r-- 1 jenkins jenkins 18213 Apr 16 02:48 coverage.out 02:48:59 -rw-r--r-- 1 jenkins jenkins 581 Apr 16 02:48 go.mod 02:48:59 -rw-r--r-- 1 jenkins jenkins 12267 Apr 16 02:48 go.sum 02:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 02:46 internal 02:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 02:46 mock 02:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 02:46 snap 02:48:59 -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:59 + 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=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee --label arch=arm64 --label version=0.0.0 . 02:49:00 Sending build context to Docker daemon 563.2kB 02:49:00 Step 1/19 : ARG BASE=golang:1.13-alpine 02:49:00 Step 2/19 : FROM ${BASE} AS builder 02:49:00 ---> ac1d6c6c9bea 02:49:00 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 02:49:00 ---> Running in 753b44b06d93 02:49:00 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 02:49:01 Removing intermediate container 753b44b06d93 02:49:01 ---> afdc402b5e49 02:49:01 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 02:49:01 ---> Running in f7026a46da7e 02:49:01 Removing intermediate container f7026a46da7e 02:49:01 ---> 86b3496e1957 02:49:01 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:01 ---> Running in 770af088bcc8 02:49:02 Reading package lists... 02:49:02 Building dependency tree... 02:49:02 Reading state information... 02:49:02 The following packages were automatically installed and are no longer required: 02:49:02 libjq1 liblzo2-2 libonig4 02:49:02 Use 'sudo apt autoremove' to remove them. 02:49:02 Suggested packages: 02:49:02 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 02:49:02 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 02:49:02 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 02:49:02 libterm-readline-gnu-perl | libterm-readline-perl-perl 02:49:02 The following NEW packages will be installed: 02:49:02 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 02:49:02 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 02:49:02 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 02:49:02 openssh-client patch perl perl-modules-5.26 xauth 02:49:03 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 02:49:03 Need to get 14.7 MB of archives. 02:49:03 After this operation, 89.5 MB of additional disk space will be used. 02:49:03 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 02:49:03 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 02:49:03 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 02:49:03 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 02:49:03 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 02:49:03 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 02:49:03 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 02:49:03 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 02:49:03 Removing intermediate container 770af088bcc8 02:49:03 ---> 6907b2826238 02:49:03 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:03 ---> Running in 784c05aff6f5 02:49:03 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 02:49:03 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 02:49:03 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 02:49:03 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 02:49:03 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 02:49:03 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 02:49:03 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 02:49:03 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 02:49:03 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 02:49:03 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 02:49:03 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 02:49:04 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 02:49:04 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 02:49:04 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 02:49:04 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 02:49:04 Ign:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 02:49:04 Ign:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 02:49:04 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 02:49:04 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 02:49:04 Err:24 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 02:49:04 404 Not Found [IP: 91.189.88.142 80] 02:49:04 Err:25 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 02:49:04 404 Not Found [IP: 91.189.88.142 80] 02:49:04 Fetched 10.0 MB in 1s (7352 kB/s) 02:49:04 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.17.1-1ubuntu0.5_all.deb 404 Not Found [IP: 91.189.88.142 80] 02:49:04 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_2.17.1-1ubuntu0.5_amd64.deb 404 Not Found [IP: 91.189.88.142 80] 02:49:04 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 02:49:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:49:04 Could not install all requested build packages: 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 02:49:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:49:05 OK: 203 MiB in 52 packages [Pipeline] } 02:49:05 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] } 02:49:06 Failed in branch amd64 02:49:06 Removing intermediate container 784c05aff6f5 02:49:06 ---> dcb994547693 02:49:06 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 02:49:06 ---> Running in ae90bc42bb92 02:49:07 Removing intermediate container ae90bc42bb92 02:49:07 ---> cadbfa6ddfc2 02:49:07 Step 8/19 : COPY . . 02:49:08 ---> e73a5ed81bbb 02:49:08 Step 9/19 : ARG MAKE='make build' 02:49:08 ---> Running in b6ddbd39ab5e 02:49:08 Removing intermediate container b6ddbd39ab5e 02:49:08 ---> 4009596af05f 02:49:08 Step 10/19 : RUN $MAKE 02:49:08 ---> Running in 42573979b1cd 02:49:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 02:49:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:49:58 Removing intermediate container 42573979b1cd 02:49:58 ---> 70a493df8372 02:49:58 Step 11/19 : FROM alpine 02:49:58 latest: Pulling from library/alpine 02:49:58 8a0637ca1ac9: Pulling fs layer 02:49:58 8a0637ca1ac9: Download complete 02:49:58 8a0637ca1ac9: Pull complete 02:49:58 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 02:49:58 Status: Downloaded newer image for alpine:latest 02:49:58 ---> 2ee122dcc32d 02:49:58 Step 12/19 : ENV APP_PORT=49982 02:49:58 ---> Running in ad5e6f2b859a 02:49:59 Removing intermediate container ad5e6f2b859a 02:49:59 ---> 513de10c9dac 02:49:59 Step 13/19 : EXPOSE $APP_PORT 02:49:59 ---> Running in efe5edb0a95f 02:49:59 Removing intermediate container efe5edb0a95f 02:49:59 ---> 44934f996a1d 02:49:59 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 02:50:01 ---> 60c977d55198 02:50:01 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 02:50:01 ---> Running in aacecb15ff55 02:50:01 Removing intermediate container aacecb15ff55 02:50:01 ---> d6a0c9f83888 02:50:01 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 02:50:01 ---> Running in 5e1f282ce210 02:50:02 Removing intermediate container 5e1f282ce210 02:50:02 ---> c0d95a247bc0 02:50:02 Step 17/19 : LABEL arch=arm64 02:50:02 ---> Running in dbf1a5f049ee 02:50:02 Removing intermediate container dbf1a5f049ee 02:50:02 ---> 635035d8a19c 02:50:02 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 02:50:02 ---> Running in 2aec618784b8 02:50:03 Removing intermediate container 2aec618784b8 02:50:03 ---> 7cdc8f93eed4 02:50:03 Step 19/19 : LABEL version=0.0.0 02:50:03 ---> Running in 1ed1ec26de1a 02:50:03 Removing intermediate container 1ed1ec26de1a 02:50:03 ---> e982db356d30 02:50:03 [Warning] One or more build-args [ARCH] were not consumed 02:50:03 Successfully built e982db356d30 02:50:03 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:04 + find /w/workspace/device-mqtt-go/2 02:50:04 + grep snapcraft.yaml 02:50:04 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:04 provisioning config files... 02:50:04 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config9218924702799183152tmp [Pipeline] { [Pipeline] sh 02:50:04 + cp /w/workspace/device-mqtt-go/2@tmp/config9218924702799183152tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 02:50:05 + 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 02:50:05 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 02:50:05 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 02:50:05 b2f61026a351: Pulling fs layer 02:50:05 5538fb30c42c: Pulling fs layer 02:50:05 f0b05810781a: Pulling fs layer 02:50:05 0180a33352d6: Pulling fs layer 02:50:05 aed7a3056e2b: Pulling fs layer 02:50:05 d39a94810997: Pulling fs layer 02:50:05 1eacfb9348ea: Pulling fs layer 02:50:05 b94196875123: Pulling fs layer 02:50:05 1787fae59f1e: Pulling fs layer 02:50:05 d39a94810997: Waiting 02:50:05 1eacfb9348ea: Waiting 02:50:05 b94196875123: Waiting 02:50:05 1787fae59f1e: Waiting 02:50:05 0180a33352d6: Waiting 02:50:05 aed7a3056e2b: Waiting 02:50:05 5538fb30c42c: Download complete 02:50:05 f0b05810781a: Verifying Checksum 02:50:05 f0b05810781a: Download complete 02:50:05 0180a33352d6: Verifying Checksum 02:50:05 0180a33352d6: Download complete 02:50:05 d39a94810997: Verifying Checksum 02:50:05 d39a94810997: Download complete 02:50:05 1eacfb9348ea: Verifying Checksum 02:50:05 1eacfb9348ea: Download complete 02:50:05 b94196875123: Verifying Checksum 02:50:05 b94196875123: Download complete 02:50:05 1787fae59f1e: Verifying Checksum 02:50:05 1787fae59f1e: Download complete 02:50:07 b2f61026a351: Verifying Checksum 02:50:07 b2f61026a351: Download complete 02:50:11 b2f61026a351: Pull complete 02:50:11 5538fb30c42c: Pull complete 02:50:11 f0b05810781a: Pull complete 02:50:11 0180a33352d6: Pull complete 02:50:33 aed7a3056e2b: Verifying Checksum 02:50:33 aed7a3056e2b: Download complete 02:51:00 aed7a3056e2b: Pull complete 02:51:00 d39a94810997: Pull complete 02:51:00 1eacfb9348ea: Pull complete 02:51:00 b94196875123: Pull complete 02:51:00 1787fae59f1e: Pull complete 02:51:00 Digest: sha256:5f17aae970066bf76af069ac7b5f55fa93cddf640a8680fc14f3ae34a92c05a7 02:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 02:51:18 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 02:51:20 Reading package lists... 02:51:21 Building dependency tree... 02:51:21 Reading state information... 02:51:22 The following packages were automatically installed and are no longer required: 02:51:22 libjq1 liblzo2-2 libonig4 02:51:22 Use 'sudo apt autoremove' to remove them. 02:51:22 Suggested packages: 02:51:22 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 02:51:22 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 02:51:22 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 02:51:22 libterm-readline-gnu-perl | libterm-readline-perl-perl 02:51:22 The following NEW packages will be installed: 02:51:22 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 02:51:22 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 02:51:22 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 02:51:22 openssh-client patch perl perl-modules-5.26 xauth 02:51:22 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 02:51:22 Need to get 12.9 MB of archives. 02:51:22 After this operation, 84.2 MB of additional disk space will be used. 02:51:22 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 02:51:23 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 02:51:23 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 02:51:23 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 02:51:23 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 02:51:23 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 02:51:23 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 02:51:23 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 02:51:23 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 02:51:23 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 02:51:23 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 02:51:24 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 02:51:24 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 02:51:24 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 02:51:24 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 02:51:24 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 02:51:24 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 02:51:24 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 02:51:24 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 02:51:24 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 02:51:24 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 02:51:24 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 02:51:24 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 02:51:24 Ign:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 02:51:24 Ign:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 02:51:24 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 02:51:24 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 02:51:24 Err:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 02:51:24 404 Not Found [IP: 91.189.88.150 80] 02:51:24 Err:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 02:51:24 404 Not Found [IP: 91.189.88.150 80] 02:51:24 Fetched 9181 kB in 2s (4954 kB/s) 02:51:24 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git-man_2.17.1-1ubuntu0.5_all.deb 404 Not Found [IP: 91.189.88.150 80] 02:51:24 E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/g/git/git_2.17.1-1ubuntu0.5_arm64.deb 404 Not Found [IP: 91.189.88.150 80] 02:51:24 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 02:51:24 Could not install all requested build packages: 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 [Pipeline] } 02:51:25 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] } 02:51:26 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:28 ---> package-listing.sh 02:51:28 ++ facter osfamily 02:51:28 ++ tr '[:upper:]' '[:lower:]' 02:51:28 + OS_FAMILY=redhat 02:51:28 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-139 02:51:28 + START_PACKAGES=/tmp/packages_start.txt 02:51:28 + END_PACKAGES=/tmp/packages_end.txt 02:51:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:28 + PACKAGES=/tmp/packages_start.txt 02:51:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 02:51:28 + PACKAGES=/tmp/packages_end.txt 02:51:28 + case "${OS_FAMILY}" in 02:51:28 + rpm -qa 02:51:28 + sort 02:51:32 + '[' -f /tmp/packages_start.txt ']' 02:51:32 + '[' -f /tmp/packages_end.txt ']' 02:51:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 02:51:32 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ 02:51:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh 02:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:32 02:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:33 alpine: Pulling from edgex-lftools-log-publisher 02:51:33 c9b1b535fdd9: Pulling fs layer 02:51:33 2cc5ad85d9ab: Pulling fs layer 02:51:33 756a868c4378: Pulling fs layer 02:51:33 444b2fc9a129: Pulling fs layer 02:51:33 ea15f1150254: Pulling fs layer 02:51:33 41b27a9f41bf: Pulling fs layer 02:51:33 28c525ee5125: Pulling fs layer 02:51:33 094b1ea09ed8: Pulling fs layer 02:51:33 138eaada9080: Pulling fs layer 02:51:33 0622d0fa9048: Pulling fs layer 02:51:33 28c525ee5125: Waiting 02:51:33 444b2fc9a129: Waiting 02:51:33 094b1ea09ed8: Waiting 02:51:33 138eaada9080: Waiting 02:51:33 0622d0fa9048: Waiting 02:51:33 ea15f1150254: Waiting 02:51:33 41b27a9f41bf: Waiting 02:51:33 2cc5ad85d9ab: Verifying Checksum 02:51:33 2cc5ad85d9ab: Download complete 02:51:33 444b2fc9a129: Verifying Checksum 02:51:33 444b2fc9a129: Download complete 02:51:33 c9b1b535fdd9: Verifying Checksum 02:51:33 c9b1b535fdd9: Download complete 02:51:33 ea15f1150254: Download complete 02:51:33 28c525ee5125: Verifying Checksum 02:51:33 28c525ee5125: Download complete 02:51:33 756a868c4378: Verifying Checksum 02:51:33 756a868c4378: Download complete 02:51:33 c9b1b535fdd9: Pull complete 02:51:33 138eaada9080: Verifying Checksum 02:51:33 138eaada9080: Download complete 02:51:33 0622d0fa9048: Verifying Checksum 02:51:33 0622d0fa9048: Download complete 02:51:34 094b1ea09ed8: Verifying Checksum 02:51:34 094b1ea09ed8: Download complete 02:51:34 2cc5ad85d9ab: Pull complete 02:51:34 41b27a9f41bf: Verifying Checksum 02:51:34 41b27a9f41bf: Download complete 02:51:35 756a868c4378: Pull complete 02:51:35 444b2fc9a129: Pull complete 02:51:36 ea15f1150254: Pull complete 02:51:39 41b27a9f41bf: Pull complete 02:51:39 28c525ee5125: Pull complete 02:51:41 094b1ea09ed8: Pull complete 02:51:41 138eaada9080: Pull complete 02:51:41 0622d0fa9048: Pull complete 02:51:41 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:41 prd-centos7-docker-4c-2g-4181 does not seem to be running inside a container 02:51:41 $ 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-139 -v /w/workspace/gexfoundry_device-mqtt-go_PR-139:/w/workspace/gexfoundry_device-mqtt-go_PR-139:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:42 $ docker top 8e936a1fef126c9b3a5a10f1b1c281f6f6410605cfb7a32718220511260bf92f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:43 provisioning config files... 02:51:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/config1239522415469637332tmp [Pipeline] { [Pipeline] echo 02:51:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:43 ---> create-netrc.sh [Pipeline] echo 02:51:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:43 ---> logs-deploy.sh 02:51:43 + ARCHIVE_ARTIFACTS= 02:51:43 + LOGS_SERVER=https://logs.edgexfoundry.org 02:51:43 + '[' https://logs.edgexfoundry.org == None ']' 02:51:43 + NEXUS_URL=https://nexus.edgexfoundry.org 02:51:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/2 02:51:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/2/ 02:51:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/2 /w/workspace/gexfoundry_device-mqtt-go_PR-139 02:51:45 Archives upload complete. 02:51:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/2/