Pull request #139 updated 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-modbus-go Obtained Jenkinsfile from 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (1224f5cce311fa48a3a31d6fe18f3e0bfaa07de9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus-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 ‘prd-centos7-blackbox-4c-2g-5373’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5399’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-5394’ is offline; ‘prd-centos7-docker-4c-2g-5397’ is offline; ‘prd-centos7-docker-4c-2g-5401’ is offline; ‘prd-centos7-docker-4c-2g-5403’ is offline; ‘prd-centos7-docker-4c-2g-5407’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5395’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5409 in /w/workspace/xfoundry_device-modbus-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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching without tags Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-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 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # 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 cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 Commit message: "add changes to integrate with new Snap stage" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:09:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:09:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:09:32 ========================================================= 20:09:32 EdgeX Global Pipelines Version Info 20:09:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 20:09:33 ------------------- 20:09:33 stable info: 20:09:33 ------------------- 20:09:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:33 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 20:09:33 Message: update stable to v1.0.73 20:09:34 ------------------- 20:09:34 experimental info: 20:09:34 ------------------- 20:09:34 Commited By: **** collab-it+edgex@linuxfoundation.org 20:09:34 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 20:09:34 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 20:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:36 20:09:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:09:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:36 latest: Pulling from edgex-devops/git-semver 20:09:36 9123ac7c32f7: Pulling fs layer 20:09:36 b8cc5d1170e3: Pulling fs layer 20:09:36 2924cbbf6a41: Pulling fs layer 20:09:36 93b08a4f1073: Pulling fs layer 20:09:36 93b08a4f1073: Waiting 20:09:36 b8cc5d1170e3: Download complete 20:09:36 9123ac7c32f7: Verifying Checksum 20:09:36 9123ac7c32f7: Download complete 20:09:36 93b08a4f1073: Verifying Checksum 20:09:36 93b08a4f1073: Download complete 20:09:36 2924cbbf6a41: Verifying Checksum 20:09:36 2924cbbf6a41: Download complete 20:09:36 9123ac7c32f7: Pull complete 20:09:36 b8cc5d1170e3: Pull complete 20:09:37 2924cbbf6a41: Pull complete 20:09:37 93b08a4f1073: Pull complete 20:09:37 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:09:37 prd-centos7-docker-4c-2g-5409 does not seem to be running inside a container 20:09:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:09:38 $ docker top 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:09:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:38 [ssh-agent] Looking for ssh-agent implementation... 20:09:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:38 $ docker exec 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent 20:09:39 SSH_AUTH_SOCK=/tmp/ssh-n5Z17UxHqoSF/agent.15 20:09:39 SSH_AGENT_PID=22 20:09:39 Running ssh-add (command line suppressed) 20:09:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_5926419672081387165.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_5926419672081387165.key) 20:09:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:39 + git describe --exact-match --tags HEAD 20:09:39 fatal: No names found, cannot describe anything. [Pipeline] } 20:09:39 $ docker exec --env ******** --env ******** 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent -k 20:09:39 unset SSH_AUTH_SOCK; 20:09:39 unset SSH_AGENT_PID; 20:09:39 echo Agent pid 22 killed; 20:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:09:40 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:09:40 This usually means this commit has not been tagged. [Pipeline] sshagent 20:09:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:40 [ssh-agent] Looking for ssh-agent implementation... 20:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:40 $ docker exec 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent 20:09:40 SSH_AUTH_SOCK=/tmp/ssh-kAOdEVO3j1S8/agent.56 20:09:40 SSH_AGENT_PID=63 20:09:40 Running ssh-add (command line suppressed) 20:09:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_615998136472213860.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_615998136472213860.key) 20:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:41 + git semver init 20:09:41 # -> Open(): unable to determine branch for HEAD 20:09:41 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git 20:09:41 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 20:09:41 # $SEMVER_REMOTE_NAME = origin 20:09:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:09:41 # $SEMVER_USER_NAME = edgex-jenkins 20:09:41 # $SEMVER_BRANCH = PR-139 20:09:41 # $SEMVER_TEMP = /tmp/semver-166526238 20:09:41 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:09:41 # '/tmp/semver-166526238' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' 20:09:41 # -> Force: false 20:09:41 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } 20:09:41 $ docker exec --env ******** --env ******** 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent -k 20:09:41 unset SSH_AUTH_SOCK; 20:09:41 unset SSH_AGENT_PID; 20:09:41 echo Agent pid 63 killed; 20:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:41 + git semver [Pipeline] } 20:09:41 $ docker stop --time=1 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 20:09:43 $ docker rm -f 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:09:44 Stashed 24 file(s) [Pipeline] echo 20:09:44 [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 20:09:59 Still waiting to schedule task 20:09:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:09:59 Still waiting to schedule task 20:09:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:12:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5412 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 20:12:53 Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout 20:12:58 using credential edgex-jenkins-ssh 20:12:58 Cloning the remote Git repository 20:12:58 Cloning with configured refspecs honoured and without tags 20:13:00 Fetching without tags 20:12:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:12:59 > git init /w/workspace/device-modbus-go/11 # timeout=10 20:12:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:12:59 > git --version # timeout=10 20:12:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:12:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:12:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:13:00 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 20:13:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:13:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:13:00 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:13:00 Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:13:00 Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) 20:13:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:13:00 > git config core.sparsecheckout # timeout=10 20:13:00 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 20:13:00 > git remote # timeout=10 20:13:00 > git config --get remote.origin.url # timeout=10 20:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:00 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 20:13:00 > git rev-parse HEAD^{commit} # timeout=10 20:13:00 > git config core.sparsecheckout # timeout=10 20:13:01 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 20:13:05 Commit message: "add changes to integrate with new Snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:13:06 ========================================================= 20:13:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:13:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:13:07 Running on prd-centos7-docker-4c-2g-5413 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 20:13:07 Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout 20:13:07 + 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 . 20:13:08 Sending build context to Docker daemon 578kB 20:13:08 Step 1/8 : ARG BASE=golang:1.13-alpine 20:13:08 Step 2/8 : FROM ${BASE} 20:13:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:13:09 cde5963f3b93: Pulling fs layer 20:13:09 2a23fa8c16f7: Pulling fs layer 20:13:09 777b28850792: Pulling fs layer 20:13:09 8a11ddd9e578: Pulling fs layer 20:13:09 4cf88f913ddb: Pulling fs layer 20:13:09 1df406cf5192: Pulling fs layer 20:13:09 cd6300453558: Pulling fs layer 20:13:09 b9c365052c96: Pulling fs layer 20:13:09 a2d8cc88f415: Pulling fs layer 20:13:09 ea1d1ca13537: Pulling fs layer 20:13:09 3750a50a1c5e: Pulling fs layer 20:13:09 8a11ddd9e578: Waiting 20:13:09 4cf88f913ddb: Waiting 20:13:09 1df406cf5192: Waiting 20:13:09 cd6300453558: Waiting 20:13:09 b9c365052c96: Waiting 20:13:09 a2d8cc88f415: Waiting 20:13:09 ea1d1ca13537: Waiting 20:13:09 3750a50a1c5e: Waiting 20:13:09 777b28850792: Verifying Checksum 20:13:09 777b28850792: Download complete 20:13:09 2a23fa8c16f7: Verifying Checksum 20:13:09 2a23fa8c16f7: Download complete 20:13:09 4cf88f913ddb: Verifying Checksum 20:13:09 4cf88f913ddb: Download complete 20:13:09 cde5963f3b93: Verifying Checksum 20:13:09 cde5963f3b93: Download complete 20:13:10 using credential edgex-jenkins-ssh 20:13:10 Cloning the remote Git repository 20:13:10 Cloning with configured refspecs honoured and without tags 20:13:10 cde5963f3b93: Pull complete 20:13:10 1df406cf5192: Verifying Checksum 20:13:10 1df406cf5192: Download complete 20:13:10 Fetching without tags 20:13:10 2a23fa8c16f7: Pull complete 20:13:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:13:10 > git init /w/workspace/device-modbus-go/11 # timeout=10 20:13:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:13:10 > git --version # timeout=10 20:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:13:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:13:10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 20:13:10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:13:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:13:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:13:11 777b28850792: Pull complete 20:13:11 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:13:11 Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:13:11 Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) 20:13:11 > git config core.sparsecheckout # timeout=10 20:13:11 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 20:13:11 > git remote # timeout=10 20:13:11 > git config --get remote.origin.url # timeout=10 20:13:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:13:11 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 20:13:11 > git rev-parse HEAD^{commit} # timeout=10 20:13:11 > git config core.sparsecheckout # timeout=10 20:13:11 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 20:13:13 cd6300453558: Verifying Checksum 20:13:13 cd6300453558: Download complete 20:13:13 a2d8cc88f415: Verifying Checksum 20:13:13 a2d8cc88f415: Download complete 20:13:15 Commit message: "add changes to integrate with new Snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:13:15 ========================================================= 20:13:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:13:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:13:16 ea1d1ca13537: Verifying Checksum 20:13:16 ea1d1ca13537: Download complete 20:13:16 3750a50a1c5e: Verifying Checksum 20:13:16 3750a50a1c5e: Download complete 20:13:16 + 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 . 20:13:16 Sending build context to Docker daemon 578kB 20:13:16 Step 1/8 : ARG BASE=golang:1.13-alpine 20:13:16 Step 2/8 : FROM ${BASE} 20:13:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:13:16 e6b0cf9c0882: Pulling fs layer 20:13:16 2848faf0eed1: Pulling fs layer 20:13:16 0f37312ad70f: Pulling fs layer 20:13:16 5788d62ee057: Pulling fs layer 20:13:16 0e6b1d234666: Pulling fs layer 20:13:16 bf5d7aec512f: Pulling fs layer 20:13:16 34c802a77dc8: Pulling fs layer 20:13:16 9eb99e56ec68: Pulling fs layer 20:13:16 27c7a5d97fbd: Pulling fs layer 20:13:16 5c102a31e300: Pulling fs layer 20:13:16 dcfb455df0a1: Pulling fs layer 20:13:16 34c802a77dc8: Waiting 20:13:16 9eb99e56ec68: Waiting 20:13:16 27c7a5d97fbd: Waiting 20:13:16 5c102a31e300: Waiting 20:13:16 dcfb455df0a1: Waiting 20:13:16 5788d62ee057: Waiting 20:13:16 0e6b1d234666: Waiting 20:13:16 bf5d7aec512f: Waiting 20:13:16 0f37312ad70f: Verifying Checksum 20:13:16 0f37312ad70f: Download complete 20:13:16 2848faf0eed1: Verifying Checksum 20:13:16 2848faf0eed1: Download complete 20:13:16 0e6b1d234666: Verifying Checksum 20:13:16 0e6b1d234666: Download complete 20:13:16 bf5d7aec512f: Verifying Checksum 20:13:16 bf5d7aec512f: Download complete 20:13:16 e6b0cf9c0882: Download complete 20:13:17 e6b0cf9c0882: Pull complete 20:13:18 34c802a77dc8: Verifying Checksum 20:13:18 34c802a77dc8: Download complete 20:13:18 27c7a5d97fbd: Verifying Checksum 20:13:18 27c7a5d97fbd: Download complete 20:13:18 5c102a31e300: Verifying Checksum 20:13:18 5c102a31e300: Download complete 20:13:18 dcfb455df0a1: Verifying Checksum 20:13:18 dcfb455df0a1: Download complete 20:13:18 9eb99e56ec68: Verifying Checksum 20:13:18 9eb99e56ec68: Download complete 20:13:19 5788d62ee057: Verifying Checksum 20:13:19 5788d62ee057: Download complete 20:13:19 b9c365052c96: Verifying Checksum 20:13:19 b9c365052c96: Download complete 20:13:19 2848faf0eed1: Pull complete 20:13:19 0f37312ad70f: Pull complete 20:13:20 8a11ddd9e578: Download complete 20:13:26 5788d62ee057: Pull complete 20:13:26 0e6b1d234666: Pull complete 20:13:26 bf5d7aec512f: Pull complete 20:13:31 34c802a77dc8: Pull complete 20:13:32 8a11ddd9e578: Pull complete 20:13:32 4cf88f913ddb: Pull complete 20:13:32 1df406cf5192: Pull complete 20:13:36 9eb99e56ec68: Pull complete 20:13:36 27c7a5d97fbd: Pull complete 20:13:36 5c102a31e300: Pull complete 20:13:36 dcfb455df0a1: Pull complete 20:13:36 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:13:36 ---> 7c70fe431013 20:13:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:13:36 ---> Running in 37fb786a1433 20:13:36 Removing intermediate container 37fb786a1433 20:13:36 ---> 9b918863f213 20:13:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:36 ---> Running in b4e93a71d8f9 20:13:36 cd6300453558: Pull complete 20:13:37 Removing intermediate container b4e93a71d8f9 20:13:37 ---> 34289b8323a5 20:13:37 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:13:37 ---> Running in e615cd10d3cb 20:13:39 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:13:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:13:39 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:13:39 (2/17) Installing libmagic (5.37-r1) 20:13:39 (3/17) Installing file (5.37-r1) 20:13:40 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:13:40 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:13:40 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:13:41 b9c365052c96: Pull complete 20:13:41 a2d8cc88f415: Pull complete 20:13:43 ea1d1ca13537: Pull complete 20:13:43 (7/17) Installing libc-dev (0.7.2-r0) 20:13:43 (8/17) Installing g++ (9.2.0-r4) 20:13:43 3750a50a1c5e: Pull complete 20:13:43 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:13:43 ---> 78745c68409d 20:13:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:13:46 (9/17) Installing fortify-headers (1.1-r0) 20:13:46 (10/17) Installing build-base (0.5-r1) 20:13:46 (11/17) Installing openssh-keygen (8.1_p1-r0) 20:13:46 (12/17) Installing libedit (20191211.3.1-r0) 20:13:46 (13/17) Installing openssh-client (8.1_p1-r0) 20:13:46 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 20:13:46 (15/17) Installing openssh-server-common (8.1_p1-r0) 20:13:46 (16/17) Installing openssh-server (8.1_p1-r0) 20:13:46 (17/17) Installing openssh (8.1_p1-r0) 20:13:47 Executing busybox-1.31.1-r8.trigger 20:13:47 OK: 214 MiB in 52 packages 20:13:49 ---> Running in 238e34b52be8 20:13:49 Removing intermediate container 238e34b52be8 20:13:49 ---> a355e5c2d540 20:13:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:13:49 ---> Running in 23a67ad26783 20:13:51 Removing intermediate container 23a67ad26783 20:13:51 ---> 641bbcad0f00 20:13:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:13:51 Removing intermediate container e615cd10d3cb 20:13:51 ---> 9c089762d1cd 20:13:51 Step 6/8 : WORKDIR /device-modbus-go 20:13:51 ---> Running in 9d1eb5c66cd8 20:13:51 Removing intermediate container 9d1eb5c66cd8 20:13:51 ---> 5ddbfb50be8b 20:13:51 Step 7/8 : COPY . . 20:13:51 ---> Running in 334630aafadd 20:13:51 ---> 09bd2987116f 20:13:51 Step 8/8 : RUN go mod download 20:13:51 ---> Running in 3cb415c98794 20:13:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:13:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:13:53 go: finding github.com/BurntSushi/toml v0.3.1 20:13:53 go: finding github.com/OneOfOne/xxhash v1.2.6 20:13:53 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:13:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:13:53 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:13:53 go: finding github.com/bgentry/speakeasy v0.1.0 20:13:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:13:53 go: finding github.com/davecgh/go-spew v1.1.1 20:13:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:13:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:13:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:13:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:13:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:13:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:13:53 go: finding github.com/fatih/color v1.7.0 20:13:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:13:53 go: finding github.com/go-kit/kit v0.8.0 20:13:53 go: finding github.com/go-logfmt/logfmt v0.4.0 20:13:53 go: finding github.com/go-stack/stack v1.8.0 20:13:53 go: finding github.com/goburrow/modbus v0.1.0 20:13:53 go: finding github.com/goburrow/serial v0.1.0 20:13:53 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:13:53 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 20:13:53 go: finding github.com/google/uuid v1.1.1 20:13:53 go: finding github.com/gorilla/mux v1.7.1 20:13:53 go: finding github.com/hashicorp/consul/api v1.1.0 20:13:53 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:13:53 go: finding github.com/hashicorp/errwrap v1.0.0 20:13:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:13:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:13:53 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:13:53 go: finding github.com/hashicorp/go-multierror v1.0.0 20:13:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:13:53 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:13:53 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:13:53 (3/18) Installing libmagic (5.37-r1) 20:13:54 go: finding github.com/hashicorp/go-syslog v1.0.0 20:13:54 go: finding github.com/hashicorp/go-uuid v1.0.1 20:13:54 go: finding github.com/hashicorp/go.net v0.0.1 20:13:54 go: finding github.com/hashicorp/golang-lru v0.5.1 20:13:54 go: finding github.com/hashicorp/logutils v1.0.0 20:13:54 go: finding github.com/hashicorp/mdns v1.0.0 20:13:54 go: finding github.com/hashicorp/memberlist v0.1.3 20:13:54 (4/18) Installing file (5.37-r1) 20:13:54 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:13:54 go: finding github.com/hashicorp/serf v0.8.2 20:13:54 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:13:54 go: finding github.com/mattn/go-colorable v0.0.9 20:13:54 go: finding github.com/mattn/go-isatty v0.0.3 20:13:54 go: finding github.com/miekg/dns v1.1.4 20:13:54 go: finding github.com/mitchellh/cli v1.0.0 20:13:54 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:13:54 go: finding github.com/mitchellh/copystructure v1.0.0 20:13:54 go: finding github.com/mitchellh/go-homedir v1.1.0 20:13:54 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:13:54 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:13:54 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:13:54 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:13:54 go: finding github.com/mitchellh/gox v0.4.0 20:13:54 go: finding github.com/mitchellh/iochan v1.0.0 20:13:54 go: finding github.com/mitchellh/mapstructure v1.1.2 20:13:54 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:13:54 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:13:54 go: finding github.com/pelletier/go-toml v1.2.0 20:13:54 go: finding github.com/pkg/errors v0.8.1 20:13:54 go: finding github.com/pmezard/go-difflib v1.0.0 20:13:54 go: finding github.com/posener/complete v1.1.1 20:13:54 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:13:54 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:13:54 go: finding github.com/stretchr/objx v0.1.0 20:13:54 go: finding github.com/stretchr/testify v1.5.1 20:13:54 go: finding github.com/ugorji/go v1.1.4 20:13:54 go: finding github.com/x448/float16 v0.8.4 20:13:54 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:13:54 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:13:55 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:13:55 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:13:55 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:13:55 go: finding gopkg.in/yaml.v2 v2.2.8 20:13:57 (8/18) Installing libc-dev (0.7.2-r0) 20:13:57 (9/18) Installing g++ (9.2.0-r4) 20:13:58 Removing intermediate container 3cb415c98794 20:13:58 ---> e920a26a96f7 20:13:58 Successfully built e920a26a96f7 20:13:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:13:58 + docker inspect -f . ci-base-image-x86_64 20:13:58 . [Pipeline] withDockerContainer 20:13:59 prd-centos7-docker-4c-2g-5413 does not seem to be running inside a container 20:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:13:59 (10/18) Installing fortify-headers (1.1-r0) 20:13:59 (11/18) Installing build-base (0.5-r1) 20:13:59 $ docker top 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a -eo pid,comm 20:13:59 (12/18) Installing openssh-keygen (8.1_p1-r0) 20:13:59 (13/18) Installing libedit (20191211.3.1-r0) 20:13:59 (14/18) Installing openssh-client (8.1_p1-r0) [Pipeline] { [Pipeline] sh 20:14:00 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 20:14:00 (16/18) Installing openssh-server-common (8.1_p1-r0) 20:14:00 + go version 20:14:00 go version go1.13.5 linux/amd64 [Pipeline] sh 20:14:00 (17/18) Installing openssh-server (8.1_p1-r0) 20:14:00 (18/18) Installing openssh (8.1_p1-r0) 20:14:00 + make test 20:14:00 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:00 Executing busybox-1.31.1-r8.trigger 20:14:00 OK: 203 MiB in 52 packages 20:14:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:14:07 Removing intermediate container 334630aafadd 20:14:07 ---> 84af984a94ca 20:14:07 Step 6/8 : WORKDIR /device-modbus-go 20:14:07 ---> Running in 2c40cf142073 20:14:07 Removing intermediate container 2c40cf142073 20:14:07 ---> 2598bdee945f 20:14:07 Step 7/8 : COPY . . 20:14:08 ---> 016fd9218218 20:14:08 Step 8/8 : RUN go mod download 20:14:08 ---> Running in 88252a2108a6 20:14:11 go: finding github.com/BurntSushi/toml v0.3.1 20:14:11 go: finding github.com/OneOfOne/xxhash v1.2.6 20:14:11 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:14:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:14:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:14:11 go: finding github.com/bgentry/speakeasy v0.1.0 20:14:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:14:11 go: finding github.com/davecgh/go-spew v1.1.1 20:14:11 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:14:11 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:14:11 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:14:11 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:14:11 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:14:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:14:11 go: finding github.com/fatih/color v1.7.0 20:14:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:14:11 go: finding github.com/go-kit/kit v0.8.0 20:14:11 go: finding github.com/go-logfmt/logfmt v0.4.0 20:14:11 go: finding github.com/go-stack/stack v1.8.0 20:14:11 go: finding github.com/goburrow/modbus v0.1.0 20:14:11 go: finding github.com/goburrow/serial v0.1.0 20:14:11 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:14:11 go: finding github.com/google/uuid v1.1.1 20:14:11 go: finding github.com/gorilla/mux v1.7.1 20:14:11 go: finding github.com/hashicorp/consul/api v1.1.0 20:14:11 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:14:11 go: finding github.com/hashicorp/errwrap v1.0.0 20:14:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:14:11 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:14:11 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:14:11 go: finding github.com/hashicorp/go-multierror v1.0.0 20:14:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:14:11 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:14:11 go: finding github.com/hashicorp/go-syslog v1.0.0 20:14:11 go: finding github.com/hashicorp/go-uuid v1.0.1 20:14:11 go: finding github.com/hashicorp/go.net v0.0.1 20:14:11 go: finding github.com/hashicorp/golang-lru v0.5.1 20:14:11 go: finding github.com/hashicorp/logutils v1.0.0 20:14:11 go: finding github.com/hashicorp/mdns v1.0.0 20:14:11 go: finding github.com/hashicorp/memberlist v0.1.3 20:14:11 go: finding github.com/hashicorp/serf v0.8.2 20:14:11 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:14:11 go: finding github.com/mattn/go-colorable v0.0.9 20:14:11 go: finding github.com/mattn/go-isatty v0.0.3 20:14:11 go: finding github.com/miekg/dns v1.1.4 20:14:11 go: finding github.com/mitchellh/cli v1.0.0 20:14:11 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:14:11 go: finding github.com/mitchellh/copystructure v1.0.0 20:14:11 go: finding github.com/mitchellh/go-homedir v1.1.0 20:14:11 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:14:11 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:14:11 go: finding github.com/mitchellh/gox v0.4.0 20:14:11 go: finding github.com/mitchellh/iochan v1.0.0 20:14:11 go: finding github.com/mitchellh/mapstructure v1.1.2 20:14:11 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:14:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:14:11 go: finding github.com/pelletier/go-toml v1.2.0 20:14:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:14:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.160s coverage: 50.3% of statements 20:14:12 go: finding github.com/pkg/errors v0.8.1 20:14:12 go: finding github.com/pmezard/go-difflib v1.0.0 20:14:12 go: finding github.com/posener/complete v1.1.1 20:14:12 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:14:12 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:14:12 go: finding github.com/stretchr/objx v0.1.0 20:14:12 go: finding github.com/stretchr/testify v1.5.1 20:14:12 go: finding github.com/ugorji/go v1.1.4 20:14:12 go: finding github.com/x448/float16 v0.8.4 20:14:12 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:14:12 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:14:12 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:14:12 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:14:12 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:14:12 go: finding gopkg.in/yaml.v2 v2.2.8 20:14:12 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:14:14 gofmt -l . 20:14:14 [ "`gofmt -l .`" = "" ] 20:14:14 ./bin/test-attribution-txt.sh 20:14:14 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:14:15 Stashed 1 file(s) [Pipeline] } 20:14:15 $ docker stop --time=1 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a 20:14:17 $ docker rm -f 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:14:19 + ls -al . 20:14:19 total 104 20:14:19 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 20:14 . 20:14:19 drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 20:13 .. 20:14:19 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 20:13 Attribution.txt 20:14:19 drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 20:13 bin 20:14:19 drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 20:13 cmd 20:14:19 -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 20:14 coverage.out 20:14:19 -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 20:13 Dockerfile 20:14:19 -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 20:13 Dockerfile.build 20:14:19 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 20:13 .dockerignore 20:14:19 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 20:13 .git 20:14:19 -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 20:13 .gitignore 20:14:19 -rw-r--r--. 1 jenkins jenkins 566 Apr 21 20:14 go.mod 20:14:19 -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 20:14 go.sum 20:14:19 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 20:13 internal 20:14:19 -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 20:13 Jenkinsfile 20:14:19 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 20:13 LICENSE 20:14:19 -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 20:13 Makefile 20:14:19 -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 20:13 README.md 20:14:19 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 20:13 .semver 20:14:19 drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 20:13 simulator 20:14:19 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 20:13 snap 20:14:19 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 20:09 VERSION 20:14:19 -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:14:19 + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 --label arch=amd64 --label version=0.0.0 . 20:14:19 Sending build context to Docker daemon 606.7kB 20:14:19 Step 1/19 : ARG BASE=golang:1.13-alpine 20:14:19 Step 2/19 : FROM ${BASE} AS builder 20:14:19 ---> e920a26a96f7 20:14:19 Step 3/19 : ARG MAKE='make build' 20:14:19 ---> Running in 1f1b1780fd9e 20:14:19 Removing intermediate container 1f1b1780fd9e 20:14:19 ---> 4bdc84ea994e 20:14:19 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:19 ---> Running in 0fed5960c13c 20:14:20 Removing intermediate container 0fed5960c13c 20:14:20 ---> 45d4a1a5300e 20:14:20 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 20:14:20 ---> Running in fcd8ba6cfc20 20:14:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:14:21 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:14:22 OK: 214 MiB in 52 packages 20:14:22 Removing intermediate container 88252a2108a6 20:14:22 ---> 6ee99af910a1 20:14:22 Successfully built 6ee99af910a1 20:14:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 20:14:22 Removing intermediate container fcd8ba6cfc20 20:14:22 ---> 22f8596bedcd 20:14:22 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:14:22 ---> Running in aebda81ad636 [Pipeline] // script 20:14:22 Removing intermediate container aebda81ad636 20:14:22 ---> c986676cc171 20:14:22 Step 7/19 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:22 ---> e5a7a2bc6e70 20:14:22 Step 8/19 : RUN ${MAKE} 20:14:22 ---> Running in 1979044b529b 20:14:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:14:23 + docker inspect -f . ci-base-image-arm64 20:14:23 . [Pipeline] withDockerContainer 20:14:23 prd-ubuntu18.04-docker-arm64-4c-16g-5412 does not seem to be running inside a container 20:14:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:14:25 $ docker top 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:26 + go version 20:14:26 go version go1.13.5 linux/arm64 [Pipeline] sh 20:14:27 + make test 20:14:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:14:33 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:14:34 Removing intermediate container 1979044b529b 20:14:34 ---> 05f4bc806bf3 20:14:34 Step 9/19 : FROM scratch 20:14:34 ---> 20:14:34 Step 10/19 : ENV APP_PORT=49991 20:14:34 ---> Running in 7565def43d89 20:14:34 Removing intermediate container 7565def43d89 20:14:34 ---> c57917d039b8 20:14:34 Step 11/19 : EXPOSE $APP_PORT 20:14:34 ---> Running in 4c11b927c0b7 20:14:35 Removing intermediate container 4c11b927c0b7 20:14:35 ---> b1fefa01b087 20:14:35 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:14:35 ---> 7b301be8737f 20:14:35 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:14:35 ---> 042861aa91b9 20:14:35 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:14:35 ---> 03b28e97eb27 20:14:35 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:14:35 ---> Running in 1044553a2911 20:14:35 Removing intermediate container 1044553a2911 20:14:35 ---> 6a0a0477d9c9 20:14:35 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:14:35 ---> Running in c4caa901d980 20:14:36 Removing intermediate container c4caa901d980 20:14:36 ---> 8c6fab568054 20:14:36 Step 17/19 : LABEL arch=amd64 20:14:36 ---> Running in a6d7487216a8 20:14:36 Removing intermediate container a6d7487216a8 20:14:36 ---> 6334e7f49189 20:14:36 Step 18/19 : LABEL git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:14:36 ---> Running in bc524106ac14 20:14:36 Removing intermediate container bc524106ac14 20:14:36 ---> 7e072fd1ae15 20:14:36 Step 19/19 : LABEL version=0.0.0 20:14:36 ---> Running in 7438ff5353c5 20:14:36 Removing intermediate container 7438ff5353c5 20:14:36 ---> 8feaf430d5eb 20:14:36 [Warning] One or more build-args [ARCH] were not consumed 20:14:36 Successfully built 8feaf430d5eb 20:14:36 Successfully tagged docker-device-modbus-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 20:14:37 ++ find /w/workspace/device-modbus-go/11 20:14:37 ++ grep snapcraft.yaml 20:14:37 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/11/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:37 provisioning config files... 20:14:37 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/11@tmp/config2697934341518239122tmp [Pipeline] { [Pipeline] sh 20:14:38 + cp /w/workspace/device-modbus-go/11@tmp/config2697934341518239122tmp /w/workspace/device-modbus-go/11/edgex-snap-store-login [Pipeline] sh 20:14:38 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/11:/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 20:14:38 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 20:14:38 latest: Pulling from edgex-devops/edgex-snap-builder 20:14:38 5bed26d33875: Pulling fs layer 20:14:38 f11b29a9c730: Pulling fs layer 20:14:38 930bda195c84: Pulling fs layer 20:14:38 78bf9a5ad49e: Pulling fs layer 20:14:38 e5fbee5a4b0d: Pulling fs layer 20:14:38 f452fca78f88: Pulling fs layer 20:14:38 7417ef92027a: Pulling fs layer 20:14:38 2af5c49d270b: Pulling fs layer 20:14:38 df9c3bdbc40a: Pulling fs layer 20:14:38 78bf9a5ad49e: Waiting 20:14:38 f452fca78f88: Waiting 20:14:38 7417ef92027a: Waiting 20:14:38 e5fbee5a4b0d: Waiting 20:14:38 2af5c49d270b: Waiting 20:14:38 df9c3bdbc40a: Waiting 20:14:38 930bda195c84: Verifying Checksum 20:14:38 930bda195c84: Download complete 20:14:38 f11b29a9c730: Download complete 20:14:38 78bf9a5ad49e: Download complete 20:14:38 f452fca78f88: Download complete 20:14:38 7417ef92027a: Verifying Checksum 20:14:38 7417ef92027a: Download complete 20:14:38 2af5c49d270b: Verifying Checksum 20:14:38 2af5c49d270b: Download complete 20:14:38 df9c3bdbc40a: Verifying Checksum 20:14:38 df9c3bdbc40a: Download complete 20:14:38 5bed26d33875: Verifying Checksum 20:14:38 5bed26d33875: Download complete 20:14:42 e5fbee5a4b0d: Verifying Checksum 20:14:42 e5fbee5a4b0d: Download complete 20:14:43 5bed26d33875: Pull complete 20:14:43 f11b29a9c730: Pull complete 20:14:43 930bda195c84: Pull complete 20:14:43 78bf9a5ad49e: Pull complete 20:15:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:15:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements 20:15:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:15:06 gofmt -l . 20:15:06 [ "`gofmt -l .`" = "" ] 20:15:06 ./bin/test-attribution-txt.sh 20:15:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:15:07 Warning: overwriting stash ‘coverage-report’ 20:15:08 Stashed 1 file(s) [Pipeline] } 20:15:08 $ docker stop --time=1 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 20:15:10 e5fbee5a4b0d: Pull complete 20:15:10 f452fca78f88: Pull complete 20:15:10 7417ef92027a: Pull complete 20:15:10 2af5c49d270b: Pull complete 20:15:10 df9c3bdbc40a: Pull complete 20:15:10 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 20:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 20:15:10 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 20:15:10 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:15:10 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:15:10 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:15:10 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] 20:15:10 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] 20:15:10 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] 20:15:10 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] 20:15:10 Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 20:15:10 Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] 20:15:10 Fetched 4553 kB in 2s (3006 kB/s) 20:15:10 $ docker rm -f 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 20:15:10 Reading package lists... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:12 + ls -al . 20:15:12 total 136 20:15:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 20:15 . 20:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:12 .. 20:15:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 20:13 .dockerignore 20:15:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 20:13 .git 20:15:12 -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 20:13 .gitignore 20:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 .semver 20:15:12 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 20:13 Attribution.txt 20:15:12 -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 20:13 Dockerfile 20:15:12 -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 20:13 Dockerfile.build 20:15:12 -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 20:13 Jenkinsfile 20:15:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 20:13 LICENSE 20:15:12 -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 20:13 Makefile 20:15:12 -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 20:13 README.md 20:15:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 20:09 VERSION 20:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:13 bin 20:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 cmd 20:15:12 -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 20:14 coverage.out 20:15:12 -rw-r--r-- 1 jenkins jenkins 566 Apr 21 20:15 go.mod 20:15:12 -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 20:15 go.sum 20:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 internal 20:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:13 simulator 20:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:13 snap 20:15:12 -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:15:12 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 --label arch=arm64 --label version=0.0.0 . 20:15:13 Sending build context to Docker daemon 606.7kB 20:15:13 Step 1/19 : ARG BASE=golang:1.13-alpine 20:15:13 Step 2/19 : FROM ${BASE} AS builder 20:15:13 ---> 6ee99af910a1 20:15:13 Step 3/19 : ARG MAKE='make build' 20:15:13 ---> Running in c48d8381053d 20:15:13 Removing intermediate container c48d8381053d 20:15:13 ---> 7b48a5cb42f3 20:15:13 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:13 ---> Running in 89e7082fb010 20:15:14 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 20:15:15 Removing intermediate container 89e7082fb010 20:15:15 ---> c21bbe30fa64 20:15:15 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 20:15:15 ---> Running in 19cb5ffca398 20:15:16 Reading package lists... 20:15:16 Building dependency tree... 20:15:16 Reading state information... 20:15:16 The following packages were automatically installed and are no longer required: 20:15:16 libjq1 liblzo2-2 libonig4 20:15:16 Use 'sudo apt autoremove' to remove them. 20:15:16 Suggested packages: 20:15:16 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:15:16 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:15:16 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:15:16 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:15:16 The following NEW packages will be installed: 20:15:16 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:15:16 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:15:16 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:15:16 openssh-client patch perl perl-modules-5.26 xauth 20:15:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:15:16 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 20:15:16 Need to get 14.7 MB of archives. 20:15:16 After this operation, 89.5 MB of additional disk space will be used. 20:15:16 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 20:15:16 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 20:15:16 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 20:15:16 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 20:15:16 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:15:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:15:17 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 20:15:17 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 20:15:17 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:15:17 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 20:15:17 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 20:15:17 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 20:15:17 OK: 203 MiB in 52 packages 20:15:17 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 20:15:17 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 20:15:17 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 20:15:17 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 20:15:17 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 20:15:17 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 20:15:17 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 20:15:17 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 20:15:17 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 20:15:17 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 20:15:17 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 20:15:17 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 20:15:17 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:15:17 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 20:15:18 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 20:15:18 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 20:15:18 debconf: delaying package configuration, since apt-utils is not installed 20:15:18 Fetched 14.7 MB in 1s (10.8 MB/s) 20:15:18 Selecting previously unselected package libxau6:amd64. 20:15:18 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4637 files and directories currently installed.) 20:15:18 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 20:15:18 Unpacking libxau6:amd64 (1:1.0.8-1) ... 20:15:18 Selecting previously unselected package libbsd0:amd64. 20:15:18 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 20:15:18 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:15:18 Selecting previously unselected package libxdmcp6:amd64. 20:15:18 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 20:15:18 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 20:15:18 Selecting previously unselected package libxcb1:amd64. 20:15:18 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 20:15:18 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:15:18 Selecting previously unselected package libx11-data. 20:15:18 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:15:18 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:15:19 Removing intermediate container 19cb5ffca398 20:15:19 ---> fdde45766eef 20:15:19 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:15:19 ---> Running in f236b5c82a11 20:15:19 Selecting previously unselected package libx11-6:amd64. 20:15:19 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 20:15:19 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:15:19 Removing intermediate container f236b5c82a11 20:15:19 ---> 39005f046041 20:15:19 Step 7/19 : COPY . . 20:15:19 Selecting previously unselected package libxext6:amd64. 20:15:19 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 20:15:19 Unpacking libxext6:amd64 (2:1.3.3-1) ... 20:15:19 Selecting previously unselected package perl-modules-5.26. 20:15:19 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:15:19 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:15:20 ---> bb1b08899799 20:15:20 Step 8/19 : RUN ${MAKE} 20:15:20 ---> Running in f5695e6e31ec 20:15:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:15:22 Selecting previously unselected package libgdbm5:amd64. 20:15:22 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 20:15:22 Unpacking libgdbm5:amd64 (1.14.1-6) ... 20:15:22 Selecting previously unselected package libgdbm-compat4:amd64. 20:15:22 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 20:15:22 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 20:15:22 Selecting previously unselected package libperl5.26:amd64. 20:15:22 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 20:15:22 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:15:23 Selecting previously unselected package perl. 20:15:23 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 20:15:23 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:15:23 Selecting previously unselected package less. 20:15:23 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 20:15:23 Unpacking less (487-0.1) ... 20:15:23 Selecting previously unselected package libexpat1:amd64. 20:15:23 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 20:15:23 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:15:23 Selecting previously unselected package netbase. 20:15:23 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:15:23 Unpacking netbase (5.4) ... 20:15:24 Selecting previously unselected package libedit2:amd64. 20:15:24 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 20:15:24 Unpacking libedit2:amd64 (3.1-20170329-1) ... 20:15:25 Selecting previously unselected package libssl1.0.0:amd64. 20:15:25 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 20:15:25 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:15:25 Selecting previously unselected package libxmuu1:amd64. 20:15:25 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 20:15:25 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 20:15:25 Selecting previously unselected package openssh-client. 20:15:25 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 20:15:25 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:15:25 Selecting previously unselected package xauth. 20:15:25 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 20:15:25 Unpacking xauth (1:1.0.10-1) ... 20:15:25 Selecting previously unselected package curl. 20:15:25 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 20:15:25 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:15:26 Selecting previously unselected package libcurl3-gnutls:amd64. 20:15:26 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 20:15:26 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:15:26 Selecting previously unselected package liberror-perl. 20:15:26 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:15:26 Unpacking liberror-perl (0.17025-1) ... 20:15:26 Selecting previously unselected package git-man. 20:15:26 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:15:26 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:15:26 Selecting previously unselected package git. 20:15:26 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 20:15:26 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:15:27 Selecting previously unselected package make. 20:15:27 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 20:15:27 Unpacking make (4.1-9.1ubuntu1) ... 20:15:27 Selecting previously unselected package patch. 20:15:27 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 20:15:27 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:15:27 Setting up libedit2:amd64 (3.1-20170329-1) ... 20:15:27 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:15:27 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:15:27 Setting up less (487-0.1) ... 20:15:27 Setting up make (4.1-9.1ubuntu1) ... 20:15:27 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:15:27 Setting up curl (7.58.0-2ubuntu3.8) ... 20:15:27 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:15:27 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:15:27 Setting up libgdbm5:amd64 (1.14.1-6) ... 20:15:27 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:15:27 Setting up patch (2.7.6-2ubuntu1.1) ... 20:15:27 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 20:15:27 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 20:15:27 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:15:28 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:15:28 Setting up libxau6:amd64 (1:1.0.8-1) ... 20:15:28 Setting up netbase (5.4) ... 20:15:28 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:15:28 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:15:28 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:15:28 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 20:15:28 Setting up perl (5.26.1-6ubuntu0.3) ... 20:15:28 Setting up libxext6:amd64 (2:1.3.3-1) ... 20:15:28 Setting up liberror-perl (0.17025-1) ... 20:15:28 Setting up xauth (1:1.0.10-1) ... 20:15:28 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:15:28 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:15:31 curl set to automatically installed. 20:15:31 git set to automatically installed. 20:15:31 git-man set to automatically installed. 20:15:31 less set to automatically installed. 20:15:31 libbsd0 set to automatically installed. 20:15:31 libcurl3-gnutls set to automatically installed. 20:15:31 libedit2 set to automatically installed. 20:15:31 liberror-perl set to automatically installed. 20:15:31 libexpat1 set to automatically installed. 20:15:31 libgdbm-compat4 set to automatically installed. 20:15:31 libgdbm5 set to automatically installed. 20:15:31 libperl5.26 set to automatically installed. 20:15:31 libssl1.0.0 set to automatically installed. 20:15:31 libx11-6 set to automatically installed. 20:15:31 libx11-data set to automatically installed. 20:15:31 libxau6 set to automatically installed. 20:15:31 libxcb1 set to automatically installed. 20:15:31 libxdmcp6 set to automatically installed. 20:15:31 libxext6 set to automatically installed. 20:15:31 libxmuu1 set to automatically installed. 20:15:31 make set to automatically installed. 20:15:31 netbase set to automatically installed. 20:15:31 openssh-client set to automatically installed. 20:15:31 patch set to automatically installed. 20:15:31 perl set to automatically installed. 20:15:31 perl-modules-5.26 set to automatically installed. 20:15:31 xauth set to automatically installed. 20:15:31 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:15:31 Please ensure the environment is properly setup before continuing. 20:15:31 Ignore this message if the appropriate measures have already been taken 20:15:32 Pulling go 20:15:33 'device-modbus' has dependencies that need to be staged: go 20:15:33 Skipping pull go (already ran) 20:15:33 Building go 20:15:33 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:33 Dload Upload Total Spent Left Speed 20:15:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 49 114M 49 57.2M 0 0 91.6M 0 0:00:01 --:--:-- 0:00:01 91.5M 100 114M 100 114M 0 0 98.1M 0 0:00:01 0:00:01 --:--:-- 98.1M 20:15:35 go1.13.5.linux-amd64.tar.gz: OK 20:15:43 Staging go 20:15:44 Pulling device-modbus 20:15:45 Skipping build go (already ran) 20:15:45 Building device-modbus 20:15:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:15:46 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:15:46 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:15:46 go: downloading github.com/goburrow/modbus v0.1.0 20:15:46 go: extracting github.com/goburrow/modbus v0.1.0 20:15:46 go: downloading github.com/goburrow/serial v0.1.0 20:15:46 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:15:46 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:15:46 go: extracting github.com/goburrow/serial v0.1.0 20:15:46 go: downloading github.com/go-kit/kit v0.8.0 20:15:46 go: downloading github.com/gorilla/mux v1.7.1 20:15:46 go: downloading github.com/google/uuid v1.1.1 20:15:46 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:15:46 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:15:46 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 20:15:46 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 20:15:46 go: extracting github.com/google/uuid v1.1.1 20:15:46 go: extracting github.com/gorilla/mux v1.7.1 20:15:46 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:15:46 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:15:46 go: downloading gopkg.in/yaml.v2 v2.2.8 20:15:46 go: downloading github.com/pkg/errors v0.8.1 20:15:46 go: downloading github.com/hashicorp/consul/api v1.1.0 20:15:46 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:15:46 go: downloading github.com/x448/float16 v0.8.4 20:15:46 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:15:46 go: downloading github.com/pelletier/go-toml v1.2.0 20:15:46 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:15:46 go: extracting github.com/go-kit/kit v0.8.0 20:15:46 go: extracting github.com/pkg/errors v0.8.1 20:15:46 go: downloading github.com/BurntSushi/toml v0.3.1 20:15:46 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:15:46 go: extracting github.com/hashicorp/consul/api v1.1.0 20:15:46 go: extracting gopkg.in/yaml.v2 v2.2.8 20:15:46 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:15:46 go: extracting github.com/pelletier/go-toml v1.2.0 20:15:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:15:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:15:46 go: downloading github.com/hashicorp/serf v0.8.2 20:15:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:15:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:15:46 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:15:46 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:15:46 go: extracting github.com/x448/float16 v0.8.4 20:15:46 go: extracting github.com/BurntSushi/toml v0.3.1 20:15:46 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:15:46 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:15:46 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:15:46 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:15:46 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:15:46 go: downloading github.com/mitchellh/copystructure v1.0.0 20:15:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:15:46 go: extracting github.com/hashicorp/serf v0.8.2 20:15:46 go: extracting github.com/mitchellh/copystructure v1.0.0 20:15:46 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:15:46 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:15:46 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:15:46 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:15:46 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:15:46 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:15:46 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:15:46 go: downloading github.com/hashicorp/golang-lru v0.5.1 20:15:46 go: extracting github.com/hashicorp/golang-lru v0.5.1 20:15:46 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:15:46 go: finding github.com/gorilla/mux v1.7.1 20:15:46 go: finding github.com/OneOfOne/xxhash v1.2.6 20:15:46 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:15:46 go: finding github.com/google/uuid v1.1.1 20:15:46 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:15:46 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:15:46 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:15:46 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:15:46 go: finding gopkg.in/yaml.v2 v2.2.8 20:15:46 go: finding github.com/pkg/errors v0.8.1 20:15:46 go: finding github.com/BurntSushi/toml v0.3.1 20:15:46 go: finding github.com/x448/float16 v0.8.4 20:15:46 go: finding github.com/hashicorp/consul/api v1.1.0 20:15:46 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:15:46 go: finding github.com/pelletier/go-toml v1.2.0 20:15:46 go: finding github.com/go-kit/kit v0.8.0 20:15:46 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:15:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:15:46 go: finding github.com/hashicorp/serf v0.8.2 20:15:46 go: finding github.com/go-logfmt/logfmt v0.4.0 20:15:46 go: finding github.com/mitchellh/mapstructure v1.1.2 20:15:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:15:46 go: finding github.com/goburrow/modbus v0.1.0 20:15:46 go: finding github.com/mitchellh/copystructure v1.0.0 20:15:46 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:15:46 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:15:46 go: finding github.com/goburrow/serial v0.1.0 20:15:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:15:46 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:15:46 go: finding github.com/hashicorp/golang-lru v0.5.1 20:15:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:15:54 Removing intermediate container f5695e6e31ec 20:15:54 ---> 83dc42de07f9 20:15:54 Step 9/19 : FROM scratch 20:15:54 ---> 20:15:54 Step 10/19 : ENV APP_PORT=49991 20:15:54 ---> Running in 49f8a155b6e9 20:15:54 Removing intermediate container 49f8a155b6e9 20:15:54 ---> 31da4605eb48 20:15:54 Step 11/19 : EXPOSE $APP_PORT 20:15:54 ---> Running in db5de63c56d9 20:15:54 Removing intermediate container db5de63c56d9 20:15:54 ---> 5c7d99081da2 20:15:54 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:15:55 ---> a2bff2809b9c 20:15:55 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:15:56 ---> 5be2bd5e96ba 20:15:56 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:15:56 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:15:57 ---> f2554e306d01 20:15:57 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:15:57 ---> Running in 8cf0ba63133a 20:15:57 Removing intermediate container 8cf0ba63133a 20:15:57 ---> 027a5a135abf 20:15:57 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:15:57 ---> Running in 4e1585e2381c 20:15:57 Removing intermediate container 4e1585e2381c 20:15:57 ---> 5e22a74b25c2 20:15:57 Step 17/19 : LABEL arch=arm64 20:15:58 ---> Running in 3e354912f11c 20:15:58 Removing intermediate container 3e354912f11c 20:15:58 ---> 92f1a772d49c 20:15:58 Step 18/19 : LABEL git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 20:15:58 ---> Running in c95c17a48e09 20:15:58 Removing intermediate container c95c17a48e09 20:15:58 ---> 354e0c5760e0 20:15:58 Step 19/19 : LABEL version=0.0.0 20:15:58 ---> Running in b4cb101aec92 20:15:59 Removing intermediate container b4cb101aec92 20:15:59 ---> b79f265c5503 20:15:59 [Warning] One or more build-args [ARCH] were not consumed 20:15:59 Successfully built b79f265c5503 20:15:59 Successfully tagged docker-device-modbus-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 20:16:00 Skipping stage go (already ran) 20:16:00 Staging device-modbus 20:16:00 + find /w/workspace/device-modbus-go/11 20:16:00 + grep snapcraft.yaml 20:16:00 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/11/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:00 provisioning config files... 20:16:00 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/11@tmp/config1842976738324113580tmp [Pipeline] { [Pipeline] sh 20:16:00 + cp /w/workspace/device-modbus-go/11@tmp/config1842976738324113580tmp /w/workspace/device-modbus-go/11/edgex-snap-store-login [Pipeline] sh 20:16:01 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/11:/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 20:16:01 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 20:16:01 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 20:16:01 b2f61026a351: Pulling fs layer 20:16:01 5538fb30c42c: Pulling fs layer 20:16:01 f0b05810781a: Pulling fs layer 20:16:01 0180a33352d6: Pulling fs layer 20:16:01 e7604b0c0f53: Pulling fs layer 20:16:01 db689cb83ae0: Pulling fs layer 20:16:01 6138af208834: Pulling fs layer 20:16:01 007c8e8c5d63: Pulling fs layer 20:16:01 4f7a387c642f: Pulling fs layer 20:16:01 e7604b0c0f53: Waiting 20:16:01 db689cb83ae0: Waiting 20:16:01 6138af208834: Waiting 20:16:01 007c8e8c5d63: Waiting 20:16:01 4f7a387c642f: Waiting 20:16:01 0180a33352d6: Waiting 20:16:01 f0b05810781a: Verifying Checksum 20:16:01 f0b05810781a: Download complete 20:16:01 5538fb30c42c: Verifying Checksum 20:16:01 5538fb30c42c: Download complete 20:16:01 0180a33352d6: Verifying Checksum 20:16:01 0180a33352d6: Download complete 20:16:01 Priming go 20:16:01 db689cb83ae0: Verifying Checksum 20:16:01 db689cb83ae0: Download complete 20:16:01 6138af208834: Verifying Checksum 20:16:01 6138af208834: Download complete 20:16:01 007c8e8c5d63: Verifying Checksum 20:16:01 007c8e8c5d63: Download complete 20:16:01 4f7a387c642f: Verifying Checksum 20:16:01 4f7a387c642f: Download complete 20:16:02 Priming device-modbus 20:16:03 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:16:03 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:16:03 Determining the version from the project repo (version-script). 20:16:03 The version has been set to '0.0.0-20200421+2a0e1d9' 20:16:03 Snapping 'edgex-device-modbus' ... 20:16:03 b2f61026a351: Verifying Checksum 20:16:03 b2f61026a351: Download complete 20:16:04 20:16:04 Snapped edgex-device-modbus_0.0.0-20200421+2a0e1d9_amd64.snap [Pipeline] } 20:16:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:16:07 b2f61026a351: Pull complete 20:16:07 5538fb30c42c: Pull complete 20:16:07 f0b05810781a: Pull complete 20:16:07 0180a33352d6: Pull complete 20:16:29 e7604b0c0f53: Download complete 20:17:02 e7604b0c0f53: Pull complete 20:17:02 db689cb83ae0: Pull complete 20:17:02 6138af208834: Pull complete 20:17:02 007c8e8c5d63: Pull complete 20:17:02 4f7a387c642f: Pull complete 20:17:02 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 20:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 20:17:03 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 20:17:03 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 20:17:04 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 20:17:04 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 20:17:04 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] 20:17:05 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] 20:17:05 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 20:17:05 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] 20:17:05 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] 20:17:05 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] 20:17:06 Fetched 3651 kB in 2s (1554 kB/s) 20:17:11 Reading package lists... 20:17:29 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 20:17:33 Reading package lists... 20:17:33 Building dependency tree... 20:17:33 Reading state information... 20:17:34 The following packages were automatically installed and are no longer required: 20:17:34 libjq1 liblzo2-2 libonig4 20:17:34 Use 'sudo apt autoremove' to remove them. 20:17:34 Suggested packages: 20:17:34 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:17:34 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:17:34 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:17:34 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:17:34 The following NEW packages will be installed: 20:17:34 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:17:34 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:17:34 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:17:34 openssh-client patch perl perl-modules-5.26 xauth 20:17:34 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 20:17:34 Need to get 12.9 MB of archives. 20:17:34 After this operation, 84.2 MB of additional disk space will be used. 20:17:34 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 20:17:34 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 20:17:35 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 20:17:35 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 20:17:35 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:17:35 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 20:17:35 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 20:17:35 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:17:36 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 20:17:36 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 20:17:36 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 20:17:36 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 20:17:37 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 20:17:37 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 20:17:37 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 20:17:37 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 20:17:37 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 20:17:37 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 20:17:37 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 20:17:37 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 20:17:37 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 20:17:37 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 20:17:37 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 20:17:37 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:17:37 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 20:17:38 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 20:17:38 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 20:17:39 debconf: delaying package configuration, since apt-utils is not installed 20:17:39 Fetched 12.9 MB in 4s (3298 kB/s) 20:17:39 Selecting previously unselected package libxau6:arm64. 20:17:39 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4630 files and directories currently installed.) 20:17:39 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 20:17:39 Unpacking libxau6:arm64 (1:1.0.8-1) ... 20:17:39 Selecting previously unselected package libbsd0:arm64. 20:17:39 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 20:17:39 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:17:39 Selecting previously unselected package libxdmcp6:arm64. 20:17:39 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 20:17:39 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 20:17:39 Selecting previously unselected package libxcb1:arm64. 20:17:39 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 20:17:39 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:17:39 Selecting previously unselected package libx11-data. 20:17:39 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:17:40 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:17:40 Selecting previously unselected package libx11-6:arm64. 20:17:40 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 20:17:40 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:17:40 Selecting previously unselected package libxext6:arm64. 20:17:40 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 20:17:40 Unpacking libxext6:arm64 (2:1.3.3-1) ... 20:17:40 Selecting previously unselected package perl-modules-5.26. 20:17:40 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:17:40 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:17:42 Selecting previously unselected package libgdbm5:arm64. 20:17:42 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 20:17:42 Unpacking libgdbm5:arm64 (1.14.1-6) ... 20:17:42 Selecting previously unselected package libgdbm-compat4:arm64. 20:17:42 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 20:17:42 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 20:17:42 Selecting previously unselected package libperl5.26:arm64. 20:17:42 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 20:17:42 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:17:43 Selecting previously unselected package perl. 20:17:43 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 20:17:43 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:17:43 Selecting previously unselected package less. 20:17:43 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 20:17:43 Unpacking less (487-0.1) ... 20:17:44 Selecting previously unselected package libexpat1:arm64. 20:17:44 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 20:17:44 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:17:44 Selecting previously unselected package netbase. 20:17:44 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:17:44 Unpacking netbase (5.4) ... 20:17:44 Selecting previously unselected package libedit2:arm64. 20:17:44 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 20:17:44 Unpacking libedit2:arm64 (3.1-20170329-1) ... 20:17:44 Selecting previously unselected package libssl1.0.0:arm64. 20:17:44 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 20:17:44 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:17:44 Selecting previously unselected package libxmuu1:arm64. 20:17:44 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 20:17:44 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 20:17:44 Selecting previously unselected package openssh-client. 20:17:44 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 20:17:44 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:17:45 Selecting previously unselected package xauth. 20:17:45 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 20:17:45 Unpacking xauth (1:1.0.10-1) ... 20:17:45 Selecting previously unselected package curl. 20:17:45 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 20:17:45 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:17:45 Selecting previously unselected package libcurl3-gnutls:arm64. 20:17:45 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 20:17:45 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:17:45 Selecting previously unselected package liberror-perl. 20:17:45 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:17:45 Unpacking liberror-perl (0.17025-1) ... 20:17:45 Selecting previously unselected package git-man. 20:17:45 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:17:45 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:17:45 Selecting previously unselected package git. 20:17:45 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 20:17:45 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:17:47 Selecting previously unselected package make. 20:17:47 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 20:17:47 Unpacking make (4.1-9.1ubuntu1) ... 20:17:47 Selecting previously unselected package patch. 20:17:47 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 20:17:47 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:17:47 Setting up libedit2:arm64 (3.1-20170329-1) ... 20:17:47 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:17:47 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:17:47 Setting up less (487-0.1) ... 20:17:47 Setting up make (4.1-9.1ubuntu1) ... 20:17:47 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:17:48 Setting up curl (7.58.0-2ubuntu3.8) ... 20:17:48 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:17:48 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:17:48 Setting up libgdbm5:arm64 (1.14.1-6) ... 20:17:48 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:17:48 Setting up patch (2.7.6-2ubuntu1.1) ... 20:17:48 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 20:17:48 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 20:17:48 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:17:49 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:17:49 Setting up libxau6:arm64 (1:1.0.8-1) ... 20:17:49 Setting up netbase (5.4) ... 20:17:49 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:17:49 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:17:49 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:17:49 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 20:17:49 Setting up perl (5.26.1-6ubuntu0.3) ... 20:17:49 Setting up libxext6:arm64 (2:1.3.3-1) ... 20:17:49 Setting up liberror-perl (0.17025-1) ... 20:17:49 Setting up xauth (1:1.0.10-1) ... 20:17:49 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:17:49 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:17:56 curl set to automatically installed. 20:17:56 git set to automatically installed. 20:17:56 git-man set to automatically installed. 20:17:56 less set to automatically installed. 20:17:56 libbsd0 set to automatically installed. 20:17:56 libcurl3-gnutls set to automatically installed. 20:17:56 libedit2 set to automatically installed. 20:17:56 liberror-perl set to automatically installed. 20:17:56 libexpat1 set to automatically installed. 20:17:56 libgdbm-compat4 set to automatically installed. 20:17:56 libgdbm5 set to automatically installed. 20:17:56 libperl5.26 set to automatically installed. 20:17:56 libssl1.0.0 set to automatically installed. 20:17:56 libx11-6 set to automatically installed. 20:17:56 libx11-data set to automatically installed. 20:17:56 libxau6 set to automatically installed. 20:17:56 libxcb1 set to automatically installed. 20:17:56 libxdmcp6 set to automatically installed. 20:17:56 libxext6 set to automatically installed. 20:17:56 libxmuu1 set to automatically installed. 20:17:56 make set to automatically installed. 20:17:56 netbase set to automatically installed. 20:17:56 openssh-client set to automatically installed. 20:17:56 patch set to automatically installed. 20:17:56 perl set to automatically installed. 20:17:56 perl-modules-5.26 set to automatically installed. 20:17:56 xauth set to automatically installed. 20:17:56 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:17:56 Please ensure the environment is properly setup before continuing. 20:17:56 Ignore this message if the appropriate measures have already been taken 20:17:57 Pulling go 20:18:00 'device-modbus' has dependencies that need to be staged: go 20:18:00 Skipping pull go (already ran) 20:18:00 Building go 20:18:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:00 Dload Upload Total Spent Left Speed 20:18:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 93.0M 1 1743k 0 0 9426k 0 0:00:10 --:--:-- 0:00:10 9375k 47 93.0M 47 44.1M 0 0 37.4M 0 0:00:02 0:00:01 0:00:01 37.4M 99 93.0M 99 92.4M 0 0 42.0M 0 0:00:02 0:00:02 --:--:-- 42.0M 100 93.0M 100 93.0M 0 0 42.1M 0 0:00:02 0:00:02 --:--:-- 42.0M 20:18:03 go1.13.5.linux-arm64.tar.gz: OK 20:18:25 Staging go 20:18:25 Pulling device-modbus 20:18:29 Skipping build go (already ran) 20:18:29 Building device-modbus 20:18:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:18:29 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:18:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:18:29 go: downloading github.com/goburrow/modbus v0.1.0 20:18:29 go: extracting github.com/goburrow/modbus v0.1.0 20:18:30 go: downloading github.com/goburrow/serial v0.1.0 20:18:30 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:18:30 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:18:30 go: extracting github.com/goburrow/serial v0.1.0 20:18:30 go: downloading github.com/gorilla/mux v1.7.1 20:18:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:18:30 go: downloading github.com/pkg/errors v0.8.1 20:18:30 go: downloading github.com/google/uuid v1.1.1 20:18:30 go: downloading github.com/go-kit/kit v0.8.0 20:18:30 go: downloading gopkg.in/yaml.v2 v2.2.8 20:18:30 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:18:30 go: extracting github.com/pkg/errors v0.8.1 20:18:30 go: extracting github.com/gorilla/mux v1.7.1 20:18:30 go: extracting github.com/google/uuid v1.1.1 20:18:30 go: extracting gopkg.in/yaml.v2 v2.2.8 20:18:30 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:18:30 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 20:18:30 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:18:30 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:18:30 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:18:30 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 20:18:30 go: downloading github.com/BurntSushi/toml v0.3.1 20:18:30 go: downloading github.com/pelletier/go-toml v1.2.0 20:18:30 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:18:30 go: downloading github.com/hashicorp/consul/api v1.1.0 20:18:30 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:18:30 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:18:30 go: extracting github.com/BurntSushi/toml v0.3.1 20:18:30 go: extracting github.com/pelletier/go-toml v1.2.0 20:18:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:18:30 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:18:30 go: downloading github.com/x448/float16 v0.8.4 20:18:30 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:18:30 go: extracting github.com/hashicorp/consul/api v1.1.0 20:18:30 go: downloading github.com/mitchellh/copystructure v1.0.0 20:18:30 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:18:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:18:30 go: extracting github.com/go-kit/kit v0.8.0 20:18:30 go: extracting github.com/x448/float16 v0.8.4 20:18:30 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:18:30 go: extracting github.com/mitchellh/copystructure v1.0.0 20:18:30 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:18:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:18:30 go: downloading github.com/hashicorp/serf v0.8.2 20:18:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:18:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:18:30 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:18:30 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:18:30 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:18:30 go: extracting github.com/hashicorp/serf v0.8.2 20:18:30 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:18:30 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:18:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:18:31 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:18:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:18:31 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:18:31 go: downloading github.com/hashicorp/golang-lru v0.5.1 20:18:31 go: extracting github.com/hashicorp/golang-lru v0.5.1 20:18:31 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 20:18:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 20:18:31 go: finding github.com/goburrow/modbus v0.1.0 20:18:31 go: finding github.com/gorilla/mux v1.7.1 20:18:31 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:18:31 go: finding github.com/goburrow/serial v0.1.0 20:18:31 go: finding github.com/go-kit/kit v0.8.0 20:18:31 go: finding github.com/OneOfOne/xxhash v1.2.6 20:18:31 go: finding github.com/google/uuid v1.1.1 20:18:31 go: finding github.com/x448/float16 v0.8.4 20:18:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 20:18:31 go: finding github.com/go-logfmt/logfmt v0.4.0 20:18:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:18:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 20:18:31 go: finding gopkg.in/yaml.v2 v2.2.8 20:18:31 go: finding github.com/BurntSushi/toml v0.3.1 20:18:31 go: finding github.com/pkg/errors v0.8.1 20:18:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:18:31 go: finding github.com/hashicorp/consul/api v1.1.0 20:18:31 go: finding github.com/pelletier/go-toml v1.2.0 20:18:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:18:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:18:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:18:31 go: finding github.com/hashicorp/serf v0.8.2 20:18:31 go: finding github.com/mitchellh/mapstructure v1.1.2 20:18:31 go: finding github.com/mitchellh/copystructure v1.0.0 20:18:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:18:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:18:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:18:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:18:31 go: finding github.com/hashicorp/golang-lru v0.5.1 20:18:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:19:11 Skipping stage go (already ran) 20:19:11 Staging device-modbus 20:19:14 Priming go 20:19:17 Priming device-modbus 20:19:20 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:19:20 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:19:20 Determining the version from the project repo (version-script). 20:19:20 The version has been set to '0.0.0-20200421+2a0e1d9' 20:19:20 Snapping 'edgex-device-modbus' ... 20:19:24 20:19:24 Snapped edgex-device-modbus_0.0.0-20200421+2a0e1d9_arm64.snap [Pipeline] } 20:19:26 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 20:19:27 provisioning config files... 20:19:27 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config709177021083003806tmp [Pipeline] { [Pipeline] sh 20:19:27 + curl -s https://codecov.io/bash 20:19:27 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config709177021083003806tmp 20:19:28 20:19:28 _____ _ 20:19:28 / ____| | | 20:19:28 | | ___ __| | ___ ___ _____ __ 20:19:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:19:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:19:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:19:28 Bash-tbd 20:19:28 20:19:28 20:19:28 ==> Jenkins CI detected. 20:19:28 project root: . 20:19:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:19:28 ==> Running gcov in . (disable via -X gcov) 20:19:28 ==> Python coveragepy not found 20:19:28 ==> Searching for coverage reports in: 20:19:28 + . 20:19:28 -> Found 1 reports 20:19:28 ==> Detecting git/mercurial file structure 20:19:28 ==> Reading reports 20:19:28 + ./coverage.out bytes=22123 20:19:28 ==> Appending adjustments 20:19:28 http://docs.codecov.io/docs/fixing-reports 20:19:28 + Found adjustments 20:19:28 ==> Gzipping contents 20:19:28 ==> Uploading reports 20:19:28 url: https://codecov.io 20:19:28 query: branch=PR-139&commit=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 20:19:28 -> Pinging Codecov 20:19:28 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-139&commit=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 20:19:28 -> Uploading 20:19:29 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [Pipeline] } 20:19:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:19:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:19:30 ---> package-listing.sh 20:19:30 ++ facter osfamily 20:19:30 ++ tr '[:upper:]' '[:lower:]' 20:19:30 + OS_FAMILY=redhat 20:19:30 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 20:19:30 + START_PACKAGES=/tmp/packages_start.txt 20:19:30 + END_PACKAGES=/tmp/packages_end.txt 20:19:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:19:30 + PACKAGES=/tmp/packages_start.txt 20:19:30 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 20:19:30 + PACKAGES=/tmp/packages_end.txt 20:19:30 + case "${OS_FAMILY}" in 20:19:30 + rpm -qa 20:19:30 + sort 20:19:35 + '[' -f /tmp/packages_start.txt ']' 20:19:35 + '[' -f /tmp/packages_end.txt ']' 20:19:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:19:35 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 20:19:35 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ 20:19:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh 20:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:19:35 20:19:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:19:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:19:35 alpine: Pulling from edgex-lftools-log-publisher 20:19:35 c9b1b535fdd9: Pulling fs layer 20:19:35 2cc5ad85d9ab: Pulling fs layer 20:19:35 756a868c4378: Pulling fs layer 20:19:35 444b2fc9a129: Pulling fs layer 20:19:35 ea15f1150254: Pulling fs layer 20:19:35 41b27a9f41bf: Pulling fs layer 20:19:35 28c525ee5125: Pulling fs layer 20:19:35 094b1ea09ed8: Pulling fs layer 20:19:35 138eaada9080: Pulling fs layer 20:19:35 0622d0fa9048: Pulling fs layer 20:19:35 28c525ee5125: Waiting 20:19:35 094b1ea09ed8: Waiting 20:19:35 138eaada9080: Waiting 20:19:35 0622d0fa9048: Waiting 20:19:35 444b2fc9a129: Waiting 20:19:35 ea15f1150254: Waiting 20:19:35 41b27a9f41bf: Waiting 20:19:35 2cc5ad85d9ab: Verifying Checksum 20:19:35 2cc5ad85d9ab: Download complete 20:19:35 444b2fc9a129: Verifying Checksum 20:19:35 444b2fc9a129: Download complete 20:19:35 c9b1b535fdd9: Verifying Checksum 20:19:35 c9b1b535fdd9: Download complete 20:19:35 ea15f1150254: Verifying Checksum 20:19:35 ea15f1150254: Download complete 20:19:36 28c525ee5125: Verifying Checksum 20:19:36 28c525ee5125: Download complete 20:19:36 c9b1b535fdd9: Pull complete 20:19:36 756a868c4378: Verifying Checksum 20:19:36 756a868c4378: Download complete 20:19:36 2cc5ad85d9ab: Pull complete 20:19:36 094b1ea09ed8: Verifying Checksum 20:19:36 094b1ea09ed8: Download complete 20:19:36 138eaada9080: Verifying Checksum 20:19:36 0622d0fa9048: Verifying Checksum 20:19:36 0622d0fa9048: Download complete 20:19:37 41b27a9f41bf: Verifying Checksum 20:19:37 41b27a9f41bf: Download complete 20:19:38 756a868c4378: Pull complete 20:19:38 444b2fc9a129: Pull complete 20:19:38 ea15f1150254: Pull complete 20:19:41 41b27a9f41bf: Pull complete 20:19:41 28c525ee5125: Pull complete 20:19:43 094b1ea09ed8: Pull complete 20:19:43 138eaada9080: Pull complete 20:19:44 0622d0fa9048: Pull complete 20:19:44 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:19:44 prd-centos7-docker-4c-2g-5409 does not seem to be running inside a container 20:19:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:19:45 $ docker top ffe63135ba40ea2ab166038494f4b0f2a5f9ebdb421b9d67f9c6d30933222f88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:45 provisioning config files... 20:19:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config1789911787052221484tmp [Pipeline] { [Pipeline] echo 20:19:45 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:19:46 ---> create-netrc.sh [Pipeline] echo 20:19:46 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:19:46 ---> logs-deploy.sh 20:19:46 + ARCHIVE_ARTIFACTS= 20:19:46 + LOGS_SERVER=https://logs.edgexfoundry.org 20:19:46 + '[' https://logs.edgexfoundry.org == None ']' 20:19:46 + NEXUS_URL=https://nexus.edgexfoundry.org 20:19:46 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 20:19:46 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/11/ 20:19:46 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 /w/workspace/xfoundry_device-modbus-go_PR-139 20:19:47 Archives upload complete. 20:19:47 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/11/