Started by user ernesto-ojeda 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 cbbbde00792c7bbfc516019c3707f440cae09b1c+251ac84f7228ae0fb6e27216846c283c9f5cee26 (dfa7012d9e1809478506442700cf3b70953a1038) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4350 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 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 Fetching without tags Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) > 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 cbbbde00792c7bbfc516019c3707f440cae09b1c # 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 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 Commit message: "add buildSnap option to build migrate to new snap stage" > git rev-list --no-walk cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-16T18:15:40.300Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-16T18:15:40.498Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-16T18:15:40.575Z] ========================================================= [2020-04-16T18:15:40.575Z] EdgeX Global Pipelines Version Info [2020-04-16T18:15:40.575Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-16T18:15:41.987Z] ------------------- [2020-04-16T18:15:41.987Z] stable info: [2020-04-16T18:15:41.987Z] ------------------- [2020-04-16T18:15:41.987Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-16T18:15:41.987Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T18:15:41.987Z] Message: update stable to v1.0.73 [2020-04-16T18:15:42.554Z] ------------------- [2020-04-16T18:15:42.554Z] experimental info: [2020-04-16T18:15:42.554Z] ------------------- [2020-04-16T18:15:42.554Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-16T18:15:42.554Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-16T18:15:42.554Z] 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-16T18:15:44.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T18:15:44.165Z] [2020-04-16T18:15:44.165Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:15:44.501Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-16T18:15:44.501Z] latest: Pulling from edgex-devops/git-semver [2020-04-16T18:15:44.501Z] 9123ac7c32f7: Pulling fs layer [2020-04-16T18:15:44.501Z] b8cc5d1170e3: Pulling fs layer [2020-04-16T18:15:44.501Z] 2924cbbf6a41: Pulling fs layer [2020-04-16T18:15:44.501Z] 93b08a4f1073: Pulling fs layer [2020-04-16T18:15:44.501Z] 93b08a4f1073: Waiting [2020-04-16T18:15:44.501Z] b8cc5d1170e3: Verifying Checksum [2020-04-16T18:15:44.501Z] b8cc5d1170e3: Download complete [2020-04-16T18:15:44.766Z] 9123ac7c32f7: Verifying Checksum [2020-04-16T18:15:44.766Z] 9123ac7c32f7: Download complete [2020-04-16T18:15:44.766Z] 93b08a4f1073: Verifying Checksum [2020-04-16T18:15:44.766Z] 93b08a4f1073: Download complete [2020-04-16T18:15:44.766Z] 2924cbbf6a41: Download complete [2020-04-16T18:15:44.766Z] 9123ac7c32f7: Pull complete [2020-04-16T18:15:45.025Z] b8cc5d1170e3: Pull complete [2020-04-16T18:15:45.598Z] 2924cbbf6a41: Pull complete [2020-04-16T18:15:45.857Z] 93b08a4f1073: Pull complete [2020-04-16T18:15:45.857Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-16T18:15:45.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-16T18:15:45.989Z] prd-centos7-docker-4c-2g-4350 does not seem to be running inside a container [2020-04-16T18:15:46.034Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-16T18:15:46.744Z] $ docker top 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-16T18:15:47.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T18:15:47.017Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T18:15:47.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T18:15:47.250Z] $ docker exec 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent [2020-04-16T18:15:47.475Z] SSH_AUTH_SOCK=/tmp/ssh-L0L88Tcr1gFy/agent.15 [2020-04-16T18:15:47.475Z] SSH_AGENT_PID=22 [2020-04-16T18:15:47.486Z] Running ssh-add (command line suppressed) [2020-04-16T18:15:47.627Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_19098942243310700.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_19098942243310700.key) [2020-04-16T18:15:47.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T18:15:47.991Z] + git describe --exact-match --tags HEAD [2020-04-16T18:15:47.991Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-16T18:15:48.048Z] $ docker exec --env ******** --env ******** 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent -k [2020-04-16T18:15:48.191Z] unset SSH_AUTH_SOCK; [2020-04-16T18:15:48.191Z] unset SSH_AGENT_PID; [2020-04-16T18:15:48.191Z] echo Agent pid 22 killed; [2020-04-16T18:15:48.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-16T18:15:48.307Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-16T18:15:48.307Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-16T18:15:48.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-16T18:15:48.382Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-16T18:15:48.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-16T18:15:48.577Z] $ docker exec 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent [2020-04-16T18:15:48.769Z] SSH_AUTH_SOCK=/tmp/ssh-Yotlm9VZNZvo/agent.55 [2020-04-16T18:15:48.769Z] SSH_AGENT_PID=62 [2020-04-16T18:15:48.775Z] Running ssh-add (command line suppressed) [2020-04-16T18:15:48.916Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6301993976233992403.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6301993976233992403.key) [2020-04-16T18:15:48.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-16T18:15:49.312Z] + git semver init [2020-04-16T18:15:49.312Z] # -> Open(): unable to determine branch for HEAD [2020-04-16T18:15:49.312Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git [2020-04-16T18:15:49.312Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-16T18:15:49.312Z] # $SEMVER_REMOTE_NAME = origin [2020-04-16T18:15:49.312Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-16T18:15:49.312Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-16T18:15:49.312Z] # $SEMVER_BRANCH = PR-139 [2020-04-16T18:15:49.312Z] # $SEMVER_TEMP = /tmp/semver-842722546 [2020-04-16T18:15:49.312Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-16T18:15:49.571Z] # '/tmp/semver-842722546' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' [2020-04-16T18:15:49.571Z] # -> Force: false [2020-04-16T18:15:49.571Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } [2020-04-16T18:15:49.583Z] $ docker exec --env ******** --env ******** 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent -k [2020-04-16T18:15:49.743Z] unset SSH_AUTH_SOCK; [2020-04-16T18:15:49.743Z] unset SSH_AGENT_PID; [2020-04-16T18:15:49.743Z] echo Agent pid 62 killed; [2020-04-16T18:15:49.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-16T18:15:50.192Z] + git semver [Pipeline] } [2020-04-16T18:15:50.208Z] $ docker stop --time=1 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c [2020-04-16T18:15:51.819Z] $ docker rm -f 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-16T18:15:52.516Z] Stashed 22 file(s) [Pipeline] echo [2020-04-16T18:15:52.518Z] [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-16T18:16:07.735Z] Still waiting to schedule task [2020-04-16T18:16:07.735Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-16T18:16:07.738Z] Still waiting to schedule task [2020-04-16T18:16:07.738Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-16T18:18:32.781Z] Running on prd-centos7-docker-4c-2g-4351 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T18:18:32.853Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-04-16T18:18:35.010Z] using credential edgex-jenkins-ssh [2020-04-16T18:18:35.049Z] Cloning the remote Git repository [2020-04-16T18:18:35.049Z] Cloning with configured refspecs honoured and without tags [2020-04-16T18:18:34.085Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:18:34.124Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-04-16T18:18:34.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:18:34.168Z] > git --version # timeout=10 [2020-04-16T18:18:34.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:18:34.210Z] > 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-16T18:18:35.970Z] Fetching without tags [2020-04-16T18:18:36.359Z] Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:18:34.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-16T18:18:35.008Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T18:18:35.015Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T18:18:35.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-16T18:18:35.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:18:35.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:18:35.044Z] > 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-16T18:18:35.463Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T18:18:35.481Z] > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [2020-04-16T18:18:36.446Z] Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:18:36.447Z] Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) [2020-04-16T18:18:35.519Z] > git remote # timeout=10 [2020-04-16T18:18:35.525Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T18:18:35.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:18:35.534Z] > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-16T18:18:35.544Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T18:18:35.553Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T18:18:35.561Z] > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [2020-04-16T18:18:39.984Z] Commit message: "add buildSnap option to build migrate to new snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-16T18:18:40.753Z] ========================================================= [2020-04-16T18:18:40.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-16T18:18:40.753Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:18:41.356Z] + 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-16T18:18:41.639Z] Sending build context to Docker daemon 562.2kB [2020-04-16T18:18:41.639Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T18:18:41.639Z] Step 2/8 : FROM ${BASE} [2020-04-16T18:18:41.639Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-16T18:18:41.639Z] e6b0cf9c0882: Pulling fs layer [2020-04-16T18:18:41.639Z] 2848faf0eed1: Pulling fs layer [2020-04-16T18:18:41.639Z] 0f37312ad70f: Pulling fs layer [2020-04-16T18:18:41.639Z] 5788d62ee057: Pulling fs layer [2020-04-16T18:18:41.639Z] 0e6b1d234666: Pulling fs layer [2020-04-16T18:18:41.639Z] bf5d7aec512f: Pulling fs layer [2020-04-16T18:18:41.639Z] 34c802a77dc8: Pulling fs layer [2020-04-16T18:18:41.639Z] 9eb99e56ec68: Pulling fs layer [2020-04-16T18:18:41.639Z] 27c7a5d97fbd: Pulling fs layer [2020-04-16T18:18:41.639Z] 5c102a31e300: Pulling fs layer [2020-04-16T18:18:41.639Z] dcfb455df0a1: Pulling fs layer [2020-04-16T18:18:41.639Z] 34c802a77dc8: Waiting [2020-04-16T18:18:41.639Z] 9eb99e56ec68: Waiting [2020-04-16T18:18:41.639Z] 27c7a5d97fbd: Waiting [2020-04-16T18:18:41.639Z] 5c102a31e300: Waiting [2020-04-16T18:18:41.639Z] dcfb455df0a1: Waiting [2020-04-16T18:18:41.639Z] 5788d62ee057: Waiting [2020-04-16T18:18:41.639Z] 0e6b1d234666: Waiting [2020-04-16T18:18:41.639Z] bf5d7aec512f: Waiting [2020-04-16T18:18:41.639Z] 0f37312ad70f: Verifying Checksum [2020-04-16T18:18:41.639Z] 0f37312ad70f: Download complete [2020-04-16T18:18:41.639Z] 2848faf0eed1: Verifying Checksum [2020-04-16T18:18:41.639Z] 2848faf0eed1: Download complete [2020-04-16T18:18:41.639Z] 0e6b1d234666: Verifying Checksum [2020-04-16T18:18:41.639Z] 0e6b1d234666: Download complete [2020-04-16T18:18:41.639Z] e6b0cf9c0882: Download complete [2020-04-16T18:18:41.639Z] bf5d7aec512f: Verifying Checksum [2020-04-16T18:18:41.639Z] bf5d7aec512f: Download complete [2020-04-16T18:18:41.917Z] e6b0cf9c0882: Pull complete [2020-04-16T18:18:42.181Z] 2848faf0eed1: Pull complete [2020-04-16T18:18:42.447Z] 34c802a77dc8: Verifying Checksum [2020-04-16T18:18:42.447Z] 34c802a77dc8: Download complete [2020-04-16T18:18:42.447Z] 27c7a5d97fbd: Verifying Checksum [2020-04-16T18:18:42.447Z] 27c7a5d97fbd: Download complete [2020-04-16T18:18:43.029Z] 5c102a31e300: Verifying Checksum [2020-04-16T18:18:43.029Z] 5c102a31e300: Download complete [2020-04-16T18:18:43.029Z] dcfb455df0a1: Verifying Checksum [2020-04-16T18:18:43.029Z] dcfb455df0a1: Download complete [2020-04-16T18:18:43.615Z] 9eb99e56ec68: Verifying Checksum [2020-04-16T18:18:43.616Z] 9eb99e56ec68: Download complete [2020-04-16T18:18:43.616Z] 5788d62ee057: Verifying Checksum [2020-04-16T18:18:43.616Z] 5788d62ee057: Download complete [2020-04-16T18:18:44.184Z] 0f37312ad70f: Pull complete [2020-04-16T18:18:50.766Z] 5788d62ee057: Pull complete [2020-04-16T18:18:50.766Z] 0e6b1d234666: Pull complete [2020-04-16T18:18:50.766Z] bf5d7aec512f: Pull complete [2020-04-16T18:18:56.061Z] 34c802a77dc8: Pull complete [2020-04-16T18:18:59.374Z] 9eb99e56ec68: Pull complete [2020-04-16T18:18:59.635Z] 27c7a5d97fbd: Pull complete [2020-04-16T18:19:00.206Z] 5c102a31e300: Pull complete [2020-04-16T18:19:00.465Z] dcfb455df0a1: Pull complete [2020-04-16T18:19:00.465Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-16T18:19:00.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-16T18:19:00.465Z] ---> 7c70fe431013 [2020-04-16T18:19:00.465Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-16T18:19:00.465Z] ---> Running in 5a141385cf0a [2020-04-16T18:19:00.725Z] Removing intermediate container 5a141385cf0a [2020-04-16T18:19:00.725Z] ---> 53df461d58af [2020-04-16T18:19:00.725Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T18:19:00.725Z] ---> Running in 5eceb6c870e9 [2020-04-16T18:19:02.104Z] Removing intermediate container 5eceb6c870e9 [2020-04-16T18:19:02.104Z] ---> 23d6033334c4 [2020-04-16T18:19:02.104Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T18:19:02.104Z] ---> Running in c77185d67408 [2020-04-16T18:19:02.364Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T18:19:03.306Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T18:19:03.306Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:19:03.306Z] (2/17) Installing libmagic (5.37-r1) [2020-04-16T18:19:03.565Z] (3/17) Installing file (5.37-r1) [2020-04-16T18:19:03.565Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:19:03.826Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:19:03.826Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:19:07.160Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-16T18:19:07.160Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-16T18:19:09.693Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-16T18:19:09.693Z] (10/17) Installing build-base (0.5-r1) [2020-04-16T18:19:09.693Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T18:19:09.693Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-16T18:19:09.693Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-16T18:19:09.952Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T18:19:09.952Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T18:19:10.210Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-16T18:19:10.210Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-16T18:19:10.471Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T18:19:10.471Z] OK: 214 MiB in 52 packages [2020-04-16T18:19:14.679Z] Removing intermediate container c77185d67408 [2020-04-16T18:19:14.679Z] ---> c8c5e9efdf37 [2020-04-16T18:19:14.679Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-16T18:19:14.679Z] ---> Running in 09a2f0ab3dc3 [2020-04-16T18:19:14.679Z] Removing intermediate container 09a2f0ab3dc3 [2020-04-16T18:19:14.679Z] ---> 3770a68672c6 [2020-04-16T18:19:14.679Z] Step 7/8 : COPY . . [2020-04-16T18:19:14.679Z] ---> b47b7bbbca18 [2020-04-16T18:19:14.679Z] Step 8/8 : RUN go mod download [2020-04-16T18:19:14.937Z] ---> Running in 50400992967e [2020-04-16T18:19:16.845Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T18:19:16.845Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T18:19:16.845Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:19:16.845Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T18:19:16.845Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T18:19:16.845Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:19:16.845Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T18:19:16.845Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:19:16.845Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:19:16.845Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:19:16.845Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T18:19:16.845Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T18:19:16.845Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:19:16.845Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T18:19:16.845Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-16T18:19:16.845Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-16T18:19:16.845Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T18:19:16.845Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T18:19:16.845Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T18:19:16.845Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T18:19:17.103Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T18:19:17.103Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T18:19:17.103Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T18:19:17.103Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T18:19:17.103Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:19:17.362Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T18:19:17.362Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:19:17.362Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T18:19:17.362Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T18:19:17.362Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T18:19:17.622Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-16T18:19:17.622Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T18:19:17.622Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T18:19:17.622Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T18:19:17.622Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T18:19:17.622Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T18:19:17.622Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-16T18:19:17.622Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T18:19:17.622Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T18:19:17.622Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T18:19:17.622Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:19:32.507Z] Removing intermediate container 50400992967e [2020-04-16T18:19:32.507Z] ---> 6ee712cfce8b [2020-04-16T18:19:32.507Z] Successfully built 6ee712cfce8b [2020-04-16T18:19:32.507Z] 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-16T18:19:33.156Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-16T18:19:33.156Z] . [Pipeline] withDockerContainer [2020-04-16T18:19:33.273Z] prd-centos7-docker-4c-2g-4351 does not seem to be running inside a container [2020-04-16T18:19:33.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-x86_64 cat [2020-04-16T18:19:33.972Z] $ docker top ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T18:19:34.484Z] + go version [2020-04-16T18:19:34.484Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-16T18:19:34.779Z] + make test [2020-04-16T18:19:34.779Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T18:19:35.719Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-16T18:19:47.999Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-16T18:19:48.936Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.140s coverage: 50.3% of statements [2020-04-16T18:19:48.936Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T18:19:50.870Z] gofmt -l . [2020-04-16T18:19:50.870Z] [ "`gofmt -l .`" = "" ] [2020-04-16T18:19:51.130Z] ./bin/test-attribution-txt.sh [2020-04-16T18:19:51.389Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T18:19:52.081Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T18:19:52.085Z] $ docker stop --time=1 ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd [2020-04-16T18:19:53.474Z] $ docker rm -f ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T18:19:54.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T18:19:55.029Z] + ls -al . [2020-04-16T18:19:55.029Z] total 100 [2020-04-16T18:19:55.029Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 18:19 . [2020-04-16T18:19:55.029Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 18:18 .. [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 4208 Apr 16 18:18 Attribution.txt [2020-04-16T18:19:55.029Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 18:18 bin [2020-04-16T18:19:55.029Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 18:18 cmd [2020-04-16T18:19:55.029Z] -rw-r--r--. 1 jenkins jenkins 22122 Apr 16 18:19 coverage.out [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 1263 Apr 16 18:18 Dockerfile [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 16 18:18 Dockerfile.build [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 18:18 .dockerignore [2020-04-16T18:19:55.029Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 18:18 .git [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 16 18:18 .gitignore [2020-04-16T18:19:55.029Z] -rw-r--r--. 1 jenkins jenkins 630 Apr 16 18:19 go.mod [2020-04-16T18:19:55.029Z] -rw-r--r--. 1 jenkins jenkins 12117 Apr 16 18:19 go.sum [2020-04-16T18:19:55.029Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 18:18 internal [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 16 18:18 Jenkinsfile [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 18:18 LICENSE [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 16 18:18 Makefile [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 16 18:18 README.md [2020-04-16T18:19:55.029Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 18:18 .semver [2020-04-16T18:19:55.029Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 16 18:18 simulator [2020-04-16T18:19:55.029Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 18:18 snap [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 18:15 VERSION [2020-04-16T18:19:55.029Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 16 18:18 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:19:55.326Z] + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=amd64 --label version=0.0.0 . [2020-04-16T18:19:55.326Z] Sending build context to Docker daemon 590.8kB [2020-04-16T18:19:55.326Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-16T18:19:55.326Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-16T18:19:55.326Z] ---> 6ee712cfce8b [2020-04-16T18:19:55.326Z] Step 3/17 : ARG MAKE='make build' [2020-04-16T18:19:55.326Z] ---> Running in be8fa7d7f6a4 [2020-04-16T18:19:55.594Z] Removing intermediate container be8fa7d7f6a4 [2020-04-16T18:19:55.594Z] ---> 731e883bad0d [2020-04-16T18:19:55.594Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T18:19:55.594Z] ---> Running in 543dbd08e051 [2020-04-16T18:19:56.163Z] Removing intermediate container 543dbd08e051 [2020-04-16T18:19:56.163Z] ---> ed003589da57 [2020-04-16T18:19:56.163Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T18:19:56.423Z] ---> Running in 62927a9bc55c [2020-04-16T18:19:56.682Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-16T18:19:57.619Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-16T18:19:57.880Z] OK: 214 MiB in 52 packages [2020-04-16T18:19:58.139Z] Removing intermediate container 62927a9bc55c [2020-04-16T18:19:58.139Z] ---> cc76033197d0 [2020-04-16T18:19:58.139Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-16T18:19:58.139Z] ---> Running in 504f458b24a1 [2020-04-16T18:19:58.398Z] Removing intermediate container 504f458b24a1 [2020-04-16T18:19:58.398Z] ---> 5a11cc07849b [2020-04-16T18:19:58.398Z] Step 7/17 : COPY . . [2020-04-16T18:19:58.659Z] ---> e56682ba87c2 [2020-04-16T18:19:58.659Z] Step 8/17 : RUN ${MAKE} [2020-04-16T18:19:58.659Z] ---> Running in b63ea4d100fd [2020-04-16T18:19:59.238Z] 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-16T18:20:11.543Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T18:20:13.447Z] Removing intermediate container b63ea4d100fd [2020-04-16T18:20:13.447Z] ---> b7a231aa2921 [2020-04-16T18:20:13.447Z] Step 9/17 : FROM scratch [2020-04-16T18:20:13.447Z] ---> [2020-04-16T18:20:13.447Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-16T18:20:13.447Z] ---> Running in c3fcaf9c54ec [2020-04-16T18:20:13.706Z] Removing intermediate container c3fcaf9c54ec [2020-04-16T18:20:13.706Z] ---> f9cc7ad7d91b [2020-04-16T18:20:13.706Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-16T18:20:13.706Z] ---> Running in 2bac880bc4c0 [2020-04-16T18:20:13.706Z] Removing intermediate container 2bac880bc4c0 [2020-04-16T18:20:13.706Z] ---> dbc4ddecf6ec [2020-04-16T18:20:13.706Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-16T18:20:14.275Z] ---> 63cccc84eba8 [2020-04-16T18:20:14.275Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T18:20:14.275Z] ---> Running in 17826a3e8774 [2020-04-16T18:20:14.534Z] Removing intermediate container 17826a3e8774 [2020-04-16T18:20:14.534Z] ---> aa8a3a20671c [2020-04-16T18:20:14.534Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T18:20:14.534Z] ---> Running in 20c70c83ef89 [2020-04-16T18:20:14.534Z] Removing intermediate container 20c70c83ef89 [2020-04-16T18:20:14.534Z] ---> 03609309e31e [2020-04-16T18:20:14.534Z] Step 15/17 : LABEL arch=amd64 [2020-04-16T18:20:14.534Z] ---> Running in 010df9c078a0 [2020-04-16T18:20:14.794Z] Removing intermediate container 010df9c078a0 [2020-04-16T18:20:14.794Z] ---> 234408105fb0 [2020-04-16T18:20:14.794Z] Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:20:14.794Z] ---> Running in 1a24af1df612 [2020-04-16T18:20:15.053Z] Removing intermediate container 1a24af1df612 [2020-04-16T18:20:15.053Z] ---> 739457eb6ddf [2020-04-16T18:20:15.053Z] Step 17/17 : LABEL version=0.0.0 [2020-04-16T18:20:15.053Z] ---> Running in 31957d805a90 [2020-04-16T18:20:15.053Z] Removing intermediate container 31957d805a90 [2020-04-16T18:20:15.053Z] ---> db917a039b15 [2020-04-16T18:20:15.053Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T18:20:15.053Z] Successfully built db917a039b15 [2020-04-16T18:20:15.053Z] 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-16T18:20:15.920Z] ++ find /w/workspace/device-modbus-go/2 [2020-04-16T18:20:15.920Z] ++ grep snapcraft.yaml [2020-04-16T18:20:15.920Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T18:20:16.017Z] provisioning config files... [2020-04-16T18:20:16.027Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config8836583740579680749tmp [Pipeline] { [Pipeline] sh [2020-04-16T18:20:16.364Z] + cp /w/workspace/device-modbus-go/2@tmp/config8836583740579680749tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh [2020-04-16T18:20:16.657Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/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-16T18:20:16.657Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-16T18:20:16.657Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-16T18:20:16.657Z] 5bed26d33875: Pulling fs layer [2020-04-16T18:20:16.657Z] f11b29a9c730: Pulling fs layer [2020-04-16T18:20:16.657Z] 930bda195c84: Pulling fs layer [2020-04-16T18:20:16.657Z] 78bf9a5ad49e: Pulling fs layer [2020-04-16T18:20:16.657Z] e5fbee5a4b0d: Pulling fs layer [2020-04-16T18:20:16.657Z] f452fca78f88: Pulling fs layer [2020-04-16T18:20:16.657Z] 7417ef92027a: Pulling fs layer [2020-04-16T18:20:16.657Z] 2af5c49d270b: Pulling fs layer [2020-04-16T18:20:16.657Z] df9c3bdbc40a: Pulling fs layer [2020-04-16T18:20:16.657Z] f452fca78f88: Waiting [2020-04-16T18:20:16.657Z] 7417ef92027a: Waiting [2020-04-16T18:20:16.657Z] 2af5c49d270b: Waiting [2020-04-16T18:20:16.657Z] df9c3bdbc40a: Waiting [2020-04-16T18:20:16.657Z] 78bf9a5ad49e: Waiting [2020-04-16T18:20:16.657Z] e5fbee5a4b0d: Waiting [2020-04-16T18:20:16.657Z] 930bda195c84: Verifying Checksum [2020-04-16T18:20:16.657Z] 930bda195c84: Download complete [2020-04-16T18:20:16.657Z] f11b29a9c730: Verifying Checksum [2020-04-16T18:20:16.657Z] f11b29a9c730: Download complete [2020-04-16T18:20:16.657Z] 78bf9a5ad49e: Verifying Checksum [2020-04-16T18:20:16.657Z] 78bf9a5ad49e: Download complete [2020-04-16T18:20:16.657Z] f452fca78f88: Verifying Checksum [2020-04-16T18:20:16.657Z] f452fca78f88: Download complete [2020-04-16T18:20:16.657Z] 7417ef92027a: Verifying Checksum [2020-04-16T18:20:16.657Z] 7417ef92027a: Download complete [2020-04-16T18:20:16.921Z] 2af5c49d270b: Verifying Checksum [2020-04-16T18:20:16.921Z] 2af5c49d270b: Download complete [2020-04-16T18:20:16.921Z] df9c3bdbc40a: Verifying Checksum [2020-04-16T18:20:16.921Z] df9c3bdbc40a: Download complete [2020-04-16T18:20:16.921Z] 5bed26d33875: Verifying Checksum [2020-04-16T18:20:16.921Z] 5bed26d33875: Download complete [2020-04-16T18:20:20.215Z] e5fbee5a4b0d: Verifying Checksum [2020-04-16T18:20:20.215Z] e5fbee5a4b0d: Download complete [2020-04-16T18:20:21.593Z] 5bed26d33875: Pull complete [2020-04-16T18:20:21.593Z] f11b29a9c730: Pull complete [2020-04-16T18:20:21.593Z] 930bda195c84: Pull complete [2020-04-16T18:20:21.593Z] 78bf9a5ad49e: Pull complete [2020-04-16T18:20:33.785Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4352 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-16T18:20:33.885Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-04-16T18:20:40.882Z] using credential edgex-jenkins-ssh [2020-04-16T18:20:40.948Z] Cloning the remote Git repository [2020-04-16T18:20:40.948Z] Cloning with configured refspecs honoured and without tags [2020-04-16T18:20:41.038Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:20:41.137Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-04-16T18:20:41.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:20:41.218Z] > git --version # timeout=10 [2020-04-16T18:20:41.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:20:41.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-16T18:20:42.121Z] Fetching without tags [2020-04-16T18:20:42.619Z] Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:20:42.848Z] Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:20:42.848Z] Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) [2020-04-16T18:20:42.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-16T18:20:42.053Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-16T18:20:42.068Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-16T18:20:42.098Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-16T18:20:42.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-16T18:20:42.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:20:42.152Z] > 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-16T18:20:42.640Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T18:20:42.661Z] > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [2020-04-16T18:20:42.735Z] > git remote # timeout=10 [2020-04-16T18:20:42.770Z] > git config --get remote.origin.url # timeout=10 [2020-04-16T18:20:42.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-16T18:20:42.802Z] > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 [2020-04-16T18:20:42.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-16T18:20:42.910Z] > git config core.sparsecheckout # timeout=10 [2020-04-16T18:20:42.965Z] > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [2020-04-16T18:20:47.504Z] Commit message: "add buildSnap option to build migrate to new snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-16T18:20:48.198Z] e5fbee5a4b0d: Pull complete [2020-04-16T18:20:48.198Z] f452fca78f88: Pull complete [2020-04-16T18:20:48.198Z] 7417ef92027a: Pull complete [2020-04-16T18:20:48.198Z] 2af5c49d270b: Pull complete [2020-04-16T18:20:48.198Z] df9c3bdbc40a: Pull complete [2020-04-16T18:20:48.198Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-04-16T18:20:48.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-16T18:20:48.198Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-04-16T18:20:48.198Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-04-16T18:20:48.198Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-04-16T18:20:48.198Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-04-16T18:20:48.198Z] Fetched 252 kB in 1s (315 kB/s) [Pipeline] echo [2020-04-16T18:20:48.454Z] ========================================================= [2020-04-16T18:20:48.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-16T18:20:48.454Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:20:49.144Z] Reading package lists... [2020-04-16T18:20:49.491Z] + 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-16T18:20:50.461Z] Sending build context to Docker daemon 562.2kB [2020-04-16T18:20:50.461Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-16T18:20:50.461Z] Step 2/8 : FROM ${BASE} [2020-04-16T18:20:50.742Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-16T18:20:50.742Z] cde5963f3b93: Pulling fs layer [2020-04-16T18:20:50.742Z] 2a23fa8c16f7: Pulling fs layer [2020-04-16T18:20:50.742Z] 777b28850792: Pulling fs layer [2020-04-16T18:20:50.742Z] 8a11ddd9e578: Pulling fs layer [2020-04-16T18:20:50.742Z] 4cf88f913ddb: Pulling fs layer [2020-04-16T18:20:50.742Z] 1df406cf5192: Pulling fs layer [2020-04-16T18:20:50.742Z] cd6300453558: Pulling fs layer [2020-04-16T18:20:50.742Z] b9c365052c96: Pulling fs layer [2020-04-16T18:20:50.742Z] a2d8cc88f415: Pulling fs layer [2020-04-16T18:20:50.742Z] ea1d1ca13537: Pulling fs layer [2020-04-16T18:20:50.742Z] 3750a50a1c5e: Pulling fs layer [2020-04-16T18:20:50.742Z] 4cf88f913ddb: Waiting [2020-04-16T18:20:50.742Z] 1df406cf5192: Waiting [2020-04-16T18:20:50.742Z] b9c365052c96: Waiting [2020-04-16T18:20:50.742Z] cd6300453558: Waiting [2020-04-16T18:20:50.742Z] a2d8cc88f415: Waiting [2020-04-16T18:20:50.742Z] 3750a50a1c5e: Waiting [2020-04-16T18:20:50.742Z] ea1d1ca13537: Waiting [2020-04-16T18:20:50.742Z] 8a11ddd9e578: Waiting [2020-04-16T18:20:50.742Z] 777b28850792: Download complete [2020-04-16T18:20:51.016Z] 2a23fa8c16f7: Verifying Checksum [2020-04-16T18:20:51.016Z] 2a23fa8c16f7: Download complete [2020-04-16T18:20:51.016Z] cde5963f3b93: Verifying Checksum [2020-04-16T18:20:51.016Z] cde5963f3b93: Download complete [2020-04-16T18:20:51.016Z] 1df406cf5192: Verifying Checksum [2020-04-16T18:20:51.016Z] 1df406cf5192: Download complete [2020-04-16T18:20:51.016Z] 4cf88f913ddb: Verifying Checksum [2020-04-16T18:20:51.016Z] 4cf88f913ddb: Download complete [2020-04-16T18:20:51.990Z] cde5963f3b93: Pull complete [2020-04-16T18:20:52.591Z] 2a23fa8c16f7: Pull complete [2020-04-16T18:20:52.862Z] 777b28850792: Pull complete [2020-04-16T18:20:53.332Z] 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-16T18:20:54.968Z] Reading package lists... [2020-04-16T18:20:55.227Z] Building dependency tree... [2020-04-16T18:20:55.227Z] Reading state information... [2020-04-16T18:20:55.227Z] The following packages were automatically installed and are no longer required: [2020-04-16T18:20:55.227Z] libjq1 liblzo2-2 libonig4 [2020-04-16T18:20:55.227Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T18:20:55.227Z] Suggested packages: [2020-04-16T18:20:55.227Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T18:20:55.227Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T18:20:55.227Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T18:20:55.227Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T18:20:55.478Z] cd6300453558: Verifying Checksum [2020-04-16T18:20:55.478Z] cd6300453558: Download complete [2020-04-16T18:20:55.478Z] a2d8cc88f415: Verifying Checksum [2020-04-16T18:20:55.478Z] a2d8cc88f415: Download complete [2020-04-16T18:20:55.485Z] The following NEW packages will be installed: [2020-04-16T18:20:55.486Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T18:20:55.486Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T18:20:55.486Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T18:20:55.486Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T18:20:55.744Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T18:20:55.744Z] Need to get 14.7 MB of archives. [2020-04-16T18:20:55.744Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-16T18:20:55.744Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-16T18:20:55.744Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-16T18:20:56.002Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-16T18:20:56.002Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-16T18:20:56.002Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-16T18:20:56.002Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-16T18:20:56.261Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-16T18:20:56.261Z] 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-16T18:20:56.520Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-16T18:20:56.520Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-16T18:20:56.520Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-16T18:20:56.780Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T18:20:56.780Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-16T18:20:56.780Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-16T18:20:56.780Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-16T18:20:56.780Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-16T18:20:56.780Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-16T18:20:56.780Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-16T18:20:56.780Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-16T18:20:56.780Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-16T18:20:56.780Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-16T18:20:57.038Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-16T18:20:57.038Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T18:20:57.038Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.6 [803 kB] [2020-04-16T18:20:57.038Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.6 [3912 kB] [2020-04-16T18:20:57.297Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-16T18:20:57.297Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-16T18:20:57.556Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-16T18:20:57.556Z] Fetched 14.7 MB in 2s (8058 kB/s) [2020-04-16T18:20:57.814Z] Selecting previously unselected package libxau6:amd64. [2020-04-16T18:20:57.814Z] (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-16T18:20:57.814Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-04-16T18:20:57.814Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-04-16T18:20:58.073Z] Selecting previously unselected package libbsd0:amd64. [2020-04-16T18:20:58.073Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-04-16T18:20:58.073Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-16T18:20:58.073Z] Selecting previously unselected package libxdmcp6:amd64. [2020-04-16T18:20:58.073Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-04-16T18:20:58.073Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-16T18:20:58.073Z] Selecting previously unselected package libxcb1:amd64. [2020-04-16T18:20:58.073Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-04-16T18:20:58.073Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-16T18:20:58.073Z] Selecting previously unselected package libx11-data. [2020-04-16T18:20:58.073Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-16T18:20:58.073Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:20:58.085Z] ea1d1ca13537: Verifying Checksum [2020-04-16T18:20:58.085Z] ea1d1ca13537: Download complete [2020-04-16T18:20:58.085Z] 3750a50a1c5e: Verifying Checksum [2020-04-16T18:20:59.010Z] Selecting previously unselected package libx11-6:amd64. [2020-04-16T18:20:59.010Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-04-16T18:20:59.010Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:20:59.010Z] Selecting previously unselected package libxext6:amd64. [2020-04-16T18:20:59.010Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-04-16T18:20:59.010Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-04-16T18:20:59.010Z] Selecting previously unselected package perl-modules-5.26. [2020-04-16T18:20:59.010Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-16T18:20:59.010Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:00.685Z] b9c365052c96: Verifying Checksum [2020-04-16T18:21:00.685Z] b9c365052c96: Download complete [2020-04-16T18:21:02.097Z] 8a11ddd9e578: Verifying Checksum [2020-04-16T18:21:02.097Z] 8a11ddd9e578: Download complete [2020-04-16T18:21:03.209Z] Selecting previously unselected package libgdbm5:amd64. [2020-04-16T18:21:03.209Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-04-16T18:21:03.209Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-04-16T18:21:03.209Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-04-16T18:21:03.209Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-04-16T18:21:03.209Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-16T18:21:03.209Z] Selecting previously unselected package libperl5.26:amd64. [2020-04-16T18:21:03.209Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-16T18:21:03.209Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:04.590Z] Selecting previously unselected package perl. [2020-04-16T18:21:04.590Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-16T18:21:04.590Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:04.590Z] Selecting previously unselected package less. [2020-04-16T18:21:04.590Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-04-16T18:21:04.590Z] Unpacking less (487-0.1) ... [2020-04-16T18:21:04.590Z] Selecting previously unselected package libexpat1:amd64. [2020-04-16T18:21:04.590Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-04-16T18:21:04.590Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-16T18:21:04.590Z] Selecting previously unselected package netbase. [2020-04-16T18:21:04.590Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-16T18:21:04.590Z] Unpacking netbase (5.4) ... [2020-04-16T18:21:04.850Z] Selecting previously unselected package libedit2:amd64. [2020-04-16T18:21:04.850Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-04-16T18:21:04.850Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-04-16T18:21:04.850Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-04-16T18:21:04.850Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-04-16T18:21:04.850Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-16T18:21:05.111Z] Selecting previously unselected package libxmuu1:amd64. [2020-04-16T18:21:05.111Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-04-16T18:21:05.111Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-16T18:21:05.111Z] Selecting previously unselected package openssh-client. [2020-04-16T18:21:05.111Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-04-16T18:21:05.111Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-16T18:21:05.371Z] Selecting previously unselected package xauth. [2020-04-16T18:21:05.371Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-04-16T18:21:05.371Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-16T18:21:05.371Z] Selecting previously unselected package curl. [2020-04-16T18:21:05.371Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-16T18:21:05.371Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-16T18:21:05.371Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-04-16T18:21:05.371Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-16T18:21:05.630Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-16T18:21:05.630Z] Selecting previously unselected package liberror-perl. [2020-04-16T18:21:05.630Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-16T18:21:05.630Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-16T18:21:05.630Z] Selecting previously unselected package git-man. [2020-04-16T18:21:05.630Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.6_all.deb ... [2020-04-16T18:21:05.630Z] Unpacking git-man (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:21:05.890Z] Selecting previously unselected package git. [2020-04-16T18:21:05.890Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.6_amd64.deb ... [2020-04-16T18:21:05.890Z] Unpacking git (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:21:06.461Z] Selecting previously unselected package make. [2020-04-16T18:21:06.461Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-04-16T18:21:06.461Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-16T18:21:06.461Z] Selecting previously unselected package patch. [2020-04-16T18:21:06.461Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-04-16T18:21:06.461Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-16T18:21:06.461Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-04-16T18:21:06.720Z] Setting up git-man (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:21:06.720Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-16T18:21:06.720Z] Setting up less (487-0.1) ... [2020-04-16T18:21:06.720Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-16T18:21:06.720Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-16T18:21:06.979Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-16T18:21:06.979Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-16T18:21:06.979Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:06.979Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-04-16T18:21:06.979Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-16T18:21:06.979Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-16T18:21:06.979Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-16T18:21:07.238Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-16T18:21:07.238Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-16T18:21:07.238Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:21:07.238Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-04-16T18:21:07.496Z] Setting up netbase (5.4) ... [2020-04-16T18:21:07.496Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:07.496Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-16T18:21:07.496Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:21:07.496Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-16T18:21:07.496Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-16T18:21:07.496Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-04-16T18:21:07.496Z] Setting up liberror-perl (0.17025-1) ... [2020-04-16T18:21:07.755Z] Setting up xauth (1:1.0.10-1) ... [2020-04-16T18:21:07.755Z] Setting up git (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:21:07.755Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-16T18:21:09.663Z] curl set to automatically installed. [2020-04-16T18:21:09.663Z] git set to automatically installed. [2020-04-16T18:21:09.663Z] git-man set to automatically installed. [2020-04-16T18:21:09.663Z] less set to automatically installed. [2020-04-16T18:21:09.663Z] libbsd0 set to automatically installed. [2020-04-16T18:21:09.663Z] libcurl3-gnutls set to automatically installed. [2020-04-16T18:21:09.663Z] libedit2 set to automatically installed. [2020-04-16T18:21:09.663Z] liberror-perl set to automatically installed. [2020-04-16T18:21:09.663Z] libexpat1 set to automatically installed. [2020-04-16T18:21:09.663Z] libgdbm-compat4 set to automatically installed. [2020-04-16T18:21:09.663Z] libgdbm5 set to automatically installed. [2020-04-16T18:21:09.663Z] libperl5.26 set to automatically installed. [2020-04-16T18:21:09.663Z] libssl1.0.0 set to automatically installed. [2020-04-16T18:21:09.663Z] libx11-6 set to automatically installed. [2020-04-16T18:21:09.663Z] libx11-data set to automatically installed. [2020-04-16T18:21:09.663Z] libxau6 set to automatically installed. [2020-04-16T18:21:09.663Z] libxcb1 set to automatically installed. [2020-04-16T18:21:09.663Z] libxdmcp6 set to automatically installed. [2020-04-16T18:21:09.663Z] libxext6 set to automatically installed. [2020-04-16T18:21:09.663Z] libxmuu1 set to automatically installed. [2020-04-16T18:21:09.663Z] make set to automatically installed. [2020-04-16T18:21:09.663Z] netbase set to automatically installed. [2020-04-16T18:21:09.663Z] openssh-client set to automatically installed. [2020-04-16T18:21:09.663Z] patch set to automatically installed. [2020-04-16T18:21:09.663Z] perl set to automatically installed. [2020-04-16T18:21:09.663Z] perl-modules-5.26 set to automatically installed. [2020-04-16T18:21:09.663Z] xauth set to automatically installed. [2020-04-16T18:21:09.663Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-16T18:21:09.663Z] Please ensure the environment is properly setup before continuing. [2020-04-16T18:21:09.663Z] Ignore this message if the appropriate measures have already been taken [2020-04-16T18:21:10.597Z] Pulling go [2020-04-16T18:21:11.535Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-16T18:21:11.535Z] Skipping pull go (already ran) [2020-04-16T18:21:11.535Z] Building go [2020-04-16T18:21:11.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-16T18:21:11.535Z] Dload Upload Total Spent Left Speed [2020-04-16T18:21:13.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 115M 39 45.4M 0 0 67.4M 0 0:00:01 --:--:-- 0:00:01 67.3M 100 115M 100 115M 0 0 82.1M 0 0:00:01 0:00:01 --:--:-- 82.1M [2020-04-16T18:21:13.606Z] go1.11.9.linux-amd64.tar.gz: OK [2020-04-16T18:21:14.441Z] 8a11ddd9e578: Pull complete [2020-04-16T18:21:14.441Z] 4cf88f913ddb: Pull complete [2020-04-16T18:21:14.441Z] 1df406cf5192: Pull complete [2020-04-16T18:21:17.799Z] cd6300453558: Pull complete [2020-04-16T18:21:21.732Z] Staging go [2020-04-16T18:21:22.059Z] b9c365052c96: Pull complete [2020-04-16T18:21:22.059Z] a2d8cc88f415: Pull complete [2020-04-16T18:21:22.299Z] Pulling device-modbus [2020-04-16T18:21:23.236Z] Skipping build go (already ran) [2020-04-16T18:21:23.236Z] Building device-modbus [2020-04-16T18:21:23.495Z] 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-16T18:21:23.758Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-16T18:21:23.758Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-16T18:21:23.758Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-16T18:21:23.758Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:21:23.758Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-16T18:21:23.758Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:21:23.758Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T18:21:23.758Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:21:23.758Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T18:21:23.758Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-16T18:21:24.014Z] ea1d1ca13537: Pull complete [2020-04-16T18:21:24.605Z] 3750a50a1c5e: Pull complete [2020-04-16T18:21:24.605Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-16T18:21:24.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-16T18:21:24.605Z] ---> 78745c68409d [2020-04-16T18:21:24.605Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-16T18:21:24.717Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-16T18:21:24.717Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T18:21:24.717Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T18:21:24.717Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T18:21:24.717Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T18:21:24.717Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T18:21:24.717Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:21:25.675Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-16T18:21:25.675Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T18:21:25.675Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-16T18:21:25.675Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T18:21:25.675Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T18:21:25.675Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T18:21:25.675Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T18:21:25.675Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-16T18:21:25.675Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:21:26.252Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:21:26.252Z] go: finding github.com/gorilla/mux v1.6.2 [2020-04-16T18:21:26.252Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T18:21:26.252Z] go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc [2020-04-16T18:21:26.252Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T18:21:26.252Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T18:21:26.252Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T18:21:26.511Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T18:21:26.511Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:21:26.511Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:21:26.511Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T18:21:26.774Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:21:26.774Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T18:21:27.040Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T18:21:27.040Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T18:21:27.040Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T18:21:27.040Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:21:27.306Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T18:21:27.306Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T18:21:27.306Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:21:27.570Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:21:27.570Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T18:21:27.570Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:21:27.839Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:21:28.444Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T18:21:28.444Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T18:21:28.444Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T18:21:28.444Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T18:21:28.444Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T18:21:28.444Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T18:21:28.444Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T18:21:28.444Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:21:28.702Z] go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee [2020-04-16T18:21:29.268Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T18:21:29.836Z] go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 [2020-04-16T18:21:29.836Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T18:21:29.836Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T18:21:29.836Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T18:21:29.836Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T18:21:29.836Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T18:21:29.836Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T18:21:29.836Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T18:21:29.836Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T18:21:29.963Z] ---> Running in 692e24fb7276 [2020-04-16T18:21:29.963Z] Removing intermediate container 692e24fb7276 [2020-04-16T18:21:29.963Z] ---> 27aaa2b6a1e9 [2020-04-16T18:21:29.963Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T18:21:29.963Z] ---> Running in b4d8ec4f6bb6 [2020-04-16T18:21:30.098Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T18:21:30.672Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T18:21:30.672Z] go: finding github.com/stretchr/testify v1.2.2 [2020-04-16T18:21:30.672Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T18:21:30.672Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T18:21:30.672Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T18:21:30.672Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T18:21:30.937Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:21:31.195Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T18:21:31.763Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T18:21:31.763Z] go: finding github.com/hashicorp/go-uuid v1.0.0 [2020-04-16T18:21:31.911Z] Removing intermediate container b4d8ec4f6bb6 [2020-04-16T18:21:31.911Z] ---> 43f911af423d [2020-04-16T18:21:31.911Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T18:21:31.911Z] ---> Running in 80936c2212ae [2020-04-16T18:21:32.874Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T18:21:33.459Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T18:21:34.041Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:21:34.041Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:21:34.041Z] (3/18) Installing libmagic (5.37-r1) [2020-04-16T18:21:34.301Z] go: downloading github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:21:34.301Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:21:34.301Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-16T18:21:34.301Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-16T18:21:34.307Z] (4/18) Installing file (5.37-r1) [2020-04-16T18:21:34.307Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:21:34.562Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-16T18:21:34.562Z] go: downloading github.com/ugorji/go v1.1.4 [2020-04-16T18:21:34.562Z] go: downloading github.com/gorilla/mux v1.7.0 [2020-04-16T18:21:34.562Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-16T18:21:34.562Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:21:34.562Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:21:34.562Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-16T18:21:34.562Z] go: downloading gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:21:34.562Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:21:34.562Z] go: downloading github.com/hashicorp/consul v1.4.2 [2020-04-16T18:21:34.562Z] go: downloading github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:21:34.562Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:21:34.562Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:21:34.562Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:21:34.573Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:21:34.573Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-16T18:21:34.821Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:21:42.782Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-16T18:21:42.782Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-16T18:21:42.944Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:21:42.944Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-16T18:21:42.944Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:21:42.944Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:21:42.944Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:21:42.944Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:21:47.039Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-16T18:21:47.039Z] (11/18) Installing build-base (0.5-r1) [2020-04-16T18:21:47.039Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-16T18:21:47.039Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-16T18:21:47.039Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-16T18:21:47.307Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-16T18:21:47.307Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-16T18:21:47.307Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-16T18:21:47.576Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-16T18:21:47.576Z] Executing busybox-1.31.1-r8.trigger [2020-04-16T18:21:47.576Z] OK: 203 MiB in 52 packages [2020-04-16T18:21:54.233Z] Removing intermediate container 80936c2212ae [2020-04-16T18:21:54.233Z] ---> 486ecbaf1158 [2020-04-16T18:21:54.233Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-16T18:21:54.233Z] ---> Running in 1cf649d2bc6c [2020-04-16T18:21:54.818Z] Removing intermediate container 1cf649d2bc6c [2020-04-16T18:21:54.818Z] ---> fb6ab7c1106f [2020-04-16T18:21:54.818Z] Step 7/8 : COPY . . [2020-04-16T18:21:55.406Z] ---> 8eeedf68f689 [2020-04-16T18:21:55.406Z] Step 8/8 : RUN go mod download [2020-04-16T18:21:55.674Z] ---> Running in 3d710f59f13f [2020-04-16T18:21:57.624Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T18:21:57.624Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T18:21:57.624Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:21:57.624Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T18:21:57.624Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T18:21:57.624Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:21:57.624Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T18:21:57.883Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T18:21:57.891Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:21:57.891Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:21:57.891Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:21:57.891Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T18:21:57.891Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T18:21:57.891Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:21:57.891Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T18:21:57.891Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-16T18:21:57.891Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-16T18:21:57.891Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T18:21:57.891Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T18:21:57.891Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T18:21:57.891Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T18:21:57.891Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T18:21:57.891Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T18:21:57.891Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:21:57.891Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:21:57.891Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T18:21:58.157Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T18:21:58.157Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T18:21:58.157Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T18:21:58.157Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T18:21:58.157Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:21:58.424Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T18:21:58.424Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:21:58.424Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T18:21:58.424Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T18:21:58.424Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T18:21:58.424Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-16T18:21:58.424Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T18:21:58.424Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T18:21:58.424Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T18:21:58.424Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T18:21:58.424Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T18:21:58.694Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-16T18:21:58.694Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T18:21:58.694Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T18:21:58.694Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T18:21:58.694Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:22:01.169Z] Skipping stage go (already ran) [2020-04-16T18:22:01.169Z] Staging device-modbus [2020-04-16T18:22:02.105Z] Priming go [2020-04-16T18:22:03.040Z] Priming device-modbus [2020-04-16T18:22:03.605Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-16T18:22:03.605Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-16T18:22:03.605Z] Determining the version from the project repo (version-script). [2020-04-16T18:22:03.605Z] The version has been set to '0.0.0-20200416+cbbbde0' [2020-04-16T18:22:03.866Z] Snapping 'edgex-device-modbus' ... [2020-04-16T18:22:05.274Z] [2020-04-16T18:22:05.274Z] Snapped edgex-device-modbus_0.0.0-20200416+cbbbde0_amd64.snap [Pipeline] } [2020-04-16T18:22:06.658Z] 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-16T18:22:16.922Z] Removing intermediate container 3d710f59f13f [2020-04-16T18:22:16.922Z] ---> 82cf519c83a5 [2020-04-16T18:22:16.922Z] Successfully built 82cf519c83a5 [2020-04-16T18:22:16.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:22:17.535Z] + docker inspect -f . ci-base-image-arm64 [2020-04-16T18:22:17.535Z] . [Pipeline] withDockerContainer [2020-04-16T18:22:18.138Z] prd-ubuntu18.04-docker-arm64-4c-16g-4352 does not seem to be running inside a container [2020-04-16T18:22:18.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2020-04-16T18:22:19.584Z] $ docker top f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-16T18:22:20.660Z] + go version [2020-04-16T18:22:20.660Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-16T18:22:21.328Z] + make test [2020-04-16T18:22:21.328Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-16T18:22:22.293Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-16T18:23:01.243Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-16T18:23:01.243Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.294s coverage: 50.3% of statements [2020-04-16T18:23:01.243Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-16T18:23:06.605Z] gofmt -l . [2020-04-16T18:23:06.605Z] [ "`gofmt -l .`" = "" ] [2020-04-16T18:23:06.605Z] ./bin/test-attribution-txt.sh [2020-04-16T18:23:07.192Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-16T18:23:07.793Z] Warning: overwriting stash ‘coverage-report’ [2020-04-16T18:23:08.183Z] Stashed 1 file(s) [Pipeline] } [2020-04-16T18:23:08.192Z] $ docker stop --time=1 f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e [2020-04-16T18:23:10.492Z] $ docker rm -f f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-16T18:23:11.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-16T18:23:11.997Z] + ls -al . [2020-04-16T18:23:11.998Z] total 132 [2020-04-16T18:23:11.998Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 18:23 . [2020-04-16T18:23:11.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 18:20 .. [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 18:20 .dockerignore [2020-04-16T18:23:11.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 18:20 .git [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 16 18:20 .gitignore [2020-04-16T18:23:11.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 .semver [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 4208 Apr 16 18:20 Attribution.txt [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 1263 Apr 16 18:20 Dockerfile [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 16 18:20 Dockerfile.build [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 16 18:20 Jenkinsfile [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 18:20 LICENSE [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 16 18:20 Makefile [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 16 18:20 README.md [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 18:15 VERSION [2020-04-16T18:23:11.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 18:20 bin [2020-04-16T18:23:11.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 cmd [2020-04-16T18:23:11.998Z] -rw-r--r-- 1 jenkins jenkins 22122 Apr 16 18:22 coverage.out [2020-04-16T18:23:11.998Z] -rw-r--r-- 1 jenkins jenkins 630 Apr 16 18:23 go.mod [2020-04-16T18:23:11.998Z] -rw-r--r-- 1 jenkins jenkins 12117 Apr 16 18:23 go.sum [2020-04-16T18:23:11.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 internal [2020-04-16T18:23:11.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 18:20 simulator [2020-04-16T18:23:11.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 18:20 snap [2020-04-16T18:23:11.998Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 16 18:20 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:23:12.329Z] + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=arm64 --label version=0.0.0 . [2020-04-16T18:23:12.597Z] Sending build context to Docker daemon 590.8kB [2020-04-16T18:23:12.866Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-16T18:23:12.866Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-16T18:23:12.866Z] ---> 82cf519c83a5 [2020-04-16T18:23:12.866Z] Step 3/17 : ARG MAKE='make build' [2020-04-16T18:23:12.866Z] ---> Running in 743fa0ea82b7 [2020-04-16T18:23:13.135Z] Removing intermediate container 743fa0ea82b7 [2020-04-16T18:23:13.135Z] ---> 702c4663fe82 [2020-04-16T18:23:13.135Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-16T18:23:13.404Z] ---> Running in 85e8a776adc1 [2020-04-16T18:23:15.351Z] Removing intermediate container 85e8a776adc1 [2020-04-16T18:23:15.351Z] ---> f3e301fa5c89 [2020-04-16T18:23:15.351Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-16T18:23:15.351Z] ---> Running in 9ede2dcb4e00 [2020-04-16T18:23:15.938Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-16T18:23:16.893Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-16T18:23:17.473Z] OK: 203 MiB in 52 packages [2020-04-16T18:23:18.496Z] Removing intermediate container 9ede2dcb4e00 [2020-04-16T18:23:18.496Z] ---> 5af59a47717c [2020-04-16T18:23:18.496Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-16T18:23:18.783Z] ---> Running in 8769bd6e63af [2020-04-16T18:23:19.068Z] Removing intermediate container 8769bd6e63af [2020-04-16T18:23:19.068Z] ---> 4af8d7ec6041 [2020-04-16T18:23:19.068Z] Step 7/17 : COPY . . [2020-04-16T18:23:20.059Z] ---> e57bba79af16 [2020-04-16T18:23:20.059Z] Step 8/17 : RUN ${MAKE} [2020-04-16T18:23:20.059Z] ---> Running in 75f0f4ded2ee [2020-04-16T18:23:21.041Z] 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-16T18:23:53.287Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T18:24:01.491Z] Removing intermediate container 75f0f4ded2ee [2020-04-16T18:24:01.491Z] ---> 58d2567ac597 [2020-04-16T18:24:01.491Z] Step 9/17 : FROM scratch [2020-04-16T18:24:01.491Z] ---> [2020-04-16T18:24:01.491Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-16T18:24:01.491Z] ---> Running in 93081aaad935 [2020-04-16T18:24:01.759Z] Removing intermediate container 93081aaad935 [2020-04-16T18:24:01.759Z] ---> 157fad9bdafd [2020-04-16T18:24:01.759Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-16T18:24:02.028Z] ---> Running in 5bf9636c080b [2020-04-16T18:24:02.295Z] Removing intermediate container 5bf9636c080b [2020-04-16T18:24:02.295Z] ---> 99b64dd1f019 [2020-04-16T18:24:02.295Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-16T18:24:03.259Z] ---> b923213d5024 [2020-04-16T18:24:03.259Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-16T18:24:03.530Z] ---> Running in 120d0ba5802a [2020-04-16T18:24:03.795Z] Removing intermediate container 120d0ba5802a [2020-04-16T18:24:03.795Z] ---> ae74227b571c [2020-04-16T18:24:03.795Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-16T18:24:04.068Z] ---> Running in 32c0d8c1e7b1 [2020-04-16T18:24:04.335Z] Removing intermediate container 32c0d8c1e7b1 [2020-04-16T18:24:04.335Z] ---> 0c2f639e5e8a [2020-04-16T18:24:04.335Z] Step 15/17 : LABEL arch=arm64 [2020-04-16T18:24:04.335Z] ---> Running in 4c39d5ebdca6 [2020-04-16T18:24:04.918Z] Removing intermediate container 4c39d5ebdca6 [2020-04-16T18:24:04.918Z] ---> 01d9c9418f16 [2020-04-16T18:24:04.918Z] Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c [2020-04-16T18:24:04.918Z] ---> Running in d2ad7e93b2b9 [2020-04-16T18:24:05.185Z] Removing intermediate container d2ad7e93b2b9 [2020-04-16T18:24:05.185Z] ---> 2e802e3f3496 [2020-04-16T18:24:05.185Z] Step 17/17 : LABEL version=0.0.0 [2020-04-16T18:24:05.452Z] ---> Running in 451d653412c2 [2020-04-16T18:24:05.719Z] Removing intermediate container 451d653412c2 [2020-04-16T18:24:05.719Z] ---> e0efe49df0c2 [2020-04-16T18:24:05.719Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-16T18:24:05.719Z] Successfully built e0efe49df0c2 [2020-04-16T18:24:05.719Z] 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-16T18:24:06.485Z] + grep snapcraft.yaml [2020-04-16T18:24:06.486Z] + find /w/workspace/device-modbus-go/2 [2020-04-16T18:24:06.486Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T18:24:06.616Z] provisioning config files... [2020-04-16T18:24:06.638Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config7689699753906156120tmp [Pipeline] { [Pipeline] sh [2020-04-16T18:24:06.998Z] + cp /w/workspace/device-modbus-go/2@tmp/config7689699753906156120tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh [2020-04-16T18:24:07.331Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/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-16T18:24:07.600Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-16T18:24:07.600Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-16T18:24:07.600Z] b2f61026a351: Pulling fs layer [2020-04-16T18:24:07.600Z] 5538fb30c42c: Pulling fs layer [2020-04-16T18:24:07.600Z] f0b05810781a: Pulling fs layer [2020-04-16T18:24:07.600Z] 0180a33352d6: Pulling fs layer [2020-04-16T18:24:07.600Z] e7604b0c0f53: Pulling fs layer [2020-04-16T18:24:07.600Z] db689cb83ae0: Pulling fs layer [2020-04-16T18:24:07.600Z] 6138af208834: Pulling fs layer [2020-04-16T18:24:07.600Z] 007c8e8c5d63: Pulling fs layer [2020-04-16T18:24:07.600Z] 4f7a387c642f: Pulling fs layer [2020-04-16T18:24:07.600Z] db689cb83ae0: Waiting [2020-04-16T18:24:07.600Z] 6138af208834: Waiting [2020-04-16T18:24:07.600Z] 007c8e8c5d63: Waiting [2020-04-16T18:24:07.600Z] 4f7a387c642f: Waiting [2020-04-16T18:24:07.600Z] 0180a33352d6: Waiting [2020-04-16T18:24:07.600Z] e7604b0c0f53: Waiting [2020-04-16T18:24:07.600Z] f0b05810781a: Download complete [2020-04-16T18:24:07.600Z] 5538fb30c42c: Download complete [2020-04-16T18:24:07.600Z] 0180a33352d6: Download complete [2020-04-16T18:24:07.600Z] db689cb83ae0: Verifying Checksum [2020-04-16T18:24:07.600Z] db689cb83ae0: Download complete [2020-04-16T18:24:07.600Z] 6138af208834: Verifying Checksum [2020-04-16T18:24:07.600Z] 6138af208834: Download complete [2020-04-16T18:24:07.600Z] 007c8e8c5d63: Verifying Checksum [2020-04-16T18:24:07.600Z] 007c8e8c5d63: Download complete [2020-04-16T18:24:07.600Z] 4f7a387c642f: Verifying Checksum [2020-04-16T18:24:07.600Z] 4f7a387c642f: Download complete [2020-04-16T18:24:10.188Z] b2f61026a351: Verifying Checksum [2020-04-16T18:24:10.188Z] b2f61026a351: Download complete [2020-04-16T18:24:12.789Z] b2f61026a351: Pull complete [2020-04-16T18:24:12.789Z] 5538fb30c42c: Pull complete [2020-04-16T18:24:13.057Z] f0b05810781a: Pull complete [2020-04-16T18:24:13.326Z] 0180a33352d6: Pull complete [2020-04-16T18:24:35.389Z] e7604b0c0f53: Verifying Checksum [2020-04-16T18:24:35.389Z] e7604b0c0f53: Download complete [2020-04-16T18:25:02.108Z] e7604b0c0f53: Pull complete [2020-04-16T18:25:02.108Z] db689cb83ae0: Pull complete [2020-04-16T18:25:02.108Z] 6138af208834: Pull complete [2020-04-16T18:25:02.108Z] 007c8e8c5d63: Pull complete [2020-04-16T18:25:02.108Z] 4f7a387c642f: Pull complete [2020-04-16T18:25:02.108Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-04-16T18:25:02.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-16T18:25:07.459Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-04-16T18:25:07.459Z] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-04-16T18:25:07.459Z] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-04-16T18:25:07.459Z] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-04-16T18:25:12.669Z] Reading package lists... [2020-04-16T18:25:24.976Z] 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-16T18:25:29.495Z] Reading package lists... [2020-04-16T18:25:30.348Z] Building dependency tree... [2020-04-16T18:25:30.348Z] Reading state information... [2020-04-16T18:25:31.306Z] The following packages were automatically installed and are no longer required: [2020-04-16T18:25:31.306Z] libjq1 liblzo2-2 libonig4 [2020-04-16T18:25:31.306Z] Use 'sudo apt autoremove' to remove them. [2020-04-16T18:25:31.306Z] Suggested packages: [2020-04-16T18:25:31.306Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-16T18:25:31.307Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-16T18:25:31.307Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-16T18:25:31.307Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-16T18:25:31.573Z] The following NEW packages will be installed: [2020-04-16T18:25:31.573Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-16T18:25:31.573Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-16T18:25:31.573Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-16T18:25:31.573Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-16T18:25:31.837Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-16T18:25:31.837Z] Need to get 12.9 MB of archives. [2020-04-16T18:25:31.837Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-16T18:25:31.837Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-16T18:25:31.837Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-16T18:25:32.104Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-16T18:25:32.104Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-16T18:25:32.104Z] 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-16T18:25:32.104Z] 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-16T18:25:32.369Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-16T18:25:32.369Z] 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-16T18:25:32.635Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-16T18:25:32.636Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-16T18:25:32.636Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-16T18:25:32.902Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-16T18:25:32.902Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-16T18:25:32.902Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-16T18:25:32.902Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-16T18:25:32.902Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-16T18:25:32.902Z] 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-16T18:25:32.902Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-16T18:25:32.902Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-16T18:25:32.902Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-16T18:25:32.902Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-16T18:25:32.902Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-16T18:25:32.902Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-16T18:25:32.902Z] Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.6 [803 kB] [2020-04-16T18:25:33.169Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.6 [2950 kB] [2020-04-16T18:25:33.169Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-16T18:25:33.169Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-16T18:25:33.753Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-16T18:25:34.020Z] Fetched 12.9 MB in 2s (8221 kB/s) [2020-04-16T18:25:34.020Z] Selecting previously unselected package libxau6:arm64. [2020-04-16T18:25:34.020Z] (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-16T18:25:34.020Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-04-16T18:25:34.020Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-04-16T18:25:34.020Z] Selecting previously unselected package libbsd0:arm64. [2020-04-16T18:25:34.021Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-04-16T18:25:34.288Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-16T18:25:34.288Z] Selecting previously unselected package libxdmcp6:arm64. [2020-04-16T18:25:34.288Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-04-16T18:25:34.288Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-16T18:25:34.554Z] Selecting previously unselected package libxcb1:arm64. [2020-04-16T18:25:34.554Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-04-16T18:25:34.554Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-16T18:25:34.554Z] Selecting previously unselected package libx11-data. [2020-04-16T18:25:34.554Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-16T18:25:34.554Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:25:34.820Z] Selecting previously unselected package libx11-6:arm64. [2020-04-16T18:25:34.821Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-04-16T18:25:34.821Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:25:35.087Z] Selecting previously unselected package libxext6:arm64. [2020-04-16T18:25:35.087Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-04-16T18:25:35.087Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-04-16T18:25:35.087Z] Selecting previously unselected package perl-modules-5.26. [2020-04-16T18:25:35.087Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-16T18:25:35.087Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:37.034Z] Selecting previously unselected package libgdbm5:arm64. [2020-04-16T18:25:37.034Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-04-16T18:25:37.034Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-04-16T18:25:37.034Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-04-16T18:25:37.034Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-04-16T18:25:37.034Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-16T18:25:37.034Z] Selecting previously unselected package libperl5.26:arm64. [2020-04-16T18:25:37.034Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-16T18:25:37.034Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:38.442Z] Selecting previously unselected package perl. [2020-04-16T18:25:38.442Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-16T18:25:38.442Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:38.442Z] Selecting previously unselected package less. [2020-04-16T18:25:38.442Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-04-16T18:25:38.442Z] Unpacking less (487-0.1) ... [2020-04-16T18:25:38.442Z] Selecting previously unselected package libexpat1:arm64. [2020-04-16T18:25:38.442Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-04-16T18:25:38.442Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-16T18:25:38.708Z] Selecting previously unselected package netbase. [2020-04-16T18:25:38.708Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-16T18:25:38.708Z] Unpacking netbase (5.4) ... [2020-04-16T18:25:38.708Z] Selecting previously unselected package libedit2:arm64. [2020-04-16T18:25:38.708Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-04-16T18:25:38.708Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-04-16T18:25:38.975Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-04-16T18:25:38.975Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-04-16T18:25:38.975Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-16T18:25:39.243Z] Selecting previously unselected package libxmuu1:arm64. [2020-04-16T18:25:39.243Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-04-16T18:25:39.243Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-16T18:25:39.243Z] Selecting previously unselected package openssh-client. [2020-04-16T18:25:39.243Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-04-16T18:25:39.243Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-16T18:25:39.518Z] Selecting previously unselected package xauth. [2020-04-16T18:25:39.518Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-04-16T18:25:39.518Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-16T18:25:39.784Z] Selecting previously unselected package curl. [2020-04-16T18:25:39.784Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-16T18:25:39.784Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-16T18:25:39.784Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-04-16T18:25:39.784Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-16T18:25:39.784Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-16T18:25:40.051Z] Selecting previously unselected package liberror-perl. [2020-04-16T18:25:40.051Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-16T18:25:40.051Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-16T18:25:40.051Z] Selecting previously unselected package git-man. [2020-04-16T18:25:40.051Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.6_all.deb ... [2020-04-16T18:25:40.051Z] Unpacking git-man (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:25:40.318Z] Selecting previously unselected package git. [2020-04-16T18:25:40.318Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.6_arm64.deb ... [2020-04-16T18:25:40.318Z] Unpacking git (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:25:41.727Z] Selecting previously unselected package make. [2020-04-16T18:25:41.727Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-04-16T18:25:41.727Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-16T18:25:41.727Z] Selecting previously unselected package patch. [2020-04-16T18:25:41.727Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-04-16T18:25:41.727Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-16T18:25:41.727Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-04-16T18:25:41.727Z] Setting up git-man (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:25:41.727Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-16T18:25:41.994Z] Setting up less (487-0.1) ... [2020-04-16T18:25:42.261Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-16T18:25:42.261Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-16T18:25:42.528Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-16T18:25:42.528Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-16T18:25:42.528Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:42.794Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-04-16T18:25:42.794Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-16T18:25:42.794Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-16T18:25:42.794Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-16T18:25:42.794Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-16T18:25:42.794Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-16T18:25:43.061Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:25:43.327Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-04-16T18:25:43.327Z] Setting up netbase (5.4) ... [2020-04-16T18:25:43.327Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:43.327Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-16T18:25:43.593Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-16T18:25:43.593Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-16T18:25:43.593Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-16T18:25:43.593Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-04-16T18:25:43.593Z] Setting up liberror-perl (0.17025-1) ... [2020-04-16T18:25:43.593Z] Setting up xauth (1:1.0.10-1) ... [2020-04-16T18:25:43.860Z] Setting up git (1:2.17.1-1ubuntu0.6) ... [2020-04-16T18:25:43.860Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-16T18:25:50.536Z] curl set to automatically installed. [2020-04-16T18:25:50.536Z] git set to automatically installed. [2020-04-16T18:25:50.536Z] git-man set to automatically installed. [2020-04-16T18:25:50.536Z] less set to automatically installed. [2020-04-16T18:25:50.536Z] libbsd0 set to automatically installed. [2020-04-16T18:25:50.536Z] libcurl3-gnutls set to automatically installed. [2020-04-16T18:25:50.536Z] libedit2 set to automatically installed. [2020-04-16T18:25:50.536Z] liberror-perl set to automatically installed. [2020-04-16T18:25:50.536Z] libexpat1 set to automatically installed. [2020-04-16T18:25:50.536Z] libgdbm-compat4 set to automatically installed. [2020-04-16T18:25:50.536Z] libgdbm5 set to automatically installed. [2020-04-16T18:25:50.536Z] libperl5.26 set to automatically installed. [2020-04-16T18:25:50.536Z] libssl1.0.0 set to automatically installed. [2020-04-16T18:25:50.536Z] libx11-6 set to automatically installed. [2020-04-16T18:25:50.536Z] libx11-data set to automatically installed. [2020-04-16T18:25:50.536Z] libxau6 set to automatically installed. [2020-04-16T18:25:50.536Z] libxcb1 set to automatically installed. [2020-04-16T18:25:50.536Z] libxdmcp6 set to automatically installed. [2020-04-16T18:25:50.536Z] libxext6 set to automatically installed. [2020-04-16T18:25:50.536Z] libxmuu1 set to automatically installed. [2020-04-16T18:25:50.536Z] make set to automatically installed. [2020-04-16T18:25:50.536Z] netbase set to automatically installed. [2020-04-16T18:25:50.536Z] openssh-client set to automatically installed. [2020-04-16T18:25:50.536Z] patch set to automatically installed. [2020-04-16T18:25:50.536Z] perl set to automatically installed. [2020-04-16T18:25:50.536Z] perl-modules-5.26 set to automatically installed. [2020-04-16T18:25:50.536Z] xauth set to automatically installed. [2020-04-16T18:25:50.536Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-16T18:25:50.536Z] Please ensure the environment is properly setup before continuing. [2020-04-16T18:25:50.536Z] Ignore this message if the appropriate measures have already been taken [2020-04-16T18:25:51.120Z] Pulling go [2020-04-16T18:25:54.459Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-16T18:25:54.459Z] Skipping pull go (already ran) [2020-04-16T18:25:54.459Z] Building go [2020-04-16T18:25:54.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-16T18:25:54.459Z] Dload Upload Total Spent Left Speed [2020-04-16T18:25:56.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 94.3M 1 1743k 0 0 9477k 0 0:00:10 --:--:-- 0:00:10 9426k 51 94.3M 51 48.4M 0 0 40.7M 0 0:00:02 0:00:01 0:00:01 40.7M 100 94.3M 100 94.3M 0 0 43.8M 0 0:00:02 0:00:02 --:--:-- 43.8M [2020-04-16T18:25:57.783Z] go1.11.9.linux-arm64.tar.gz: OK [2020-04-16T18:26:15.980Z] Staging go [2020-04-16T18:26:18.557Z] Pulling device-modbus [2020-04-16T18:26:21.157Z] Skipping build go (already ran) [2020-04-16T18:26:21.157Z] Building device-modbus [2020-04-16T18:26:21.425Z] 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-16T18:26:21.425Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:26:21.425Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:26:21.425Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-16T18:26:21.425Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-16T18:26:21.425Z] go: finding github.com/google/uuid v1.1.1 [2020-04-16T18:26:21.696Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-16T18:26:21.696Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-16T18:26:21.696Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-16T18:26:21.696Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:26:22.666Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-16T18:26:23.634Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-16T18:26:23.906Z] go: finding github.com/google/uuid v1.1.0 [2020-04-16T18:26:23.906Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-16T18:26:23.906Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-16T18:26:23.906Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-16T18:26:23.906Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:26:24.496Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-16T18:26:25.475Z] go: finding github.com/gorilla/mux v1.6.2 [2020-04-16T18:26:25.475Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-16T18:26:25.746Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:26:26.015Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:26:26.285Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-16T18:26:26.555Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-16T18:26:26.555Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-16T18:26:27.522Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-16T18:26:27.799Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:26:28.391Z] go: finding github.com/davecgh/go-spew v1.1.0 [2020-04-16T18:26:28.391Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-16T18:26:28.391Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-16T18:26:28.391Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-16T18:26:28.978Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-16T18:26:29.952Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-16T18:26:29.952Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-16T18:26:29.952Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-16T18:26:29.952Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-16T18:26:29.952Z] go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc [2020-04-16T18:26:30.547Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-16T18:26:31.141Z] go: finding github.com/posener/complete v1.1.1 [2020-04-16T18:26:31.416Z] go: finding github.com/fatih/color v1.7.0 [2020-04-16T18:26:32.004Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:26:32.004Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-16T18:26:32.004Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:26:32.004Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:26:32.273Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-16T18:26:32.543Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:26:32.813Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:26:34.238Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:26:34.238Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-16T18:26:34.238Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-04-16T18:26:34.508Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-16T18:26:34.508Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-16T18:26:34.777Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:26:37.358Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-04-16T18:26:37.358Z] go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee [2020-04-16T18:26:37.358Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-16T18:26:37.358Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-16T18:26:37.358Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-16T18:26:37.358Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-16T18:26:37.358Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-16T18:26:37.358Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-16T18:26:37.947Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-16T18:26:38.535Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-04-16T18:26:38.535Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-16T18:26:39.135Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:26:39.406Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-16T18:26:39.678Z] go: finding github.com/miekg/dns v1.0.14 [2020-04-16T18:26:39.678Z] go: finding github.com/stretchr/testify v1.2.2 [2020-04-16T18:26:39.950Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-16T18:26:39.950Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-16T18:26:39.950Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:26:39.950Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-16T18:26:40.918Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-16T18:26:40.918Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-16T18:26:40.918Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-04-16T18:26:41.502Z] go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 [2020-04-16T18:26:41.502Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-16T18:26:41.775Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-16T18:26:41.775Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-16T18:26:42.371Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-04-16T18:26:42.371Z] go: finding github.com/hashicorp/go-uuid v1.0.0 [2020-04-16T18:26:44.334Z] go: downloading github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-16T18:26:44.334Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-16T18:26:44.334Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-16T18:26:44.334Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-16T18:26:44.334Z] go: downloading github.com/ugorji/go v1.1.4 [2020-04-16T18:26:44.334Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-16T18:26:44.334Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-16T18:26:44.334Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-16T18:26:44.607Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-16T18:26:44.607Z] go: downloading gopkg.in/yaml.v2 v2.2.2 [2020-04-16T18:26:44.607Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-16T18:26:44.607Z] go: downloading github.com/gorilla/mux v1.7.0 [2020-04-16T18:26:44.607Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-16T18:26:44.607Z] go: downloading github.com/hashicorp/consul v1.4.2 [2020-04-16T18:26:44.880Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-16T18:26:44.880Z] go: downloading github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-16T18:26:44.880Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-16T18:26:45.151Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-16T18:26:45.745Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-16T18:27:12.410Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-16T18:27:12.410Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-16T18:27:12.410Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-16T18:27:13.369Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-16T18:27:13.369Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-16T18:27:13.369Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-16T18:27:52.275Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-16T18:28:07.266Z] Skipping stage go (already ran) [2020-04-16T18:28:07.266Z] Staging device-modbus [2020-04-16T18:28:10.605Z] Priming go [2020-04-16T18:28:13.184Z] Priming device-modbus [2020-04-16T18:28:16.521Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-16T18:28:16.521Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-16T18:28:16.521Z] Determining the version from the project repo (version-script). [2020-04-16T18:28:16.521Z] The version has been set to '0.0.0-20200416+cbbbde0' [2020-04-16T18:28:16.521Z] Snapping 'edgex-device-modbus' ... [2020-04-16T18:28:20.781Z] [2020-04-16T18:28:20.781Z] Snapped edgex-device-modbus_0.0.0-20200416+cbbbde0_arm64.snap [Pipeline] } [2020-04-16T18:28:24.136Z] 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-16T18:28:25.121Z] provisioning config files... [2020-04-16T18:28:25.132Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config8601589682541908173tmp [Pipeline] { [Pipeline] sh [2020-04-16T18:28:25.487Z] + curl -s https://codecov.io/bash [2020-04-16T18:28:25.487Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config8601589682541908173tmp [2020-04-16T18:28:25.747Z] [2020-04-16T18:28:25.747Z] _____ _ [2020-04-16T18:28:25.747Z] / ____| | | [2020-04-16T18:28:25.747Z] | | ___ __| | ___ ___ _____ __ [2020-04-16T18:28:25.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-16T18:28:25.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-16T18:28:25.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-16T18:28:25.747Z] Bash-tbd [2020-04-16T18:28:25.747Z] [2020-04-16T18:28:25.747Z] [2020-04-16T18:28:25.747Z] ==> Jenkins CI detected. [2020-04-16T18:28:25.747Z] project root: . [2020-04-16T18:28:25.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-16T18:28:25.747Z] ==> Running gcov in . (disable via -X gcov) [2020-04-16T18:28:25.747Z] ==> Python coveragepy not found [2020-04-16T18:28:25.747Z] ==> Searching for coverage reports in: [2020-04-16T18:28:25.747Z] + . [2020-04-16T18:28:25.747Z] -> Found 1 reports [2020-04-16T18:28:25.747Z] ==> Detecting git/mercurial file structure [2020-04-16T18:28:25.747Z] ==> Reading reports [2020-04-16T18:28:25.747Z] + ./coverage.out bytes=22122 [2020-04-16T18:28:25.747Z] ==> Appending adjustments [2020-04-16T18:28:25.747Z] http://docs.codecov.io/docs/fixing-reports [2020-04-16T18:28:25.747Z] + Found adjustments [2020-04-16T18:28:25.747Z] ==> Gzipping contents [2020-04-16T18:28:25.747Z] ==> Uploading reports [2020-04-16T18:28:25.747Z] url: https://codecov.io [2020-04-16T18:28:25.747Z] query: branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-16T18:28:25.747Z] -> Pinging Codecov [2020-04-16T18:28:25.747Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-16T18:28:26.313Z] -> Uploading [2020-04-16T18:28:26.572Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/cbbbde00792c7bbfc516019c3707f440cae09b1c [Pipeline] } [2020-04-16T18:28:26.580Z] 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-16T18:28:27.645Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T18:28:27.941Z] ---> package-listing.sh [2020-04-16T18:28:27.941Z] ++ facter osfamily [2020-04-16T18:28:27.941Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-16T18:28:27.941Z] + OS_FAMILY=redhat [2020-04-16T18:28:27.941Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-16T18:28:27.941Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-16T18:28:27.941Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-16T18:28:27.941Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-16T18:28:27.941Z] + PACKAGES=/tmp/packages_start.txt [2020-04-16T18:28:27.941Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-16T18:28:27.941Z] + PACKAGES=/tmp/packages_end.txt [2020-04-16T18:28:27.941Z] + case "${OS_FAMILY}" in [2020-04-16T18:28:27.941Z] + rpm -qa [2020-04-16T18:28:27.941Z] + sort [2020-04-16T18:28:32.153Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-16T18:28:32.153Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-16T18:28:32.153Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-16T18:28:32.153Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-16T18:28:32.153Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [2020-04-16T18:28:32.153Z] + 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-16T18:28:32.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T18:28:32.532Z] [2020-04-16T18:28:32.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-16T18:28:32.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-16T18:28:32.862Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-16T18:28:32.862Z] c9b1b535fdd9: Pulling fs layer [2020-04-16T18:28:32.862Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-16T18:28:32.862Z] 756a868c4378: Pulling fs layer [2020-04-16T18:28:32.862Z] 444b2fc9a129: Pulling fs layer [2020-04-16T18:28:32.862Z] ea15f1150254: Pulling fs layer [2020-04-16T18:28:32.862Z] 41b27a9f41bf: Pulling fs layer [2020-04-16T18:28:32.862Z] 28c525ee5125: Pulling fs layer [2020-04-16T18:28:32.862Z] 094b1ea09ed8: Pulling fs layer [2020-04-16T18:28:32.862Z] 138eaada9080: Pulling fs layer [2020-04-16T18:28:32.862Z] 0622d0fa9048: Pulling fs layer [2020-04-16T18:28:32.862Z] 41b27a9f41bf: Waiting [2020-04-16T18:28:32.862Z] 28c525ee5125: Waiting [2020-04-16T18:28:32.862Z] 094b1ea09ed8: Waiting [2020-04-16T18:28:32.862Z] 138eaada9080: Waiting [2020-04-16T18:28:32.862Z] 444b2fc9a129: Waiting [2020-04-16T18:28:32.862Z] 0622d0fa9048: Waiting [2020-04-16T18:28:32.862Z] ea15f1150254: Waiting [2020-04-16T18:28:32.862Z] 2cc5ad85d9ab: Download complete [2020-04-16T18:28:32.862Z] 444b2fc9a129: Verifying Checksum [2020-04-16T18:28:32.862Z] 444b2fc9a129: Download complete [2020-04-16T18:28:32.862Z] c9b1b535fdd9: Verifying Checksum [2020-04-16T18:28:33.129Z] ea15f1150254: Verifying Checksum [2020-04-16T18:28:33.129Z] ea15f1150254: Download complete [2020-04-16T18:28:33.129Z] 28c525ee5125: Verifying Checksum [2020-04-16T18:28:33.129Z] 28c525ee5125: Download complete [2020-04-16T18:28:33.397Z] 756a868c4378: Verifying Checksum [2020-04-16T18:28:33.397Z] 756a868c4378: Download complete [2020-04-16T18:28:33.397Z] c9b1b535fdd9: Pull complete [2020-04-16T18:28:33.397Z] 094b1ea09ed8: Verifying Checksum [2020-04-16T18:28:33.397Z] 094b1ea09ed8: Download complete [2020-04-16T18:28:33.397Z] 138eaada9080: Verifying Checksum [2020-04-16T18:28:33.397Z] 138eaada9080: Download complete [2020-04-16T18:28:33.656Z] 0622d0fa9048: Verifying Checksum [2020-04-16T18:28:33.656Z] 0622d0fa9048: Download complete [2020-04-16T18:28:33.656Z] 2cc5ad85d9ab: Pull complete [2020-04-16T18:28:33.920Z] 41b27a9f41bf: Verifying Checksum [2020-04-16T18:28:33.920Z] 41b27a9f41bf: Download complete [2020-04-16T18:28:35.302Z] 756a868c4378: Pull complete [2020-04-16T18:28:35.302Z] 444b2fc9a129: Pull complete [2020-04-16T18:28:35.871Z] ea15f1150254: Pull complete [2020-04-16T18:28:39.171Z] 41b27a9f41bf: Pull complete [2020-04-16T18:28:39.171Z] 28c525ee5125: Pull complete [2020-04-16T18:28:41.086Z] 094b1ea09ed8: Pull complete [2020-04-16T18:28:41.086Z] 138eaada9080: Pull complete [2020-04-16T18:28:41.086Z] 0622d0fa9048: Pull complete [2020-04-16T18:28:41.086Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-16T18:28:41.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-16T18:28:41.246Z] prd-centos7-docker-4c-2g-4350 does not seem to be running inside a container [2020-04-16T18:28:41.295Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-16T18:28:41.888Z] $ docker top 97b0579edb802f504817641ffe79f5bea10c360aa7595c08209f1c9d202cbeef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-16T18:28:42.111Z] provisioning config files... [2020-04-16T18:28:42.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config6010819792008898005tmp [Pipeline] { [Pipeline] echo [2020-04-16T18:28:42.218Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T18:28:42.512Z] ---> create-netrc.sh [Pipeline] echo [2020-04-16T18:28:42.523Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-16T18:28:42.819Z] ---> logs-deploy.sh [2020-04-16T18:28:42.819Z] + ARCHIVE_ARTIFACTS= [2020-04-16T18:28:42.819Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-16T18:28:42.819Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-16T18:28:42.819Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-16T18:28:42.819Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 [2020-04-16T18:28:42.819Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/2/ [2020-04-16T18:28:42.819Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-16T18:28:44.201Z] Archives upload complete. [2020-04-16T18:28:44.201Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/2/