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 [2020-04-28T03:18:25.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-28T03:18:25.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-28T03:18:25.427Z] ========================================================= [2020-04-28T03:18:25.427Z] EdgeX Global Pipelines Version Info [2020-04-28T03:18:25.427Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-28T03:18:29.334Z] ------------------- [2020-04-28T03:18:29.334Z] stable info: [2020-04-28T03:18:29.334Z] ------------------- [2020-04-28T03:18:29.334Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-28T03:18:29.334Z] Commit SHA: 997776a94285dd80d478e4f0c197496148fdc64f [2020-04-28T03:18:29.334Z] Message: update stable to v1.0.86 [2020-04-28T03:18:29.927Z] ------------------- [2020-04-28T03:18:29.927Z] experimental info: [2020-04-28T03:18:29.927Z] ------------------- [2020-04-28T03:18:29.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-28T03:18:29.927Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-04-28T03:18:29.927Z] 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 [2020-04-28T03:18:32.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-28T03:18:32.726Z] [2020-04-28T03:18:32.726Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:18:33.245Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-28T03:18:33.544Z] latest: Pulling from edgex-devops/git-semver [2020-04-28T03:18:33.544Z] 9123ac7c32f7: Pulling fs layer [2020-04-28T03:18:33.545Z] b8cc5d1170e3: Pulling fs layer [2020-04-28T03:18:33.545Z] 2924cbbf6a41: Pulling fs layer [2020-04-28T03:18:33.545Z] 93b08a4f1073: Pulling fs layer [2020-04-28T03:18:33.545Z] 93b08a4f1073: Waiting [2020-04-28T03:18:33.545Z] b8cc5d1170e3: Download complete [2020-04-28T03:18:34.309Z] 9123ac7c32f7: Verifying Checksum [2020-04-28T03:18:34.309Z] 9123ac7c32f7: Download complete [2020-04-28T03:18:34.627Z] 93b08a4f1073: Verifying Checksum [2020-04-28T03:18:34.627Z] 93b08a4f1073: Download complete [2020-04-28T03:18:34.627Z] 2924cbbf6a41: Verifying Checksum [2020-04-28T03:18:34.627Z] 2924cbbf6a41: Download complete [2020-04-28T03:18:34.899Z] 9123ac7c32f7: Pull complete [2020-04-28T03:18:35.165Z] b8cc5d1170e3: Pull complete [2020-04-28T03:18:37.138Z] 2924cbbf6a41: Pull complete [2020-04-28T03:18:37.138Z] 93b08a4f1073: Pull complete [2020-04-28T03:18:37.138Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-28T03:18:37.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-28T03:18:37.368Z] prd-centos7-docker-4c-2g-6386 does not seem to be running inside a container [2020-04-28T03:18:37.458Z] $ 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 [2020-04-28T03:18:38.362Z] $ docker top 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-28T03:18:39.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-28T03:18:39.256Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-28T03:18:39.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-28T03:18:39.833Z] $ docker exec 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent [2020-04-28T03:18:40.372Z] SSH_AUTH_SOCK=/tmp/ssh-FI5kSpM1ReWw/agent.15 [2020-04-28T03:18:40.372Z] SSH_AGENT_PID=22 [2020-04-28T03:18:40.392Z] Running ssh-add (command line suppressed) [2020-04-28T03:18:40.833Z] 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) [2020-04-28T03:18:41.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-28T03:18:42.084Z] + git describe --exact-match --tags HEAD [2020-04-28T03:18:42.084Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-28T03:18:42.249Z] $ docker exec --env ******** --env ******** 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent -k [2020-04-28T03:18:42.646Z] unset SSH_AUTH_SOCK; [2020-04-28T03:18:42.646Z] unset SSH_AGENT_PID; [2020-04-28T03:18:42.647Z] echo Agent pid 22 killed; [2020-04-28T03:18:42.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-28T03:18:42.957Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-28T03:18:42.957Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-28T03:18:43.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-28T03:18:43.049Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-28T03:18:44.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-28T03:18:44.095Z] $ docker exec 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent [2020-04-28T03:18:44.807Z] SSH_AUTH_SOCK=/tmp/ssh-Y6I1BUlXO3tF/agent.55 [2020-04-28T03:18:44.808Z] SSH_AGENT_PID=62 [2020-04-28T03:18:44.818Z] Running ssh-add (command line suppressed) [2020-04-28T03:18:45.185Z] 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) [2020-04-28T03:18:45.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-28T03:18:46.029Z] + git semver init [2020-04-28T03:18:46.029Z] # -> Open(): unable to determine branch for HEAD [2020-04-28T03:18:46.029Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-146/.git [2020-04-28T03:18:46.029Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-146 [2020-04-28T03:18:46.029Z] # $SEMVER_REMOTE_NAME = origin [2020-04-28T03:18:46.029Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-28T03:18:46.029Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-28T03:18:46.029Z] # $SEMVER_BRANCH = PR-146 [2020-04-28T03:18:46.029Z] # $SEMVER_TEMP = /tmp/semver-963345226 [2020-04-28T03:18:46.029Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-28T03:18:46.298Z] # '/tmp/semver-963345226' -> '/w/workspace/xfoundry_device-modbus-go_PR-146/.semver' [2020-04-28T03:18:46.298Z] # -> Force: false [2020-04-28T03:18:46.298Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-146/.semver [Pipeline] } [2020-04-28T03:18:46.348Z] $ docker exec --env ******** --env ******** 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 ssh-agent -k [2020-04-28T03:18:46.626Z] unset SSH_AUTH_SOCK; [2020-04-28T03:18:46.627Z] unset SSH_AGENT_PID; [2020-04-28T03:18:46.627Z] echo Agent pid 62 killed; [2020-04-28T03:18:46.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-28T03:18:47.749Z] + git semver [Pipeline] } [2020-04-28T03:18:47.791Z] $ docker stop --time=1 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 [2020-04-28T03:18:49.876Z] $ docker rm -f 041e656c7421052b4dc5ca47eac6aaf2d7039ab9c45d94c4f45432f833203697 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-28T03:18:51.588Z] Stashed 25 file(s) [Pipeline] echo [2020-04-28T03:18:51.606Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-28T03:19:07.093Z] Still waiting to schedule task [2020-04-28T03:19:07.093Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-28T03:19:07.120Z] Still waiting to schedule task [2020-04-28T03:19:07.120Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6383’ is offline [2020-04-28T03:20:54.769Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6387 in /w/workspace/xfoundry_device-modbus-go_PR-146 [Pipeline] { [Pipeline] ws [2020-04-28T03:20:54.870Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-28T03:21:00.787Z] using credential edgex-jenkins-ssh [2020-04-28T03:21:00.840Z] Cloning the remote Git repository [2020-04-28T03:21:00.840Z] Cloning with configured refspecs honoured and without tags [2020-04-28T03:21:00.911Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:21:00.992Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-28T03:21:01.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:21:01.087Z] > git --version # timeout=10 [2020-04-28T03:21:01.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:21:01.194Z] > 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 [2020-04-28T03:21:01.947Z] Fetching without tags [2020-04-28T03:21:02.433Z] Merging remotes/origin/master commit 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be into PR head commit 58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:21:01.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-28T03:21:01.867Z] > git config --add remote.origin.fetch +refs/pull/146/head:refs/remotes/origin/PR-146 # timeout=10 [2020-04-28T03:21:01.881Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-28T03:21:01.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-28T03:21:01.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:21:01.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:21:01.988Z] > 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 [2020-04-28T03:21:02.464Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T03:21:02.500Z] > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 [2020-04-28T03:21:02.619Z] > git remote # timeout=10 [2020-04-28T03:21:02.660Z] > git config --get remote.origin.url # timeout=10 [2020-04-28T03:21:02.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:21:02.712Z] > git merge 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be # timeout=10 [2020-04-28T03:21:02.766Z] Merge succeeded, producing 58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:21:02.767Z] Checking out Revision 58041e0ec002311af2da8d38307bce51ce1d4598 (PR-146) [2020-04-28T03:21:02.749Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-28T03:21:02.781Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T03:21:02.814Z] > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 [2020-04-28T03:21:07.590Z] Commit message: "refactor: upgarde SDK to v1.2.0" [2020-04-28T03:21:07.648Z] > git --version # timeout=10 [2020-04-28T03:21:07.668Z] fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-28T03:21:09.029Z] ========================================================= [2020-04-28T03:21:09.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-28T03:21:09.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:21:10.131Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-28T03:21:10.720Z] Sending build context to Docker daemon 575kB [2020-04-28T03:21:10.989Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-28T03:21:10.989Z] Step 2/8 : FROM ${BASE} [2020-04-28T03:21:11.273Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-28T03:21:11.273Z] cde5963f3b93: Pulling fs layer [2020-04-28T03:21:11.273Z] 2a23fa8c16f7: Pulling fs layer [2020-04-28T03:21:11.273Z] 777b28850792: Pulling fs layer [2020-04-28T03:21:11.273Z] 8a11ddd9e578: Pulling fs layer [2020-04-28T03:21:11.273Z] 4cf88f913ddb: Pulling fs layer [2020-04-28T03:21:11.273Z] 1df406cf5192: Pulling fs layer [2020-04-28T03:21:11.273Z] cd6300453558: Pulling fs layer [2020-04-28T03:21:11.273Z] b9c365052c96: Pulling fs layer [2020-04-28T03:21:11.273Z] a2d8cc88f415: Pulling fs layer [2020-04-28T03:21:11.273Z] ea1d1ca13537: Pulling fs layer [2020-04-28T03:21:11.273Z] 3750a50a1c5e: Pulling fs layer [2020-04-28T03:21:11.273Z] 8a11ddd9e578: Waiting [2020-04-28T03:21:11.273Z] 4cf88f913ddb: Waiting [2020-04-28T03:21:11.273Z] 1df406cf5192: Waiting [2020-04-28T03:21:11.273Z] cd6300453558: Waiting [2020-04-28T03:21:11.273Z] b9c365052c96: Waiting [2020-04-28T03:21:11.273Z] a2d8cc88f415: Waiting [2020-04-28T03:21:11.273Z] ea1d1ca13537: Waiting [2020-04-28T03:21:11.273Z] 3750a50a1c5e: Waiting [2020-04-28T03:21:11.273Z] 777b28850792: Verifying Checksum [2020-04-28T03:21:11.273Z] 777b28850792: Download complete [2020-04-28T03:21:11.273Z] 2a23fa8c16f7: Verifying Checksum [2020-04-28T03:21:11.273Z] 2a23fa8c16f7: Download complete [2020-04-28T03:21:11.273Z] 4cf88f913ddb: Verifying Checksum [2020-04-28T03:21:11.273Z] 4cf88f913ddb: Download complete [2020-04-28T03:21:11.273Z] 1df406cf5192: Verifying Checksum [2020-04-28T03:21:11.273Z] 1df406cf5192: Download complete [2020-04-28T03:21:11.554Z] cde5963f3b93: Verifying Checksum [2020-04-28T03:21:11.554Z] cde5963f3b93: Download complete [2020-04-28T03:21:12.529Z] cde5963f3b93: Pull complete [2020-04-28T03:21:13.125Z] 2a23fa8c16f7: Pull complete [2020-04-28T03:21:13.397Z] 777b28850792: Pull complete [2020-04-28T03:21:16.017Z] cd6300453558: Verifying Checksum [2020-04-28T03:21:16.017Z] cd6300453558: Download complete [2020-04-28T03:21:16.017Z] a2d8cc88f415: Verifying Checksum [2020-04-28T03:21:16.017Z] a2d8cc88f415: Download complete [2020-04-28T03:21:18.625Z] ea1d1ca13537: Verifying Checksum [2020-04-28T03:21:18.625Z] ea1d1ca13537: Download complete [2020-04-28T03:21:18.625Z] 3750a50a1c5e: Verifying Checksum [2020-04-28T03:21:18.625Z] 3750a50a1c5e: Download complete [2020-04-28T03:21:21.210Z] b9c365052c96: Download complete [2020-04-28T03:21:22.621Z] 8a11ddd9e578: Download complete [2020-04-28T03:21:34.988Z] 8a11ddd9e578: Pull complete [2020-04-28T03:21:34.988Z] 4cf88f913ddb: Pull complete [2020-04-28T03:21:34.988Z] 1df406cf5192: Pull complete [2020-04-28T03:21:40.376Z] cd6300453558: Pull complete [2020-04-28T03:21:44.664Z] b9c365052c96: Pull complete [2020-04-28T03:21:44.664Z] a2d8cc88f415: Pull complete [2020-04-28T03:21:46.638Z] ea1d1ca13537: Pull complete [2020-04-28T03:21:47.229Z] 3750a50a1c5e: Pull complete [2020-04-28T03:21:47.229Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-28T03:21:47.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-28T03:21:47.229Z] ---> 78745c68409d [2020-04-28T03:21:47.229Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-28T03:21:51.513Z] ---> Running in ff2eca40f8c4 [2020-04-28T03:21:51.513Z] Removing intermediate container ff2eca40f8c4 [2020-04-28T03:21:51.513Z] ---> 2f2169d003c3 [2020-04-28T03:21:51.513Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T03:21:51.513Z] ---> Running in 75ca0a3799c8 [2020-04-28T03:21:53.460Z] Removing intermediate container 75ca0a3799c8 [2020-04-28T03:21:53.460Z] ---> 16effc7864c9 [2020-04-28T03:21:53.460Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-28T03:21:53.734Z] ---> Running in d4fde713ea5a [2020-04-28T03:21:54.702Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-28T03:21:55.664Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-28T03:21:56.618Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:21:56.618Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:21:56.883Z] (3/18) Installing libmagic (5.37-r1) [2020-04-28T03:21:57.468Z] (4/18) Installing file (5.37-r1) [2020-04-28T03:21:57.734Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:21:57.735Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:21:58.001Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:22:36.860Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-28T03:22:36.860Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-28T03:22:39.885Z] Running on prd-centos7-docker-4c-2g-6388 in /w/workspace/xfoundry_device-modbus-go_PR-146 [Pipeline] { [Pipeline] ws [2020-04-28T03:22:40.003Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-28T03:22:46.537Z] using credential edgex-jenkins-ssh [2020-04-28T03:22:46.591Z] Cloning the remote Git repository [2020-04-28T03:22:46.592Z] Cloning with configured refspecs honoured and without tags [2020-04-28T03:22:46.647Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:22:46.699Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-28T03:22:46.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:22:46.776Z] > git --version # timeout=10 [2020-04-28T03:22:46.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:22:46.835Z] > 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 [2020-04-28T03:22:47.391Z] Fetching without tags [2020-04-28T03:22:47.858Z] Merging remotes/origin/master commit 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be into PR head commit 58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:22:48.179Z] Merge succeeded, producing 58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:22:48.180Z] Checking out Revision 58041e0ec002311af2da8d38307bce51ce1d4598 (PR-146) [2020-04-28T03:22:47.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-28T03:22:47.325Z] > git config --add remote.origin.fetch +refs/pull/146/head:refs/remotes/origin/PR-146 # timeout=10 [2020-04-28T03:22:47.335Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-28T03:22:47.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-28T03:22:47.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-28T03:22:47.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:22:47.444Z] > 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 [2020-04-28T03:22:47.868Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T03:22:47.890Z] > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 [2020-04-28T03:22:47.948Z] > git remote # timeout=10 [2020-04-28T03:22:47.961Z] > git config --get remote.origin.url # timeout=10 [2020-04-28T03:22:47.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-28T03:22:48.001Z] > git merge 0cbd6ef4c56d4113f76e6a2a244b8c5c1d68e8be # timeout=10 [2020-04-28T03:22:48.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-28T03:22:48.182Z] > git config core.sparsecheckout # timeout=10 [2020-04-28T03:22:48.234Z] > git checkout -f 58041e0ec002311af2da8d38307bce51ce1d4598 # timeout=10 [2020-04-28T03:22:52.887Z] Commit message: "refactor: upgarde SDK to v1.2.0" [2020-04-28T03:22:52.923Z] > git --version # timeout=10 [2020-04-28T03:22:52.960Z] fatal: bad object 15fd3b164e5ad1b9cc2bd09e6423de8f412b6a0d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-28T03:22:54.379Z] ========================================================= [2020-04-28T03:22:54.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-28T03:22:54.379Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:22:55.401Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-28T03:22:55.998Z] Sending build context to Docker daemon 575kB [2020-04-28T03:22:55.998Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-28T03:22:55.998Z] Step 2/8 : FROM ${BASE} [2020-04-28T03:22:55.998Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-28T03:22:55.998Z] e6b0cf9c0882: Pulling fs layer [2020-04-28T03:22:55.998Z] 2848faf0eed1: Pulling fs layer [2020-04-28T03:22:55.998Z] 0f37312ad70f: Pulling fs layer [2020-04-28T03:22:55.998Z] 5788d62ee057: Pulling fs layer [2020-04-28T03:22:55.998Z] 0e6b1d234666: Pulling fs layer [2020-04-28T03:22:55.998Z] bf5d7aec512f: Pulling fs layer [2020-04-28T03:22:55.998Z] 34c802a77dc8: Pulling fs layer [2020-04-28T03:22:55.998Z] 9eb99e56ec68: Pulling fs layer [2020-04-28T03:22:55.998Z] 27c7a5d97fbd: Pulling fs layer [2020-04-28T03:22:55.998Z] 5788d62ee057: Waiting [2020-04-28T03:22:55.998Z] 0e6b1d234666: Waiting [2020-04-28T03:22:55.998Z] bf5d7aec512f: Waiting [2020-04-28T03:22:55.998Z] 34c802a77dc8: Waiting [2020-04-28T03:22:55.998Z] 9eb99e56ec68: Waiting [2020-04-28T03:22:55.998Z] 5c102a31e300: Pulling fs layer [2020-04-28T03:22:55.998Z] 27c7a5d97fbd: Waiting [2020-04-28T03:22:55.998Z] 5c102a31e300: Waiting [2020-04-28T03:22:55.998Z] dcfb455df0a1: Pulling fs layer [2020-04-28T03:22:55.998Z] dcfb455df0a1: Waiting [2020-04-28T03:22:55.998Z] 0f37312ad70f: Verifying Checksum [2020-04-28T03:22:55.998Z] 0f37312ad70f: Download complete [2020-04-28T03:22:55.998Z] 2848faf0eed1: Verifying Checksum [2020-04-28T03:22:55.998Z] 2848faf0eed1: Download complete [2020-04-28T03:22:56.275Z] 0e6b1d234666: Verifying Checksum [2020-04-28T03:22:56.275Z] 0e6b1d234666: Download complete [2020-04-28T03:22:56.275Z] e6b0cf9c0882: Verifying Checksum [2020-04-28T03:22:56.275Z] e6b0cf9c0882: Download complete [2020-04-28T03:22:56.275Z] bf5d7aec512f: Verifying Checksum [2020-04-28T03:22:56.275Z] bf5d7aec512f: Download complete [2020-04-28T03:22:57.027Z] e6b0cf9c0882: Pull complete [2020-04-28T03:22:57.325Z] 2848faf0eed1: Pull complete [2020-04-28T03:22:58.041Z] 0f37312ad70f: Pull complete [2020-04-28T03:23:00.733Z] 34c802a77dc8: Verifying Checksum [2020-04-28T03:23:00.733Z] 34c802a77dc8: Download complete [2020-04-28T03:23:00.733Z] 27c7a5d97fbd: Verifying Checksum [2020-04-28T03:23:00.733Z] 27c7a5d97fbd: Download complete [2020-04-28T03:23:02.371Z] 9eb99e56ec68: Verifying Checksum [2020-04-28T03:23:02.371Z] 9eb99e56ec68: Download complete [2020-04-28T03:23:02.371Z] dcfb455df0a1: Verifying Checksum [2020-04-28T03:23:02.371Z] dcfb455df0a1: Download complete [2020-04-28T03:23:02.704Z] 5788d62ee057: Verifying Checksum [2020-04-28T03:23:02.704Z] 5788d62ee057: Download complete [2020-04-28T03:23:03.017Z] 5c102a31e300: Verifying Checksum [2020-04-28T03:23:03.017Z] 5c102a31e300: Download complete [2020-04-28T03:23:11.298Z] 5788d62ee057: Pull complete [2020-04-28T03:23:11.298Z] 0e6b1d234666: Pull complete [2020-04-28T03:23:11.567Z] bf5d7aec512f: Pull complete [2020-04-28T03:23:16.102Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-28T03:23:16.102Z] (11/18) Installing build-base (0.5-r1) [2020-04-28T03:23:16.102Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-28T03:23:16.102Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-28T03:23:16.102Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-28T03:23:16.102Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-28T03:23:16.102Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-28T03:23:16.102Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-28T03:23:16.102Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-28T03:23:16.102Z] Executing busybox-1.31.1-r8.trigger [2020-04-28T03:23:16.102Z] OK: 203 MiB in 52 packages [2020-04-28T03:23:16.989Z] 34c802a77dc8: Pull complete [2020-04-28T03:23:21.458Z] Removing intermediate container d4fde713ea5a [2020-04-28T03:23:21.458Z] ---> 0f5e2c8d01cd [2020-04-28T03:23:21.458Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-28T03:23:21.728Z] ---> Running in 562e4ef0f8a3 [2020-04-28T03:23:22.003Z] Removing intermediate container 562e4ef0f8a3 [2020-04-28T03:23:22.003Z] ---> a03192915c87 [2020-04-28T03:23:22.003Z] Step 7/8 : COPY . . [2020-04-28T03:23:22.968Z] ---> b1af2892e026 [2020-04-28T03:23:22.968Z] Step 8/8 : RUN go mod download [2020-04-28T03:23:22.968Z] ---> Running in 6bedd5345881 [2020-04-28T03:23:23.702Z] 9eb99e56ec68: Pull complete [2020-04-28T03:23:23.703Z] 27c7a5d97fbd: Pull complete [2020-04-28T03:23:24.665Z] 5c102a31e300: Pull complete [2020-04-28T03:23:24.914Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:23:24.915Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:23:24.915Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-28T03:23:24.915Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:23:24.915Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-28T03:23:24.915Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-28T03:23:24.935Z] dcfb455df0a1: Pull complete [2020-04-28T03:23:24.935Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-28T03:23:24.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-28T03:23:24.935Z] ---> 7c70fe431013 [2020-04-28T03:23:24.935Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-28T03:23:25.181Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:23:25.181Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:23:25.181Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:23:25.181Z] go: finding github.com/fatih/color v1.7.0 [2020-04-28T03:23:25.181Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:23:25.181Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T03:23:25.181Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:23:25.181Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-28T03:23:25.181Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-28T03:23:25.181Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-28T03:23:25.181Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-28T03:23:25.181Z] go: finding github.com/google/uuid v1.1.1 [2020-04-28T03:23:25.181Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T03:23:25.181Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:23:25.198Z] ---> Running in ce0eef0bb7e0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-28T03:23:25.452Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:23:25.463Z] Removing intermediate container ce0eef0bb7e0 [2020-04-28T03:23:25.463Z] ---> 249d616c056f [2020-04-28T03:23:25.463Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T03:23:25.463Z] ---> Running in 6cda6aa83a89 [2020-04-28T03:23:25.726Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-28T03:23:25.726Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T03:23:25.726Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-28T03:23:25.726Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-28T03:23:25.726Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-28T03:23:25.726Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-28T03:23:25.726Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-28T03:23:25.998Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:23:25.998Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:23:25.998Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-28T03:23:25.998Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:23:25.998Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T03:23:25.998Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-28T03:23:25.998Z] go: finding github.com/posener/complete v1.1.1 [2020-04-28T03:23:25.998Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-28T03:23:25.998Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-28T03:23:25.998Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-28T03:23:25.998Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-28T03:23:25.998Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-28T03:23:25.998Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T03:23:25.998Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-28T03:23:25.998Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-28T03:23:25.998Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-28T03:23:25.998Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-28T03:23:26.269Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-28T03:23:26.269Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:23:27.461Z] Removing intermediate container 6cda6aa83a89 [2020-04-28T03:23:27.461Z] ---> 786145415406 [2020-04-28T03:23:27.461Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-28T03:23:27.461Z] ---> Running in 413d4bc2d961 [2020-04-28T03:23:28.064Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-28T03:23:30.071Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-28T03:23:33.465Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:23:34.441Z] (2/17) Installing libmagic (5.37-r1) [2020-04-28T03:23:35.021Z] (3/17) Installing file (5.37-r1) [2020-04-28T03:23:35.280Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:23:35.280Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:23:35.544Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-28T03:23:36.369Z] Removing intermediate container 6bedd5345881 [2020-04-28T03:23:36.369Z] ---> 8e196f56f988 [2020-04-28T03:23:36.369Z] Successfully built 8e196f56f988 [2020-04-28T03:23:36.369Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:23:37.238Z] + docker inspect -f . ci-base-image-arm64 [2020-04-28T03:23:37.238Z] . [Pipeline] withDockerContainer [2020-04-28T03:23:37.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-6387 does not seem to be running inside a container [2020-04-28T03:23:37.931Z] $ 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 [2020-04-28T03:23:39.286Z] $ docker top f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-28T03:23:40.397Z] + go version [2020-04-28T03:23:40.397Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-28T03:23:41.077Z] + make test [2020-04-28T03:23:41.077Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-28T03:23:42.055Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-28T03:24:08.812Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-28T03:24:09.394Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.291s coverage: 50.3% of statements [2020-04-28T03:24:09.661Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-28T03:24:16.338Z] gofmt -l . [2020-04-28T03:24:16.338Z] [ "`gofmt -l .`" = "" ] [2020-04-28T03:24:16.338Z] ./bin/test-attribution-txt.sh [2020-04-28T03:24:16.338Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-28T03:24:16.741Z] Stashed 1 file(s) [Pipeline] } [2020-04-28T03:24:16.756Z] $ docker stop --time=1 f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 [2020-04-28T03:24:19.042Z] $ docker rm -f f92714bcc3db161579debed1fe52f5ab46270213f462a41ee533108362adc983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-28T03:24:20.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-28T03:24:21.280Z] + ls -al . [2020-04-28T03:24:21.280Z] total 136 [2020-04-28T03:24:21.280Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 03:24 . [2020-04-28T03:24:21.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 03:21 .. [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 03:21 .dockerignore [2020-04-28T03:24:21.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 03:21 .git [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 28 03:21 .gitignore [2020-04-28T03:24:21.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 .semver [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 5049 Apr 28 03:21 Attribution.txt [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 1422 Apr 28 03:21 Dockerfile [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 28 03:21 Dockerfile.build [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 28 03:21 Jenkinsfile [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 03:21 LICENSE [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 03:21 Makefile [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 28 03:21 README.md [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 03:18 VERSION [2020-04-28T03:24:21.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 03:21 bin [2020-04-28T03:24:21.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 cmd [2020-04-28T03:24:21.280Z] -rw-r--r-- 1 jenkins jenkins 22123 Apr 28 03:24 coverage.out [2020-04-28T03:24:21.280Z] -rw-r--r-- 1 jenkins jenkins 559 Apr 28 03:24 go.mod [2020-04-28T03:24:21.280Z] -rw-r--r-- 1 jenkins jenkins 13368 Apr 28 03:24 go.sum [2020-04-28T03:24:21.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 03:21 internal [2020-04-28T03:24:21.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 03:21 simulator [2020-04-28T03:24:21.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 03:21 snap [2020-04-28T03:24:21.280Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 03:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:24:21.637Z] + 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 . [2020-04-28T03:24:21.908Z] Sending build context to Docker daemon 603.6kB [2020-04-28T03:24:21.908Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-28T03:24:21.908Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-28T03:24:21.908Z] ---> 8e196f56f988 [2020-04-28T03:24:21.908Z] Step 3/19 : ARG MAKE='make build' [2020-04-28T03:24:22.178Z] ---> Running in a5f2e891059d [2020-04-28T03:24:22.445Z] Removing intermediate container a5f2e891059d [2020-04-28T03:24:22.445Z] ---> 38470d1cbe98 [2020-04-28T03:24:22.446Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T03:24:22.716Z] ---> Running in 397b653fe13b [2020-04-28T03:24:24.829Z] Removing intermediate container 397b653fe13b [2020-04-28T03:24:24.829Z] ---> a70aef2ac789 [2020-04-28T03:24:24.829Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-28T03:24:24.829Z] ---> Running in 8ab81732767e [2020-04-28T03:24:25.855Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-28T03:24:28.431Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-28T03:24:30.371Z] OK: 203 MiB in 52 packages [2020-04-28T03:24:31.334Z] Removing intermediate container 8ab81732767e [2020-04-28T03:24:31.334Z] ---> 901dd4a3b668 [2020-04-28T03:24:31.334Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-28T03:24:31.603Z] ---> Running in 4a94f2dce515 [2020-04-28T03:24:31.872Z] Removing intermediate container 4a94f2dce515 [2020-04-28T03:24:31.872Z] ---> 9f9cac2f88ea [2020-04-28T03:24:31.872Z] Step 7/19 : COPY . . [2020-04-28T03:24:32.465Z] ---> b4fec2c6cb10 [2020-04-28T03:24:32.465Z] Step 8/19 : RUN ${MAKE} [2020-04-28T03:24:32.738Z] ---> Running in 7c57fb9d1666 [2020-04-28T03:24:33.702Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-28T03:24:57.189Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-28T03:24:57.189Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-28T03:25:00.438Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-28T03:25:04.708Z] Removing intermediate container 7c57fb9d1666 [2020-04-28T03:25:04.708Z] ---> 35576bb603ca [2020-04-28T03:25:04.708Z] Step 9/19 : FROM scratch [2020-04-28T03:25:04.708Z] ---> [2020-04-28T03:25:04.708Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-28T03:25:04.708Z] ---> Running in 20b7d75aacea [2020-04-28T03:25:04.976Z] Removing intermediate container 20b7d75aacea [2020-04-28T03:25:04.976Z] ---> 6dbdcf8c3201 [2020-04-28T03:25:04.976Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-28T03:25:04.976Z] ---> Running in 84de4fc26561 [2020-04-28T03:25:05.244Z] Removing intermediate container 84de4fc26561 [2020-04-28T03:25:05.244Z] ---> 8a68daa3a02f [2020-04-28T03:25:05.244Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-28T03:25:06.205Z] ---> ef472be6053a [2020-04-28T03:25:06.205Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-28T03:25:06.789Z] ---> 7e1946fd9ee0 [2020-04-28T03:25:06.789Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-28T03:25:07.373Z] ---> bb78a810c858 [2020-04-28T03:25:07.373Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-28T03:25:07.373Z] ---> Running in 50911d2b17a5 [2020-04-28T03:25:07.647Z] Removing intermediate container 50911d2b17a5 [2020-04-28T03:25:07.647Z] ---> 6d6510f34cc2 [2020-04-28T03:25:07.647Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-28T03:25:07.915Z] ---> Running in bdba66937e61 [2020-04-28T03:25:08.182Z] Removing intermediate container bdba66937e61 [2020-04-28T03:25:08.182Z] ---> 6e317b003a09 [2020-04-28T03:25:08.182Z] Step 17/19 : LABEL arch=arm64 [2020-04-28T03:25:08.449Z] ---> Running in f15c9b86caa4 [2020-04-28T03:25:08.716Z] Removing intermediate container f15c9b86caa4 [2020-04-28T03:25:08.716Z] ---> 85e1bfaabfc8 [2020-04-28T03:25:08.716Z] Step 18/19 : LABEL git_sha=58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:25:08.983Z] ---> Running in 3da8b1c25f28 [2020-04-28T03:25:09.251Z] Removing intermediate container 3da8b1c25f28 [2020-04-28T03:25:09.251Z] ---> 5b8d092337e5 [2020-04-28T03:25:09.251Z] Step 19/19 : LABEL version=0.0.0 [2020-04-28T03:25:09.251Z] ---> Running in ffd3744bac16 [2020-04-28T03:25:09.840Z] Removing intermediate container ffd3744bac16 [2020-04-28T03:25:09.840Z] ---> 5abd32b0b042 [2020-04-28T03:25:09.840Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-28T03:25:09.840Z] Successfully built 5abd32b0b042 [2020-04-28T03:25:09.840Z] 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 [2020-04-28T03:25:11.104Z] + find /w/workspace/device-modbus-go/1 [2020-04-28T03:25:11.104Z] + grep snapcraft.yaml [2020-04-28T03:25:11.104Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-28T03:25:11.461Z] provisioning config files... [2020-04-28T03:25:11.484Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config726004555482815665tmp [Pipeline] { [Pipeline] sh [2020-04-28T03:25:11.890Z] + cp /w/workspace/device-modbus-go/1@tmp/config726004555482815665tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-04-28T03:25:12.233Z] + 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 [2020-04-28T03:25:12.233Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-28T03:25:12.502Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-28T03:25:12.502Z] b2f61026a351: Pulling fs layer [2020-04-28T03:25:12.502Z] 5538fb30c42c: Pulling fs layer [2020-04-28T03:25:12.502Z] f0b05810781a: Pulling fs layer [2020-04-28T03:25:12.502Z] 0180a33352d6: Pulling fs layer [2020-04-28T03:25:12.502Z] e7604b0c0f53: Pulling fs layer [2020-04-28T03:25:12.502Z] db689cb83ae0: Pulling fs layer [2020-04-28T03:25:12.502Z] 6138af208834: Pulling fs layer [2020-04-28T03:25:12.502Z] 007c8e8c5d63: Pulling fs layer [2020-04-28T03:25:12.502Z] 4f7a387c642f: Pulling fs layer [2020-04-28T03:25:12.502Z] 0180a33352d6: Waiting [2020-04-28T03:25:12.502Z] e7604b0c0f53: Waiting [2020-04-28T03:25:12.502Z] db689cb83ae0: Waiting [2020-04-28T03:25:12.502Z] 6138af208834: Waiting [2020-04-28T03:25:12.502Z] 007c8e8c5d63: Waiting [2020-04-28T03:25:12.502Z] 4f7a387c642f: Waiting [2020-04-28T03:25:12.502Z] f0b05810781a: Verifying Checksum [2020-04-28T03:25:12.502Z] f0b05810781a: Download complete [2020-04-28T03:25:12.502Z] 0180a33352d6: Verifying Checksum [2020-04-28T03:25:12.502Z] 0180a33352d6: Download complete [2020-04-28T03:25:12.770Z] 5538fb30c42c: Verifying Checksum [2020-04-28T03:25:12.770Z] 5538fb30c42c: Download complete [2020-04-28T03:25:12.770Z] db689cb83ae0: Verifying Checksum [2020-04-28T03:25:12.770Z] db689cb83ae0: Download complete [2020-04-28T03:25:12.770Z] 6138af208834: Verifying Checksum [2020-04-28T03:25:12.770Z] 6138af208834: Download complete [2020-04-28T03:25:13.039Z] 007c8e8c5d63: Download complete [2020-04-28T03:25:14.012Z] 4f7a387c642f: Verifying Checksum [2020-04-28T03:25:14.013Z] 4f7a387c642f: Download complete [2020-04-28T03:25:14.603Z] b2f61026a351: Verifying Checksum [2020-04-28T03:25:14.603Z] b2f61026a351: Download complete [2020-04-28T03:25:17.953Z] b2f61026a351: Pull complete [2020-04-28T03:25:17.953Z] 5538fb30c42c: Pull complete [2020-04-28T03:25:17.953Z] f0b05810781a: Pull complete [2020-04-28T03:25:18.220Z] 0180a33352d6: Pull complete [2020-04-28T03:25:40.281Z] e7604b0c0f53: Download complete [2020-04-28T03:25:44.596Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-28T03:25:44.596Z] (10/17) Installing build-base (0.5-r1) [2020-04-28T03:25:44.596Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-28T03:25:44.596Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-28T03:25:44.596Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-28T03:25:44.596Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-28T03:25:44.596Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-28T03:25:44.596Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-28T03:25:44.596Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-28T03:25:45.203Z] Executing busybox-1.31.1-r8.trigger [2020-04-28T03:25:45.203Z] OK: 214 MiB in 52 packages [2020-04-28T03:25:49.516Z] Removing intermediate container 413d4bc2d961 [2020-04-28T03:25:49.516Z] ---> 5bc837c381bf [2020-04-28T03:25:49.516Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-28T03:25:49.516Z] ---> Running in 0703cfada444 [2020-04-28T03:25:49.516Z] Removing intermediate container 0703cfada444 [2020-04-28T03:25:49.516Z] ---> cf3960189084 [2020-04-28T03:25:49.516Z] Step 7/8 : COPY . . [2020-04-28T03:25:50.111Z] ---> c044b341d274 [2020-04-28T03:25:50.111Z] Step 8/8 : RUN go mod download [2020-04-28T03:25:50.111Z] ---> Running in c2be4d5a5196 [2020-04-28T03:25:52.063Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:25:52.063Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:25:52.063Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-28T03:25:52.063Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:25:52.063Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-28T03:25:52.063Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-28T03:25:52.063Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:25:52.063Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-28T03:25:52.063Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:25:52.063Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:25:52.063Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:25:52.063Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:25:52.063Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:25:52.326Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:25:52.326Z] go: finding github.com/fatih/color v1.7.0 [2020-04-28T03:25:52.326Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:25:52.326Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T03:25:52.326Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:25:52.326Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-28T03:25:52.326Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-28T03:25:52.326Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-28T03:25:52.326Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-28T03:25:52.326Z] go: finding github.com/google/uuid v1.1.1 [2020-04-28T03:25:52.326Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:25:52.326Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-28T03:25:52.586Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T03:25:52.586Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-28T03:25:52.586Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-28T03:25:52.586Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-28T03:25:52.586Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:25:52.586Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:25:52.586Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-28T03:25:52.586Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:25:52.586Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T03:25:52.586Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-28T03:25:52.847Z] go: finding github.com/posener/complete v1.1.1 [2020-04-28T03:25:52.847Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-28T03:25:52.847Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-28T03:25:52.847Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-28T03:25:52.847Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-28T03:25:52.847Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-28T03:25:52.847Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T03:25:52.847Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-28T03:25:52.847Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-28T03:25:52.847Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-28T03:25:52.847Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-28T03:25:52.847Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-28T03:25:52.847Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:25:57.120Z] Removing intermediate container c2be4d5a5196 [2020-04-28T03:25:57.120Z] ---> 5ff26412efba [2020-04-28T03:25:57.120Z] Successfully built 5ff26412efba [2020-04-28T03:25:57.120Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:25:57.892Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-28T03:25:57.892Z] . [Pipeline] withDockerContainer [2020-04-28T03:25:58.147Z] prd-centos7-docker-4c-2g-6388 does not seem to be running inside a container [2020-04-28T03:25:58.392Z] $ 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 [2020-04-28T03:25:59.468Z] $ docker top 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-28T03:26:00.621Z] + go version [2020-04-28T03:26:00.621Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-28T03:26:01.876Z] + make test [2020-04-28T03:26:01.876Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-28T03:26:04.671Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-28T03:26:12.534Z] e7604b0c0f53: Pull complete [2020-04-28T03:26:12.534Z] db689cb83ae0: Pull complete [2020-04-28T03:26:12.534Z] 6138af208834: Pull complete [2020-04-28T03:26:12.534Z] 007c8e8c5d63: Pull complete [2020-04-28T03:26:12.534Z] 4f7a387c642f: Pull complete [2020-04-28T03:26:12.534Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-04-28T03:26:12.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-28T03:26:15.884Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-04-28T03:26:15.884Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-04-28T03:26:15.884Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-04-28T03:26:15.884Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-04-28T03:26:16.151Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] [2020-04-28T03:26:16.418Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [845 kB] [2020-04-28T03:26:16.418Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7337 B] [2020-04-28T03:26:16.418Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-04-28T03:26:16.684Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [571 kB] [2020-04-28T03:26:16.684Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] [2020-04-28T03:26:17.268Z] Fetched 3650 kB in 2s (1758 kB/s) [2020-04-28T03:26:21.524Z] Reading package lists... [2020-04-28T03:26:23.043Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-28T03:26:23.043Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.173s coverage: 50.3% of statements [2020-04-28T03:26:23.043Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-28T03:26:24.460Z] gofmt -l . [2020-04-28T03:26:24.460Z] [ "`gofmt -l .`" = "" ] [2020-04-28T03:26:24.460Z] ./bin/test-attribution-txt.sh [2020-04-28T03:26:25.403Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-28T03:26:25.688Z] Warning: overwriting stash ‘coverage-report’ [2020-04-28T03:26:27.172Z] Stashed 1 file(s) [Pipeline] } [2020-04-28T03:26:27.187Z] $ docker stop --time=1 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 [2020-04-28T03:26:29.145Z] $ docker rm -f 412ba05e56c9438973d8e91b9c563970142d5aaf4776c97121b8c5541079e5a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-28T03:26:30.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-28T03:26:30.593Z] + ls -al . [2020-04-28T03:26:30.593Z] total 104 [2020-04-28T03:26:30.593Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 28 03:26 . [2020-04-28T03:26:30.593Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 03:22 .. [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 5049 Apr 28 03:22 Attribution.txt [2020-04-28T03:26:30.593Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 28 03:22 bin [2020-04-28T03:26:30.593Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 28 03:22 cmd [2020-04-28T03:26:30.593Z] -rw-r--r--. 1 jenkins jenkins 22123 Apr 28 03:26 coverage.out [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 1422 Apr 28 03:22 Dockerfile [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 28 03:22 Dockerfile.build [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 03:22 .dockerignore [2020-04-28T03:26:30.593Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 03:22 .git [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 28 03:22 .gitignore [2020-04-28T03:26:30.593Z] -rw-r--r--. 1 jenkins jenkins 559 Apr 28 03:26 go.mod [2020-04-28T03:26:30.593Z] -rw-r--r--. 1 jenkins jenkins 13368 Apr 28 03:26 go.sum [2020-04-28T03:26:30.593Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 28 03:22 internal [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 28 03:22 Jenkinsfile [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 28 03:22 LICENSE [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 28 03:22 Makefile [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 28 03:22 README.md [2020-04-28T03:26:30.593Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 28 03:22 .semver [2020-04-28T03:26:30.593Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 28 03:22 simulator [2020-04-28T03:26:30.593Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 03:22 snap [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 03:18 VERSION [2020-04-28T03:26:30.593Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 28 03:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:26:30.941Z] + 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 . [2020-04-28T03:26:31.205Z] Sending build context to Docker daemon 603.6kB [2020-04-28T03:26:31.474Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-28T03:26:31.474Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-28T03:26:31.474Z] ---> 5ff26412efba [2020-04-28T03:26:31.474Z] Step 3/19 : ARG MAKE='make build' [2020-04-28T03:26:31.474Z] ---> Running in cc94ccc01b49 [2020-04-28T03:26:31.474Z] Removing intermediate container cc94ccc01b49 [2020-04-28T03:26:31.474Z] ---> 5f7c4adf028b [2020-04-28T03:26:31.474Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-28T03:26:31.736Z] ---> Running in 38a0c92d0b1a [2020-04-28T03:26:32.687Z] Removing intermediate container 38a0c92d0b1a [2020-04-28T03:26:32.687Z] ---> 5a1f9c64fd0f [2020-04-28T03:26:32.687Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-28T03:26:32.687Z] ---> Running in 0f86e4be312e [2020-04-28T03:26:33.267Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-28T03:26:33.868Z] Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth [2020-04-28T03:26:35.837Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-28T03:26:37.267Z] OK: 214 MiB in 52 packages [2020-04-28T03:26:37.867Z] Removing intermediate container 0f86e4be312e [2020-04-28T03:26:37.867Z] ---> 794bee6c4c70 [2020-04-28T03:26:37.867Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-28T03:26:37.867Z] ---> Running in f13427a7f7f0 [2020-04-28T03:26:38.121Z] Reading package lists... [2020-04-28T03:26:38.128Z] Removing intermediate container f13427a7f7f0 [2020-04-28T03:26:38.128Z] ---> 7302aa7d79ae [2020-04-28T03:26:38.128Z] Step 7/19 : COPY . . [2020-04-28T03:26:38.411Z] ---> 31625fcd6f27 [2020-04-28T03:26:38.411Z] Step 8/19 : RUN ${MAKE} [2020-04-28T03:26:38.650Z] Building dependency tree... [2020-04-28T03:26:38.650Z] Reading state information... [2020-04-28T03:26:39.034Z] ---> Running in d3bdc285c365 [2020-04-28T03:26:39.604Z] The following packages were automatically installed and are no longer required: [2020-04-28T03:26:39.604Z] libjq1 liblzo2-2 libonig4 [2020-04-28T03:26:39.604Z] Use 'sudo apt autoremove' to remove them. [2020-04-28T03:26:39.604Z] Suggested packages: [2020-04-28T03:26:39.604Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-28T03:26:39.605Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-28T03:26:39.605Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-28T03:26:39.605Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-28T03:26:39.605Z] The following NEW packages will be installed: [2020-04-28T03:26:39.605Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-28T03:26:39.605Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-28T03:26:39.605Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-28T03:26:39.712Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-28T03:26:39.870Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-28T03:26:39.870Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-28T03:26:39.870Z] Need to get 12.9 MB of archives. [2020-04-28T03:26:39.870Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-28T03:26:39.870Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-28T03:26:40.135Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-28T03:26:40.135Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-28T03:26:40.135Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-28T03:26:40.135Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-28T03:26:40.403Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] [2020-04-28T03:26:40.670Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-28T03:26:40.670Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-28T03:26:40.935Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-28T03:26:40.935Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-28T03:26:40.935Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-28T03:26:40.935Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-28T03:26:40.935Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-28T03:26:40.935Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-28T03:26:40.935Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-28T03:26:40.935Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-28T03:26:40.935Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] [2020-04-28T03:26:41.200Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-28T03:26:41.200Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-28T03:26:41.200Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-28T03:26:41.200Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-28T03:26:41.200Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-28T03:26:41.200Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-28T03:26:41.200Z] Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-04-28T03:26:41.200Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-04-28T03:26:41.467Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-28T03:26:41.467Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-28T03:26:42.050Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-28T03:26:42.050Z] Fetched 12.9 MB in 2s (8140 kB/s) [2020-04-28T03:26:42.050Z] Selecting previously unselected package libxau6:arm64. [2020-04-28T03:26:42.050Z] (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.) [2020-04-28T03:26:42.050Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-04-28T03:26:42.050Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-04-28T03:26:42.315Z] Selecting previously unselected package libbsd0:arm64. [2020-04-28T03:26:42.316Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-04-28T03:26:42.316Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-28T03:26:42.316Z] Selecting previously unselected package libxdmcp6:arm64. [2020-04-28T03:26:42.316Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-04-28T03:26:42.316Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-28T03:26:42.584Z] Selecting previously unselected package libxcb1:arm64. [2020-04-28T03:26:42.584Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-04-28T03:26:42.584Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-28T03:26:42.584Z] Selecting previously unselected package libx11-data. [2020-04-28T03:26:42.584Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-28T03:26:42.584Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:26:42.849Z] Selecting previously unselected package libx11-6:arm64. [2020-04-28T03:26:42.849Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-04-28T03:26:43.116Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:26:43.116Z] Selecting previously unselected package libxext6:arm64. [2020-04-28T03:26:43.116Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-04-28T03:26:43.116Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-04-28T03:26:43.382Z] Selecting previously unselected package perl-modules-5.26. [2020-04-28T03:26:43.382Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-28T03:26:43.382Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:44.793Z] Selecting previously unselected package libgdbm5:arm64. [2020-04-28T03:26:44.793Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-04-28T03:26:44.793Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-04-28T03:26:45.061Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-04-28T03:26:45.061Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-04-28T03:26:45.061Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-28T03:26:45.061Z] Selecting previously unselected package libperl5.26:arm64. [2020-04-28T03:26:45.061Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-28T03:26:45.061Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:46.473Z] Selecting previously unselected package perl. [2020-04-28T03:26:46.473Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-28T03:26:46.473Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:46.473Z] Selecting previously unselected package less. [2020-04-28T03:26:46.473Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-04-28T03:26:46.473Z] Unpacking less (487-0.1) ... [2020-04-28T03:26:46.741Z] Selecting previously unselected package libexpat1:arm64. [2020-04-28T03:26:46.741Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-04-28T03:26:46.741Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-28T03:26:46.741Z] Selecting previously unselected package netbase. [2020-04-28T03:26:46.741Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-28T03:26:46.741Z] Unpacking netbase (5.4) ... [2020-04-28T03:26:47.010Z] Selecting previously unselected package libedit2:arm64. [2020-04-28T03:26:47.010Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-04-28T03:26:47.010Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-04-28T03:26:47.278Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-04-28T03:26:47.278Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-04-28T03:26:47.278Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-28T03:26:47.546Z] Selecting previously unselected package libxmuu1:arm64. [2020-04-28T03:26:47.546Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-04-28T03:26:47.546Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-28T03:26:47.546Z] Selecting previously unselected package openssh-client. [2020-04-28T03:26:47.546Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-04-28T03:26:47.546Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-28T03:26:47.812Z] Selecting previously unselected package xauth. [2020-04-28T03:26:47.812Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-04-28T03:26:47.812Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-28T03:26:48.081Z] Selecting previously unselected package curl. [2020-04-28T03:26:48.081Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-28T03:26:48.081Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-28T03:26:48.081Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-04-28T03:26:48.081Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-28T03:26:48.081Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-28T03:26:48.348Z] Selecting previously unselected package liberror-perl. [2020-04-28T03:26:48.348Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-28T03:26:48.348Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-28T03:26:48.348Z] Selecting previously unselected package git-man. [2020-04-28T03:26:48.348Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-28T03:26:48.348Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:26:48.615Z] Selecting previously unselected package git. [2020-04-28T03:26:48.615Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-04-28T03:26:48.883Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:26:49.844Z] Selecting previously unselected package make. [2020-04-28T03:26:49.844Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-04-28T03:26:49.844Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-28T03:26:50.113Z] Selecting previously unselected package patch. [2020-04-28T03:26:50.113Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-04-28T03:26:50.113Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-28T03:26:50.113Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-04-28T03:26:50.396Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:26:50.396Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-28T03:26:50.396Z] Setting up less (487-0.1) ... [2020-04-28T03:26:50.668Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-28T03:26:50.668Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-28T03:26:50.934Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-28T03:26:51.203Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-28T03:26:51.203Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:51.203Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-04-28T03:26:51.203Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-28T03:26:51.203Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-28T03:26:51.203Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-28T03:26:51.203Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-28T03:26:51.469Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-28T03:26:51.763Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:26:51.763Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-04-28T03:26:51.763Z] Setting up netbase (5.4) ... [2020-04-28T03:26:51.763Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:51.763Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-28T03:26:52.037Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:26:52.037Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-28T03:26:52.037Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-28T03:26:52.037Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-04-28T03:26:52.037Z] Setting up liberror-perl (0.17025-1) ... [2020-04-28T03:26:52.306Z] Setting up xauth (1:1.0.10-1) ... [2020-04-28T03:26:52.306Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:26:52.306Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-28T03:26:58.528Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-28T03:26:58.986Z] curl set to automatically installed. [2020-04-28T03:26:58.986Z] git set to automatically installed. [2020-04-28T03:26:58.986Z] git-man set to automatically installed. [2020-04-28T03:26:58.986Z] less set to automatically installed. [2020-04-28T03:26:58.986Z] libbsd0 set to automatically installed. [2020-04-28T03:26:58.986Z] libcurl3-gnutls set to automatically installed. [2020-04-28T03:26:58.986Z] libedit2 set to automatically installed. [2020-04-28T03:26:58.986Z] liberror-perl set to automatically installed. [2020-04-28T03:26:58.986Z] libexpat1 set to automatically installed. [2020-04-28T03:26:58.986Z] libgdbm-compat4 set to automatically installed. [2020-04-28T03:26:58.986Z] libgdbm5 set to automatically installed. [2020-04-28T03:26:58.986Z] libperl5.26 set to automatically installed. [2020-04-28T03:26:58.986Z] libssl1.0.0 set to automatically installed. [2020-04-28T03:26:58.986Z] libx11-6 set to automatically installed. [2020-04-28T03:26:58.986Z] libx11-data set to automatically installed. [2020-04-28T03:26:58.986Z] libxau6 set to automatically installed. [2020-04-28T03:26:58.986Z] libxcb1 set to automatically installed. [2020-04-28T03:26:58.986Z] libxdmcp6 set to automatically installed. [2020-04-28T03:26:58.986Z] libxext6 set to automatically installed. [2020-04-28T03:26:58.986Z] libxmuu1 set to automatically installed. [2020-04-28T03:26:58.986Z] make set to automatically installed. [2020-04-28T03:26:58.986Z] netbase set to automatically installed. [2020-04-28T03:26:58.986Z] openssh-client set to automatically installed. [2020-04-28T03:26:58.986Z] patch set to automatically installed. [2020-04-28T03:26:58.986Z] perl set to automatically installed. [2020-04-28T03:26:58.986Z] perl-modules-5.26 set to automatically installed. [2020-04-28T03:26:58.986Z] xauth set to automatically installed. [2020-04-28T03:26:58.986Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-28T03:26:58.986Z] Please ensure the environment is properly setup before continuing. [2020-04-28T03:26:58.986Z] Ignore this message if the appropriate measures have already been taken [2020-04-28T03:26:59.252Z] Pulling go [2020-04-28T03:27:00.021Z] Removing intermediate container d3bdc285c365 [2020-04-28T03:27:00.021Z] ---> 959e6ff8edec [2020-04-28T03:27:00.021Z] Step 9/19 : FROM scratch [2020-04-28T03:27:00.021Z] ---> [2020-04-28T03:27:00.021Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-28T03:27:00.295Z] ---> Running in b0e879de8c94 [2020-04-28T03:27:00.565Z] Removing intermediate container b0e879de8c94 [2020-04-28T03:27:00.565Z] ---> f8e768dde072 [2020-04-28T03:27:00.565Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-28T03:27:00.565Z] ---> Running in 6952d35b431d [2020-04-28T03:27:00.565Z] Removing intermediate container 6952d35b431d [2020-04-28T03:27:00.565Z] ---> 9f0b515e3759 [2020-04-28T03:27:00.565Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-28T03:27:01.526Z] ---> 5a7d471a4fa4 [2020-04-28T03:27:01.526Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-28T03:27:01.526Z] ---> cb1e0c600275 [2020-04-28T03:27:01.526Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-28T03:27:01.798Z] ---> 85cee6f7a5cd [2020-04-28T03:27:01.798Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-28T03:27:02.063Z] ---> Running in 0038ca951725 [2020-04-28T03:27:02.063Z] Removing intermediate container 0038ca951725 [2020-04-28T03:27:02.063Z] ---> fd26a36a9944 [2020-04-28T03:27:02.063Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-28T03:27:02.330Z] ---> Running in 2cc2ecdce6ff [2020-04-28T03:27:02.330Z] Removing intermediate container 2cc2ecdce6ff [2020-04-28T03:27:02.330Z] ---> 1dbd143109e0 [2020-04-28T03:27:02.330Z] Step 17/19 : LABEL arch=amd64 [2020-04-28T03:27:02.330Z] ---> Running in 31f9e67ae22e [2020-04-28T03:27:02.590Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-28T03:27:02.590Z] Skipping pull go (already ran) [2020-04-28T03:27:02.590Z] Building go [2020-04-28T03:27:02.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-28T03:27:02.590Z] Dload Upload Total Spent Left Speed [2020-04-28T03:27:02.593Z] Removing intermediate container 31f9e67ae22e [2020-04-28T03:27:02.593Z] ---> 055fe8239e9f [2020-04-28T03:27:02.593Z] Step 18/19 : LABEL git_sha=58041e0ec002311af2da8d38307bce51ce1d4598 [2020-04-28T03:27:02.593Z] ---> Running in a5cf3fb45c2c [2020-04-28T03:27:02.862Z] Removing intermediate container a5cf3fb45c2c [2020-04-28T03:27:02.862Z] ---> f2714ee51099 [2020-04-28T03:27:02.862Z] Step 19/19 : LABEL version=0.0.0 [2020-04-28T03:27:02.862Z] ---> Running in 99eb77be5a13 [2020-04-28T03:27:03.133Z] Removing intermediate container 99eb77be5a13 [2020-04-28T03:27:03.133Z] ---> 6c7b8d8bb205 [2020-04-28T03:27:03.133Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-28T03:27:03.133Z] Successfully built 6c7b8d8bb205 [2020-04-28T03:27:03.133Z] 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 [2020-04-28T03:27:04.141Z] 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 [2020-04-28T03:27:04.335Z] ++ grep snapcraft.yaml [2020-04-28T03:27:04.335Z] ++ find /w/workspace/device-modbus-go/1 [2020-04-28T03:27:04.335Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-28T03:27:04.844Z] provisioning config files... [2020-04-28T03:27:04.872Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2266848092429573767tmp [Pipeline] { [Pipeline] sh [2020-04-28T03:27:05.317Z] + cp /w/workspace/device-modbus-go/1@tmp/config2266848092429573767tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-04-28T03:27:05.551Z] go1.13.5.linux-arm64.tar.gz: OK [2020-04-28T03:27:05.679Z] + 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 [2020-04-28T03:27:05.982Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-28T03:27:05.982Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-28T03:27:05.982Z] 5bed26d33875: Pulling fs layer [2020-04-28T03:27:05.982Z] f11b29a9c730: Pulling fs layer [2020-04-28T03:27:05.982Z] 930bda195c84: Pulling fs layer [2020-04-28T03:27:05.982Z] 78bf9a5ad49e: Pulling fs layer [2020-04-28T03:27:05.982Z] e5fbee5a4b0d: Pulling fs layer [2020-04-28T03:27:05.982Z] f452fca78f88: Pulling fs layer [2020-04-28T03:27:05.982Z] 7417ef92027a: Pulling fs layer [2020-04-28T03:27:05.982Z] 2af5c49d270b: Pulling fs layer [2020-04-28T03:27:05.982Z] df9c3bdbc40a: Pulling fs layer [2020-04-28T03:27:05.982Z] 78bf9a5ad49e: Waiting [2020-04-28T03:27:05.982Z] e5fbee5a4b0d: Waiting [2020-04-28T03:27:05.982Z] f452fca78f88: Waiting [2020-04-28T03:27:05.982Z] 7417ef92027a: Waiting [2020-04-28T03:27:05.982Z] 2af5c49d270b: Waiting [2020-04-28T03:27:05.982Z] df9c3bdbc40a: Waiting [2020-04-28T03:27:05.982Z] 930bda195c84: Verifying Checksum [2020-04-28T03:27:05.982Z] 930bda195c84: Download complete [2020-04-28T03:27:05.982Z] f11b29a9c730: Download complete [2020-04-28T03:27:05.982Z] 78bf9a5ad49e: Verifying Checksum [2020-04-28T03:27:05.982Z] 78bf9a5ad49e: Download complete [2020-04-28T03:27:05.982Z] f452fca78f88: Verifying Checksum [2020-04-28T03:27:05.982Z] f452fca78f88: Download complete [2020-04-28T03:27:06.254Z] 7417ef92027a: Verifying Checksum [2020-04-28T03:27:06.254Z] 7417ef92027a: Download complete [2020-04-28T03:27:06.254Z] 2af5c49d270b: Verifying Checksum [2020-04-28T03:27:06.254Z] 2af5c49d270b: Download complete [2020-04-28T03:27:06.254Z] df9c3bdbc40a: Verifying Checksum [2020-04-28T03:27:06.254Z] df9c3bdbc40a: Download complete [2020-04-28T03:27:07.320Z] 5bed26d33875: Verifying Checksum [2020-04-28T03:27:07.320Z] 5bed26d33875: Download complete [2020-04-28T03:27:11.926Z] 5bed26d33875: Pull complete [2020-04-28T03:27:12.306Z] f11b29a9c730: Pull complete [2020-04-28T03:27:12.680Z] 930bda195c84: Pull complete [2020-04-28T03:27:12.680Z] 78bf9a5ad49e: Pull complete [2020-04-28T03:27:14.588Z] e5fbee5a4b0d: Verifying Checksum [2020-04-28T03:27:14.588Z] e5fbee5a4b0d: Download complete [2020-04-28T03:27:23.762Z] Staging go [2020-04-28T03:27:25.171Z] Pulling device-modbus [2020-04-28T03:27:28.515Z] Skipping build go (already ran) [2020-04-28T03:27:28.515Z] Building device-modbus [2020-04-28T03:27:28.515Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-28T03:27:29.101Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:27:29.101Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-28T03:27:29.101Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:27:29.101Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-28T03:27:29.101Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-28T03:27:29.370Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:27:29.370Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:27:29.370Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-28T03:27:29.370Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-28T03:27:29.370Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-28T03:27:29.370Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-28T03:27:29.370Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:27:29.370Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-28T03:27:29.370Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:27:29.370Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-28T03:27:29.370Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-28T03:27:29.370Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:27:29.370Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-28T03:27:29.370Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:27:29.370Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:27:29.370Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:27:29.370Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:27:29.370Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:27:29.370Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:27:29.370Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:27:29.370Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:27:29.640Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:27:29.640Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:27:29.640Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:27:29.640Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:27:29.640Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:27:29.640Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:27:29.640Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-28T03:27:29.640Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-28T03:27:29.640Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:27:29.640Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:27:29.640Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-28T03:27:29.640Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:27:29.640Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:27:29.640Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:27:29.640Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-28T03:27:29.640Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:27:29.640Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:27:29.640Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:27:29.640Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:27:29.640Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:27:29.640Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:27:29.640Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:27:29.908Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-28T03:27:29.908Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:27:29.908Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:27:29.908Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:27:29.908Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:27:30.177Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:27:30.177Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:27:30.177Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:27:30.177Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:27:30.177Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:27:30.177Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:27:30.177Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-28T03:27:30.177Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T03:27:30.177Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:27:30.177Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T03:27:30.177Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-28T03:27:30.177Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:27:30.177Z] go: finding github.com/google/uuid v1.1.1 [2020-04-28T03:27:30.177Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:27:30.177Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T03:27:30.177Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:27:30.446Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:27:30.446Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:27:30.446Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:27:30.446Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:27:30.446Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:27:30.446Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:27:30.446Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T03:27:30.446Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:27:30.446Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:27:30.446Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:27:30.446Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:27:30.446Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:27:30.446Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:27:30.446Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:27:41.766Z] e5fbee5a4b0d: Pull complete [2020-04-28T03:27:41.766Z] f452fca78f88: Pull complete [2020-04-28T03:27:41.766Z] 7417ef92027a: Pull complete [2020-04-28T03:27:41.766Z] 2af5c49d270b: Pull complete [2020-04-28T03:27:41.766Z] df9c3bdbc40a: Pull complete [2020-04-28T03:27:41.766Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-04-28T03:27:41.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-28T03:27:42.362Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-04-28T03:27:42.362Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-04-28T03:27:42.362Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-04-28T03:27:42.627Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] [2020-04-28T03:27:42.908Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] [2020-04-28T03:27:42.908Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-04-28T03:27:43.207Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1184 kB] [2020-04-28T03:27:43.827Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] [2020-04-28T03:27:43.827Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7671 B] [2020-04-28T03:27:43.827Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-04-28T03:27:44.181Z] Fetched 4553 kB in 2s (2342 kB/s) [2020-04-28T03:27:46.766Z] Reading package lists... [2020-04-28T03:27:52.097Z] Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth [2020-04-28T03:27:52.534Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-28T03:27:54.032Z] Reading package lists... [2020-04-28T03:27:54.349Z] Building dependency tree... [2020-04-28T03:27:54.349Z] Reading state information... [2020-04-28T03:27:54.944Z] The following packages were automatically installed and are no longer required: [2020-04-28T03:27:54.944Z] libjq1 liblzo2-2 libonig4 [2020-04-28T03:27:54.944Z] Use 'sudo apt autoremove' to remove them. [2020-04-28T03:27:54.944Z] Suggested packages: [2020-04-28T03:27:54.944Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-28T03:27:54.944Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-28T03:27:54.944Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-28T03:27:54.944Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-28T03:27:54.944Z] The following NEW packages will be installed: [2020-04-28T03:27:54.944Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-28T03:27:54.944Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-28T03:27:54.944Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-28T03:27:54.944Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-28T03:27:55.206Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-28T03:27:55.206Z] Need to get 14.7 MB of archives. [2020-04-28T03:27:55.206Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-28T03:27:55.206Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-28T03:27:55.206Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-28T03:27:55.476Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-28T03:27:55.476Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-28T03:27:55.476Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-28T03:27:55.776Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-28T03:27:55.776Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-28T03:27:55.776Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-28T03:27:56.066Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-28T03:27:56.066Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-28T03:27:56.066Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-28T03:27:56.066Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-28T03:27:56.066Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-28T03:27:56.066Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-28T03:27:56.066Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-28T03:27:56.066Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-28T03:27:56.066Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-28T03:27:56.354Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-28T03:27:56.354Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-28T03:27:56.354Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-28T03:27:56.354Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-28T03:27:56.354Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-28T03:27:56.354Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-28T03:27:56.354Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-04-28T03:27:56.354Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-04-28T03:27:56.628Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-28T03:27:56.628Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-28T03:27:56.968Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-28T03:27:57.240Z] Fetched 14.7 MB in 2s (9558 kB/s) [2020-04-28T03:27:57.240Z] Selecting previously unselected package libxau6:amd64. [2020-04-28T03:27:57.240Z] (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.) [2020-04-28T03:27:57.240Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-04-28T03:27:57.502Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-04-28T03:27:57.502Z] Selecting previously unselected package libbsd0:amd64. [2020-04-28T03:27:57.502Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-04-28T03:27:57.502Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-28T03:27:57.775Z] Selecting previously unselected package libxdmcp6:amd64. [2020-04-28T03:27:57.775Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-04-28T03:27:57.775Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-28T03:27:57.775Z] Selecting previously unselected package libxcb1:amd64. [2020-04-28T03:27:57.775Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-04-28T03:27:57.775Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-28T03:27:57.775Z] Selecting previously unselected package libx11-data. [2020-04-28T03:27:57.775Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-28T03:27:57.775Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:27:58.361Z] Selecting previously unselected package libx11-6:amd64. [2020-04-28T03:27:58.361Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-04-28T03:27:58.361Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:27:58.633Z] Selecting previously unselected package libxext6:amd64. [2020-04-28T03:27:58.634Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-04-28T03:27:58.634Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-04-28T03:27:58.634Z] Selecting previously unselected package perl-modules-5.26. [2020-04-28T03:27:58.634Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-28T03:27:58.634Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:01.215Z] Selecting previously unselected package libgdbm5:amd64. [2020-04-28T03:28:01.215Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-04-28T03:28:01.215Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-04-28T03:28:01.215Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-04-28T03:28:01.215Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-04-28T03:28:01.215Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-28T03:28:01.215Z] Selecting previously unselected package libperl5.26:amd64. [2020-04-28T03:28:01.215Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-28T03:28:01.215Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:02.301Z] Selecting previously unselected package perl. [2020-04-28T03:28:02.301Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-28T03:28:02.301Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:02.591Z] Selecting previously unselected package less. [2020-04-28T03:28:02.591Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-04-28T03:28:02.591Z] Unpacking less (487-0.1) ... [2020-04-28T03:28:02.591Z] Selecting previously unselected package libexpat1:amd64. [2020-04-28T03:28:02.591Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-04-28T03:28:02.591Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-28T03:28:02.880Z] Selecting previously unselected package netbase. [2020-04-28T03:28:02.880Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-28T03:28:02.880Z] Unpacking netbase (5.4) ... [2020-04-28T03:28:02.880Z] Selecting previously unselected package libedit2:amd64. [2020-04-28T03:28:02.880Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-04-28T03:28:02.880Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-04-28T03:28:03.240Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-04-28T03:28:03.240Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-04-28T03:28:03.240Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-28T03:28:03.545Z] Selecting previously unselected package libxmuu1:amd64. [2020-04-28T03:28:03.545Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-04-28T03:28:03.545Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-28T03:28:03.545Z] Selecting previously unselected package openssh-client. [2020-04-28T03:28:03.545Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-04-28T03:28:03.545Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-28T03:28:03.811Z] Selecting previously unselected package xauth. [2020-04-28T03:28:03.811Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-04-28T03:28:03.811Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-28T03:28:04.073Z] Selecting previously unselected package curl. [2020-04-28T03:28:04.073Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-28T03:28:04.073Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-28T03:28:04.074Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-04-28T03:28:04.074Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-28T03:28:04.074Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-28T03:28:04.074Z] Selecting previously unselected package liberror-perl. [2020-04-28T03:28:04.074Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-28T03:28:04.351Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-28T03:28:04.351Z] Selecting previously unselected package git-man. [2020-04-28T03:28:04.351Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-28T03:28:04.351Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:28:04.351Z] Selecting previously unselected package git. [2020-04-28T03:28:04.351Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-04-28T03:28:04.612Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:28:05.581Z] Selecting previously unselected package make. [2020-04-28T03:28:05.581Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-04-28T03:28:05.581Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-28T03:28:05.581Z] Selecting previously unselected package patch. [2020-04-28T03:28:05.581Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-04-28T03:28:05.581Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-28T03:28:05.581Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-04-28T03:28:05.844Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:28:05.844Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-28T03:28:05.844Z] Setting up less (487-0.1) ... [2020-04-28T03:28:06.113Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-28T03:28:06.113Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-28T03:28:06.113Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-28T03:28:06.113Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-28T03:28:06.381Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:06.381Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-04-28T03:28:06.381Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-28T03:28:06.381Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-28T03:28:06.381Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-28T03:28:06.381Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-28T03:28:06.381Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-28T03:28:06.643Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:28:06.643Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-04-28T03:28:06.643Z] Setting up netbase (5.4) ... [2020-04-28T03:28:06.643Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:06.906Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-28T03:28:06.906Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-28T03:28:06.906Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-28T03:28:06.906Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-28T03:28:06.906Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-04-28T03:28:06.906Z] Setting up liberror-perl (0.17025-1) ... [2020-04-28T03:28:06.906Z] Setting up xauth (1:1.0.10-1) ... [2020-04-28T03:28:06.906Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-28T03:28:07.211Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-28T03:28:11.125Z] Skipping stage go (already ran) [2020-04-28T03:28:11.125Z] Staging device-modbus [2020-04-28T03:28:11.541Z] curl set to automatically installed. [2020-04-28T03:28:11.541Z] git set to automatically installed. [2020-04-28T03:28:11.541Z] git-man set to automatically installed. [2020-04-28T03:28:11.541Z] less set to automatically installed. [2020-04-28T03:28:11.541Z] libbsd0 set to automatically installed. [2020-04-28T03:28:11.541Z] libcurl3-gnutls set to automatically installed. [2020-04-28T03:28:11.541Z] libedit2 set to automatically installed. [2020-04-28T03:28:11.541Z] liberror-perl set to automatically installed. [2020-04-28T03:28:11.541Z] libexpat1 set to automatically installed. [2020-04-28T03:28:11.541Z] libgdbm-compat4 set to automatically installed. [2020-04-28T03:28:11.541Z] libgdbm5 set to automatically installed. [2020-04-28T03:28:11.541Z] libperl5.26 set to automatically installed. [2020-04-28T03:28:11.541Z] libssl1.0.0 set to automatically installed. [2020-04-28T03:28:11.541Z] libx11-6 set to automatically installed. [2020-04-28T03:28:11.541Z] libx11-data set to automatically installed. [2020-04-28T03:28:11.541Z] libxau6 set to automatically installed. [2020-04-28T03:28:11.541Z] libxcb1 set to automatically installed. [2020-04-28T03:28:11.541Z] libxdmcp6 set to automatically installed. [2020-04-28T03:28:11.541Z] libxext6 set to automatically installed. [2020-04-28T03:28:11.541Z] libxmuu1 set to automatically installed. [2020-04-28T03:28:11.541Z] make set to automatically installed. [2020-04-28T03:28:11.541Z] netbase set to automatically installed. [2020-04-28T03:28:11.541Z] openssh-client set to automatically installed. [2020-04-28T03:28:11.541Z] patch set to automatically installed. [2020-04-28T03:28:11.541Z] perl set to automatically installed. [2020-04-28T03:28:11.541Z] perl-modules-5.26 set to automatically installed. [2020-04-28T03:28:11.541Z] xauth set to automatically installed. [2020-04-28T03:28:11.541Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-28T03:28:11.541Z] Please ensure the environment is properly setup before continuing. [2020-04-28T03:28:11.541Z] Ignore this message if the appropriate measures have already been taken [2020-04-28T03:28:11.711Z] Priming go [2020-04-28T03:28:12.118Z] Pulling go [2020-04-28T03:28:13.066Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-28T03:28:13.066Z] Skipping pull go (already ran) [2020-04-28T03:28:13.066Z] Building go [2020-04-28T03:28:13.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-28T03:28:13.066Z] Dload Upload Total Spent Left Speed [2020-04-28T03:28:15.050Z] Priming device-modbus [2020-04-28T03:28:15.535Z] 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 [2020-04-28T03:28:16.481Z] go1.13.5.linux-amd64.tar.gz: OK [2020-04-28T03:28:17.632Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-28T03:28:17.632Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-28T03:28:17.632Z] Determining the version from the project repo (version-script). [2020-04-28T03:28:17.632Z] The version has been set to '0.0.0-20200428+58041e0' [2020-04-28T03:28:17.632Z] Snapping 'edgex-device-modbus' ... [2020-04-28T03:28:21.017Z] [2020-04-28T03:28:21.017Z] Snapped edgex-device-modbus_0.0.0-20200428+58041e0_arm64.snap [Pipeline] } [2020-04-28T03:28:22.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-28T03:28:28.933Z] Staging go [2020-04-28T03:28:28.933Z] Pulling device-modbus [2020-04-28T03:28:30.317Z] Skipping build go (already ran) [2020-04-28T03:28:30.317Z] Building device-modbus [2020-04-28T03:28:30.317Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:28:31.829Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-28T03:28:31.829Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-28T03:28:31.829Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:28:31.829Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:28:31.829Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-28T03:28:31.829Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:28:31.829Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-28T03:28:31.829Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-28T03:28:31.829Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:28:31.829Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:28:31.829Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:28:31.829Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:28:31.829Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-28T03:28:31.829Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:28:31.829Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:28:31.829Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:28:31.829Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-28T03:28:31.829Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:28:31.829Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:28:31.829Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:28:31.829Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:28:31.829Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:28:31.829Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:28:31.829Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-28T03:28:31.829Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:28:31.829Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:28:31.829Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:28:31.829Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:28:31.829Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:28:31.829Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-28T03:28:31.829Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:28:32.091Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:28:32.091Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:28:32.704Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:28:32.704Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:28:32.704Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:28:32.704Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:28:32.704Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:28:32.704Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0 [2020-04-28T03:28:32.704Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-28T03:28:32.999Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-28T03:28:32.999Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-28T03:28:32.999Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-28T03:28:32.999Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-28T03:28:32.999Z] go: finding github.com/google/uuid v1.1.1 [2020-04-28T03:28:32.999Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-28T03:28:32.999Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-28T03:28:32.999Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.30 [2020-04-28T03:28:32.999Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-28T03:28:32.999Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-28T03:28:32.999Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-28T03:28:32.999Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-28T03:28:32.999Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-28T03:28:32.999Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-28T03:28:32.999Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-28T03:28:32.999Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-28T03:28:32.999Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-28T03:28:32.999Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-28T03:28:32.999Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-28T03:28:32.999Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-28T03:28:33.297Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-28T03:28:33.297Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-28T03:28:33.297Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-28T03:28:33.297Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-28T03:28:33.297Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-28T03:28:33.297Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-28T03:28:33.297Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-28T03:28:33.297Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-28T03:28:33.297Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-28T03:28:48.408Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-28T03:28:55.096Z] Skipping stage go (already ran) [2020-04-28T03:28:55.096Z] Staging device-modbus [2020-04-28T03:28:55.364Z] Priming go [2020-04-28T03:28:56.773Z] Priming device-modbus [2020-04-28T03:28:58.170Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-28T03:28:58.170Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-28T03:28:58.170Z] Determining the version from the project repo (version-script). [2020-04-28T03:28:58.170Z] The version has been set to '0.0.0-20200428+58041e0' [2020-04-28T03:28:58.437Z] Snapping 'edgex-device-modbus' ... [2020-04-28T03:28:59.692Z] [2020-04-28T03:28:59.692Z] Snapped edgex-device-modbus_0.0.0-20200428+58041e0_amd64.snap [Pipeline] } [2020-04-28T03:29:00.791Z] 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 [2020-04-28T03:29:02.435Z] provisioning config files... [2020-04-28T03:29:02.453Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config1030996554785992937tmp [Pipeline] { [Pipeline] sh [2020-04-28T03:29:02.945Z] + curl -s https://codecov.io/bash [2020-04-28T03:29:02.945Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config1030996554785992937tmp [2020-04-28T03:29:03.559Z] [2020-04-28T03:29:03.560Z] _____ _ [2020-04-28T03:29:03.560Z] / ____| | | [2020-04-28T03:29:03.560Z] | | ___ __| | ___ ___ _____ __ [2020-04-28T03:29:03.560Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-28T03:29:03.560Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-28T03:29:03.560Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-28T03:29:03.560Z] Bash-tbd [2020-04-28T03:29:03.560Z] [2020-04-28T03:29:03.560Z] [2020-04-28T03:29:03.560Z] ==> Jenkins CI detected. [2020-04-28T03:29:03.560Z] project root: . [2020-04-28T03:29:03.560Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-28T03:29:03.560Z] ==> Running gcov in . (disable via -X gcov) [2020-04-28T03:29:03.560Z] ==> Python coveragepy not found [2020-04-28T03:29:03.560Z] ==> Searching for coverage reports in: [2020-04-28T03:29:03.560Z] + . [2020-04-28T03:29:03.560Z] -> Found 1 reports [2020-04-28T03:29:03.560Z] ==> Detecting git/mercurial file structure [2020-04-28T03:29:03.560Z] ==> Reading reports [2020-04-28T03:29:03.560Z] + ./coverage.out bytes=22123 [2020-04-28T03:29:03.560Z] ==> Appending adjustments [2020-04-28T03:29:03.560Z] http://docs.codecov.io/docs/fixing-reports [2020-04-28T03:29:03.560Z] + Found adjustments [2020-04-28T03:29:03.560Z] ==> Gzipping contents [2020-04-28T03:29:03.560Z] ==> Uploading reports [2020-04-28T03:29:03.560Z] url: https://codecov.io [2020-04-28T03:29:03.560Z] 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= [2020-04-28T03:29:03.560Z] -> Pinging Codecov [2020-04-28T03:29:03.560Z] 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= [2020-04-28T03:29:04.154Z] -> Uploading [2020-04-28T03:29:04.428Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/58041e0ec002311af2da8d38307bce51ce1d4598 [Pipeline] } [2020-04-28T03:29:04.453Z] 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 [2020-04-28T03:29:06.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T03:29:06.889Z] ---> package-listing.sh [2020-04-28T03:29:06.889Z] ++ facter osfamily [2020-04-28T03:29:06.889Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-28T03:29:06.889Z] + OS_FAMILY=redhat [2020-04-28T03:29:06.889Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-146 [2020-04-28T03:29:06.889Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-28T03:29:06.889Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-28T03:29:06.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-28T03:29:06.889Z] + PACKAGES=/tmp/packages_start.txt [2020-04-28T03:29:06.889Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-146 ']' [2020-04-28T03:29:06.889Z] + PACKAGES=/tmp/packages_end.txt [2020-04-28T03:29:06.889Z] + case "${OS_FAMILY}" in [2020-04-28T03:29:06.889Z] + sort [2020-04-28T03:29:06.889Z] + rpm -qa [2020-04-28T03:29:12.252Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-28T03:29:12.252Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-28T03:29:12.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-28T03:29:12.252Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-146 ']' [2020-04-28T03:29:12.252Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-146/archives/ [2020-04-28T03:29:12.252Z] + 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 [2020-04-28T03:29:12.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-28T03:29:13.067Z] [2020-04-28T03:29:13.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-28T03:29:13.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-28T03:29:13.853Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-28T03:29:13.853Z] c9b1b535fdd9: Pulling fs layer [2020-04-28T03:29:13.853Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-28T03:29:13.853Z] 756a868c4378: Pulling fs layer [2020-04-28T03:29:13.853Z] 444b2fc9a129: Pulling fs layer [2020-04-28T03:29:13.853Z] ea15f1150254: Pulling fs layer [2020-04-28T03:29:13.853Z] 41b27a9f41bf: Pulling fs layer [2020-04-28T03:29:13.853Z] 28c525ee5125: Pulling fs layer [2020-04-28T03:29:13.853Z] 094b1ea09ed8: Pulling fs layer [2020-04-28T03:29:13.853Z] 138eaada9080: Pulling fs layer [2020-04-28T03:29:13.853Z] 0622d0fa9048: Pulling fs layer [2020-04-28T03:29:13.853Z] 444b2fc9a129: Waiting [2020-04-28T03:29:13.853Z] ea15f1150254: Waiting [2020-04-28T03:29:13.853Z] 41b27a9f41bf: Waiting [2020-04-28T03:29:13.853Z] 28c525ee5125: Waiting [2020-04-28T03:29:13.853Z] 094b1ea09ed8: Waiting [2020-04-28T03:29:13.853Z] 138eaada9080: Waiting [2020-04-28T03:29:13.853Z] 0622d0fa9048: Waiting [2020-04-28T03:29:13.853Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-28T03:29:13.853Z] 2cc5ad85d9ab: Download complete [2020-04-28T03:29:14.161Z] c9b1b535fdd9: Verifying Checksum [2020-04-28T03:29:14.161Z] c9b1b535fdd9: Download complete [2020-04-28T03:29:14.161Z] 444b2fc9a129: Verifying Checksum [2020-04-28T03:29:14.161Z] 444b2fc9a129: Download complete [2020-04-28T03:29:14.161Z] ea15f1150254: Verifying Checksum [2020-04-28T03:29:14.161Z] ea15f1150254: Download complete [2020-04-28T03:29:14.464Z] 28c525ee5125: Verifying Checksum [2020-04-28T03:29:14.464Z] 28c525ee5125: Download complete [2020-04-28T03:29:14.752Z] c9b1b535fdd9: Pull complete [2020-04-28T03:29:15.052Z] 756a868c4378: Verifying Checksum [2020-04-28T03:29:15.052Z] 756a868c4378: Download complete [2020-04-28T03:29:15.052Z] 2cc5ad85d9ab: Pull complete [2020-04-28T03:29:15.353Z] 138eaada9080: Verifying Checksum [2020-04-28T03:29:15.353Z] 138eaada9080: Download complete [2020-04-28T03:29:15.353Z] 0622d0fa9048: Verifying Checksum [2020-04-28T03:29:15.353Z] 0622d0fa9048: Download complete [2020-04-28T03:29:15.774Z] 094b1ea09ed8: Verifying Checksum [2020-04-28T03:29:15.774Z] 094b1ea09ed8: Download complete [2020-04-28T03:29:17.526Z] 41b27a9f41bf: Verifying Checksum [2020-04-28T03:29:17.526Z] 41b27a9f41bf: Download complete [2020-04-28T03:29:18.150Z] 756a868c4378: Pull complete [2020-04-28T03:29:18.150Z] 444b2fc9a129: Pull complete [2020-04-28T03:29:18.752Z] ea15f1150254: Pull complete [2020-04-28T03:29:23.135Z] 41b27a9f41bf: Pull complete [2020-04-28T03:29:23.404Z] 28c525ee5125: Pull complete [2020-04-28T03:29:27.807Z] 094b1ea09ed8: Pull complete [2020-04-28T03:29:27.807Z] 138eaada9080: Pull complete [2020-04-28T03:29:28.089Z] 0622d0fa9048: Pull complete [2020-04-28T03:29:28.089Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-28T03:29:28.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-28T03:29:28.603Z] prd-centos7-docker-4c-2g-6386 does not seem to be running inside a container [2020-04-28T03:29:28.847Z] $ 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 [2020-04-28T03:29:30.160Z] $ docker top 3aebaa781ba07f8b4f1b385076dae80f942ca6fd3201c9e9872e007e7a95b4aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-28T03:29:30.739Z] provisioning config files... [2020-04-28T03:29:30.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-146@tmp/config9043776892866011201tmp [Pipeline] { [Pipeline] echo [2020-04-28T03:29:30.850Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T03:29:31.788Z] ---> create-netrc.sh [Pipeline] echo [2020-04-28T03:29:31.825Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-28T03:29:32.606Z] ---> logs-deploy.sh [2020-04-28T03:29:32.607Z] + ARCHIVE_ARTIFACTS= [2020-04-28T03:29:32.607Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-28T03:29:32.607Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-28T03:29:32.607Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-28T03:29:32.607Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-146/1 [2020-04-28T03:29:32.607Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-146/1/ [2020-04-28T03:29:32.607Z] + 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 [2020-04-28T03:29:34.557Z] Archives upload complete. [2020-04-28T03:29:34.557Z] + 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/