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 [2020-04-16T00:23:58.674Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T00:23:59.241Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T00:23:59.512Z] ========================================================= [2020-04-16T00:23:59.512Z] EdgeX Global Pipelines Version Info [2020-04-16T00:23:59.512Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T00:24:01.048Z] ------------------- [2020-04-16T00:24:01.049Z] stable info: [2020-04-16T00:24:01.049Z] ------------------- [2020-04-16T00:24:01.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T00:24:01.049Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T00:24:01.049Z] Message: update stable to v1.0.73 [2020-04-16T00:24:01.996Z] ------------------- [2020-04-16T00:24:01.996Z] experimental info: [2020-04-16T00:24:01.996Z] ------------------- [2020-04-16T00:24:01.996Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T00:24:01.996Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T00:24:01.996Z] 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-16T00:24:04.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T00:24:04.736Z] [2020-04-16T00:24:04.736Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:24:05.102Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T00:24:05.103Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T00:24:05.103Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T00:24:05.103Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T00:24:05.103Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T00:24:05.103Z] 93b08a4f1073: Pulling fs layer [2020-04-16T00:24:05.103Z] 93b08a4f1073: Waiting [2020-04-16T00:24:05.369Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T00:24:05.369Z] b8cc5d1170e3: Download complete [2020-04-16T00:24:05.369Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T00:24:05.369Z] 9123ac7c32f7: Download complete [2020-04-16T00:24:05.369Z] 2924cbbf6a41: Verifying Checksum [2020-04-16T00:24:05.369Z] 2924cbbf6a41: Download complete [2020-04-16T00:24:05.369Z] 93b08a4f1073: Verifying Checksum [2020-04-16T00:24:05.369Z] 93b08a4f1073: Download complete [2020-04-16T00:24:05.630Z] 9123ac7c32f7: Pull complete [2020-04-16T00:24:05.630Z] b8cc5d1170e3: Pull complete [2020-04-16T00:24:06.581Z] 2924cbbf6a41: Pull complete [2020-04-16T00:24:06.841Z] 93b08a4f1073: Pull complete [2020-04-16T00:24:06.842Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T00:24:06.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T00:24:07.010Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2020-04-16T00:24:07.077Z] $ 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 [2020-04-16T00:24:07.887Z] $ docker top 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T00:24:08.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T00:24:08.280Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T00:24:08.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T00:24:08.551Z] $ docker exec 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent [2020-04-16T00:24:08.801Z] SSH_AUTH_SOCK=/tmp/ssh-x3Z22cmITPHp/agent.14 [2020-04-16T00:24:08.801Z] SSH_AGENT_PID=21 [2020-04-16T00:24:08.817Z] Running ssh-add (command line suppressed) [2020-04-16T00:24:08.971Z] 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) [2020-04-16T00:24:09.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T00:24:09.415Z] + git describe --exact-match --tags HEAD [2020-04-16T00:24:09.415Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T00:24:09.504Z] $ docker exec --env ******** --env ******** 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent -k [2020-04-16T00:24:09.680Z] unset SSH_AUTH_SOCK; [2020-04-16T00:24:09.680Z] unset SSH_AGENT_PID; [2020-04-16T00:24:09.680Z] echo Agent pid 21 killed; [2020-04-16T00:24:09.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T00:24:09.881Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T00:24:09.881Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T00:24:09.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T00:24:09.970Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T00:24:10.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T00:24:10.196Z] $ docker exec 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent [2020-04-16T00:24:10.468Z] SSH_AUTH_SOCK=/tmp/ssh-mhQ45g9u3Ab1/agent.56 [2020-04-16T00:24:10.468Z] SSH_AGENT_PID=63 [2020-04-16T00:24:10.474Z] Running ssh-add (command line suppressed) [2020-04-16T00:24:10.646Z] 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) [2020-04-16T00:24:10.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T00:24:11.104Z] + git semver init [2020-04-16T00:24:11.104Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T00:24:11.104Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.git [2020-04-16T00:24:11.104Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-139 [2020-04-16T00:24:11.104Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T00:24:11.104Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T00:24:11.104Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T00:24:11.104Z] # $SEMVER_BRANCH = PR-139 [2020-04-16T00:24:11.104Z] # $SEMVER_TEMP = /tmp/semver-056738080 [2020-04-16T00:24:11.104Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-04-16T00:24:11.681Z] # '/tmp/semver-056738080' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver' [2020-04-16T00:24:11.681Z] # -> Force: false [2020-04-16T00:24:11.681Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-139/.semver [Pipeline] } [2020-04-16T00:24:11.700Z] $ docker exec --env ******** --env ******** 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f ssh-agent -k [2020-04-16T00:24:11.909Z] unset SSH_AUTH_SOCK; [2020-04-16T00:24:11.910Z] unset SSH_AGENT_PID; [2020-04-16T00:24:11.910Z] echo Agent pid 63 killed; [2020-04-16T00:24:11.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T00:24:12.515Z] + git semver [Pipeline] } [2020-04-16T00:24:12.540Z] $ docker stop --time=1 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f [2020-04-16T00:24:14.080Z] $ docker rm -f 2f5513d84ee8080d5a9fb319de12b8f3f026e5fa1f7d3df25907f99e0670e48f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T00:24:15.021Z] Stashed 21 file(s) [Pipeline] echo [2020-04-16T00:24:15.038Z] [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-16T00:24:30.474Z] Still waiting to schedule task [2020-04-16T00:24:30.474Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T00:24:30.493Z] Still waiting to schedule task [2020-04-16T00:24:30.493Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4151’ is offline [2020-04-16T00:26:35.611Z] Running on prd-centos7-docker-4c-2g-4157 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T00:26:35.776Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-04-16T00:26:39.110Z] using credential edgex-jenkins-ssh [2020-04-16T00:26:39.187Z] Cloning the remote Git repository [2020-04-16T00:26:39.187Z] Cloning with configured refspecs honoured and without tags [2020-04-16T00:26:39.264Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:26:39.316Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-04-16T00:26:39.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:26:39.374Z] > git --version # timeout=10 [2020-04-16T00:26:39.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:26:39.415Z] > 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-16T00:26:40.245Z] Fetching without tags [2020-04-16T00:26:40.609Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:26:40.689Z] Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:26:40.689Z] Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) [2020-04-16T00:26:40.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T00:26:40.219Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T00:26:40.228Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T00:26:40.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T00:26:40.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:26:40.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:26:40.258Z] > 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-16T00:26:40.620Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T00:26:40.625Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T00:26:40.659Z] > git remote # timeout=10 [2020-04-16T00:26:40.664Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T00:26:40.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:26:40.674Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-16T00:26:40.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T00:26:40.697Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T00:26:40.702Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T00:26:44.552Z] Commit message: "add buildSnap option" [2020-04-16T00:26:44.584Z] > git --version # timeout=10 [2020-04-16T00:26:44.605Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T00:26:45.857Z] ========================================================= [2020-04-16T00:26:45.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T00:26:45.857Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:26:46.582Z] + 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-16T00:26:46.846Z] Sending build context to Docker daemon 544.3kB [2020-04-16T00:26:46.846Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T00:26:46.846Z] Step 2/8 : FROM ${BASE} [2020-04-16T00:26:46.846Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T00:26:46.846Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T00:26:46.846Z] 2848faf0eed1: Pulling fs layer [2020-04-16T00:26:46.846Z] 0f37312ad70f: Pulling fs layer [2020-04-16T00:26:46.846Z] 5788d62ee057: Pulling fs layer [2020-04-16T00:26:46.846Z] 0e6b1d234666: Pulling fs layer [2020-04-16T00:26:46.846Z] bf5d7aec512f: Pulling fs layer [2020-04-16T00:26:46.846Z] 34c802a77dc8: Pulling fs layer [2020-04-16T00:26:46.846Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T00:26:46.846Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T00:26:46.846Z] 5c102a31e300: Pulling fs layer [2020-04-16T00:26:46.846Z] dcfb455df0a1: Pulling fs layer [2020-04-16T00:26:46.846Z] 5788d62ee057: Waiting [2020-04-16T00:26:46.846Z] 0e6b1d234666: Waiting [2020-04-16T00:26:46.846Z] bf5d7aec512f: Waiting [2020-04-16T00:26:46.846Z] 34c802a77dc8: Waiting [2020-04-16T00:26:46.846Z] 9eb99e56ec68: Waiting [2020-04-16T00:26:46.846Z] 27c7a5d97fbd: Waiting [2020-04-16T00:26:46.846Z] 5c102a31e300: Waiting [2020-04-16T00:26:46.846Z] dcfb455df0a1: Waiting [2020-04-16T00:26:46.846Z] 0f37312ad70f: Verifying Checksum [2020-04-16T00:26:46.846Z] 0f37312ad70f: Download complete [2020-04-16T00:26:46.846Z] 2848faf0eed1: Download complete [2020-04-16T00:26:46.846Z] 0e6b1d234666: Verifying Checksum [2020-04-16T00:26:46.846Z] 0e6b1d234666: Download complete [2020-04-16T00:26:46.846Z] bf5d7aec512f: Verifying Checksum [2020-04-16T00:26:46.846Z] bf5d7aec512f: Download complete [2020-04-16T00:26:46.846Z] e6b0cf9c0882: Verifying Checksum [2020-04-16T00:26:46.846Z] e6b0cf9c0882: Download complete [2020-04-16T00:26:47.428Z] e6b0cf9c0882: Pull complete [2020-04-16T00:26:47.706Z] 2848faf0eed1: Pull complete [2020-04-16T00:26:47.991Z] 0f37312ad70f: Pull complete [2020-04-16T00:26:48.639Z] 34c802a77dc8: Verifying Checksum [2020-04-16T00:26:48.639Z] 34c802a77dc8: Download complete [2020-04-16T00:26:48.639Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T00:26:48.639Z] 27c7a5d97fbd: Download complete [2020-04-16T00:26:49.223Z] 5788d62ee057: Download complete [2020-04-16T00:26:49.223Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T00:26:49.223Z] 9eb99e56ec68: Download complete [2020-04-16T00:26:49.223Z] dcfb455df0a1: Verifying Checksum [2020-04-16T00:26:49.223Z] dcfb455df0a1: Download complete [2020-04-16T00:26:49.223Z] 5c102a31e300: Verifying Checksum [2020-04-16T00:26:49.223Z] 5c102a31e300: Download complete [2020-04-16T00:26:57.372Z] 5788d62ee057: Pull complete [2020-04-16T00:26:57.372Z] 0e6b1d234666: Pull complete [2020-04-16T00:26:57.372Z] bf5d7aec512f: Pull complete [2020-04-16T00:27:01.600Z] 34c802a77dc8: Pull complete [2020-04-16T00:27:05.879Z] 9eb99e56ec68: Pull complete [2020-04-16T00:27:05.879Z] 27c7a5d97fbd: Pull complete [2020-04-16T00:27:06.453Z] 5c102a31e300: Pull complete [2020-04-16T00:27:06.716Z] dcfb455df0a1: Pull complete [2020-04-16T00:27:06.716Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T00:27:06.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T00:27:06.716Z] ---> 7c70fe431013 [2020-04-16T00:27:06.716Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-16T00:27:06.716Z] ---> Running in 84981c39d326 [2020-04-16T00:27:06.993Z] Removing intermediate container 84981c39d326 [2020-04-16T00:27:06.993Z] ---> 4658ce618e24 [2020-04-16T00:27:06.993Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T00:27:06.993Z] ---> Running in b64d29092310 [2020-04-16T00:27:07.936Z] Removing intermediate container b64d29092310 [2020-04-16T00:27:07.936Z] ---> 1b5ed87cbb63 [2020-04-16T00:27:07.936Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T00:27:07.936Z] ---> Running in 188bce8f9f25 [2020-04-16T00:27:08.505Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T00:27:09.073Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T00:27:09.332Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:27:09.594Z] (2/17) Installing libmagic (5.37-r1) [2020-04-16T00:27:09.594Z] (3/17) Installing file (5.37-r1) [2020-04-16T00:27:09.594Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:27:09.854Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:27:09.854Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:27:13.662Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4156 in /w/workspace/gexfoundry_device-mqtt-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T00:27:13.731Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-04-16T00:27:14.073Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-16T00:27:14.073Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-16T00:27:16.609Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-16T00:27:16.609Z] (10/17) Installing build-base (0.5-r1) [2020-04-16T00:27:16.868Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T00:27:16.868Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-16T00:27:16.868Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-16T00:27:17.127Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T00:27:17.127Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T00:27:17.387Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-16T00:27:17.387Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-16T00:27:17.387Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T00:27:17.387Z] OK: 214 MiB in 52 packages [2020-04-16T00:27:19.897Z] using credential edgex-jenkins-ssh [2020-04-16T00:27:19.961Z] Cloning the remote Git repository [2020-04-16T00:27:19.961Z] Cloning with configured refspecs honoured and without tags [2020-04-16T00:27:19.987Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:27:20.068Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-04-16T00:27:20.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:27:20.152Z] > git --version # timeout=10 [2020-04-16T00:27:21.086Z] Fetching without tags [2020-04-16T00:27:20.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:27:20.252Z] > 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-16T00:27:20.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T00:27:20.951Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T00:27:20.983Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T00:27:21.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-04-16T00:27:21.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-04-16T00:27:21.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:27:21.083Z] > 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-16T00:27:21.604Z] Removing intermediate container 188bce8f9f25 [2020-04-16T00:27:21.604Z] ---> d24fc0ee9a87 [2020-04-16T00:27:21.604Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-16T00:27:21.604Z] ---> Running in 1462b4c08966 [2020-04-16T00:27:21.604Z] Removing intermediate container 1462b4c08966 [2020-04-16T00:27:21.604Z] ---> e716cf38692c [2020-04-16T00:27:21.604Z] Step 7/8 : COPY . . [2020-04-16T00:27:21.611Z] Merging remotes/origin/master commit a379864c4ca603a3f217526d4d7ed89d41ad0b38 into PR head commit ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:27:21.864Z] ---> 7c3afcaa9a09 [2020-04-16T00:27:21.864Z] Step 8/8 : RUN go mod download [2020-04-16T00:27:21.880Z] Merge succeeded, producing ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:27:21.881Z] Checking out Revision ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee (PR-139) [2020-04-16T00:27:22.123Z] ---> Running in 806405419bb7 [2020-04-16T00:27:21.604Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T00:27:21.635Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T00:27:21.726Z] > git remote # timeout=10 [2020-04-16T00:27:21.743Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T00:27:21.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T00:27:21.774Z] > git merge a379864c4ca603a3f217526d4d7ed89d41ad0b38 # timeout=10 [2020-04-16T00:27:21.803Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T00:27:21.859Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T00:27:21.885Z] > git checkout -f ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee # timeout=10 [2020-04-16T00:27:24.029Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T00:27:24.029Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T00:27:24.029Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T00:27:24.029Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T00:27:24.029Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T00:27:24.029Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T00:27:24.029Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T00:27:24.029Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-16T00:27:24.029Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T00:27:24.029Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T00:27:24.029Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T00:27:24.029Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T00:27:24.029Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T00:27:24.029Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T00:27:24.289Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T00:27:24.289Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T00:27:24.289Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T00:27:24.289Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T00:27:24.289Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T00:27:24.289Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T00:27:24.551Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T00:27:24.551Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T00:27:24.551Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-16T00:27:24.551Z] go: finding github.com/kr/pty v1.1.1 [2020-04-16T00:27:24.551Z] go: finding github.com/kr/text v0.1.0 [2020-04-16T00:27:24.551Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T00:27:24.551Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T00:27:24.551Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T00:27:24.551Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T00:27:24.810Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T00:27:24.810Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T00:27:24.810Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T00:27:24.810Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T00:27:24.810Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T00:27:24.811Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T00:27:24.811Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T00:27:24.811Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T00:27:24.811Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T00:27:24.811Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T00:27:24.811Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T00:27:24.811Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T00:27:24.811Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T00:27:24.811Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T00:27:24.811Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T00:27:24.811Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-16T00:27:24.811Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T00:27:24.811Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T00:27:24.811Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T00:27:25.071Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T00:27:25.071Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-16T00:27:25.071Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T00:27:25.071Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T00:27:25.071Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-16T00:27:25.071Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-16T00:27:25.071Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T00:27:26.489Z] Commit message: "add buildSnap option" [2020-04-16T00:27:26.533Z] > git --version # timeout=10 [2020-04-16T00:27:26.573Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T00:27:27.680Z] ========================================================= [2020-04-16T00:27:27.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T00:27:27.680Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:27:28.822Z] + 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-16T00:27:29.457Z] Sending build context to Docker daemon 544.3kB [2020-04-16T00:27:29.457Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T00:27:29.457Z] Step 2/8 : FROM ${BASE} [2020-04-16T00:27:29.742Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T00:27:29.742Z] cde5963f3b93: Pulling fs layer [2020-04-16T00:27:29.742Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T00:27:29.742Z] 777b28850792: Pulling fs layer [2020-04-16T00:27:29.742Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T00:27:29.742Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T00:27:29.742Z] 1df406cf5192: Pulling fs layer [2020-04-16T00:27:29.742Z] cd6300453558: Pulling fs layer [2020-04-16T00:27:29.742Z] b9c365052c96: Pulling fs layer [2020-04-16T00:27:29.742Z] a2d8cc88f415: Pulling fs layer [2020-04-16T00:27:29.742Z] ea1d1ca13537: Pulling fs layer [2020-04-16T00:27:29.742Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T00:27:29.742Z] 8a11ddd9e578: Waiting [2020-04-16T00:27:29.742Z] 4cf88f913ddb: Waiting [2020-04-16T00:27:29.742Z] 1df406cf5192: Waiting [2020-04-16T00:27:29.742Z] cd6300453558: Waiting [2020-04-16T00:27:29.742Z] b9c365052c96: Waiting [2020-04-16T00:27:29.742Z] a2d8cc88f415: Waiting [2020-04-16T00:27:29.742Z] ea1d1ca13537: Waiting [2020-04-16T00:27:29.742Z] 3750a50a1c5e: Waiting [2020-04-16T00:27:29.742Z] 777b28850792: Verifying Checksum [2020-04-16T00:27:29.742Z] 777b28850792: Download complete [2020-04-16T00:27:30.016Z] 2a23fa8c16f7: Download complete [2020-04-16T00:27:30.017Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T00:27:30.017Z] 4cf88f913ddb: Download complete [2020-04-16T00:27:30.017Z] 1df406cf5192: Verifying Checksum [2020-04-16T00:27:30.017Z] 1df406cf5192: Download complete [2020-04-16T00:27:30.282Z] cde5963f3b93: Verifying Checksum [2020-04-16T00:27:30.283Z] cde5963f3b93: Download complete [2020-04-16T00:27:31.253Z] cde5963f3b93: Pull complete [2020-04-16T00:27:31.852Z] 2a23fa8c16f7: Pull complete [2020-04-16T00:27:32.125Z] 777b28850792: Pull complete [2020-04-16T00:27:34.097Z] cd6300453558: Verifying Checksum [2020-04-16T00:27:34.097Z] cd6300453558: Download complete [2020-04-16T00:27:34.097Z] a2d8cc88f415: Verifying Checksum [2020-04-16T00:27:34.097Z] a2d8cc88f415: Download complete [2020-04-16T00:27:36.694Z] ea1d1ca13537: Verifying Checksum [2020-04-16T00:27:36.694Z] ea1d1ca13537: Download complete [2020-04-16T00:27:36.694Z] 3750a50a1c5e: Download complete [2020-04-16T00:27:40.015Z] Removing intermediate container 806405419bb7 [2020-04-16T00:27:40.015Z] ---> 4066003843bf [2020-04-16T00:27:40.015Z] Successfully built 4066003843bf [2020-04-16T00:27:40.015Z] Successfully tagged ci-base-image-x86_64:latest [2020-04-16T00:27:40.053Z] b9c365052c96: Verifying Checksum [2020-04-16T00:27:40.053Z] b9c365052c96: Download complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:27:40.823Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T00:27:40.823Z] . [Pipeline] withDockerContainer [2020-04-16T00:27:40.976Z] prd-centos7-docker-4c-2g-4157 does not seem to be running inside a container [2020-04-16T00:27:41.016Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T00:27:41.016Z] 8a11ddd9e578: Download complete [2020-04-16T00:27:41.037Z] $ 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 [2020-04-16T00:27:41.648Z] $ docker top f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T00:27:42.250Z] + go version [2020-04-16T00:27:42.250Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T00:27:42.578Z] + make test [2020-04-16T00:27:42.578Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T00:27:43.962Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-16T00:27:53.909Z] 8a11ddd9e578: Pull complete [2020-04-16T00:27:53.909Z] 4cf88f913ddb: Pull complete [2020-04-16T00:27:53.909Z] 1df406cf5192: Pull complete [2020-04-16T00:27:59.296Z] cd6300453558: Pull complete [2020-04-16T00:28:02.572Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-16T00:28:02.573Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 29.8% of statements [2020-04-16T00:28:02.573Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-16T00:28:02.573Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T00:28:03.569Z] b9c365052c96: Pull complete [2020-04-16T00:28:04.156Z] a2d8cc88f415: Pull complete [2020-04-16T00:28:05.890Z] gofmt -l . [2020-04-16T00:28:05.891Z] ["`gofmt -l .`" = ""] [2020-04-16T00:28:05.891Z] ./bin/test-attribution-txt.sh [2020-04-16T00:28:06.118Z] ea1d1ca13537: Pull complete [2020-04-16T00:28:06.156Z] ./bin/test-go-mod-tidy.sh [2020-04-16T00:28:06.384Z] 3750a50a1c5e: Pull complete [2020-04-16T00:28:06.384Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T00:28:06.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T00:28:06.384Z] ---> 78745c68409d [2020-04-16T00:28:06.384Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] stash [2020-04-16T00:28:07.020Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T00:28:07.041Z] $ docker stop --time=1 f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 [2020-04-16T00:28:08.534Z] $ docker rm -f f9cf5c1efff3ae957a2b89e298554e32503751d524dfe38f3281b5ae1a6b8926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T00:28:10.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T00:28:10.439Z] + ls -al . [2020-04-16T00:28:10.439Z] total 92 [2020-04-16T00:28:10.439Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 00:28 . [2020-04-16T00:28:10.439Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 00:26 .. [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 3943 Apr 16 00:26 Attribution.txt [2020-04-16T00:28:10.439Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 00:26 bin [2020-04-16T00:28:10.439Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 00:26 cmd [2020-04-16T00:28:10.439Z] -rw-r--r--. 1 jenkins jenkins 18213 Apr 16 00:28 coverage.out [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 1626 Apr 16 00:26 Dockerfile [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 953 Apr 16 00:26 Dockerfile.build [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 00:26 .dockerignore [2020-04-16T00:28:10.439Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 00:26 .git [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 335 Apr 16 00:26 .gitignore [2020-04-16T00:28:10.439Z] -rw-r--r--. 1 jenkins jenkins 581 Apr 16 00:28 go.mod [2020-04-16T00:28:10.439Z] -rw-r--r--. 1 jenkins jenkins 12267 Apr 16 00:28 go.sum [2020-04-16T00:28:10.439Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 00:26 internal [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 700 Apr 16 00:26 Jenkinsfile [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 00:26 LICENSE [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 902 Apr 16 00:26 Makefile [2020-04-16T00:28:10.439Z] drwxrwxr-x. 2 jenkins jenkins 23 Apr 16 00:26 mock [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 444 Apr 16 00:26 README.md [2020-04-16T00:28:10.439Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 00:26 .semver [2020-04-16T00:28:10.439Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 00:26 snap [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 00:24 VERSION [2020-04-16T00:28:10.439Z] -rw-rw-r--. 1 jenkins jenkins 227 Apr 16 00:26 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:28:10.665Z] ---> Running in c1a9c26639c7 [2020-04-16T00:28:10.665Z] Removing intermediate container c1a9c26639c7 [2020-04-16T00:28:10.665Z] ---> 7576f8deff69 [2020-04-16T00:28:10.665Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T00:28:10.786Z] + 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-16T00:28:10.786Z] Sending build context to Docker daemon 563.2kB [2020-04-16T00:28:10.931Z] ---> Running in d40f4c3bc688 [2020-04-16T00:28:11.049Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-16T00:28:11.049Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-16T00:28:11.049Z] ---> 4066003843bf [2020-04-16T00:28:11.049Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-16T00:28:11.049Z] ---> Running in 96ddcbfb0399 [2020-04-16T00:28:11.049Z] Removing intermediate container 96ddcbfb0399 [2020-04-16T00:28:11.049Z] ---> fd946620941e [2020-04-16T00:28:11.049Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-16T00:28:11.049Z] ---> Running in f5b442f66d82 [2020-04-16T00:28:11.311Z] Removing intermediate container f5b442f66d82 [2020-04-16T00:28:11.311Z] ---> 7c13b7e7320b [2020-04-16T00:28:11.311Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T00:28:11.311Z] ---> Running in 83330fb97686 [2020-04-16T00:28:12.248Z] Removing intermediate container 83330fb97686 [2020-04-16T00:28:12.248Z] ---> 25a16bbbcdb3 [2020-04-16T00:28:12.248Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-16T00:28:12.248Z] ---> Running in 4b22fd132f94 [2020-04-16T00:28:12.507Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T00:28:12.877Z] Removing intermediate container d40f4c3bc688 [2020-04-16T00:28:12.877Z] ---> 92b2c4b18eaf [2020-04-16T00:28:12.877Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T00:28:13.145Z] ---> Running in aa3f82c0db54 [2020-04-16T00:28:13.445Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T00:28:13.445Z] OK: 214 MiB in 52 packages [2020-04-16T00:28:14.021Z] Removing intermediate container 4b22fd132f94 [2020-04-16T00:28:14.021Z] ---> d1333f58c588 [2020-04-16T00:28:14.021Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-16T00:28:14.021Z] ---> Running in 84be59632504 [2020-04-16T00:28:14.110Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T00:28:14.281Z] Removing intermediate container 84be59632504 [2020-04-16T00:28:14.281Z] ---> 1eeaff381763 [2020-04-16T00:28:14.281Z] Step 8/19 : COPY . . [2020-04-16T00:28:14.542Z] ---> 4a879d17f677 [2020-04-16T00:28:14.542Z] Step 9/19 : ARG MAKE='make build' [2020-04-16T00:28:14.542Z] ---> Running in 5f0b26e4dcb0 [2020-04-16T00:28:14.542Z] Removing intermediate container 5f0b26e4dcb0 [2020-04-16T00:28:14.542Z] ---> 3cc56607e152 [2020-04-16T00:28:14.542Z] Step 10/19 : RUN $MAKE [2020-04-16T00:28:14.542Z] ---> Running in a6dda1adca2f [2020-04-16T00:28:15.070Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T00:28:15.112Z] 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-16T00:28:15.339Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:28:15.339Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:28:15.605Z] (3/18) Installing libmagic (5.37-r1) [2020-04-16T00:28:15.605Z] (4/18) Installing file (5.37-r1) [2020-04-16T00:28:15.872Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:28:15.872Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:28:16.139Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T00:28:18.084Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-16T00:28:18.084Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-16T00:28:20.030Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-16T00:28:20.030Z] (11/18) Installing build-base (0.5-r1) [2020-04-16T00:28:20.030Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T00:28:20.030Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-16T00:28:20.030Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-16T00:28:20.311Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T00:28:20.311Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T00:28:20.582Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-16T00:28:20.582Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-16T00:28:20.582Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T00:28:20.582Z] OK: 203 MiB in 52 packages [2020-04-16T00:28:27.246Z] Removing intermediate container aa3f82c0db54 [2020-04-16T00:28:27.246Z] ---> 79a83857464b [2020-04-16T00:28:27.246Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-04-16T00:28:27.521Z] ---> Running in 56546987972b [2020-04-16T00:28:27.789Z] Removing intermediate container 56546987972b [2020-04-16T00:28:27.789Z] ---> 6036a350da17 [2020-04-16T00:28:27.789Z] Step 7/8 : COPY . . [2020-04-16T00:28:28.373Z] ---> f50bbefdb30b [2020-04-16T00:28:28.374Z] Step 8/8 : RUN go mod download [2020-04-16T00:28:28.643Z] ---> Running in 87ca82f5b784 [2020-04-16T00:28:30.101Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T00:28:30.596Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T00:28:30.596Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T00:28:30.596Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T00:28:30.596Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T00:28:30.596Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T00:28:30.596Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T00:28:30.596Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T00:28:30.596Z] go: finding github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-04-16T00:28:30.596Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T00:28:30.596Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T00:28:30.596Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T00:28:30.860Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T00:28:30.860Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T00:28:30.860Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T00:28:30.860Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T00:28:30.860Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T00:28:30.860Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T00:28:30.860Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T00:28:30.860Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T00:28:30.860Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T00:28:30.861Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T00:28:30.861Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T00:28:31.127Z] go: finding github.com/kr/pretty v0.1.0 [2020-04-16T00:28:31.127Z] go: finding github.com/kr/pty v1.1.1 [2020-04-16T00:28:31.127Z] go: finding github.com/kr/text v0.1.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T00:28:31.127Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T00:28:31.127Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T00:28:31.127Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T00:28:31.127Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T00:28:31.127Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T00:28:31.127Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T00:28:31.127Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T00:28:31.127Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T00:28:31.127Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T00:28:31.127Z] go: finding github.com/spf13/cast v1.3.0 [2020-04-16T00:28:31.127Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T00:28:31.127Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T00:28:31.127Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T00:28:31.396Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T00:28:31.396Z] go: finding golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-04-16T00:28:31.396Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T00:28:31.396Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T00:28:31.396Z] go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 [2020-04-16T00:28:31.396Z] go: finding gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-04-16T00:28:31.396Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T00:28:32.646Z] Removing intermediate container a6dda1adca2f [2020-04-16T00:28:32.646Z] ---> 4a291560142d [2020-04-16T00:28:32.646Z] Step 11/19 : FROM alpine [2020-04-16T00:28:32.904Z] latest: Pulling from library/alpine [2020-04-16T00:28:32.904Z] aad63a933944: Pulling fs layer [2020-04-16T00:28:33.164Z] aad63a933944: Download complete [2020-04-16T00:28:33.422Z] aad63a933944: Pull complete [2020-04-16T00:28:33.422Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-16T00:28:33.422Z] Status: Downloaded newer image for alpine:latest [2020-04-16T00:28:33.422Z] ---> a187dde48cd2 [2020-04-16T00:28:33.422Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-16T00:28:33.422Z] ---> Running in 677998f7d842 [2020-04-16T00:28:33.681Z] Removing intermediate container 677998f7d842 [2020-04-16T00:28:33.681Z] ---> 5a40e552a3bd [2020-04-16T00:28:33.681Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-16T00:28:33.681Z] ---> Running in 47394b1f3a35 [2020-04-16T00:28:33.940Z] Removing intermediate container 47394b1f3a35 [2020-04-16T00:28:33.940Z] ---> ca33a372787e [2020-04-16T00:28:33.940Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-16T00:28:34.509Z] ---> c50ae8090e7e [2020-04-16T00:28:34.509Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T00:28:34.509Z] ---> Running in b04321e1cb7c [2020-04-16T00:28:35.455Z] Removing intermediate container b04321e1cb7c [2020-04-16T00:28:35.455Z] ---> 95e7616df9c3 [2020-04-16T00:28:35.455Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T00:28:35.455Z] ---> Running in 28dd8549764c [2020-04-16T00:28:35.455Z] Removing intermediate container 28dd8549764c [2020-04-16T00:28:35.455Z] ---> df422f6b9ef5 [2020-04-16T00:28:35.455Z] Step 17/19 : LABEL arch=amd64 [2020-04-16T00:28:35.455Z] ---> Running in 198e6c63b46b [2020-04-16T00:28:35.714Z] Removing intermediate container 198e6c63b46b [2020-04-16T00:28:35.714Z] ---> c710e1c5c515 [2020-04-16T00:28:35.714Z] Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:28:35.714Z] ---> Running in 694140507eea [2020-04-16T00:28:35.714Z] Removing intermediate container 694140507eea [2020-04-16T00:28:35.714Z] ---> b3dc06e6c22a [2020-04-16T00:28:35.714Z] Step 19/19 : LABEL version=0.0.0 [2020-04-16T00:28:35.974Z] ---> Running in 984bfbe021f1 [2020-04-16T00:28:35.974Z] Removing intermediate container 984bfbe021f1 [2020-04-16T00:28:35.974Z] ---> 106f8537219e [2020-04-16T00:28:35.974Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T00:28:35.974Z] Successfully built 106f8537219e [2020-04-16T00:28:35.974Z] 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 [2020-04-16T00:28:37.143Z] ++ find /w/workspace/device-mqtt-go/1 [2020-04-16T00:28:37.143Z] ++ grep snapcraft.yaml [2020-04-16T00:28:37.143Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T00:28:37.317Z] provisioning config files... [2020-04-16T00:28:37.330Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config732224255149958400tmp [Pipeline] { [Pipeline] sh [2020-04-16T00:28:37.719Z] + cp /w/workspace/device-mqtt-go/1@tmp/config732224255149958400tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-04-16T00:28:38.040Z] + 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 [2020-04-16T00:28:38.040Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-16T00:28:38.040Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-16T00:28:38.040Z] 5bed26d33875: Pulling fs layer [2020-04-16T00:28:38.040Z] f11b29a9c730: Pulling fs layer [2020-04-16T00:28:38.040Z] 930bda195c84: Pulling fs layer [2020-04-16T00:28:38.040Z] 78bf9a5ad49e: Pulling fs layer [2020-04-16T00:28:38.040Z] e75ab6511037: Pulling fs layer [2020-04-16T00:28:38.040Z] 04d638ffbd94: Pulling fs layer [2020-04-16T00:28:38.040Z] f4f5cce346a8: Pulling fs layer [2020-04-16T00:28:38.040Z] 704472b7d14e: Pulling fs layer [2020-04-16T00:28:38.040Z] d92ed03d1dad: Pulling fs layer [2020-04-16T00:28:38.040Z] 78bf9a5ad49e: Waiting [2020-04-16T00:28:38.040Z] e75ab6511037: Waiting [2020-04-16T00:28:38.040Z] 04d638ffbd94: Waiting [2020-04-16T00:28:38.040Z] f4f5cce346a8: Waiting [2020-04-16T00:28:38.040Z] 704472b7d14e: Waiting [2020-04-16T00:28:38.040Z] d92ed03d1dad: Waiting [2020-04-16T00:28:38.040Z] 930bda195c84: Download complete [2020-04-16T00:28:38.040Z] f11b29a9c730: Verifying Checksum [2020-04-16T00:28:38.040Z] f11b29a9c730: Download complete [2020-04-16T00:28:38.040Z] 78bf9a5ad49e: Verifying Checksum [2020-04-16T00:28:38.040Z] 78bf9a5ad49e: Download complete [2020-04-16T00:28:38.308Z] 04d638ffbd94: Verifying Checksum [2020-04-16T00:28:38.308Z] 04d638ffbd94: Download complete [2020-04-16T00:28:38.308Z] f4f5cce346a8: Verifying Checksum [2020-04-16T00:28:38.308Z] f4f5cce346a8: Download complete [2020-04-16T00:28:38.308Z] 704472b7d14e: Download complete [2020-04-16T00:28:38.308Z] d92ed03d1dad: Verifying Checksum [2020-04-16T00:28:38.308Z] d92ed03d1dad: Download complete [2020-04-16T00:28:38.574Z] 5bed26d33875: Verifying Checksum [2020-04-16T00:28:38.574Z] 5bed26d33875: Download complete [2020-04-16T00:28:41.887Z] 5bed26d33875: Pull complete [2020-04-16T00:28:42.159Z] f11b29a9c730: Pull complete [2020-04-16T00:28:42.159Z] 930bda195c84: Pull complete [2020-04-16T00:28:42.420Z] 78bf9a5ad49e: Pull complete [2020-04-16T00:28:42.421Z] e75ab6511037: Verifying Checksum [2020-04-16T00:28:42.421Z] e75ab6511037: Download complete [2020-04-16T00:28:49.642Z] Removing intermediate container 87ca82f5b784 [2020-04-16T00:28:49.642Z] ---> c3533c194cd7 [2020-04-16T00:28:49.642Z] Successfully built c3533c194cd7 [2020-04-16T00:28:49.642Z] 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-16T00:28:50.450Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T00:28:50.450Z] . [Pipeline] withDockerContainer [2020-04-16T00:28:51.089Z] prd-ubuntu18.04-docker-arm64-4c-16g-4156 does not seem to be running inside a container [2020-04-16T00:28:51.176Z] $ 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 [2020-04-16T00:28:52.521Z] $ docker top 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T00:28:53.646Z] + go version [2020-04-16T00:28:53.646Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T00:28:54.315Z] + make test [2020-04-16T00:28:54.315Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T00:28:55.293Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-04-16T00:29:04.393Z] e75ab6511037: Pull complete [2020-04-16T00:29:04.393Z] 04d638ffbd94: Pull complete [2020-04-16T00:29:04.393Z] f4f5cce346a8: Pull complete [2020-04-16T00:29:04.393Z] 704472b7d14e: Pull complete [2020-04-16T00:29:04.393Z] d92ed03d1dad: Pull complete [2020-04-16T00:29:04.393Z] Digest: sha256:834ffeafcc9ca33964284e701e2fd595e30a976ce23a06ba08cd3e3051b3b84d [2020-04-16T00:29:04.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-16T00:29:08.592Z] 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-16T00:29:09.532Z] Reading package lists... [2020-04-16T00:29:09.793Z] Building dependency tree... [2020-04-16T00:29:09.793Z] Reading state information... [2020-04-16T00:29:10.054Z] The following packages were automatically installed and are no longer required: [2020-04-16T00:29:10.054Z] libjq1 liblzo2-2 libonig4 [2020-04-16T00:29:10.054Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T00:29:10.054Z] Suggested packages: [2020-04-16T00:29:10.054Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T00:29:10.054Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T00:29:10.054Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T00:29:10.054Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T00:29:10.313Z] The following NEW packages will be installed: [2020-04-16T00:29:10.313Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T00:29:10.313Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T00:29:10.313Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T00:29:10.313Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T00:29:10.573Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T00:29:10.573Z] Need to get 14.7 MB of archives. [2020-04-16T00:29:10.573Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-16T00:29:10.573Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-16T00:29:10.573Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-16T00:29:10.833Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-16T00:29:10.833Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-16T00:29:10.833Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-16T00:29:11.092Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-16T00:29:11.092Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-16T00:29:11.092Z] 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-16T00:29:11.350Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-16T00:29:11.350Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-16T00:29:11.350Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-16T00:29:11.350Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T00:29:11.350Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-16T00:29:11.350Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-16T00:29:11.350Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-16T00:29:11.350Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-16T00:29:11.350Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-16T00:29:11.350Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-16T00:29:11.612Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-16T00:29:11.612Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-16T00:29:11.612Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-16T00:29:11.612Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-16T00:29:11.612Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T00:29:11.612Z] Ign:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T00:29:11.612Z] Ign:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 [2020-04-16T00:29:11.612Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-16T00:29:11.612Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-16T00:29:11.872Z] Err:24 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T00:29:11.872Z] 404 Not Found [IP: 91.189.88.152 80] [2020-04-16T00:29:11.872Z] Err:25 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 [2020-04-16T00:29:11.872Z] 404 Not Found [IP: 91.189.88.152 80] [2020-04-16T00:29:11.872Z] 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-16T00:29:11.872Z] 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-16T00:29:11.872Z] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [2020-04-16T00:29:11.872Z] Fetched 10.0 MB in 2s (6458 kB/s) [2020-04-16T00:29:11.872Z] 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-16T00:29:12.476Z] 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-16T00:29:13.694Z] Failed in branch amd64 [2020-04-16T00:29:34.248Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-04-16T00:29:35.659Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 29.8% of statements [2020-04-16T00:29:35.659Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-04-16T00:29:36.246Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T00:29:42.897Z] gofmt -l . [2020-04-16T00:29:42.897Z] ["`gofmt -l .`" = ""] [2020-04-16T00:29:42.897Z] ./bin/test-attribution-txt.sh [2020-04-16T00:29:43.862Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T00:29:44.162Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T00:29:44.534Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T00:29:44.560Z] $ docker stop --time=1 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 [2020-04-16T00:29:46.837Z] $ docker rm -f 523fc4f18ebf9adea9b35585a569704f0f11e97eb1023f8b15adb4ca798c30f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T00:29:48.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T00:29:48.609Z] + ls -al . [2020-04-16T00:29:48.609Z] total 124 [2020-04-16T00:29:48.609Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 00:29 . [2020-04-16T00:29:48.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 00:27 .. [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 00:27 .dockerignore [2020-04-16T00:29:48.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 00:27 .git [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 335 Apr 16 00:27 .gitignore [2020-04-16T00:29:48.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 .semver [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 3943 Apr 16 00:27 Attribution.txt [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 1626 Apr 16 00:27 Dockerfile [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 953 Apr 16 00:27 Dockerfile.build [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 700 Apr 16 00:27 Jenkinsfile [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 00:27 LICENSE [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 902 Apr 16 00:27 Makefile [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 00:27 README.md [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 00:24 VERSION [2020-04-16T00:29:48.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 00:27 bin [2020-04-16T00:29:48.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 cmd [2020-04-16T00:29:48.609Z] -rw-r--r-- 1 jenkins jenkins 18213 Apr 16 00:29 coverage.out [2020-04-16T00:29:48.609Z] -rw-r--r-- 1 jenkins jenkins 581 Apr 16 00:29 go.mod [2020-04-16T00:29:48.609Z] -rw-r--r-- 1 jenkins jenkins 12267 Apr 16 00:29 go.sum [2020-04-16T00:29:48.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 00:27 internal [2020-04-16T00:29:48.609Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 00:27 mock [2020-04-16T00:29:48.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 00:27 snap [2020-04-16T00:29:48.609Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 16 00:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:29:48.974Z] + 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-16T00:29:49.254Z] Sending build context to Docker daemon 563.2kB [2020-04-16T00:29:49.254Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-16T00:29:49.254Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-16T00:29:49.254Z] ---> c3533c194cd7 [2020-04-16T00:29:49.254Z] Step 3/19 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-04-16T00:29:49.521Z] ---> Running in 4df553990273 [2020-04-16T00:29:49.787Z] Removing intermediate container 4df553990273 [2020-04-16T00:29:49.787Z] ---> dda8dfa55a25 [2020-04-16T00:29:49.787Z] Step 4/19 : ARG ALPINE_PKG_EXTRA="" [2020-04-16T00:29:50.054Z] ---> Running in d78dc8d90d7b [2020-04-16T00:29:50.330Z] Removing intermediate container d78dc8d90d7b [2020-04-16T00:29:50.330Z] ---> 113305e82dd9 [2020-04-16T00:29:50.330Z] Step 5/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T00:29:50.330Z] ---> Running in cc0eaafc5bd2 [2020-04-16T00:29:52.284Z] Removing intermediate container cc0eaafc5bd2 [2020-04-16T00:29:52.284Z] ---> c28247e5c88f [2020-04-16T00:29:52.284Z] Step 6/19 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-04-16T00:29:52.284Z] ---> Running in 207cc7e45660 [2020-04-16T00:29:53.245Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T00:29:53.828Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T00:29:54.413Z] OK: 203 MiB in 52 packages [2020-04-16T00:29:55.376Z] Removing intermediate container 207cc7e45660 [2020-04-16T00:29:55.376Z] ---> 5944343f89ab [2020-04-16T00:29:55.376Z] Step 7/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-04-16T00:29:55.376Z] ---> Running in 7da81c8eae51 [2020-04-16T00:29:55.963Z] Removing intermediate container 7da81c8eae51 [2020-04-16T00:29:55.963Z] ---> 1504fde042fc [2020-04-16T00:29:55.963Z] Step 8/19 : COPY . . [2020-04-16T00:29:56.550Z] ---> b7b3c0b0f8f7 [2020-04-16T00:29:56.550Z] Step 9/19 : ARG MAKE='make build' [2020-04-16T00:29:56.550Z] ---> Running in 7f59f55cb59c [2020-04-16T00:29:57.134Z] Removing intermediate container 7f59f55cb59c [2020-04-16T00:29:57.134Z] ---> dfd7ab35be20 [2020-04-16T00:29:57.134Z] Step 10/19 : RUN $MAKE [2020-04-16T00:29:57.134Z] ---> Running in f88dad3d7cba [2020-04-16T00:29:58.097Z] 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-16T00:30:37.009Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T00:30:45.273Z] Removing intermediate container f88dad3d7cba [2020-04-16T00:30:45.273Z] ---> d2cebe2931c9 [2020-04-16T00:30:45.273Z] Step 11/19 : FROM alpine [2020-04-16T00:30:45.273Z] latest: Pulling from library/alpine [2020-04-16T00:30:45.273Z] 8a0637ca1ac9: Pulling fs layer [2020-04-16T00:30:45.273Z] 8a0637ca1ac9: Verifying Checksum [2020-04-16T00:30:45.273Z] 8a0637ca1ac9: Download complete [2020-04-16T00:30:45.908Z] 8a0637ca1ac9: Pull complete [2020-04-16T00:30:45.908Z] Digest: sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 [2020-04-16T00:30:45.908Z] Status: Downloaded newer image for alpine:latest [2020-04-16T00:30:45.908Z] ---> 2ee122dcc32d [2020-04-16T00:30:45.908Z] Step 12/19 : ENV APP_PORT=49982 [2020-04-16T00:30:46.181Z] ---> Running in 87905b696ed0 [2020-04-16T00:30:46.457Z] Removing intermediate container 87905b696ed0 [2020-04-16T00:30:46.457Z] ---> 6d23067d4ceb [2020-04-16T00:30:46.457Z] Step 13/19 : EXPOSE $APP_PORT [2020-04-16T00:30:46.727Z] ---> Running in ed24f5025d07 [2020-04-16T00:30:47.000Z] Removing intermediate container ed24f5025d07 [2020-04-16T00:30:47.000Z] ---> d454b1118d5a [2020-04-16T00:30:47.000Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-04-16T00:30:48.425Z] ---> 2e6449f3c511 [2020-04-16T00:30:48.425Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T00:30:48.425Z] ---> Running in 678a17918584 [2020-04-16T00:30:49.008Z] Removing intermediate container 678a17918584 [2020-04-16T00:30:49.008Z] ---> dc45edc2012c [2020-04-16T00:30:49.008Z] Step 16/19 : ENTRYPOINT ["/device-mqtt","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T00:30:49.008Z] ---> Running in 6864a6569220 [2020-04-16T00:30:49.276Z] Removing intermediate container 6864a6569220 [2020-04-16T00:30:49.276Z] ---> 2a0a13f71446 [2020-04-16T00:30:49.276Z] Step 17/19 : LABEL arch=arm64 [2020-04-16T00:30:49.544Z] ---> Running in 4620a43c2573 [2020-04-16T00:30:49.811Z] Removing intermediate container 4620a43c2573 [2020-04-16T00:30:49.811Z] ---> 94ff42d30673 [2020-04-16T00:30:49.811Z] Step 18/19 : LABEL git_sha=ca14dc0c8b9659cbe84d7f80df4ef81d3a29ceee [2020-04-16T00:30:50.080Z] ---> Running in 87129b8ba71c [2020-04-16T00:30:50.349Z] Removing intermediate container 87129b8ba71c [2020-04-16T00:30:50.349Z] ---> 8cd8ce19cfbb [2020-04-16T00:30:50.350Z] Step 19/19 : LABEL version=0.0.0 [2020-04-16T00:30:50.350Z] ---> Running in 14148b1b486e [2020-04-16T00:30:50.619Z] Removing intermediate container 14148b1b486e [2020-04-16T00:30:50.619Z] ---> 52c2f03c3d3f [2020-04-16T00:30:50.619Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T00:30:50.886Z] Successfully built 52c2f03c3d3f [2020-04-16T00:30:50.886Z] 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-16T00:30:51.887Z] + find /w/workspace/device-mqtt-go/1 [2020-04-16T00:30:51.887Z] + grep snapcraft.yaml [2020-04-16T00:30:51.887Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T00:30:52.075Z] provisioning config files... [2020-04-16T00:30:52.100Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config5020562464261736486tmp [Pipeline] { [Pipeline] sh [2020-04-16T00:30:52.515Z] + cp /w/workspace/device-mqtt-go/1@tmp/config5020562464261736486tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh [2020-04-16T00:30:52.858Z] + 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 [2020-04-16T00:30:52.858Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-16T00:30:53.125Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-16T00:30:53.126Z] b2f61026a351: Pulling fs layer [2020-04-16T00:30:53.126Z] 5538fb30c42c: Pulling fs layer [2020-04-16T00:30:53.126Z] f0b05810781a: Pulling fs layer [2020-04-16T00:30:53.126Z] 0180a33352d6: Pulling fs layer [2020-04-16T00:30:53.126Z] aed7a3056e2b: Pulling fs layer [2020-04-16T00:30:53.126Z] d39a94810997: Pulling fs layer [2020-04-16T00:30:53.126Z] 1eacfb9348ea: Pulling fs layer [2020-04-16T00:30:53.126Z] b94196875123: Pulling fs layer [2020-04-16T00:30:53.126Z] 1787fae59f1e: Pulling fs layer [2020-04-16T00:30:53.126Z] aed7a3056e2b: Waiting [2020-04-16T00:30:53.126Z] b94196875123: Waiting [2020-04-16T00:30:53.126Z] d39a94810997: Waiting [2020-04-16T00:30:53.126Z] 1787fae59f1e: Waiting [2020-04-16T00:30:53.126Z] 1eacfb9348ea: Waiting [2020-04-16T00:30:53.126Z] 0180a33352d6: Waiting [2020-04-16T00:30:53.126Z] f0b05810781a: Download complete [2020-04-16T00:30:53.126Z] 5538fb30c42c: Download complete [2020-04-16T00:30:53.126Z] 0180a33352d6: Verifying Checksum [2020-04-16T00:30:53.126Z] 0180a33352d6: Download complete [2020-04-16T00:30:53.126Z] d39a94810997: Verifying Checksum [2020-04-16T00:30:53.126Z] d39a94810997: Download complete [2020-04-16T00:30:53.126Z] 1eacfb9348ea: Verifying Checksum [2020-04-16T00:30:53.126Z] 1eacfb9348ea: Download complete [2020-04-16T00:30:53.396Z] b94196875123: Verifying Checksum [2020-04-16T00:30:53.396Z] b94196875123: Download complete [2020-04-16T00:30:53.396Z] 1787fae59f1e: Verifying Checksum [2020-04-16T00:30:53.396Z] 1787fae59f1e: Download complete [2020-04-16T00:30:55.353Z] b2f61026a351: Download complete [2020-04-16T00:30:58.707Z] b2f61026a351: Pull complete [2020-04-16T00:30:58.707Z] 5538fb30c42c: Pull complete [2020-04-16T00:30:58.976Z] f0b05810781a: Pull complete [2020-04-16T00:30:59.247Z] 0180a33352d6: Pull complete [2020-04-16T00:31:17.467Z] aed7a3056e2b: Verifying Checksum [2020-04-16T00:31:17.467Z] aed7a3056e2b: Download complete [2020-04-16T00:31:49.719Z] aed7a3056e2b: Pull complete [2020-04-16T00:31:49.719Z] d39a94810997: Pull complete [2020-04-16T00:31:49.719Z] 1eacfb9348ea: Pull complete [2020-04-16T00:31:49.719Z] b94196875123: Pull complete [2020-04-16T00:31:49.719Z] 1787fae59f1e: Pull complete [2020-04-16T00:31:49.719Z] Digest: sha256:5f17aae970066bf76af069ac7b5f55fa93cddf640a8680fc14f3ae34a92c05a7 [2020-04-16T00:31:49.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-16T00:32:07.946Z] 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-16T00:32:10.523Z] Reading package lists... [2020-04-16T00:32:11.107Z] Building dependency tree... [2020-04-16T00:32:11.107Z] Reading state information... [2020-04-16T00:32:11.693Z] The following packages were automatically installed and are no longer required: [2020-04-16T00:32:11.693Z] libjq1 liblzo2-2 libonig4 [2020-04-16T00:32:11.693Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T00:32:11.693Z] Suggested packages: [2020-04-16T00:32:11.693Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T00:32:11.693Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T00:32:11.693Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T00:32:11.693Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T00:32:12.274Z] The following NEW packages will be installed: [2020-04-16T00:32:12.274Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T00:32:12.274Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T00:32:12.274Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T00:32:12.274Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T00:32:12.539Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T00:32:12.539Z] Need to get 12.9 MB of archives. [2020-04-16T00:32:12.539Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-16T00:32:12.539Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-16T00:32:12.539Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-16T00:32:12.539Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-16T00:32:12.539Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-16T00:32:12.803Z] 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-16T00:32:12.803Z] 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-16T00:32:13.069Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-16T00:32:13.069Z] 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-16T00:32:13.336Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-16T00:32:13.336Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-16T00:32:13.336Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-16T00:32:13.336Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T00:32:13.336Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-16T00:32:13.336Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-16T00:32:13.336Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-16T00:32:13.336Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-16T00:32:13.336Z] 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-16T00:32:13.336Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-16T00:32:13.336Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-16T00:32:13.336Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-16T00:32:13.602Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-16T00:32:13.602Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-16T00:32:13.602Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T00:32:13.602Z] Ign:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T00:32:13.602Z] Ign:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 [2020-04-16T00:32:13.602Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-16T00:32:13.602Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-16T00:32:13.602Z] Err:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.5 [2020-04-16T00:32:13.602Z] 404 Not Found [IP: 91.189.88.150 80] [2020-04-16T00:32:13.602Z] Err:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.5 [2020-04-16T00:32:13.602Z] 404 Not Found [IP: 91.189.88.150 80] [2020-04-16T00:32:13.873Z] Fetched 9181 kB in 1s (6260 kB/s) [2020-04-16T00:32:13.873Z] 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-16T00:32:13.873Z] 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-16T00:32:13.873Z] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [2020-04-16T00:32:13.873Z] 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-16T00:32:14.870Z] 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-16T00:32:16.031Z] 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-16T00:32:18.147Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T00:32:18.491Z] ---> package-listing.sh [2020-04-16T00:32:18.491Z] ++ facter osfamily [2020-04-16T00:32:18.491Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T00:32:18.491Z] + OS_FAMILY=redhat [2020-04-16T00:32:18.491Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-139 [2020-04-16T00:32:18.491Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T00:32:18.491Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T00:32:18.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T00:32:18.491Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T00:32:18.491Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' [2020-04-16T00:32:18.491Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T00:32:18.491Z] + case "${OS_FAMILY}" in [2020-04-16T00:32:18.491Z] + rpm -qa [2020-04-16T00:32:18.491Z] + sort [2020-04-16T00:32:22.708Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T00:32:22.708Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T00:32:22.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T00:32:22.708Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-139 ']' [2020-04-16T00:32:22.708Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-139/archives/ [2020-04-16T00:32:22.708Z] + 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-16T00:32:23.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T00:32:23.217Z] [2020-04-16T00:32:23.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T00:32:23.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T00:32:23.599Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T00:32:23.599Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T00:32:23.599Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T00:32:23.599Z] 756a868c4378: Pulling fs layer [2020-04-16T00:32:23.599Z] 444b2fc9a129: Pulling fs layer [2020-04-16T00:32:23.599Z] ea15f1150254: Pulling fs layer [2020-04-16T00:32:23.599Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T00:32:23.599Z] 28c525ee5125: Pulling fs layer [2020-04-16T00:32:23.599Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T00:32:23.599Z] 138eaada9080: Pulling fs layer [2020-04-16T00:32:23.599Z] 0622d0fa9048: Pulling fs layer [2020-04-16T00:32:23.599Z] 41b27a9f41bf: Waiting [2020-04-16T00:32:23.599Z] 28c525ee5125: Waiting [2020-04-16T00:32:23.599Z] 444b2fc9a129: Waiting [2020-04-16T00:32:23.599Z] ea15f1150254: Waiting [2020-04-16T00:32:23.599Z] 094b1ea09ed8: Waiting [2020-04-16T00:32:23.599Z] 138eaada9080: Waiting [2020-04-16T00:32:23.599Z] 0622d0fa9048: Waiting [2020-04-16T00:32:23.599Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-16T00:32:23.599Z] 2cc5ad85d9ab: Download complete [2020-04-16T00:32:23.599Z] 444b2fc9a129: Download complete [2020-04-16T00:32:23.892Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T00:32:23.892Z] c9b1b535fdd9: Download complete [2020-04-16T00:32:23.892Z] ea15f1150254: Verifying Checksum [2020-04-16T00:32:23.892Z] ea15f1150254: Download complete [2020-04-16T00:32:23.892Z] 28c525ee5125: Verifying Checksum [2020-04-16T00:32:23.892Z] 28c525ee5125: Download complete [2020-04-16T00:32:24.531Z] 756a868c4378: Verifying Checksum [2020-04-16T00:32:24.531Z] 756a868c4378: Download complete [2020-04-16T00:32:24.531Z] c9b1b535fdd9: Pull complete [2020-04-16T00:32:24.531Z] 138eaada9080: Verifying Checksum [2020-04-16T00:32:24.531Z] 138eaada9080: Download complete [2020-04-16T00:32:24.531Z] 0622d0fa9048: Verifying Checksum [2020-04-16T00:32:24.531Z] 0622d0fa9048: Download complete [2020-04-16T00:32:24.798Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T00:32:24.798Z] 094b1ea09ed8: Download complete [2020-04-16T00:32:24.798Z] 2cc5ad85d9ab: Pull complete [2020-04-16T00:32:25.371Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T00:32:25.371Z] 41b27a9f41bf: Download complete [2020-04-16T00:32:26.760Z] 756a868c4378: Pull complete [2020-04-16T00:32:27.021Z] 444b2fc9a129: Pull complete [2020-04-16T00:32:27.281Z] ea15f1150254: Pull complete [2020-04-16T00:32:31.498Z] 41b27a9f41bf: Pull complete [2020-04-16T00:32:31.498Z] 28c525ee5125: Pull complete [2020-04-16T00:32:33.411Z] 094b1ea09ed8: Pull complete [2020-04-16T00:32:33.675Z] 138eaada9080: Pull complete [2020-04-16T00:32:33.937Z] 0622d0fa9048: Pull complete [2020-04-16T00:32:33.937Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T00:32:33.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T00:32:34.202Z] prd-centos7-docker-4c-2g-4153 does not seem to be running inside a container [2020-04-16T00:32:34.259Z] $ 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 [2020-04-16T00:32:35.366Z] $ docker top 91bbeebf5eb8cddc6fc21a343469fada03e0cf8cd715b72b4d2e617b8c80ec77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T00:32:35.703Z] provisioning config files... [2020-04-16T00:32:35.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-139@tmp/config697487792755234003tmp [Pipeline] { [Pipeline] echo [2020-04-16T00:32:35.802Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T00:32:36.121Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T00:32:36.145Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T00:32:36.465Z] ---> logs-deploy.sh [2020-04-16T00:32:36.465Z] + ARCHIVE_ARTIFACTS= [2020-04-16T00:32:36.465Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T00:32:36.465Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T00:32:36.465Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T00:32:36.465Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-139/1 [2020-04-16T00:32:36.465Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-mqtt-go/job/PR-139/1/ [2020-04-16T00:32:36.465Z] + 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 [2020-04-16T00:32:37.861Z] Archives upload complete. [2020-04-16T00:32:37.861Z] + 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/