Pull request #139 opened 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: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-139/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 > git --version # 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4153 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" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:23:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:23:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:23:59 ========================================================= 00:23:59 EdgeX Global Pipelines Version Info 00:23:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:24:01 ------------------- 00:24:01 stable info: 00:24:01 ------------------- 00:24:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:24:01 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 00:24:01 Message: update stable to v1.0.73 00:24:01 ------------------- 00:24:01 experimental info: 00:24:01 ------------------- 00:24:01 Commited By: **** collab-it+edgex@linuxfoundation.org 00:24:01 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 00:24:01 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 00:24:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:04 00:24:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:24:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:05 latest: Pulling from edgex-devops/git-semver 00:24:05 9123ac7c32f7: Pulling fs layer 00:24:05 b8cc5d1170e3: Pulling fs layer 00:24:05 2924cbbf6a41: Pulling fs layer 00:24:05 93b08a4f1073: Pulling fs layer 00:24:05 93b08a4f1073: Waiting 00:24:05 b8cc5d1170e3: Verifying Checksum 00:24:05 b8cc5d1170e3: Download complete 00:24:05 9123ac7c32f7: Verifying Checksum 00:24:05 9123ac7c32f7: Download complete 00:24:05 2924cbbf6a41: Verifying Checksum 00:24:05 2924cbbf6a41: Download complete 00:24:05 93b08a4f1073: Verifying Checksum 00:24:05 93b08a4f1073: Download complete 00:24:05 9123ac7c32f7: Pull complete 00:24:05 b8cc5d1170e3: Pull complete 00:24:06 2924cbbf6a41: Pull complete 00:24:06 93b08a4f1073: Pull complete 00:24:06 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 00:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:24:07 prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container 00:24:07 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:24:07 $ docker top 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:08 [ssh-agent] Looking for ssh-agent implementation... 00:24:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:08 $ docker exec 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent 00:24:08 SSH_AUTH_SOCK=/tmp/ssh-x3Z22cmITPHp/agent.14 00:24:08 SSH_AGENT_PID=21 00:24:08 Running ssh-add (command line suppressed) 00:24:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_7462797509817453130.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_7462797509817453130.key) 00:24:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:09 + git describe --exact-match --tags HEAD 00:24:09 fatal: No names found, cannot describe anything. [Pipeline] } 00:24:09 $ docker exec --env ******** --env ******** 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent -k 00:24:09 unset SSH_AUTH_SOCK; 00:24:09 unset SSH_AGENT_PID; 00:24:09 echo Agent pid 21 killed; 00:24:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:24:09 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:24:09 This usually means this commit has not been tagged. [Pipeline] sshagent 00:24:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:09 [ssh-agent] Looking for ssh-agent implementation... 00:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:10 $ docker exec 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent 00:24:10 SSH_AUTH_SOCK=/tmp/ssh-mhQ45g9u3Ab1/agent.56 00:24:10 SSH_AGENT_PID=63 00:24:10 Running ssh-add (command line suppressed) 00:24:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_23475031094073145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/private_key_23475031094073145.key) 00:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:11 + git semver init 00:24:11 # -> Open(): unable to determine branch for HEAD 00:24:11 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.git 00:24:11 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-139 00:24:11 # $SEMVER_REMOTE_NAME = origin 00:24:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:24:11 # $SEMVER_USER_NAME = edgex-jenkins 00:24:11 # $SEMVER_BRANCH = PR-139 00:24:11 # $SEMVER_TEMP = /tmp/semver-056738080 00:24:11 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 00:24:11 # '/tmp/semver-056738080' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver' 00:24:11 # -> Force: false 00:24:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver [Pipeline] } 00:24:11 $ docker exec --env ******** --env ******** 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent -k 00:24:11 unset SSH_AUTH_SOCK; 00:24:11 unset SSH_AGENT_PID; 00:24:11 echo Agent pid 63 killed; 00:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:12 + git semver [Pipeline] } 00:24:12 $ docker stop --time=1 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f 00:24:14 $ docker rm -f 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:24:15 Stashed 21 file(s) [Pipeline] echo 00:24:15 [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 00:24:30 Still waiting to schedule task 00:24:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:24:30 Still waiting to schedule task 00:24:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4151’ is offline 00:26:35 Running on prd-centos7-docker-4c-2g-4157 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 00:26:35 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 00:26:39 using credential edgex-jenkins-ssh 00:26:39 Cloning the remote Git repository 00:26:39 Cloning with configured refspecs honoured and without tags 00:26:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:26:39 > git init /w/workspace/device-mqtt-go/1 # timeout=10 00:26:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:26:39 > git --version # timeout=10 00:26:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:39 > 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 00:26:40 Fetching without tags 00:26:40 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:26:40 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:26:40 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 00:26:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:26:40 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 00:26:40 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:26:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:26:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:26:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:40 > 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 00:26:40 > git config core.sparsecheckout # timeout=10 00:26:40 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 00:26:40 > git remote # timeout=10 00:26:40 > git config --get remote.origin.url # timeout=10 00:26:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:40 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 00:26:40 > git rev-parse HEAD^{commit} # timeout=10 00:26:40 > git config core.sparsecheckout # timeout=10 00:26:40 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 00:26:44 Commit message: "add buildSnap option" 00:26:44 > git --version # timeout=10 00:26:44 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:26:45 ========================================================= 00:26:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 00:26:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:26:46 + 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 . 00:26:46 Sending build context to Docker daemon 544.3kB 00:26:46 Step 1/8 : ARG BASE=golang:1.13-alpine 00:26:46 Step 2/8 : FROM ${BASE} 00:26:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 00:26:46 e6b0cf9c0882: Pulling fs layer 00:26:46 2848faf0eed1: Pulling fs layer 00:26:46 0f37312ad70f: Pulling fs layer 00:26:46 5788d62ee057: Pulling fs layer 00:26:46 0e6b1d234666: Pulling fs layer 00:26:46 bf5d7aec512f: Pulling fs layer 00:26:46 34c802a77dc8: Pulling fs layer 00:26:46 9eb99e56ec68: Pulling fs layer 00:26:46 27c7a5d97fbd: Pulling fs layer 00:26:46 5c102a31e300: Pulling fs layer 00:26:46 dcfb455df0a1: Pulling fs layer 00:26:46 5788d62ee057: Waiting 00:26:46 0e6b1d234666: Waiting 00:26:46 bf5d7aec512f: Waiting 00:26:46 34c802a77dc8: Waiting 00:26:46 9eb99e56ec68: Waiting 00:26:46 27c7a5d97fbd: Waiting 00:26:46 5c102a31e300: Waiting 00:26:46 dcfb455df0a1: Waiting 00:26:46 0f37312ad70f: Verifying Checksum 00:26:46 0f37312ad70f: Download complete 00:26:46 2848faf0eed1: Download complete 00:26:46 0e6b1d234666: Verifying Checksum 00:26:46 0e6b1d234666: Download complete 00:26:46 bf5d7aec512f: Verifying Checksum 00:26:46 bf5d7aec512f: Download complete 00:26:46 e6b0cf9c0882: Verifying Checksum 00:26:46 e6b0cf9c0882: Download complete 00:26:47 e6b0cf9c0882: Pull complete 00:26:47 2848faf0eed1: Pull complete 00:26:47 0f37312ad70f: Pull complete 00:26:48 34c802a77dc8: Verifying Checksum 00:26:48 34c802a77dc8: Download complete 00:26:48 27c7a5d97fbd: Verifying Checksum 00:26:48 27c7a5d97fbd: Download complete 00:26:49 5788d62ee057: Download complete 00:26:49 9eb99e56ec68: Verifying Checksum 00:26:49 9eb99e56ec68: Download complete 00:26:49 dcfb455df0a1: Verifying Checksum 00:26:49 dcfb455df0a1: Download complete 00:26:49 5c102a31e300: Verifying Checksum 00:26:49 5c102a31e300: Download complete 00:26:57 5788d62ee057: Pull complete 00:26:57 0e6b1d234666: Pull complete 00:26:57 bf5d7aec512f: Pull complete 00:27:01 34c802a77dc8: Pull complete 00:27:05 9eb99e56ec68: Pull complete 00:27:05 27c7a5d97fbd: Pull complete 00:27:06 5c102a31e300: Pull complete 00:27:06 dcfb455df0a1: Pull complete 00:27:06 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 00:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 00:27:06 ---> 7c70fe431013 00:27:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:27:06 ---> Running in 84981c39d326 00:27:06 Removing intermediate container 84981c39d326 00:27:06 ---> 4658ce618e24 00:27:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:27:06 ---> Running in b64d29092310 00:27:07 Removing intermediate container b64d29092310 00:27:07 ---> 1b5ed87cbb63 00:27:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:27:07 ---> Running in 188bce8f9f25 00:27:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 00:27:09 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 00:27:09 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 00:27:09 (2/17) Installing libmagic (5.37-r1) 00:27:09 (3/17) Installing file (5.37-r1) 00:27:09 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 00:27:09 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 00:27:09 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 00:27:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4156 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws 00:27:13 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 00:27:14 (7/17) Installing libc-dev (0.7.2-r0) 00:27:14 (8/17) Installing g++ (9.2.0-r4) 00:27:16 (9/17) Installing fortify-headers (1.1-r0) 00:27:16 (10/17) Installing build-base (0.5-r1) 00:27:16 (11/17) Installing openssh-keygen (8.1_p1-r0) 00:27:16 (12/17) Installing libedit (20191211.3.1-r0) 00:27:16 (13/17) Installing openssh-client (8.1_p1-r0) 00:27:17 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 00:27:17 (15/17) Installing openssh-server-common (8.1_p1-r0) 00:27:17 (16/17) Installing openssh-server (8.1_p1-r0) 00:27:17 (17/17) Installing openssh (8.1_p1-r0) 00:27:17 Executing busybox-1.31.1-r8.trigger 00:27:17 OK: 214 MiB in 52 packages 00:27:19 using credential edgex-jenkins-ssh 00:27:19 Cloning the remote Git repository 00:27:19 Cloning with configured refspecs honoured and without tags 00:27:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:27:20 > git init /w/workspace/device-mqtt-go/1 # timeout=10 00:27:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:27:20 > git --version # timeout=10 00:27:21 Fetching without tags 00:27:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:20 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:27:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:27:20 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 00:27:20 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 00:27:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:27:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:27:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:21 > 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 00:27:21 Removing intermediate container 188bce8f9f25 00:27:21 ---> d24fc0ee9a87 00:27:21 Step 6/8 : WORKDIR /device-mqtt-go 00:27:21 ---> Running in 1462b4c08966 00:27:21 Removing intermediate container 1462b4c08966 00:27:21 ---> e716cf38692c 00:27:21 Step 7/8 : COPY . . 00:27:21 Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:27:21 ---> 7c3afcaa9a09 00:27:21 Step 8/8 : RUN go mod download 00:27:21 Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:27:21 Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) 00:27:22 ---> Running in 806405419bb7 00:27:21 > git config core.sparsecheckout # timeout=10 00:27:21 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 00:27:21 > git remote # timeout=10 00:27:21 > git config --get remote.origin.url # timeout=10 00:27:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:21 > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 00:27:21 > git rev-parse HEAD^{commit} # timeout=10 00:27:21 > git config core.sparsecheckout # timeout=10 00:27:21 > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 00:27:24 go: finding github.com/BurntSushi/toml v0.3.1 00:27:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:27:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:27:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:27:24 go: finding github.com/bgentry/speakeasy v0.1.0 00:27:24 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 00:27:24 go: finding github.com/davecgh/go-spew v1.1.1 00:27:24 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 00:27:24 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 00:27:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 00:27:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 00:27:24 go: finding github.com/fatih/color v1.7.0 00:27:24 go: finding github.com/go-kit/kit v0.8.0 00:27:24 go: finding github.com/go-logfmt/logfmt v0.4.0 00:27:24 go: finding github.com/go-stack/stack v1.8.0 00:27:24 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:27:24 go: finding github.com/google/uuid v1.1.1 00:27:24 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 00:27:24 go: finding github.com/gorilla/mux v1.7.0 00:27:24 go: finding github.com/hashicorp/consul v1.4.2 00:27:24 go: finding github.com/hashicorp/errwrap v1.0.0 00:27:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 00:27:24 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:27:24 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:27:24 go: finding github.com/hashicorp/go-multierror v1.0.0 00:27:24 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:27:24 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:27:24 go: finding github.com/hashicorp/go-syslog v1.0.0 00:27:24 go: finding github.com/hashicorp/go-uuid v1.0.1 00:27:24 go: finding github.com/hashicorp/go.net v0.0.1 00:27:24 go: finding github.com/hashicorp/golang-lru v0.5.0 00:27:24 go: finding github.com/hashicorp/logutils v1.0.0 00:27:24 go: finding github.com/hashicorp/mdns v1.0.0 00:27:24 go: finding github.com/hashicorp/memberlist v0.1.3 00:27:24 go: finding github.com/hashicorp/serf v0.8.2 00:27:24 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:27:24 go: finding github.com/kr/pretty v0.1.0 00:27:24 go: finding github.com/kr/pty v1.1.1 00:27:24 go: finding github.com/kr/text v0.1.0 00:27:24 go: finding github.com/mattn/go-colorable v0.0.9 00:27:24 go: finding github.com/mattn/go-isatty v0.0.3 00:27:24 go: finding github.com/miekg/dns v1.0.14 00:27:24 go: finding github.com/mitchellh/cli v1.0.0 00:27:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:27:24 go: finding github.com/mitchellh/copystructure v1.0.0 00:27:24 go: finding github.com/mitchellh/go-homedir v1.0.0 00:27:24 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:27:24 go: finding github.com/mitchellh/gox v0.4.0 00:27:24 go: finding github.com/mitchellh/iochan v1.0.0 00:27:24 go: finding github.com/mitchellh/mapstructure v1.1.2 00:27:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:27:24 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:27:24 go: finding github.com/pelletier/go-toml v1.2.0 00:27:24 go: finding github.com/pkg/errors v0.8.1 00:27:24 go: finding github.com/pmezard/go-difflib v1.0.0 00:27:24 go: finding github.com/posener/complete v1.1.1 00:27:24 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:27:24 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:27:24 go: finding github.com/spf13/cast v1.3.0 00:27:24 go: finding github.com/stretchr/objx v0.1.0 00:27:24 go: finding github.com/stretchr/testify v1.3.0 00:27:24 go: finding github.com/ugorji/go v1.1.4 00:27:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:27:25 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 00:27:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:27:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:27:25 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 00:27:25 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 00:27:25 go: finding gopkg.in/yaml.v2 v2.2.2 00:27:26 Commit message: "add buildSnap option" 00:27:26 > git --version # timeout=10 00:27:26 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:27:27 ========================================================= 00:27:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 00:27:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:27:28 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 00:27:29 Sending build context to Docker daemon 544.3kB 00:27:29 Step 1/8 : ARG BASE=golang:1.13-alpine 00:27:29 Step 2/8 : FROM ${BASE} 00:27:29 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:27:29 cde5963f3b93: Pulling fs layer 00:27:29 2a23fa8c16f7: Pulling fs layer 00:27:29 777b28850792: Pulling fs layer 00:27:29 8a11ddd9e578: Pulling fs layer 00:27:29 4cf88f913ddb: Pulling fs layer 00:27:29 1df406cf5192: Pulling fs layer 00:27:29 cd6300453558: Pulling fs layer 00:27:29 b9c365052c96: Pulling fs layer 00:27:29 a2d8cc88f415: Pulling fs layer 00:27:29 ea1d1ca13537: Pulling fs layer 00:27:29 3750a50a1c5e: Pulling fs layer 00:27:29 8a11ddd9e578: Waiting 00:27:29 4cf88f913ddb: Waiting 00:27:29 1df406cf5192: Waiting 00:27:29 cd6300453558: Waiting 00:27:29 b9c365052c96: Waiting 00:27:29 a2d8cc88f415: Waiting 00:27:29 ea1d1ca13537: Waiting 00:27:29 3750a50a1c5e: Waiting 00:27:29 777b28850792: Verifying Checksum 00:27:29 777b28850792: Download complete 00:27:30 2a23fa8c16f7: Download complete 00:27:30 4cf88f913ddb: Verifying Checksum 00:27:30 4cf88f913ddb: Download complete 00:27:30 1df406cf5192: Verifying Checksum 00:27:30 1df406cf5192: Download complete 00:27:30 cde5963f3b93: Verifying Checksum 00:27:30 cde5963f3b93: Download complete 00:27:31 cde5963f3b93: Pull complete 00:27:31 2a23fa8c16f7: Pull complete 00:27:32 777b28850792: Pull complete 00:27:34 cd6300453558: Verifying Checksum 00:27:34 cd6300453558: Download complete 00:27:34 a2d8cc88f415: Verifying Checksum 00:27:34 a2d8cc88f415: Download complete 00:27:36 ea1d1ca13537: Verifying Checksum 00:27:36 ea1d1ca13537: Download complete 00:27:36 3750a50a1c5e: Download complete 00:27:40 Removing intermediate container 806405419bb7 00:27:40 ---> 4066003843bf 00:27:40 Successfully built 4066003843bf 00:27:40 Successfully tagged ci-base-image-x86_64:latest 00:27:40 b9c365052c96: Verifying Checksum 00:27:40 b9c365052c96: Download complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:27:40 + docker inspect -f . ci-base-image-x86_64 00:27:40 . [Pipeline] withDockerContainer 00:27:40 prd-centos7-docker-4c-2g-4157 does not seem to be running inside a container 00:27:41 8a11ddd9e578: Verifying Checksum 00:27:41 8a11ddd9e578: Download complete 00:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:27:41 $ docker top f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:42 + go version 00:27:42 go version go1.13.5 linux/amd64 [Pipeline] sh 00:27:42 + make test 00:27:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:27:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:27:53 8a11ddd9e578: Pull complete 00:27:53 4cf88f913ddb: Pull complete 00:27:53 1df406cf5192: Pull complete 00:27:59 cd6300453558: Pull complete 00:28:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:28:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 29.8% of statements 00:28:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:28:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:28:03 b9c365052c96: Pull complete 00:28:04 a2d8cc88f415: Pull complete 00:28:05 gofmt -l . 00:28:05 ["`gofmt -l .`" = ""] 00:28:05 ./bin/test-attribution-txt.sh 00:28:06 ea1d1ca13537: Pull complete 00:28:06 ./bin/test-go-mod-tidy.sh 00:28:06 3750a50a1c5e: Pull complete 00:28:06 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 00:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 00:28:06 ---> 78745c68409d 00:28:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] stash 00:28:07 Stashed 1 file(s) [Pipeline] } 00:28:07 $ docker stop --time=1 f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 00:28:08 $ docker rm -f f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:28:10 + ls -al . 00:28:10 total 92 00:28:10 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 00:28 . 00:28:10 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 00:26 .. 00:28:10 -rw-rw-r--. 1 jenkins jenkins 3943 Apr 16 00:26 Attribution.txt 00:28:10 drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 00:26 bin 00:28:10 drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 00:26 cmd 00:28:10 -rw-r--r--. 1 jenkins jenkins 18213 Apr 16 00:28 coverage.out 00:28:10 -rw-rw-r--. 1 jenkins jenkins 1626 Apr 16 00:26 Dockerfile 00:28:10 -rw-rw-r--. 1 jenkins jenkins 953 Apr 16 00:26 Dockerfile.build 00:28:10 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 00:26 .dockerignore 00:28:10 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 00:26 .git 00:28:10 -rw-rw-r--. 1 jenkins jenkins 335 Apr 16 00:26 .gitignore 00:28:10 -rw-r--r--. 1 jenkins jenkins 581 Apr 16 00:28 go.mod 00:28:10 -rw-r--r--. 1 jenkins jenkins 12267 Apr 16 00:28 go.sum 00:28:10 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 00:26 internal 00:28:10 -rw-rw-r--. 1 jenkins jenkins 700 Apr 16 00:26 Jenkinsfile 00:28:10 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 00:26 LICENSE 00:28:10 -rw-rw-r--. 1 jenkins jenkins 902 Apr 16 00:26 Makefile 00:28:10 drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 00:26 mock 00:28:10 -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 00:26 README.md 00:28:10 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 00:26 .semver 00:28:10 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 00:26 snap 00:28:10 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 00:24 VERSION 00:28:10 -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 00:26 version.go [Pipeline] isUnix [Pipeline] sh 00:28:10 ---> Running in c1a9c26639c7 00:28:10 Removing intermediate container c1a9c26639c7 00:28:10 ---> 7576f8deff69 00:28:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:28:10 + 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 . 00:28:10 Sending build context to Docker daemon 563.2kB 00:28:10 ---> Running in d40f4c3bc688 00:28:11 Step 1/19 : ARG BASE=golang:1.13-alpine 00:28:11 Step 2/19 : FROM ${BASE} AS builder 00:28:11 ---> 4066003843bf 00:28:11 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:28:11 ---> Running in 96ddcbfb0399 00:28:11 Removing intermediate container 96ddcbfb0399 00:28:11 ---> fd946620941e 00:28:11 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 00:28:11 ---> Running in f5b442f66d82 00:28:11 Removing intermediate container f5b442f66d82 00:28:11 ---> 7c13b7e7320b 00:28:11 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:28:11 ---> Running in 83330fb97686 00:28:12 Removing intermediate container 83330fb97686 00:28:12 ---> 25a16bbbcdb3 00:28:12 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:28:12 ---> Running in 4b22fd132f94 00:28:12 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 00:28:12 Removing intermediate container d40f4c3bc688 00:28:12 ---> 92b2c4b18eaf 00:28:12 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:28:13 ---> Running in aa3f82c0db54 00:28:13 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 00:28:13 OK: 214 MiB in 52 packages 00:28:14 Removing intermediate container 4b22fd132f94 00:28:14 ---> d1333f58c588 00:28:14 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 00:28:14 ---> Running in 84be59632504 00:28:14 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 00:28:14 Removing intermediate container 84be59632504 00:28:14 ---> 1eeaff381763 00:28:14 Step 8/19 : COPY . . 00:28:14 ---> 4a879d17f677 00:28:14 Step 9/19 : ARG MAKE='make build' 00:28:14 ---> Running in 5f0b26e4dcb0 00:28:14 Removing intermediate container 5f0b26e4dcb0 00:28:14 ---> 3cc56607e152 00:28:14 Step 10/19 : RUN $MAKE 00:28:14 ---> Running in a6dda1adca2f 00:28:15 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 00:28:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 00:28:15 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 00:28:15 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 00:28:15 (3/18) Installing libmagic (5.37-r1) 00:28:15 (4/18) Installing file (5.37-r1) 00:28:15 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 00:28:15 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 00:28:16 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 00:28:18 (8/18) Installing libc-dev (0.7.2-r0) 00:28:18 (9/18) Installing g++ (9.2.0-r4) 00:28:20 (10/18) Installing fortify-headers (1.1-r0) 00:28:20 (11/18) Installing build-base (0.5-r1) 00:28:20 (12/18) Installing openssh-keygen (8.1_p1-r0) 00:28:20 (13/18) Installing libedit (20191211.3.1-r0) 00:28:20 (14/18) Installing openssh-client (8.1_p1-r0) 00:28:20 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 00:28:20 (16/18) Installing openssh-server-common (8.1_p1-r0) 00:28:20 (17/18) Installing openssh-server (8.1_p1-r0) 00:28:20 (18/18) Installing openssh (8.1_p1-r0) 00:28:20 Executing busybox-1.31.1-r8.trigger 00:28:20 OK: 203 MiB in 52 packages 00:28:27 Removing intermediate container aa3f82c0db54 00:28:27 ---> 79a83857464b 00:28:27 Step 6/8 : WORKDIR /device-mqtt-go 00:28:27 ---> Running in 56546987972b 00:28:27 Removing intermediate container 56546987972b 00:28:27 ---> 6036a350da17 00:28:27 Step 7/8 : COPY . . 00:28:28 ---> f50bbefdb30b 00:28:28 Step 8/8 : RUN go mod download 00:28:28 ---> Running in 87ca82f5b784 00:28:30 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:28:30 go: finding github.com/BurntSushi/toml v0.3.1 00:28:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 00:28:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:28:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 00:28:30 go: finding github.com/bgentry/speakeasy v0.1.0 00:28:30 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 00:28:30 go: finding github.com/davecgh/go-spew v1.1.1 00:28:30 go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 00:28:30 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 00:28:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 00:28:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 00:28:30 go: finding github.com/fatih/color v1.7.0 00:28:30 go: finding github.com/go-kit/kit v0.8.0 00:28:30 go: finding github.com/go-logfmt/logfmt v0.4.0 00:28:30 go: finding github.com/go-stack/stack v1.8.0 00:28:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:28:30 go: finding github.com/google/uuid v1.1.1 00:28:30 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 00:28:30 go: finding github.com/gorilla/mux v1.7.0 00:28:30 go: finding github.com/hashicorp/consul v1.4.2 00:28:30 go: finding github.com/hashicorp/errwrap v1.0.0 00:28:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 00:28:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 00:28:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 00:28:30 go: finding github.com/hashicorp/go-multierror v1.0.0 00:28:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 00:28:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 00:28:30 go: finding github.com/hashicorp/go-syslog v1.0.0 00:28:30 go: finding github.com/hashicorp/go-uuid v1.0.1 00:28:30 go: finding github.com/hashicorp/go.net v0.0.1 00:28:30 go: finding github.com/hashicorp/golang-lru v0.5.0 00:28:30 go: finding github.com/hashicorp/logutils v1.0.0 00:28:30 go: finding github.com/hashicorp/mdns v1.0.0 00:28:30 go: finding github.com/hashicorp/memberlist v0.1.3 00:28:30 go: finding github.com/hashicorp/serf v0.8.2 00:28:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:28:31 go: finding github.com/kr/pretty v0.1.0 00:28:31 go: finding github.com/kr/pty v1.1.1 00:28:31 go: finding github.com/kr/text v0.1.0 00:28:31 go: finding github.com/mattn/go-colorable v0.0.9 00:28:31 go: finding github.com/mattn/go-isatty v0.0.3 00:28:31 go: finding github.com/miekg/dns v1.0.14 00:28:31 go: finding github.com/mitchellh/cli v1.0.0 00:28:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:28:31 go: finding github.com/mitchellh/copystructure v1.0.0 00:28:31 go: finding github.com/mitchellh/go-homedir v1.0.0 00:28:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 00:28:31 go: finding github.com/mitchellh/gox v0.4.0 00:28:31 go: finding github.com/mitchellh/iochan v1.0.0 00:28:31 go: finding github.com/mitchellh/mapstructure v1.1.2 00:28:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 00:28:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:28:31 go: finding github.com/pelletier/go-toml v1.2.0 00:28:31 go: finding github.com/pkg/errors v0.8.1 00:28:31 go: finding github.com/pmezard/go-difflib v1.0.0 00:28:31 go: finding github.com/posener/complete v1.1.1 00:28:31 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 00:28:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:28:31 go: finding github.com/spf13/cast v1.3.0 00:28:31 go: finding github.com/stretchr/objx v0.1.0 00:28:31 go: finding github.com/stretchr/testify v1.3.0 00:28:31 go: finding github.com/ugorji/go v1.1.4 00:28:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 00:28:31 go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 00:28:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 00:28:31 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 00:28:31 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 00:28:31 go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 00:28:31 go: finding gopkg.in/yaml.v2 v2.2.2 00:28:32 Removing intermediate container a6dda1adca2f 00:28:32 ---> 4a291560142d 00:28:32 Step 11/19 : FROM alpine 00:28:32 latest: Pulling from library/alpine 00:28:32 aad63a933944: Pulling fs layer 00:28:33 aad63a933944: Download complete 00:28:33 aad63a933944: Pull complete 00:28:33 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 00:28:33 Status: Downloaded newer image for alpine:latest 00:28:33 ---> a187dde48cd2 00:28:33 Step 12/19 : ENV APP_PORT=49982 00:28:33 ---> Running in 677998f7d842 00:28:33 Removing intermediate container 677998f7d842 00:28:33 ---> 5a40e552a3bd 00:28:33 Step 13/19 : EXPOSE $APP_PORT 00:28:33 ---> Running in 47394b1f3a35 00:28:33 Removing intermediate container 47394b1f3a35 00:28:33 ---> ca33a372787e 00:28:33 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 00:28:34 ---> c50ae8090e7e 00:28:34 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 00:28:34 ---> Running in b04321e1cb7c 00:28:35 Removing intermediate container b04321e1cb7c 00:28:35 ---> 95e7616df9c3 00:28:35 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 00:28:35 ---> Running in 28dd8549764c 00:28:35 Removing intermediate container 28dd8549764c 00:28:35 ---> df422f6b9ef5 00:28:35 Step 17/19 : LABEL arch=amd64 00:28:35 ---> Running in 198e6c63b46b 00:28:35 Removing intermediate container 198e6c63b46b 00:28:35 ---> c710e1c5c515 00:28:35 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:28:35 ---> Running in 694140507eea 00:28:35 Removing intermediate container 694140507eea 00:28:35 ---> b3dc06e6c22a 00:28:35 Step 19/19 : LABEL version=0.0.0 00:28:35 ---> Running in 984bfbe021f1 00:28:35 Removing intermediate container 984bfbe021f1 00:28:35 ---> 106f8537219e 00:28:35 [Warning] One or more build-args [ARCH] were not consumed 00:28:35 Successfully built 106f8537219e 00:28:35 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 00:28:37 ++ find /w/workspace/device-mqtt-go/1 00:28:37 ++ grep snapcraft.yaml 00:28:37 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:28:37 provisioning config files... 00:28:37 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config732224255149958400tmp [Pipeline] { [Pipeline] sh 00:28:37 + cp /w/workspace/device-mqtt-go/1@tmp/config732224255149958400tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 00:28:38 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/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 00:28:38 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 00:28:38 latest: Pulling from edgex-devops/edgex-snap-builder 00:28:38 5bed26d33875: Pulling fs layer 00:28:38 f11b29a9c730: Pulling fs layer 00:28:38 930bda195c84: Pulling fs layer 00:28:38 78bf9a5ad49e: Pulling fs layer 00:28:38 e75ab6511037: Pulling fs layer 00:28:38 04d638ffbd94: Pulling fs layer 00:28:38 f4f5cce346a8: Pulling fs layer 00:28:38 704472b7d14e: Pulling fs layer 00:28:38 d92ed03d1dad: Pulling fs layer 00:28:38 78bf9a5ad49e: Waiting 00:28:38 e75ab6511037: Waiting 00:28:38 04d638ffbd94: Waiting 00:28:38 f4f5cce346a8: Waiting 00:28:38 704472b7d14e: Waiting 00:28:38 d92ed03d1dad: Waiting 00:28:38 930bda195c84: Download complete 00:28:38 f11b29a9c730: Verifying Checksum 00:28:38 f11b29a9c730: Download complete 00:28:38 78bf9a5ad49e: Verifying Checksum 00:28:38 78bf9a5ad49e: Download complete 00:28:38 04d638ffbd94: Verifying Checksum 00:28:38 04d638ffbd94: Download complete 00:28:38 f4f5cce346a8: Verifying Checksum 00:28:38 f4f5cce346a8: Download complete 00:28:38 704472b7d14e: Download complete 00:28:38 d92ed03d1dad: Verifying Checksum 00:28:38 d92ed03d1dad: Download complete 00:28:38 5bed26d33875: Verifying Checksum 00:28:38 5bed26d33875: Download complete 00:28:41 5bed26d33875: Pull complete 00:28:42 f11b29a9c730: Pull complete 00:28:42 930bda195c84: Pull complete 00:28:42 78bf9a5ad49e: Pull complete 00:28:42 e75ab6511037: Verifying Checksum 00:28:42 e75ab6511037: Download complete 00:28:49 Removing intermediate container 87ca82f5b784 00:28:49 ---> c3533c194cd7 00:28:49 Successfully built c3533c194cd7 00:28:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:28:50 + docker inspect -f . ci-base-image-arm64 00:28:50 . [Pipeline] withDockerContainer 00:28:51 prd-ubuntu18.04-docker-arm64-4c-16g-4156 does not seem to be running inside a container 00:28:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 00:28:52 $ docker top 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:53 + go version 00:28:53 go version go1.13.5 linux/arm64 [Pipeline] sh 00:28:54 + make test 00:28:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:28:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:29:04 e75ab6511037: Pull complete 00:29:04 04d638ffbd94: Pull complete 00:29:04 f4f5cce346a8: Pull complete 00:29:04 704472b7d14e: Pull complete 00:29:04 d92ed03d1dad: Pull complete 00:29:04 Digest: sha256:834ffeafcc9ca33964284e701e2fd595e30a976ce23a06ba08cd3e3051b3b84d 00:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 00:29:08 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 00:29:09 Reading package lists... 00:29:09 Building dependency tree... 00:29:09 Reading state information... 00:29:10 The following packages were automatically installed and are no longer required: 00:29:10 libjq1 liblzo2-2 libonig4 00:29:10 Use 'sudo apt autoremove' to remove them. 00:29:10 Suggested packages: 00:29:10 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 00:29:10 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 00:29:10 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 00:29:10 libterm-readline-gnu-perl | libterm-readline-perl-perl 00:29:10 The following NEW packages will be installed: 00:29:10 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 00:29:10 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 00:29:10 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 00:29:10 openssh-client patch perl perl-modules-5.26 xauth 00:29:10 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 00:29:10 Need to get 14.7 MB of archives. 00:29:10 After this operation, 89.5 MB of additional disk space will be used. 00:29:10 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 00:29:10 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 00:29:10 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 00:29:10 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 00:29:10 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 00:29:11 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 00:29:11 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 00:29:11 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 00:29:11 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 00:29:11 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 00:29:11 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 00:29:11 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 00:29:11 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 00:29:11 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 00:29:11 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 00:29:11 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 00:29:11 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 00:29:11 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 00:29:11 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 00:29:11 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 00:29:11 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 00:29:11 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 00:29:11 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 00:29:11 Ign:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 00:29:11 Ign:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 00:29:11 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 00:29:11 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 00:29:11 Err:24 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 00:29:11 404 Not Found [IP: 91.189.88.152 80] 00:29:11 Err:25 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 00:29:11 404 Not Found [IP: 91.189.88.152 80] 00:29:11 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] 00:29:11 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] 00:29:11 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 00:29:11 Fetched 10.0 MB in 2s (6458 kB/s) 00:29:11 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] } 00:29:12 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] } 00:29:13 Failed in branch amd64 00:29:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:29:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 29.8% of statements 00:29:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:29:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:29:42 gofmt -l . 00:29:42 ["`gofmt -l .`" = ""] 00:29:42 ./bin/test-attribution-txt.sh 00:29:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 00:29:44 Warning: overwriting stash ‘coverage-report’ 00:29:44 Stashed 1 file(s) [Pipeline] } 00:29:44 $ docker stop --time=1 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 00:29:46 $ docker rm -f 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:29:48 + ls -al . 00:29:48 total 124 00:29:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 00:29 . 00:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 00:27 .. 00:29:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 00:27 .dockerignore 00:29:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 00:27 .git 00:29:48 -rw-rw-r-- 1 jenkins jenkins 335 Apr 16 00:27 .gitignore 00:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 .semver 00:29:48 -rw-rw-r-- 1 jenkins jenkins 3943 Apr 16 00:27 Attribution.txt 00:29:48 -rw-rw-r-- 1 jenkins jenkins 1626 Apr 16 00:27 Dockerfile 00:29:48 -rw-rw-r-- 1 jenkins jenkins 953 Apr 16 00:27 Dockerfile.build 00:29:48 -rw-rw-r-- 1 jenkins jenkins 700 Apr 16 00:27 Jenkinsfile 00:29:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 00:27 LICENSE 00:29:48 -rw-rw-r-- 1 jenkins jenkins 902 Apr 16 00:27 Makefile 00:29:48 -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 00:27 README.md 00:29:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 00:24 VERSION 00:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 00:27 bin 00:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 cmd 00:29:48 -rw-r--r-- 1 jenkins jenkins 18213 Apr 16 00:29 coverage.out 00:29:48 -rw-r--r-- 1 jenkins jenkins 581 Apr 16 00:29 go.mod 00:29:48 -rw-r--r-- 1 jenkins jenkins 12267 Apr 16 00:29 go.sum 00:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 internal 00:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 00:27 mock 00:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 00:27 snap 00:29:48 -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 00:27 version.go [Pipeline] isUnix [Pipeline] sh 00:29:48 + 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 . 00:29:49 Sending build context to Docker daemon 563.2kB 00:29:49 Step 1/19 : ARG BASE=golang:1.13-alpine 00:29:49 Step 2/19 : FROM ${BASE} AS builder 00:29:49 ---> c3533c194cd7 00:29:49 Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:29:49 ---> Running in 4df553990273 00:29:49 Removing intermediate container 4df553990273 00:29:49 ---> dda8dfa55a25 00:29:49 Step 4/19 : ARG ALPINE_PKG_EXTRA="" 00:29:50 ---> Running in d78dc8d90d7b 00:29:50 Removing intermediate container d78dc8d90d7b 00:29:50 ---> 113305e82dd9 00:29:50 Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:29:50 ---> Running in cc0eaafc5bd2 00:29:52 Removing intermediate container cc0eaafc5bd2 00:29:52 ---> c28247e5c88f 00:29:52 Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:29:52 ---> Running in 207cc7e45660 00:29:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 00:29:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 00:29:54 OK: 203 MiB in 52 packages 00:29:55 Removing intermediate container 207cc7e45660 00:29:55 ---> 5944343f89ab 00:29:55 Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 00:29:55 ---> Running in 7da81c8eae51 00:29:55 Removing intermediate container 7da81c8eae51 00:29:55 ---> 1504fde042fc 00:29:55 Step 8/19 : COPY . . 00:29:56 ---> b7b3c0b0f8f7 00:29:56 Step 9/19 : ARG MAKE='make build' 00:29:56 ---> Running in 7f59f55cb59c 00:29:57 Removing intermediate container 7f59f55cb59c 00:29:57 ---> dfd7ab35be20 00:29:57 Step 10/19 : RUN $MAKE 00:29:57 ---> Running in f88dad3d7cba 00:29:58 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 00:30:37 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:30:45 Removing intermediate container f88dad3d7cba 00:30:45 ---> d2cebe2931c9 00:30:45 Step 11/19 : FROM alpine 00:30:45 latest: Pulling from library/alpine 00:30:45 8a0637ca1ac9: Pulling fs layer 00:30:45 8a0637ca1ac9: Verifying Checksum 00:30:45 8a0637ca1ac9: Download complete 00:30:45 8a0637ca1ac9: Pull complete 00:30:45 Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 00:30:45 Status: Downloaded newer image for alpine:latest 00:30:45 ---> 2ee122dcc32d 00:30:45 Step 12/19 : ENV APP_PORT=49982 00:30:46 ---> Running in 87905b696ed0 00:30:46 Removing intermediate container 87905b696ed0 00:30:46 ---> 6d23067d4ceb 00:30:46 Step 13/19 : EXPOSE $APP_PORT 00:30:46 ---> Running in ed24f5025d07 00:30:47 Removing intermediate container ed24f5025d07 00:30:47 ---> d454b1118d5a 00:30:47 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 00:30:48 ---> 2e6449f3c511 00:30:48 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 00:30:48 ---> Running in 678a17918584 00:30:49 Removing intermediate container 678a17918584 00:30:49 ---> dc45edc2012c 00:30:49 Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 00:30:49 ---> Running in 6864a6569220 00:30:49 Removing intermediate container 6864a6569220 00:30:49 ---> 2a0a13f71446 00:30:49 Step 17/19 : LABEL arch=arm64 00:30:49 ---> Running in 4620a43c2573 00:30:49 Removing intermediate container 4620a43c2573 00:30:49 ---> 94ff42d30673 00:30:49 Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee 00:30:50 ---> Running in 87129b8ba71c 00:30:50 Removing intermediate container 87129b8ba71c 00:30:50 ---> 8cd8ce19cfbb 00:30:50 Step 19/19 : LABEL version=0.0.0 00:30:50 ---> Running in 14148b1b486e 00:30:50 Removing intermediate container 14148b1b486e 00:30:50 ---> 52c2f03c3d3f 00:30:50 [Warning] One or more build-args [ARCH] were not consumed 00:30:50 Successfully built 52c2f03c3d3f 00:30:50 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 00:30:51 + find /w/workspace/device-mqtt-go/1 00:30:51 + grep snapcraft.yaml 00:30:51 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:52 provisioning config files... 00:30:52 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config5020562464261736486tmp [Pipeline] { [Pipeline] sh 00:30:52 + cp /w/workspace/device-mqtt-go/1@tmp/config5020562464261736486tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 00:30:52 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/1:/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 00:30:52 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 00:30:53 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 00:30:53 b2f61026a351: Pulling fs layer 00:30:53 5538fb30c42c: Pulling fs layer 00:30:53 f0b05810781a: Pulling fs layer 00:30:53 0180a33352d6: Pulling fs layer 00:30:53 aed7a3056e2b: Pulling fs layer 00:30:53 d39a94810997: Pulling fs layer 00:30:53 1eacfb9348ea: Pulling fs layer 00:30:53 b94196875123: Pulling fs layer 00:30:53 1787fae59f1e: Pulling fs layer 00:30:53 aed7a3056e2b: Waiting 00:30:53 b94196875123: Waiting 00:30:53 d39a94810997: Waiting 00:30:53 1787fae59f1e: Waiting 00:30:53 1eacfb9348ea: Waiting 00:30:53 0180a33352d6: Waiting 00:30:53 f0b05810781a: Download complete 00:30:53 5538fb30c42c: Download complete 00:30:53 0180a33352d6: Verifying Checksum 00:30:53 0180a33352d6: Download complete 00:30:53 d39a94810997: Verifying Checksum 00:30:53 d39a94810997: Download complete 00:30:53 1eacfb9348ea: Verifying Checksum 00:30:53 1eacfb9348ea: Download complete 00:30:53 b94196875123: Verifying Checksum 00:30:53 b94196875123: Download complete 00:30:53 1787fae59f1e: Verifying Checksum 00:30:53 1787fae59f1e: Download complete 00:30:55 b2f61026a351: Download complete 00:30:58 b2f61026a351: Pull complete 00:30:58 5538fb30c42c: Pull complete 00:30:58 f0b05810781a: Pull complete 00:30:59 0180a33352d6: Pull complete 00:31:17 aed7a3056e2b: Verifying Checksum 00:31:17 aed7a3056e2b: Download complete 00:31:49 aed7a3056e2b: Pull complete 00:31:49 d39a94810997: Pull complete 00:31:49 1eacfb9348ea: Pull complete 00:31:49 b94196875123: Pull complete 00:31:49 1787fae59f1e: Pull complete 00:31:49 Digest: sha256:5f17aae970066bf76af069ac7b5f55fa93cddf640a8680fc14f3ae34a92c05a7 00:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 00:32:07 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 00:32:10 Reading package lists... 00:32:11 Building dependency tree... 00:32:11 Reading state information... 00:32:11 The following packages were automatically installed and are no longer required: 00:32:11 libjq1 liblzo2-2 libonig4 00:32:11 Use 'sudo apt autoremove' to remove them. 00:32:11 Suggested packages: 00:32:11 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 00:32:11 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 00:32:11 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 00:32:11 libterm-readline-gnu-perl | libterm-readline-perl-perl 00:32:12 The following NEW packages will be installed: 00:32:12 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 00:32:12 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 00:32:12 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 00:32:12 openssh-client patch perl perl-modules-5.26 xauth 00:32:12 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 00:32:12 Need to get 12.9 MB of archives. 00:32:12 After this operation, 84.2 MB of additional disk space will be used. 00:32:12 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 00:32:12 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 00:32:12 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 00:32:12 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 00:32:12 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 00:32:12 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 00:32:13 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 00:32:13 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 00:32:13 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 00:32:13 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 00:32:13 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 00:32:13 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 00:32:13 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 00:32:13 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 00:32:13 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 00:32:13 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 00:32:13 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 00:32:13 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 00:32:13 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 00:32:13 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 00:32:13 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 00:32:13 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 00:32:13 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 00:32:13 Ign:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 00:32:13 Ign:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 00:32:13 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 00:32:13 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 00:32:13 Err:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 00:32:13 404 Not Found [IP: 91.189.88.150 80] 00:32:13 Err:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 00:32:13 404 Not Found [IP: 91.189.88.150 80] 00:32:13 Fetched 9181 kB in 1s (6260 kB/s) 00:32:13 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] 00:32:13 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] 00:32:13 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 00:32:13 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] } 00:32:14 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] } 00:32:16 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 00:32:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:32:18 ---> package-listing.sh 00:32:18 ++ facter osfamily 00:32:18 ++ tr '[:upper:]' '[:lower:]' 00:32:18 + OS_FAMILY=redhat 00:32:18 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-139 00:32:18 + START_PACKAGES=/tmp/packages_start.txt 00:32:18 + END_PACKAGES=/tmp/packages_end.txt 00:32:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:32:18 + PACKAGES=/tmp/packages_start.txt 00:32:18 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 00:32:18 + PACKAGES=/tmp/packages_end.txt 00:32:18 + case "${OS_FAMILY}" in 00:32:18 + rpm -qa 00:32:18 + sort 00:32:22 + '[' -f /tmp/packages_start.txt ']' 00:32:22 + '[' -f /tmp/packages_end.txt ']' 00:32:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:32:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' 00:32:22 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ 00:32:22 + 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 00:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:32:23 00:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:32:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:32:23 alpine: Pulling from edgex-lftools-log-publisher 00:32:23 c9b1b535fdd9: Pulling fs layer 00:32:23 2cc5ad85d9ab: Pulling fs layer 00:32:23 756a868c4378: Pulling fs layer 00:32:23 444b2fc9a129: Pulling fs layer 00:32:23 ea15f1150254: Pulling fs layer 00:32:23 41b27a9f41bf: Pulling fs layer 00:32:23 28c525ee5125: Pulling fs layer 00:32:23 094b1ea09ed8: Pulling fs layer 00:32:23 138eaada9080: Pulling fs layer 00:32:23 0622d0fa9048: Pulling fs layer 00:32:23 41b27a9f41bf: Waiting 00:32:23 28c525ee5125: Waiting 00:32:23 444b2fc9a129: Waiting 00:32:23 ea15f1150254: Waiting 00:32:23 094b1ea09ed8: Waiting 00:32:23 138eaada9080: Waiting 00:32:23 0622d0fa9048: Waiting 00:32:23 2cc5ad85d9ab: Verifying Checksum 00:32:23 2cc5ad85d9ab: Download complete 00:32:23 444b2fc9a129: Download complete 00:32:23 c9b1b535fdd9: Verifying Checksum 00:32:23 c9b1b535fdd9: Download complete 00:32:23 ea15f1150254: Verifying Checksum 00:32:23 ea15f1150254: Download complete 00:32:23 28c525ee5125: Verifying Checksum 00:32:23 28c525ee5125: Download complete 00:32:24 756a868c4378: Verifying Checksum 00:32:24 756a868c4378: Download complete 00:32:24 c9b1b535fdd9: Pull complete 00:32:24 138eaada9080: Verifying Checksum 00:32:24 138eaada9080: Download complete 00:32:24 0622d0fa9048: Verifying Checksum 00:32:24 0622d0fa9048: Download complete 00:32:24 094b1ea09ed8: Verifying Checksum 00:32:24 094b1ea09ed8: Download complete 00:32:24 2cc5ad85d9ab: Pull complete 00:32:25 41b27a9f41bf: Verifying Checksum 00:32:25 41b27a9f41bf: Download complete 00:32:26 756a868c4378: Pull complete 00:32:27 444b2fc9a129: Pull complete 00:32:27 ea15f1150254: Pull complete 00:32:31 41b27a9f41bf: Pull complete 00:32:31 28c525ee5125: Pull complete 00:32:33 094b1ea09ed8: Pull complete 00:32:33 138eaada9080: Pull complete 00:32:33 0622d0fa9048: Pull complete 00:32:33 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 00:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:32:34 prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container 00:32:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:32:35 $ docker top 91bbeebf5eb8cddc6fc21a343469fada03e0cf8cd715b72b4d2e617b8c80ec77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:35 provisioning config files... 00:32:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/config697487792755234003tmp [Pipeline] { [Pipeline] echo 00:32:35 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:32:36 ---> create-netrc.sh [Pipeline] echo 00:32:36 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:32:36 ---> logs-deploy.sh 00:32:36 + ARCHIVE_ARTIFACTS= 00:32:36 + LOGS_SERVER=https://logs.edgexfoundry.org 00:32:36 + '[' https://logs.edgexfoundry.org == None ']' 00:32:36 + NEXUS_URL=https://nexus.edgexfoundry.org 00:32:36 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/1 00:32:36 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/1/ 00:32:36 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/1 /w/workspace/gexfoundry_device-mqtt-go_PR-139 00:32:37 Archives upload complete. 00:32:37 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/1/