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 [2020-04-16T14:38:31.013Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T14:38:31.222Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T14:38:31.295Z] ========================================================= [2020-04-16T14:38:31.295Z] EdgeX Global Pipelines Version Info [2020-04-16T14:38:31.295Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:38:32.724Z] ------------------- [2020-04-16T14:38:32.724Z] stable info: [2020-04-16T14:38:32.724Z] ------------------- [2020-04-16T14:38:32.724Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T14:38:32.724Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:38:32.724Z] Message: update stable to v1.0.73 [2020-04-16T14:38:33.295Z] ------------------- [2020-04-16T14:38:33.295Z] experimental info: [2020-04-16T14:38:33.295Z] ------------------- [2020-04-16T14:38:33.295Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T14:38:33.295Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T14:38:33.295Z] 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 [2020-04-16T14:38:35.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:38:35.106Z] [2020-04-16T14:38:35.106Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:38:35.448Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T14:38:35.448Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T14:38:35.448Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T14:38:35.448Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T14:38:35.448Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T14:38:35.448Z] 93b08a4f1073: Pulling fs layer [2020-04-16T14:38:35.448Z] 93b08a4f1073: Waiting [2020-04-16T14:38:35.448Z] b8cc5d1170e3: Download complete [2020-04-16T14:38:35.712Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T14:38:35.712Z] 9123ac7c32f7: Download complete [2020-04-16T14:38:35.712Z] 93b08a4f1073: Verifying Checksum [2020-04-16T14:38:35.712Z] 93b08a4f1073: Download complete [2020-04-16T14:38:35.712Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T14:38:35.712Z] 2924cbbf6a41: Download complete [2020-04-16T14:38:35.971Z] 9123ac7c32f7: Pull complete [2020-04-16T14:38:35.971Z] b8cc5d1170e3: Pull complete [2020-04-16T14:38:36.918Z] 2924cbbf6a41: Pull complete [2020-04-16T14:38:36.918Z] 93b08a4f1073: Pull complete [2020-04-16T14:38:36.918Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T14:38:36.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T14:38:37.052Z] prd-centos7-docker-4c-2g-4295 does not seem to be running inside a container [2020-04-16T14:38:37.102Z] $ 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 [2020-04-16T14:38:37.759Z] $ docker top 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T14:38:38.059Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:38:38.059Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:38:38.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:38:38.315Z] $ docker exec 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent [2020-04-16T14:38:38.517Z] SSH_AUTH_SOCK=/tmp/ssh-5nSF3x5hgOQu/agent.15 [2020-04-16T14:38:38.517Z] SSH_AGENT_PID=22 [2020-04-16T14:38:38.531Z] Running ssh-add (command line suppressed) [2020-04-16T14:38:38.690Z] 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) [2020-04-16T14:38:38.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:38:39.061Z] + git describe --exact-match --tags HEAD [2020-04-16T14:38:39.061Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T14:38:39.125Z] $ docker exec --env ******** --env ******** 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent -k [2020-04-16T14:38:39.305Z] unset SSH_AUTH_SOCK; [2020-04-16T14:38:39.305Z] unset SSH_AGENT_PID; [2020-04-16T14:38:39.305Z] echo Agent pid 22 killed; [2020-04-16T14:38:39.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T14:38:39.415Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T14:38:39.415Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T14:38:39.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T14:38:39.490Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T14:38:39.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T14:38:39.711Z] $ docker exec 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent [2020-04-16T14:38:39.915Z] SSH_AUTH_SOCK=/tmp/ssh-fdECeBoCIWMU/agent.57 [2020-04-16T14:38:39.915Z] SSH_AGENT_PID=64 [2020-04-16T14:38:39.924Z] Running ssh-add (command line suppressed) [2020-04-16T14:38:40.098Z] 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) [2020-04-16T14:38:40.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T14:38:40.495Z] + git semver init [2020-04-16T14:38:40.495Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T14:38:40.495Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.git [2020-04-16T14:38:40.495Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-139 [2020-04-16T14:38:40.495Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T14:38:40.495Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T14:38:40.495Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T14:38:40.495Z] # $SEMVER_BRANCH = PR-139 [2020-04-16T14:38:40.495Z] # $SEMVER_TEMP = /tmp/semver-270515649 [2020-04-16T14:38:40.495Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-04-16T14:38:41.065Z] # '/tmp/semver-270515649' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver' [2020-04-16T14:38:41.065Z] # -> Force: false [2020-04-16T14:38:41.065Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver [Pipeline] } [2020-04-16T14:38:41.076Z] $ docker exec --env ******** --env ******** 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a ssh-agent -k [2020-04-16T14:38:41.244Z] unset SSH_AUTH_SOCK; [2020-04-16T14:38:41.246Z] unset SSH_AGENT_PID; [2020-04-16T14:38:41.246Z] echo Agent pid 64 killed; [2020-04-16T14:38:41.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T14:38:41.704Z] + git semver [Pipeline] } [2020-04-16T14:38:41.720Z] $ docker stop --time=1 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a [2020-04-16T14:38:43.069Z] $ docker rm -f 28e52e84f49ca5b8f575db0930420bc0eb8830f3f5174710c83c3d21cf010f9a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T14:38:43.891Z] Stashed 21 file(s) [Pipeline] echo [2020-04-16T14:38:43.894Z] [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 [2020-04-16T14:38:59.122Z] Still waiting to schedule task [2020-04-16T14:38:59.122Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T14:38:59.124Z] Still waiting to schedule task [2020-04-16T14:38:59.124Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-16T14:41:11.268Z] Running on prd-centos7-docker-4c-2g-4298 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T14:41:11.311Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2020-04-16T14:41:14.738Z] using credential edgex-jenkins-ssh [2020-04-16T14:41:14.788Z] Cloning the remote Git repository [2020-04-16T14:41:14.788Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:41:14.319Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:41:14.365Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2020-04-16T14:41:14.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:41:14.405Z] > git --version # timeout=10 [2020-04-16T14:41:14.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:41:14.452Z] > 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 [2020-04-16T14:41:15.483Z] Fetching without tags [2020-04-16T14:41:15.845Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:41:15.928Z] Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:41:15.929Z] Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) [2020-04-16T14:41:14.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T14:41:14.928Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T14:41:14.934Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:41:14.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T14:41:14.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:41:14.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:41:14.966Z] > 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 [2020-04-16T14:41:15.322Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:41:15.327Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T14:41:15.359Z] > git remote # timeout=10 [2020-04-16T14:41:15.364Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:41:15.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:41:15.374Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-16T14:41:15.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:41:15.400Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:41:15.407Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T14:41:19.527Z] Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:41:20.361Z] ========================================================= [2020-04-16T14:41:20.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T14:41:20.361Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:41:21.099Z] + 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 . [2020-04-16T14:41:21.099Z] Sending build context to Docker daemon 544.3kB [2020-04-16T14:41:21.099Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:41:21.099Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:41:21.366Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T14:41:21.366Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T14:41:21.366Z] 2848faf0eed1: Pulling fs layer [2020-04-16T14:41:21.366Z] 0f37312ad70f: Pulling fs layer [2020-04-16T14:41:21.366Z] 5788d62ee057: Pulling fs layer [2020-04-16T14:41:21.366Z] 0e6b1d234666: Pulling fs layer [2020-04-16T14:41:21.366Z] bf5d7aec512f: Pulling fs layer [2020-04-16T14:41:21.366Z] 34c802a77dc8: Pulling fs layer [2020-04-16T14:41:21.366Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T14:41:21.366Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T14:41:21.366Z] 5c102a31e300: Pulling fs layer [2020-04-16T14:41:21.366Z] dcfb455df0a1: Pulling fs layer [2020-04-16T14:41:21.366Z] 34c802a77dc8: Waiting [2020-04-16T14:41:21.366Z] 9eb99e56ec68: Waiting [2020-04-16T14:41:21.366Z] 27c7a5d97fbd: Waiting [2020-04-16T14:41:21.366Z] 5c102a31e300: Waiting [2020-04-16T14:41:21.366Z] dcfb455df0a1: Waiting [2020-04-16T14:41:21.366Z] 5788d62ee057: Waiting [2020-04-16T14:41:21.366Z] 0e6b1d234666: Waiting [2020-04-16T14:41:21.366Z] bf5d7aec512f: Waiting [2020-04-16T14:41:21.366Z] 0f37312ad70f: Verifying Checksum [2020-04-16T14:41:21.366Z] 0f37312ad70f: Download complete [2020-04-16T14:41:21.366Z] 2848faf0eed1: Download complete [2020-04-16T14:41:21.366Z] 0e6b1d234666: Download complete [2020-04-16T14:41:21.366Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T14:41:21.366Z] e6b0cf9c0882: Download complete [2020-04-16T14:41:21.366Z] bf5d7aec512f: Verifying Checksum [2020-04-16T14:41:21.366Z] bf5d7aec512f: Download complete [2020-04-16T14:41:21.949Z] e6b0cf9c0882: Pull complete [2020-04-16T14:41:22.220Z] 34c802a77dc8: Verifying Checksum [2020-04-16T14:41:22.220Z] 34c802a77dc8: Download complete [2020-04-16T14:41:22.220Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T14:41:22.220Z] 27c7a5d97fbd: Download complete [2020-04-16T14:41:22.804Z] 5c102a31e300: Verifying Checksum [2020-04-16T14:41:22.804Z] 5c102a31e300: Download complete [2020-04-16T14:41:23.066Z] dcfb455df0a1: Verifying Checksum [2020-04-16T14:41:23.066Z] dcfb455df0a1: Download complete [2020-04-16T14:41:23.066Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T14:41:23.066Z] 9eb99e56ec68: Download complete [2020-04-16T14:41:23.066Z] 5788d62ee057: Verifying Checksum [2020-04-16T14:41:23.066Z] 5788d62ee057: Download complete [2020-04-16T14:41:24.006Z] 2848faf0eed1: Pull complete [2020-04-16T14:41:24.006Z] 0f37312ad70f: Pull complete [2020-04-16T14:41:30.602Z] 5788d62ee057: Pull complete [2020-04-16T14:41:30.602Z] 0e6b1d234666: Pull complete [2020-04-16T14:41:30.602Z] bf5d7aec512f: Pull complete [2020-04-16T14:41:34.804Z] 34c802a77dc8: Pull complete [2020-04-16T14:41:38.106Z] 9eb99e56ec68: Pull complete [2020-04-16T14:41:38.106Z] 27c7a5d97fbd: Pull complete [2020-04-16T14:41:38.367Z] 5c102a31e300: Pull complete [2020-04-16T14:41:38.629Z] dcfb455df0a1: Pull complete [2020-04-16T14:41:38.629Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T14:41:38.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T14:41:38.629Z] ---> 7c70fe431013 [2020-04-16T14:41:38.629Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-16T14:41:38.629Z] ---> Running in dab963b88c3c [2020-04-16T14:41:38.898Z] Removing intermediate container dab963b88c3c [2020-04-16T14:41:38.898Z] ---> 0ac6f9c64242 [2020-04-16T14:41:38.898Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:41:38.898Z] ---> Running in 7f27402e81fd [2020-04-16T14:41:39.840Z] Removing intermediate container 7f27402e81fd [2020-04-16T14:41:39.840Z] ---> 278384bc832d [2020-04-16T14:41:39.840Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T14:41:39.840Z] ---> Running in 04c195c6d627 [2020-04-16T14:41:40.411Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:41:40.985Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:41:41.252Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:41:41.824Z] (2/17) Installing libmagic (5.37-r1) [2020-04-16T14:41:41.824Z] (3/17) Installing file (5.37-r1) [2020-04-16T14:41:41.824Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:41:42.085Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:41:42.085Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:41:46.285Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-16T14:41:46.285Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-16T14:41:47.700Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-16T14:41:47.700Z] (10/17) Installing build-base (0.5-r1) [2020-04-16T14:41:47.960Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T14:41:47.960Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-16T14:41:47.960Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-16T14:41:48.529Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T14:41:48.529Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T14:41:48.529Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-16T14:41:48.788Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-16T14:41:48.788Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T14:41:48.788Z] OK: 214 MiB in 52 packages [2020-04-16T14:41:52.084Z] Removing intermediate container 04c195c6d627 [2020-04-16T14:41:52.084Z] ---> 9ad2bb92cbfb [2020-04-16T14:41:52.084Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-16T14:41:52.084Z] ---> Running in 992c9362fb9e [2020-04-16T14:41:52.084Z] Removing intermediate container 992c9362fb9e [2020-04-16T14:41:52.084Z] ---> 0a909141145a [2020-04-16T14:41:52.084Z] Step 7/8 : COPY . . [2020-04-16T14:41:52.655Z] ---> e3e9cdc87a10 [2020-04-16T14:41:52.655Z] Step 8/8 : RUN go mod download [2020-04-16T14:41:52.655Z] ---> Running in 96d80182784a [2020-04-16T14:41:55.198Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:41:55.198Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:41:55.198Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:41:55.198Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:41:55.198Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:41:55.198Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T14:41:55.198Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:41:55.198Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-16T14:41:55.198Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T14:41:55.198Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T14:41:55.198Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T14:41:55.198Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:41:55.198Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:41:55.198Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:41:55.198Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:41:55.198Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:41:55.198Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T14:41:55.459Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T14:41:55.459Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:41:55.459Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:41:55.459Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:41:55.718Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-16T14:41:55.718Z] go: finding github.com/kr/pty v1.1.1 [2020-04-16T14:41:55.718Z] go: finding github.com/kr/text v0.1.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:41:55.719Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:41:55.719Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:41:55.719Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:41:55.979Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:41:55.979Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:41:55.979Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:41:55.979Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:41:55.979Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:41:55.979Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:41:55.979Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:41:55.979Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:41:55.979Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-16T14:41:55.979Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:41:55.979Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T14:41:55.979Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:41:55.979Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:41:55.979Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-16T14:41:55.979Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:41:56.241Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:41:56.241Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-16T14:41:56.241Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-16T14:41:56.241Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T14:42:08.492Z] Removing intermediate container 96d80182784a [2020-04-16T14:42:08.492Z] ---> ecf7e43911b7 [2020-04-16T14:42:08.492Z] Successfully built ecf7e43911b7 [2020-04-16T14:42:08.492Z] 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 [2020-04-16T14:42:09.096Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T14:42:09.096Z] . [Pipeline] withDockerContainer [2020-04-16T14:42:09.228Z] prd-centos7-docker-4c-2g-4298 does not seem to be running inside a container [2020-04-16T14:42:09.282Z] $ 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 [2020-04-16T14:42:09.869Z] $ docker top 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:42:10.377Z] + go version [2020-04-16T14:42:10.377Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T14:42:10.682Z] + make test [2020-04-16T14:42:10.682Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T14:42:11.673Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4297 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T14:42:11.722Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2020-04-16T14:42:12.596Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-16T14:42:18.921Z] using credential edgex-jenkins-ssh [2020-04-16T14:42:18.979Z] Cloning the remote Git repository [2020-04-16T14:42:18.979Z] Cloning with configured refspecs honoured and without tags [2020-04-16T14:42:19.035Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:42:19.157Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2020-04-16T14:42:19.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:42:19.278Z] > git --version # timeout=10 [2020-04-16T14:42:19.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:42:19.394Z] > 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 [2020-04-16T14:42:20.236Z] Fetching without tags [2020-04-16T14:42:20.764Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:42:20.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T14:42:20.079Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T14:42:20.106Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T14:42:20.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T14:42:20.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T14:42:20.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:42:20.237Z] > 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 [2020-04-16T14:42:21.057Z] Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:42:21.057Z] Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) [2020-04-16T14:42:20.758Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:42:20.780Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T14:42:20.900Z] > git remote # timeout=10 [2020-04-16T14:42:20.934Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T14:42:20.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T14:42:20.961Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-16T14:42:20.987Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T14:42:21.039Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T14:42:21.065Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T14:42:25.467Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-16T14:42:25.843Z] Commit message: "add buildSnap option" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T14:42:26.796Z] ========================================================= [2020-04-16T14:42:26.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T14:42:26.796Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:42:27.399Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 29.8% of statements [2020-04-16T14:42:27.399Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-16T14:42:27.399Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:42:28.073Z] + 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 . [2020-04-16T14:42:28.671Z] Sending build context to Docker daemon 544.3kB [2020-04-16T14:42:28.671Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T14:42:28.671Z] Step 2/8 : FROM ${BASE} [2020-04-16T14:42:29.270Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T14:42:29.270Z] cde5963f3b93: Pulling fs layer [2020-04-16T14:42:29.270Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T14:42:29.270Z] 777b28850792: Pulling fs layer [2020-04-16T14:42:29.270Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T14:42:29.270Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T14:42:29.270Z] 1df406cf5192: Pulling fs layer [2020-04-16T14:42:29.270Z] cd6300453558: Pulling fs layer [2020-04-16T14:42:29.270Z] b9c365052c96: Pulling fs layer [2020-04-16T14:42:29.270Z] 8a11ddd9e578: Waiting [2020-04-16T14:42:29.270Z] 4cf88f913ddb: Waiting [2020-04-16T14:42:29.270Z] 1df406cf5192: Waiting [2020-04-16T14:42:29.270Z] cd6300453558: Waiting [2020-04-16T14:42:29.270Z] a2d8cc88f415: Pulling fs layer [2020-04-16T14:42:29.270Z] ea1d1ca13537: Pulling fs layer [2020-04-16T14:42:29.270Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T14:42:29.270Z] b9c365052c96: Waiting [2020-04-16T14:42:29.270Z] a2d8cc88f415: Waiting [2020-04-16T14:42:29.270Z] ea1d1ca13537: Waiting [2020-04-16T14:42:29.270Z] 3750a50a1c5e: Waiting [2020-04-16T14:42:29.270Z] 777b28850792: Verifying Checksum [2020-04-16T14:42:29.270Z] 777b28850792: Download complete [2020-04-16T14:42:29.270Z] 2a23fa8c16f7: Verifying Checksum [2020-04-16T14:42:29.270Z] 2a23fa8c16f7: Download complete [2020-04-16T14:42:29.270Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T14:42:29.270Z] 4cf88f913ddb: Download complete [2020-04-16T14:42:29.270Z] 1df406cf5192: Download complete [2020-04-16T14:42:29.552Z] cde5963f3b93: Verifying Checksum [2020-04-16T14:42:29.552Z] cde5963f3b93: Download complete [2020-04-16T14:42:29.963Z] gofmt -l . [2020-04-16T14:42:29.963Z] ["`gofmt -l .`" = ""] [2020-04-16T14:42:29.963Z] ./bin/test-attribution-txt.sh [2020-04-16T14:42:30.526Z] cde5963f3b93: Pull complete [2020-04-16T14:42:30.533Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:42:31.123Z] 2a23fa8c16f7: Pull complete [2020-04-16T14:42:31.243Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:42:31.250Z] $ docker stop --time=1 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 [2020-04-16T14:42:31.394Z] 777b28850792: Pull complete [2020-04-16T14:42:32.670Z] $ docker rm -f 1a9d996a0f601917cc6f883f356eb2db2ff7108ef663a6a04b19d1c3b1189c37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:42:33.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:42:33.980Z] + ls -al . [2020-04-16T14:42:33.981Z] total 92 [2020-04-16T14:42:33.981Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 14:42 . [2020-04-16T14:42:33.981Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 14:41 .. [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 3943 Apr 16 14:41 Attribution.txt [2020-04-16T14:42:33.981Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 14:41 bin [2020-04-16T14:42:33.981Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 14:41 cmd [2020-04-16T14:42:33.981Z] -rw-r--r--. 1 jenkins jenkins 18213 Apr 16 14:42 coverage.out [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 1626 Apr 16 14:41 Dockerfile [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 953 Apr 16 14:41 Dockerfile.build [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 14:41 .dockerignore [2020-04-16T14:42:33.981Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 14:41 .git [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 335 Apr 16 14:41 .gitignore [2020-04-16T14:42:33.981Z] -rw-r--r--. 1 jenkins jenkins 581 Apr 16 14:42 go.mod [2020-04-16T14:42:33.981Z] -rw-r--r--. 1 jenkins jenkins 12267 Apr 16 14:42 go.sum [2020-04-16T14:42:33.981Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 14:41 internal [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 700 Apr 16 14:41 Jenkinsfile [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 14:41 LICENSE [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 902 Apr 16 14:41 Makefile [2020-04-16T14:42:33.981Z] drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 14:41 mock [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 14:41 README.md [2020-04-16T14:42:33.981Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 14:41 .semver [2020-04-16T14:42:33.981Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 14:41 snap [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 14:38 VERSION [2020-04-16T14:42:33.981Z] -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 14:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:42:34.045Z] cd6300453558: Verifying Checksum [2020-04-16T14:42:34.045Z] cd6300453558: Download complete [2020-04-16T14:42:34.045Z] a2d8cc88f415: Verifying Checksum [2020-04-16T14:42:34.045Z] a2d8cc88f415: Download complete [2020-04-16T14:42:34.320Z] + 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 . [2020-04-16T14:42:34.320Z] Sending build context to Docker daemon 563.2kB [2020-04-16T14:42:34.320Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-16T14:42:34.320Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-16T14:42:34.320Z] ---> ecf7e43911b7 [2020-04-16T14:42:34.320Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-16T14:42:34.320Z] ---> Running in 64bdc52981fd [2020-04-16T14:42:34.593Z] Removing intermediate container 64bdc52981fd [2020-04-16T14:42:34.593Z] ---> 6041a1273deb [2020-04-16T14:42:34.593Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-16T14:42:34.593Z] ---> Running in 1757c33ae315 [2020-04-16T14:42:34.855Z] Removing intermediate container 1757c33ae315 [2020-04-16T14:42:34.855Z] ---> 3bda888ceddd [2020-04-16T14:42:34.856Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:42:34.856Z] ---> Running in 800c6429a895 [2020-04-16T14:42:35.424Z] Removing intermediate container 800c6429a895 [2020-04-16T14:42:35.424Z] ---> 640fcdf3bd54 [2020-04-16T14:42:35.424Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-16T14:42:35.424Z] ---> Running in 633824ea1fa4 [2020-04-16T14:42:35.995Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T14:42:36.036Z] ea1d1ca13537: Verifying Checksum [2020-04-16T14:42:36.036Z] ea1d1ca13537: Download complete [2020-04-16T14:42:36.308Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T14:42:36.309Z] 3750a50a1c5e: Download complete [2020-04-16T14:42:36.571Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T14:42:36.832Z] OK: 214 MiB in 52 packages [2020-04-16T14:42:37.403Z] Removing intermediate container 633824ea1fa4 [2020-04-16T14:42:37.403Z] ---> c013e7083002 [2020-04-16T14:42:37.403Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-16T14:42:37.403Z] ---> Running in c60c08b29e09 [2020-04-16T14:42:37.403Z] Removing intermediate container c60c08b29e09 [2020-04-16T14:42:37.403Z] ---> dfdad9e25521 [2020-04-16T14:42:37.403Z] Step 8/19 : COPY . . [2020-04-16T14:42:37.662Z] ---> 1c80e325b3af [2020-04-16T14:42:37.662Z] Step 9/19 : ARG MAKE='make build' [2020-04-16T14:42:37.662Z] ---> Running in 0dad8ed0b2f8 [2020-04-16T14:42:37.925Z] Removing intermediate container 0dad8ed0b2f8 [2020-04-16T14:42:37.925Z] ---> 0d1803f0ccc2 [2020-04-16T14:42:37.925Z] Step 10/19 : RUN $MAKE [2020-04-16T14:42:37.925Z] ---> Running in 9676118e2929 [2020-04-16T14:42:38.190Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-04-16T14:42:38.951Z] b9c365052c96: Verifying Checksum [2020-04-16T14:42:38.951Z] b9c365052c96: Download complete [2020-04-16T14:42:40.374Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T14:42:40.374Z] 8a11ddd9e578: Download complete [2020-04-16T14:42:50.532Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T14:42:52.762Z] 8a11ddd9e578: Pull complete [2020-04-16T14:42:52.762Z] 4cf88f913ddb: Pull complete [2020-04-16T14:42:52.762Z] 1df406cf5192: Pull complete [2020-04-16T14:42:53.837Z] Removing intermediate container 9676118e2929 [2020-04-16T14:42:53.837Z] ---> 75d8e91b617b [2020-04-16T14:42:53.837Z] Step 11/19 : FROM alpine [2020-04-16T14:42:53.837Z] latest: Pulling from library/alpine [2020-04-16T14:42:53.837Z] aad63a933944: Pulling fs layer [2020-04-16T14:42:54.097Z] aad63a933944: Download complete [2020-04-16T14:42:54.097Z] aad63a933944: Pull complete [2020-04-16T14:42:54.097Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-16T14:42:54.097Z] Status: Downloaded newer image for alpine:latest [2020-04-16T14:42:54.097Z] ---> a187dde48cd2 [2020-04-16T14:42:54.097Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-16T14:42:54.355Z] ---> Running in 4c7030ef9aa9 [2020-04-16T14:42:54.355Z] Removing intermediate container 4c7030ef9aa9 [2020-04-16T14:42:54.355Z] ---> 25994234fc56 [2020-04-16T14:42:54.355Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-16T14:42:54.355Z] ---> Running in e4b1148a8126 [2020-04-16T14:42:54.618Z] Removing intermediate container e4b1148a8126 [2020-04-16T14:42:54.618Z] ---> aceeec2b7232 [2020-04-16T14:42:54.618Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-16T14:42:55.184Z] ---> 2c0d43bc2337 [2020-04-16T14:42:55.184Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T14:42:55.184Z] ---> Running in 76fd98e2f4ae [2020-04-16T14:42:55.184Z] Removing intermediate container 76fd98e2f4ae [2020-04-16T14:42:55.184Z] ---> f3a9e3465a66 [2020-04-16T14:42:55.184Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T14:42:55.184Z] ---> Running in 062db6b7c7db [2020-04-16T14:42:55.445Z] Removing intermediate container 062db6b7c7db [2020-04-16T14:42:55.445Z] ---> ebbe247079a9 [2020-04-16T14:42:55.445Z] Step 17/19 : LABEL arch=amd64 [2020-04-16T14:42:55.445Z] ---> Running in 7a78147fce03 [2020-04-16T14:42:55.704Z] Removing intermediate container 7a78147fce03 [2020-04-16T14:42:55.704Z] ---> 21c86cc80fa2 [2020-04-16T14:42:55.704Z] Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:42:55.704Z] ---> Running in 1a8f4de736ac [2020-04-16T14:42:55.704Z] Removing intermediate container 1a8f4de736ac [2020-04-16T14:42:55.704Z] ---> f7f4a4e39831 [2020-04-16T14:42:55.704Z] Step 19/19 : LABEL version=0.0.0 [2020-04-16T14:42:55.704Z] ---> Running in 42e2fac958dc [2020-04-16T14:42:55.962Z] Removing intermediate container 42e2fac958dc [2020-04-16T14:42:55.962Z] ---> 3e61c0ac9864 [2020-04-16T14:42:55.962Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:42:55.962Z] Successfully built 3e61c0ac9864 [2020-04-16T14:42:55.962Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2020-04-16T14:42:56.131Z] 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 [2020-04-16T14:42:56.789Z] ++ find /w/workspace/device-mqtt-go/3 [2020-04-16T14:42:56.789Z] ++ grep snapcraft.yaml [2020-04-16T14:42:56.789Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:42:56.885Z] provisioning config files... [2020-04-16T14:42:56.898Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/3@tmp/config8261050076529390557tmp [Pipeline] { [Pipeline] sh [2020-04-16T14:42:57.245Z] + cp /w/workspace/device-mqtt-go/3@tmp/config8261050076529390557tmp /w/workspace/device-mqtt-go/3/edgex-snap-store-login [Pipeline] sh [2020-04-16T14:42:57.545Z] + 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 [2020-04-16T14:42:57.545Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-16T14:42:57.545Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-16T14:42:57.545Z] 5bed26d33875: Pulling fs layer [2020-04-16T14:42:57.545Z] f11b29a9c730: Pulling fs layer [2020-04-16T14:42:57.545Z] 930bda195c84: Pulling fs layer [2020-04-16T14:42:57.545Z] 78bf9a5ad49e: Pulling fs layer [2020-04-16T14:42:57.545Z] e75ab6511037: Pulling fs layer [2020-04-16T14:42:57.545Z] 04d638ffbd94: Pulling fs layer [2020-04-16T14:42:57.545Z] f4f5cce346a8: Pulling fs layer [2020-04-16T14:42:57.545Z] 704472b7d14e: Pulling fs layer [2020-04-16T14:42:57.545Z] d92ed03d1dad: Pulling fs layer [2020-04-16T14:42:57.545Z] 04d638ffbd94: Waiting [2020-04-16T14:42:57.545Z] f4f5cce346a8: Waiting [2020-04-16T14:42:57.545Z] 704472b7d14e: Waiting [2020-04-16T14:42:57.545Z] d92ed03d1dad: Waiting [2020-04-16T14:42:57.545Z] 78bf9a5ad49e: Waiting [2020-04-16T14:42:57.545Z] e75ab6511037: Waiting [2020-04-16T14:42:57.545Z] 930bda195c84: Verifying Checksum [2020-04-16T14:42:57.545Z] 930bda195c84: Download complete [2020-04-16T14:42:57.545Z] f11b29a9c730: Download complete [2020-04-16T14:42:57.545Z] 78bf9a5ad49e: Download complete [2020-04-16T14:42:57.545Z] 04d638ffbd94: Verifying Checksum [2020-04-16T14:42:57.545Z] 04d638ffbd94: Download complete [2020-04-16T14:42:57.545Z] f4f5cce346a8: Verifying Checksum [2020-04-16T14:42:57.545Z] f4f5cce346a8: Download complete [2020-04-16T14:42:57.545Z] 704472b7d14e: Download complete [2020-04-16T14:42:57.545Z] d92ed03d1dad: Verifying Checksum [2020-04-16T14:42:57.545Z] d92ed03d1dad: Download complete [2020-04-16T14:42:57.811Z] 5bed26d33875: Verifying Checksum [2020-04-16T14:42:57.811Z] 5bed26d33875: Download complete [2020-04-16T14:43:01.140Z] e75ab6511037: Verifying Checksum [2020-04-16T14:43:01.140Z] e75ab6511037: Download complete [2020-04-16T14:43:01.526Z] b9c365052c96: Pull complete [2020-04-16T14:43:01.796Z] a2d8cc88f415: Pull complete [2020-04-16T14:43:02.547Z] 5bed26d33875: Pull complete [2020-04-16T14:43:03.122Z] f11b29a9c730: Pull complete [2020-04-16T14:43:03.382Z] 930bda195c84: Pull complete [2020-04-16T14:43:03.382Z] 78bf9a5ad49e: Pull complete [2020-04-16T14:43:03.754Z] ea1d1ca13537: Pull complete [2020-04-16T14:43:04.032Z] 3750a50a1c5e: Pull complete [2020-04-16T14:43:04.032Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T14:43:04.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T14:43:04.033Z] ---> 78745c68409d [2020-04-16T14:43:04.033Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-16T14:43:08.296Z] ---> Running in 875fc13d48ea [2020-04-16T14:43:08.296Z] Removing intermediate container 875fc13d48ea [2020-04-16T14:43:08.296Z] ---> d8725916de16 [2020-04-16T14:43:08.296Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:43:08.569Z] ---> Running in 0917cda442e4 [2020-04-16T14:43:10.535Z] Removing intermediate container 0917cda442e4 [2020-04-16T14:43:10.535Z] ---> 2d3d66609a91 [2020-04-16T14:43:10.535Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T14:43:10.806Z] ---> Running in b5779913ec92 [2020-04-16T14:43:11.781Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:43:12.742Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:43:13.011Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:43:13.282Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:43:13.282Z] (3/18) Installing libmagic (5.37-r1) [2020-04-16T14:43:13.551Z] (4/18) Installing file (5.37-r1) [2020-04-16T14:43:13.551Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:43:13.819Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:43:13.819Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T14:43:17.186Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-16T14:43:17.186Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-16T14:43:19.158Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-16T14:43:19.158Z] (11/18) Installing build-base (0.5-r1) [2020-04-16T14:43:19.158Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T14:43:19.751Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-16T14:43:19.751Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-16T14:43:20.337Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T14:43:20.337Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T14:43:20.337Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-16T14:43:20.607Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-16T14:43:20.607Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T14:43:20.877Z] OK: 203 MiB in 52 packages [2020-04-16T14:43:25.372Z] e75ab6511037: Pull complete [2020-04-16T14:43:25.372Z] 04d638ffbd94: Pull complete [2020-04-16T14:43:25.372Z] f4f5cce346a8: Pull complete [2020-04-16T14:43:25.372Z] 704472b7d14e: Pull complete [2020-04-16T14:43:25.372Z] d92ed03d1dad: Pull complete [2020-04-16T14:43:25.372Z] Digest: sha256:834ffeafcc9ca33964284e701e2fd595e30a976ce23a06ba08cd3e3051b3b84d [2020-04-16T14:43:25.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-16T14:43:27.564Z] Removing intermediate container b5779913ec92 [2020-04-16T14:43:27.564Z] ---> 524d5df40f5f [2020-04-16T14:43:27.564Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-16T14:43:27.564Z] ---> Running in 4165094f9186 [2020-04-16T14:43:28.162Z] Removing intermediate container 4165094f9186 [2020-04-16T14:43:28.162Z] ---> 42619c7fa323 [2020-04-16T14:43:28.162Z] Step 7/8 : COPY . . [2020-04-16T14:43:28.717Z] 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 [2020-04-16T14:43:28.787Z] ---> 6fb8579e4c6d [2020-04-16T14:43:28.787Z] Step 8/8 : RUN go mod download [2020-04-16T14:43:29.061Z] ---> Running in 93a3580ddb92 [2020-04-16T14:43:30.102Z] Reading package lists... [2020-04-16T14:43:30.388Z] Building dependency tree... [2020-04-16T14:43:30.388Z] Reading state information... [2020-04-16T14:43:30.388Z] The following packages were automatically installed and are no longer required: [2020-04-16T14:43:30.388Z] libjq1 liblzo2-2 libonig4 [2020-04-16T14:43:30.388Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T14:43:30.388Z] Suggested packages: [2020-04-16T14:43:30.388Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T14:43:30.388Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T14:43:30.388Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T14:43:30.388Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T14:43:30.647Z] The following NEW packages will be installed: [2020-04-16T14:43:30.647Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T14:43:30.647Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T14:43:30.647Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T14:43:30.647Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T14:43:30.906Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T14:43:30.906Z] Need to get 14.7 MB of archives. [2020-04-16T14:43:30.906Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-16T14:43:30.906Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-16T14:43:31.171Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-16T14:43:31.171Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-16T14:43:31.171Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-16T14:43:31.432Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-16T14:43:31.432Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-16T14:43:31.432Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-16T14:43:31.432Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-16T14:43:31.692Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-16T14:43:31.692Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-16T14:43:31.692Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-16T14:43:31.698Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T14:43:31.698Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T14:43:31.698Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T14:43:31.698Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T14:43:31.698Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T14:43:31.698Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T14:43:31.698Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T14:43:31.698Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-16T14:43:31.698Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T14:43:31.698Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T14:43:31.698Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T14:43:31.698Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T14:43:31.698Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T14:43:31.698Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T14:43:31.698Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T14:43:31.698Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T14:43:31.698Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T14:43:31.698Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T14:43:31.698Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T14:43:31.698Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T14:43:31.698Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T14:43:31.698Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-16T14:43:31.698Z] go: finding github.com/kr/pty v1.1.1 [2020-04-16T14:43:31.698Z] go: finding github.com/kr/text v0.1.0 [2020-04-16T14:43:31.951Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T14:43:31.951Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-16T14:43:31.951Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-16T14:43:31.951Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-16T14:43:31.951Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-16T14:43:31.951Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-16T14:43:31.951Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-16T14:43:31.951Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-16T14:43:31.951Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-16T14:43:31.951Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-16T14:43:31.951Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-16T14:43:31.951Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T14:43:31.951Z] Ign:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T14:43:31.951Z] Ign:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 [2020-04-16T14:43:31.951Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-16T14:43:31.964Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T14:43:31.964Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T14:43:31.964Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T14:43:31.964Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T14:43:31.964Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T14:43:31.965Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T14:43:31.965Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T14:43:31.965Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T14:43:31.965Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T14:43:31.965Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T14:43:31.965Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T14:43:31.965Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T14:43:31.965Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-16T14:43:32.210Z] Err:24 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T14:43:32.210Z] 404 Not Found [IP: 91.189.88.152 80] [2020-04-16T14:43:32.210Z] Err:25 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 [2020-04-16T14:43:32.210Z] 404 Not Found [IP: 91.189.88.152 80] [2020-04-16T14:43:32.210Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-16T14:43:32.210Z] Fetched 10.0 MB in 2s (6399 kB/s) [2020-04-16T14:43:32.210Z] 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] [2020-04-16T14:43:32.210Z] 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] [2020-04-16T14:43:32.210Z] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [2020-04-16T14:43:32.210Z] 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 [2020-04-16T14:43:32.253Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T14:43:32.253Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T14:43:32.253Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T14:43:32.253Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T14:43:32.253Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-16T14:43:32.253Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T14:43:32.253Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T14:43:32.253Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-16T14:43:32.253Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-16T14:43:32.253Z] go: finding gopkg.in/yaml.v2 v2.2.2 [Pipeline] } [2020-04-16T14:43:32.787Z] 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] } [2020-04-16T14:43:33.513Z] Failed in branch amd64 [2020-04-16T14:43:50.527Z] Removing intermediate container 93a3580ddb92 [2020-04-16T14:43:50.527Z] ---> eb0e7aea2ddd [2020-04-16T14:43:50.527Z] Successfully built eb0e7aea2ddd [2020-04-16T14:43:50.527Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:43:51.216Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T14:43:51.486Z] . [Pipeline] withDockerContainer [2020-04-16T14:43:51.864Z] prd-ubuntu18.04-docker-arm64-4c-16g-4297 does not seem to be running inside a container [2020-04-16T14:43:51.961Z] $ 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 [2020-04-16T14:43:53.581Z] $ docker top b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T14:43:54.703Z] + go version [2020-04-16T14:43:54.703Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T14:43:55.410Z] + make test [2020-04-16T14:43:55.410Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T14:43:56.846Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-16T14:44:43.815Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-16T14:44:43.815Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.033s coverage: 29.8% of statements [2020-04-16T14:44:43.815Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-16T14:44:43.815Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T14:44:48.089Z] gofmt -l . [2020-04-16T14:44:48.089Z] ["`gofmt -l .`" = ""] [2020-04-16T14:44:48.089Z] ./bin/test-attribution-txt.sh [2020-04-16T14:44:48.359Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T14:44:48.959Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T14:44:49.425Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T14:44:49.443Z] $ docker stop --time=1 b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c [2020-04-16T14:44:51.863Z] $ docker rm -f b378965c59230c10a56be7729c7c84818cf432299c4443d887bacce38f2e747c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T14:44:53.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T14:44:53.603Z] + ls -al . [2020-04-16T14:44:53.603Z] total 124 [2020-04-16T14:44:53.603Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 14:44 . [2020-04-16T14:44:53.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:42 .. [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 14:42 .dockerignore [2020-04-16T14:44:53.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 14:42 .git [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 335 Apr 16 14:42 .gitignore [2020-04-16T14:44:53.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 .semver [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 3943 Apr 16 14:42 Attribution.txt [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 1626 Apr 16 14:42 Dockerfile [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 953 Apr 16 14:42 Dockerfile.build [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 700 Apr 16 14:42 Jenkinsfile [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 14:42 LICENSE [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 902 Apr 16 14:42 Makefile [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 14:42 README.md [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 14:38 VERSION [2020-04-16T14:44:53.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:42 bin [2020-04-16T14:44:53.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 cmd [2020-04-16T14:44:53.603Z] -rw-r--r-- 1 jenkins jenkins 18213 Apr 16 14:44 coverage.out [2020-04-16T14:44:53.603Z] -rw-r--r-- 1 jenkins jenkins 581 Apr 16 14:44 go.mod [2020-04-16T14:44:53.603Z] -rw-r--r-- 1 jenkins jenkins 12267 Apr 16 14:44 go.sum [2020-04-16T14:44:53.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 14:42 internal [2020-04-16T14:44:53.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 14:42 mock [2020-04-16T14:44:53.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 14:42 snap [2020-04-16T14:44:53.603Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 14:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:44:53.951Z] + 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 . [2020-04-16T14:44:54.542Z] Sending build context to Docker daemon 563.2kB [2020-04-16T14:44:54.542Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-16T14:44:54.542Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-16T14:44:54.542Z] ---> eb0e7aea2ddd [2020-04-16T14:44:54.542Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-16T14:44:54.542Z] ---> Running in cdb9bcd2ebf2 [2020-04-16T14:44:55.131Z] Removing intermediate container cdb9bcd2ebf2 [2020-04-16T14:44:55.131Z] ---> b3d2e83d7af2 [2020-04-16T14:44:55.131Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-16T14:44:55.131Z] ---> Running in b027b5965931 [2020-04-16T14:44:55.721Z] Removing intermediate container b027b5965931 [2020-04-16T14:44:55.721Z] ---> d7e93bbd1b4a [2020-04-16T14:44:55.721Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T14:44:55.721Z] ---> Running in d901340750ec [2020-04-16T14:44:57.681Z] Removing intermediate container d901340750ec [2020-04-16T14:44:57.681Z] ---> 34f679123cab [2020-04-16T14:44:57.681Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-16T14:44:57.949Z] ---> Running in be80cd847323 [2020-04-16T14:44:58.915Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T14:44:59.882Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T14:45:00.149Z] OK: 203 MiB in 52 packages [2020-04-16T14:45:01.567Z] Removing intermediate container be80cd847323 [2020-04-16T14:45:01.567Z] ---> a3bc2da1cc01 [2020-04-16T14:45:01.567Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-16T14:45:01.567Z] ---> Running in f247a7b30229 [2020-04-16T14:45:01.837Z] Removing intermediate container f247a7b30229 [2020-04-16T14:45:01.838Z] ---> 7a104bb29f27 [2020-04-16T14:45:01.838Z] Step 8/19 : COPY . . [2020-04-16T14:45:02.803Z] ---> 23a6287761ac [2020-04-16T14:45:02.803Z] Step 9/19 : ARG MAKE='make build' [2020-04-16T14:45:02.804Z] ---> Running in a4399afa16fe [2020-04-16T14:45:03.073Z] Removing intermediate container a4399afa16fe [2020-04-16T14:45:03.073Z] ---> c613fb00d099 [2020-04-16T14:45:03.073Z] Step 10/19 : RUN $MAKE [2020-04-16T14:45:03.341Z] ---> Running in 07ff6afb5865 [2020-04-16T14:45:04.310Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-04-16T14:45:43.261Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T14:45:53.379Z] Removing intermediate container 07ff6afb5865 [2020-04-16T14:45:53.379Z] ---> 82d58caa3157 [2020-04-16T14:45:53.379Z] Step 11/19 : FROM alpine [2020-04-16T14:45:53.379Z] latest: Pulling from library/alpine [2020-04-16T14:45:53.379Z] 8a0637ca1ac9: Pulling fs layer [2020-04-16T14:45:53.968Z] 8a0637ca1ac9: Verifying Checksum [2020-04-16T14:45:53.968Z] 8a0637ca1ac9: Download complete [2020-04-16T14:45:54.235Z] 8a0637ca1ac9: Pull complete [2020-04-16T14:45:54.235Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-16T14:45:54.504Z] Status: Downloaded newer image for alpine:latest [2020-04-16T14:45:54.504Z] ---> 2ee122dcc32d [2020-04-16T14:45:54.504Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-16T14:45:54.504Z] ---> Running in 97d64dcb00a6 [2020-04-16T14:45:54.773Z] Removing intermediate container 97d64dcb00a6 [2020-04-16T14:45:54.773Z] ---> 6c5789fe791b [2020-04-16T14:45:54.773Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-16T14:45:55.051Z] ---> Running in 16263c14062b [2020-04-16T14:45:55.320Z] Removing intermediate container 16263c14062b [2020-04-16T14:45:55.320Z] ---> 44d87d5a0e15 [2020-04-16T14:45:55.320Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-16T14:45:56.739Z] ---> 8b775b54b723 [2020-04-16T14:45:56.739Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T14:45:56.739Z] ---> Running in 95d92e8afe6c [2020-04-16T14:45:57.007Z] Removing intermediate container 95d92e8afe6c [2020-04-16T14:45:57.007Z] ---> c8080c618377 [2020-04-16T14:45:57.007Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T14:45:57.277Z] ---> Running in 28f9317897d0 [2020-04-16T14:45:57.548Z] Removing intermediate container 28f9317897d0 [2020-04-16T14:45:57.548Z] ---> 43120538b02b [2020-04-16T14:45:57.548Z] Step 17/19 : LABEL arch=arm64 [2020-04-16T14:45:57.548Z] ---> Running in 0c8a7c33a36f [2020-04-16T14:45:57.817Z] Removing intermediate container 0c8a7c33a36f [2020-04-16T14:45:57.817Z] ---> d7182678702c [2020-04-16T14:45:57.817Z] Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T14:45:58.089Z] ---> Running in 1ec1daee9d40 [2020-04-16T14:45:58.357Z] Removing intermediate container 1ec1daee9d40 [2020-04-16T14:45:58.357Z] ---> 726d0807a89a [2020-04-16T14:45:58.357Z] Step 19/19 : LABEL version=0.0.0 [2020-04-16T14:45:58.625Z] ---> Running in 0e9effd4a740 [2020-04-16T14:45:58.894Z] Removing intermediate container 0e9effd4a740 [2020-04-16T14:45:58.894Z] ---> 792b998bfa93 [2020-04-16T14:45:58.894Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T14:45:58.894Z] Successfully built 792b998bfa93 [2020-04-16T14:45:58.894Z] 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 [2020-04-16T14:45:59.670Z] + grep snapcraft.yaml [2020-04-16T14:45:59.670Z] + find /w/workspace/device-mqtt-go/3 [2020-04-16T14:45:59.670Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:45:59.812Z] provisioning config files... [2020-04-16T14:45:59.838Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/3@tmp/config2377522405262515305tmp [Pipeline] { [Pipeline] sh [2020-04-16T14:46:00.223Z] + cp /w/workspace/device-mqtt-go/3@tmp/config2377522405262515305tmp /w/workspace/device-mqtt-go/3/edgex-snap-store-login [Pipeline] sh [2020-04-16T14:46:00.556Z] + 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 [2020-04-16T14:46:00.830Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-16T14:46:00.830Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-16T14:46:00.830Z] b2f61026a351: Pulling fs layer [2020-04-16T14:46:00.830Z] 5538fb30c42c: Pulling fs layer [2020-04-16T14:46:00.830Z] f0b05810781a: Pulling fs layer [2020-04-16T14:46:00.830Z] 0180a33352d6: Pulling fs layer [2020-04-16T14:46:00.830Z] aed7a3056e2b: Pulling fs layer [2020-04-16T14:46:00.830Z] d39a94810997: Pulling fs layer [2020-04-16T14:46:00.830Z] 1eacfb9348ea: Pulling fs layer [2020-04-16T14:46:00.830Z] b94196875123: Pulling fs layer [2020-04-16T14:46:00.830Z] 1787fae59f1e: Pulling fs layer [2020-04-16T14:46:00.830Z] d39a94810997: Waiting [2020-04-16T14:46:00.830Z] 1eacfb9348ea: Waiting [2020-04-16T14:46:00.830Z] b94196875123: Waiting [2020-04-16T14:46:00.830Z] 1787fae59f1e: Waiting [2020-04-16T14:46:00.830Z] 0180a33352d6: Waiting [2020-04-16T14:46:00.830Z] aed7a3056e2b: Waiting [2020-04-16T14:46:00.830Z] f0b05810781a: Verifying Checksum [2020-04-16T14:46:00.830Z] f0b05810781a: Download complete [2020-04-16T14:46:00.830Z] 5538fb30c42c: Verifying Checksum [2020-04-16T14:46:00.830Z] 5538fb30c42c: Download complete [2020-04-16T14:46:00.830Z] 0180a33352d6: Verifying Checksum [2020-04-16T14:46:00.830Z] 0180a33352d6: Download complete [2020-04-16T14:46:00.830Z] d39a94810997: Verifying Checksum [2020-04-16T14:46:00.830Z] d39a94810997: Download complete [2020-04-16T14:46:01.098Z] 1eacfb9348ea: Verifying Checksum [2020-04-16T14:46:01.098Z] 1eacfb9348ea: Download complete [2020-04-16T14:46:01.098Z] b94196875123: Verifying Checksum [2020-04-16T14:46:01.098Z] b94196875123: Download complete [2020-04-16T14:46:01.098Z] 1787fae59f1e: Verifying Checksum [2020-04-16T14:46:01.098Z] 1787fae59f1e: Download complete [2020-04-16T14:46:03.070Z] b2f61026a351: Verifying Checksum [2020-04-16T14:46:03.070Z] b2f61026a351: Download complete [2020-04-16T14:46:05.656Z] b2f61026a351: Pull complete [2020-04-16T14:46:05.937Z] 5538fb30c42c: Pull complete [2020-04-16T14:46:06.204Z] f0b05810781a: Pull complete [2020-04-16T14:46:06.204Z] 0180a33352d6: Pull complete [2020-04-16T14:46:28.327Z] aed7a3056e2b: Verifying Checksum [2020-04-16T14:46:55.048Z] aed7a3056e2b: Pull complete [2020-04-16T14:46:55.048Z] d39a94810997: Pull complete [2020-04-16T14:46:55.048Z] 1eacfb9348ea: Pull complete [2020-04-16T14:46:55.048Z] b94196875123: Pull complete [2020-04-16T14:46:55.048Z] 1787fae59f1e: Pull complete [2020-04-16T14:46:55.048Z] Digest: sha256:5f17aae970066bf76af069ac7b5f55fa93cddf640a8680fc14f3ae34a92c05a7 [2020-04-16T14:46:55.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-16T14:47:10.049Z] 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 [2020-04-16T14:47:14.574Z] Reading package lists... [2020-04-16T14:47:15.427Z] Building dependency tree... [2020-04-16T14:47:15.427Z] Reading state information... [2020-04-16T14:47:16.391Z] The following packages were automatically installed and are no longer required: [2020-04-16T14:47:16.391Z] libjq1 liblzo2-2 libonig4 [2020-04-16T14:47:16.391Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T14:47:16.391Z] Suggested packages: [2020-04-16T14:47:16.391Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T14:47:16.391Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T14:47:16.391Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T14:47:16.391Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T14:47:16.659Z] The following NEW packages will be installed: [2020-04-16T14:47:16.659Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T14:47:16.659Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T14:47:16.659Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T14:47:16.659Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T14:47:16.927Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T14:47:16.927Z] Need to get 12.9 MB of archives. [2020-04-16T14:47:16.927Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-16T14:47:16.927Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-16T14:47:16.927Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-16T14:47:16.927Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-16T14:47:16.927Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-16T14:47:17.193Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-16T14:47:17.193Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] [2020-04-16T14:47:18.153Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-16T14:47:18.153Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-16T14:47:21.512Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-16T14:47:21.512Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-16T14:47:21.512Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-16T14:47:24.098Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T14:47:24.098Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-16T14:47:24.365Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-16T14:47:24.365Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-16T14:47:24.365Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-16T14:47:24.365Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] [2020-04-16T14:47:24.949Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-16T14:47:24.949Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-16T14:47:25.532Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-16T14:47:25.532Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-16T14:47:25.532Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-16T14:47:25.532Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T14:47:25.532Z] Ign:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T14:47:25.532Z] Ign:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 [2020-04-16T14:47:25.532Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-16T14:47:25.800Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-16T14:47:25.800Z] Err:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T14:47:25.800Z] 404 Not Found [IP: 91.189.88.150 80] [2020-04-16T14:47:25.800Z] Err:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 [2020-04-16T14:47:25.800Z] 404 Not Found [IP: 91.189.88.150 80] [2020-04-16T14:47:25.800Z] Fetched 9181 kB in 9s (1000 kB/s) [2020-04-16T14:47:25.800Z] 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] [2020-04-16T14:47:25.800Z] 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] [2020-04-16T14:47:25.800Z] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [2020-04-16T14:47:25.800Z] 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] } [2020-04-16T14:47:27.226Z] 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] } [2020-04-16T14:47:28.013Z] 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 [2020-04-16T14:47:29.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:47:29.524Z] ---> package-listing.sh [2020-04-16T14:47:29.524Z] ++ facter osfamily [2020-04-16T14:47:29.524Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T14:47:29.524Z] + OS_FAMILY=redhat [2020-04-16T14:47:29.524Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-139 [2020-04-16T14:47:29.524Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T14:47:29.524Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T14:47:29.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T14:47:29.524Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T14:47:29.524Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' [2020-04-16T14:47:29.524Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T14:47:29.524Z] + case "${OS_FAMILY}" in [2020-04-16T14:47:29.524Z] + rpm -qa [2020-04-16T14:47:29.524Z] + sort [2020-04-16T14:47:33.721Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T14:47:33.721Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T14:47:33.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T14:47:33.721Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' [2020-04-16T14:47:33.721Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ [2020-04-16T14:47:33.721Z] + 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 [2020-04-16T14:47:34.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:47:34.189Z] [2020-04-16T14:47:34.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T14:47:34.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T14:47:34.530Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T14:47:34.530Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T14:47:34.530Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T14:47:34.530Z] 756a868c4378: Pulling fs layer [2020-04-16T14:47:34.530Z] 444b2fc9a129: Pulling fs layer [2020-04-16T14:47:34.530Z] ea15f1150254: Pulling fs layer [2020-04-16T14:47:34.530Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T14:47:34.530Z] 28c525ee5125: Pulling fs layer [2020-04-16T14:47:34.530Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T14:47:34.530Z] 138eaada9080: Pulling fs layer [2020-04-16T14:47:34.530Z] 0622d0fa9048: Pulling fs layer [2020-04-16T14:47:34.530Z] 444b2fc9a129: Waiting [2020-04-16T14:47:34.530Z] 41b27a9f41bf: Waiting [2020-04-16T14:47:34.530Z] 28c525ee5125: Waiting [2020-04-16T14:47:34.530Z] 0622d0fa9048: Waiting [2020-04-16T14:47:34.530Z] 138eaada9080: Waiting [2020-04-16T14:47:34.530Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T14:47:34.530Z] 2cc5ad85d9ab: Download complete [2020-04-16T14:47:34.530Z] 444b2fc9a129: Verifying Checksum [2020-04-16T14:47:34.530Z] 444b2fc9a129: Download complete [2020-04-16T14:47:34.530Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T14:47:34.530Z] c9b1b535fdd9: Download complete [2020-04-16T14:47:34.799Z] ea15f1150254: Download complete [2020-04-16T14:47:34.799Z] 28c525ee5125: Verifying Checksum [2020-04-16T14:47:34.799Z] 28c525ee5125: Download complete [2020-04-16T14:47:35.076Z] c9b1b535fdd9: Pull complete [2020-04-16T14:47:35.076Z] 756a868c4378: Verifying Checksum [2020-04-16T14:47:35.076Z] 756a868c4378: Download complete [2020-04-16T14:47:35.353Z] 2cc5ad85d9ab: Pull complete [2020-04-16T14:47:35.353Z] 138eaada9080: Verifying Checksum [2020-04-16T14:47:35.353Z] 138eaada9080: Download complete [2020-04-16T14:47:35.353Z] 0622d0fa9048: Verifying Checksum [2020-04-16T14:47:35.353Z] 0622d0fa9048: Download complete [2020-04-16T14:47:35.623Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T14:47:35.623Z] 094b1ea09ed8: Download complete [2020-04-16T14:47:35.886Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T14:47:35.886Z] 41b27a9f41bf: Download complete [2020-04-16T14:47:36.823Z] 756a868c4378: Pull complete [2020-04-16T14:47:37.085Z] 444b2fc9a129: Pull complete [2020-04-16T14:47:37.356Z] ea15f1150254: Pull complete [2020-04-16T14:47:41.573Z] 41b27a9f41bf: Pull complete [2020-04-16T14:47:41.573Z] 28c525ee5125: Pull complete [2020-04-16T14:47:43.524Z] 094b1ea09ed8: Pull complete [2020-04-16T14:47:43.524Z] 138eaada9080: Pull complete [2020-04-16T14:47:43.783Z] 0622d0fa9048: Pull complete [2020-04-16T14:47:43.783Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T14:47:43.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T14:47:43.966Z] prd-centos7-docker-4c-2g-4295 does not seem to be running inside a container [2020-04-16T14:47:44.006Z] $ 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 [2020-04-16T14:47:45.126Z] $ docker top 059b63a100e4b617919f851a3097003ca019f4966b23ad6b1ae1601df0e6d370 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T14:47:45.391Z] provisioning config files... [2020-04-16T14:47:45.407Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/config8985552348893207208tmp [Pipeline] { [Pipeline] echo [2020-04-16T14:47:45.456Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:47:45.754Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T14:47:45.763Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T14:47:46.087Z] ---> logs-deploy.sh [2020-04-16T14:47:46.087Z] + ARCHIVE_ARTIFACTS= [2020-04-16T14:47:46.087Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T14:47:46.087Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T14:47:46.087Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T14:47:46.087Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/3 [2020-04-16T14:47:46.087Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/3/ [2020-04-16T14:47:46.087Z] + 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 [2020-04-16T14:47:47.467Z] Archives upload complete. [2020-04-16T14:47:47.467Z] + 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/