Pull request #146 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 58041e0ec002311af2da8d38307bce51ce1d4598+0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be (a0f5aaf00a51b4fbaea10cf7680097316b216d8d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-146/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d # timeout=10 Commit message: "Merge pull request #173 from ernestojeda/bugfix-did-change-prev" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6386 in /w/workspace/xfoundry_device-modbus-go_PR-146 [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-146 # timeout=10 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/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be into PR head commit 58041e0ec002311af2da8d38307bce51ce1d4598 Merge succeeded, producing 58041e0ec002311af2da8d38307bce51ce1d4598 Checking out Revision 58041e0ec002311af2da8d38307bce51ce1d4598 (PR-146) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/146/head:refs/remotes/origin/PR-146 # 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/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # 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 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 Commit message: "refactor: upgarde SDK to v1.2.0" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:18:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:25 ========================================================= 03:18:25 EdgeX Global Pipelines Version Info 03:18:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:29 ------------------- 03:18:29 stable info: 03:18:29 ------------------- 03:18:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:18:29 Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f 03:18:29 Message: update stable to v1.0.86 03:18:29 ------------------- 03:18:29 experimental info: 03:18:29 ------------------- 03:18:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:18:29 Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d 03:18:29 Message: update experimental to v1.0.87 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 03:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:18:32 03:18:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:18:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:18:33 latest: Pulling from edgex-devops/git-semver 03:18:33 9123ac7c32f7: Pulling fs layer 03:18:33 b8cc5d1170e3: Pulling fs layer 03:18:33 2924cbbf6a41: Pulling fs layer 03:18:33 93b08a4f1073: Pulling fs layer 03:18:33 93b08a4f1073: Waiting 03:18:33 b8cc5d1170e3: Download complete 03:18:34 9123ac7c32f7: Verifying Checksum 03:18:34 9123ac7c32f7: Download complete 03:18:34 93b08a4f1073: Verifying Checksum 03:18:34 93b08a4f1073: Download complete 03:18:34 2924cbbf6a41: Verifying Checksum 03:18:34 2924cbbf6a41: Download complete 03:18:34 9123ac7c32f7: Pull complete 03:18:35 b8cc5d1170e3: Pull complete 03:18:37 2924cbbf6a41: Pull complete 03:18:37 93b08a4f1073: Pull complete 03:18:37 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:18:37 prd-centos7-docker-4c-2g-6386 does not seem to be running inside a container 03:18:37 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-146 -v /w/workspace/xfoundry_device-modbus-go_PR-146:/w/workspace/xfoundry_device-modbus-go_PR-146:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-146@tmp:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:18:38 $ docker top 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:39 [ssh-agent] Looking for ssh-agent implementation... 03:18:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:39 $ docker exec 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent 03:18:40 SSH_AUTH_SOCK=/tmp/ssh-FI5kSpM1ReWw/agent.15 03:18:40 SSH_AGENT_PID=22 03:18:40 Running ssh-add (command line suppressed) 03:18:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-146@tmp/private_key_2172259202357945104.key (/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/private_key_2172259202357945104.key) 03:18:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:42 + git describe --exact-match --tags HEAD 03:18:42 fatal: No names found, cannot describe anything. [Pipeline] } 03:18:42 $ docker exec --env ******** --env ******** 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent -k 03:18:42 unset SSH_AUTH_SOCK; 03:18:42 unset SSH_AGENT_PID; 03:18:42 echo Agent pid 22 killed; 03:18:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:18:42 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:18:42 This usually means this commit has not been tagged. [Pipeline] sshagent 03:18:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:43 [ssh-agent] Looking for ssh-agent implementation... 03:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:44 $ docker exec 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent 03:18:44 SSH_AUTH_SOCK=/tmp/ssh-Y6I1BUlXO3tF/agent.55 03:18:44 SSH_AGENT_PID=62 03:18:44 Running ssh-add (command line suppressed) 03:18:45 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-146@tmp/private_key_2005409304508350474.key (/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/private_key_2005409304508350474.key) 03:18:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:46 + git semver init 03:18:46 # -> Open(): unable to determine branch for HEAD 03:18:46 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-146/.git 03:18:46 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-146 03:18:46 # $SEMVER_REMOTE_NAME = origin 03:18:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:18:46 # $SEMVER_USER_NAME = edgex-jenkins 03:18:46 # $SEMVER_BRANCH = PR-146 03:18:46 # $SEMVER_TEMP = /tmp/semver-963345226 03:18:46 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:18:46 # '/tmp/semver-963345226' -> '/w/workspace/xfoundry_device-modbus-go_PR-146/.semver' 03:18:46 # -> Force: false 03:18:46 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-146/.semver [Pipeline] } 03:18:46 $ docker exec --env ******** --env ******** 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent -k 03:18:46 unset SSH_AUTH_SOCK; 03:18:46 unset SSH_AGENT_PID; 03:18:46 echo Agent pid 62 killed; 03:18:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:47 + git semver [Pipeline] } 03:18:47 $ docker stop --time=1 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 03:18:49 $ docker rm -f 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:18:51 Stashed 25 file(s) [Pipeline] echo 03:18:51 [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 03:19:07 Still waiting to schedule task 03:19:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:19:07 Still waiting to schedule task 03:19:07 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6383’ is offline 03:20:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6387 in /w/workspace/xfoundry_device-modbus-go_PR-146 [Pipeline] { [Pipeline] ws 03:20:54 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:21:00 using credential edgex-jenkins-ssh 03:21:00 Cloning the remote Git repository 03:21:00 Cloning with configured refspecs honoured and without tags 03:21:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:21:00 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:21:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:21:01 > git --version # timeout=10 03:21:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:21:01 Fetching without tags 03:21:02 Merging remotes/origin/master commit 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be into PR head commit 58041e0ec002311af2da8d38307bce51ce1d4598 03:21:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:21:01 > git config --add remote.origin.fetch +refs/pull/146/head:refs/remotes/origin/PR-146 # timeout=10 03:21:01 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:21:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:21:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:21:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:01 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:21:02 > git config core.sparsecheckout # timeout=10 03:21:02 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 03:21:02 > git remote # timeout=10 03:21:02 > git config --get remote.origin.url # timeout=10 03:21:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:02 > git merge 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be # timeout=10 03:21:02 Merge succeeded, producing 58041e0ec002311af2da8d38307bce51ce1d4598 03:21:02 Checking out Revision 58041e0ec002311af2da8d38307bce51ce1d4598 (PR-146) 03:21:02 > git rev-parse HEAD^{commit} # timeout=10 03:21:02 > git config core.sparsecheckout # timeout=10 03:21:02 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 03:21:07 Commit message: "refactor: upgarde SDK to v1.2.0" 03:21:07 > git --version # timeout=10 03:21:07 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:21:09 ========================================================= 03:21:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:21:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:21:10 + 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 . 03:21:10 Sending build context to Docker daemon 575kB 03:21:10 Step 1/8 : ARG BASE=golang:1.13-alpine 03:21:10 Step 2/8 : FROM ${BASE} 03:21:11 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:21:11 cde5963f3b93: Pulling fs layer 03:21:11 2a23fa8c16f7: Pulling fs layer 03:21:11 777b28850792: Pulling fs layer 03:21:11 8a11ddd9e578: Pulling fs layer 03:21:11 4cf88f913ddb: Pulling fs layer 03:21:11 1df406cf5192: Pulling fs layer 03:21:11 cd6300453558: Pulling fs layer 03:21:11 b9c365052c96: Pulling fs layer 03:21:11 a2d8cc88f415: Pulling fs layer 03:21:11 ea1d1ca13537: Pulling fs layer 03:21:11 3750a50a1c5e: Pulling fs layer 03:21:11 8a11ddd9e578: Waiting 03:21:11 4cf88f913ddb: Waiting 03:21:11 1df406cf5192: Waiting 03:21:11 cd6300453558: Waiting 03:21:11 b9c365052c96: Waiting 03:21:11 a2d8cc88f415: Waiting 03:21:11 ea1d1ca13537: Waiting 03:21:11 3750a50a1c5e: Waiting 03:21:11 777b28850792: Verifying Checksum 03:21:11 777b28850792: Download complete 03:21:11 2a23fa8c16f7: Verifying Checksum 03:21:11 2a23fa8c16f7: Download complete 03:21:11 4cf88f913ddb: Verifying Checksum 03:21:11 4cf88f913ddb: Download complete 03:21:11 1df406cf5192: Verifying Checksum 03:21:11 1df406cf5192: Download complete 03:21:11 cde5963f3b93: Verifying Checksum 03:21:11 cde5963f3b93: Download complete 03:21:12 cde5963f3b93: Pull complete 03:21:13 2a23fa8c16f7: Pull complete 03:21:13 777b28850792: Pull complete 03:21:16 cd6300453558: Verifying Checksum 03:21:16 cd6300453558: Download complete 03:21:16 a2d8cc88f415: Verifying Checksum 03:21:16 a2d8cc88f415: Download complete 03:21:18 ea1d1ca13537: Verifying Checksum 03:21:18 ea1d1ca13537: Download complete 03:21:18 3750a50a1c5e: Verifying Checksum 03:21:18 3750a50a1c5e: Download complete 03:21:21 b9c365052c96: Download complete 03:21:22 8a11ddd9e578: Download complete 03:21:34 8a11ddd9e578: Pull complete 03:21:34 4cf88f913ddb: Pull complete 03:21:34 1df406cf5192: Pull complete 03:21:40 cd6300453558: Pull complete 03:21:44 b9c365052c96: Pull complete 03:21:44 a2d8cc88f415: Pull complete 03:21:46 ea1d1ca13537: Pull complete 03:21:47 3750a50a1c5e: Pull complete 03:21:47 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:21:47 ---> 78745c68409d 03:21:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:21:51 ---> Running in ff2eca40f8c4 03:21:51 Removing intermediate container ff2eca40f8c4 03:21:51 ---> 2f2169d003c3 03:21:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:51 ---> Running in 75ca0a3799c8 03:21:53 Removing intermediate container 75ca0a3799c8 03:21:53 ---> 16effc7864c9 03:21:53 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:21:53 ---> Running in d4fde713ea5a 03:21:54 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:21:55 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:21:56 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 03:21:56 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:21:56 (3/18) Installing libmagic (5.37-r1) 03:21:57 (4/18) Installing file (5.37-r1) 03:21:57 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:21:57 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:21:58 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:22:36 (8/18) Installing libc-dev (0.7.2-r0) 03:22:36 (9/18) Installing g++ (9.2.0-r4) 03:22:39 Running on prd-centos7-docker-4c-2g-6388 in /w/workspace/xfoundry_device-modbus-go_PR-146 [Pipeline] { [Pipeline] ws 03:22:40 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:22:46 using credential edgex-jenkins-ssh 03:22:46 Cloning the remote Git repository 03:22:46 Cloning with configured refspecs honoured and without tags 03:22:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:22:46 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:22:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:22:46 > git --version # timeout=10 03:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:46 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:22:47 Fetching without tags 03:22:47 Merging remotes/origin/master commit 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be into PR head commit 58041e0ec002311af2da8d38307bce51ce1d4598 03:22:48 Merge succeeded, producing 58041e0ec002311af2da8d38307bce51ce1d4598 03:22:48 Checking out Revision 58041e0ec002311af2da8d38307bce51ce1d4598 (PR-146) 03:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:22:47 > git config --add remote.origin.fetch +refs/pull/146/head:refs/remotes/origin/PR-146 # timeout=10 03:22:47 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:22:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:22:47 > git config core.sparsecheckout # timeout=10 03:22:47 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 03:22:47 > git remote # timeout=10 03:22:47 > git config --get remote.origin.url # timeout=10 03:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:48 > git merge 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be # timeout=10 03:22:48 > git rev-parse HEAD^{commit} # timeout=10 03:22:48 > git config core.sparsecheckout # timeout=10 03:22:48 > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 03:22:52 Commit message: "refactor: upgarde SDK to v1.2.0" 03:22:52 > git --version # timeout=10 03:22:52 fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:22:54 ========================================================= 03:22:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:22:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:22:55 + 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 . 03:22:55 Sending build context to Docker daemon 575kB 03:22:55 Step 1/8 : ARG BASE=golang:1.13-alpine 03:22:55 Step 2/8 : FROM ${BASE} 03:22:55 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:22:55 e6b0cf9c0882: Pulling fs layer 03:22:55 2848faf0eed1: Pulling fs layer 03:22:55 0f37312ad70f: Pulling fs layer 03:22:55 5788d62ee057: Pulling fs layer 03:22:55 0e6b1d234666: Pulling fs layer 03:22:55 bf5d7aec512f: Pulling fs layer 03:22:55 34c802a77dc8: Pulling fs layer 03:22:55 9eb99e56ec68: Pulling fs layer 03:22:55 27c7a5d97fbd: Pulling fs layer 03:22:55 5788d62ee057: Waiting 03:22:55 0e6b1d234666: Waiting 03:22:55 bf5d7aec512f: Waiting 03:22:55 34c802a77dc8: Waiting 03:22:55 9eb99e56ec68: Waiting 03:22:55 5c102a31e300: Pulling fs layer 03:22:55 27c7a5d97fbd: Waiting 03:22:55 5c102a31e300: Waiting 03:22:55 dcfb455df0a1: Pulling fs layer 03:22:55 dcfb455df0a1: Waiting 03:22:55 0f37312ad70f: Verifying Checksum 03:22:55 0f37312ad70f: Download complete 03:22:55 2848faf0eed1: Verifying Checksum 03:22:55 2848faf0eed1: Download complete 03:22:56 0e6b1d234666: Verifying Checksum 03:22:56 0e6b1d234666: Download complete 03:22:56 e6b0cf9c0882: Verifying Checksum 03:22:56 e6b0cf9c0882: Download complete 03:22:56 bf5d7aec512f: Verifying Checksum 03:22:56 bf5d7aec512f: Download complete 03:22:57 e6b0cf9c0882: Pull complete 03:22:57 2848faf0eed1: Pull complete 03:22:58 0f37312ad70f: Pull complete 03:23:00 34c802a77dc8: Verifying Checksum 03:23:00 34c802a77dc8: Download complete 03:23:00 27c7a5d97fbd: Verifying Checksum 03:23:00 27c7a5d97fbd: Download complete 03:23:02 9eb99e56ec68: Verifying Checksum 03:23:02 9eb99e56ec68: Download complete 03:23:02 dcfb455df0a1: Verifying Checksum 03:23:02 dcfb455df0a1: Download complete 03:23:02 5788d62ee057: Verifying Checksum 03:23:02 5788d62ee057: Download complete 03:23:03 5c102a31e300: Verifying Checksum 03:23:03 5c102a31e300: Download complete 03:23:11 5788d62ee057: Pull complete 03:23:11 0e6b1d234666: Pull complete 03:23:11 bf5d7aec512f: Pull complete 03:23:16 (10/18) Installing fortify-headers (1.1-r0) 03:23:16 (11/18) Installing build-base (0.5-r1) 03:23:16 (12/18) Installing openssh-keygen (8.1_p1-r0) 03:23:16 (13/18) Installing libedit (20191211.3.1-r0) 03:23:16 (14/18) Installing openssh-client (8.1_p1-r0) 03:23:16 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 03:23:16 (16/18) Installing openssh-server-common (8.1_p1-r0) 03:23:16 (17/18) Installing openssh-server (8.1_p1-r0) 03:23:16 (18/18) Installing openssh (8.1_p1-r0) 03:23:16 Executing busybox-1.31.1-r8.trigger 03:23:16 OK: 203 MiB in 52 packages 03:23:16 34c802a77dc8: Pull complete 03:23:21 Removing intermediate container d4fde713ea5a 03:23:21 ---> 0f5e2c8d01cd 03:23:21 Step 6/8 : WORKDIR /device-modbus-go 03:23:21 ---> Running in 562e4ef0f8a3 03:23:22 Removing intermediate container 562e4ef0f8a3 03:23:22 ---> a03192915c87 03:23:22 Step 7/8 : COPY . . 03:23:22 ---> b1af2892e026 03:23:22 Step 8/8 : RUN go mod download 03:23:22 ---> Running in 6bedd5345881 03:23:23 9eb99e56ec68: Pull complete 03:23:23 27c7a5d97fbd: Pull complete 03:23:24 5c102a31e300: Pull complete 03:23:24 go: finding github.com/BurntSushi/toml v0.3.1 03:23:24 go: finding github.com/OneOfOne/xxhash v1.2.6 03:23:24 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:23:24 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:23:24 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:23:24 go: finding github.com/bgentry/speakeasy v0.1.0 03:23:24 dcfb455df0a1: Pull complete 03:23:24 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:23:24 ---> 7c70fe431013 03:23:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:23:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:23:25 go: finding github.com/davecgh/go-spew v1.1.1 03:23:25 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 03:23:25 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:23:25 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:23:25 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:23:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:23:25 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:23:25 go: finding github.com/fatih/color v1.7.0 03:23:25 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:23:25 go: finding github.com/go-kit/kit v0.8.0 03:23:25 go: finding github.com/go-logfmt/logfmt v0.4.0 03:23:25 go: finding github.com/go-stack/stack v1.8.0 03:23:25 go: finding github.com/goburrow/modbus v0.1.0 03:23:25 go: finding github.com/goburrow/serial v0.1.0 03:23:25 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:23:25 go: finding github.com/google/uuid v1.1.1 03:23:25 go: finding github.com/gorilla/mux v1.7.1 03:23:25 go: finding github.com/hashicorp/consul/api v1.1.0 03:23:25 ---> Running in ce0eef0bb7e0 03:23:25 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:23:25 go: finding github.com/hashicorp/errwrap v1.0.0 03:23:25 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:23:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:23:25 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:23:25 go: finding github.com/hashicorp/go-multierror v1.0.0 03:23:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:23:25 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:23:25 go: finding github.com/hashicorp/go-syslog v1.0.0 03:23:25 go: finding github.com/hashicorp/go-uuid v1.0.1 03:23:25 go: finding github.com/hashicorp/go.net v0.0.1 03:23:25 go: finding github.com/hashicorp/golang-lru v0.5.1 03:23:25 Removing intermediate container ce0eef0bb7e0 03:23:25 ---> 249d616c056f 03:23:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:25 ---> Running in 6cda6aa83a89 03:23:25 go: finding github.com/hashicorp/logutils v1.0.0 03:23:25 go: finding github.com/hashicorp/mdns v1.0.0 03:23:25 go: finding github.com/hashicorp/memberlist v0.1.3 03:23:25 go: finding github.com/hashicorp/serf v0.8.2 03:23:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:23:25 go: finding github.com/mattn/go-colorable v0.0.9 03:23:25 go: finding github.com/mattn/go-isatty v0.0.3 03:23:25 go: finding github.com/miekg/dns v1.1.4 03:23:25 go: finding github.com/mitchellh/cli v1.0.0 03:23:25 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:23:25 go: finding github.com/mitchellh/copystructure v1.0.0 03:23:25 go: finding github.com/mitchellh/go-homedir v1.1.0 03:23:25 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:23:25 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:23:25 go: finding github.com/mitchellh/gox v0.4.0 03:23:25 go: finding github.com/mitchellh/iochan v1.0.0 03:23:25 go: finding github.com/mitchellh/mapstructure v1.1.2 03:23:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:23:25 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:23:25 go: finding github.com/pelletier/go-toml v1.2.0 03:23:25 go: finding github.com/pkg/errors v0.8.1 03:23:25 go: finding github.com/pmezard/go-difflib v1.0.0 03:23:25 go: finding github.com/posener/complete v1.1.1 03:23:25 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:23:25 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:23:25 go: finding github.com/stretchr/objx v0.1.0 03:23:25 go: finding github.com/stretchr/testify v1.5.1 03:23:25 go: finding github.com/ugorji/go v1.1.4 03:23:25 go: finding github.com/x448/float16 v0.8.4 03:23:25 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:23:25 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:23:25 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:23:25 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:23:26 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:23:26 go: finding gopkg.in/yaml.v2 v2.2.8 03:23:27 Removing intermediate container 6cda6aa83a89 03:23:27 ---> 786145415406 03:23:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:23:27 ---> Running in 413d4bc2d961 03:23:28 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:23:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:23:33 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:23:34 (2/17) Installing libmagic (5.37-r1) 03:23:35 (3/17) Installing file (5.37-r1) 03:23:35 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:23:35 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:23:35 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:23:36 Removing intermediate container 6bedd5345881 03:23:36 ---> 8e196f56f988 03:23:36 Successfully built 8e196f56f988 03:23:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:23:37 + docker inspect -f . ci-base-image-arm64 03:23:37 . [Pipeline] withDockerContainer 03:23:37 prd-ubuntu18.04-docker-arm64-4c-16g-6387 does not seem to be running inside a container 03:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:23:39 $ docker top f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:40 + go version 03:23:40 go version go1.13.5 linux/arm64 [Pipeline] sh 03:23:41 + make test 03:23:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:23:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:24:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:24:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.291s coverage: 50.3% of statements 03:24:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:24:16 gofmt -l . 03:24:16 [ "`gofmt -l .`" = "" ] 03:24:16 ./bin/test-attribution-txt.sh 03:24:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:24:16 Stashed 1 file(s) [Pipeline] } 03:24:16 $ docker stop --time=1 f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 03:24:19 $ docker rm -f f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:21 + ls -al . 03:24:21 total 136 03:24:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 03:24 . 03:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 03:21 .. 03:24:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 03:21 .dockerignore 03:24:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 03:21 .git 03:24:21 -rw-rw-r-- 1 jenkins jenkins 338 Apr 28 03:21 .gitignore 03:24:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 .semver 03:24:21 -rw-rw-r-- 1 jenkins jenkins 5049 Apr 28 03:21 Attribution.txt 03:24:21 -rw-rw-r-- 1 jenkins jenkins 1422 Apr 28 03:21 Dockerfile 03:24:21 -rw-rw-r-- 1 jenkins jenkins 954 Apr 28 03:21 Dockerfile.build 03:24:21 -rw-rw-r-- 1 jenkins jenkins 702 Apr 28 03:21 Jenkinsfile 03:24:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 03:21 LICENSE 03:24:21 -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 03:21 Makefile 03:24:21 -rw-rw-r-- 1 jenkins jenkins 591 Apr 28 03:21 README.md 03:24:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 03:18 VERSION 03:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 03:21 bin 03:24:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 cmd 03:24:21 -rw-r--r-- 1 jenkins jenkins 22123 Apr 28 03:24 coverage.out 03:24:21 -rw-r--r-- 1 jenkins jenkins 559 Apr 28 03:24 go.mod 03:24:21 -rw-r--r-- 1 jenkins jenkins 13368 Apr 28 03:24 go.sum 03:24:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 internal 03:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 03:21 simulator 03:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 03:21 snap 03:24:21 -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 03:21 version.go [Pipeline] isUnix [Pipeline] sh 03:24:21 + 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=58041e0ec002311af2da8d38307bce51ce1d4598 --label arch=arm64 --label version=0.0.0 . 03:24:21 Sending build context to Docker daemon 603.6kB 03:24:21 Step 1/19 : ARG BASE=golang:1.13-alpine 03:24:21 Step 2/19 : FROM ${BASE} AS builder 03:24:21 ---> 8e196f56f988 03:24:21 Step 3/19 : ARG MAKE='make build' 03:24:22 ---> Running in a5f2e891059d 03:24:22 Removing intermediate container a5f2e891059d 03:24:22 ---> 38470d1cbe98 03:24:22 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:24:22 ---> Running in 397b653fe13b 03:24:24 Removing intermediate container 397b653fe13b 03:24:24 ---> a70aef2ac789 03:24:24 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 03:24:24 ---> Running in 8ab81732767e 03:24:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:24:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:24:30 OK: 203 MiB in 52 packages 03:24:31 Removing intermediate container 8ab81732767e 03:24:31 ---> 901dd4a3b668 03:24:31 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 03:24:31 ---> Running in 4a94f2dce515 03:24:31 Removing intermediate container 4a94f2dce515 03:24:31 ---> 9f9cac2f88ea 03:24:31 Step 7/19 : COPY . . 03:24:32 ---> b4fec2c6cb10 03:24:32 Step 8/19 : RUN ${MAKE} 03:24:32 ---> Running in 7c57fb9d1666 03:24:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:24:57 (7/17) Installing libc-dev (0.7.2-r0) 03:24:57 (8/17) Installing g++ (9.2.0-r4) 03:25:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:25:04 Removing intermediate container 7c57fb9d1666 03:25:04 ---> 35576bb603ca 03:25:04 Step 9/19 : FROM scratch 03:25:04 ---> 03:25:04 Step 10/19 : ENV APP_PORT=49991 03:25:04 ---> Running in 20b7d75aacea 03:25:04 Removing intermediate container 20b7d75aacea 03:25:04 ---> 6dbdcf8c3201 03:25:04 Step 11/19 : EXPOSE $APP_PORT 03:25:04 ---> Running in 84de4fc26561 03:25:05 Removing intermediate container 84de4fc26561 03:25:05 ---> 8a68daa3a02f 03:25:05 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 03:25:06 ---> ef472be6053a 03:25:06 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 03:25:06 ---> 7e1946fd9ee0 03:25:06 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 03:25:07 ---> bb78a810c858 03:25:07 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 03:25:07 ---> Running in 50911d2b17a5 03:25:07 Removing intermediate container 50911d2b17a5 03:25:07 ---> 6d6510f34cc2 03:25:07 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:25:07 ---> Running in bdba66937e61 03:25:08 Removing intermediate container bdba66937e61 03:25:08 ---> 6e317b003a09 03:25:08 Step 17/19 : LABEL arch=arm64 03:25:08 ---> Running in f15c9b86caa4 03:25:08 Removing intermediate container f15c9b86caa4 03:25:08 ---> 85e1bfaabfc8 03:25:08 Step 18/19 : LABEL git_sha=58041e0ec002311af2da8d38307bce51ce1d4598 03:25:08 ---> Running in 3da8b1c25f28 03:25:09 Removing intermediate container 3da8b1c25f28 03:25:09 ---> 5b8d092337e5 03:25:09 Step 19/19 : LABEL version=0.0.0 03:25:09 ---> Running in ffd3744bac16 03:25:09 Removing intermediate container ffd3744bac16 03:25:09 ---> 5abd32b0b042 03:25:09 [Warning] One or more build-args [ARCH] were not consumed 03:25:09 Successfully built 5abd32b0b042 03:25:09 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 03:25:11 + find /w/workspace/device-modbus-go/1 03:25:11 + grep snapcraft.yaml 03:25:11 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:11 provisioning config files... 03:25:11 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config726004555482815665tmp [Pipeline] { [Pipeline] sh 03:25:11 + cp /w/workspace/device-modbus-go/1@tmp/config726004555482815665tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 03:25:12 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 03:25:12 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 03:25:12 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 03:25:12 b2f61026a351: Pulling fs layer 03:25:12 5538fb30c42c: Pulling fs layer 03:25:12 f0b05810781a: Pulling fs layer 03:25:12 0180a33352d6: Pulling fs layer 03:25:12 e7604b0c0f53: Pulling fs layer 03:25:12 db689cb83ae0: Pulling fs layer 03:25:12 6138af208834: Pulling fs layer 03:25:12 007c8e8c5d63: Pulling fs layer 03:25:12 4f7a387c642f: Pulling fs layer 03:25:12 0180a33352d6: Waiting 03:25:12 e7604b0c0f53: Waiting 03:25:12 db689cb83ae0: Waiting 03:25:12 6138af208834: Waiting 03:25:12 007c8e8c5d63: Waiting 03:25:12 4f7a387c642f: Waiting 03:25:12 f0b05810781a: Verifying Checksum 03:25:12 f0b05810781a: Download complete 03:25:12 0180a33352d6: Verifying Checksum 03:25:12 0180a33352d6: Download complete 03:25:12 5538fb30c42c: Verifying Checksum 03:25:12 5538fb30c42c: Download complete 03:25:12 db689cb83ae0: Verifying Checksum 03:25:12 db689cb83ae0: Download complete 03:25:12 6138af208834: Verifying Checksum 03:25:12 6138af208834: Download complete 03:25:13 007c8e8c5d63: Download complete 03:25:14 4f7a387c642f: Verifying Checksum 03:25:14 4f7a387c642f: Download complete 03:25:14 b2f61026a351: Verifying Checksum 03:25:14 b2f61026a351: Download complete 03:25:17 b2f61026a351: Pull complete 03:25:17 5538fb30c42c: Pull complete 03:25:17 f0b05810781a: Pull complete 03:25:18 0180a33352d6: Pull complete 03:25:40 e7604b0c0f53: Download complete 03:25:44 (9/17) Installing fortify-headers (1.1-r0) 03:25:44 (10/17) Installing build-base (0.5-r1) 03:25:44 (11/17) Installing openssh-keygen (8.1_p1-r0) 03:25:44 (12/17) Installing libedit (20191211.3.1-r0) 03:25:44 (13/17) Installing openssh-client (8.1_p1-r0) 03:25:44 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 03:25:44 (15/17) Installing openssh-server-common (8.1_p1-r0) 03:25:44 (16/17) Installing openssh-server (8.1_p1-r0) 03:25:44 (17/17) Installing openssh (8.1_p1-r0) 03:25:45 Executing busybox-1.31.1-r8.trigger 03:25:45 OK: 214 MiB in 52 packages 03:25:49 Removing intermediate container 413d4bc2d961 03:25:49 ---> 5bc837c381bf 03:25:49 Step 6/8 : WORKDIR /device-modbus-go 03:25:49 ---> Running in 0703cfada444 03:25:49 Removing intermediate container 0703cfada444 03:25:49 ---> cf3960189084 03:25:49 Step 7/8 : COPY . . 03:25:50 ---> c044b341d274 03:25:50 Step 8/8 : RUN go mod download 03:25:50 ---> Running in c2be4d5a5196 03:25:52 go: finding github.com/BurntSushi/toml v0.3.1 03:25:52 go: finding github.com/OneOfOne/xxhash v1.2.6 03:25:52 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:25:52 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:25:52 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:25:52 go: finding github.com/bgentry/speakeasy v0.1.0 03:25:52 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:25:52 go: finding github.com/davecgh/go-spew v1.1.1 03:25:52 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 03:25:52 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:25:52 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:25:52 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:25:52 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:25:52 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:25:52 go: finding github.com/fatih/color v1.7.0 03:25:52 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:25:52 go: finding github.com/go-kit/kit v0.8.0 03:25:52 go: finding github.com/go-logfmt/logfmt v0.4.0 03:25:52 go: finding github.com/go-stack/stack v1.8.0 03:25:52 go: finding github.com/goburrow/modbus v0.1.0 03:25:52 go: finding github.com/goburrow/serial v0.1.0 03:25:52 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:25:52 go: finding github.com/google/uuid v1.1.1 03:25:52 go: finding github.com/gorilla/mux v1.7.1 03:25:52 go: finding github.com/hashicorp/consul/api v1.1.0 03:25:52 go: finding github.com/hashicorp/consul/sdk v0.1.1 03:25:52 go: finding github.com/hashicorp/errwrap v1.0.0 03:25:52 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:25:52 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:25:52 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:25:52 go: finding github.com/hashicorp/go-multierror v1.0.0 03:25:52 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:25:52 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:25:52 go: finding github.com/hashicorp/go-syslog v1.0.0 03:25:52 go: finding github.com/hashicorp/go-uuid v1.0.1 03:25:52 go: finding github.com/hashicorp/go.net v0.0.1 03:25:52 go: finding github.com/hashicorp/golang-lru v0.5.1 03:25:52 go: finding github.com/hashicorp/logutils v1.0.0 03:25:52 go: finding github.com/hashicorp/mdns v1.0.0 03:25:52 go: finding github.com/hashicorp/memberlist v0.1.3 03:25:52 go: finding github.com/hashicorp/serf v0.8.2 03:25:52 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:25:52 go: finding github.com/mattn/go-colorable v0.0.9 03:25:52 go: finding github.com/mattn/go-isatty v0.0.3 03:25:52 go: finding github.com/miekg/dns v1.1.4 03:25:52 go: finding github.com/mitchellh/cli v1.0.0 03:25:52 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:25:52 go: finding github.com/mitchellh/copystructure v1.0.0 03:25:52 go: finding github.com/mitchellh/go-homedir v1.1.0 03:25:52 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:25:52 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:25:52 go: finding github.com/mitchellh/gox v0.4.0 03:25:52 go: finding github.com/mitchellh/iochan v1.0.0 03:25:52 go: finding github.com/mitchellh/mapstructure v1.1.2 03:25:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:25:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:25:52 go: finding github.com/pelletier/go-toml v1.2.0 03:25:52 go: finding github.com/pkg/errors v0.8.1 03:25:52 go: finding github.com/pmezard/go-difflib v1.0.0 03:25:52 go: finding github.com/posener/complete v1.1.1 03:25:52 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:25:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:25:52 go: finding github.com/stretchr/objx v0.1.0 03:25:52 go: finding github.com/stretchr/testify v1.5.1 03:25:52 go: finding github.com/ugorji/go v1.1.4 03:25:52 go: finding github.com/x448/float16 v0.8.4 03:25:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:25:52 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:25:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:25:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:25:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:25:52 go: finding gopkg.in/yaml.v2 v2.2.8 03:25:57 Removing intermediate container c2be4d5a5196 03:25:57 ---> 5ff26412efba 03:25:57 Successfully built 5ff26412efba 03:25:57 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 03:25:57 + docker inspect -f . ci-base-image-x86_64 03:25:57 . [Pipeline] withDockerContainer 03:25:58 prd-centos7-docker-4c-2g-6388 does not seem to be running inside a container 03:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:59 $ docker top 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:00 + go version 03:26:00 go version go1.13.5 linux/amd64 [Pipeline] sh 03:26:01 + make test 03:26:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:26:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:26:12 e7604b0c0f53: Pull complete 03:26:12 db689cb83ae0: Pull complete 03:26:12 6138af208834: Pull complete 03:26:12 007c8e8c5d63: Pull complete 03:26:12 4f7a387c642f: Pull complete 03:26:12 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 03:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 03:26:15 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 03:26:15 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 03:26:15 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 03:26:15 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 03:26:16 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] 03:26:16 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [845 kB] 03:26:16 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7337 B] 03:26:16 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 03:26:16 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [571 kB] 03:26:16 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] 03:26:17 Fetched 3650 kB in 2s (1758 kB/s) 03:26:21 Reading package lists... 03:26:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:26:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.173s coverage: 50.3% of statements 03:26:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:26:24 gofmt -l . 03:26:24 [ "`gofmt -l .`" = "" ] 03:26:24 ./bin/test-attribution-txt.sh 03:26:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 03:26:25 Warning: overwriting stash ‘coverage-report’ 03:26:27 Stashed 1 file(s) [Pipeline] } 03:26:27 $ docker stop --time=1 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 03:26:29 $ docker rm -f 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:26:30 + ls -al . 03:26:30 total 104 03:26:30 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 28 03:26 . 03:26:30 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 03:22 .. 03:26:30 -rw-rw-r--. 1 jenkins jenkins 5049 Apr 28 03:22 Attribution.txt 03:26:30 drwxrwxr-x. 2 jenkins jenkins 87 Apr 28 03:22 bin 03:26:30 drwxrwxr-x. 3 jenkins jenkins 32 Apr 28 03:22 cmd 03:26:30 -rw-r--r--. 1 jenkins jenkins 22123 Apr 28 03:26 coverage.out 03:26:30 -rw-rw-r--. 1 jenkins jenkins 1422 Apr 28 03:22 Dockerfile 03:26:30 -rw-rw-r--. 1 jenkins jenkins 954 Apr 28 03:22 Dockerfile.build 03:26:30 -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 03:22 .dockerignore 03:26:30 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 03:22 .git 03:26:30 -rw-rw-r--. 1 jenkins jenkins 338 Apr 28 03:22 .gitignore 03:26:30 -rw-r--r--. 1 jenkins jenkins 559 Apr 28 03:26 go.mod 03:26:30 -rw-r--r--. 1 jenkins jenkins 13368 Apr 28 03:26 go.sum 03:26:30 drwxrwxr-x. 3 jenkins jenkins 20 Apr 28 03:22 internal 03:26:30 -rw-rw-r--. 1 jenkins jenkins 702 Apr 28 03:22 Jenkinsfile 03:26:30 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 28 03:22 LICENSE 03:26:30 -rw-rw-r--. 1 jenkins jenkins 880 Apr 28 03:22 Makefile 03:26:30 -rw-rw-r--. 1 jenkins jenkins 591 Apr 28 03:22 README.md 03:26:30 drwxrwxr-x. 3 jenkins jenkins 58 Apr 28 03:22 .semver 03:26:30 drwxrwxr-x. 2 jenkins jenkins 35 Apr 28 03:22 simulator 03:26:30 drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 03:22 snap 03:26:30 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 03:18 VERSION 03:26:30 -rw-rw-r--. 1 jenkins jenkins 229 Apr 28 03:22 version.go [Pipeline] isUnix [Pipeline] sh 03:26:30 + 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=58041e0ec002311af2da8d38307bce51ce1d4598 --label arch=amd64 --label version=0.0.0 . 03:26:31 Sending build context to Docker daemon 603.6kB 03:26:31 Step 1/19 : ARG BASE=golang:1.13-alpine 03:26:31 Step 2/19 : FROM ${BASE} AS builder 03:26:31 ---> 5ff26412efba 03:26:31 Step 3/19 : ARG MAKE='make build' 03:26:31 ---> Running in cc94ccc01b49 03:26:31 Removing intermediate container cc94ccc01b49 03:26:31 ---> 5f7c4adf028b 03:26:31 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:26:31 ---> Running in 38a0c92d0b1a 03:26:32 Removing intermediate container 38a0c92d0b1a 03:26:32 ---> 5a1f9c64fd0f 03:26:32 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 03:26:32 ---> Running in 0f86e4be312e 03:26:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:26:33 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 03:26:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:26:37 OK: 214 MiB in 52 packages 03:26:37 Removing intermediate container 0f86e4be312e 03:26:37 ---> 794bee6c4c70 03:26:37 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 03:26:37 ---> Running in f13427a7f7f0 03:26:38 Reading package lists... 03:26:38 Removing intermediate container f13427a7f7f0 03:26:38 ---> 7302aa7d79ae 03:26:38 Step 7/19 : COPY . . 03:26:38 ---> 31625fcd6f27 03:26:38 Step 8/19 : RUN ${MAKE} 03:26:38 Building dependency tree... 03:26:38 Reading state information... 03:26:39 ---> Running in d3bdc285c365 03:26:39 The following packages were automatically installed and are no longer required: 03:26:39 libjq1 liblzo2-2 libonig4 03:26:39 Use 'sudo apt autoremove' to remove them. 03:26:39 Suggested packages: 03:26:39 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 03:26:39 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 03:26:39 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 03:26:39 libterm-readline-gnu-perl | libterm-readline-perl-perl 03:26:39 The following NEW packages will be installed: 03:26:39 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 03:26:39 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 03:26:39 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 03:26:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:26:39 openssh-client patch perl perl-modules-5.26 xauth 03:26:39 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 03:26:39 Need to get 12.9 MB of archives. 03:26:39 After this operation, 84.2 MB of additional disk space will be used. 03:26:39 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 03:26:40 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 03:26:40 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 03:26:40 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 03:26:40 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 03:26:40 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 03:26:40 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 03:26:40 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 03:26:40 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 03:26:40 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 03:26:40 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 03:26:40 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 03:26:40 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 03:26:40 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 03:26:40 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 03:26:40 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 03:26:40 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 03:26:41 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 03:26:41 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 03:26:41 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 03:26:41 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 03:26:41 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 03:26:41 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 03:26:41 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 03:26:41 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 03:26:41 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 03:26:41 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 03:26:42 debconf: delaying package configuration, since apt-utils is not installed 03:26:42 Fetched 12.9 MB in 2s (8140 kB/s) 03:26:42 Selecting previously unselected package libxau6:arm64. 03:26:42 (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.) 03:26:42 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 03:26:42 Unpacking libxau6:arm64 (1:1.0.8-1) ... 03:26:42 Selecting previously unselected package libbsd0:arm64. 03:26:42 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 03:26:42 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 03:26:42 Selecting previously unselected package libxdmcp6:arm64. 03:26:42 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 03:26:42 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 03:26:42 Selecting previously unselected package libxcb1:arm64. 03:26:42 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 03:26:42 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 03:26:42 Selecting previously unselected package libx11-data. 03:26:42 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 03:26:42 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 03:26:42 Selecting previously unselected package libx11-6:arm64. 03:26:42 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 03:26:43 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 03:26:43 Selecting previously unselected package libxext6:arm64. 03:26:43 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 03:26:43 Unpacking libxext6:arm64 (2:1.3.3-1) ... 03:26:43 Selecting previously unselected package perl-modules-5.26. 03:26:43 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 03:26:43 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:26:44 Selecting previously unselected package libgdbm5:arm64. 03:26:44 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 03:26:44 Unpacking libgdbm5:arm64 (1.14.1-6) ... 03:26:45 Selecting previously unselected package libgdbm-compat4:arm64. 03:26:45 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 03:26:45 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 03:26:45 Selecting previously unselected package libperl5.26:arm64. 03:26:45 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 03:26:45 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 03:26:46 Selecting previously unselected package perl. 03:26:46 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 03:26:46 Unpacking perl (5.26.1-6ubuntu0.3) ... 03:26:46 Selecting previously unselected package less. 03:26:46 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 03:26:46 Unpacking less (487-0.1) ... 03:26:46 Selecting previously unselected package libexpat1:arm64. 03:26:46 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 03:26:46 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 03:26:46 Selecting previously unselected package netbase. 03:26:46 Preparing to unpack .../14-netbase_5.4_all.deb ... 03:26:46 Unpacking netbase (5.4) ... 03:26:47 Selecting previously unselected package libedit2:arm64. 03:26:47 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 03:26:47 Unpacking libedit2:arm64 (3.1-20170329-1) ... 03:26:47 Selecting previously unselected package libssl1.0.0:arm64. 03:26:47 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 03:26:47 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 03:26:47 Selecting previously unselected package libxmuu1:arm64. 03:26:47 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 03:26:47 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 03:26:47 Selecting previously unselected package openssh-client. 03:26:47 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 03:26:47 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 03:26:47 Selecting previously unselected package xauth. 03:26:47 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 03:26:47 Unpacking xauth (1:1.0.10-1) ... 03:26:48 Selecting previously unselected package curl. 03:26:48 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 03:26:48 Unpacking curl (7.58.0-2ubuntu3.8) ... 03:26:48 Selecting previously unselected package libcurl3-gnutls:arm64. 03:26:48 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 03:26:48 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 03:26:48 Selecting previously unselected package liberror-perl. 03:26:48 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 03:26:48 Unpacking liberror-perl (0.17025-1) ... 03:26:48 Selecting previously unselected package git-man. 03:26:48 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 03:26:48 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 03:26:48 Selecting previously unselected package git. 03:26:48 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 03:26:48 Unpacking git (1:2.17.1-1ubuntu0.7) ... 03:26:49 Selecting previously unselected package make. 03:26:49 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 03:26:49 Unpacking make (4.1-9.1ubuntu1) ... 03:26:50 Selecting previously unselected package patch. 03:26:50 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 03:26:50 Unpacking patch (2.7.6-2ubuntu1.1) ... 03:26:50 Setting up libedit2:arm64 (3.1-20170329-1) ... 03:26:50 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 03:26:50 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 03:26:50 Setting up less (487-0.1) ... 03:26:50 Setting up make (4.1-9.1ubuntu1) ... 03:26:50 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 03:26:50 Setting up curl (7.58.0-2ubuntu3.8) ... 03:26:51 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 03:26:51 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:26:51 Setting up libgdbm5:arm64 (1.14.1-6) ... 03:26:51 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 03:26:51 Setting up patch (2.7.6-2ubuntu1.1) ... 03:26:51 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 03:26:51 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 03:26:51 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 03:26:51 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 03:26:51 Setting up libxau6:arm64 (1:1.0.8-1) ... 03:26:51 Setting up netbase (5.4) ... 03:26:51 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 03:26:51 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 03:26:52 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 03:26:52 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 03:26:52 Setting up perl (5.26.1-6ubuntu0.3) ... 03:26:52 Setting up libxext6:arm64 (2:1.3.3-1) ... 03:26:52 Setting up liberror-perl (0.17025-1) ... 03:26:52 Setting up xauth (1:1.0.10-1) ... 03:26:52 Setting up git (1:2.17.1-1ubuntu0.7) ... 03:26:52 Processing triggers for libc-bin (2.27-3ubuntu1) ... 03:26:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:26:58 curl set to automatically installed. 03:26:58 git set to automatically installed. 03:26:58 git-man set to automatically installed. 03:26:58 less set to automatically installed. 03:26:58 libbsd0 set to automatically installed. 03:26:58 libcurl3-gnutls set to automatically installed. 03:26:58 libedit2 set to automatically installed. 03:26:58 liberror-perl set to automatically installed. 03:26:58 libexpat1 set to automatically installed. 03:26:58 libgdbm-compat4 set to automatically installed. 03:26:58 libgdbm5 set to automatically installed. 03:26:58 libperl5.26 set to automatically installed. 03:26:58 libssl1.0.0 set to automatically installed. 03:26:58 libx11-6 set to automatically installed. 03:26:58 libx11-data set to automatically installed. 03:26:58 libxau6 set to automatically installed. 03:26:58 libxcb1 set to automatically installed. 03:26:58 libxdmcp6 set to automatically installed. 03:26:58 libxext6 set to automatically installed. 03:26:58 libxmuu1 set to automatically installed. 03:26:58 make set to automatically installed. 03:26:58 netbase set to automatically installed. 03:26:58 openssh-client set to automatically installed. 03:26:58 patch set to automatically installed. 03:26:58 perl set to automatically installed. 03:26:58 perl-modules-5.26 set to automatically installed. 03:26:58 xauth set to automatically installed. 03:26:58 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 03:26:58 Please ensure the environment is properly setup before continuing. 03:26:58 Ignore this message if the appropriate measures have already been taken 03:26:59 Pulling go 03:27:00 Removing intermediate container d3bdc285c365 03:27:00 ---> 959e6ff8edec 03:27:00 Step 9/19 : FROM scratch 03:27:00 ---> 03:27:00 Step 10/19 : ENV APP_PORT=49991 03:27:00 ---> Running in b0e879de8c94 03:27:00 Removing intermediate container b0e879de8c94 03:27:00 ---> f8e768dde072 03:27:00 Step 11/19 : EXPOSE $APP_PORT 03:27:00 ---> Running in 6952d35b431d 03:27:00 Removing intermediate container 6952d35b431d 03:27:00 ---> 9f0b515e3759 03:27:00 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 03:27:01 ---> 5a7d471a4fa4 03:27:01 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 03:27:01 ---> cb1e0c600275 03:27:01 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 03:27:01 ---> 85cee6f7a5cd 03:27:01 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 03:27:02 ---> Running in 0038ca951725 03:27:02 Removing intermediate container 0038ca951725 03:27:02 ---> fd26a36a9944 03:27:02 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 03:27:02 ---> Running in 2cc2ecdce6ff 03:27:02 Removing intermediate container 2cc2ecdce6ff 03:27:02 ---> 1dbd143109e0 03:27:02 Step 17/19 : LABEL arch=amd64 03:27:02 ---> Running in 31f9e67ae22e 03:27:02 'device-modbus' has dependencies that need to be staged: go 03:27:02 Skipping pull go (already ran) 03:27:02 Building go 03:27:02 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:02 Dload Upload Total Spent Left Speed 03:27:02 Removing intermediate container 31f9e67ae22e 03:27:02 ---> 055fe8239e9f 03:27:02 Step 18/19 : LABEL git_sha=58041e0ec002311af2da8d38307bce51ce1d4598 03:27:02 ---> Running in a5cf3fb45c2c 03:27:02 Removing intermediate container a5cf3fb45c2c 03:27:02 ---> f2714ee51099 03:27:02 Step 19/19 : LABEL version=0.0.0 03:27:02 ---> Running in 99eb77be5a13 03:27:03 Removing intermediate container 99eb77be5a13 03:27:03 ---> 6c7b8d8bb205 03:27:03 [Warning] One or more build-args [ARCH] were not consumed 03:27:03 Successfully built 6c7b8d8bb205 03:27:03 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 03:27:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 93.0M 3 3599k 0 0 15.4M 0 0:00:06 --:--:-- 0:00:06 15.4M 66 93.0M 66 62.3M 0 0 50.3M 0 0:00:01 0:00:01 --:--:-- 50.3M 100 93.0M 100 93.0M 0 0 52.5M 0 0:00:01 0:00:01 --:--:-- 52.5M 03:27:04 ++ grep snapcraft.yaml 03:27:04 ++ find /w/workspace/device-modbus-go/1 03:27:04 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:04 provisioning config files... 03:27:04 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2266848092429573767tmp [Pipeline] { [Pipeline] sh 03:27:05 + cp /w/workspace/device-modbus-go/1@tmp/config2266848092429573767tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 03:27:05 go1.13.5.linux-arm64.tar.gz: OK 03:27:05 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 03:27:05 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 03:27:05 latest: Pulling from edgex-devops/edgex-snap-builder 03:27:05 5bed26d33875: Pulling fs layer 03:27:05 f11b29a9c730: Pulling fs layer 03:27:05 930bda195c84: Pulling fs layer 03:27:05 78bf9a5ad49e: Pulling fs layer 03:27:05 e5fbee5a4b0d: Pulling fs layer 03:27:05 f452fca78f88: Pulling fs layer 03:27:05 7417ef92027a: Pulling fs layer 03:27:05 2af5c49d270b: Pulling fs layer 03:27:05 df9c3bdbc40a: Pulling fs layer 03:27:05 78bf9a5ad49e: Waiting 03:27:05 e5fbee5a4b0d: Waiting 03:27:05 f452fca78f88: Waiting 03:27:05 7417ef92027a: Waiting 03:27:05 2af5c49d270b: Waiting 03:27:05 df9c3bdbc40a: Waiting 03:27:05 930bda195c84: Verifying Checksum 03:27:05 930bda195c84: Download complete 03:27:05 f11b29a9c730: Download complete 03:27:05 78bf9a5ad49e: Verifying Checksum 03:27:05 78bf9a5ad49e: Download complete 03:27:05 f452fca78f88: Verifying Checksum 03:27:05 f452fca78f88: Download complete 03:27:06 7417ef92027a: Verifying Checksum 03:27:06 7417ef92027a: Download complete 03:27:06 2af5c49d270b: Verifying Checksum 03:27:06 2af5c49d270b: Download complete 03:27:06 df9c3bdbc40a: Verifying Checksum 03:27:06 df9c3bdbc40a: Download complete 03:27:07 5bed26d33875: Verifying Checksum 03:27:07 5bed26d33875: Download complete 03:27:11 5bed26d33875: Pull complete 03:27:12 f11b29a9c730: Pull complete 03:27:12 930bda195c84: Pull complete 03:27:12 78bf9a5ad49e: Pull complete 03:27:14 e5fbee5a4b0d: Verifying Checksum 03:27:14 e5fbee5a4b0d: Download complete 03:27:23 Staging go 03:27:25 Pulling device-modbus 03:27:28 Skipping build go (already ran) 03:27:28 Building device-modbus 03:27:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:27:29 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0 03:27:29 go: downloading github.com/goburrow/modbus v0.1.0 03:27:29 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:27:29 go: extracting github.com/goburrow/modbus v0.1.0 03:27:29 go: downloading github.com/goburrow/serial v0.1.0 03:27:29 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:27:29 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0 03:27:29 go: extracting github.com/goburrow/serial v0.1.0 03:27:29 go: downloading github.com/gorilla/mux v1.7.1 03:27:29 go: downloading github.com/pkg/errors v0.8.1 03:27:29 go: downloading github.com/google/uuid v1.1.1 03:27:29 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:27:29 go: downloading github.com/go-kit/kit v0.8.0 03:27:29 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 03:27:29 go: extracting github.com/gorilla/mux v1.7.1 03:27:29 go: extracting github.com/pkg/errors v0.8.1 03:27:29 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:27:29 go: extracting github.com/google/uuid v1.1.1 03:27:29 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 03:27:29 go: downloading gopkg.in/yaml.v2 v2.2.8 03:27:29 go: downloading github.com/OneOfOne/xxhash v1.2.6 03:27:29 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 03:27:29 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 03:27:29 go: downloading github.com/hashicorp/consul/api v1.1.0 03:27:29 go: downloading github.com/pelletier/go-toml v1.2.0 03:27:29 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 03:27:29 go: downloading github.com/BurntSushi/toml v0.3.1 03:27:29 go: extracting github.com/OneOfOne/xxhash v1.2.6 03:27:29 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 03:27:29 go: extracting gopkg.in/yaml.v2 v2.2.8 03:27:29 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 03:27:29 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 03:27:29 go: extracting github.com/pelletier/go-toml v1.2.0 03:27:29 go: extracting github.com/hashicorp/consul/api v1.1.0 03:27:29 go: extracting github.com/BurntSushi/toml v0.3.1 03:27:29 go: extracting github.com/go-kit/kit v0.8.0 03:27:29 go: downloading github.com/x448/float16 v0.8.4 03:27:29 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:29 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:29 go: extracting github.com/x448/float16 v0.8.4 03:27:29 go: downloading github.com/mitchellh/copystructure v1.0.0 03:27:29 go: downloading github.com/mitchellh/mapstructure v1.1.2 03:27:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:27:29 go: downloading github.com/hashicorp/serf v0.8.2 03:27:29 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 03:27:29 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 03:27:29 go: extracting github.com/mitchellh/copystructure v1.0.0 03:27:29 go: extracting github.com/mitchellh/mapstructure v1.1.2 03:27:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 03:27:29 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 03:27:29 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 03:27:29 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 03:27:29 go: extracting github.com/mitchellh/reflectwalk v1.0.0 03:27:29 go: extracting github.com/hashicorp/serf v0.8.2 03:27:29 go: downloading github.com/go-logfmt/logfmt v0.4.0 03:27:29 go: extracting github.com/go-logfmt/logfmt v0.4.0 03:27:29 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:29 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 03:27:30 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 03:27:30 go: downloading github.com/hashicorp/golang-lru v0.5.1 03:27:30 go: extracting github.com/hashicorp/golang-lru v0.5.1 03:27:30 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 03:27:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:27:30 go: finding github.com/goburrow/modbus v0.1.0 03:27:30 go: finding github.com/gorilla/mux v1.7.1 03:27:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:27:30 go: finding github.com/go-kit/kit v0.8.0 03:27:30 go: finding github.com/goburrow/serial v0.1.0 03:27:30 go: finding github.com/OneOfOne/xxhash v1.2.6 03:27:30 go: finding github.com/google/uuid v1.1.1 03:27:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:27:30 go: finding github.com/x448/float16 v0.8.4 03:27:30 go: finding github.com/go-logfmt/logfmt v0.4.0 03:27:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:27:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:27:30 go: finding gopkg.in/yaml.v2 v2.2.8 03:27:30 go: finding github.com/BurntSushi/toml v0.3.1 03:27:30 go: finding github.com/pkg/errors v0.8.1 03:27:30 go: finding github.com/hashicorp/consul/api v1.1.0 03:27:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:27:30 go: finding github.com/pelletier/go-toml v1.2.0 03:27:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:27:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:27:30 go: finding github.com/hashicorp/serf v0.8.2 03:27:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:30 go: finding github.com/mitchellh/mapstructure v1.1.2 03:27:30 go: finding github.com/mitchellh/copystructure v1.0.0 03:27:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:27:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:27:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:27:30 go: finding github.com/hashicorp/golang-lru v0.5.1 03:27:41 e5fbee5a4b0d: Pull complete 03:27:41 f452fca78f88: Pull complete 03:27:41 7417ef92027a: Pull complete 03:27:41 2af5c49d270b: Pull complete 03:27:41 df9c3bdbc40a: Pull complete 03:27:41 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 03:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 03:27:42 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 03:27:42 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 03:27:42 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 03:27:42 Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] 03:27:42 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] 03:27:42 Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 03:27:43 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1184 kB] 03:27:43 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] 03:27:43 Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7671 B] 03:27:43 Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 03:27:44 Fetched 4553 kB in 2s (2342 kB/s) 03:27:46 Reading package lists... 03:27:52 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 03:27:52 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:27:54 Reading package lists... 03:27:54 Building dependency tree... 03:27:54 Reading state information... 03:27:54 The following packages were automatically installed and are no longer required: 03:27:54 libjq1 liblzo2-2 libonig4 03:27:54 Use 'sudo apt autoremove' to remove them. 03:27:54 Suggested packages: 03:27:54 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 03:27:54 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 03:27:54 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 03:27:54 libterm-readline-gnu-perl | libterm-readline-perl-perl 03:27:54 The following NEW packages will be installed: 03:27:54 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 03:27:54 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 03:27:54 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 03:27:54 openssh-client patch perl perl-modules-5.26 xauth 03:27:55 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 03:27:55 Need to get 14.7 MB of archives. 03:27:55 After this operation, 89.5 MB of additional disk space will be used. 03:27:55 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 03:27:55 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 03:27:55 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 03:27:55 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 03:27:55 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 03:27:55 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 03:27:55 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 03:27:55 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 03:27:56 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 03:27:56 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 03:27:56 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 03:27:56 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 03:27:56 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 03:27:56 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 03:27:56 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 03:27:56 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 03:27:56 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 03:27:56 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 03:27:56 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 03:27:56 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 03:27:56 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 03:27:56 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 03:27:56 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 03:27:56 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 03:27:56 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 03:27:56 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 03:27:56 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 03:27:56 debconf: delaying package configuration, since apt-utils is not installed 03:27:57 Fetched 14.7 MB in 2s (9558 kB/s) 03:27:57 Selecting previously unselected package libxau6:amd64. 03:27:57 (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.) 03:27:57 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 03:27:57 Unpacking libxau6:amd64 (1:1.0.8-1) ... 03:27:57 Selecting previously unselected package libbsd0:amd64. 03:27:57 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 03:27:57 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 03:27:57 Selecting previously unselected package libxdmcp6:amd64. 03:27:57 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 03:27:57 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 03:27:57 Selecting previously unselected package libxcb1:amd64. 03:27:57 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 03:27:57 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 03:27:57 Selecting previously unselected package libx11-data. 03:27:57 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 03:27:57 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 03:27:58 Selecting previously unselected package libx11-6:amd64. 03:27:58 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 03:27:58 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 03:27:58 Selecting previously unselected package libxext6:amd64. 03:27:58 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 03:27:58 Unpacking libxext6:amd64 (2:1.3.3-1) ... 03:27:58 Selecting previously unselected package perl-modules-5.26. 03:27:58 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 03:27:58 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:28:01 Selecting previously unselected package libgdbm5:amd64. 03:28:01 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 03:28:01 Unpacking libgdbm5:amd64 (1.14.1-6) ... 03:28:01 Selecting previously unselected package libgdbm-compat4:amd64. 03:28:01 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 03:28:01 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 03:28:01 Selecting previously unselected package libperl5.26:amd64. 03:28:01 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 03:28:01 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 03:28:02 Selecting previously unselected package perl. 03:28:02 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 03:28:02 Unpacking perl (5.26.1-6ubuntu0.3) ... 03:28:02 Selecting previously unselected package less. 03:28:02 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 03:28:02 Unpacking less (487-0.1) ... 03:28:02 Selecting previously unselected package libexpat1:amd64. 03:28:02 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 03:28:02 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 03:28:02 Selecting previously unselected package netbase. 03:28:02 Preparing to unpack .../14-netbase_5.4_all.deb ... 03:28:02 Unpacking netbase (5.4) ... 03:28:02 Selecting previously unselected package libedit2:amd64. 03:28:02 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 03:28:02 Unpacking libedit2:amd64 (3.1-20170329-1) ... 03:28:03 Selecting previously unselected package libssl1.0.0:amd64. 03:28:03 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 03:28:03 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 03:28:03 Selecting previously unselected package libxmuu1:amd64. 03:28:03 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 03:28:03 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 03:28:03 Selecting previously unselected package openssh-client. 03:28:03 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 03:28:03 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 03:28:03 Selecting previously unselected package xauth. 03:28:03 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 03:28:03 Unpacking xauth (1:1.0.10-1) ... 03:28:04 Selecting previously unselected package curl. 03:28:04 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 03:28:04 Unpacking curl (7.58.0-2ubuntu3.8) ... 03:28:04 Selecting previously unselected package libcurl3-gnutls:amd64. 03:28:04 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 03:28:04 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 03:28:04 Selecting previously unselected package liberror-perl. 03:28:04 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 03:28:04 Unpacking liberror-perl (0.17025-1) ... 03:28:04 Selecting previously unselected package git-man. 03:28:04 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 03:28:04 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 03:28:04 Selecting previously unselected package git. 03:28:04 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 03:28:04 Unpacking git (1:2.17.1-1ubuntu0.7) ... 03:28:05 Selecting previously unselected package make. 03:28:05 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 03:28:05 Unpacking make (4.1-9.1ubuntu1) ... 03:28:05 Selecting previously unselected package patch. 03:28:05 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 03:28:05 Unpacking patch (2.7.6-2ubuntu1.1) ... 03:28:05 Setting up libedit2:amd64 (3.1-20170329-1) ... 03:28:05 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 03:28:05 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 03:28:05 Setting up less (487-0.1) ... 03:28:06 Setting up make (4.1-9.1ubuntu1) ... 03:28:06 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 03:28:06 Setting up curl (7.58.0-2ubuntu3.8) ... 03:28:06 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 03:28:06 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 03:28:06 Setting up libgdbm5:amd64 (1.14.1-6) ... 03:28:06 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 03:28:06 Setting up patch (2.7.6-2ubuntu1.1) ... 03:28:06 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 03:28:06 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 03:28:06 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 03:28:06 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 03:28:06 Setting up libxau6:amd64 (1:1.0.8-1) ... 03:28:06 Setting up netbase (5.4) ... 03:28:06 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 03:28:06 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 03:28:06 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 03:28:06 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 03:28:06 Setting up perl (5.26.1-6ubuntu0.3) ... 03:28:06 Setting up libxext6:amd64 (2:1.3.3-1) ... 03:28:06 Setting up liberror-perl (0.17025-1) ... 03:28:06 Setting up xauth (1:1.0.10-1) ... 03:28:06 Setting up git (1:2.17.1-1ubuntu0.7) ... 03:28:07 Processing triggers for libc-bin (2.27-3ubuntu1) ... 03:28:11 Skipping stage go (already ran) 03:28:11 Staging device-modbus 03:28:11 curl set to automatically installed. 03:28:11 git set to automatically installed. 03:28:11 git-man set to automatically installed. 03:28:11 less set to automatically installed. 03:28:11 libbsd0 set to automatically installed. 03:28:11 libcurl3-gnutls set to automatically installed. 03:28:11 libedit2 set to automatically installed. 03:28:11 liberror-perl set to automatically installed. 03:28:11 libexpat1 set to automatically installed. 03:28:11 libgdbm-compat4 set to automatically installed. 03:28:11 libgdbm5 set to automatically installed. 03:28:11 libperl5.26 set to automatically installed. 03:28:11 libssl1.0.0 set to automatically installed. 03:28:11 libx11-6 set to automatically installed. 03:28:11 libx11-data set to automatically installed. 03:28:11 libxau6 set to automatically installed. 03:28:11 libxcb1 set to automatically installed. 03:28:11 libxdmcp6 set to automatically installed. 03:28:11 libxext6 set to automatically installed. 03:28:11 libxmuu1 set to automatically installed. 03:28:11 make set to automatically installed. 03:28:11 netbase set to automatically installed. 03:28:11 openssh-client set to automatically installed. 03:28:11 patch set to automatically installed. 03:28:11 perl set to automatically installed. 03:28:11 perl-modules-5.26 set to automatically installed. 03:28:11 xauth set to automatically installed. 03:28:11 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 03:28:11 Please ensure the environment is properly setup before continuing. 03:28:11 Ignore this message if the appropriate measures have already been taken 03:28:11 Priming go 03:28:12 Pulling go 03:28:13 'device-modbus' has dependencies that need to be staged: go 03:28:13 Skipping pull go (already ran) 03:28:13 Building go 03:28:13 % Total % Received % Xferd Average Speed Time Time Time Current 03:28:13 Dload Upload Total Spent Left Speed 03:28:15 Priming device-modbus 03:28:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 114M 4 5711k 0 0 22.2M 0 0:00:05 --:--:-- 0:00:05 22.2M 44 114M 44 51.2M 0 0 40.9M 0 0:00:02 0:00:01 0:00:01 40.9M 96 114M 96 109M 0 0 48.8M 0 0:00:02 0:00:02 --:--:-- 48.8M 100 114M 100 114M 0 0 48.8M 0 0:00:02 0:00:02 --:--:-- 48.8M 03:28:16 go1.13.5.linux-amd64.tar.gz: OK 03:28:17 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 03:28:17 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 03:28:17 Determining the version from the project repo (version-script). 03:28:17 The version has been set to '0.0.0-20200428+58041e0' 03:28:17 Snapping 'edgex-device-modbus' ... 03:28:21 03:28:21 Snapped edgex-device-modbus_0.0.0-20200428+58041e0_arm64.snap [Pipeline] } 03:28:22 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] } 03:28:28 Staging go 03:28:28 Pulling device-modbus 03:28:30 Skipping build go (already ran) 03:28:30 Building device-modbus 03:28:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 03:28:31 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0 03:28:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:28:31 go: downloading github.com/goburrow/modbus v0.1.0 03:28:31 go: extracting github.com/goburrow/modbus v0.1.0 03:28:31 go: downloading github.com/goburrow/serial v0.1.0 03:28:31 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:28:31 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0 03:28:31 go: extracting github.com/goburrow/serial v0.1.0 03:28:31 go: downloading github.com/go-kit/kit v0.8.0 03:28:31 go: downloading github.com/google/uuid v1.1.1 03:28:31 go: downloading github.com/gorilla/mux v1.7.1 03:28:31 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 03:28:31 go: downloading github.com/OneOfOne/xxhash v1.2.6 03:28:31 go: downloading gopkg.in/yaml.v2 v2.2.8 03:28:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:28:31 go: downloading github.com/pkg/errors v0.8.1 03:28:31 go: extracting github.com/OneOfOne/xxhash v1.2.6 03:28:31 go: extracting github.com/gorilla/mux v1.7.1 03:28:31 go: extracting github.com/google/uuid v1.1.1 03:28:31 go: extracting github.com/pkg/errors v0.8.1 03:28:31 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 03:28:31 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:28:31 go: extracting gopkg.in/yaml.v2 v2.2.8 03:28:31 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 03:28:31 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 03:28:31 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 03:28:31 go: downloading github.com/x448/float16 v0.8.4 03:28:31 go: downloading github.com/BurntSushi/toml v0.3.1 03:28:31 go: downloading github.com/pelletier/go-toml v1.2.0 03:28:31 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 03:28:31 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 03:28:31 go: downloading github.com/hashicorp/consul/api v1.1.0 03:28:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:28:31 go: extracting github.com/x448/float16 v0.8.4 03:28:31 go: extracting github.com/BurntSushi/toml v0.3.1 03:28:31 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 03:28:31 go: extracting github.com/go-kit/kit v0.8.0 03:28:31 go: extracting github.com/pelletier/go-toml v1.2.0 03:28:31 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:28:31 go: extracting github.com/hashicorp/consul/api v1.1.0 03:28:31 go: downloading github.com/mitchellh/copystructure v1.0.0 03:28:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 03:28:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 03:28:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 03:28:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 03:28:31 go: downloading github.com/hashicorp/serf v0.8.2 03:28:31 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 03:28:31 go: extracting github.com/mitchellh/copystructure v1.0.0 03:28:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 03:28:31 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 03:28:31 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 03:28:31 go: extracting github.com/mitchellh/mapstructure v1.1.2 03:28:31 go: extracting github.com/mitchellh/reflectwalk v1.0.0 03:28:31 go: extracting github.com/hashicorp/serf v0.8.2 03:28:31 go: downloading github.com/go-logfmt/logfmt v0.4.0 03:28:32 go: extracting github.com/go-logfmt/logfmt v0.4.0 03:28:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:28:32 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:28:32 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 03:28:32 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 03:28:32 go: downloading github.com/hashicorp/golang-lru v0.5.1 03:28:32 go: extracting github.com/hashicorp/golang-lru v0.5.1 03:28:32 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 03:28:32 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 03:28:32 go: finding github.com/goburrow/modbus v0.1.0 03:28:32 go: finding github.com/gorilla/mux v1.7.1 03:28:32 go: finding github.com/fxamacker/cbor/v2 v2.2.0 03:28:32 go: finding github.com/go-kit/kit v0.8.0 03:28:32 go: finding github.com/google/uuid v1.1.1 03:28:32 go: finding github.com/OneOfOne/xxhash v1.2.6 03:28:32 go: finding github.com/goburrow/serial v0.1.0 03:28:32 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 03:28:32 go: finding github.com/go-logfmt/logfmt v0.4.0 03:28:32 go: finding github.com/x448/float16 v0.8.4 03:28:32 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 03:28:32 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 03:28:32 go: finding gopkg.in/yaml.v2 v2.2.8 03:28:32 go: finding github.com/BurntSushi/toml v0.3.1 03:28:32 go: finding github.com/pkg/errors v0.8.1 03:28:32 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 03:28:32 go: finding github.com/hashicorp/consul/api v1.1.0 03:28:32 go: finding github.com/pelletier/go-toml v1.2.0 03:28:32 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 03:28:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:28:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:28:33 go: finding github.com/hashicorp/serf v0.8.2 03:28:33 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 03:28:33 go: finding github.com/mitchellh/mapstructure v1.1.2 03:28:33 go: finding github.com/mitchellh/copystructure v1.0.0 03:28:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:28:33 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:28:33 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:28:33 go: finding github.com/hashicorp/golang-lru v0.5.1 03:28:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 03:28:55 Skipping stage go (already ran) 03:28:55 Staging device-modbus 03:28:55 Priming go 03:28:56 Priming device-modbus 03:28:58 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 03:28:58 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 03:28:58 Determining the version from the project repo (version-script). 03:28:58 The version has been set to '0.0.0-20200428+58041e0' 03:28:58 Snapping 'edgex-device-modbus' ... 03:28:59 03:28:59 Snapped edgex-device-modbus_0.0.0-20200428+58041e0_amd64.snap [Pipeline] } 03:29:00 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 03:29:02 provisioning config files... 03:29:02 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config1030996554785992937tmp [Pipeline] { [Pipeline] sh 03:29:02 + curl -s https://codecov.io/bash 03:29:02 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config1030996554785992937tmp 03:29:03 03:29:03 _____ _ 03:29:03 / ____| | | 03:29:03 | | ___ __| | ___ ___ _____ __ 03:29:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:29:03 | |___| (_) | (_| | __/ (_| (_) \ V / 03:29:03 \_____\___/ \__,_|\___|\___\___/ \_/ 03:29:03 Bash-tbd 03:29:03 03:29:03 03:29:03 ==> Jenkins CI detected. 03:29:03 project root: . 03:29:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:29:03 ==> Running gcov in . (disable via -X gcov) 03:29:03 ==> Python coveragepy not found 03:29:03 ==> Searching for coverage reports in: 03:29:03 + . 03:29:03 -> Found 1 reports 03:29:03 ==> Detecting git/mercurial file structure 03:29:03 ==> Reading reports 03:29:03 + ./coverage.out bytes=22123 03:29:03 ==> Appending adjustments 03:29:03 http://docs.codecov.io/docs/fixing-reports 03:29:03 + Found adjustments 03:29:03 ==> Gzipping contents 03:29:03 ==> Uploading reports 03:29:03 url: https://codecov.io 03:29:03 query: branch=PR-146&commit=58041e0ec002311af2da8d38307bce51ce1d4598&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=146&job= 03:29:03 -> Pinging Codecov 03:29:03 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-146&commit=58041e0ec002311af2da8d38307bce51ce1d4598&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=146&job= 03:29:04 -> Uploading 03:29:04 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/58041e0ec002311af2da8d38307bce51ce1d4598 [Pipeline] } 03:29:04 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 03:29:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:29:06 ---> package-listing.sh 03:29:06 ++ facter osfamily 03:29:06 ++ tr '[:upper:]' '[:lower:]' 03:29:06 + OS_FAMILY=redhat 03:29:06 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-146 03:29:06 + START_PACKAGES=/tmp/packages_start.txt 03:29:06 + END_PACKAGES=/tmp/packages_end.txt 03:29:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:29:06 + PACKAGES=/tmp/packages_start.txt 03:29:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-146 ']' 03:29:06 + PACKAGES=/tmp/packages_end.txt 03:29:06 + case "${OS_FAMILY}" in 03:29:06 + sort 03:29:06 + rpm -qa 03:29:12 + '[' -f /tmp/packages_start.txt ']' 03:29:12 + '[' -f /tmp/packages_end.txt ']' 03:29:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:29:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-146 ']' 03:29:12 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-146/archives/ 03:29:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-146/archives/ [Pipeline] isUnix [Pipeline] sh 03:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:29:13 03:29:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:29:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:29:13 alpine: Pulling from edgex-lftools-log-publisher 03:29:13 c9b1b535fdd9: Pulling fs layer 03:29:13 2cc5ad85d9ab: Pulling fs layer 03:29:13 756a868c4378: Pulling fs layer 03:29:13 444b2fc9a129: Pulling fs layer 03:29:13 ea15f1150254: Pulling fs layer 03:29:13 41b27a9f41bf: Pulling fs layer 03:29:13 28c525ee5125: Pulling fs layer 03:29:13 094b1ea09ed8: Pulling fs layer 03:29:13 138eaada9080: Pulling fs layer 03:29:13 0622d0fa9048: Pulling fs layer 03:29:13 444b2fc9a129: Waiting 03:29:13 ea15f1150254: Waiting 03:29:13 41b27a9f41bf: Waiting 03:29:13 28c525ee5125: Waiting 03:29:13 094b1ea09ed8: Waiting 03:29:13 138eaada9080: Waiting 03:29:13 0622d0fa9048: Waiting 03:29:13 2cc5ad85d9ab: Verifying Checksum 03:29:13 2cc5ad85d9ab: Download complete 03:29:14 c9b1b535fdd9: Verifying Checksum 03:29:14 c9b1b535fdd9: Download complete 03:29:14 444b2fc9a129: Verifying Checksum 03:29:14 444b2fc9a129: Download complete 03:29:14 ea15f1150254: Verifying Checksum 03:29:14 ea15f1150254: Download complete 03:29:14 28c525ee5125: Verifying Checksum 03:29:14 28c525ee5125: Download complete 03:29:14 c9b1b535fdd9: Pull complete 03:29:15 756a868c4378: Verifying Checksum 03:29:15 756a868c4378: Download complete 03:29:15 2cc5ad85d9ab: Pull complete 03:29:15 138eaada9080: Verifying Checksum 03:29:15 138eaada9080: Download complete 03:29:15 0622d0fa9048: Verifying Checksum 03:29:15 0622d0fa9048: Download complete 03:29:15 094b1ea09ed8: Verifying Checksum 03:29:15 094b1ea09ed8: Download complete 03:29:17 41b27a9f41bf: Verifying Checksum 03:29:17 41b27a9f41bf: Download complete 03:29:18 756a868c4378: Pull complete 03:29:18 444b2fc9a129: Pull complete 03:29:18 ea15f1150254: Pull complete 03:29:23 41b27a9f41bf: Pull complete 03:29:23 28c525ee5125: Pull complete 03:29:27 094b1ea09ed8: Pull complete 03:29:27 138eaada9080: Pull complete 03:29:28 0622d0fa9048: Pull complete 03:29:28 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:29:28 prd-centos7-docker-4c-2g-6386 does not seem to be running inside a container 03:29:28 $ 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-146 -v /w/workspace/xfoundry_device-modbus-go_PR-146:/w/workspace/xfoundry_device-modbus-go_PR-146:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-146@tmp:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:29:30 $ docker top 3aebaa781ba07f8b4f1b385076dae80f942ca6fd3201c9e9872e007e7a95b4aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:29:30 provisioning config files... 03:29:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config9043776892866011201tmp [Pipeline] { [Pipeline] echo 03:29:30 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:29:31 ---> create-netrc.sh [Pipeline] echo 03:29:31 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:29:32 ---> logs-deploy.sh 03:29:32 + ARCHIVE_ARTIFACTS= 03:29:32 + LOGS_SERVER=https://logs.edgexfoundry.org 03:29:32 + '[' https://logs.edgexfoundry.org == None ']' 03:29:32 + NEXUS_URL=https://nexus.edgexfoundry.org 03:29:32 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-146/1 03:29:32 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-146/1/ 03:29:32 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-146/1 /w/workspace/xfoundry_device-modbus-go_PR-146 03:29:34 Archives upload complete. 03:29:34 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-146/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-146/1/