Pull request #139 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (1224f5cce311fa48a3a31d6fe18f3e0bfaa07de9) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5373’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5399’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4592’ is offline; ‘prd-centos7-docker-4c-2g-5275’ is offline; ‘prd-centos7-docker-4c-2g-5278’ is offline; ‘prd-centos7-docker-4c-2g-5281’ is offline; ‘prd-centos7-docker-4c-2g-5394’ is offline; ‘prd-centos7-docker-4c-2g-5397’ is offline; ‘prd-centos7-docker-4c-2g-5401’ is offline; ‘prd-centos7-docker-4c-2g-5403’ is offline; ‘prd-centos7-docker-4c-2g-5407’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5395’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5406’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5409 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching without tags Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 Commit message: "add changes to integrate with new Snap stage" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T20:09:31.753Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T20:09:31.996Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T20:09:32.073Z] ========================================================= [2020-04-21T20:09:32.073Z] EdgeX Global Pipelines Version Info [2020-04-21T20:09:32.073Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 [2020-04-21T20:09:33.533Z] ------------------- [2020-04-21T20:09:33.533Z] stable info: [2020-04-21T20:09:33.533Z] ------------------- [2020-04-21T20:09:33.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T20:09:33.533Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T20:09:33.533Z] Message: update stable to v1.0.73 [2020-04-21T20:09:34.101Z] ------------------- [2020-04-21T20:09:34.101Z] experimental info: [2020-04-21T20:09:34.101Z] ------------------- [2020-04-21T20:09:34.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T20:09:34.101Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T20:09:34.101Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:09:36.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T20:09:36.039Z] [2020-04-21T20:09:36.039Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:09:36.374Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T20:09:36.374Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T20:09:36.374Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T20:09:36.374Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T20:09:36.374Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T20:09:36.374Z] 93b08a4f1073: Pulling fs layer [2020-04-21T20:09:36.374Z] 93b08a4f1073: Waiting [2020-04-21T20:09:36.374Z] b8cc5d1170e3: Download complete [2020-04-21T20:09:36.374Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T20:09:36.374Z] 9123ac7c32f7: Download complete [2020-04-21T20:09:36.638Z] 93b08a4f1073: Verifying Checksum [2020-04-21T20:09:36.638Z] 93b08a4f1073: Download complete [2020-04-21T20:09:36.638Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T20:09:36.638Z] 2924cbbf6a41: Download complete [2020-04-21T20:09:36.638Z] 9123ac7c32f7: Pull complete [2020-04-21T20:09:36.903Z] b8cc5d1170e3: Pull complete [2020-04-21T20:09:37.477Z] 2924cbbf6a41: Pull complete [2020-04-21T20:09:37.736Z] 93b08a4f1073: Pull complete [2020-04-21T20:09:37.736Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T20:09:37.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T20:09:37.871Z] prd-centos7-docker-4c-2g-5409 does not seem to be running inside a container [2020-04-21T20:09:37.910Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T20:09:38.464Z] $ docker top 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T20:09:38.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T20:09:38.744Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T20:09:38.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T20:09:38.942Z] $ docker exec 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent [2020-04-21T20:09:39.135Z] SSH_AUTH_SOCK=/tmp/ssh-n5Z17UxHqoSF/agent.15 [2020-04-21T20:09:39.135Z] SSH_AGENT_PID=22 [2020-04-21T20:09:39.156Z] Running ssh-add (command line suppressed) [2020-04-21T20:09:39.301Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_5926419672081387165.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_5926419672081387165.key) [2020-04-21T20:09:39.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T20:09:39.688Z] + git describe --exact-match --tags HEAD [2020-04-21T20:09:39.688Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T20:09:39.741Z] $ docker exec --env ******** --env ******** 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent -k [2020-04-21T20:09:39.880Z] unset SSH_AUTH_SOCK; [2020-04-21T20:09:39.880Z] unset SSH_AGENT_PID; [2020-04-21T20:09:39.880Z] echo Agent pid 22 killed; [2020-04-21T20:09:39.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T20:09:40.054Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T20:09:40.054Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T20:09:40.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T20:09:40.146Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T20:09:40.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T20:09:40.337Z] $ docker exec 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent [2020-04-21T20:09:40.527Z] SSH_AUTH_SOCK=/tmp/ssh-kAOdEVO3j1S8/agent.56 [2020-04-21T20:09:40.527Z] SSH_AGENT_PID=63 [2020-04-21T20:09:40.535Z] Running ssh-add (command line suppressed) [2020-04-21T20:09:40.683Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_615998136472213860.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_615998136472213860.key) [2020-04-21T20:09:40.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T20:09:41.081Z] + git semver init [2020-04-21T20:09:41.081Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T20:09:41.081Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git [2020-04-21T20:09:41.081Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T20:09:41.081Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T20:09:41.081Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T20:09:41.081Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T20:09:41.081Z] # $SEMVER_BRANCH = PR-139 [2020-04-21T20:09:41.081Z] # $SEMVER_TEMP = /tmp/semver-166526238 [2020-04-21T20:09:41.081Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-21T20:09:41.341Z] # '/tmp/semver-166526238' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' [2020-04-21T20:09:41.341Z] # -> Force: false [2020-04-21T20:09:41.341Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } [2020-04-21T20:09:41.351Z] $ docker exec --env ******** --env ******** 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 ssh-agent -k [2020-04-21T20:09:41.482Z] unset SSH_AUTH_SOCK; [2020-04-21T20:09:41.482Z] unset SSH_AGENT_PID; [2020-04-21T20:09:41.483Z] echo Agent pid 63 killed; [2020-04-21T20:09:41.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T20:09:41.979Z] + git semver [Pipeline] } [2020-04-21T20:09:41.993Z] $ docker stop --time=1 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 [2020-04-21T20:09:43.320Z] $ docker rm -f 11780b5fb1d2a3c989f8aedb454fb3c3d3148ef26c5ad4a28ec5758062a76b79 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T20:09:44.032Z] Stashed 24 file(s) [Pipeline] echo [2020-04-21T20:09:44.033Z] [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-21T20:09:59.270Z] Still waiting to schedule task [2020-04-21T20:09:59.271Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T20:09:59.272Z] Still waiting to schedule task [2020-04-21T20:09:59.272Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-21T20:12:53.432Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5412 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T20:12:53.471Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2020-04-21T20:12:58.918Z] using credential edgex-jenkins-ssh [2020-04-21T20:12:58.970Z] Cloning the remote Git repository [2020-04-21T20:12:58.970Z] Cloning with configured refspecs honoured and without tags [2020-04-21T20:13:00.064Z] Fetching without tags [2020-04-21T20:12:59.032Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:12:59.120Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2020-04-21T20:12:59.200Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:12:59.201Z] > git --version # timeout=10 [2020-04-21T20:12:59.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:12:59.301Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:12:59.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T20:13:00.009Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T20:13:00.022Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:13:00.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T20:13:00.572Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:13:00.963Z] Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:13:00.963Z] Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) [2020-04-21T20:13:00.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:13:00.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:13:00.100Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:13:00.598Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T20:13:00.628Z] > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 [2020-04-21T20:13:00.720Z] > git remote # timeout=10 [2020-04-21T20:13:00.781Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T20:13:00.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:13:00.860Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T20:13:00.921Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T20:13:00.977Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T20:13:01.008Z] > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 [2020-04-21T20:13:05.696Z] Commit message: "add changes to integrate with new Snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T20:13:06.692Z] ========================================================= [2020-04-21T20:13:06.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T20:13:06.692Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:13:07.417Z] Running on prd-centos7-docker-4c-2g-5413 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T20:13:07.592Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2020-04-21T20:13:07.828Z] + 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-21T20:13:08.801Z] Sending build context to Docker daemon 578kB [2020-04-21T20:13:08.801Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T20:13:08.801Z] Step 2/8 : FROM ${BASE} [2020-04-21T20:13:09.069Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T20:13:09.069Z] cde5963f3b93: Pulling fs layer [2020-04-21T20:13:09.069Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T20:13:09.069Z] 777b28850792: Pulling fs layer [2020-04-21T20:13:09.069Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T20:13:09.069Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T20:13:09.069Z] 1df406cf5192: Pulling fs layer [2020-04-21T20:13:09.069Z] cd6300453558: Pulling fs layer [2020-04-21T20:13:09.069Z] b9c365052c96: Pulling fs layer [2020-04-21T20:13:09.069Z] a2d8cc88f415: Pulling fs layer [2020-04-21T20:13:09.069Z] ea1d1ca13537: Pulling fs layer [2020-04-21T20:13:09.069Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T20:13:09.069Z] 8a11ddd9e578: Waiting [2020-04-21T20:13:09.069Z] 4cf88f913ddb: Waiting [2020-04-21T20:13:09.069Z] 1df406cf5192: Waiting [2020-04-21T20:13:09.069Z] cd6300453558: Waiting [2020-04-21T20:13:09.069Z] b9c365052c96: Waiting [2020-04-21T20:13:09.069Z] a2d8cc88f415: Waiting [2020-04-21T20:13:09.069Z] ea1d1ca13537: Waiting [2020-04-21T20:13:09.069Z] 3750a50a1c5e: Waiting [2020-04-21T20:13:09.069Z] 777b28850792: Verifying Checksum [2020-04-21T20:13:09.069Z] 777b28850792: Download complete [2020-04-21T20:13:09.069Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T20:13:09.069Z] 2a23fa8c16f7: Download complete [2020-04-21T20:13:09.069Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T20:13:09.069Z] 4cf88f913ddb: Download complete [2020-04-21T20:13:09.339Z] cde5963f3b93: Verifying Checksum [2020-04-21T20:13:09.339Z] cde5963f3b93: Download complete [2020-04-21T20:13:10.170Z] using credential edgex-jenkins-ssh [2020-04-21T20:13:10.217Z] Cloning the remote Git repository [2020-04-21T20:13:10.217Z] Cloning with configured refspecs honoured and without tags [2020-04-21T20:13:10.311Z] cde5963f3b93: Pull complete [2020-04-21T20:13:10.311Z] 1df406cf5192: Verifying Checksum [2020-04-21T20:13:10.311Z] 1df406cf5192: Download complete [2020-04-21T20:13:10.863Z] Fetching without tags [2020-04-21T20:13:10.903Z] 2a23fa8c16f7: Pull complete [2020-04-21T20:13:10.208Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:13:10.255Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2020-04-21T20:13:10.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:13:10.303Z] > git --version # timeout=10 [2020-04-21T20:13:10.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:13:10.351Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:13:10.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T20:13:10.838Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T20:13:10.844Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:13:10.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T20:13:10.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T20:13:10.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:13:10.870Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T20:13:11.180Z] 777b28850792: Pull complete [2020-04-21T20:13:11.263Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:13:11.343Z] Merge succeeded, producing 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:13:11.343Z] Checking out Revision 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 (PR-139) [2020-04-21T20:13:11.271Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T20:13:11.277Z] > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 [2020-04-21T20:13:11.311Z] > git remote # timeout=10 [2020-04-21T20:13:11.316Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T20:13:11.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T20:13:11.327Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T20:13:11.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T20:13:11.345Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T20:13:11.351Z] > git checkout -f 2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 # timeout=10 [2020-04-21T20:13:13.780Z] cd6300453558: Verifying Checksum [2020-04-21T20:13:13.780Z] cd6300453558: Download complete [2020-04-21T20:13:13.780Z] a2d8cc88f415: Verifying Checksum [2020-04-21T20:13:13.780Z] a2d8cc88f415: Download complete [2020-04-21T20:13:15.203Z] Commit message: "add changes to integrate with new Snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T20:13:15.972Z] ========================================================= [2020-04-21T20:13:15.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T20:13:15.972Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:13:16.379Z] ea1d1ca13537: Verifying Checksum [2020-04-21T20:13:16.379Z] ea1d1ca13537: Download complete [2020-04-21T20:13:16.379Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T20:13:16.379Z] 3750a50a1c5e: Download complete [2020-04-21T20:13:16.679Z] + 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-21T20:13:16.946Z] Sending build context to Docker daemon 578kB [2020-04-21T20:13:16.946Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T20:13:16.946Z] Step 2/8 : FROM ${BASE} [2020-04-21T20:13:16.946Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T20:13:16.946Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T20:13:16.946Z] 2848faf0eed1: Pulling fs layer [2020-04-21T20:13:16.946Z] 0f37312ad70f: Pulling fs layer [2020-04-21T20:13:16.946Z] 5788d62ee057: Pulling fs layer [2020-04-21T20:13:16.946Z] 0e6b1d234666: Pulling fs layer [2020-04-21T20:13:16.946Z] bf5d7aec512f: Pulling fs layer [2020-04-21T20:13:16.946Z] 34c802a77dc8: Pulling fs layer [2020-04-21T20:13:16.946Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T20:13:16.946Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T20:13:16.946Z] 5c102a31e300: Pulling fs layer [2020-04-21T20:13:16.946Z] dcfb455df0a1: Pulling fs layer [2020-04-21T20:13:16.946Z] 34c802a77dc8: Waiting [2020-04-21T20:13:16.946Z] 9eb99e56ec68: Waiting [2020-04-21T20:13:16.946Z] 27c7a5d97fbd: Waiting [2020-04-21T20:13:16.946Z] 5c102a31e300: Waiting [2020-04-21T20:13:16.946Z] dcfb455df0a1: Waiting [2020-04-21T20:13:16.946Z] 5788d62ee057: Waiting [2020-04-21T20:13:16.946Z] 0e6b1d234666: Waiting [2020-04-21T20:13:16.946Z] bf5d7aec512f: Waiting [2020-04-21T20:13:16.946Z] 0f37312ad70f: Verifying Checksum [2020-04-21T20:13:16.946Z] 0f37312ad70f: Download complete [2020-04-21T20:13:16.946Z] 2848faf0eed1: Verifying Checksum [2020-04-21T20:13:16.946Z] 2848faf0eed1: Download complete [2020-04-21T20:13:16.946Z] 0e6b1d234666: Verifying Checksum [2020-04-21T20:13:16.946Z] 0e6b1d234666: Download complete [2020-04-21T20:13:16.946Z] bf5d7aec512f: Verifying Checksum [2020-04-21T20:13:16.946Z] bf5d7aec512f: Download complete [2020-04-21T20:13:16.946Z] e6b0cf9c0882: Download complete [2020-04-21T20:13:17.534Z] e6b0cf9c0882: Pull complete [2020-04-21T20:13:18.116Z] 34c802a77dc8: Verifying Checksum [2020-04-21T20:13:18.116Z] 34c802a77dc8: Download complete [2020-04-21T20:13:18.116Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T20:13:18.116Z] 27c7a5d97fbd: Download complete [2020-04-21T20:13:18.722Z] 5c102a31e300: Verifying Checksum [2020-04-21T20:13:18.722Z] 5c102a31e300: Download complete [2020-04-21T20:13:18.722Z] dcfb455df0a1: Verifying Checksum [2020-04-21T20:13:18.722Z] dcfb455df0a1: Download complete [2020-04-21T20:13:18.983Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T20:13:18.983Z] 9eb99e56ec68: Download complete [2020-04-21T20:13:19.245Z] 5788d62ee057: Verifying Checksum [2020-04-21T20:13:19.245Z] 5788d62ee057: Download complete [2020-04-21T20:13:19.734Z] b9c365052c96: Verifying Checksum [2020-04-21T20:13:19.734Z] b9c365052c96: Download complete [2020-04-21T20:13:19.815Z] 2848faf0eed1: Pull complete [2020-04-21T20:13:19.815Z] 0f37312ad70f: Pull complete [2020-04-21T20:13:20.323Z] 8a11ddd9e578: Download complete [2020-04-21T20:13:26.402Z] 5788d62ee057: Pull complete [2020-04-21T20:13:26.402Z] 0e6b1d234666: Pull complete [2020-04-21T20:13:26.402Z] bf5d7aec512f: Pull complete [2020-04-21T20:13:31.805Z] 34c802a77dc8: Pull complete [2020-04-21T20:13:32.680Z] 8a11ddd9e578: Pull complete [2020-04-21T20:13:32.680Z] 4cf88f913ddb: Pull complete [2020-04-21T20:13:32.680Z] 1df406cf5192: Pull complete [2020-04-21T20:13:36.012Z] 9eb99e56ec68: Pull complete [2020-04-21T20:13:36.012Z] 27c7a5d97fbd: Pull complete [2020-04-21T20:13:36.275Z] 5c102a31e300: Pull complete [2020-04-21T20:13:36.535Z] dcfb455df0a1: Pull complete [2020-04-21T20:13:36.535Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T20:13:36.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T20:13:36.535Z] ---> 7c70fe431013 [2020-04-21T20:13:36.535Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T20:13:36.535Z] ---> Running in 37fb786a1433 [2020-04-21T20:13:36.794Z] Removing intermediate container 37fb786a1433 [2020-04-21T20:13:36.794Z] ---> 9b918863f213 [2020-04-21T20:13:36.794Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T20:13:36.794Z] ---> Running in b4e93a71d8f9 [2020-04-21T20:13:36.954Z] cd6300453558: Pull complete [2020-04-21T20:13:37.737Z] Removing intermediate container b4e93a71d8f9 [2020-04-21T20:13:37.737Z] ---> 34289b8323a5 [2020-04-21T20:13:37.737Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T20:13:37.737Z] ---> Running in e615cd10d3cb [2020-04-21T20:13:39.123Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T20:13:39.383Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T20:13:39.642Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:39.902Z] (2/17) Installing libmagic (5.37-r1) [2020-04-21T20:13:39.902Z] (3/17) Installing file (5.37-r1) [2020-04-21T20:13:40.162Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:40.162Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:40.162Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:41.216Z] b9c365052c96: Pull complete [2020-04-21T20:13:41.217Z] a2d8cc88f415: Pull complete [2020-04-21T20:13:43.177Z] ea1d1ca13537: Pull complete [2020-04-21T20:13:43.534Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-21T20:13:43.535Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-21T20:13:43.769Z] 3750a50a1c5e: Pull complete [2020-04-21T20:13:43.769Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T20:13:43.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T20:13:43.769Z] ---> 78745c68409d [2020-04-21T20:13:43.769Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T20:13:46.069Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-21T20:13:46.069Z] (10/17) Installing build-base (0.5-r1) [2020-04-21T20:13:46.069Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T20:13:46.329Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-21T20:13:46.329Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-21T20:13:46.589Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T20:13:46.850Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T20:13:46.850Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-21T20:13:46.850Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-21T20:13:47.109Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T20:13:47.109Z] OK: 214 MiB in 52 packages [2020-04-21T20:13:49.150Z] ---> Running in 238e34b52be8 [2020-04-21T20:13:49.151Z] Removing intermediate container 238e34b52be8 [2020-04-21T20:13:49.151Z] ---> a355e5c2d540 [2020-04-21T20:13:49.151Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T20:13:49.151Z] ---> Running in 23a67ad26783 [2020-04-21T20:13:51.119Z] Removing intermediate container 23a67ad26783 [2020-04-21T20:13:51.119Z] ---> 641bbcad0f00 [2020-04-21T20:13:51.119Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T20:13:51.314Z] Removing intermediate container e615cd10d3cb [2020-04-21T20:13:51.314Z] ---> 9c089762d1cd [2020-04-21T20:13:51.314Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T20:13:51.314Z] ---> Running in 9d1eb5c66cd8 [2020-04-21T20:13:51.314Z] Removing intermediate container 9d1eb5c66cd8 [2020-04-21T20:13:51.314Z] ---> 5ddbfb50be8b [2020-04-21T20:13:51.314Z] Step 7/8 : COPY . . [2020-04-21T20:13:51.391Z] ---> Running in 334630aafadd [2020-04-21T20:13:51.888Z] ---> 09bd2987116f [2020-04-21T20:13:51.888Z] Step 8/8 : RUN go mod download [2020-04-21T20:13:51.888Z] ---> Running in 3cb415c98794 [2020-04-21T20:13:52.368Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T20:13:52.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T20:13:53.266Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:13:53.266Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:13:53.266Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T20:13:53.266Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:13:53.266Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T20:13:53.526Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T20:13:53.526Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:13:53.526Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:13:53.526Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:13:53.526Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T20:13:53.526Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:13:53.526Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T20:13:53.526Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:13:53.526Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T20:13:53.526Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T20:13:53.526Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T20:13:53.526Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T20:13:53.547Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:53.785Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T20:13:53.785Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:13:53.785Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T20:13:53.816Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:53.816Z] (3/18) Installing libmagic (5.37-r1) [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T20:13:54.045Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T20:13:54.085Z] (4/18) Installing file (5.37-r1) [2020-04-21T20:13:54.085Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:54.304Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T20:13:54.304Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T20:13:54.304Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T20:13:54.304Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T20:13:54.304Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T20:13:54.304Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T20:13:54.304Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:13:54.304Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:13:54.304Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T20:13:54.356Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:54.356Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:13:54.562Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:13:54.562Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T20:13:54.562Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:13:54.562Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T20:13:54.821Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T20:13:54.821Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T20:13:54.821Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T20:13:54.821Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T20:13:54.821Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T20:13:54.821Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T20:13:54.821Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T20:13:54.821Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T20:13:54.821Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T20:13:54.821Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T20:13:55.085Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T20:13:55.085Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T20:13:55.085Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T20:13:55.085Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:13:57.700Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-21T20:13:57.700Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-21T20:13:58.392Z] Removing intermediate container 3cb415c98794 [2020-04-21T20:13:58.392Z] ---> e920a26a96f7 [2020-04-21T20:13:58.392Z] Successfully built e920a26a96f7 [2020-04-21T20:13:58.392Z] 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-21T20:13:58.949Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T20:13:58.949Z] . [Pipeline] withDockerContainer [2020-04-21T20:13:59.084Z] prd-centos7-docker-4c-2g-5413 does not seem to be running inside a container [2020-04-21T20:13:59.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T20:13:59.642Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-21T20:13:59.642Z] (11/18) Installing build-base (0.5-r1) [2020-04-21T20:13:59.772Z] $ docker top 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a -eo pid,comm [2020-04-21T20:13:59.908Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T20:13:59.908Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-21T20:13:59.908Z] (14/18) Installing openssh-client (8.1_p1-r0) [Pipeline] { [Pipeline] sh [2020-04-21T20:14:00.176Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T20:14:00.176Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T20:14:00.266Z] + go version [2020-04-21T20:14:00.266Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T20:14:00.443Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-21T20:14:00.443Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-21T20:14:00.574Z] + make test [2020-04-21T20:14:00.574Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T20:14:00.712Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T20:14:00.712Z] OK: 203 MiB in 52 packages [2020-04-21T20:14:01.961Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T20:14:07.378Z] Removing intermediate container 334630aafadd [2020-04-21T20:14:07.378Z] ---> 84af984a94ca [2020-04-21T20:14:07.378Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T20:14:07.378Z] ---> Running in 2c40cf142073 [2020-04-21T20:14:07.649Z] Removing intermediate container 2c40cf142073 [2020-04-21T20:14:07.649Z] ---> 2598bdee945f [2020-04-21T20:14:07.649Z] Step 7/8 : COPY . . [2020-04-21T20:14:08.617Z] ---> 016fd9218218 [2020-04-21T20:14:08.617Z] Step 8/8 : RUN go mod download [2020-04-21T20:14:08.617Z] ---> Running in 88252a2108a6 [2020-04-21T20:14:11.219Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:14:11.219Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:14:11.219Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T20:14:11.219Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:14:11.219Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T20:14:11.219Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T20:14:11.219Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:14:11.219Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:14:11.219Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:14:11.219Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T20:14:11.219Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:14:11.219Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T20:14:11.219Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:14:11.219Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T20:14:11.219Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T20:14:11.219Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T20:14:11.219Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T20:14:11.219Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T20:14:11.219Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T20:14:11.219Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:14:11.491Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T20:14:11.491Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T20:14:11.491Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T20:14:11.491Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T20:14:11.491Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:14:11.761Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T20:14:11.761Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T20:14:11.761Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T20:14:11.761Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T20:14:11.761Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T20:14:11.761Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:14:11.761Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:14:11.761Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T20:14:11.761Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:14:12.008Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T20:14:12.008Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.160s coverage: 50.3% of statements [2020-04-21T20:14:12.030Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T20:14:12.030Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T20:14:12.030Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T20:14:12.030Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T20:14:12.030Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T20:14:12.030Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T20:14:12.030Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T20:14:12.030Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T20:14:12.030Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T20:14:12.030Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T20:14:12.030Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T20:14:12.030Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T20:14:12.030Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T20:14:12.030Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T20:14:12.030Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:14:12.271Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T20:14:14.180Z] gofmt -l . [2020-04-21T20:14:14.180Z] [ "`gofmt -l .`" = "" ] [2020-04-21T20:14:14.180Z] ./bin/test-attribution-txt.sh [2020-04-21T20:14:14.749Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T20:14:15.376Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T20:14:15.380Z] $ docker stop --time=1 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a [2020-04-21T20:14:17.496Z] $ docker rm -f 4c31f5908eafb99e5d5582f8266f3a4ffd7a2ff739eacc7e2478a4c180d5db7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T20:14:18.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T20:14:19.122Z] + ls -al . [2020-04-21T20:14:19.122Z] total 104 [2020-04-21T20:14:19.122Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 20:14 . [2020-04-21T20:14:19.122Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 20:13 .. [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 20:13 Attribution.txt [2020-04-21T20:14:19.122Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 20:13 bin [2020-04-21T20:14:19.122Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 20:13 cmd [2020-04-21T20:14:19.122Z] -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 20:14 coverage.out [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 20:13 Dockerfile [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 20:13 Dockerfile.build [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 20:13 .dockerignore [2020-04-21T20:14:19.122Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 20:13 .git [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 20:13 .gitignore [2020-04-21T20:14:19.122Z] -rw-r--r--. 1 jenkins jenkins 566 Apr 21 20:14 go.mod [2020-04-21T20:14:19.122Z] -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 20:14 go.sum [2020-04-21T20:14:19.122Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 20:13 internal [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 20:13 Jenkinsfile [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 20:13 LICENSE [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 20:13 Makefile [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 20:13 README.md [2020-04-21T20:14:19.122Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 20:13 .semver [2020-04-21T20:14:19.122Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 20:13 simulator [2020-04-21T20:14:19.122Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 20:13 snap [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 20:09 VERSION [2020-04-21T20:14:19.122Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:14:19.416Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 --label arch=amd64 --label version=0.0.0 . [2020-04-21T20:14:19.416Z] Sending build context to Docker daemon 606.7kB [2020-04-21T20:14:19.416Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T20:14:19.416Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T20:14:19.416Z] ---> e920a26a96f7 [2020-04-21T20:14:19.416Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T20:14:19.676Z] ---> Running in 1f1b1780fd9e [2020-04-21T20:14:19.676Z] Removing intermediate container 1f1b1780fd9e [2020-04-21T20:14:19.676Z] ---> 4bdc84ea994e [2020-04-21T20:14:19.676Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T20:14:19.676Z] ---> Running in 0fed5960c13c [2020-04-21T20:14:20.626Z] Removing intermediate container 0fed5960c13c [2020-04-21T20:14:20.626Z] ---> 45d4a1a5300e [2020-04-21T20:14:20.626Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T20:14:20.626Z] ---> Running in fcd8ba6cfc20 [2020-04-21T20:14:21.194Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T20:14:21.761Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T20:14:22.022Z] OK: 214 MiB in 52 packages [2020-04-21T20:14:22.141Z] Removing intermediate container 88252a2108a6 [2020-04-21T20:14:22.141Z] ---> 6ee99af910a1 [2020-04-21T20:14:22.141Z] Successfully built 6ee99af910a1 [2020-04-21T20:14:22.141Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [2020-04-21T20:14:22.284Z] Removing intermediate container fcd8ba6cfc20 [2020-04-21T20:14:22.284Z] ---> 22f8596bedcd [2020-04-21T20:14:22.284Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T20:14:22.284Z] ---> Running in aebda81ad636 [Pipeline] // script [2020-04-21T20:14:22.543Z] Removing intermediate container aebda81ad636 [2020-04-21T20:14:22.543Z] ---> c986676cc171 [2020-04-21T20:14:22.543Z] Step 7/19 : COPY . . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:14:22.810Z] ---> e5a7a2bc6e70 [2020-04-21T20:14:22.810Z] Step 8/19 : RUN ${MAKE} [2020-04-21T20:14:22.810Z] ---> Running in 1979044b529b [2020-04-21T20:14:23.079Z] 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-21T20:14:23.084Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T20:14:23.353Z] . [Pipeline] withDockerContainer [2020-04-21T20:14:23.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-5412 does not seem to be running inside a container [2020-04-21T20:14:23.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T20:14:25.752Z] $ docker top 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T20:14:26.984Z] + go version [2020-04-21T20:14:26.984Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T20:14:27.690Z] + make test [2020-04-21T20:14:27.690Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T20:14:29.118Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T20:14:33.126Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T20:14:34.512Z] Removing intermediate container 1979044b529b [2020-04-21T20:14:34.512Z] ---> 05f4bc806bf3 [2020-04-21T20:14:34.512Z] Step 9/19 : FROM scratch [2020-04-21T20:14:34.512Z] ---> [2020-04-21T20:14:34.512Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T20:14:34.771Z] ---> Running in 7565def43d89 [2020-04-21T20:14:34.771Z] Removing intermediate container 7565def43d89 [2020-04-21T20:14:34.771Z] ---> c57917d039b8 [2020-04-21T20:14:34.771Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T20:14:34.771Z] ---> Running in 4c11b927c0b7 [2020-04-21T20:14:35.030Z] Removing intermediate container 4c11b927c0b7 [2020-04-21T20:14:35.030Z] ---> b1fefa01b087 [2020-04-21T20:14:35.030Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T20:14:35.291Z] ---> 7b301be8737f [2020-04-21T20:14:35.291Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T20:14:35.551Z] ---> 042861aa91b9 [2020-04-21T20:14:35.551Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T20:14:35.551Z] ---> 03b28e97eb27 [2020-04-21T20:14:35.551Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T20:14:35.810Z] ---> Running in 1044553a2911 [2020-04-21T20:14:35.810Z] Removing intermediate container 1044553a2911 [2020-04-21T20:14:35.810Z] ---> 6a0a0477d9c9 [2020-04-21T20:14:35.810Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T20:14:35.810Z] ---> Running in c4caa901d980 [2020-04-21T20:14:36.069Z] Removing intermediate container c4caa901d980 [2020-04-21T20:14:36.069Z] ---> 8c6fab568054 [2020-04-21T20:14:36.069Z] Step 17/19 : LABEL arch=amd64 [2020-04-21T20:14:36.069Z] ---> Running in a6d7487216a8 [2020-04-21T20:14:36.069Z] Removing intermediate container a6d7487216a8 [2020-04-21T20:14:36.069Z] ---> 6334e7f49189 [2020-04-21T20:14:36.069Z] Step 18/19 : LABEL git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:14:36.327Z] ---> Running in bc524106ac14 [2020-04-21T20:14:36.327Z] Removing intermediate container bc524106ac14 [2020-04-21T20:14:36.327Z] ---> 7e072fd1ae15 [2020-04-21T20:14:36.327Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T20:14:36.327Z] ---> Running in 7438ff5353c5 [2020-04-21T20:14:36.588Z] Removing intermediate container 7438ff5353c5 [2020-04-21T20:14:36.588Z] ---> 8feaf430d5eb [2020-04-21T20:14:36.588Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T20:14:36.588Z] Successfully built 8feaf430d5eb [2020-04-21T20:14:36.588Z] 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-21T20:14:37.755Z] ++ find /w/workspace/device-modbus-go/11 [2020-04-21T20:14:37.755Z] ++ grep snapcraft.yaml [2020-04-21T20:14:37.755Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/11/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T20:14:37.854Z] provisioning config files... [2020-04-21T20:14:37.866Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/11@tmp/config2697934341518239122tmp [Pipeline] { [Pipeline] sh [2020-04-21T20:14:38.220Z] + cp /w/workspace/device-modbus-go/11@tmp/config2697934341518239122tmp /w/workspace/device-modbus-go/11/edgex-snap-store-login [Pipeline] sh [2020-04-21T20:14:38.521Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/11:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T20:14:38.521Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-21T20:14:38.521Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-21T20:14:38.521Z] 5bed26d33875: Pulling fs layer [2020-04-21T20:14:38.521Z] f11b29a9c730: Pulling fs layer [2020-04-21T20:14:38.521Z] 930bda195c84: Pulling fs layer [2020-04-21T20:14:38.521Z] 78bf9a5ad49e: Pulling fs layer [2020-04-21T20:14:38.521Z] e5fbee5a4b0d: Pulling fs layer [2020-04-21T20:14:38.521Z] f452fca78f88: Pulling fs layer [2020-04-21T20:14:38.521Z] 7417ef92027a: Pulling fs layer [2020-04-21T20:14:38.521Z] 2af5c49d270b: Pulling fs layer [2020-04-21T20:14:38.521Z] df9c3bdbc40a: Pulling fs layer [2020-04-21T20:14:38.521Z] 78bf9a5ad49e: Waiting [2020-04-21T20:14:38.521Z] f452fca78f88: Waiting [2020-04-21T20:14:38.521Z] 7417ef92027a: Waiting [2020-04-21T20:14:38.521Z] e5fbee5a4b0d: Waiting [2020-04-21T20:14:38.521Z] 2af5c49d270b: Waiting [2020-04-21T20:14:38.521Z] df9c3bdbc40a: Waiting [2020-04-21T20:14:38.521Z] 930bda195c84: Verifying Checksum [2020-04-21T20:14:38.521Z] 930bda195c84: Download complete [2020-04-21T20:14:38.521Z] f11b29a9c730: Download complete [2020-04-21T20:14:38.521Z] 78bf9a5ad49e: Download complete [2020-04-21T20:14:38.521Z] f452fca78f88: Download complete [2020-04-21T20:14:38.521Z] 7417ef92027a: Verifying Checksum [2020-04-21T20:14:38.521Z] 7417ef92027a: Download complete [2020-04-21T20:14:38.521Z] 2af5c49d270b: Verifying Checksum [2020-04-21T20:14:38.521Z] 2af5c49d270b: Download complete [2020-04-21T20:14:38.521Z] df9c3bdbc40a: Verifying Checksum [2020-04-21T20:14:38.521Z] df9c3bdbc40a: Download complete [2020-04-21T20:14:38.780Z] 5bed26d33875: Verifying Checksum [2020-04-21T20:14:38.780Z] 5bed26d33875: Download complete [2020-04-21T20:14:42.987Z] e5fbee5a4b0d: Verifying Checksum [2020-04-21T20:14:42.987Z] e5fbee5a4b0d: Download complete [2020-04-21T20:14:43.554Z] 5bed26d33875: Pull complete [2020-04-21T20:14:43.554Z] f11b29a9c730: Pull complete [2020-04-21T20:14:43.554Z] 930bda195c84: Pull complete [2020-04-21T20:14:43.815Z] 78bf9a5ad49e: Pull complete [2020-04-21T20:15:01.440Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T20:15:01.440Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements [2020-04-21T20:15:01.440Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T20:15:06.807Z] gofmt -l . [2020-04-21T20:15:06.807Z] [ "`gofmt -l .`" = "" ] [2020-04-21T20:15:06.807Z] ./bin/test-attribution-txt.sh [2020-04-21T20:15:07.077Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T20:15:07.714Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T20:15:08.144Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T20:15:08.152Z] $ docker stop --time=1 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 [2020-04-21T20:15:10.422Z] e5fbee5a4b0d: Pull complete [2020-04-21T20:15:10.422Z] f452fca78f88: Pull complete [2020-04-21T20:15:10.422Z] 7417ef92027a: Pull complete [2020-04-21T20:15:10.422Z] 2af5c49d270b: Pull complete [2020-04-21T20:15:10.422Z] df9c3bdbc40a: Pull complete [2020-04-21T20:15:10.422Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-04-21T20:15:10.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T20:15:10.422Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-04-21T20:15:10.422Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-04-21T20:15:10.422Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-04-21T20:15:10.422Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-04-21T20:15:10.422Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] [2020-04-21T20:15:10.422Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] [2020-04-21T20:15:10.422Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] [2020-04-21T20:15:10.422Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] [2020-04-21T20:15:10.422Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-04-21T20:15:10.422Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] [2020-04-21T20:15:10.422Z] Fetched 4553 kB in 2s (3006 kB/s) [2020-04-21T20:15:10.525Z] $ docker rm -f 2472971092bb70f9582abdeb7fde9e69595b4443a7b4c168fd3c4119dd8b7356 [2020-04-21T20:15:10.991Z] Reading package lists... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T20:15:11.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T20:15:12.138Z] + ls -al . [2020-04-21T20:15:12.139Z] total 136 [2020-04-21T20:15:12.139Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 20:15 . [2020-04-21T20:15:12.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:12 .. [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 20:13 .dockerignore [2020-04-21T20:15:12.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 20:13 .git [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 20:13 .gitignore [2020-04-21T20:15:12.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 .semver [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 20:13 Attribution.txt [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 20:13 Dockerfile [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 20:13 Dockerfile.build [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 20:13 Jenkinsfile [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 20:13 LICENSE [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 20:13 Makefile [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 20:13 README.md [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 20:09 VERSION [2020-04-21T20:15:12.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:13 bin [2020-04-21T20:15:12.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 cmd [2020-04-21T20:15:12.139Z] -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 20:14 coverage.out [2020-04-21T20:15:12.139Z] -rw-r--r-- 1 jenkins jenkins 566 Apr 21 20:15 go.mod [2020-04-21T20:15:12.139Z] -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 20:15 go.sum [2020-04-21T20:15:12.139Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 20:13 internal [2020-04-21T20:15:12.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 20:13 simulator [2020-04-21T20:15:12.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 20:13 snap [2020-04-21T20:15:12.139Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:15:12.472Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 --label arch=arm64 --label version=0.0.0 . [2020-04-21T20:15:13.059Z] Sending build context to Docker daemon 606.7kB [2020-04-21T20:15:13.059Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T20:15:13.059Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T20:15:13.059Z] ---> 6ee99af910a1 [2020-04-21T20:15:13.059Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T20:15:13.059Z] ---> Running in c48d8381053d [2020-04-21T20:15:13.644Z] Removing intermediate container c48d8381053d [2020-04-21T20:15:13.644Z] ---> 7b48a5cb42f3 [2020-04-21T20:15:13.644Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T20:15:13.644Z] ---> Running in 89e7082fb010 [2020-04-21T20:15:14.286Z] 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-21T20:15:15.596Z] Removing intermediate container 89e7082fb010 [2020-04-21T20:15:15.596Z] ---> c21bbe30fa64 [2020-04-21T20:15:15.596Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T20:15:15.596Z] ---> Running in 19cb5ffca398 [2020-04-21T20:15:16.190Z] Reading package lists... [2020-04-21T20:15:16.190Z] Building dependency tree... [2020-04-21T20:15:16.190Z] Reading state information... [2020-04-21T20:15:16.449Z] The following packages were automatically installed and are no longer required: [2020-04-21T20:15:16.449Z] libjq1 liblzo2-2 libonig4 [2020-04-21T20:15:16.449Z] Use 'sudo apt autoremove' to remove them. [2020-04-21T20:15:16.449Z] Suggested packages: [2020-04-21T20:15:16.449Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-21T20:15:16.449Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-21T20:15:16.449Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-21T20:15:16.449Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-21T20:15:16.449Z] The following NEW packages will be installed: [2020-04-21T20:15:16.449Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-21T20:15:16.449Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-21T20:15:16.449Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-21T20:15:16.449Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T20:15:16.560Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T20:15:16.708Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-21T20:15:16.708Z] Need to get 14.7 MB of archives. [2020-04-21T20:15:16.708Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-21T20:15:16.708Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-21T20:15:16.967Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-21T20:15:16.967Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-21T20:15:16.967Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-21T20:15:16.967Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-21T20:15:17.145Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T20:15:17.226Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-21T20:15:17.226Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-21T20:15:17.226Z] 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-21T20:15:17.485Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-21T20:15:17.485Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-21T20:15:17.485Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-21T20:15:17.731Z] OK: 203 MiB in 52 packages [2020-04-21T20:15:17.743Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-21T20:15:17.743Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-21T20:15:17.743Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-21T20:15:17.743Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-21T20:15:17.743Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-21T20:15:17.743Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-21T20:15:17.743Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-21T20:15:17.743Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-21T20:15:17.743Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-21T20:15:17.744Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-21T20:15:17.744Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-21T20:15:17.744Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-21T20:15:17.744Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-04-21T20:15:17.744Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-04-21T20:15:18.002Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-21T20:15:18.002Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-21T20:15:18.261Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-21T20:15:18.262Z] Fetched 14.7 MB in 1s (10.8 MB/s) [2020-04-21T20:15:18.521Z] Selecting previously unselected package libxau6:amd64. [2020-04-21T20:15:18.521Z] (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-21T20:15:18.521Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-04-21T20:15:18.521Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-04-21T20:15:18.521Z] Selecting previously unselected package libbsd0:amd64. [2020-04-21T20:15:18.521Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-04-21T20:15:18.521Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-21T20:15:18.780Z] Selecting previously unselected package libxdmcp6:amd64. [2020-04-21T20:15:18.780Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-04-21T20:15:18.780Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-21T20:15:18.780Z] Selecting previously unselected package libxcb1:amd64. [2020-04-21T20:15:18.780Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-04-21T20:15:18.781Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-21T20:15:18.781Z] Selecting previously unselected package libx11-data. [2020-04-21T20:15:18.781Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-21T20:15:18.781Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:15:19.147Z] Removing intermediate container 19cb5ffca398 [2020-04-21T20:15:19.147Z] ---> fdde45766eef [2020-04-21T20:15:19.147Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T20:15:19.147Z] ---> Running in f236b5c82a11 [2020-04-21T20:15:19.347Z] Selecting previously unselected package libx11-6:amd64. [2020-04-21T20:15:19.347Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-04-21T20:15:19.347Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:15:19.452Z] Removing intermediate container f236b5c82a11 [2020-04-21T20:15:19.452Z] ---> 39005f046041 [2020-04-21T20:15:19.452Z] Step 7/19 : COPY . . [2020-04-21T20:15:19.606Z] Selecting previously unselected package libxext6:amd64. [2020-04-21T20:15:19.606Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-04-21T20:15:19.606Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-04-21T20:15:19.606Z] Selecting previously unselected package perl-modules-5.26. [2020-04-21T20:15:19.606Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-21T20:15:19.606Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:20.459Z] ---> bb1b08899799 [2020-04-21T20:15:20.459Z] Step 8/19 : RUN ${MAKE} [2020-04-21T20:15:20.459Z] ---> Running in f5695e6e31ec [2020-04-21T20:15:21.444Z] 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-21T20:15:22.146Z] Selecting previously unselected package libgdbm5:amd64. [2020-04-21T20:15:22.146Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-04-21T20:15:22.146Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-04-21T20:15:22.146Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-04-21T20:15:22.146Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-04-21T20:15:22.146Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-21T20:15:22.146Z] Selecting previously unselected package libperl5.26:amd64. [2020-04-21T20:15:22.146Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-21T20:15:22.146Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:23.525Z] Selecting previously unselected package perl. [2020-04-21T20:15:23.525Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-21T20:15:23.525Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:23.783Z] Selecting previously unselected package less. [2020-04-21T20:15:23.783Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-04-21T20:15:23.783Z] Unpacking less (487-0.1) ... [2020-04-21T20:15:23.783Z] Selecting previously unselected package libexpat1:amd64. [2020-04-21T20:15:23.783Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-04-21T20:15:23.783Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-21T20:15:23.783Z] Selecting previously unselected package netbase. [2020-04-21T20:15:23.783Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-21T20:15:23.783Z] Unpacking netbase (5.4) ... [2020-04-21T20:15:24.044Z] Selecting previously unselected package libedit2:amd64. [2020-04-21T20:15:24.044Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-04-21T20:15:24.044Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-04-21T20:15:25.953Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-04-21T20:15:25.953Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-04-21T20:15:25.953Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T20:15:25.953Z] Selecting previously unselected package libxmuu1:amd64. [2020-04-21T20:15:25.953Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-04-21T20:15:25.953Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-21T20:15:25.953Z] Selecting previously unselected package openssh-client. [2020-04-21T20:15:25.953Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-04-21T20:15:25.953Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T20:15:25.953Z] Selecting previously unselected package xauth. [2020-04-21T20:15:25.953Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-04-21T20:15:25.953Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-21T20:15:25.953Z] Selecting previously unselected package curl. [2020-04-21T20:15:25.953Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-21T20:15:25.953Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-21T20:15:26.212Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-04-21T20:15:26.212Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-21T20:15:26.212Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-21T20:15:26.212Z] Selecting previously unselected package liberror-perl. [2020-04-21T20:15:26.212Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-21T20:15:26.212Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-21T20:15:26.212Z] Selecting previously unselected package git-man. [2020-04-21T20:15:26.212Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-21T20:15:26.212Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:15:26.474Z] Selecting previously unselected package git. [2020-04-21T20:15:26.474Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-04-21T20:15:26.474Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:15:27.044Z] Selecting previously unselected package make. [2020-04-21T20:15:27.044Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-04-21T20:15:27.044Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-21T20:15:27.305Z] Selecting previously unselected package patch. [2020-04-21T20:15:27.305Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-04-21T20:15:27.305Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-21T20:15:27.305Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-04-21T20:15:27.305Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:15:27.305Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-21T20:15:27.305Z] Setting up less (487-0.1) ... [2020-04-21T20:15:27.565Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-21T20:15:27.565Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T20:15:27.565Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-21T20:15:27.828Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-21T20:15:27.829Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:27.829Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-04-21T20:15:27.829Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-21T20:15:27.829Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-21T20:15:27.831Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-21T20:15:27.831Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-21T20:15:27.831Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T20:15:28.090Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:15:28.090Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-04-21T20:15:28.090Z] Setting up netbase (5.4) ... [2020-04-21T20:15:28.090Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:28.350Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-21T20:15:28.350Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:15:28.350Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-21T20:15:28.350Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-21T20:15:28.350Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-04-21T20:15:28.350Z] Setting up liberror-perl (0.17025-1) ... [2020-04-21T20:15:28.350Z] Setting up xauth (1:1.0.10-1) ... [2020-04-21T20:15:28.350Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:15:28.609Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-21T20:15:31.149Z] curl set to automatically installed. [2020-04-21T20:15:31.149Z] git set to automatically installed. [2020-04-21T20:15:31.149Z] git-man set to automatically installed. [2020-04-21T20:15:31.149Z] less set to automatically installed. [2020-04-21T20:15:31.149Z] libbsd0 set to automatically installed. [2020-04-21T20:15:31.149Z] libcurl3-gnutls set to automatically installed. [2020-04-21T20:15:31.149Z] libedit2 set to automatically installed. [2020-04-21T20:15:31.149Z] liberror-perl set to automatically installed. [2020-04-21T20:15:31.149Z] libexpat1 set to automatically installed. [2020-04-21T20:15:31.149Z] libgdbm-compat4 set to automatically installed. [2020-04-21T20:15:31.149Z] libgdbm5 set to automatically installed. [2020-04-21T20:15:31.149Z] libperl5.26 set to automatically installed. [2020-04-21T20:15:31.149Z] libssl1.0.0 set to automatically installed. [2020-04-21T20:15:31.149Z] libx11-6 set to automatically installed. [2020-04-21T20:15:31.149Z] libx11-data set to automatically installed. [2020-04-21T20:15:31.149Z] libxau6 set to automatically installed. [2020-04-21T20:15:31.149Z] libxcb1 set to automatically installed. [2020-04-21T20:15:31.149Z] libxdmcp6 set to automatically installed. [2020-04-21T20:15:31.149Z] libxext6 set to automatically installed. [2020-04-21T20:15:31.149Z] libxmuu1 set to automatically installed. [2020-04-21T20:15:31.149Z] make set to automatically installed. [2020-04-21T20:15:31.149Z] netbase set to automatically installed. [2020-04-21T20:15:31.149Z] openssh-client set to automatically installed. [2020-04-21T20:15:31.149Z] patch set to automatically installed. [2020-04-21T20:15:31.149Z] perl set to automatically installed. [2020-04-21T20:15:31.149Z] perl-modules-5.26 set to automatically installed. [2020-04-21T20:15:31.149Z] xauth set to automatically installed. [2020-04-21T20:15:31.149Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-21T20:15:31.149Z] Please ensure the environment is properly setup before continuing. [2020-04-21T20:15:31.149Z] Ignore this message if the appropriate measures have already been taken [2020-04-21T20:15:32.530Z] Pulling go [2020-04-21T20:15:33.097Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-21T20:15:33.097Z] Skipping pull go (already ran) [2020-04-21T20:15:33.097Z] Building go [2020-04-21T20:15:33.363Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-21T20:15:33.363Z] Dload Upload Total Spent Left Speed [2020-04-21T20:15:34.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 49 114M 49 57.2M 0 0 91.6M 0 0:00:01 --:--:-- 0:00:01 91.5M 100 114M 100 114M 0 0 98.1M 0 0:00:01 0:00:01 --:--:-- 98.1M [2020-04-21T20:15:35.440Z] go1.13.5.linux-amd64.tar.gz: OK [2020-04-21T20:15:43.565Z] Staging go [2020-04-21T20:15:44.158Z] Pulling device-modbus [2020-04-21T20:15:45.099Z] Skipping build go (already ran) [2020-04-21T20:15:45.099Z] Building device-modbus [2020-04-21T20:15:45.099Z] 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-21T20:15:46.037Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:15:46.037Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:15:46.037Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-21T20:15:46.037Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-21T20:15:46.037Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-21T20:15:46.037Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:15:46.037Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:15:46.037Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-21T20:15:46.297Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-21T20:15:46.297Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:15:46.297Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:15:46.297Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:15:46.297Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-21T20:15:46.297Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-21T20:15:46.297Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:15:46.297Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:15:46.297Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:15:46.297Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-21T20:15:46.297Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:15:46.297Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-21T20:15:46.297Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:15:46.297Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:15:46.297Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-21T20:15:46.297Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-21T20:15:46.297Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:15:46.297Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:15:46.297Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:15:46.297Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:15:46.297Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:15:46.297Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:15:46.297Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:15:46.297Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-21T20:15:46.297Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:15:46.297Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:15:46.297Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:15:46.297Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-21T20:15:46.297Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:15:46.297Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:15:46.297Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:15:46.297Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:15:46.297Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:15:46.297Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:15:46.297Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:15:46.297Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:15:46.557Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-21T20:15:46.557Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:15:46.557Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:15:46.557Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:15:46.557Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:15:46.557Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:15:46.557Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:15:46.557Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:15:46.557Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:15:46.557Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:15:46.557Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:15:46.557Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T20:15:46.557Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:15:46.557Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:15:46.557Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:15:46.557Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:15:46.557Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T20:15:46.557Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:15:46.557Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T20:15:46.557Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:15:46.557Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:15:46.557Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:15:46.557Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T20:15:46.557Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:15:46.557Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:15:46.557Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T20:15:46.557Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:15:46.557Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:15:46.557Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:15:46.557Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T20:15:46.557Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:15:46.557Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:15:46.557Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:15:46.816Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T20:15:46.816Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:15:46.816Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:15:46.816Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:15:48.202Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T20:15:54.870Z] Removing intermediate container f5695e6e31ec [2020-04-21T20:15:54.870Z] ---> 83dc42de07f9 [2020-04-21T20:15:54.870Z] Step 9/19 : FROM scratch [2020-04-21T20:15:54.870Z] ---> [2020-04-21T20:15:54.870Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T20:15:54.870Z] ---> Running in 49f8a155b6e9 [2020-04-21T20:15:54.870Z] Removing intermediate container 49f8a155b6e9 [2020-04-21T20:15:54.870Z] ---> 31da4605eb48 [2020-04-21T20:15:54.870Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T20:15:54.870Z] ---> Running in db5de63c56d9 [2020-04-21T20:15:54.870Z] Removing intermediate container db5de63c56d9 [2020-04-21T20:15:54.870Z] ---> 5c7d99081da2 [2020-04-21T20:15:54.870Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T20:15:55.836Z] ---> a2bff2809b9c [2020-04-21T20:15:55.836Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T20:15:56.420Z] ---> 5be2bd5e96ba [2020-04-21T20:15:56.420Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T20:15:56.873Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T20:15:57.006Z] ---> f2554e306d01 [2020-04-21T20:15:57.006Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T20:15:57.006Z] ---> Running in 8cf0ba63133a [2020-04-21T20:15:57.284Z] Removing intermediate container 8cf0ba63133a [2020-04-21T20:15:57.284Z] ---> 027a5a135abf [2020-04-21T20:15:57.284Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T20:15:57.553Z] ---> Running in 4e1585e2381c [2020-04-21T20:15:57.820Z] Removing intermediate container 4e1585e2381c [2020-04-21T20:15:57.820Z] ---> 5e22a74b25c2 [2020-04-21T20:15:57.820Z] Step 17/19 : LABEL arch=arm64 [2020-04-21T20:15:58.088Z] ---> Running in 3e354912f11c [2020-04-21T20:15:58.355Z] Removing intermediate container 3e354912f11c [2020-04-21T20:15:58.355Z] ---> 92f1a772d49c [2020-04-21T20:15:58.355Z] Step 18/19 : LABEL git_sha=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [2020-04-21T20:15:58.623Z] ---> Running in c95c17a48e09 [2020-04-21T20:15:58.891Z] Removing intermediate container c95c17a48e09 [2020-04-21T20:15:58.891Z] ---> 354e0c5760e0 [2020-04-21T20:15:58.891Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T20:15:58.891Z] ---> Running in b4cb101aec92 [2020-04-21T20:15:59.479Z] Removing intermediate container b4cb101aec92 [2020-04-21T20:15:59.479Z] ---> b79f265c5503 [2020-04-21T20:15:59.479Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T20:15:59.479Z] Successfully built b79f265c5503 [2020-04-21T20:15:59.479Z] 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-21T20:16:00.161Z] Skipping stage go (already ran) [2020-04-21T20:16:00.161Z] Staging device-modbus [2020-04-21T20:16:00.290Z] + find /w/workspace/device-modbus-go/11 [2020-04-21T20:16:00.290Z] + grep snapcraft.yaml [2020-04-21T20:16:00.290Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/11/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T20:16:00.461Z] provisioning config files... [2020-04-21T20:16:00.486Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/11@tmp/config1842976738324113580tmp [Pipeline] { [Pipeline] sh [2020-04-21T20:16:00.880Z] + cp /w/workspace/device-modbus-go/11@tmp/config1842976738324113580tmp /w/workspace/device-modbus-go/11/edgex-snap-store-login [Pipeline] sh [2020-04-21T20:16:01.212Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/11:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T20:16:01.481Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-21T20:16:01.481Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-21T20:16:01.481Z] b2f61026a351: Pulling fs layer [2020-04-21T20:16:01.481Z] 5538fb30c42c: Pulling fs layer [2020-04-21T20:16:01.481Z] f0b05810781a: Pulling fs layer [2020-04-21T20:16:01.481Z] 0180a33352d6: Pulling fs layer [2020-04-21T20:16:01.481Z] e7604b0c0f53: Pulling fs layer [2020-04-21T20:16:01.481Z] db689cb83ae0: Pulling fs layer [2020-04-21T20:16:01.481Z] 6138af208834: Pulling fs layer [2020-04-21T20:16:01.481Z] 007c8e8c5d63: Pulling fs layer [2020-04-21T20:16:01.481Z] 4f7a387c642f: Pulling fs layer [2020-04-21T20:16:01.481Z] e7604b0c0f53: Waiting [2020-04-21T20:16:01.481Z] db689cb83ae0: Waiting [2020-04-21T20:16:01.481Z] 6138af208834: Waiting [2020-04-21T20:16:01.481Z] 007c8e8c5d63: Waiting [2020-04-21T20:16:01.481Z] 4f7a387c642f: Waiting [2020-04-21T20:16:01.481Z] 0180a33352d6: Waiting [2020-04-21T20:16:01.481Z] f0b05810781a: Verifying Checksum [2020-04-21T20:16:01.481Z] f0b05810781a: Download complete [2020-04-21T20:16:01.481Z] 5538fb30c42c: Verifying Checksum [2020-04-21T20:16:01.481Z] 5538fb30c42c: Download complete [2020-04-21T20:16:01.481Z] 0180a33352d6: Verifying Checksum [2020-04-21T20:16:01.481Z] 0180a33352d6: Download complete [2020-04-21T20:16:01.538Z] Priming go [2020-04-21T20:16:01.751Z] db689cb83ae0: Verifying Checksum [2020-04-21T20:16:01.752Z] db689cb83ae0: Download complete [2020-04-21T20:16:01.752Z] 6138af208834: Verifying Checksum [2020-04-21T20:16:01.752Z] 6138af208834: Download complete [2020-04-21T20:16:01.752Z] 007c8e8c5d63: Verifying Checksum [2020-04-21T20:16:01.752Z] 007c8e8c5d63: Download complete [2020-04-21T20:16:01.752Z] 4f7a387c642f: Verifying Checksum [2020-04-21T20:16:01.752Z] 4f7a387c642f: Download complete [2020-04-21T20:16:02.114Z] Priming device-modbus [2020-04-21T20:16:03.514Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-21T20:16:03.514Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-21T20:16:03.514Z] Determining the version from the project repo (version-script). [2020-04-21T20:16:03.514Z] The version has been set to '0.0.0-20200421+2a0e1d9' [2020-04-21T20:16:03.514Z] Snapping 'edgex-device-modbus' ... [2020-04-21T20:16:03.711Z] b2f61026a351: Verifying Checksum [2020-04-21T20:16:03.712Z] b2f61026a351: Download complete [2020-04-21T20:16:04.494Z] [2020-04-21T20:16:04.494Z] Snapped edgex-device-modbus_0.0.0-20200421+2a0e1d9_amd64.snap [Pipeline] } [2020-04-21T20:16:05.071Z] 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-21T20:16:07.072Z] b2f61026a351: Pull complete [2020-04-21T20:16:07.072Z] 5538fb30c42c: Pull complete [2020-04-21T20:16:07.657Z] f0b05810781a: Pull complete [2020-04-21T20:16:07.657Z] 0180a33352d6: Pull complete [2020-04-21T20:16:29.738Z] e7604b0c0f53: Download complete [2020-04-21T20:17:02.016Z] e7604b0c0f53: Pull complete [2020-04-21T20:17:02.016Z] db689cb83ae0: Pull complete [2020-04-21T20:17:02.016Z] 6138af208834: Pull complete [2020-04-21T20:17:02.016Z] 007c8e8c5d63: Pull complete [2020-04-21T20:17:02.016Z] 4f7a387c642f: Pull complete [2020-04-21T20:17:02.016Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-04-21T20:17:02.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T20:17:03.969Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-04-21T20:17:03.969Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-04-21T20:17:04.238Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-04-21T20:17:04.505Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-04-21T20:17:04.774Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] [2020-04-21T20:17:05.359Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] [2020-04-21T20:17:05.359Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-04-21T20:17:05.359Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] [2020-04-21T20:17:05.626Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] [2020-04-21T20:17:05.626Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] [2020-04-21T20:17:06.209Z] Fetched 3651 kB in 2s (1554 kB/s) [2020-04-21T20:17:11.556Z] Reading package lists... [2020-04-21T20:17:29.767Z] 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-21T20:17:33.115Z] Reading package lists... [2020-04-21T20:17:33.383Z] Building dependency tree... [2020-04-21T20:17:33.383Z] Reading state information... [2020-04-21T20:17:34.343Z] The following packages were automatically installed and are no longer required: [2020-04-21T20:17:34.343Z] libjq1 liblzo2-2 libonig4 [2020-04-21T20:17:34.343Z] Use 'sudo apt autoremove' to remove them. [2020-04-21T20:17:34.343Z] Suggested packages: [2020-04-21T20:17:34.343Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-21T20:17:34.343Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-21T20:17:34.343Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-21T20:17:34.343Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-21T20:17:34.610Z] The following NEW packages will be installed: [2020-04-21T20:17:34.610Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-21T20:17:34.610Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-21T20:17:34.610Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-21T20:17:34.610Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T20:17:34.876Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-21T20:17:34.877Z] Need to get 12.9 MB of archives. [2020-04-21T20:17:34.877Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-21T20:17:34.877Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-21T20:17:34.877Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-21T20:17:35.143Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-21T20:17:35.143Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-21T20:17:35.143Z] 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-21T20:17:35.143Z] 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-21T20:17:35.411Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-21T20:17:35.411Z] 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-21T20:17:36.376Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-21T20:17:36.376Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-21T20:17:36.376Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-21T20:17:36.962Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-21T20:17:37.229Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-21T20:17:37.229Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-21T20:17:37.229Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-21T20:17:37.229Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-21T20:17:37.229Z] 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-21T20:17:37.497Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-21T20:17:37.498Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-21T20:17:37.498Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-21T20:17:37.498Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-21T20:17:37.498Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-21T20:17:37.498Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-21T20:17:37.498Z] 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-21T20:17:37.765Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-04-21T20:17:38.742Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-21T20:17:38.742Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-21T20:17:39.327Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-21T20:17:39.327Z] Fetched 12.9 MB in 4s (3298 kB/s) [2020-04-21T20:17:39.327Z] Selecting previously unselected package libxau6:arm64. [2020-04-21T20:17:39.327Z] (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-21T20:17:39.327Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-04-21T20:17:39.596Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-04-21T20:17:39.596Z] Selecting previously unselected package libbsd0:arm64. [2020-04-21T20:17:39.596Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-04-21T20:17:39.596Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-21T20:17:39.596Z] Selecting previously unselected package libxdmcp6:arm64. [2020-04-21T20:17:39.863Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-04-21T20:17:39.863Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-21T20:17:39.863Z] Selecting previously unselected package libxcb1:arm64. [2020-04-21T20:17:39.863Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-04-21T20:17:39.863Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-21T20:17:39.863Z] Selecting previously unselected package libx11-data. [2020-04-21T20:17:39.863Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-21T20:17:40.132Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:17:40.402Z] Selecting previously unselected package libx11-6:arm64. [2020-04-21T20:17:40.402Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-04-21T20:17:40.402Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:17:40.670Z] Selecting previously unselected package libxext6:arm64. [2020-04-21T20:17:40.670Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-04-21T20:17:40.670Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-04-21T20:17:40.670Z] Selecting previously unselected package perl-modules-5.26. [2020-04-21T20:17:40.670Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-21T20:17:40.670Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:42.081Z] Selecting previously unselected package libgdbm5:arm64. [2020-04-21T20:17:42.082Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-04-21T20:17:42.082Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-04-21T20:17:42.347Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-04-21T20:17:42.347Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-04-21T20:17:42.347Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-21T20:17:42.347Z] Selecting previously unselected package libperl5.26:arm64. [2020-04-21T20:17:42.347Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-21T20:17:42.347Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:43.756Z] Selecting previously unselected package perl. [2020-04-21T20:17:43.756Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-21T20:17:43.756Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:43.756Z] Selecting previously unselected package less. [2020-04-21T20:17:43.756Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-04-21T20:17:43.756Z] Unpacking less (487-0.1) ... [2020-04-21T20:17:44.025Z] Selecting previously unselected package libexpat1:arm64. [2020-04-21T20:17:44.025Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-04-21T20:17:44.025Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-21T20:17:44.025Z] Selecting previously unselected package netbase. [2020-04-21T20:17:44.025Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-21T20:17:44.025Z] Unpacking netbase (5.4) ... [2020-04-21T20:17:44.293Z] Selecting previously unselected package libedit2:arm64. [2020-04-21T20:17:44.293Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-04-21T20:17:44.293Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-04-21T20:17:44.293Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-04-21T20:17:44.293Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-04-21T20:17:44.560Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T20:17:44.829Z] Selecting previously unselected package libxmuu1:arm64. [2020-04-21T20:17:44.829Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-04-21T20:17:44.829Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-21T20:17:44.829Z] Selecting previously unselected package openssh-client. [2020-04-21T20:17:44.829Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-04-21T20:17:44.829Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T20:17:45.098Z] Selecting previously unselected package xauth. [2020-04-21T20:17:45.098Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-04-21T20:17:45.098Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-21T20:17:45.365Z] Selecting previously unselected package curl. [2020-04-21T20:17:45.365Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-21T20:17:45.365Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-21T20:17:45.365Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-04-21T20:17:45.365Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-21T20:17:45.365Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-21T20:17:45.636Z] Selecting previously unselected package liberror-perl. [2020-04-21T20:17:45.636Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-21T20:17:45.636Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-21T20:17:45.636Z] Selecting previously unselected package git-man. [2020-04-21T20:17:45.636Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-21T20:17:45.636Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:17:45.905Z] Selecting previously unselected package git. [2020-04-21T20:17:45.905Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-04-21T20:17:45.905Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:17:47.317Z] Selecting previously unselected package make. [2020-04-21T20:17:47.317Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-04-21T20:17:47.317Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-21T20:17:47.317Z] Selecting previously unselected package patch. [2020-04-21T20:17:47.317Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-04-21T20:17:47.317Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-21T20:17:47.317Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-04-21T20:17:47.586Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:17:47.586Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-21T20:17:47.586Z] Setting up less (487-0.1) ... [2020-04-21T20:17:47.853Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-21T20:17:47.853Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T20:17:48.439Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-21T20:17:48.439Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-21T20:17:48.439Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:48.439Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-04-21T20:17:48.440Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-21T20:17:48.440Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-21T20:17:48.440Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-21T20:17:48.440Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-21T20:17:48.440Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T20:17:49.024Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:17:49.024Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-04-21T20:17:49.024Z] Setting up netbase (5.4) ... [2020-04-21T20:17:49.024Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:49.024Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-21T20:17:49.024Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T20:17:49.292Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-21T20:17:49.292Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-21T20:17:49.292Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-04-21T20:17:49.292Z] Setting up liberror-perl (0.17025-1) ... [2020-04-21T20:17:49.292Z] Setting up xauth (1:1.0.10-1) ... [2020-04-21T20:17:49.559Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T20:17:49.559Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-21T20:17:56.284Z] curl set to automatically installed. [2020-04-21T20:17:56.284Z] git set to automatically installed. [2020-04-21T20:17:56.284Z] git-man set to automatically installed. [2020-04-21T20:17:56.284Z] less set to automatically installed. [2020-04-21T20:17:56.284Z] libbsd0 set to automatically installed. [2020-04-21T20:17:56.284Z] libcurl3-gnutls set to automatically installed. [2020-04-21T20:17:56.284Z] libedit2 set to automatically installed. [2020-04-21T20:17:56.284Z] liberror-perl set to automatically installed. [2020-04-21T20:17:56.284Z] libexpat1 set to automatically installed. [2020-04-21T20:17:56.284Z] libgdbm-compat4 set to automatically installed. [2020-04-21T20:17:56.284Z] libgdbm5 set to automatically installed. [2020-04-21T20:17:56.284Z] libperl5.26 set to automatically installed. [2020-04-21T20:17:56.284Z] libssl1.0.0 set to automatically installed. [2020-04-21T20:17:56.284Z] libx11-6 set to automatically installed. [2020-04-21T20:17:56.284Z] libx11-data set to automatically installed. [2020-04-21T20:17:56.284Z] libxau6 set to automatically installed. [2020-04-21T20:17:56.284Z] libxcb1 set to automatically installed. [2020-04-21T20:17:56.284Z] libxdmcp6 set to automatically installed. [2020-04-21T20:17:56.284Z] libxext6 set to automatically installed. [2020-04-21T20:17:56.284Z] libxmuu1 set to automatically installed. [2020-04-21T20:17:56.284Z] make set to automatically installed. [2020-04-21T20:17:56.284Z] netbase set to automatically installed. [2020-04-21T20:17:56.284Z] openssh-client set to automatically installed. [2020-04-21T20:17:56.284Z] patch set to automatically installed. [2020-04-21T20:17:56.284Z] perl set to automatically installed. [2020-04-21T20:17:56.284Z] perl-modules-5.26 set to automatically installed. [2020-04-21T20:17:56.284Z] xauth set to automatically installed. [2020-04-21T20:17:56.284Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-21T20:17:56.284Z] Please ensure the environment is properly setup before continuing. [2020-04-21T20:17:56.284Z] Ignore this message if the appropriate measures have already been taken [2020-04-21T20:17:57.252Z] Pulling go [2020-04-21T20:18:00.592Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-21T20:18:00.592Z] Skipping pull go (already ran) [2020-04-21T20:18:00.592Z] Building go [2020-04-21T20:18:00.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-21T20:18:00.592Z] Dload Upload Total Spent Left Speed [2020-04-21T20:18:02.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 93.0M 1 1743k 0 0 9426k 0 0:00:10 --:--:-- 0:00:10 9375k 47 93.0M 47 44.1M 0 0 37.4M 0 0:00:02 0:00:01 0:00:01 37.4M 99 93.0M 99 92.4M 0 0 42.0M 0 0:00:02 0:00:02 --:--:-- 42.0M 100 93.0M 100 93.0M 0 0 42.1M 0 0:00:02 0:00:02 --:--:-- 42.0M [2020-04-21T20:18:03.930Z] go1.13.5.linux-arm64.tar.gz: OK [2020-04-21T20:18:25.998Z] Staging go [2020-04-21T20:18:25.998Z] Pulling device-modbus [2020-04-21T20:18:29.348Z] Skipping build go (already ran) [2020-04-21T20:18:29.348Z] Building device-modbus [2020-04-21T20:18:29.348Z] 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-21T20:18:29.934Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:18:29.934Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:18:29.934Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-21T20:18:29.934Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-21T20:18:30.205Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-21T20:18:30.205Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:18:30.205Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:18:30.205Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-21T20:18:30.205Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-21T20:18:30.205Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:18:30.205Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-21T20:18:30.205Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-21T20:18:30.205Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-21T20:18:30.205Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:18:30.205Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:18:30.205Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-21T20:18:30.205Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-21T20:18:30.205Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-21T20:18:30.205Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:18:30.205Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:18:30.205Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:18:30.478Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:18:30.478Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:18:30.478Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:18:30.478Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:18:30.478Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:18:30.478Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:18:30.478Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:18:30.478Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:18:30.478Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:18:30.478Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:18:30.478Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:18:30.478Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:18:30.478Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:18:30.478Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:18:30.478Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-21T20:18:30.478Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:18:30.478Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:18:30.478Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:18:30.478Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:18:30.478Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:18:30.478Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-21T20:18:30.478Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-21T20:18:30.478Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:18:30.478Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:18:30.478Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:18:30.478Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:18:30.478Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-21T20:18:30.478Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:18:30.478Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:18:30.478Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:18:30.747Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:18:30.747Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:18:30.747Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-21T20:18:30.747Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:18:30.747Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:18:31.017Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:18:31.017Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:18:31.017Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:18:31.017Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:18:31.017Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:18:31.017Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:18:31.017Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T20:18:31.017Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T20:18:31.017Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T20:18:31.017Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T20:18:31.017Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T20:18:31.017Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T20:18:31.017Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T20:18:31.017Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T20:18:31.287Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T20:18:31.287Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T20:18:31.287Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T20:18:31.287Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T20:18:31.287Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T20:18:31.287Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T20:18:31.287Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T20:18:31.287Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T20:18:31.287Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T20:18:31.287Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T20:18:31.287Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T20:18:31.287Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T20:18:31.287Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T20:18:31.287Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T20:18:31.287Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T20:18:31.287Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T20:18:31.287Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T20:18:31.287Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T20:18:53.407Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T20:19:11.612Z] Skipping stage go (already ran) [2020-04-21T20:19:11.612Z] Staging device-modbus [2020-04-21T20:19:14.956Z] Priming go [2020-04-21T20:19:17.537Z] Priming device-modbus [2020-04-21T20:19:20.872Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-21T20:19:20.873Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-21T20:19:20.873Z] Determining the version from the project repo (version-script). [2020-04-21T20:19:20.873Z] The version has been set to '0.0.0-20200421+2a0e1d9' [2020-04-21T20:19:20.873Z] Snapping 'edgex-device-modbus' ... [2020-04-21T20:19:24.223Z] [2020-04-21T20:19:24.223Z] Snapped edgex-device-modbus_0.0.0-20200421+2a0e1d9_arm64.snap [Pipeline] } [2020-04-21T20:19:26.179Z] 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-21T20:19:27.313Z] provisioning config files... [2020-04-21T20:19:27.341Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config709177021083003806tmp [Pipeline] { [Pipeline] sh [2020-04-21T20:19:27.785Z] + curl -s https://codecov.io/bash [2020-04-21T20:19:27.785Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config709177021083003806tmp [2020-04-21T20:19:28.046Z] [2020-04-21T20:19:28.047Z] _____ _ [2020-04-21T20:19:28.047Z] / ____| | | [2020-04-21T20:19:28.047Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T20:19:28.047Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T20:19:28.047Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T20:19:28.047Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T20:19:28.047Z] Bash-tbd [2020-04-21T20:19:28.047Z] [2020-04-21T20:19:28.047Z] [2020-04-21T20:19:28.047Z] ==> Jenkins CI detected. [2020-04-21T20:19:28.047Z] project root: . [2020-04-21T20:19:28.047Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T20:19:28.047Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T20:19:28.047Z] ==> Python coveragepy not found [2020-04-21T20:19:28.047Z] ==> Searching for coverage reports in: [2020-04-21T20:19:28.047Z] + . [2020-04-21T20:19:28.047Z] -> Found 1 reports [2020-04-21T20:19:28.047Z] ==> Detecting git/mercurial file structure [2020-04-21T20:19:28.047Z] ==> Reading reports [2020-04-21T20:19:28.047Z] + ./coverage.out bytes=22123 [2020-04-21T20:19:28.047Z] ==> Appending adjustments [2020-04-21T20:19:28.047Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T20:19:28.047Z] + Found adjustments [2020-04-21T20:19:28.047Z] ==> Gzipping contents [2020-04-21T20:19:28.308Z] ==> Uploading reports [2020-04-21T20:19:28.308Z] url: https://codecov.io [2020-04-21T20:19:28.308Z] query: branch=PR-139&commit=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-21T20:19:28.308Z] -> Pinging Codecov [2020-04-21T20:19:28.308Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-139&commit=2a0e1d9dbce346ba0b2aee7085637d3bd7045d76&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-21T20:19:28.570Z] -> Uploading [2020-04-21T20:19:29.140Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/2a0e1d9dbce346ba0b2aee7085637d3bd7045d76 [Pipeline] } [2020-04-21T20:19:29.149Z] 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-21T20:19:30.517Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:19:30.821Z] ---> package-listing.sh [2020-04-21T20:19:30.821Z] ++ facter osfamily [2020-04-21T20:19:30.822Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T20:19:30.822Z] + OS_FAMILY=redhat [2020-04-21T20:19:30.822Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T20:19:30.822Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T20:19:30.822Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T20:19:30.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T20:19:30.822Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T20:19:30.822Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T20:19:30.822Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T20:19:30.822Z] + case "${OS_FAMILY}" in [2020-04-21T20:19:30.822Z] + rpm -qa [2020-04-21T20:19:30.822Z] + sort [2020-04-21T20:19:35.025Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T20:19:35.025Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T20:19:35.025Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T20:19:35.025Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T20:19:35.025Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [2020-04-21T20:19:35.025Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:19:35.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T20:19:35.444Z] [2020-04-21T20:19:35.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:19:35.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T20:19:35.792Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T20:19:35.792Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T20:19:35.792Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T20:19:35.792Z] 756a868c4378: Pulling fs layer [2020-04-21T20:19:35.792Z] 444b2fc9a129: Pulling fs layer [2020-04-21T20:19:35.792Z] ea15f1150254: Pulling fs layer [2020-04-21T20:19:35.792Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T20:19:35.792Z] 28c525ee5125: Pulling fs layer [2020-04-21T20:19:35.792Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T20:19:35.792Z] 138eaada9080: Pulling fs layer [2020-04-21T20:19:35.792Z] 0622d0fa9048: Pulling fs layer [2020-04-21T20:19:35.792Z] 28c525ee5125: Waiting [2020-04-21T20:19:35.792Z] 094b1ea09ed8: Waiting [2020-04-21T20:19:35.792Z] 138eaada9080: Waiting [2020-04-21T20:19:35.792Z] 0622d0fa9048: Waiting [2020-04-21T20:19:35.792Z] 444b2fc9a129: Waiting [2020-04-21T20:19:35.792Z] ea15f1150254: Waiting [2020-04-21T20:19:35.792Z] 41b27a9f41bf: Waiting [2020-04-21T20:19:35.792Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T20:19:35.792Z] 2cc5ad85d9ab: Download complete [2020-04-21T20:19:35.792Z] 444b2fc9a129: Verifying Checksum [2020-04-21T20:19:35.792Z] 444b2fc9a129: Download complete [2020-04-21T20:19:35.792Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T20:19:35.792Z] c9b1b535fdd9: Download complete [2020-04-21T20:19:35.792Z] ea15f1150254: Verifying Checksum [2020-04-21T20:19:35.792Z] ea15f1150254: Download complete [2020-04-21T20:19:36.060Z] 28c525ee5125: Verifying Checksum [2020-04-21T20:19:36.060Z] 28c525ee5125: Download complete [2020-04-21T20:19:36.324Z] c9b1b535fdd9: Pull complete [2020-04-21T20:19:36.324Z] 756a868c4378: Verifying Checksum [2020-04-21T20:19:36.324Z] 756a868c4378: Download complete [2020-04-21T20:19:36.324Z] 2cc5ad85d9ab: Pull complete [2020-04-21T20:19:36.324Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T20:19:36.324Z] 094b1ea09ed8: Download complete [2020-04-21T20:19:36.324Z] 138eaada9080: Verifying Checksum [2020-04-21T20:19:36.587Z] 0622d0fa9048: Verifying Checksum [2020-04-21T20:19:36.587Z] 0622d0fa9048: Download complete [2020-04-21T20:19:37.163Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T20:19:37.163Z] 41b27a9f41bf: Download complete [2020-04-21T20:19:38.106Z] 756a868c4378: Pull complete [2020-04-21T20:19:38.106Z] 444b2fc9a129: Pull complete [2020-04-21T20:19:38.674Z] ea15f1150254: Pull complete [2020-04-21T20:19:41.971Z] 41b27a9f41bf: Pull complete [2020-04-21T20:19:41.971Z] 28c525ee5125: Pull complete [2020-04-21T20:19:43.885Z] 094b1ea09ed8: Pull complete [2020-04-21T20:19:43.885Z] 138eaada9080: Pull complete [2020-04-21T20:19:44.149Z] 0622d0fa9048: Pull complete [2020-04-21T20:19:44.149Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T20:19:44.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T20:19:44.309Z] prd-centos7-docker-4c-2g-5409 does not seem to be running inside a container [2020-04-21T20:19:44.356Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T20:19:45.407Z] $ docker top ffe63135ba40ea2ab166038494f4b0f2a5f9ebdb421b9d67f9c6d30933222f88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T20:19:45.715Z] provisioning config files... [2020-04-21T20:19:45.732Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config1789911787052221484tmp [Pipeline] { [Pipeline] echo [2020-04-21T20:19:45.793Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:19:46.089Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T20:19:46.097Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:19:46.393Z] ---> logs-deploy.sh [2020-04-21T20:19:46.393Z] + ARCHIVE_ARTIFACTS= [2020-04-21T20:19:46.393Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T20:19:46.393Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T20:19:46.393Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T20:19:46.393Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 [2020-04-21T20:19:46.393Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/11/ [2020-04-21T20:19:46.393Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T20:19:47.773Z] Archives upload complete. [2020-04-21T20:19:47.773Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/11 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/11/