Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f+eb57329eab223e55e7b2ddf4e89ae4fd35d89794 (174e2aa4f87059e91feaa34e5fe769197afabfeb) 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 a8d5489117fb74ecf2babedeac9793ec80335c77 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 a8d5489117fb74ecf2babedeac9793ec80335c77 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a8d5489117fb74ecf2babedeac9793ec80335c77 # timeout=10 Commit message: "Merge pull request #176 from soda480/US6232f" > 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-8230 in /w/workspace/xfoundry_device-modbus-go_PR-149 [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-149 # 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/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit eb57329eab223e55e7b2ddf4e89ae4fd35d89794 into PR head commit 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/149/head:refs/remotes/origin/PR-149 # 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/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f Checking out Revision 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f (PR-149) > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # 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 eb57329eab223e55e7b2ddf4e89ae4fd35d89794 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # timeout=10 Commit message: "upgrade sdk and contract version for geneva release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-05-13T13:58:37.216Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-05-13T13:58:37.459Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-05-13T13:58:37.578Z] ========================================================= [2020-05-13T13:58:37.578Z] EdgeX Global Pipelines Version Info [2020-05-13T13:58:37.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ee4c611ca6082d56b42b50a4ee6eccdde3e16e0e # timeout=10 [2020-05-13T13:58:39.494Z] ------------------- [2020-05-13T13:58:39.494Z] stable info: [2020-05-13T13:58:39.494Z] ------------------- [2020-05-13T13:58:39.494Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-05-13T13:58:39.494Z] Commit SHA: 045109fa9a4f6df2e4fd24e75fafac08edbb033d [2020-05-13T13:58:39.494Z] Message: update stable to v1.0.87 [2020-05-13T13:58:40.062Z] ------------------- [2020-05-13T13:58:40.062Z] experimental info: [2020-05-13T13:58:40.062Z] ------------------- [2020-05-13T13:58:40.062Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-05-13T13:58:40.062Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-05-13T13:58:40.062Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:58:42.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T13:58:42.291Z] [2020-05-13T13:58:42.291Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-05-13T13:58:42.633Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-05-13T13:58:42.633Z] latest: Pulling from edgex-devops/git-semver [2020-05-13T13:58:42.633Z] 9123ac7c32f7: Pulling fs layer [2020-05-13T13:58:42.633Z] b8cc5d1170e3: Pulling fs layer [2020-05-13T13:58:42.633Z] 2924cbbf6a41: Pulling fs layer [2020-05-13T13:58:42.633Z] 93b08a4f1073: Pulling fs layer [2020-05-13T13:58:42.633Z] 93b08a4f1073: Waiting [2020-05-13T13:58:42.633Z] b8cc5d1170e3: Verifying Checksum [2020-05-13T13:58:42.633Z] b8cc5d1170e3: Download complete [2020-05-13T13:58:42.900Z] 9123ac7c32f7: Verifying Checksum [2020-05-13T13:58:42.900Z] 9123ac7c32f7: Download complete [2020-05-13T13:58:42.900Z] 93b08a4f1073: Verifying Checksum [2020-05-13T13:58:42.900Z] 93b08a4f1073: Download complete [2020-05-13T13:58:42.900Z] 2924cbbf6a41: Verifying Checksum [2020-05-13T13:58:42.900Z] 2924cbbf6a41: Download complete [2020-05-13T13:58:43.160Z] 9123ac7c32f7: Pull complete [2020-05-13T13:58:43.160Z] b8cc5d1170e3: Pull complete [2020-05-13T13:58:44.105Z] 2924cbbf6a41: Pull complete [2020-05-13T13:58:44.105Z] 93b08a4f1073: Pull complete [2020-05-13T13:58:44.105Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-05-13T13:58:44.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-05-13T13:58:44.245Z] prd-centos7-docker-4c-2g-8230 does not seem to be running inside a container [2020-05-13T13:58:44.289Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-149 -v /w/workspace/xfoundry_device-modbus-go_PR-149:/w/workspace/xfoundry_device-modbus-go_PR-149:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-149@tmp:/w/workspace/xfoundry_device-modbus-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-05-13T13:58:45.004Z] $ docker top 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-05-13T13:58:45.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T13:58:45.327Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T13:58:45.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T13:58:45.566Z] $ docker exec 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b ssh-agent [2020-05-13T13:58:45.800Z] SSH_AUTH_SOCK=/tmp/ssh-tw3TTQTnvZPr/agent.15 [2020-05-13T13:58:45.800Z] SSH_AGENT_PID=22 [2020-05-13T13:58:45.811Z] Running ssh-add (command line suppressed) [2020-05-13T13:58:45.984Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-149@tmp/private_key_1102571120987514489.key (/w/workspace/xfoundry_device-modbus-go_PR-149@tmp/private_key_1102571120987514489.key) [2020-05-13T13:58:46.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T13:58:46.403Z] + git describe --exact-match --tags HEAD [2020-05-13T13:58:46.403Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-05-13T13:58:46.479Z] $ docker exec --env ******** --env ******** 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b ssh-agent -k [2020-05-13T13:58:46.654Z] unset SSH_AUTH_SOCK; [2020-05-13T13:58:46.654Z] unset SSH_AGENT_PID; [2020-05-13T13:58:46.654Z] echo Agent pid 22 killed; [2020-05-13T13:58:46.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-05-13T13:58:46.826Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-05-13T13:58:46.826Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-05-13T13:58:46.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-05-13T13:58:46.939Z] [ssh-agent] Looking for ssh-agent implementation... [2020-05-13T13:58:47.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-05-13T13:58:47.157Z] $ docker exec 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b ssh-agent [2020-05-13T13:58:47.537Z] SSH_AUTH_SOCK=/tmp/ssh-1hwwzq61HYU9/agent.58 [2020-05-13T13:58:47.537Z] SSH_AGENT_PID=65 [2020-05-13T13:58:47.544Z] Running ssh-add (command line suppressed) [2020-05-13T13:58:47.706Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-149@tmp/private_key_112768490171523149.key (/w/workspace/xfoundry_device-modbus-go_PR-149@tmp/private_key_112768490171523149.key) [2020-05-13T13:58:47.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-05-13T13:58:48.128Z] + git semver init [2020-05-13T13:58:48.128Z] # -> Open(): unable to determine branch for HEAD [2020-05-13T13:58:48.128Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-149/.git [2020-05-13T13:58:48.128Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-149 [2020-05-13T13:58:48.128Z] # $SEMVER_REMOTE_NAME = origin [2020-05-13T13:58:48.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-05-13T13:58:48.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-05-13T13:58:48.128Z] # $SEMVER_BRANCH = PR-149 [2020-05-13T13:58:48.128Z] # $SEMVER_TEMP = /tmp/semver-787022021 [2020-05-13T13:58:48.128Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-05-13T13:58:48.699Z] # '/tmp/semver-787022021' -> '/w/workspace/xfoundry_device-modbus-go_PR-149/.semver' [2020-05-13T13:58:48.699Z] # -> Force: false [2020-05-13T13:58:48.699Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-149/.semver [Pipeline] } [2020-05-13T13:58:48.711Z] $ docker exec --env ******** --env ******** 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b ssh-agent -k [2020-05-13T13:58:48.874Z] unset SSH_AUTH_SOCK; [2020-05-13T13:58:48.875Z] unset SSH_AGENT_PID; [2020-05-13T13:58:48.875Z] echo Agent pid 65 killed; [2020-05-13T13:58:48.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-05-13T13:58:49.366Z] + git semver [Pipeline] } [2020-05-13T13:58:49.391Z] $ docker stop --time=1 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b [2020-05-13T13:58:50.903Z] $ docker rm -f 6ee476b676551de7b908341b0f210f1f3f3e4757acc5fb55a13c89f0c3efa91b [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-05-13T13:58:51.819Z] Stashed 26 file(s) [Pipeline] echo [2020-05-13T13:58:51.821Z] [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-05-13T13:59:07.191Z] Still waiting to schedule task [2020-05-13T13:59:07.191Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-05-13T13:59:07.193Z] Still waiting to schedule task [2020-05-13T13:59:07.193Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-05-13T13:59:53.068Z] Running on prd-centos7-docker-4c-2g-8234 in /w/workspace/xfoundry_device-modbus-go_PR-149 [Pipeline] { [Pipeline] ws [2020-05-13T13:59:53.104Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-05-13T13:59:57.416Z] using credential edgex-jenkins-ssh [2020-05-13T13:59:57.459Z] Cloning the remote Git repository [2020-05-13T13:59:57.459Z] Cloning with configured refspecs honoured and without tags [2020-05-13T13:59:56.840Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T13:59:56.883Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-05-13T13:59:56.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T13:59:56.937Z] > git --version # timeout=10 [2020-05-13T13:59:56.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:59:56.984Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T13:59:58.132Z] Fetching without tags [2020-05-13T13:59:58.532Z] Merging remotes/origin/master commit eb57329eab223e55e7b2ddf4e89ae4fd35d89794 into PR head commit 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T13:59:58.688Z] Merge succeeded, producing 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T13:59:58.688Z] Checking out Revision 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f (PR-149) [2020-05-13T13:59:57.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-05-13T13:59:57.495Z] > git config --add remote.origin.fetch +refs/pull/149/head:refs/remotes/origin/PR-149 # timeout=10 [2020-05-13T13:59:57.502Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T13:59:57.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-05-13T13:59:57.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T13:59:57.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:59:57.547Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T13:59:57.979Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:59:57.986Z] > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # timeout=10 [2020-05-13T13:59:58.036Z] > git remote # timeout=10 [2020-05-13T13:59:58.043Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T13:59:58.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T13:59:58.060Z] > git merge eb57329eab223e55e7b2ddf4e89ae4fd35d89794 # timeout=10 [2020-05-13T13:59:58.126Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T13:59:58.138Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T13:59:58.146Z] > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # timeout=10 [2020-05-13T14:00:02.437Z] Commit message: "upgrade sdk and contract version for geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-05-13T14:00:03.208Z] ========================================================= [2020-05-13T14:00:03.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-05-13T14:00:03.208Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:00:03.827Z] + 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-05-13T14:00:04.405Z] Sending build context to Docker daemon 581.1kB [2020-05-13T14:00:04.405Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-13T14:00:04.405Z] Step 2/8 : FROM ${BASE} [2020-05-13T14:00:04.405Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-05-13T14:00:04.405Z] e6b0cf9c0882: Pulling fs layer [2020-05-13T14:00:04.405Z] 2848faf0eed1: Pulling fs layer [2020-05-13T14:00:04.405Z] 0f37312ad70f: Pulling fs layer [2020-05-13T14:00:04.405Z] 5788d62ee057: Pulling fs layer [2020-05-13T14:00:04.405Z] 0e6b1d234666: Pulling fs layer [2020-05-13T14:00:04.405Z] bf5d7aec512f: Pulling fs layer [2020-05-13T14:00:04.405Z] 34c802a77dc8: Pulling fs layer [2020-05-13T14:00:04.405Z] 9eb99e56ec68: Pulling fs layer [2020-05-13T14:00:04.405Z] 27c7a5d97fbd: Pulling fs layer [2020-05-13T14:00:04.405Z] 5c102a31e300: Pulling fs layer [2020-05-13T14:00:04.405Z] dcfb455df0a1: Pulling fs layer [2020-05-13T14:00:04.405Z] 34c802a77dc8: Waiting [2020-05-13T14:00:04.405Z] 9eb99e56ec68: Waiting [2020-05-13T14:00:04.405Z] 0e6b1d234666: Waiting [2020-05-13T14:00:04.405Z] bf5d7aec512f: Waiting [2020-05-13T14:00:04.405Z] 27c7a5d97fbd: Waiting [2020-05-13T14:00:04.405Z] 5788d62ee057: Waiting [2020-05-13T14:00:04.405Z] 5c102a31e300: Waiting [2020-05-13T14:00:04.405Z] dcfb455df0a1: Waiting [2020-05-13T14:00:04.405Z] 0f37312ad70f: Verifying Checksum [2020-05-13T14:00:04.405Z] 0f37312ad70f: Download complete [2020-05-13T14:00:04.405Z] 2848faf0eed1: Verifying Checksum [2020-05-13T14:00:04.405Z] 2848faf0eed1: Download complete [2020-05-13T14:00:04.405Z] 0e6b1d234666: Verifying Checksum [2020-05-13T14:00:04.405Z] 0e6b1d234666: Download complete [2020-05-13T14:00:04.405Z] bf5d7aec512f: Verifying Checksum [2020-05-13T14:00:04.405Z] bf5d7aec512f: Download complete [2020-05-13T14:00:04.405Z] e6b0cf9c0882: Verifying Checksum [2020-05-13T14:00:04.405Z] e6b0cf9c0882: Download complete [2020-05-13T14:00:04.992Z] e6b0cf9c0882: Pull complete [2020-05-13T14:00:05.578Z] 34c802a77dc8: Verifying Checksum [2020-05-13T14:00:05.578Z] 34c802a77dc8: Download complete [2020-05-13T14:00:05.578Z] 27c7a5d97fbd: Verifying Checksum [2020-05-13T14:00:05.578Z] 27c7a5d97fbd: Download complete [2020-05-13T14:00:06.541Z] 5c102a31e300: Verifying Checksum [2020-05-13T14:00:06.541Z] 5c102a31e300: Download complete [2020-05-13T14:00:06.541Z] dcfb455df0a1: Verifying Checksum [2020-05-13T14:00:06.541Z] dcfb455df0a1: Download complete [2020-05-13T14:00:06.541Z] 5788d62ee057: Verifying Checksum [2020-05-13T14:00:06.541Z] 5788d62ee057: Download complete [2020-05-13T14:00:06.541Z] 9eb99e56ec68: Verifying Checksum [2020-05-13T14:00:06.541Z] 9eb99e56ec68: Download complete [2020-05-13T14:00:07.482Z] 2848faf0eed1: Pull complete [2020-05-13T14:00:07.482Z] 0f37312ad70f: Pull complete [2020-05-13T14:00:14.061Z] 5788d62ee057: Pull complete [2020-05-13T14:00:14.061Z] 0e6b1d234666: Pull complete [2020-05-13T14:00:14.061Z] bf5d7aec512f: Pull complete [2020-05-13T14:00:18.268Z] 34c802a77dc8: Pull complete [2020-05-13T14:00:20.811Z] 9eb99e56ec68: Pull complete [2020-05-13T14:00:21.071Z] 27c7a5d97fbd: Pull complete [2020-05-13T14:00:22.021Z] 5c102a31e300: Pull complete [2020-05-13T14:00:22.280Z] dcfb455df0a1: Pull complete [2020-05-13T14:00:22.280Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-05-13T14:00:22.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-05-13T14:00:22.280Z] ---> 7c70fe431013 [2020-05-13T14:00:22.280Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-05-13T14:00:22.280Z] ---> Running in 1044fcc10f23 [2020-05-13T14:00:22.538Z] Removing intermediate container 1044fcc10f23 [2020-05-13T14:00:22.538Z] ---> 51d04583567a [2020-05-13T14:00:22.538Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:00:22.538Z] ---> Running in 6a1f2641ef86 [2020-05-13T14:00:23.482Z] Removing intermediate container 6a1f2641ef86 [2020-05-13T14:00:23.482Z] ---> 2e7b82f39556 [2020-05-13T14:00:23.482Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-05-13T14:00:23.482Z] ---> Running in 7b7061c8f9bd [2020-05-13T14:00:23.744Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T14:00:24.683Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T14:00:24.683Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:00:24.949Z] (2/17) Installing libmagic (5.37-r1) [2020-05-13T14:00:25.209Z] (3/17) Installing file (5.37-r1) [2020-05-13T14:00:25.209Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:00:25.209Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:00:25.472Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:00:29.694Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-05-13T14:00:29.694Z] (8/17) Installing g++ (9.2.0-r4) [2020-05-13T14:00:31.607Z] (9/17) Installing fortify-headers (1.1-r0) [2020-05-13T14:00:31.607Z] (10/17) Installing build-base (0.5-r1) [2020-05-13T14:00:31.607Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-05-13T14:00:31.607Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-05-13T14:00:31.868Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-05-13T14:00:31.868Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-05-13T14:00:32.127Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-05-13T14:00:32.127Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-05-13T14:00:32.127Z] (17/17) Installing openssh (8.1_p1-r0) [2020-05-13T14:00:32.388Z] Executing busybox-1.31.1-r8.trigger [2020-05-13T14:00:32.388Z] OK: 214 MiB in 52 packages [2020-05-13T14:00:36.589Z] Removing intermediate container 7b7061c8f9bd [2020-05-13T14:00:36.589Z] ---> edf5fd217eee [2020-05-13T14:00:36.589Z] Step 6/8 : WORKDIR /device-modbus-go [2020-05-13T14:00:36.589Z] ---> Running in 7ffc1f64e1b7 [2020-05-13T14:00:36.589Z] Removing intermediate container 7ffc1f64e1b7 [2020-05-13T14:00:36.589Z] ---> a55b6ed2e69e [2020-05-13T14:00:36.589Z] Step 7/8 : COPY . . [2020-05-13T14:00:36.589Z] ---> a92d992c3a98 [2020-05-13T14:00:36.589Z] Step 8/8 : RUN go mod download [2020-05-13T14:00:36.850Z] ---> Running in 7c230c2a255d [2020-05-13T14:00:38.769Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:00:38.769Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:00:38.769Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T14:00:38.769Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:00:38.769Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T14:00:38.769Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T14:00:38.769Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:00:38.769Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:00:38.769Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:00:38.769Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T14:00:38.769Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:00:38.769Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:00:38.769Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:00:38.769Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T14:00:38.769Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-05-13T14:00:38.769Z] go: finding github.com/goburrow/serial v0.1.0 [2020-05-13T14:00:38.769Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T14:00:38.769Z] go: finding github.com/google/uuid v1.1.1 [2020-05-13T14:00:38.769Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T14:00:38.769Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:00:38.769Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T14:00:38.769Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T14:00:38.769Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T14:00:38.769Z] go: finding github.com/miekg/dns v1.1.4 [2020-05-13T14:00:38.769Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:00:39.033Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T14:00:39.033Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:00:39.033Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:00:39.033Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T14:00:39.033Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T14:00:39.033Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-05-13T14:00:39.033Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T14:00:39.033Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T14:00:39.033Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T14:00:39.033Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T14:00:39.033Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:00:39.295Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T14:00:39.295Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-05-13T14:00:39.295Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T14:00:39.295Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T14:00:39.295Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T14:00:39.295Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:00:43.514Z] Removing intermediate container 7c230c2a255d [2020-05-13T14:00:43.514Z] ---> 1b23d4df6647 [2020-05-13T14:00:43.514Z] Successfully built 1b23d4df6647 [2020-05-13T14:00:43.514Z] 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-05-13T14:00:44.151Z] + docker inspect -f . ci-base-image-x86_64 [2020-05-13T14:00:44.151Z] . [Pipeline] withDockerContainer [2020-05-13T14:00:44.307Z] prd-centos7-docker-4c-2g-8234 does not seem to be running inside a container [2020-05-13T14:00:44.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-05-13T14:00:45.085Z] $ docker top f89aed6b482aafe9d645f2cecff4ae3e7ed8db4bb90a70ca93a3b3c77a60ef5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T14:00:45.588Z] + go version [2020-05-13T14:00:45.588Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-05-13T14:00:45.924Z] + make test [2020-05-13T14:00:45.924Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-05-13T14:00:47.327Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-05-13T14:00:59.659Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-05-13T14:00:59.659Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.301s coverage: 50.3% of statements [2020-05-13T14:00:59.659Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T14:01:01.594Z] gofmt -l . [2020-05-13T14:01:01.594Z] [ "`gofmt -l .`" = "" ] [2020-05-13T14:01:01.854Z] ./bin/test-attribution-txt.sh [2020-05-13T14:01:02.430Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-13T14:01:03.097Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T14:01:03.105Z] $ docker stop --time=1 f89aed6b482aafe9d645f2cecff4ae3e7ed8db4bb90a70ca93a3b3c77a60ef5b [2020-05-13T14:01:04.593Z] $ docker rm -f f89aed6b482aafe9d645f2cecff4ae3e7ed8db4bb90a70ca93a3b3c77a60ef5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T14:01:05.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T14:01:06.061Z] + ls -al . [2020-05-13T14:01:06.061Z] total 104 [2020-05-13T14:01:06.061Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 13 14:01 . [2020-05-13T14:01:06.061Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 13:59 .. [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 5049 May 13 13:59 Attribution.txt [2020-05-13T14:01:06.061Z] drwxrwxr-x. 2 jenkins jenkins 87 May 13 13:59 bin [2020-05-13T14:01:06.061Z] drwxrwxr-x. 3 jenkins jenkins 32 May 13 13:59 cmd [2020-05-13T14:01:06.061Z] -rw-r--r--. 1 jenkins jenkins 22123 May 13 14:00 coverage.out [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 1422 May 13 13:59 Dockerfile [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 954 May 13 13:59 Dockerfile.build [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 140 May 13 13:59 .dockerignore [2020-05-13T14:01:06.061Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 14:00 .git [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 338 May 13 13:59 .gitignore [2020-05-13T14:01:06.061Z] -rw-r--r--. 1 jenkins jenkins 559 May 13 14:01 go.mod [2020-05-13T14:01:06.061Z] -rw-r--r--. 1 jenkins jenkins 13471 May 13 14:01 go.sum [2020-05-13T14:01:06.061Z] drwxrwxr-x. 3 jenkins jenkins 20 May 13 13:59 internal [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 702 May 13 13:59 Jenkinsfile [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 13 13:59 LICENSE [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 880 May 13 13:59 Makefile [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 591 May 13 13:59 README.md [2020-05-13T14:01:06.061Z] drwxrwxr-x. 3 jenkins jenkins 58 May 13 14:00 .semver [2020-05-13T14:01:06.061Z] drwxrwxr-x. 2 jenkins jenkins 35 May 13 13:59 simulator [2020-05-13T14:01:06.061Z] drwxrwxr-x. 4 jenkins jenkins 54 May 13 13:59 snap [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 13:58 VERSION [2020-05-13T14:01:06.061Z] -rw-rw-r--. 1 jenkins jenkins 229 May 13 13:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:01:06.365Z] + 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=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f --label arch=amd64 --label version=0.0.0 . [2020-05-13T14:01:06.365Z] Sending build context to Docker daemon 609.8kB [2020-05-13T14:01:06.365Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-05-13T14:01:06.365Z] Step 2/19 : FROM ${BASE} AS builder [2020-05-13T14:01:06.365Z] ---> 1b23d4df6647 [2020-05-13T14:01:06.365Z] Step 3/19 : ARG MAKE='make build' [2020-05-13T14:01:06.625Z] ---> Running in 944beec5bf6d [2020-05-13T14:01:06.625Z] Removing intermediate container 944beec5bf6d [2020-05-13T14:01:06.625Z] ---> 1f482be5417b [2020-05-13T14:01:06.625Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:01:06.625Z] ---> Running in a7d6bacce802 [2020-05-13T14:01:07.569Z] Removing intermediate container a7d6bacce802 [2020-05-13T14:01:07.569Z] ---> 5af2f5b6112e [2020-05-13T14:01:07.569Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-05-13T14:01:07.569Z] ---> Running in c78eee1e149a [2020-05-13T14:01:07.827Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-05-13T14:01:08.393Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-05-13T14:01:08.654Z] OK: 214 MiB in 52 packages [2020-05-13T14:01:09.224Z] Removing intermediate container c78eee1e149a [2020-05-13T14:01:09.224Z] ---> 67469a79095e [2020-05-13T14:01:09.224Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-05-13T14:01:09.224Z] ---> Running in bed9ebe42a39 [2020-05-13T14:01:09.224Z] Removing intermediate container bed9ebe42a39 [2020-05-13T14:01:09.224Z] ---> ad3d12509b73 [2020-05-13T14:01:09.224Z] Step 7/19 : COPY . . [2020-05-13T14:01:09.485Z] ---> fa4521ba68c4 [2020-05-13T14:01:09.485Z] Step 8/19 : RUN ${MAKE} [2020-05-13T14:01:09.747Z] ---> Running in d0a55208e74d [2020-05-13T14:01:10.008Z] 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-05-13T14:01:20.106Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-05-13T14:01:22.654Z] Removing intermediate container d0a55208e74d [2020-05-13T14:01:22.654Z] ---> 3de630eee34e [2020-05-13T14:01:22.654Z] Step 9/19 : FROM scratch [2020-05-13T14:01:22.654Z] ---> [2020-05-13T14:01:22.654Z] Step 10/19 : ENV APP_PORT=49991 [2020-05-13T14:01:22.654Z] ---> Running in f8acbc75e00b [2020-05-13T14:01:22.916Z] Removing intermediate container f8acbc75e00b [2020-05-13T14:01:22.916Z] ---> 8ac0aae0778b [2020-05-13T14:01:22.916Z] Step 11/19 : EXPOSE $APP_PORT [2020-05-13T14:01:22.916Z] ---> Running in 4a24cea15c7c [2020-05-13T14:01:23.177Z] Removing intermediate container 4a24cea15c7c [2020-05-13T14:01:23.177Z] ---> 68d80e8d4e2e [2020-05-13T14:01:23.177Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-05-13T14:01:23.747Z] ---> 995c03e9678d [2020-05-13T14:01:23.747Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-05-13T14:01:24.006Z] ---> 27d6d7e1e2bd [2020-05-13T14:01:24.006Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-05-13T14:01:24.266Z] ---> 166da3ee0491 [2020-05-13T14:01:24.266Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-05-13T14:01:24.266Z] ---> Running in 345be3a0e5be [2020-05-13T14:01:24.266Z] Removing intermediate container 345be3a0e5be [2020-05-13T14:01:24.266Z] ---> 72e60f1c0911 [2020-05-13T14:01:24.266Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-05-13T14:01:24.527Z] ---> Running in 6a8639d7ef5f [2020-05-13T14:01:24.527Z] Removing intermediate container 6a8639d7ef5f [2020-05-13T14:01:24.527Z] ---> 2ff84d6e00e5 [2020-05-13T14:01:24.527Z] Step 17/19 : LABEL arch=amd64 [2020-05-13T14:01:24.527Z] ---> Running in 8d03be221bc1 [2020-05-13T14:01:24.787Z] Removing intermediate container 8d03be221bc1 [2020-05-13T14:01:24.787Z] ---> 6c8fdc6e3123 [2020-05-13T14:01:24.787Z] Step 18/19 : LABEL git_sha=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T14:01:24.787Z] ---> Running in 119bee0df0c0 [2020-05-13T14:01:24.787Z] Removing intermediate container 119bee0df0c0 [2020-05-13T14:01:24.787Z] ---> 4f47295b7638 [2020-05-13T14:01:24.788Z] Step 19/19 : LABEL version=0.0.0 [2020-05-13T14:01:24.788Z] ---> Running in 1cfb8904685a [2020-05-13T14:01:25.047Z] Removing intermediate container 1cfb8904685a [2020-05-13T14:01:25.047Z] ---> 0558d39c82f3 [2020-05-13T14:01:25.047Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T14:01:25.047Z] Successfully built 0558d39c82f3 [2020-05-13T14:01:25.047Z] 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-05-13T14:01:25.964Z] ++ find /w/workspace/device-modbus-go/3 [2020-05-13T14:01:25.964Z] ++ grep snapcraft.yaml [2020-05-13T14:01:25.964Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T14:01:26.116Z] provisioning config files... [2020-05-13T14:01:26.128Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/3@tmp/config648338427305687885tmp [Pipeline] { [Pipeline] sh [2020-05-13T14:01:26.489Z] + cp /w/workspace/device-modbus-go/3@tmp/config648338427305687885tmp /w/workspace/device-modbus-go/3/edgex-snap-store-login [Pipeline] sh [2020-05-13T14:01:26.795Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/3:/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-05-13T14:01:26.795Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-05-13T14:01:27.057Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-05-13T14:01:27.057Z] 5bed26d33875: Pulling fs layer [2020-05-13T14:01:27.057Z] f11b29a9c730: Pulling fs layer [2020-05-13T14:01:27.057Z] 930bda195c84: Pulling fs layer [2020-05-13T14:01:27.057Z] 78bf9a5ad49e: Pulling fs layer [2020-05-13T14:01:27.057Z] e5fbee5a4b0d: Pulling fs layer [2020-05-13T14:01:27.057Z] f452fca78f88: Pulling fs layer [2020-05-13T14:01:27.057Z] 7417ef92027a: Pulling fs layer [2020-05-13T14:01:27.057Z] 2af5c49d270b: Pulling fs layer [2020-05-13T14:01:27.057Z] df9c3bdbc40a: Pulling fs layer [2020-05-13T14:01:27.057Z] 78bf9a5ad49e: Waiting [2020-05-13T14:01:27.057Z] e5fbee5a4b0d: Waiting [2020-05-13T14:01:27.057Z] f452fca78f88: Waiting [2020-05-13T14:01:27.057Z] 7417ef92027a: Waiting [2020-05-13T14:01:27.057Z] 2af5c49d270b: Waiting [2020-05-13T14:01:27.057Z] df9c3bdbc40a: Waiting [2020-05-13T14:01:27.057Z] 930bda195c84: Verifying Checksum [2020-05-13T14:01:27.057Z] 930bda195c84: Download complete [2020-05-13T14:01:27.057Z] f11b29a9c730: Download complete [2020-05-13T14:01:27.057Z] 78bf9a5ad49e: Download complete [2020-05-13T14:01:27.057Z] f452fca78f88: Verifying Checksum [2020-05-13T14:01:27.057Z] f452fca78f88: Download complete [2020-05-13T14:01:27.057Z] 7417ef92027a: Download complete [2020-05-13T14:01:27.317Z] 2af5c49d270b: Verifying Checksum [2020-05-13T14:01:27.317Z] 2af5c49d270b: Download complete [2020-05-13T14:01:27.317Z] df9c3bdbc40a: Verifying Checksum [2020-05-13T14:01:27.317Z] df9c3bdbc40a: Download complete [2020-05-13T14:01:28.276Z] 5bed26d33875: Verifying Checksum [2020-05-13T14:01:28.276Z] 5bed26d33875: Download complete [2020-05-13T14:01:32.515Z] e5fbee5a4b0d: Verifying Checksum [2020-05-13T14:01:32.515Z] e5fbee5a4b0d: Download complete [2020-05-13T14:01:33.895Z] 5bed26d33875: Pull complete [2020-05-13T14:01:33.895Z] f11b29a9c730: Pull complete [2020-05-13T14:01:33.895Z] 930bda195c84: Pull complete [2020-05-13T14:01:33.895Z] 78bf9a5ad49e: Pull complete [2020-05-13T14:01:55.859Z] e5fbee5a4b0d: Pull complete [2020-05-13T14:01:55.859Z] f452fca78f88: Pull complete [2020-05-13T14:01:55.859Z] 7417ef92027a: Pull complete [2020-05-13T14:01:55.859Z] 2af5c49d270b: Pull complete [2020-05-13T14:01:55.859Z] df9c3bdbc40a: Pull complete [2020-05-13T14:01:55.859Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-05-13T14:01:55.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-05-13T14:01:56.120Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-05-13T14:01:56.120Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-05-13T14:01:56.120Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-05-13T14:01:56.382Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-05-13T14:01:56.643Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [846 kB] [2020-05-13T14:01:56.643Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1206 kB] [2020-05-13T14:01:56.903Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8507 B] [2020-05-13T14:01:56.903Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [911 kB] [2020-05-13T14:01:56.903Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [52.4 kB] [2020-05-13T14:01:57.164Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [19.8 kB] [2020-05-13T14:01:57.164Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1376 kB] [2020-05-13T14:01:57.164Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [66.6 kB] [2020-05-13T14:01:57.164Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-05-13T14:01:57.164Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] [2020-05-13T14:01:57.429Z] Fetched 4755 kB in 2s (2828 kB/s) [2020-05-13T14:01:59.354Z] Reading package lists... [2020-05-13T14:02:03.563Z] 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-05-13T14:02:04.948Z] Reading package lists... [2020-05-13T14:02:05.209Z] Building dependency tree... [2020-05-13T14:02:05.209Z] Reading state information... [2020-05-13T14:02:05.473Z] The following packages were automatically installed and are no longer required: [2020-05-13T14:02:05.473Z] libjq1 liblzo2-2 libonig4 [2020-05-13T14:02:05.473Z] Use 'sudo apt autoremove' to remove them. [2020-05-13T14:02:05.473Z] Suggested packages: [2020-05-13T14:02:05.473Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-05-13T14:02:05.473Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-05-13T14:02:05.473Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-05-13T14:02:05.473Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-05-13T14:02:05.736Z] The following NEW packages will be installed: [2020-05-13T14:02:05.736Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-05-13T14:02:05.736Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-05-13T14:02:05.736Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-05-13T14:02:05.736Z] openssh-client patch perl perl-modules-5.26 xauth [2020-05-13T14:02:05.736Z] 0 upgraded, 27 newly installed, 0 to remove and 4 not upgraded. [2020-05-13T14:02:05.736Z] Need to get 14.7 MB of archives. [2020-05-13T14:02:05.736Z] After this operation, 89.5 MB of additional disk space will be used. [2020-05-13T14:02:05.736Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-05-13T14:02:06.008Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-05-13T14:02:06.008Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-05-13T14:02:06.008Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-05-13T14:02:06.268Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-05-13T14:02:06.268Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-05-13T14:02:06.526Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-05-13T14:02:06.526Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-05-13T14:02:06.526Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-05-13T14:02:06.526Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-05-13T14:02:06.526Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-05-13T14:02:06.788Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-05-13T14:02:06.788Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-05-13T14:02:06.788Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-05-13T14:02:06.788Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-05-13T14:02:06.788Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-05-13T14:02:06.788Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-05-13T14:02:06.788Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-05-13T14:02:06.788Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-05-13T14:02:06.788Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-05-13T14:02:06.788Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-05-13T14:02:07.048Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-05-13T14:02:07.048Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-05-13T14:02:07.048Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-05-13T14:02:07.048Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-05-13T14:02:07.048Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-05-13T14:02:07.048Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-05-13T14:02:07.618Z] debconf: delaying package configuration, since apt-utils is not installed [2020-05-13T14:02:07.618Z] Fetched 14.7 MB in 1s (10.0 MB/s) [2020-05-13T14:02:07.618Z] Selecting previously unselected package libxau6:amd64. [2020-05-13T14:02:07.618Z] (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-05-13T14:02:07.618Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-05-13T14:02:07.618Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-05-13T14:02:07.877Z] Selecting previously unselected package libbsd0:amd64. [2020-05-13T14:02:07.877Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-05-13T14:02:07.877Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-05-13T14:02:07.877Z] Selecting previously unselected package libxdmcp6:amd64. [2020-05-13T14:02:07.877Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-05-13T14:02:07.877Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-05-13T14:02:07.877Z] Selecting previously unselected package libxcb1:amd64. [2020-05-13T14:02:07.877Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-05-13T14:02:07.877Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-05-13T14:02:08.137Z] Selecting previously unselected package libx11-data. [2020-05-13T14:02:08.137Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-05-13T14:02:08.137Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:02:08.706Z] Selecting previously unselected package libx11-6:amd64. [2020-05-13T14:02:08.706Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-05-13T14:02:08.706Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:02:08.706Z] Selecting previously unselected package libxext6:amd64. [2020-05-13T14:02:08.706Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-05-13T14:02:08.706Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-05-13T14:02:08.966Z] Selecting previously unselected package perl-modules-5.26. [2020-05-13T14:02:08.966Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-05-13T14:02:08.966Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:11.506Z] Selecting previously unselected package libgdbm5:amd64. [2020-05-13T14:02:11.506Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-05-13T14:02:11.506Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-05-13T14:02:11.506Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-05-13T14:02:11.506Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-05-13T14:02:11.506Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-05-13T14:02:11.506Z] Selecting previously unselected package libperl5.26:amd64. [2020-05-13T14:02:11.506Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-05-13T14:02:11.506Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:11.527Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8239 in /w/workspace/xfoundry_device-modbus-go_PR-149 [Pipeline] { [Pipeline] ws [2020-05-13T14:02:11.586Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-05-13T14:02:12.886Z] Selecting previously unselected package perl. [2020-05-13T14:02:12.886Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-05-13T14:02:12.886Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:12.886Z] Selecting previously unselected package less. [2020-05-13T14:02:12.886Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-05-13T14:02:12.886Z] Unpacking less (487-0.1) ... [2020-05-13T14:02:13.146Z] Selecting previously unselected package libexpat1:amd64. [2020-05-13T14:02:13.146Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-05-13T14:02:13.146Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-05-13T14:02:13.146Z] Selecting previously unselected package netbase. [2020-05-13T14:02:13.146Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-05-13T14:02:13.146Z] Unpacking netbase (5.4) ... [2020-05-13T14:02:13.146Z] Selecting previously unselected package libedit2:amd64. [2020-05-13T14:02:13.146Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-05-13T14:02:13.146Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-05-13T14:02:13.406Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-05-13T14:02:13.406Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-05-13T14:02:13.406Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-05-13T14:02:13.674Z] Selecting previously unselected package libxmuu1:amd64. [2020-05-13T14:02:13.674Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-05-13T14:02:13.674Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-05-13T14:02:13.674Z] Selecting previously unselected package openssh-client. [2020-05-13T14:02:13.674Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-05-13T14:02:13.674Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-05-13T14:02:13.935Z] Selecting previously unselected package xauth. [2020-05-13T14:02:13.935Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-05-13T14:02:13.935Z] Unpacking xauth (1:1.0.10-1) ... [2020-05-13T14:02:13.935Z] Selecting previously unselected package curl. [2020-05-13T14:02:13.935Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-05-13T14:02:13.935Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-05-13T14:02:13.935Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-05-13T14:02:13.935Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-05-13T14:02:13.935Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-05-13T14:02:13.935Z] Selecting previously unselected package liberror-perl. [2020-05-13T14:02:13.935Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-05-13T14:02:14.195Z] Unpacking liberror-perl (0.17025-1) ... [2020-05-13T14:02:14.195Z] Selecting previously unselected package git-man. [2020-05-13T14:02:14.195Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-05-13T14:02:14.195Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:02:14.195Z] Selecting previously unselected package git. [2020-05-13T14:02:14.195Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-05-13T14:02:14.458Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:02:15.036Z] Selecting previously unselected package make. [2020-05-13T14:02:15.036Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-05-13T14:02:15.036Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-05-13T14:02:15.295Z] Selecting previously unselected package patch. [2020-05-13T14:02:15.295Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-05-13T14:02:16.236Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-05-13T14:02:16.236Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-05-13T14:02:16.236Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:02:16.236Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-05-13T14:02:16.236Z] Setting up less (487-0.1) ... [2020-05-13T14:02:16.494Z] Setting up make (4.1-9.1ubuntu1) ... [2020-05-13T14:02:16.494Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-05-13T14:02:16.494Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-05-13T14:02:16.494Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-05-13T14:02:16.494Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:16.759Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-05-13T14:02:16.759Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-05-13T14:02:16.759Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-05-13T14:02:16.759Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-05-13T14:02:16.759Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-05-13T14:02:16.759Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-05-13T14:02:17.017Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:02:17.017Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-05-13T14:02:17.017Z] Setting up netbase (5.4) ... [2020-05-13T14:02:17.017Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:17.017Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-05-13T14:02:17.276Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:02:17.276Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-05-13T14:02:17.276Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-05-13T14:02:17.276Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-05-13T14:02:17.276Z] Setting up liberror-perl (0.17025-1) ... [2020-05-13T14:02:17.276Z] Setting up xauth (1:1.0.10-1) ... [2020-05-13T14:02:17.276Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:02:17.276Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-05-13T14:02:17.422Z] using credential edgex-jenkins-ssh [2020-05-13T14:02:17.469Z] Cloning the remote Git repository [2020-05-13T14:02:17.469Z] Cloning with configured refspecs honoured and without tags [2020-05-13T14:02:17.536Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T14:02:17.633Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-05-13T14:02:17.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T14:02:17.717Z] > git --version # timeout=10 [2020-05-13T14:02:17.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:02:17.822Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T14:02:18.663Z] Fetching without tags [2020-05-13T14:02:19.171Z] Merging remotes/origin/master commit eb57329eab223e55e7b2ddf4e89ae4fd35d89794 into PR head commit 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T14:02:18.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-05-13T14:02:18.559Z] > git config --add remote.origin.fetch +refs/pull/149/head:refs/remotes/origin/PR-149 # timeout=10 [2020-05-13T14:02:18.584Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T14:02:18.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-05-13T14:02:18.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-05-13T14:02:18.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:02:18.684Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-05-13T14:02:19.231Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:02:19.290Z] > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # timeout=10 [2020-05-13T14:02:19.450Z] > git remote # timeout=10 [2020-05-13T14:02:19.487Z] > git config --get remote.origin.url # timeout=10 [2020-05-13T14:02:19.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-05-13T14:02:19.526Z] > git merge eb57329eab223e55e7b2ddf4e89ae4fd35d89794 # timeout=10 [2020-05-13T14:02:19.627Z] Merge succeeded, producing 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T14:02:19.628Z] Checking out Revision 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f (PR-149) [2020-05-13T14:02:20.575Z] curl set to automatically installed. [2020-05-13T14:02:20.575Z] git set to automatically installed. [2020-05-13T14:02:20.575Z] git-man set to automatically installed. [2020-05-13T14:02:20.575Z] less set to automatically installed. [2020-05-13T14:02:20.575Z] libbsd0 set to automatically installed. [2020-05-13T14:02:20.575Z] libcurl3-gnutls set to automatically installed. [2020-05-13T14:02:20.575Z] libedit2 set to automatically installed. [2020-05-13T14:02:20.575Z] liberror-perl set to automatically installed. [2020-05-13T14:02:20.575Z] libexpat1 set to automatically installed. [2020-05-13T14:02:20.575Z] libgdbm-compat4 set to automatically installed. [2020-05-13T14:02:20.575Z] libgdbm5 set to automatically installed. [2020-05-13T14:02:20.575Z] libperl5.26 set to automatically installed. [2020-05-13T14:02:20.575Z] libssl1.0.0 set to automatically installed. [2020-05-13T14:02:20.575Z] libx11-6 set to automatically installed. [2020-05-13T14:02:20.575Z] libx11-data set to automatically installed. [2020-05-13T14:02:20.575Z] libxau6 set to automatically installed. [2020-05-13T14:02:20.575Z] libxcb1 set to automatically installed. [2020-05-13T14:02:20.575Z] libxdmcp6 set to automatically installed. [2020-05-13T14:02:20.575Z] libxext6 set to automatically installed. [2020-05-13T14:02:20.575Z] libxmuu1 set to automatically installed. [2020-05-13T14:02:20.575Z] make set to automatically installed. [2020-05-13T14:02:20.575Z] netbase set to automatically installed. [2020-05-13T14:02:20.575Z] openssh-client set to automatically installed. [2020-05-13T14:02:20.575Z] patch set to automatically installed. [2020-05-13T14:02:20.575Z] perl set to automatically installed. [2020-05-13T14:02:20.575Z] perl-modules-5.26 set to automatically installed. [2020-05-13T14:02:20.575Z] xauth set to automatically installed. [2020-05-13T14:02:20.575Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-05-13T14:02:20.575Z] Please ensure the environment is properly setup before continuing. [2020-05-13T14:02:20.575Z] Ignore this message if the appropriate measures have already been taken [2020-05-13T14:02:19.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-05-13T14:02:19.632Z] > git config core.sparsecheckout # timeout=10 [2020-05-13T14:02:19.688Z] > git checkout -f 79ba80167ae86eda7c3a8da91d3a233ed2e8a71f # timeout=10 [2020-05-13T14:02:21.145Z] Pulling go [2020-05-13T14:02:22.086Z] 'device-modbus' has dependencies that need to be staged: go [2020-05-13T14:02:22.086Z] Skipping pull go (already ran) [2020-05-13T14:02:22.086Z] Building go [2020-05-13T14:02:22.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-05-13T14:02:22.086Z] Dload Upload Total Spent Left Speed [2020-05-13T14:02:23.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 62 114M 62 71.4M 0 0 78.2M 0 0:00:01 --:--:-- 0:00:01 78.1M 100 114M 100 114M 0 0 86.2M 0 0:00:01 0:00:01 --:--:-- 86.2M [2020-05-13T14:02:24.122Z] Commit message: "upgrade sdk and contract version for geneva release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-05-13T14:02:24.686Z] go1.13.5.linux-amd64.tar.gz: OK [Pipeline] unstash [Pipeline] echo [2020-05-13T14:02:25.239Z] ========================================================= [2020-05-13T14:02:25.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-05-13T14:02:25.239Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:02:26.685Z] + 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-05-13T14:02:27.661Z] Sending build context to Docker daemon 581.1kB [2020-05-13T14:02:27.661Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-05-13T14:02:27.661Z] Step 2/8 : FROM ${BASE} [2020-05-13T14:02:27.936Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-05-13T14:02:27.936Z] cde5963f3b93: Pulling fs layer [2020-05-13T14:02:27.936Z] 2a23fa8c16f7: Pulling fs layer [2020-05-13T14:02:27.936Z] 777b28850792: Pulling fs layer [2020-05-13T14:02:27.936Z] 8a11ddd9e578: Pulling fs layer [2020-05-13T14:02:27.936Z] 4cf88f913ddb: Pulling fs layer [2020-05-13T14:02:27.936Z] 1df406cf5192: Pulling fs layer [2020-05-13T14:02:27.936Z] cd6300453558: Pulling fs layer [2020-05-13T14:02:27.936Z] b9c365052c96: Pulling fs layer [2020-05-13T14:02:27.936Z] a2d8cc88f415: Pulling fs layer [2020-05-13T14:02:27.936Z] ea1d1ca13537: Pulling fs layer [2020-05-13T14:02:27.936Z] 3750a50a1c5e: Pulling fs layer [2020-05-13T14:02:27.936Z] 8a11ddd9e578: Waiting [2020-05-13T14:02:27.936Z] 4cf88f913ddb: Waiting [2020-05-13T14:02:27.936Z] 1df406cf5192: Waiting [2020-05-13T14:02:27.936Z] cd6300453558: Waiting [2020-05-13T14:02:27.936Z] b9c365052c96: Waiting [2020-05-13T14:02:27.936Z] a2d8cc88f415: Waiting [2020-05-13T14:02:27.936Z] ea1d1ca13537: Waiting [2020-05-13T14:02:27.936Z] 3750a50a1c5e: Waiting [2020-05-13T14:02:27.936Z] 777b28850792: Verifying Checksum [2020-05-13T14:02:27.936Z] 777b28850792: Download complete [2020-05-13T14:02:27.936Z] 2a23fa8c16f7: Verifying Checksum [2020-05-13T14:02:27.936Z] 2a23fa8c16f7: Download complete [2020-05-13T14:02:27.936Z] 4cf88f913ddb: Verifying Checksum [2020-05-13T14:02:27.936Z] 4cf88f913ddb: Download complete [2020-05-13T14:02:27.936Z] 1df406cf5192: Verifying Checksum [2020-05-13T14:02:27.936Z] 1df406cf5192: Download complete [2020-05-13T14:02:28.209Z] cde5963f3b93: Download complete [2020-05-13T14:02:28.799Z] cde5963f3b93: Pull complete [2020-05-13T14:02:29.393Z] 2a23fa8c16f7: Pull complete [2020-05-13T14:02:29.663Z] 777b28850792: Pull complete [2020-05-13T14:02:32.278Z] cd6300453558: Verifying Checksum [2020-05-13T14:02:32.278Z] cd6300453558: Download complete [2020-05-13T14:02:32.278Z] a2d8cc88f415: Verifying Checksum [2020-05-13T14:02:32.278Z] a2d8cc88f415: Download complete [2020-05-13T14:02:32.828Z] Staging go [2020-05-13T14:02:32.828Z] Pulling device-modbus [2020-05-13T14:02:33.783Z] Skipping build go (already ran) [2020-05-13T14:02:33.783Z] Building device-modbus [2020-05-13T14:02:34.045Z] 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-05-13T14:02:34.924Z] ea1d1ca13537: Verifying Checksum [2020-05-13T14:02:34.924Z] ea1d1ca13537: Download complete [2020-05-13T14:02:35.218Z] 3750a50a1c5e: Verifying Checksum [2020-05-13T14:02:35.218Z] 3750a50a1c5e: Download complete [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:02:35.477Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-05-13T14:02:35.477Z] go: downloading github.com/google/uuid v1.1.1 [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:02:35.477Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/google/uuid v1.1.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:02:35.477Z] go: downloading github.com/pkg/errors v0.8.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:02:35.477Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:02:35.477Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:02:35.477Z] go: downloading github.com/x448/float16 v0.8.4 [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:02:35.477Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:02:35.477Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:02:35.477Z] go: extracting github.com/pkg/errors v0.8.1 [2020-05-13T14:02:35.477Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:02:35.477Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:02:35.477Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:02:35.477Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:02:35.477Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:02:35.477Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/x448/float16 v0.8.4 [2020-05-13T14:02:35.477Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:02:35.477Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:02:35.477Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:02:35.477Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:02:35.477Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:02:35.477Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-05-13T14:02:35.477Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:02:35.477Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:02:35.477Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:02:35.477Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:02:35.477Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:02:35.477Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-05-13T14:02:35.743Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:02:35.743Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:02:35.743Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:02:35.743Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:02:35.743Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:02:35.743Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:02:35.743Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:02:35.743Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:02:35.743Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-05-13T14:02:35.743Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:02:35.743Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:02:35.743Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:02:35.743Z] go: finding github.com/goburrow/serial v0.1.0 [2020-05-13T14:02:35.743Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:02:35.743Z] go: finding github.com/google/uuid v1.1.1 [2020-05-13T14:02:35.743Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:02:35.743Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:02:35.743Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:02:35.743Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:02:35.743Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:02:36.036Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:02:36.036Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:02:36.036Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:02:36.036Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:02:36.036Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:02:36.036Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:02:36.036Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:02:36.036Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:02:36.036Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:02:36.036Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:02:36.036Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:02:36.036Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:02:37.846Z] b9c365052c96: Verifying Checksum [2020-05-13T14:02:37.846Z] b9c365052c96: Download complete [2020-05-13T14:02:39.837Z] 8a11ddd9e578: Verifying Checksum [2020-05-13T14:02:39.837Z] 8a11ddd9e578: Download complete [2020-05-13T14:02:46.169Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-05-13T14:02:49.565Z] Skipping stage go (already ran) [2020-05-13T14:02:49.565Z] Staging device-modbus [2020-05-13T14:02:50.160Z] Priming go [2020-05-13T14:02:51.100Z] Priming device-modbus [2020-05-13T14:02:52.046Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-05-13T14:02:52.046Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-05-13T14:02:52.046Z] Determining the version from the project repo (version-script). [2020-05-13T14:02:52.046Z] The version has been set to '0.0.0-20200513+79ba801' [2020-05-13T14:02:52.046Z] Snapping 'edgex-device-modbus' ... [2020-05-13T14:02:52.286Z] 8a11ddd9e578: Pull complete [2020-05-13T14:02:52.286Z] 4cf88f913ddb: Pull complete [2020-05-13T14:02:52.286Z] 1df406cf5192: Pull complete [2020-05-13T14:02:53.010Z] [2020-05-13T14:02:53.010Z] Snapped edgex-device-modbus_0.0.0-20200513+79ba801_amd64.snap [Pipeline] } [2020-05-13T14:02:53.967Z] 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-05-13T14:02:56.552Z] cd6300453558: Pull complete [2020-05-13T14:03:00.816Z] b9c365052c96: Pull complete [2020-05-13T14:03:01.085Z] a2d8cc88f415: Pull complete [2020-05-13T14:03:03.056Z] ea1d1ca13537: Pull complete [2020-05-13T14:03:03.642Z] 3750a50a1c5e: Pull complete [2020-05-13T14:03:03.642Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-05-13T14:03:03.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-05-13T14:03:03.642Z] ---> 78745c68409d [2020-05-13T14:03:03.642Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-05-13T14:03:08.978Z] ---> Running in e2f656fb8fb6 [2020-05-13T14:03:08.978Z] Removing intermediate container e2f656fb8fb6 [2020-05-13T14:03:08.978Z] ---> dcd5f8e5fb60 [2020-05-13T14:03:08.978Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:03:08.978Z] ---> Running in dfc7ed007add [2020-05-13T14:03:11.572Z] Removing intermediate container dfc7ed007add [2020-05-13T14:03:11.572Z] ---> 726ce69d59fb [2020-05-13T14:03:11.572Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-05-13T14:03:11.572Z] ---> Running in b4c230bbb68b [2020-05-13T14:03:12.540Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T14:03:13.507Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T14:03:14.476Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:03:14.476Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:03:14.745Z] (3/18) Installing libmagic (5.37-r1) [2020-05-13T14:03:15.013Z] (4/18) Installing file (5.37-r1) [2020-05-13T14:03:15.280Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:03:15.280Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:03:15.280Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-05-13T14:03:19.550Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-05-13T14:03:19.550Z] (9/18) Installing g++ (9.2.0-r4) [2020-05-13T14:03:22.139Z] (10/18) Installing fortify-headers (1.1-r0) [2020-05-13T14:03:22.139Z] (11/18) Installing build-base (0.5-r1) [2020-05-13T14:03:22.139Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-05-13T14:03:22.139Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-05-13T14:03:22.405Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-05-13T14:03:22.672Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-05-13T14:03:22.672Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-05-13T14:03:22.941Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-05-13T14:03:23.207Z] (18/18) Installing openssh (8.1_p1-r0) [2020-05-13T14:03:23.207Z] Executing busybox-1.31.1-r8.trigger [2020-05-13T14:03:23.207Z] OK: 203 MiB in 52 packages [2020-05-13T14:03:31.420Z] Removing intermediate container b4c230bbb68b [2020-05-13T14:03:31.420Z] ---> 20be4caa1a85 [2020-05-13T14:03:31.420Z] Step 6/8 : WORKDIR /device-modbus-go [2020-05-13T14:03:31.420Z] ---> Running in 956e18611d50 [2020-05-13T14:03:31.420Z] Removing intermediate container 956e18611d50 [2020-05-13T14:03:31.420Z] ---> 42a448a7b74d [2020-05-13T14:03:31.420Z] Step 7/8 : COPY . . [2020-05-13T14:03:31.420Z] ---> 7171531c2408 [2020-05-13T14:03:31.420Z] Step 8/8 : RUN go mod download [2020-05-13T14:03:31.698Z] ---> Running in 92d536590dd4 [2020-05-13T14:03:34.319Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:03:34.319Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:03:34.319Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-05-13T14:03:34.319Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:03:34.319Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-05-13T14:03:34.319Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-05-13T14:03:34.319Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:03:34.319Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-05-13T14:03:34.319Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:03:34.319Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:03:34.319Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:03:34.319Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:03:34.320Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:03:34.320Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:03:34.320Z] go: finding github.com/fatih/color v1.7.0 [2020-05-13T14:03:34.320Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:03:34.320Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:03:34.320Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:03:34.320Z] go: finding github.com/go-stack/stack v1.8.0 [2020-05-13T14:03:34.320Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-05-13T14:03:34.320Z] go: finding github.com/goburrow/serial v0.1.0 [2020-05-13T14:03:34.320Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-05-13T14:03:34.320Z] go: finding github.com/google/uuid v1.1.1 [2020-05-13T14:03:34.320Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-05-13T14:03:34.320Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-05-13T14:03:34.588Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:03:34.588Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-05-13T14:03:34.588Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-05-13T14:03:34.588Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-05-13T14:03:34.588Z] go: finding github.com/miekg/dns v1.1.4 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:03:34.588Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-05-13T14:03:34.588Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:03:34.588Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:03:34.588Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-05-13T14:03:34.588Z] go: finding github.com/posener/complete v1.1.1 [2020-05-13T14:03:34.860Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-05-13T14:03:34.860Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-05-13T14:03:34.860Z] go: finding github.com/stretchr/objx v0.1.0 [2020-05-13T14:03:34.860Z] go: finding github.com/stretchr/testify v1.5.1 [2020-05-13T14:03:34.860Z] go: finding github.com/ugorji/go v1.1.4 [2020-05-13T14:03:34.860Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:03:34.860Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-05-13T14:03:34.860Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-05-13T14:03:34.860Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-05-13T14:03:34.860Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-05-13T14:03:34.860Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-05-13T14:03:34.860Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:03:44.968Z] Removing intermediate container 92d536590dd4 [2020-05-13T14:03:44.968Z] ---> a1e76ad98930 [2020-05-13T14:03:44.968Z] Successfully built a1e76ad98930 [2020-05-13T14:03:44.968Z] 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-05-13T14:03:45.748Z] + docker inspect -f . ci-base-image-arm64 [2020-05-13T14:03:46.020Z] . [Pipeline] withDockerContainer [2020-05-13T14:03:46.459Z] prd-ubuntu18.04-docker-arm64-4c-16g-8239 does not seem to be running inside a container [2020-05-13T14:03:46.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-05-13T14:03:48.151Z] $ docker top ca449c6683ee7f0d34c49d52f372bebec06a88bb687b11d64e8a7e0bd87917b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-05-13T14:03:49.273Z] + go version [2020-05-13T14:03:49.273Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-05-13T14:03:49.926Z] + make test [2020-05-13T14:03:49.926Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-05-13T14:03:50.904Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-05-13T14:04:23.290Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-05-13T14:04:23.290Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.212s coverage: 50.3% of statements [2020-05-13T14:04:23.290Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-05-13T14:04:26.644Z] gofmt -l . [2020-05-13T14:04:26.644Z] [ "`gofmt -l .`" = "" ] [2020-05-13T14:04:26.644Z] ./bin/test-attribution-txt.sh [2020-05-13T14:04:27.603Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-05-13T14:04:27.886Z] Warning: overwriting stash ‘coverage-report’ [2020-05-13T14:04:28.338Z] Stashed 1 file(s) [Pipeline] } [2020-05-13T14:04:28.342Z] $ docker stop --time=1 ca449c6683ee7f0d34c49d52f372bebec06a88bb687b11d64e8a7e0bd87917b1 [2020-05-13T14:04:30.848Z] $ docker rm -f ca449c6683ee7f0d34c49d52f372bebec06a88bb687b11d64e8a7e0bd87917b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-05-13T14:04:32.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-05-13T14:04:32.512Z] + ls -al . [2020-05-13T14:04:32.512Z] total 136 [2020-05-13T14:04:32.512Z] drwxrwxr-x 9 jenkins jenkins 4096 May 13 14:04 . [2020-05-13T14:04:32.512Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 14:02 .. [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 14:02 .dockerignore [2020-05-13T14:04:32.512Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 14:02 .git [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 338 May 13 14:02 .gitignore [2020-05-13T14:04:32.512Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 .semver [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 5049 May 13 14:02 Attribution.txt [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 1422 May 13 14:02 Dockerfile [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 954 May 13 14:02 Dockerfile.build [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 702 May 13 14:02 Jenkinsfile [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 14:02 LICENSE [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 880 May 13 14:02 Makefile [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 591 May 13 14:02 README.md [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 13:58 VERSION [2020-05-13T14:04:32.512Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:02 bin [2020-05-13T14:04:32.512Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 cmd [2020-05-13T14:04:32.512Z] -rw-r--r-- 1 jenkins jenkins 22123 May 13 14:04 coverage.out [2020-05-13T14:04:32.512Z] -rw-r--r-- 1 jenkins jenkins 559 May 13 14:04 go.mod [2020-05-13T14:04:32.512Z] -rw-r--r-- 1 jenkins jenkins 13471 May 13 14:04 go.sum [2020-05-13T14:04:32.512Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 14:02 internal [2020-05-13T14:04:32.512Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 14:02 simulator [2020-05-13T14:04:32.512Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 14:02 snap [2020-05-13T14:04:32.512Z] -rw-rw-r-- 1 jenkins jenkins 229 May 13 14:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:04:32.844Z] + 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=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f --label arch=arm64 --label version=0.0.0 . [2020-05-13T14:04:33.114Z] Sending build context to Docker daemon 609.8kB [2020-05-13T14:04:33.380Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-05-13T14:04:33.380Z] Step 2/19 : FROM ${BASE} AS builder [2020-05-13T14:04:33.380Z] ---> a1e76ad98930 [2020-05-13T14:04:33.380Z] Step 3/19 : ARG MAKE='make build' [2020-05-13T14:04:33.380Z] ---> Running in dd008f5adbd5 [2020-05-13T14:04:33.964Z] Removing intermediate container dd008f5adbd5 [2020-05-13T14:04:33.964Z] ---> e15f388af233 [2020-05-13T14:04:33.964Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-05-13T14:04:33.964Z] ---> Running in 046e8c42f359 [2020-05-13T14:04:35.917Z] Removing intermediate container 046e8c42f359 [2020-05-13T14:04:35.917Z] ---> 5e4ceb1f4b70 [2020-05-13T14:04:35.917Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-05-13T14:04:35.917Z] ---> Running in 95f26f1173af [2020-05-13T14:04:36.501Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-05-13T14:04:37.464Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-05-13T14:04:37.730Z] OK: 203 MiB in 52 packages [2020-05-13T14:04:38.687Z] Removing intermediate container 95f26f1173af [2020-05-13T14:04:38.687Z] ---> 11dc232fe2cb [2020-05-13T14:04:38.687Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-05-13T14:04:38.953Z] ---> Running in 2d331fb3140b [2020-05-13T14:04:39.223Z] Removing intermediate container 2d331fb3140b [2020-05-13T14:04:39.223Z] ---> 1ba35c6849fe [2020-05-13T14:04:39.223Z] Step 7/19 : COPY . . [2020-05-13T14:04:40.183Z] ---> cb18112aca68 [2020-05-13T14:04:40.183Z] Step 8/19 : RUN ${MAKE} [2020-05-13T14:04:40.183Z] ---> Running in d8887e957d7c [2020-05-13T14:04:41.142Z] 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-05-13T14:05:07.883Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-05-13T14:05:12.169Z] Removing intermediate container d8887e957d7c [2020-05-13T14:05:12.169Z] ---> e9f8d728b211 [2020-05-13T14:05:12.169Z] Step 9/19 : FROM scratch [2020-05-13T14:05:12.169Z] ---> [2020-05-13T14:05:12.169Z] Step 10/19 : ENV APP_PORT=49991 [2020-05-13T14:05:12.169Z] ---> Running in a34b618d574b [2020-05-13T14:05:12.169Z] Removing intermediate container a34b618d574b [2020-05-13T14:05:12.169Z] ---> 75dbc4ba7448 [2020-05-13T14:05:12.169Z] Step 11/19 : EXPOSE $APP_PORT [2020-05-13T14:05:12.169Z] ---> Running in 20fa13a6d0ae [2020-05-13T14:05:12.439Z] Removing intermediate container 20fa13a6d0ae [2020-05-13T14:05:12.439Z] ---> 8038694fa13d [2020-05-13T14:05:12.439Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-05-13T14:05:13.404Z] ---> 2bc935960176 [2020-05-13T14:05:13.404Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-05-13T14:05:13.991Z] ---> 2e423402afc3 [2020-05-13T14:05:13.991Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-05-13T14:05:14.586Z] ---> ecaa8e722a44 [2020-05-13T14:05:14.586Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-05-13T14:05:14.586Z] ---> Running in 750c74b8c6f7 [2020-05-13T14:05:15.181Z] Removing intermediate container 750c74b8c6f7 [2020-05-13T14:05:15.181Z] ---> f014841aea23 [2020-05-13T14:05:15.181Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-05-13T14:05:15.181Z] ---> Running in 68caa79c5544 [2020-05-13T14:05:15.449Z] Removing intermediate container 68caa79c5544 [2020-05-13T14:05:15.450Z] ---> f356b82c6a62 [2020-05-13T14:05:15.450Z] Step 17/19 : LABEL arch=arm64 [2020-05-13T14:05:15.719Z] ---> Running in 2e2cb8b18055 [2020-05-13T14:05:15.988Z] Removing intermediate container 2e2cb8b18055 [2020-05-13T14:05:15.988Z] ---> a45e6d7dc803 [2020-05-13T14:05:15.988Z] Step 18/19 : LABEL git_sha=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [2020-05-13T14:05:16.256Z] ---> Running in 003e0b67b5a7 [2020-05-13T14:05:16.525Z] Removing intermediate container 003e0b67b5a7 [2020-05-13T14:05:16.525Z] ---> 129196fdb004 [2020-05-13T14:05:16.525Z] Step 19/19 : LABEL version=0.0.0 [2020-05-13T14:05:16.795Z] ---> Running in c9be485d7026 [2020-05-13T14:05:17.064Z] Removing intermediate container c9be485d7026 [2020-05-13T14:05:17.064Z] ---> 595f4338dfa1 [2020-05-13T14:05:17.064Z] [Warning] One or more build-args [ARCH] were not consumed [2020-05-13T14:05:17.065Z] Successfully built 595f4338dfa1 [2020-05-13T14:05:17.065Z] 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-05-13T14:05:17.931Z] + + grepfind snapcraft.yaml /w/workspace/device-modbus-go/3 [2020-05-13T14:05:17.931Z] [2020-05-13T14:05:17.931Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T14:05:18.091Z] provisioning config files... [2020-05-13T14:05:18.120Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/3@tmp/config992476206897811906tmp [Pipeline] { [Pipeline] sh [2020-05-13T14:05:18.528Z] + cp /w/workspace/device-modbus-go/3@tmp/config992476206897811906tmp /w/workspace/device-modbus-go/3/edgex-snap-store-login [Pipeline] sh [2020-05-13T14:05:18.869Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/3:/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-05-13T14:05:19.137Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-05-13T14:05:19.138Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-05-13T14:05:19.138Z] b2f61026a351: Pulling fs layer [2020-05-13T14:05:19.138Z] 5538fb30c42c: Pulling fs layer [2020-05-13T14:05:19.138Z] f0b05810781a: Pulling fs layer [2020-05-13T14:05:19.138Z] 0180a33352d6: Pulling fs layer [2020-05-13T14:05:19.138Z] e7604b0c0f53: Pulling fs layer [2020-05-13T14:05:19.138Z] db689cb83ae0: Pulling fs layer [2020-05-13T14:05:19.138Z] 6138af208834: Pulling fs layer [2020-05-13T14:05:19.138Z] 007c8e8c5d63: Pulling fs layer [2020-05-13T14:05:19.138Z] 4f7a387c642f: Pulling fs layer [2020-05-13T14:05:19.138Z] db689cb83ae0: Waiting [2020-05-13T14:05:19.138Z] 0180a33352d6: Waiting [2020-05-13T14:05:19.138Z] e7604b0c0f53: Waiting [2020-05-13T14:05:19.138Z] 007c8e8c5d63: Waiting [2020-05-13T14:05:19.138Z] 6138af208834: Waiting [2020-05-13T14:05:19.138Z] 4f7a387c642f: Waiting [2020-05-13T14:05:19.138Z] f0b05810781a: Verifying Checksum [2020-05-13T14:05:19.138Z] f0b05810781a: Download complete [2020-05-13T14:05:19.138Z] 5538fb30c42c: Verifying Checksum [2020-05-13T14:05:19.138Z] 5538fb30c42c: Download complete [2020-05-13T14:05:19.138Z] 0180a33352d6: Verifying Checksum [2020-05-13T14:05:19.138Z] 0180a33352d6: Download complete [2020-05-13T14:05:19.138Z] db689cb83ae0: Verifying Checksum [2020-05-13T14:05:19.138Z] db689cb83ae0: Download complete [2020-05-13T14:05:19.407Z] 6138af208834: Verifying Checksum [2020-05-13T14:05:19.407Z] 6138af208834: Download complete [2020-05-13T14:05:19.407Z] 007c8e8c5d63: Download complete [2020-05-13T14:05:19.407Z] 4f7a387c642f: Verifying Checksum [2020-05-13T14:05:19.407Z] 4f7a387c642f: Download complete [2020-05-13T14:05:21.362Z] b2f61026a351: Verifying Checksum [2020-05-13T14:05:21.362Z] b2f61026a351: Download complete [2020-05-13T14:05:24.736Z] b2f61026a351: Pull complete [2020-05-13T14:05:24.736Z] 5538fb30c42c: Pull complete [2020-05-13T14:05:25.011Z] f0b05810781a: Pull complete [2020-05-13T14:05:25.280Z] 0180a33352d6: Pull complete [2020-05-13T14:05:47.387Z] e7604b0c0f53: Download complete [2020-05-13T14:06:14.127Z] e7604b0c0f53: Pull complete [2020-05-13T14:06:14.127Z] db689cb83ae0: Pull complete [2020-05-13T14:06:14.127Z] 6138af208834: Pull complete [2020-05-13T14:06:14.127Z] 007c8e8c5d63: Pull complete [2020-05-13T14:06:14.127Z] 4f7a387c642f: Pull complete [2020-05-13T14:06:14.127Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-05-13T14:06:14.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-05-13T14:06:20.780Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-05-13T14:06:20.780Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-05-13T14:06:20.780Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-05-13T14:06:20.780Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-05-13T14:06:20.780Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [856 kB] [2020-05-13T14:06:21.050Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] [2020-05-13T14:06:21.050Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] [2020-05-13T14:06:21.050Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1224 kB] [2020-05-13T14:06:21.322Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] [2020-05-13T14:06:21.322Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-05-13T14:06:21.322Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [583 kB] [2020-05-13T14:06:21.591Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [748 kB] [2020-05-13T14:06:21.859Z] Fetched 3684 kB in 2s (1627 kB/s) [2020-05-13T14:06:27.205Z] Reading package lists... [2020-05-13T14:06:39.516Z] 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-05-13T14:06:44.037Z] Reading package lists... [2020-05-13T14:06:44.621Z] Building dependency tree... [2020-05-13T14:06:44.621Z] Reading state information... [2020-05-13T14:06:45.206Z] The following packages were automatically installed and are no longer required: [2020-05-13T14:06:45.206Z] libjq1 liblzo2-2 libonig4 [2020-05-13T14:06:45.206Z] Use 'sudo apt autoremove' to remove them. [2020-05-13T14:06:45.206Z] Suggested packages: [2020-05-13T14:06:45.206Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-05-13T14:06:45.206Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-05-13T14:06:45.206Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-05-13T14:06:45.206Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-05-13T14:06:45.790Z] The following NEW packages will be installed: [2020-05-13T14:06:45.790Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-05-13T14:06:45.790Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-05-13T14:06:45.790Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-05-13T14:06:45.790Z] openssh-client patch perl perl-modules-5.26 xauth [2020-05-13T14:06:46.056Z] 0 upgraded, 27 newly installed, 0 to remove and 4 not upgraded. [2020-05-13T14:06:46.056Z] Need to get 12.9 MB of archives. [2020-05-13T14:06:46.056Z] After this operation, 84.2 MB of additional disk space will be used. [2020-05-13T14:06:46.056Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-05-13T14:06:46.056Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-05-13T14:06:46.056Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-05-13T14:06:46.056Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-05-13T14:06:46.323Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-05-13T14:06:46.323Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] [2020-05-13T14:06:46.590Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-05-13T14:06:46.590Z] 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-05-13T14:06:47.172Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-05-13T14:06:47.172Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-05-13T14:06:47.172Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-05-13T14:06:47.758Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-05-13T14:06:47.758Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-05-13T14:06:47.758Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-05-13T14:06:47.758Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-05-13T14:06:47.758Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-05-13T14:06:47.758Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] [2020-05-13T14:06:47.758Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-05-13T14:06:47.758Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-05-13T14:06:47.758Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-05-13T14:06:47.758Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-05-13T14:06:47.758Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-05-13T14:06:47.758Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-05-13T14:06:47.758Z] Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-05-13T14:06:48.025Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-05-13T14:06:48.293Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-05-13T14:06:48.293Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-05-13T14:06:48.876Z] debconf: delaying package configuration, since apt-utils is not installed [2020-05-13T14:06:48.876Z] Fetched 12.9 MB in 3s (5146 kB/s) [2020-05-13T14:06:48.876Z] Selecting previously unselected package libxau6:arm64. [2020-05-13T14:06:48.876Z] (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-05-13T14:06:48.876Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-05-13T14:06:48.876Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-05-13T14:06:49.143Z] Selecting previously unselected package libbsd0:arm64. [2020-05-13T14:06:49.143Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-05-13T14:06:49.144Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-05-13T14:06:49.144Z] Selecting previously unselected package libxdmcp6:arm64. [2020-05-13T14:06:49.144Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-05-13T14:06:49.144Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-05-13T14:06:49.412Z] Selecting previously unselected package libxcb1:arm64. [2020-05-13T14:06:49.412Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-05-13T14:06:49.412Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-05-13T14:06:49.683Z] Selecting previously unselected package libx11-data. [2020-05-13T14:06:49.683Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-05-13T14:06:49.683Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:06:49.951Z] Selecting previously unselected package libx11-6:arm64. [2020-05-13T14:06:49.951Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-05-13T14:06:49.951Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:06:50.221Z] Selecting previously unselected package libxext6:arm64. [2020-05-13T14:06:50.221Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-05-13T14:06:50.221Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-05-13T14:06:50.221Z] Selecting previously unselected package perl-modules-5.26. [2020-05-13T14:06:50.221Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-05-13T14:06:50.221Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:51.635Z] Selecting previously unselected package libgdbm5:arm64. [2020-05-13T14:06:51.635Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-05-13T14:06:51.635Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-05-13T14:06:51.904Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-05-13T14:06:51.904Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-05-13T14:06:51.904Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-05-13T14:06:51.904Z] Selecting previously unselected package libperl5.26:arm64. [2020-05-13T14:06:51.904Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-05-13T14:06:51.904Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:53.318Z] Selecting previously unselected package perl. [2020-05-13T14:06:53.318Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-05-13T14:06:53.318Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:53.318Z] Selecting previously unselected package less. [2020-05-13T14:06:53.318Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-05-13T14:06:53.318Z] Unpacking less (487-0.1) ... [2020-05-13T14:06:53.586Z] Selecting previously unselected package libexpat1:arm64. [2020-05-13T14:06:53.587Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-05-13T14:06:53.587Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-05-13T14:06:53.587Z] Selecting previously unselected package netbase. [2020-05-13T14:06:53.587Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-05-13T14:06:53.587Z] Unpacking netbase (5.4) ... [2020-05-13T14:06:53.855Z] Selecting previously unselected package libedit2:arm64. [2020-05-13T14:06:53.855Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-05-13T14:06:53.855Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-05-13T14:06:53.855Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-05-13T14:06:53.855Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-05-13T14:06:53.855Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-05-13T14:06:54.123Z] Selecting previously unselected package libxmuu1:arm64. [2020-05-13T14:06:54.123Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-05-13T14:06:54.123Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-05-13T14:06:54.393Z] Selecting previously unselected package openssh-client. [2020-05-13T14:06:54.393Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-05-13T14:06:54.393Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-05-13T14:06:54.661Z] Selecting previously unselected package xauth. [2020-05-13T14:06:54.661Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-05-13T14:06:54.661Z] Unpacking xauth (1:1.0.10-1) ... [2020-05-13T14:06:54.661Z] Selecting previously unselected package curl. [2020-05-13T14:06:54.661Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-05-13T14:06:54.661Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-05-13T14:06:54.929Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-05-13T14:06:54.929Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-05-13T14:06:54.929Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-05-13T14:06:54.929Z] Selecting previously unselected package liberror-perl. [2020-05-13T14:06:54.929Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-05-13T14:06:54.929Z] Unpacking liberror-perl (0.17025-1) ... [2020-05-13T14:06:55.196Z] Selecting previously unselected package git-man. [2020-05-13T14:06:55.196Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-05-13T14:06:55.196Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:06:55.196Z] Selecting previously unselected package git. [2020-05-13T14:06:55.196Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-05-13T14:06:55.463Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:06:56.878Z] Selecting previously unselected package make. [2020-05-13T14:06:56.878Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-05-13T14:06:56.878Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-05-13T14:06:56.878Z] Selecting previously unselected package patch. [2020-05-13T14:06:56.878Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-05-13T14:06:56.878Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-05-13T14:06:56.878Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-05-13T14:06:56.878Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:06:56.878Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-05-13T14:06:56.878Z] Setting up less (487-0.1) ... [2020-05-13T14:06:57.460Z] Setting up make (4.1-9.1ubuntu1) ... [2020-05-13T14:06:57.460Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-05-13T14:06:57.726Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-05-13T14:06:57.726Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-05-13T14:06:57.726Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:57.726Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-05-13T14:06:57.726Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-05-13T14:06:57.726Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-05-13T14:06:57.991Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-05-13T14:06:57.991Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-05-13T14:06:57.991Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-05-13T14:06:58.257Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:06:58.257Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-05-13T14:06:58.257Z] Setting up netbase (5.4) ... [2020-05-13T14:06:58.523Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:58.523Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-05-13T14:06:58.523Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-05-13T14:06:58.523Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-05-13T14:06:58.523Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-05-13T14:06:58.789Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-05-13T14:06:58.789Z] Setting up liberror-perl (0.17025-1) ... [2020-05-13T14:06:58.789Z] Setting up xauth (1:1.0.10-1) ... [2020-05-13T14:06:58.789Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-05-13T14:06:58.789Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-05-13T14:07:05.429Z] curl set to automatically installed. [2020-05-13T14:07:05.429Z] git set to automatically installed. [2020-05-13T14:07:05.429Z] git-man set to automatically installed. [2020-05-13T14:07:05.429Z] less set to automatically installed. [2020-05-13T14:07:05.429Z] libbsd0 set to automatically installed. [2020-05-13T14:07:05.429Z] libcurl3-gnutls set to automatically installed. [2020-05-13T14:07:05.429Z] libedit2 set to automatically installed. [2020-05-13T14:07:05.429Z] liberror-perl set to automatically installed. [2020-05-13T14:07:05.429Z] libexpat1 set to automatically installed. [2020-05-13T14:07:05.429Z] libgdbm-compat4 set to automatically installed. [2020-05-13T14:07:05.429Z] libgdbm5 set to automatically installed. [2020-05-13T14:07:05.429Z] libperl5.26 set to automatically installed. [2020-05-13T14:07:05.429Z] libssl1.0.0 set to automatically installed. [2020-05-13T14:07:05.429Z] libx11-6 set to automatically installed. [2020-05-13T14:07:05.429Z] libx11-data set to automatically installed. [2020-05-13T14:07:05.429Z] libxau6 set to automatically installed. [2020-05-13T14:07:05.429Z] libxcb1 set to automatically installed. [2020-05-13T14:07:05.429Z] libxdmcp6 set to automatically installed. [2020-05-13T14:07:05.429Z] libxext6 set to automatically installed. [2020-05-13T14:07:05.429Z] libxmuu1 set to automatically installed. [2020-05-13T14:07:05.429Z] make set to automatically installed. [2020-05-13T14:07:05.429Z] netbase set to automatically installed. [2020-05-13T14:07:05.429Z] openssh-client set to automatically installed. [2020-05-13T14:07:05.429Z] patch set to automatically installed. [2020-05-13T14:07:05.429Z] perl set to automatically installed. [2020-05-13T14:07:05.429Z] perl-modules-5.26 set to automatically installed. [2020-05-13T14:07:05.429Z] xauth set to automatically installed. [2020-05-13T14:07:05.429Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-05-13T14:07:05.429Z] Please ensure the environment is properly setup before continuing. [2020-05-13T14:07:05.429Z] Ignore this message if the appropriate measures have already been taken [2020-05-13T14:07:05.429Z] Pulling go [2020-05-13T14:07:08.009Z] 'device-modbus' has dependencies that need to be staged: go [2020-05-13T14:07:08.009Z] Skipping pull go (already ran) [2020-05-13T14:07:08.009Z] Building go [2020-05-13T14:07:08.275Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-05-13T14:07:08.275Z] Dload Upload Total Spent Left Speed [2020-05-13T14:07:10.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 18 93.0M 18 17.1M 0 0 25.4M 0 0:00:03 --:--:-- 0:00:03 25.3M 73 93.0M 73 68.3M 0 0 41.2M 0 0:00:02 0:00:01 0:00:01 41.2M 100 93.0M 100 93.0M 0 0 43.8M 0 0:00:02 0:00:02 --:--:-- 43.8M [2020-05-13T14:07:11.827Z] go1.13.5.linux-arm64.tar.gz: OK [2020-05-13T14:07:30.033Z] Staging go [2020-05-13T14:07:30.992Z] Pulling device-modbus [2020-05-13T14:07:34.333Z] Skipping build go (already ran) [2020-05-13T14:07:34.333Z] Building device-modbus [2020-05-13T14:07:34.333Z] 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-05-13T14:07:34.602Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:07:34.602Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:07:34.602Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-05-13T14:07:34.602Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-05-13T14:07:34.602Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-05-13T14:07:34.602Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:07:34.602Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:07:34.602Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-05-13T14:07:34.871Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-05-13T14:07:34.871Z] go: downloading github.com/google/uuid v1.1.1 [2020-05-13T14:07:34.871Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-05-13T14:07:34.871Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:07:34.871Z] go: downloading github.com/pkg/errors v0.8.1 [2020-05-13T14:07:34.871Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:07:34.871Z] go: extracting github.com/google/uuid v1.1.1 [2020-05-13T14:07:34.871Z] go: extracting github.com/pkg/errors v0.8.1 [2020-05-13T14:07:34.871Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-05-13T14:07:34.871Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:07:34.871Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:07:34.871Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:07:34.871Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:07:34.871Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:07:34.871Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:07:34.871Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:07:34.871Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:07:34.871Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:07:34.871Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:07:34.871Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:07:35.140Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:07:35.140Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:07:35.140Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:07:35.140Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:07:35.140Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:07:35.140Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:07:35.140Z] go: downloading github.com/x448/float16 v0.8.4 [2020-05-13T14:07:35.140Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:07:35.140Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:07:35.140Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:07:35.140Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/x448/float16 v0.8.4 [2020-05-13T14:07:35.140Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:07:35.140Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-05-13T14:07:35.140Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:07:35.140Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:07:35.140Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:07:35.140Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:07:35.140Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:07:35.140Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:07:35.406Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-05-13T14:07:35.406Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:07:35.406Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:07:35.406Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:07:35.406Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:07:35.406Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:07:35.673Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:07:35.673Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:07:35.673Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:07:35.673Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-05-13T14:07:35.673Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-05-13T14:07:35.673Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-05-13T14:07:35.673Z] go: finding github.com/gorilla/mux v1.7.1 [2020-05-13T14:07:35.673Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-05-13T14:07:35.673Z] go: finding github.com/go-kit/kit v0.8.0 [2020-05-13T14:07:35.673Z] go: finding github.com/goburrow/serial v0.1.0 [2020-05-13T14:07:35.673Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-05-13T14:07:35.673Z] go: finding github.com/google/uuid v1.1.1 [2020-05-13T14:07:35.673Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-05-13T14:07:35.673Z] go: finding github.com/x448/float16 v0.8.4 [2020-05-13T14:07:35.673Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-05-13T14:07:35.673Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-05-13T14:07:35.673Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-05-13T14:07:35.673Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-05-13T14:07:35.942Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-05-13T14:07:35.942Z] go: finding github.com/pkg/errors v0.8.1 [2020-05-13T14:07:35.942Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-05-13T14:07:35.942Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-05-13T14:07:35.942Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-05-13T14:07:35.942Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-05-13T14:07:35.942Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-05-13T14:07:35.942Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-05-13T14:07:35.942Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-05-13T14:07:35.943Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-05-13T14:07:35.943Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-05-13T14:07:35.943Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-05-13T14:07:35.943Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-05-13T14:07:35.943Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-05-13T14:07:35.943Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-05-13T14:07:35.943Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-05-13T14:08:02.656Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-05-13T14:08:14.975Z] Skipping stage go (already ran) [2020-05-13T14:08:14.975Z] Staging device-modbus [2020-05-13T14:08:18.318Z] Priming go [2020-05-13T14:08:20.903Z] Priming device-modbus [2020-05-13T14:08:24.242Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-05-13T14:08:24.242Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-05-13T14:08:24.242Z] Determining the version from the project repo (version-script). [2020-05-13T14:08:24.242Z] The version has been set to '0.0.0-20200513+79ba801' [2020-05-13T14:08:24.242Z] Snapping 'edgex-device-modbus' ... [2020-05-13T14:08:26.835Z] [2020-05-13T14:08:26.835Z] Snapped edgex-device-modbus_0.0.0-20200513+79ba801_arm64.snap [Pipeline] } [2020-05-13T14:08:28.789Z] 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-05-13T14:08:29.903Z] provisioning config files... [2020-05-13T14:08:29.916Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-149@tmp/config3160772886855709923tmp [Pipeline] { [Pipeline] sh [2020-05-13T14:08:30.266Z] + curl -s https://codecov.io/bash [2020-05-13T14:08:30.266Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-149@tmp/config3160772886855709923tmp [2020-05-13T14:08:30.526Z] [2020-05-13T14:08:30.526Z] _____ _ [2020-05-13T14:08:30.526Z] / ____| | | [2020-05-13T14:08:30.526Z] | | ___ __| | ___ ___ _____ __ [2020-05-13T14:08:30.526Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-05-13T14:08:30.526Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-05-13T14:08:30.526Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-05-13T14:08:30.526Z] Bash-tbd [2020-05-13T14:08:30.526Z] [2020-05-13T14:08:30.526Z] [2020-05-13T14:08:30.526Z] ==> Jenkins CI detected. [2020-05-13T14:08:30.526Z] project root: . [2020-05-13T14:08:30.526Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-05-13T14:08:30.526Z] ==> Running gcov in . (disable via -X gcov) [2020-05-13T14:08:30.526Z] ==> Python coveragepy not found [2020-05-13T14:08:30.526Z] ==> Searching for coverage reports in: [2020-05-13T14:08:30.526Z] + . [2020-05-13T14:08:30.526Z] -> Found 1 reports [2020-05-13T14:08:30.526Z] ==> Detecting git/mercurial file structure [2020-05-13T14:08:30.526Z] ==> Reading reports [2020-05-13T14:08:30.526Z] + ./coverage.out bytes=22123 [2020-05-13T14:08:30.526Z] ==> Appending adjustments [2020-05-13T14:08:30.526Z] http://docs.codecov.io/docs/fixing-reports [2020-05-13T14:08:30.785Z] + Found adjustments [2020-05-13T14:08:30.785Z] ==> Gzipping contents [2020-05-13T14:08:30.785Z] ==> Uploading reports [2020-05-13T14:08:30.785Z] url: https://codecov.io [2020-05-13T14:08:30.785Z] query: branch=PR-149&commit=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=149&job= [2020-05-13T14:08:30.785Z] -> Pinging Codecov [2020-05-13T14:08:30.785Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-149&commit=79ba80167ae86eda7c3a8da91d3a233ed2e8a71f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=149&job= [2020-05-13T14:08:31.047Z] -> Uploading [2020-05-13T14:08:31.616Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/79ba80167ae86eda7c3a8da91d3a233ed2e8a71f [Pipeline] } [2020-05-13T14:08:31.623Z] 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-05-13T14:08:32.928Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:08:33.234Z] ---> package-listing.sh [2020-05-13T14:08:33.234Z] ++ facter osfamily [2020-05-13T14:08:33.234Z] ++ tr '[:upper:]' '[:lower:]' [2020-05-13T14:08:33.234Z] + OS_FAMILY=redhat [2020-05-13T14:08:33.234Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-149 [2020-05-13T14:08:33.234Z] + START_PACKAGES=/tmp/packages_start.txt [2020-05-13T14:08:33.234Z] + END_PACKAGES=/tmp/packages_end.txt [2020-05-13T14:08:33.234Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-05-13T14:08:33.234Z] + PACKAGES=/tmp/packages_start.txt [2020-05-13T14:08:33.234Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-149 ']' [2020-05-13T14:08:33.234Z] + PACKAGES=/tmp/packages_end.txt [2020-05-13T14:08:33.234Z] + case "${OS_FAMILY}" in [2020-05-13T14:08:33.234Z] + rpm -qa [2020-05-13T14:08:33.234Z] + sort [2020-05-13T14:08:36.544Z] + '[' -f /tmp/packages_start.txt ']' [2020-05-13T14:08:36.544Z] + '[' -f /tmp/packages_end.txt ']' [2020-05-13T14:08:36.544Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-05-13T14:08:36.544Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-149 ']' [2020-05-13T14:08:36.544Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-149/archives/ [2020-05-13T14:08:36.544Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-149/archives/ [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:08:36.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T14:08:36.900Z] [2020-05-13T14:08:36.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-05-13T14:08:37.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-05-13T14:08:37.250Z] alpine: Pulling from edgex-lftools-log-publisher [2020-05-13T14:08:37.250Z] c9b1b535fdd9: Pulling fs layer [2020-05-13T14:08:37.250Z] 2cc5ad85d9ab: Pulling fs layer [2020-05-13T14:08:37.250Z] 756a868c4378: Pulling fs layer [2020-05-13T14:08:37.250Z] 444b2fc9a129: Pulling fs layer [2020-05-13T14:08:37.250Z] ea15f1150254: Pulling fs layer [2020-05-13T14:08:37.250Z] 41b27a9f41bf: Pulling fs layer [2020-05-13T14:08:37.250Z] 28c525ee5125: Pulling fs layer [2020-05-13T14:08:37.250Z] 094b1ea09ed8: Pulling fs layer [2020-05-13T14:08:37.250Z] 138eaada9080: Pulling fs layer [2020-05-13T14:08:37.250Z] 0622d0fa9048: Pulling fs layer [2020-05-13T14:08:37.250Z] ea15f1150254: Waiting [2020-05-13T14:08:37.250Z] 41b27a9f41bf: Waiting [2020-05-13T14:08:37.250Z] 28c525ee5125: Waiting [2020-05-13T14:08:37.250Z] 094b1ea09ed8: Waiting [2020-05-13T14:08:37.250Z] 138eaada9080: Waiting [2020-05-13T14:08:37.250Z] 0622d0fa9048: Waiting [2020-05-13T14:08:37.250Z] 444b2fc9a129: Waiting [2020-05-13T14:08:37.250Z] 2cc5ad85d9ab: Download complete [2020-05-13T14:08:37.532Z] 444b2fc9a129: Verifying Checksum [2020-05-13T14:08:37.532Z] 444b2fc9a129: Download complete [2020-05-13T14:08:37.532Z] c9b1b535fdd9: Verifying Checksum [2020-05-13T14:08:37.532Z] c9b1b535fdd9: Download complete [2020-05-13T14:08:37.532Z] ea15f1150254: Verifying Checksum [2020-05-13T14:08:37.532Z] ea15f1150254: Download complete [2020-05-13T14:08:37.532Z] 28c525ee5125: Verifying Checksum [2020-05-13T14:08:37.532Z] 28c525ee5125: Download complete [2020-05-13T14:08:37.805Z] c9b1b535fdd9: Pull complete [2020-05-13T14:08:38.073Z] 756a868c4378: Verifying Checksum [2020-05-13T14:08:38.073Z] 756a868c4378: Download complete [2020-05-13T14:08:38.073Z] 138eaada9080: Verifying Checksum [2020-05-13T14:08:38.073Z] 138eaada9080: Download complete [2020-05-13T14:08:38.073Z] 0622d0fa9048: Verifying Checksum [2020-05-13T14:08:38.073Z] 0622d0fa9048: Download complete [2020-05-13T14:08:38.338Z] 094b1ea09ed8: Verifying Checksum [2020-05-13T14:08:38.338Z] 094b1ea09ed8: Download complete [2020-05-13T14:08:38.602Z] 2cc5ad85d9ab: Pull complete [2020-05-13T14:08:38.862Z] 41b27a9f41bf: Verifying Checksum [2020-05-13T14:08:38.862Z] 41b27a9f41bf: Download complete [2020-05-13T14:08:40.807Z] 756a868c4378: Pull complete [2020-05-13T14:08:40.808Z] 444b2fc9a129: Pull complete [2020-05-13T14:08:41.067Z] ea15f1150254: Pull complete [2020-05-13T14:08:45.342Z] 41b27a9f41bf: Pull complete [2020-05-13T14:08:45.342Z] 28c525ee5125: Pull complete [2020-05-13T14:08:48.649Z] 094b1ea09ed8: Pull complete [2020-05-13T14:08:48.649Z] 138eaada9080: Pull complete [2020-05-13T14:08:48.649Z] 0622d0fa9048: Pull complete [2020-05-13T14:08:48.649Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-05-13T14:08:48.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-05-13T14:08:48.843Z] prd-centos7-docker-4c-2g-8230 does not seem to be running inside a container [2020-05-13T14:08:48.892Z] $ 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-149 -v /w/workspace/xfoundry_device-modbus-go_PR-149:/w/workspace/xfoundry_device-modbus-go_PR-149:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-149@tmp:/w/workspace/xfoundry_device-modbus-go_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-05-13T14:08:50.112Z] $ docker top 9aae16bbefa5a089477ba3a8480f163ed3fb7af404f78ff71e4d5b1f80c03545 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-05-13T14:08:50.359Z] provisioning config files... [2020-05-13T14:08:50.373Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-149@tmp/config785471526121855083tmp [Pipeline] { [Pipeline] echo [2020-05-13T14:08:50.446Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:08:50.747Z] ---> create-netrc.sh [Pipeline] echo [2020-05-13T14:08:50.755Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-05-13T14:08:51.057Z] ---> logs-deploy.sh [2020-05-13T14:08:51.057Z] + ARCHIVE_ARTIFACTS= [2020-05-13T14:08:51.057Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-05-13T14:08:51.057Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-05-13T14:08:51.057Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-05-13T14:08:51.057Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-149/3 [2020-05-13T14:08:51.057Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-149/3/ [2020-05-13T14:08:51.057Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-149/3 /w/workspace/xfoundry_device-modbus-go_PR-149 [2020-05-13T14:08:52.972Z] Archives upload complete. [2020-05-13T14:08:53.231Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-149/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-149/3/