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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4295 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 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 Fetching without tags Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) > 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 > 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 14:38:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:38:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:38:31 ========================================================= 14:38:31 EdgeX Global Pipelines Version Info 14:38:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:38:32 ------------------- 14:38:32 stable info: 14:38:32 ------------------- 14:38:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:38:32 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:38:32 Message: update stable to v1.0.73 14:38:33 ------------------- 14:38:33 experimental info: 14:38:33 ------------------- 14:38:33 Commited By: **** collab-it+edgex@linuxfoundation.org 14:38:33 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 14:38:33 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 14:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:38:35 14:38:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:38:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:38:35 latest: Pulling from edgex-devops/git-semver 14:38:35 9123ac7c32f7: Pulling fs layer 14:38:35 b8cc5d1170e3: Pulling fs layer 14:38:35 2924cbbf6a41: Pulling fs layer 14:38:35 93b08a4f1073: Pulling fs layer 14:38:35 93b08a4f1073: Waiting 14:38:35 b8cc5d1170e3: Download complete 14:38:35 9123ac7c32f7: Verifying Checksum 14:38:35 9123ac7c32f7: Download complete 14:38:35 93b08a4f1073: Verifying Checksum 14:38:35 93b08a4f1073: Download complete 14:38:35 2924cbbf6a41: Verifying Checksum 14:38:35 2924cbbf6a41: Download complete 14:38:35 9123ac7c32f7: Pull complete 14:38:35 b8cc5d1170e3: Pull complete 14:38:36 2924cbbf6a41: Pull complete 14:38:36 93b08a4f1073: Pull complete 14:38:36 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 14:38:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:38:37 prd-centos7-docker-4c-2g-4295 does not seem to be running inside a container 14:38:37 $ 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 14:38:37 $ docker top 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:38:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:38:38 [ssh-agent] Looking for ssh-agent implementation... 14:38:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:38:38 $ docker exec 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent 14:38:38 SSH_AUTH_SOCK=/tmp/ssh-5nSF3x5hgOQu/agent.15 14:38:38 SSH_AGENT_PID=22 14:38:38 Running ssh-add (command line suppressed) 14:38:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_6885528038084691460.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_6885528038084691460.key) 14:38:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:38:39 + git describe --exact-match --tags HEAD 14:38:39 fatal: No names found, cannot describe anything. [Pipeline] } 14:38:39 $ docker exec --env ******** --env ******** 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent -k 14:38:39 unset SSH_AUTH_SOCK; 14:38:39 unset SSH_AGENT_PID; 14:38:39 echo Agent pid 22 killed; 14:38:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 14:38:39 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 14:38:39 This usually means this commit has not been tagged. [Pipeline] sshagent 14:38:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:38:39 [ssh-agent] Looking for ssh-agent implementation... 14:38:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:38:39 $ docker exec 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent 14:38:39 SSH_AUTH_SOCK=/tmp/ssh-fdECeBoCIWMU/agent.57 14:38:39 SSH_AGENT_PID=64 14:38:39 Running ssh-add (command line suppressed) 14:38:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_7445755576371207127.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_7445755576371207127.key) 14:38:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:38:40 + git semver init 14:38:40 # -> Open(): unable to determine branch for HEAD 14:38:40 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.git 14:38:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-139 14:38:40 # $SEMVER_REMOTE_NAME = origin 14:38:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:38:40 # $SEMVER_USER_NAME = edgex-jenkins 14:38:40 # $SEMVER_BRANCH = PR-139 14:38:40 # $SEMVER_TEMP = /tmp/semver-270515649 14:38:40 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 14:38:41 # '/tmp/semver-270515649' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver' 14:38:41 # -> Force: false 14:38:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver [Pipeline] } 14:38:41 $ docker exec --env ******** --env ******** 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent -k 14:38:41 unset SSH_AUTH_SOCK; 14:38:41 unset SSH_AGENT_PID; 14:38:41 echo Agent pid 64 killed; 14:38:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:38:41 + git semver [Pipeline] } 14:38:41 $ docker stop --time=1 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a 14:38:43 $ docker rm -f 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 14:38:43 Stashed 21 file(s) [Pipeline] echo 14:38:43 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:38:59 Still waiting to schedule task 14:38:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:38:59 Still waiting to schedule task 14:38:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 14:41:11 Running on prd-centos7-docker-4c-2g-4298 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 14:41:11 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 14:41:14 using credential edgex-jenkins-ssh 14:41:14 Cloning the remote Git repository 14:41:14 Cloning with configured refspecs honoured and without tags 14:41:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:41:14 > git init /w/workspace/device-mqtt-go/3 # timeout=10 14:41:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:41:14 > git --version # timeout=10 14:41:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:14 > 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 14:41:15 Fetching without tags 14:41:15 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:41:15 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:41:15 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 14:41:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:41:14 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 14:41:14 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:41:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:41:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:41:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:14 > 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 14:41:15 > git config core.sparsecheckout # timeout=10 14:41:15 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 14:41:15 > git remote # timeout=10 14:41:15 > git config --get remote.origin.url # timeout=10 14:41:15 using GIT_SSH to set credentials SSH Credentials for GitHub 14:41:15 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 14:41:15 > git rev-parse HEAD^{commit} # timeout=10 14:41:15 > git config core.sparsecheckout # timeout=10 14:41:15 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 14:41:19 Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:41:20 ========================================================= 14:41:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 14:41:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:41:21 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 14:41:21 Sending build context to Docker daemon 544.3kB 14:41:21 Step 1/8 : ARG BASE=golang:1.13-alpine 14:41:21 Step 2/8 : FROM ${BASE} 14:41:21 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 14:41:21 e6b0cf9c0882: Pulling fs layer 14:41:21 2848faf0eed1: Pulling fs layer 14:41:21 0f37312ad70f: Pulling fs layer 14:41:21 5788d62ee057: Pulling fs layer 14:41:21 0e6b1d234666: Pulling fs layer 14:41:21 bf5d7aec512f: Pulling fs layer 14:41:21 34c802a77dc8: Pulling fs layer 14:41:21 9eb99e56ec68: Pulling fs layer 14:41:21 27c7a5d97fbd: Pulling fs layer 14:41:21 5c102a31e300: Pulling fs layer 14:41:21 dcfb455df0a1: Pulling fs layer 14:41:21 34c802a77dc8: Waiting 14:41:21 9eb99e56ec68: Waiting 14:41:21 27c7a5d97fbd: Waiting 14:41:21 5c102a31e300: Waiting 14:41:21 dcfb455df0a1: Waiting 14:41:21 5788d62ee057: Waiting 14:41:21 0e6b1d234666: Waiting 14:41:21 bf5d7aec512f: Waiting 14:41:21 0f37312ad70f: Verifying Checksum 14:41:21 0f37312ad70f: Download complete 14:41:21 2848faf0eed1: Download complete 14:41:21 0e6b1d234666: Download complete 14:41:21 e6b0cf9c0882: Verifying Checksum 14:41:21 e6b0cf9c0882: Download complete 14:41:21 bf5d7aec512f: Verifying Checksum 14:41:21 bf5d7aec512f: Download complete 14:41:21 e6b0cf9c0882: Pull complete 14:41:22 34c802a77dc8: Verifying Checksum 14:41:22 34c802a77dc8: Download complete 14:41:22 27c7a5d97fbd: Verifying Checksum 14:41:22 27c7a5d97fbd: Download complete 14:41:22 5c102a31e300: Verifying Checksum 14:41:22 5c102a31e300: Download complete 14:41:23 dcfb455df0a1: Verifying Checksum 14:41:23 dcfb455df0a1: Download complete 14:41:23 9eb99e56ec68: Verifying Checksum 14:41:23 9eb99e56ec68: Download complete 14:41:23 5788d62ee057: Verifying Checksum 14:41:23 5788d62ee057: Download complete 14:41:24 2848faf0eed1: Pull complete 14:41:24 0f37312ad70f: Pull complete 14:41:30 5788d62ee057: Pull complete 14:41:30 0e6b1d234666: Pull complete 14:41:30 bf5d7aec512f: Pull complete 14:41:34 34c802a77dc8: Pull complete 14:41:38 9eb99e56ec68: Pull complete 14:41:38 27c7a5d97fbd: Pull complete 14:41:38 5c102a31e300: Pull complete 14:41:38 dcfb455df0a1: Pull complete 14:41:38 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 14:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 14:41:38 ---> 7c70fe431013 14:41:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:41:38 ---> Running in dab963b88c3c 14:41:38 Removing intermediate container dab963b88c3c 14:41:38 ---> 0ac6f9c64242 14:41:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:41:38 ---> Running in 7f27402e81fd 14:41:39 Removing intermediate container 7f27402e81fd 14:41:39 ---> 278384bc832d 14:41:39 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:41:39 ---> Running in 04c195c6d627 14:41:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:41:40 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:41:41 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:41:41 (2/17) Installing libmagic (5.37-r1) 14:41:41 (3/17) Installing file (5.37-r1) 14:41:41 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:41:42 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:41:42 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:41:46 (7/17) Installing libc-dev (0.7.2-r0) 14:41:46 (8/17) Installing g++ (9.2.0-r4) 14:41:47 (9/17) Installing fortify-headers (1.1-r0) 14:41:47 (10/17) Installing build-base (0.5-r1) 14:41:47 (11/17) Installing openssh-keygen (8.1_p1-r0) 14:41:47 (12/17) Installing libedit (20191211.3.1-r0) 14:41:47 (13/17) Installing openssh-client (8.1_p1-r0) 14:41:48 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 14:41:48 (15/17) Installing openssh-server-common (8.1_p1-r0) 14:41:48 (16/17) Installing openssh-server (8.1_p1-r0) 14:41:48 (17/17) Installing openssh (8.1_p1-r0) 14:41:48 Executing busybox-1.31.1-r8.trigger 14:41:48 OK: 214 MiB in 52 packages 14:41:52 Removing intermediate container 04c195c6d627 14:41:52 ---> 9ad2bb92cbfb 14:41:52 Step 6/8 : WORKDIR /device-mqtt-go 14:41:52 ---> Running in 992c9362fb9e 14:41:52 Removing intermediate container 992c9362fb9e 14:41:52 ---> 0a909141145a 14:41:52 Step 7/8 : COPY . . 14:41:52 ---> e3e9cdc87a10 14:41:52 Step 8/8 : RUN go mod download 14:41:52 ---> Running in 96d80182784a 14:41:55 go: finding github.com/BurntSushi/toml v0.3.1 14:41:55 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:41:55 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:41:55 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:41:55 go: finding github.com/bgentry/speakeasy v0.1.0 14:41:55 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 14:41:55 go: finding github.com/davecgh/go-spew v1.1.1 14:41:55 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:41:55 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 14:41:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 14:41:55 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 14:41:55 go: finding github.com/fatih/color v1.7.0 14:41:55 go: finding github.com/go-kit/kit v0.8.0 14:41:55 go: finding github.com/go-logfmt/logfmt v0.4.0 14:41:55 go: finding github.com/go-stack/stack v1.8.0 14:41:55 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:41:55 go: finding github.com/google/uuid v1.1.1 14:41:55 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 14:41:55 go: finding github.com/gorilla/mux v1.7.0 14:41:55 go: finding github.com/hashicorp/consul v1.4.2 14:41:55 go: finding github.com/hashicorp/errwrap v1.0.0 14:41:55 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 14:41:55 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:41:55 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:41:55 go: finding github.com/hashicorp/go-multierror v1.0.0 14:41:55 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:41:55 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:41:55 go: finding github.com/hashicorp/go-syslog v1.0.0 14:41:55 go: finding github.com/hashicorp/go-uuid v1.0.1 14:41:55 go: finding github.com/hashicorp/go.net v0.0.1 14:41:55 go: finding github.com/hashicorp/golang-lru v0.5.0 14:41:55 go: finding github.com/hashicorp/logutils v1.0.0 14:41:55 go: finding github.com/hashicorp/mdns v1.0.0 14:41:55 go: finding github.com/hashicorp/memberlist v0.1.3 14:41:55 go: finding github.com/hashicorp/serf v0.8.2 14:41:55 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:41:55 go: finding github.com/kr/pretty v0.1.0 14:41:55 go: finding github.com/kr/pty v1.1.1 14:41:55 go: finding github.com/kr/text v0.1.0 14:41:55 go: finding github.com/mattn/go-colorable v0.0.9 14:41:55 go: finding github.com/mattn/go-isatty v0.0.3 14:41:55 go: finding github.com/miekg/dns v1.0.14 14:41:55 go: finding github.com/mitchellh/cli v1.0.0 14:41:55 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:41:55 go: finding github.com/mitchellh/copystructure v1.0.0 14:41:55 go: finding github.com/mitchellh/go-homedir v1.0.0 14:41:55 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:41:55 go: finding github.com/mitchellh/gox v0.4.0 14:41:55 go: finding github.com/mitchellh/iochan v1.0.0 14:41:55 go: finding github.com/mitchellh/mapstructure v1.1.2 14:41:55 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:41:55 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:41:55 go: finding github.com/pelletier/go-toml v1.2.0 14:41:55 go: finding github.com/pkg/errors v0.8.1 14:41:55 go: finding github.com/pmezard/go-difflib v1.0.0 14:41:55 go: finding github.com/posener/complete v1.1.1 14:41:55 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:41:55 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:41:55 go: finding github.com/spf13/cast v1.3.0 14:41:55 go: finding github.com/stretchr/objx v0.1.0 14:41:55 go: finding github.com/stretchr/testify v1.3.0 14:41:55 go: finding github.com/ugorji/go v1.1.4 14:41:55 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:41:55 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:41:55 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:41:56 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:41:56 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 14:41:56 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:41:56 go: finding gopkg.in/yaml.v2 v2.2.2 14:42:08 Removing intermediate container 96d80182784a 14:42:08 ---> ecf7e43911b7 14:42:08 Successfully built ecf7e43911b7 14:42:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:42:09 + docker inspect -f . ci-base-image-x86_64 14:42:09 . [Pipeline] withDockerContainer 14:42:09 prd-centos7-docker-4c-2g-4298 does not seem to be running inside a container 14:42:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:42:09 $ docker top 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 -eo pid,comm [Pipeline] { [Pipeline] sh 14:42:10 + go version 14:42:10 go version go1.13.5 linux/amd64 [Pipeline] sh 14:42:10 + make test 14:42:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:42:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4297 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 14:42:11 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 14:42:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:42:18 using credential edgex-jenkins-ssh 14:42:18 Cloning the remote Git repository 14:42:18 Cloning with configured refspecs honoured and without tags 14:42:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:42:19 > git init /w/workspace/device-mqtt-go/3 # timeout=10 14:42:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:42:19 > git --version # timeout=10 14:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42: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 14:42:20 Fetching without tags 14:42:20 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:42:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:42:20 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 14:42:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 14:42:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:42:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:20 > 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 14:42:21 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:42:21 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 14:42:20 > git config core.sparsecheckout # timeout=10 14:42:20 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 14:42:20 > git remote # timeout=10 14:42:20 > git config --get remote.origin.url # timeout=10 14:42:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:20 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 14:42:20 > git rev-parse HEAD^{commit} # timeout=10 14:42:21 > git config core.sparsecheckout # timeout=10 14:42:21 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 14:42:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:42:25 Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 14:42:26 ========================================================= 14:42:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 14:42:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 14:42:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 29.8% of statements 14:42:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:42:27 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:42:28 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 14:42:28 Sending build context to Docker daemon 544.3kB 14:42:28 Step 1/8 : ARG BASE=golang:1.13-alpine 14:42:28 Step 2/8 : FROM ${BASE} 14:42:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:42:29 cde5963f3b93: Pulling fs layer 14:42:29 2a23fa8c16f7: Pulling fs layer 14:42:29 777b28850792: Pulling fs layer 14:42:29 8a11ddd9e578: Pulling fs layer 14:42:29 4cf88f913ddb: Pulling fs layer 14:42:29 1df406cf5192: Pulling fs layer 14:42:29 cd6300453558: Pulling fs layer 14:42:29 b9c365052c96: Pulling fs layer 14:42:29 8a11ddd9e578: Waiting 14:42:29 4cf88f913ddb: Waiting 14:42:29 1df406cf5192: Waiting 14:42:29 cd6300453558: Waiting 14:42:29 a2d8cc88f415: Pulling fs layer 14:42:29 ea1d1ca13537: Pulling fs layer 14:42:29 3750a50a1c5e: Pulling fs layer 14:42:29 b9c365052c96: Waiting 14:42:29 a2d8cc88f415: Waiting 14:42:29 ea1d1ca13537: Waiting 14:42:29 3750a50a1c5e: Waiting 14:42:29 777b28850792: Verifying Checksum 14:42:29 777b28850792: Download complete 14:42:29 2a23fa8c16f7: Verifying Checksum 14:42:29 2a23fa8c16f7: Download complete 14:42:29 4cf88f913ddb: Verifying Checksum 14:42:29 4cf88f913ddb: Download complete 14:42:29 1df406cf5192: Download complete 14:42:29 cde5963f3b93: Verifying Checksum 14:42:29 cde5963f3b93: Download complete 14:42:29 gofmt -l . 14:42:29 ["`gofmt -l .`" = ""] 14:42:29 ./bin/test-attribution-txt.sh 14:42:30 cde5963f3b93: Pull complete 14:42:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:42:31 2a23fa8c16f7: Pull complete 14:42:31 Stashed 1 file(s) [Pipeline] } 14:42:31 $ docker stop --time=1 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 14:42:31 777b28850792: Pull complete 14:42:32 $ docker rm -f 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:42:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:42:33 + ls -al . 14:42:33 total 92 14:42:33 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 14:42 . 14:42:33 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 14:41 .. 14:42:33 -rw-rw-r--. 1 jenkins jenkins 3943 Apr 16 14:41 Attribution.txt 14:42:33 drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 14:41 bin 14:42:33 drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 14:41 cmd 14:42:33 -rw-r--r--. 1 jenkins jenkins 18213 Apr 16 14:42 coverage.out 14:42:33 -rw-rw-r--. 1 jenkins jenkins 1626 Apr 16 14:41 Dockerfile 14:42:33 -rw-rw-r--. 1 jenkins jenkins 953 Apr 16 14:41 Dockerfile.build 14:42:33 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:41 .dockerignore 14:42:33 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:41 .git 14:42:33 -rw-rw-r--. 1 jenkins jenkins 335 Apr 16 14:41 .gitignore 14:42:33 -rw-r--r--. 1 jenkins jenkins 581 Apr 16 14:42 go.mod 14:42:33 -rw-r--r--. 1 jenkins jenkins 12267 Apr 16 14:42 go.sum 14:42:33 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:41 internal 14:42:33 -rw-rw-r--. 1 jenkins jenkins 700 Apr 16 14:41 Jenkinsfile 14:42:33 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 14:41 LICENSE 14:42:33 -rw-rw-r--. 1 jenkins jenkins 902 Apr 16 14:41 Makefile 14:42:33 drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 14:41 mock 14:42:33 -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 14:41 README.md 14:42:33 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:41 .semver 14:42:33 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:41 snap 14:42:33 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:38 VERSION 14:42:33 -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 14:41 version.go [Pipeline] isUnix [Pipeline] sh 14:42:34 cd6300453558: Verifying Checksum 14:42:34 cd6300453558: Download complete 14:42:34 a2d8cc88f415: Verifying Checksum 14:42:34 a2d8cc88f415: Download complete 14:42:34 + 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 . 14:42:34 Sending build context to Docker daemon 563.2kB 14:42:34 Step 1/19 : ARG BASE=golang:1.13-alpine 14:42:34 Step 2/19 : FROM ${BASE} AS builder 14:42:34 ---> ecf7e43911b7 14:42:34 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:42:34 ---> Running in 64bdc52981fd 14:42:34 Removing intermediate container 64bdc52981fd 14:42:34 ---> 6041a1273deb 14:42:34 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 14:42:34 ---> Running in 1757c33ae315 14:42:34 Removing intermediate container 1757c33ae315 14:42:34 ---> 3bda888ceddd 14:42:34 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:42:34 ---> Running in 800c6429a895 14:42:35 Removing intermediate container 800c6429a895 14:42:35 ---> 640fcdf3bd54 14:42:35 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:42:35 ---> Running in 633824ea1fa4 14:42:35 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 14:42:36 ea1d1ca13537: Verifying Checksum 14:42:36 ea1d1ca13537: Download complete 14:42:36 3750a50a1c5e: Verifying Checksum 14:42:36 3750a50a1c5e: Download complete 14:42:36 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 14:42:36 OK: 214 MiB in 52 packages 14:42:37 Removing intermediate container 633824ea1fa4 14:42:37 ---> c013e7083002 14:42:37 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 14:42:37 ---> Running in c60c08b29e09 14:42:37 Removing intermediate container c60c08b29e09 14:42:37 ---> dfdad9e25521 14:42:37 Step 8/19 : COPY . . 14:42:37 ---> 1c80e325b3af 14:42:37 Step 9/19 : ARG MAKE='make build' 14:42:37 ---> Running in 0dad8ed0b2f8 14:42:37 Removing intermediate container 0dad8ed0b2f8 14:42:37 ---> 0d1803f0ccc2 14:42:37 Step 10/19 : RUN $MAKE 14:42:37 ---> Running in 9676118e2929 14:42:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:42:38 b9c365052c96: Verifying Checksum 14:42:38 b9c365052c96: Download complete 14:42:40 8a11ddd9e578: Verifying Checksum 14:42:40 8a11ddd9e578: Download complete 14:42:50 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:42:52 8a11ddd9e578: Pull complete 14:42:52 4cf88f913ddb: Pull complete 14:42:52 1df406cf5192: Pull complete 14:42:53 Removing intermediate container 9676118e2929 14:42:53 ---> 75d8e91b617b 14:42:53 Step 11/19 : FROM alpine 14:42:53 latest: Pulling from library/alpine 14:42:53 aad63a933944: Pulling fs layer 14:42:54 aad63a933944: Download complete 14:42:54 aad63a933944: Pull complete 14:42:54 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 14:42:54 Status: Downloaded newer image for alpine:latest 14:42:54 ---> a187dde48cd2 14:42:54 Step 12/19 : ENV APP_PORT=49982 14:42:54 ---> Running in 4c7030ef9aa9 14:42:54 Removing intermediate container 4c7030ef9aa9 14:42:54 ---> 25994234fc56 14:42:54 Step 13/19 : EXPOSE $APP_PORT 14:42:54 ---> Running in e4b1148a8126 14:42:54 Removing intermediate container e4b1148a8126 14:42:54 ---> aceeec2b7232 14:42:54 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 14:42:55 ---> 2c0d43bc2337 14:42:55 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 14:42:55 ---> Running in 76fd98e2f4ae 14:42:55 Removing intermediate container 76fd98e2f4ae 14:42:55 ---> f3a9e3465a66 14:42:55 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 14:42:55 ---> Running in 062db6b7c7db 14:42:55 Removing intermediate container 062db6b7c7db 14:42:55 ---> ebbe247079a9 14:42:55 Step 17/19 : LABEL arch=amd64 14:42:55 ---> Running in 7a78147fce03 14:42:55 Removing intermediate container 7a78147fce03 14:42:55 ---> 21c86cc80fa2 14:42:55 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:42:55 ---> Running in 1a8f4de736ac 14:42:55 Removing intermediate container 1a8f4de736ac 14:42:55 ---> f7f4a4e39831 14:42:55 Step 19/19 : LABEL version=0.0.0 14:42:55 ---> Running in 42e2fac958dc 14:42:55 Removing intermediate container 42e2fac958dc 14:42:55 ---> 3e61c0ac9864 14:42:55 [Warning] One or more build-args [ARCH] were not consumed 14:42:55 Successfully built 3e61c0ac9864 14:42:55 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 14:42:56 cd6300453558: Pull complete Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 14:42:56 ++ find /w/workspace/device-mqtt-go/3 14:42:56 ++ grep snapcraft.yaml 14:42:56 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:56 provisioning config files... 14:42:56 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/3@tmp/config8261050076529390557tmp [Pipeline] { [Pipeline] sh 14:42:57 + cp /w/workspace/device-mqtt-go/3@tmp/config8261050076529390557tmp /w/workspace/device-mqtt-go/3/edgex-snap-store-login [Pipeline] sh 14:42:57 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/3:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 14:42:57 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 14:42:57 latest: Pulling from edgex-devops/edgex-snap-builder 14:42:57 5bed26d33875: Pulling fs layer 14:42:57 f11b29a9c730: Pulling fs layer 14:42:57 930bda195c84: Pulling fs layer 14:42:57 78bf9a5ad49e: Pulling fs layer 14:42:57 e75ab6511037: Pulling fs layer 14:42:57 04d638ffbd94: Pulling fs layer 14:42:57 f4f5cce346a8: Pulling fs layer 14:42:57 704472b7d14e: Pulling fs layer 14:42:57 d92ed03d1dad: Pulling fs layer 14:42:57 04d638ffbd94: Waiting 14:42:57 f4f5cce346a8: Waiting 14:42:57 704472b7d14e: Waiting 14:42:57 d92ed03d1dad: Waiting 14:42:57 78bf9a5ad49e: Waiting 14:42:57 e75ab6511037: Waiting 14:42:57 930bda195c84: Verifying Checksum 14:42:57 930bda195c84: Download complete 14:42:57 f11b29a9c730: Download complete 14:42:57 78bf9a5ad49e: Download complete 14:42:57 04d638ffbd94: Verifying Checksum 14:42:57 04d638ffbd94: Download complete 14:42:57 f4f5cce346a8: Verifying Checksum 14:42:57 f4f5cce346a8: Download complete 14:42:57 704472b7d14e: Download complete 14:42:57 d92ed03d1dad: Verifying Checksum 14:42:57 d92ed03d1dad: Download complete 14:42:57 5bed26d33875: Verifying Checksum 14:42:57 5bed26d33875: Download complete 14:43:01 e75ab6511037: Verifying Checksum 14:43:01 e75ab6511037: Download complete 14:43:01 b9c365052c96: Pull complete 14:43:01 a2d8cc88f415: Pull complete 14:43:02 5bed26d33875: Pull complete 14:43:03 f11b29a9c730: Pull complete 14:43:03 930bda195c84: Pull complete 14:43:03 78bf9a5ad49e: Pull complete 14:43:03 ea1d1ca13537: Pull complete 14:43:04 3750a50a1c5e: Pull complete 14:43:04 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 14:43:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 14:43:04 ---> 78745c68409d 14:43:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 14:43:08 ---> Running in 875fc13d48ea 14:43:08 Removing intermediate container 875fc13d48ea 14:43:08 ---> d8725916de16 14:43:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:08 ---> Running in 0917cda442e4 14:43:10 Removing intermediate container 0917cda442e4 14:43:10 ---> 2d3d66609a91 14:43:10 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 14:43:10 ---> Running in b5779913ec92 14:43:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:43:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:43:13 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 14:43:13 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 14:43:13 (3/18) Installing libmagic (5.37-r1) 14:43:13 (4/18) Installing file (5.37-r1) 14:43:13 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 14:43:13 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 14:43:13 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 14:43:17 (8/18) Installing libc-dev (0.7.2-r0) 14:43:17 (9/18) Installing g++ (9.2.0-r4) 14:43:19 (10/18) Installing fortify-headers (1.1-r0) 14:43:19 (11/18) Installing build-base (0.5-r1) 14:43:19 (12/18) Installing openssh-keygen (8.1_p1-r0) 14:43:19 (13/18) Installing libedit (20191211.3.1-r0) 14:43:19 (14/18) Installing openssh-client (8.1_p1-r0) 14:43:20 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 14:43:20 (16/18) Installing openssh-server-common (8.1_p1-r0) 14:43:20 (17/18) Installing openssh-server (8.1_p1-r0) 14:43:20 (18/18) Installing openssh (8.1_p1-r0) 14:43:20 Executing busybox-1.31.1-r8.trigger 14:43:20 OK: 203 MiB in 52 packages 14:43:25 e75ab6511037: Pull complete 14:43:25 04d638ffbd94: Pull complete 14:43:25 f4f5cce346a8: Pull complete 14:43:25 704472b7d14e: Pull complete 14:43:25 d92ed03d1dad: Pull complete 14:43:25 Digest: sha256:834ffeafcc9ca33964284e701e2fd595e30a976ce23a06ba08cd3e3051b3b84d 14:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 14:43:27 Removing intermediate container b5779913ec92 14:43:27 ---> 524d5df40f5f 14:43:27 Step 6/8 : WORKDIR /device-mqtt-go 14:43:27 ---> Running in 4165094f9186 14:43:28 Removing intermediate container 4165094f9186 14:43:28 ---> 42619c7fa323 14:43:28 Step 7/8 : COPY . . 14:43:28 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 14:43:28 ---> 6fb8579e4c6d 14:43:28 Step 8/8 : RUN go mod download 14:43:29 ---> Running in 93a3580ddb92 14:43:30 Reading package lists... 14:43:30 Building dependency tree... 14:43:30 Reading state information... 14:43:30 The following packages were automatically installed and are no longer required: 14:43:30 libjq1 liblzo2-2 libonig4 14:43:30 Use 'sudo apt autoremove' to remove them. 14:43:30 Suggested packages: 14:43:30 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 14:43:30 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 14:43:30 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 14:43:30 libterm-readline-gnu-perl | libterm-readline-perl-perl 14:43:30 The following NEW packages will be installed: 14:43:30 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 14:43:30 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 14:43:30 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 14:43:30 openssh-client patch perl perl-modules-5.26 xauth 14:43:30 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 14:43:30 Need to get 14.7 MB of archives. 14:43:30 After this operation, 89.5 MB of additional disk space will be used. 14:43:30 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 14:43:31 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 14:43:31 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 14:43:31 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 14:43:31 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 14:43:31 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 14:43:31 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 14:43:31 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 14:43:31 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 14:43:31 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 14:43:31 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 14:43:31 go: finding github.com/BurntSushi/toml v0.3.1 14:43:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 14:43:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 14:43:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 14:43:31 go: finding github.com/bgentry/speakeasy v0.1.0 14:43:31 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 14:43:31 go: finding github.com/davecgh/go-spew v1.1.1 14:43:31 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 14:43:31 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 14:43:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 14:43:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 14:43:31 go: finding github.com/fatih/color v1.7.0 14:43:31 go: finding github.com/go-kit/kit v0.8.0 14:43:31 go: finding github.com/go-logfmt/logfmt v0.4.0 14:43:31 go: finding github.com/go-stack/stack v1.8.0 14:43:31 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 14:43:31 go: finding github.com/google/uuid v1.1.1 14:43:31 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 14:43:31 go: finding github.com/gorilla/mux v1.7.0 14:43:31 go: finding github.com/hashicorp/consul v1.4.2 14:43:31 go: finding github.com/hashicorp/errwrap v1.0.0 14:43:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 14:43:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 14:43:31 go: finding github.com/hashicorp/go-msgpack v0.5.3 14:43:31 go: finding github.com/hashicorp/go-multierror v1.0.0 14:43:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 14:43:31 go: finding github.com/hashicorp/go-sockaddr v1.0.0 14:43:31 go: finding github.com/hashicorp/go-syslog v1.0.0 14:43:31 go: finding github.com/hashicorp/go-uuid v1.0.1 14:43:31 go: finding github.com/hashicorp/go.net v0.0.1 14:43:31 go: finding github.com/hashicorp/golang-lru v0.5.0 14:43:31 go: finding github.com/hashicorp/logutils v1.0.0 14:43:31 go: finding github.com/hashicorp/mdns v1.0.0 14:43:31 go: finding github.com/hashicorp/memberlist v0.1.3 14:43:31 go: finding github.com/hashicorp/serf v0.8.2 14:43:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 14:43:31 go: finding github.com/kr/pretty v0.1.0 14:43:31 go: finding github.com/kr/pty v1.1.1 14:43:31 go: finding github.com/kr/text v0.1.0 14:43:31 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 14:43:31 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 14:43:31 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 14:43:31 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 14:43:31 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 14:43:31 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 14:43:31 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 14:43:31 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 14:43:31 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 14:43:31 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 14:43:31 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 14:43:31 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 14:43:31 Ign:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 14:43:31 Ign:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 14:43:31 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 14:43:31 go: finding github.com/mattn/go-colorable v0.0.9 14:43:31 go: finding github.com/mattn/go-isatty v0.0.3 14:43:31 go: finding github.com/miekg/dns v1.0.14 14:43:31 go: finding github.com/mitchellh/cli v1.0.0 14:43:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 14:43:31 go: finding github.com/mitchellh/copystructure v1.0.0 14:43:31 go: finding github.com/mitchellh/go-homedir v1.0.0 14:43:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 14:43:31 go: finding github.com/mitchellh/gox v0.4.0 14:43:31 go: finding github.com/mitchellh/iochan v1.0.0 14:43:31 go: finding github.com/mitchellh/mapstructure v1.1.2 14:43:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 14:43:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 14:43:31 go: finding github.com/pelletier/go-toml v1.2.0 14:43:31 go: finding github.com/pkg/errors v0.8.1 14:43:31 go: finding github.com/pmezard/go-difflib v1.0.0 14:43:31 go: finding github.com/posener/complete v1.1.1 14:43:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 14:43:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 14:43:31 go: finding github.com/spf13/cast v1.3.0 14:43:32 Err:24 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 14:43:32 404 Not Found [IP: 91.189.88.152 80] 14:43:32 Err:25 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 14:43:32 404 Not Found [IP: 91.189.88.152 80] 14:43:32 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 14:43:32 Fetched 10.0 MB in 2s (6399 kB/s) 14:43:32 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.152 80] 14:43:32 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.152 80] 14:43:32 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 14:43:32 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 14:43:32 go: finding github.com/stretchr/objx v0.1.0 14:43:32 go: finding github.com/stretchr/testify v1.3.0 14:43:32 go: finding github.com/ugorji/go v1.1.4 14:43:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 14:43:32 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 14:43:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 14:43:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 14:43:32 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 14:43:32 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 14:43:32 go: finding gopkg.in/yaml.v2 v2.2.2 [Pipeline] } 14:43:32 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] } 14:43:33 Failed in branch amd64 14:43:50 Removing intermediate container 93a3580ddb92 14:43:50 ---> eb0e7aea2ddd 14:43:50 Successfully built eb0e7aea2ddd 14:43:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:51 + docker inspect -f . ci-base-image-arm64 14:43:51 . [Pipeline] withDockerContainer 14:43:51 prd-ubuntu18.04-docker-arm64-4c-16g-4297 does not seem to be running inside a container 14:43:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 14:43:53 $ docker top b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:54 + go version 14:43:54 go version go1.13.5 linux/arm64 [Pipeline] sh 14:43:55 + make test 14:43:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:43:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:44:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:44:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.033s coverage: 29.8% of statements 14:44:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:44:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 14:44:48 gofmt -l . 14:44:48 ["`gofmt -l .`" = ""] 14:44:48 ./bin/test-attribution-txt.sh 14:44:48 ./bin/test-go-mod-tidy.sh [Pipeline] stash 14:44:48 Warning: overwriting stash ‘coverage-report’ 14:44:49 Stashed 1 file(s) [Pipeline] } 14:44:49 $ docker stop --time=1 b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c 14:44:51 $ docker rm -f b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:53 + ls -al . 14:44:53 total 124 14:44:53 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 14:44 . 14:44:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:42 .. 14:44:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:42 .dockerignore 14:44:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:42 .git 14:44:53 -rw-rw-r-- 1 jenkins jenkins 335 Apr 16 14:42 .gitignore 14:44:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 .semver 14:44:53 -rw-rw-r-- 1 jenkins jenkins 3943 Apr 16 14:42 Attribution.txt 14:44:53 -rw-rw-r-- 1 jenkins jenkins 1626 Apr 16 14:42 Dockerfile 14:44:53 -rw-rw-r-- 1 jenkins jenkins 953 Apr 16 14:42 Dockerfile.build 14:44:53 -rw-rw-r-- 1 jenkins jenkins 700 Apr 16 14:42 Jenkinsfile 14:44:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 14:42 LICENSE 14:44:53 -rw-rw-r-- 1 jenkins jenkins 902 Apr 16 14:42 Makefile 14:44:53 -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 14:42 README.md 14:44:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:38 VERSION 14:44:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:42 bin 14:44:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 cmd 14:44:53 -rw-r--r-- 1 jenkins jenkins 18213 Apr 16 14:44 coverage.out 14:44:53 -rw-r--r-- 1 jenkins jenkins 581 Apr 16 14:44 go.mod 14:44:53 -rw-r--r-- 1 jenkins jenkins 12267 Apr 16 14:44 go.sum 14:44:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 internal 14:44:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:42 mock 14:44:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:42 snap 14:44:53 -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:44:53 + 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 . 14:44:54 Sending build context to Docker daemon 563.2kB 14:44:54 Step 1/19 : ARG BASE=golang:1.13-alpine 14:44:54 Step 2/19 : FROM ${BASE} AS builder 14:44:54 ---> eb0e7aea2ddd 14:44:54 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 14:44:54 ---> Running in cdb9bcd2ebf2 14:44:55 Removing intermediate container cdb9bcd2ebf2 14:44:55 ---> b3d2e83d7af2 14:44:55 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 14:44:55 ---> Running in b027b5965931 14:44:55 Removing intermediate container b027b5965931 14:44:55 ---> d7e93bbd1b4a 14:44:55 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:55 ---> Running in d901340750ec 14:44:57 Removing intermediate container d901340750ec 14:44:57 ---> 34f679123cab 14:44:57 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:44:57 ---> Running in be80cd847323 14:44:58 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 14:44:59 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 14:45:00 OK: 203 MiB in 52 packages 14:45:01 Removing intermediate container be80cd847323 14:45:01 ---> a3bc2da1cc01 14:45:01 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 14:45:01 ---> Running in f247a7b30229 14:45:01 Removing intermediate container f247a7b30229 14:45:01 ---> 7a104bb29f27 14:45:01 Step 8/19 : COPY . . 14:45:02 ---> 23a6287761ac 14:45:02 Step 9/19 : ARG MAKE='make build' 14:45:02 ---> Running in a4399afa16fe 14:45:03 Removing intermediate container a4399afa16fe 14:45:03 ---> c613fb00d099 14:45:03 Step 10/19 : RUN $MAKE 14:45:03 ---> Running in 07ff6afb5865 14:45:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 14:45:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 14:45:53 Removing intermediate container 07ff6afb5865 14:45:53 ---> 82d58caa3157 14:45:53 Step 11/19 : FROM alpine 14:45:53 latest: Pulling from library/alpine 14:45:53 8a0637ca1ac9: Pulling fs layer 14:45:53 8a0637ca1ac9: Verifying Checksum 14:45:53 8a0637ca1ac9: Download complete 14:45:54 8a0637ca1ac9: Pull complete 14:45:54 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 14:45:54 Status: Downloaded newer image for alpine:latest 14:45:54 ---> 2ee122dcc32d 14:45:54 Step 12/19 : ENV APP_PORT=49982 14:45:54 ---> Running in 97d64dcb00a6 14:45:54 Removing intermediate container 97d64dcb00a6 14:45:54 ---> 6c5789fe791b 14:45:54 Step 13/19 : EXPOSE $APP_PORT 14:45:55 ---> Running in 16263c14062b 14:45:55 Removing intermediate container 16263c14062b 14:45:55 ---> 44d87d5a0e15 14:45:55 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 14:45:56 ---> 8b775b54b723 14:45:56 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 14:45:56 ---> Running in 95d92e8afe6c 14:45:57 Removing intermediate container 95d92e8afe6c 14:45:57 ---> c8080c618377 14:45:57 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 14:45:57 ---> Running in 28f9317897d0 14:45:57 Removing intermediate container 28f9317897d0 14:45:57 ---> 43120538b02b 14:45:57 Step 17/19 : LABEL arch=arm64 14:45:57 ---> Running in 0c8a7c33a36f 14:45:57 Removing intermediate container 0c8a7c33a36f 14:45:57 ---> d7182678702c 14:45:57 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 14:45:58 ---> Running in 1ec1daee9d40 14:45:58 Removing intermediate container 1ec1daee9d40 14:45:58 ---> 726d0807a89a 14:45:58 Step 19/19 : LABEL version=0.0.0 14:45:58 ---> Running in 0e9effd4a740 14:45:58 Removing intermediate container 0e9effd4a740 14:45:58 ---> 792b998bfa93 14:45:58 [Warning] One or more build-args [ARCH] were not consumed 14:45:58 Successfully built 792b998bfa93 14:45:58 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:59 + grep snapcraft.yaml 14:45:59 + find /w/workspace/device-mqtt-go/3 14:45:59 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:59 provisioning config files... 14:45:59 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/3@tmp/config2377522405262515305tmp [Pipeline] { [Pipeline] sh 14:46:00 + cp /w/workspace/device-mqtt-go/3@tmp/config2377522405262515305tmp /w/workspace/device-mqtt-go/3/edgex-snap-store-login [Pipeline] sh 14:46:00 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/3:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 14:46:00 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 14:46:00 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 14:46:00 b2f61026a351: Pulling fs layer 14:46:00 5538fb30c42c: Pulling fs layer 14:46:00 f0b05810781a: Pulling fs layer 14:46:00 0180a33352d6: Pulling fs layer 14:46:00 aed7a3056e2b: Pulling fs layer 14:46:00 d39a94810997: Pulling fs layer 14:46:00 1eacfb9348ea: Pulling fs layer 14:46:00 b94196875123: Pulling fs layer 14:46:00 1787fae59f1e: Pulling fs layer 14:46:00 d39a94810997: Waiting 14:46:00 1eacfb9348ea: Waiting 14:46:00 b94196875123: Waiting 14:46:00 1787fae59f1e: Waiting 14:46:00 0180a33352d6: Waiting 14:46:00 aed7a3056e2b: Waiting 14:46:00 f0b05810781a: Verifying Checksum 14:46:00 f0b05810781a: Download complete 14:46:00 5538fb30c42c: Verifying Checksum 14:46:00 5538fb30c42c: Download complete 14:46:00 0180a33352d6: Verifying Checksum 14:46:00 0180a33352d6: Download complete 14:46:00 d39a94810997: Verifying Checksum 14:46:00 d39a94810997: Download complete 14:46:01 1eacfb9348ea: Verifying Checksum 14:46:01 1eacfb9348ea: Download complete 14:46:01 b94196875123: Verifying Checksum 14:46:01 b94196875123: Download complete 14:46:01 1787fae59f1e: Verifying Checksum 14:46:01 1787fae59f1e: Download complete 14:46:03 b2f61026a351: Verifying Checksum 14:46:03 b2f61026a351: Download complete 14:46:05 b2f61026a351: Pull complete 14:46:05 5538fb30c42c: Pull complete 14:46:06 f0b05810781a: Pull complete 14:46:06 0180a33352d6: Pull complete 14:46:28 aed7a3056e2b: Verifying Checksum 14:46:55 aed7a3056e2b: Pull complete 14:46:55 d39a94810997: Pull complete 14:46:55 1eacfb9348ea: Pull complete 14:46:55 b94196875123: Pull complete 14:46:55 1787fae59f1e: Pull complete 14:46:55 Digest: sha256:5f17aae970066bf76af069ac7b5f55fa93cddf640a8680fc14f3ae34a92c05a7 14:46:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 14:47:10 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 14:47:14 Reading package lists... 14:47:15 Building dependency tree... 14:47:15 Reading state information... 14:47:16 The following packages were automatically installed and are no longer required: 14:47:16 libjq1 liblzo2-2 libonig4 14:47:16 Use 'sudo apt autoremove' to remove them. 14:47:16 Suggested packages: 14:47:16 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 14:47:16 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 14:47:16 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 14:47:16 libterm-readline-gnu-perl | libterm-readline-perl-perl 14:47:16 The following NEW packages will be installed: 14:47:16 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 14:47:16 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 14:47:16 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 14:47:16 openssh-client patch perl perl-modules-5.26 xauth 14:47:16 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 14:47:16 Need to get 12.9 MB of archives. 14:47:16 After this operation, 84.2 MB of additional disk space will be used. 14:47:16 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 14:47:16 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 14:47:16 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 14:47:16 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 14:47:17 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 14:47:17 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 14:47:18 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 14:47:18 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 14:47:21 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 14:47:21 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 14:47:21 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 14:47:24 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 14:47:24 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 14:47:24 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 14:47:24 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 14:47:24 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 14:47:24 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 14:47:24 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 14:47:24 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 14:47:25 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 14:47:25 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 14:47:25 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 14:47:25 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 14:47:25 Ign:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 14:47:25 Ign:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 14:47:25 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 14:47:25 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 14:47:25 Err:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 14:47:25 404 Not Found [IP: 91.189.88.150 80] 14:47:25 Err:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 14:47:25 404 Not Found [IP: 91.189.88.150 80] 14:47:25 Fetched 9181 kB in 9s (1000 kB/s) 14:47:25 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] 14:47:25 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] 14:47:25 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 14:47:25 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] } 14:47:27 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] } 14:47:28 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 14:47:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:47:29 ---> package-listing.sh 14:47:29 ++ facter osfamily 14:47:29 ++ tr '[:upper:]' '[:lower:]' 14:47:29 + OS_FAMILY=redhat 14:47:29 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-139 14:47:29 + START_PACKAGES=/tmp/packages_start.txt 14:47:29 + END_PACKAGES=/tmp/packages_end.txt 14:47:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:47:29 + PACKAGES=/tmp/packages_start.txt 14:47:29 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 14:47:29 + PACKAGES=/tmp/packages_end.txt 14:47:29 + case "${OS_FAMILY}" in 14:47:29 + rpm -qa 14:47:29 + sort 14:47:33 + '[' -f /tmp/packages_start.txt ']' 14:47:33 + '[' -f /tmp/packages_end.txt ']' 14:47:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:47:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 14:47:33 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ 14:47:33 + 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 14:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:47:34 14:47:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 14:47:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 14:47:34 alpine: Pulling from edgex-lftools-log-publisher 14:47:34 c9b1b535fdd9: Pulling fs layer 14:47:34 2cc5ad85d9ab: Pulling fs layer 14:47:34 756a868c4378: Pulling fs layer 14:47:34 444b2fc9a129: Pulling fs layer 14:47:34 ea15f1150254: Pulling fs layer 14:47:34 41b27a9f41bf: Pulling fs layer 14:47:34 28c525ee5125: Pulling fs layer 14:47:34 094b1ea09ed8: Pulling fs layer 14:47:34 138eaada9080: Pulling fs layer 14:47:34 0622d0fa9048: Pulling fs layer 14:47:34 444b2fc9a129: Waiting 14:47:34 41b27a9f41bf: Waiting 14:47:34 28c525ee5125: Waiting 14:47:34 0622d0fa9048: Waiting 14:47:34 138eaada9080: Waiting 14:47:34 2cc5ad85d9ab: Verifying Checksum 14:47:34 2cc5ad85d9ab: Download complete 14:47:34 444b2fc9a129: Verifying Checksum 14:47:34 444b2fc9a129: Download complete 14:47:34 c9b1b535fdd9: Verifying Checksum 14:47:34 c9b1b535fdd9: Download complete 14:47:34 ea15f1150254: Download complete 14:47:34 28c525ee5125: Verifying Checksum 14:47:34 28c525ee5125: Download complete 14:47:35 c9b1b535fdd9: Pull complete 14:47:35 756a868c4378: Verifying Checksum 14:47:35 756a868c4378: Download complete 14:47:35 2cc5ad85d9ab: Pull complete 14:47:35 138eaada9080: Verifying Checksum 14:47:35 138eaada9080: Download complete 14:47:35 0622d0fa9048: Verifying Checksum 14:47:35 0622d0fa9048: Download complete 14:47:35 094b1ea09ed8: Verifying Checksum 14:47:35 094b1ea09ed8: Download complete 14:47:35 41b27a9f41bf: Verifying Checksum 14:47:35 41b27a9f41bf: Download complete 14:47:36 756a868c4378: Pull complete 14:47:37 444b2fc9a129: Pull complete 14:47:37 ea15f1150254: Pull complete 14:47:41 41b27a9f41bf: Pull complete 14:47:41 28c525ee5125: Pull complete 14:47:43 094b1ea09ed8: Pull complete 14:47:43 138eaada9080: Pull complete 14:47:43 0622d0fa9048: Pull complete 14:47:43 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 14:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 14:47:43 prd-centos7-docker-4c-2g-4295 does not seem to be running inside a container 14:47:44 $ 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 14:47:45 $ docker top 059b63a100e4b617919f851a3097003ca019f4966b23ad6b1ae1601df0e6d370 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:47:45 provisioning config files... 14:47:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/config8985552348893207208tmp [Pipeline] { [Pipeline] echo 14:47:45 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:47:45 ---> create-netrc.sh [Pipeline] echo 14:47:45 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:47:46 ---> logs-deploy.sh 14:47:46 + ARCHIVE_ARTIFACTS= 14:47:46 + LOGS_SERVER=https://logs.edgexfoundry.org 14:47:46 + '[' https://logs.edgexfoundry.org == None ']' 14:47:46 + NEXUS_URL=https://nexus.edgexfoundry.org 14:47:46 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/3 14:47:46 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/3/ 14:47:46 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/3 /w/workspace/gexfoundry_device-mqtt-go_PR-139 14:47:47 Archives upload complete. 14:47:47 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/3/