Pull request #139 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 9b724a95ad1ea83924f356e73a6a8126edcbd1e5+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (f710ab207456d3ac37a9e130b544c88513410dc0) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5331 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 Checking out Revision 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 (PR-139) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 Commit message: "Attribution.txt" > git rev-list --no-walk 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T18:00:11.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T18:00:11.914Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T18:00:11.990Z] ========================================================= [2020-04-21T18:00:11.990Z] EdgeX Global Pipelines Version Info [2020-04-21T18:00:11.990Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:00:13.463Z] ------------------- [2020-04-21T18:00:13.463Z] stable info: [2020-04-21T18:00:13.463Z] ------------------- [2020-04-21T18:00:13.463Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T18:00:13.463Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T18:00:13.463Z] Message: update stable to v1.0.73 [2020-04-21T18:00:14.031Z] ------------------- [2020-04-21T18:00:14.031Z] experimental info: [2020-04-21T18:00:14.031Z] ------------------- [2020-04-21T18:00:14.031Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T18:00:14.031Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T18:00:14.031Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:00:16.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T18:00:16.138Z] [2020-04-21T18:00:16.138Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:00:16.491Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T18:00:16.491Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T18:00:16.491Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T18:00:16.491Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T18:00:16.491Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T18:00:16.491Z] 93b08a4f1073: Pulling fs layer [2020-04-21T18:00:16.491Z] 93b08a4f1073: Waiting [2020-04-21T18:00:16.491Z] b8cc5d1170e3: Download complete [2020-04-21T18:00:16.750Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T18:00:16.750Z] 9123ac7c32f7: Download complete [2020-04-21T18:00:16.750Z] 93b08a4f1073: Verifying Checksum [2020-04-21T18:00:16.750Z] 93b08a4f1073: Download complete [2020-04-21T18:00:16.750Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T18:00:17.009Z] 9123ac7c32f7: Pull complete [2020-04-21T18:00:17.009Z] b8cc5d1170e3: Pull complete [2020-04-21T18:00:17.955Z] 2924cbbf6a41: Pull complete [2020-04-21T18:00:17.955Z] 93b08a4f1073: Pull complete [2020-04-21T18:00:17.955Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T18:00:17.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T18:00:18.080Z] prd-centos7-docker-4c-2g-5331 does not seem to be running inside a container [2020-04-21T18:00:18.127Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T18:00:18.749Z] $ docker top fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T18:00:19.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T18:00:19.027Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T18:00:19.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T18:00:19.281Z] $ docker exec fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 ssh-agent [2020-04-21T18:00:19.464Z] SSH_AUTH_SOCK=/tmp/ssh-3EUlr5x7fdkg/agent.14 [2020-04-21T18:00:19.464Z] SSH_AGENT_PID=21 [2020-04-21T18:00:19.473Z] Running ssh-add (command line suppressed) [2020-04-21T18:00:19.615Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8153883791716913961.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8153883791716913961.key) [2020-04-21T18:00:19.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T18:00:20.070Z] + git describe --exact-match --tags HEAD [2020-04-21T18:00:20.071Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T18:00:20.130Z] $ docker exec --env ******** --env ******** fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 ssh-agent -k [2020-04-21T18:00:20.269Z] unset SSH_AUTH_SOCK; [2020-04-21T18:00:20.270Z] unset SSH_AGENT_PID; [2020-04-21T18:00:20.270Z] echo Agent pid 21 killed; [2020-04-21T18:00:20.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T18:00:20.394Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T18:00:20.394Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T18:00:20.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T18:00:20.479Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T18:00:20.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T18:00:20.674Z] $ docker exec fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 ssh-agent [2020-04-21T18:00:20.860Z] SSH_AUTH_SOCK=/tmp/ssh-kLZBeKDPsnTm/agent.57 [2020-04-21T18:00:20.860Z] SSH_AGENT_PID=64 [2020-04-21T18:00:20.868Z] Running ssh-add (command line suppressed) [2020-04-21T18:00:21.010Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_1920066391433040828.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_1920066391433040828.key) [2020-04-21T18:00:21.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T18:00:21.386Z] + git semver init [2020-04-21T18:00:21.386Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T18:00:21.386Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git [2020-04-21T18:00:21.386Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T18:00:21.386Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T18:00:21.386Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T18:00:21.386Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T18:00:21.386Z] # $SEMVER_BRANCH = PR-139 [2020-04-21T18:00:21.386Z] # $SEMVER_TEMP = /tmp/semver-055031244 [2020-04-21T18:00:21.386Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-21T18:00:21.644Z] # '/tmp/semver-055031244' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' [2020-04-21T18:00:21.644Z] # -> Force: false [2020-04-21T18:00:21.644Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } [2020-04-21T18:00:21.653Z] $ docker exec --env ******** --env ******** fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 ssh-agent -k [2020-04-21T18:00:21.787Z] unset SSH_AUTH_SOCK; [2020-04-21T18:00:21.788Z] unset SSH_AGENT_PID; [2020-04-21T18:00:21.788Z] echo Agent pid 64 killed; [2020-04-21T18:00:21.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T18:00:22.307Z] + git semver [Pipeline] } [2020-04-21T18:00:22.320Z] $ docker stop --time=1 fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 [2020-04-21T18:00:23.647Z] $ docker rm -f fb4e31d0e8ff0dacade7e6095150fb81047f52cd51a4754c2a91b8b1d0ad5a17 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T18:00:24.360Z] Stashed 24 file(s) [Pipeline] echo [2020-04-21T18:00:24.362Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-21T18:00:39.595Z] Still waiting to schedule task [2020-04-21T18:00:39.595Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T18:00:39.596Z] Still waiting to schedule task [2020-04-21T18:00:39.596Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-21T18:02:36.581Z] Running on prd-centos7-docker-4c-2g-5333 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T18:02:36.658Z] Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout [2020-04-21T18:02:38.854Z] using credential edgex-jenkins-ssh [2020-04-21T18:02:38.907Z] Cloning the remote Git repository [2020-04-21T18:02:38.907Z] Cloning with configured refspecs honoured and without tags [2020-04-21T18:02:38.933Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:02:38.971Z] > git init /w/workspace/device-modbus-go/9 # timeout=10 [2020-04-21T18:02:39.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:02:39.022Z] > git --version # timeout=10 [2020-04-21T18:02:39.633Z] Fetching without tags [2020-04-21T18:02:39.985Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:02:40.071Z] Merge succeeded, producing 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:02:40.071Z] Checking out Revision 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 (PR-139) [2020-04-21T18:02:39.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:02:39.109Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:02:39.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T18:02:39.609Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T18:02:39.616Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:02:39.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T18:02:39.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:02:39.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:02:39.645Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:02:39.994Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:02:39.999Z] > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 [2020-04-21T18:02:40.032Z] > git remote # timeout=10 [2020-04-21T18:02:40.039Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T18:02:40.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:02:40.052Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T18:02:40.062Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T18:02:40.074Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:02:40.078Z] > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 [2020-04-21T18:02:43.803Z] Commit message: "Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T18:02:44.484Z] ========================================================= [2020-04-21T18:02:44.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T18:02:44.484Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:02:45.209Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-21T18:02:45.209Z] Sending build context to Docker daemon 583.2kB [2020-04-21T18:02:45.478Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T18:02:45.478Z] Step 2/8 : FROM ${BASE} [2020-04-21T18:02:45.478Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T18:02:45.478Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T18:02:45.478Z] 2848faf0eed1: Pulling fs layer [2020-04-21T18:02:45.478Z] 0f37312ad70f: Pulling fs layer [2020-04-21T18:02:45.478Z] 5788d62ee057: Pulling fs layer [2020-04-21T18:02:45.478Z] 0e6b1d234666: Pulling fs layer [2020-04-21T18:02:45.478Z] bf5d7aec512f: Pulling fs layer [2020-04-21T18:02:45.478Z] 34c802a77dc8: Pulling fs layer [2020-04-21T18:02:45.478Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T18:02:45.478Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T18:02:45.478Z] 5c102a31e300: Pulling fs layer [2020-04-21T18:02:45.478Z] dcfb455df0a1: Pulling fs layer [2020-04-21T18:02:45.478Z] 5788d62ee057: Waiting [2020-04-21T18:02:45.478Z] 0e6b1d234666: Waiting [2020-04-21T18:02:45.478Z] bf5d7aec512f: Waiting [2020-04-21T18:02:45.478Z] 34c802a77dc8: Waiting [2020-04-21T18:02:45.478Z] 9eb99e56ec68: Waiting [2020-04-21T18:02:45.478Z] 27c7a5d97fbd: Waiting [2020-04-21T18:02:45.478Z] 5c102a31e300: Waiting [2020-04-21T18:02:45.478Z] dcfb455df0a1: Waiting [2020-04-21T18:02:45.478Z] 0f37312ad70f: Verifying Checksum [2020-04-21T18:02:45.478Z] 0f37312ad70f: Download complete [2020-04-21T18:02:45.478Z] 2848faf0eed1: Download complete [2020-04-21T18:02:45.478Z] 0e6b1d234666: Verifying Checksum [2020-04-21T18:02:45.478Z] 0e6b1d234666: Download complete [2020-04-21T18:02:45.478Z] bf5d7aec512f: Verifying Checksum [2020-04-21T18:02:45.478Z] bf5d7aec512f: Download complete [2020-04-21T18:02:45.478Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T18:02:45.478Z] e6b0cf9c0882: Download complete [2020-04-21T18:02:45.750Z] e6b0cf9c0882: Pull complete [2020-04-21T18:02:46.333Z] 34c802a77dc8: Verifying Checksum [2020-04-21T18:02:46.333Z] 34c802a77dc8: Download complete [2020-04-21T18:02:46.333Z] 27c7a5d97fbd: Download complete [2020-04-21T18:02:46.599Z] 5c102a31e300: Verifying Checksum [2020-04-21T18:02:46.599Z] 5c102a31e300: Download complete [2020-04-21T18:02:46.599Z] dcfb455df0a1: Verifying Checksum [2020-04-21T18:02:46.599Z] dcfb455df0a1: Download complete [2020-04-21T18:02:47.167Z] 5788d62ee057: Verifying Checksum [2020-04-21T18:02:47.167Z] 5788d62ee057: Download complete [2020-04-21T18:02:47.167Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T18:02:47.167Z] 9eb99e56ec68: Download complete [2020-04-21T18:02:47.735Z] 2848faf0eed1: Pull complete [2020-04-21T18:02:47.994Z] 0f37312ad70f: Pull complete [2020-04-21T18:02:53.275Z] 5788d62ee057: Pull complete [2020-04-21T18:02:53.534Z] 0e6b1d234666: Pull complete [2020-04-21T18:02:53.534Z] bf5d7aec512f: Pull complete [2020-04-21T18:02:57.736Z] 34c802a77dc8: Pull complete [2020-04-21T18:03:01.939Z] 9eb99e56ec68: Pull complete [2020-04-21T18:03:01.939Z] 27c7a5d97fbd: Pull complete [2020-04-21T18:03:02.200Z] 5c102a31e300: Pull complete [2020-04-21T18:03:02.200Z] dcfb455df0a1: Pull complete [2020-04-21T18:03:02.200Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T18:03:02.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T18:03:02.200Z] ---> 7c70fe431013 [2020-04-21T18:03:02.200Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T18:03:02.460Z] ---> Running in a476aab6e33d [2020-04-21T18:03:02.460Z] Removing intermediate container a476aab6e33d [2020-04-21T18:03:02.460Z] ---> 128c24f778e5 [2020-04-21T18:03:02.460Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T18:03:02.460Z] ---> Running in da4c69ead240 [2020-04-21T18:03:03.843Z] Removing intermediate container da4c69ead240 [2020-04-21T18:03:03.843Z] ---> c9dfa43146e7 [2020-04-21T18:03:03.843Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T18:03:03.843Z] ---> Running in 0c87a62ced96 [2020-04-21T18:03:04.415Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T18:03:05.355Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T18:03:05.617Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:03:05.617Z] (2/17) Installing libmagic (5.37-r1) [2020-04-21T18:03:05.876Z] (3/17) Installing file (5.37-r1) [2020-04-21T18:03:05.876Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:03:06.156Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:03:06.156Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:03:21.069Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-21T18:03:21.069Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-21T18:03:22.448Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-21T18:03:22.448Z] (10/17) Installing build-base (0.5-r1) [2020-04-21T18:03:22.448Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T18:03:22.448Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-21T18:03:22.707Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-21T18:03:22.965Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T18:03:22.965Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T18:03:22.965Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-21T18:03:23.224Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-21T18:03:23.224Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T18:03:23.224Z] OK: 214 MiB in 52 packages [2020-04-21T18:03:26.528Z] Removing intermediate container 0c87a62ced96 [2020-04-21T18:03:26.528Z] ---> 893c54959611 [2020-04-21T18:03:26.528Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T18:03:26.528Z] ---> Running in 9408c09fcf8e [2020-04-21T18:03:26.788Z] Removing intermediate container 9408c09fcf8e [2020-04-21T18:03:26.788Z] ---> 66bec40c0de6 [2020-04-21T18:03:26.788Z] Step 7/8 : COPY . . [2020-04-21T18:03:27.046Z] ---> 522d38c2d907 [2020-04-21T18:03:27.046Z] Step 8/8 : RUN go mod download [2020-04-21T18:03:27.046Z] ---> Running in c804258a7b85 [2020-04-21T18:03:28.424Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:03:28.424Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:03:28.685Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T18:03:28.685Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:03:28.685Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T18:03:28.685Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T18:03:28.685Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:03:28.685Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:03:28.685Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:03:28.685Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T18:03:28.685Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:03:28.685Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T18:03:28.685Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:03:28.685Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T18:03:28.685Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T18:03:28.685Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T18:03:28.685Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T18:03:28.685Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T18:03:28.685Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T18:03:28.685Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:03:28.944Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T18:03:28.944Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T18:03:28.944Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T18:03:28.944Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T18:03:28.944Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T18:03:28.944Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:03:28.944Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T18:03:28.944Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:03:28.944Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T18:03:28.944Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T18:03:28.944Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T18:03:28.944Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T18:03:28.945Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T18:03:28.945Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T18:03:28.945Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T18:03:28.945Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T18:03:28.945Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T18:03:28.945Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T18:03:28.945Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T18:03:28.945Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T18:03:28.945Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T18:03:28.945Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T18:03:28.945Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:03:34.227Z] Removing intermediate container c804258a7b85 [2020-04-21T18:03:34.227Z] ---> c864f9b11056 [2020-04-21T18:03:34.227Z] Successfully built c864f9b11056 [2020-04-21T18:03:34.227Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:03:34.826Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T18:03:34.826Z] . [Pipeline] withDockerContainer [2020-04-21T18:03:34.942Z] prd-centos7-docker-4c-2g-5333 does not seem to be running inside a container [2020-04-21T18:03:34.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T18:03:35.488Z] $ docker top 22fab8c74b01a5bc4650213bd78d645c5c33993eff785a84e7fbff5d44d2b38f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T18:03:35.981Z] + go version [2020-04-21T18:03:35.981Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T18:03:36.284Z] + make test [2020-04-21T18:03:36.284Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T18:03:37.224Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T18:03:37.367Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5334 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T18:03:37.404Z] Running in /w/workspace/device-modbus-go/9 [Pipeline] { [Pipeline] checkout [2020-04-21T18:03:43.596Z] using credential edgex-jenkins-ssh [2020-04-21T18:03:43.686Z] Cloning the remote Git repository [2020-04-21T18:03:43.686Z] Cloning with configured refspecs honoured and without tags [2020-04-21T18:03:43.711Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:03:43.789Z] > git init /w/workspace/device-modbus-go/9 # timeout=10 [2020-04-21T18:03:43.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:03:43.858Z] > git --version # timeout=10 [2020-04-21T18:03:43.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:03:44.712Z] Fetching without tags [2020-04-21T18:03:43.935Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:03:44.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T18:03:44.609Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T18:03:44.635Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:03:44.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T18:03:44.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T18:03:44.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:03:44.716Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T18:03:45.206Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:03:45.434Z] Merge succeeded, producing 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:03:45.435Z] Checking out Revision 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 (PR-139) [2020-04-21T18:03:45.198Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:03:45.219Z] > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 [2020-04-21T18:03:45.307Z] > git remote # timeout=10 [2020-04-21T18:03:45.341Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T18:03:45.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T18:03:45.372Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T18:03:45.395Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T18:03:45.415Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T18:03:45.436Z] > git checkout -f 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 [2020-04-21T18:03:49.503Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T18:03:49.503Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.156s coverage: 50.3% of statements [2020-04-21T18:03:49.503Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T18:03:49.503Z] gofmt -l . [2020-04-21T18:03:49.503Z] [ "`gofmt -l .`" = "" ] [2020-04-21T18:03:49.503Z] ./bin/test-attribution-txt.sh [2020-04-21T18:03:49.831Z] Commit message: "Attribution.txt" [2020-04-21T18:03:50.072Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-21T18:03:50.763Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T18:03:50.769Z] $ docker stop --time=1 22fab8c74b01a5bc4650213bd78d645c5c33993eff785a84e7fbff5d44d2b38f [2020-04-21T18:03:52.228Z] $ docker rm -f 22fab8c74b01a5bc4650213bd78d645c5c33993eff785a84e7fbff5d44d2b38f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2020-04-21T18:03:52.534Z] ========================================================= [2020-04-21T18:03:52.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T18:03:52.534Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [2020-04-21T18:03:53.649Z] + 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 . [Pipeline] sh [2020-04-21T18:03:54.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T18:03:54.256Z] Sending build context to Docker daemon 583.2kB [2020-04-21T18:03:54.256Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T18:03:54.256Z] Step 2/8 : FROM ${BASE} [2020-04-21T18:03:54.461Z] + ls -al . [2020-04-21T18:03:54.461Z] total 104 [2020-04-21T18:03:54.461Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 18:03 . [2020-04-21T18:03:54.461Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 18:02 .. [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 18:02 Attribution.txt [2020-04-21T18:03:54.461Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 18:02 bin [2020-04-21T18:03:54.461Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 18:02 cmd [2020-04-21T18:03:54.461Z] -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 18:03 coverage.out [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 18:02 Dockerfile [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 18:02 Dockerfile.build [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 18:02 .dockerignore [2020-04-21T18:03:54.461Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 18:02 .git [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 18:02 .gitignore [2020-04-21T18:03:54.461Z] -rw-r--r--. 1 jenkins jenkins 566 Apr 21 18:03 go.mod [2020-04-21T18:03:54.461Z] -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 18:03 go.sum [2020-04-21T18:03:54.461Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 18:02 internal [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 18:02 Jenkinsfile [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 18:02 LICENSE [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 18:02 Makefile [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 18:02 README.md [2020-04-21T18:03:54.461Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 18:02 .semver [2020-04-21T18:03:54.461Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 18:02 simulator [2020-04-21T18:03:54.461Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 18:02 snap [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 18:00 VERSION [2020-04-21T18:03:54.461Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:03:54.756Z] + 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=9b724a95ad1ea83924f356e73a6a8126edcbd1e5 --label arch=amd64 --label version=0.0.0 . [2020-04-21T18:03:54.756Z] Sending build context to Docker daemon 611.8kB [2020-04-21T18:03:54.756Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T18:03:54.756Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T18:03:54.756Z] ---> c864f9b11056 [2020-04-21T18:03:54.756Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T18:03:54.845Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T18:03:54.845Z] cde5963f3b93: Pulling fs layer [2020-04-21T18:03:54.845Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T18:03:54.845Z] 777b28850792: Pulling fs layer [2020-04-21T18:03:54.845Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T18:03:54.845Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T18:03:54.845Z] 1df406cf5192: Pulling fs layer [2020-04-21T18:03:54.845Z] cd6300453558: Pulling fs layer [2020-04-21T18:03:54.845Z] b9c365052c96: Pulling fs layer [2020-04-21T18:03:54.845Z] 8a11ddd9e578: Waiting [2020-04-21T18:03:54.845Z] 4cf88f913ddb: Waiting [2020-04-21T18:03:54.845Z] 1df406cf5192: Waiting [2020-04-21T18:03:54.845Z] cd6300453558: Waiting [2020-04-21T18:03:54.845Z] a2d8cc88f415: Pulling fs layer [2020-04-21T18:03:54.845Z] ea1d1ca13537: Pulling fs layer [2020-04-21T18:03:54.845Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T18:03:54.845Z] b9c365052c96: Waiting [2020-04-21T18:03:54.845Z] a2d8cc88f415: Waiting [2020-04-21T18:03:54.845Z] ea1d1ca13537: Waiting [2020-04-21T18:03:54.845Z] 3750a50a1c5e: Waiting [2020-04-21T18:03:54.845Z] 777b28850792: Verifying Checksum [2020-04-21T18:03:54.845Z] 777b28850792: Download complete [2020-04-21T18:03:54.845Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T18:03:54.845Z] 2a23fa8c16f7: Download complete [2020-04-21T18:03:54.845Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T18:03:54.845Z] 4cf88f913ddb: Download complete [2020-04-21T18:03:54.845Z] 1df406cf5192: Verifying Checksum [2020-04-21T18:03:54.845Z] 1df406cf5192: Download complete [2020-04-21T18:03:55.018Z] ---> Running in b1b48ae246a6 [2020-04-21T18:03:55.018Z] Removing intermediate container b1b48ae246a6 [2020-04-21T18:03:55.018Z] ---> b0e0775ff3e4 [2020-04-21T18:03:55.018Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T18:03:55.018Z] ---> Running in 33c960007ccf [2020-04-21T18:03:55.117Z] cde5963f3b93: Download complete [2020-04-21T18:03:55.704Z] cde5963f3b93: Pull complete [2020-04-21T18:03:55.955Z] Removing intermediate container 33c960007ccf [2020-04-21T18:03:55.955Z] ---> a95c4c1c5636 [2020-04-21T18:03:55.955Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T18:03:55.955Z] ---> Running in 5b26da260cf1 [2020-04-21T18:03:56.214Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T18:03:56.299Z] 2a23fa8c16f7: Pull complete [2020-04-21T18:03:56.567Z] 777b28850792: Pull complete [2020-04-21T18:03:57.594Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T18:03:57.853Z] OK: 214 MiB in 52 packages [2020-04-21T18:03:58.432Z] Removing intermediate container 5b26da260cf1 [2020-04-21T18:03:58.432Z] ---> 3fb62f6a78ff [2020-04-21T18:03:58.432Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T18:03:58.432Z] ---> Running in e306ac21c672 [2020-04-21T18:03:58.432Z] Removing intermediate container e306ac21c672 [2020-04-21T18:03:58.432Z] ---> 3a41412d5af8 [2020-04-21T18:03:58.432Z] Step 7/19 : COPY . . [2020-04-21T18:03:58.692Z] ---> 200fc43c1bf5 [2020-04-21T18:03:58.692Z] Step 8/19 : RUN ${MAKE} [2020-04-21T18:03:58.692Z] ---> Running in e28f08b5144f [2020-04-21T18:03:59.185Z] cd6300453558: Verifying Checksum [2020-04-21T18:03:59.185Z] cd6300453558: Download complete [2020-04-21T18:03:59.185Z] a2d8cc88f415: Download complete [2020-04-21T18:03:59.264Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T18:04:01.776Z] ea1d1ca13537: Verifying Checksum [2020-04-21T18:04:01.776Z] ea1d1ca13537: Download complete [2020-04-21T18:04:01.776Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T18:04:01.776Z] 3750a50a1c5e: Download complete [2020-04-21T18:04:04.370Z] b9c365052c96: Verifying Checksum [2020-04-21T18:04:04.370Z] b9c365052c96: Download complete [2020-04-21T18:04:06.319Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T18:04:06.319Z] 8a11ddd9e578: Download complete [2020-04-21T18:04:07.423Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T18:04:09.963Z] Removing intermediate container e28f08b5144f [2020-04-21T18:04:09.963Z] ---> 4829d160afc8 [2020-04-21T18:04:09.963Z] Step 9/19 : FROM scratch [2020-04-21T18:04:09.963Z] ---> [2020-04-21T18:04:09.963Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T18:04:09.963Z] ---> Running in ad5cd3b99f81 [2020-04-21T18:04:09.963Z] Removing intermediate container ad5cd3b99f81 [2020-04-21T18:04:09.963Z] ---> be5c76178b55 [2020-04-21T18:04:09.963Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T18:04:09.963Z] ---> Running in 0efb3481462c [2020-04-21T18:04:09.963Z] Removing intermediate container 0efb3481462c [2020-04-21T18:04:09.963Z] ---> 752f8833d094 [2020-04-21T18:04:09.963Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T18:04:10.222Z] ---> c905890bfd47 [2020-04-21T18:04:10.222Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T18:04:10.481Z] ---> 42dd28512f82 [2020-04-21T18:04:10.481Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T18:04:10.740Z] ---> df214dd19b58 [2020-04-21T18:04:10.740Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T18:04:10.740Z] ---> Running in 645ea0a65925 [2020-04-21T18:04:10.740Z] Removing intermediate container 645ea0a65925 [2020-04-21T18:04:10.740Z] ---> d41bc0cf1997 [2020-04-21T18:04:10.740Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T18:04:10.999Z] ---> Running in 8d2c9ad26d8f [2020-04-21T18:04:10.999Z] Removing intermediate container 8d2c9ad26d8f [2020-04-21T18:04:10.999Z] ---> 3884003e6f5b [2020-04-21T18:04:10.999Z] Step 17/19 : LABEL arch=amd64 [2020-04-21T18:04:10.999Z] ---> Running in 4985701d7a49 [2020-04-21T18:04:11.258Z] Removing intermediate container 4985701d7a49 [2020-04-21T18:04:11.258Z] ---> bda6dedfa5f0 [2020-04-21T18:04:11.258Z] Step 18/19 : LABEL git_sha=9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:04:11.258Z] ---> Running in 3bad302d2234 [2020-04-21T18:04:11.517Z] Removing intermediate container 3bad302d2234 [2020-04-21T18:04:11.517Z] ---> cea0d6a392dd [2020-04-21T18:04:11.517Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T18:04:11.517Z] ---> Running in 6aad6b7d019c [2020-04-21T18:04:11.517Z] Removing intermediate container 6aad6b7d019c [2020-04-21T18:04:11.517Z] ---> 83cd3649aca2 [2020-04-21T18:04:11.517Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T18:04:11.517Z] Successfully built 83cd3649aca2 [2020-04-21T18:04:11.517Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T18:04:12.366Z] ++ find /w/workspace/device-modbus-go/9 [2020-04-21T18:04:12.366Z] ++ grep snapcraft.yaml [2020-04-21T18:04:12.366Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/9/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T18:04:12.459Z] provisioning config files... [2020-04-21T18:04:12.473Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/9@tmp/config6771477813014289074tmp [Pipeline] { [Pipeline] sh [2020-04-21T18:04:12.894Z] + cp /w/workspace/device-modbus-go/9@tmp/config6771477813014289074tmp /w/workspace/device-modbus-go/9/edgex-snap-store-login [Pipeline] sh [2020-04-21T18:04:13.191Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/9:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T18:04:13.191Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-21T18:04:13.191Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-21T18:04:13.191Z] 5bed26d33875: Pulling fs layer [2020-04-21T18:04:13.191Z] f11b29a9c730: Pulling fs layer [2020-04-21T18:04:13.191Z] 930bda195c84: Pulling fs layer [2020-04-21T18:04:13.191Z] 78bf9a5ad49e: Pulling fs layer [2020-04-21T18:04:13.191Z] e5fbee5a4b0d: Pulling fs layer [2020-04-21T18:04:13.191Z] f452fca78f88: Pulling fs layer [2020-04-21T18:04:13.191Z] 7417ef92027a: Pulling fs layer [2020-04-21T18:04:13.191Z] 2af5c49d270b: Pulling fs layer [2020-04-21T18:04:13.191Z] df9c3bdbc40a: Pulling fs layer [2020-04-21T18:04:13.191Z] f452fca78f88: Waiting [2020-04-21T18:04:13.191Z] 7417ef92027a: Waiting [2020-04-21T18:04:13.191Z] 2af5c49d270b: Waiting [2020-04-21T18:04:13.191Z] df9c3bdbc40a: Waiting [2020-04-21T18:04:13.191Z] 78bf9a5ad49e: Waiting [2020-04-21T18:04:13.191Z] e5fbee5a4b0d: Waiting [2020-04-21T18:04:13.191Z] 930bda195c84: Verifying Checksum [2020-04-21T18:04:13.191Z] 930bda195c84: Download complete [2020-04-21T18:04:13.191Z] f11b29a9c730: Download complete [2020-04-21T18:04:13.191Z] 78bf9a5ad49e: Download complete [2020-04-21T18:04:13.191Z] f452fca78f88: Verifying Checksum [2020-04-21T18:04:13.191Z] f452fca78f88: Download complete [2020-04-21T18:04:13.191Z] 7417ef92027a: Verifying Checksum [2020-04-21T18:04:13.191Z] 7417ef92027a: Download complete [2020-04-21T18:04:13.191Z] 2af5c49d270b: Verifying Checksum [2020-04-21T18:04:13.191Z] 2af5c49d270b: Download complete [2020-04-21T18:04:13.191Z] df9c3bdbc40a: Verifying Checksum [2020-04-21T18:04:13.191Z] df9c3bdbc40a: Download complete [2020-04-21T18:04:13.768Z] 5bed26d33875: Verifying Checksum [2020-04-21T18:04:13.768Z] 5bed26d33875: Download complete [2020-04-21T18:04:17.977Z] e5fbee5a4b0d: Download complete [2020-04-21T18:04:18.545Z] 5bed26d33875: Pull complete [2020-04-21T18:04:18.698Z] 8a11ddd9e578: Pull complete [2020-04-21T18:04:18.698Z] 4cf88f913ddb: Pull complete [2020-04-21T18:04:18.698Z] 1df406cf5192: Pull complete [2020-04-21T18:04:18.809Z] f11b29a9c730: Pull complete [2020-04-21T18:04:18.809Z] 930bda195c84: Pull complete [2020-04-21T18:04:18.810Z] 78bf9a5ad49e: Pull complete [2020-04-21T18:04:22.976Z] cd6300453558: Pull complete [2020-04-21T18:04:27.243Z] b9c365052c96: Pull complete [2020-04-21T18:04:27.243Z] a2d8cc88f415: Pull complete [2020-04-21T18:04:29.197Z] ea1d1ca13537: Pull complete [2020-04-21T18:04:29.467Z] 3750a50a1c5e: Pull complete [2020-04-21T18:04:29.467Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T18:04:29.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T18:04:29.467Z] ---> 78745c68409d [2020-04-21T18:04:29.467Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T18:04:34.817Z] ---> Running in c30ca6e9f67e [2020-04-21T18:04:34.817Z] Removing intermediate container c30ca6e9f67e [2020-04-21T18:04:34.817Z] ---> 929cda15169c [2020-04-21T18:04:34.817Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T18:04:34.817Z] ---> Running in f398c24ffad3 [2020-04-21T18:04:36.255Z] Removing intermediate container f398c24ffad3 [2020-04-21T18:04:36.255Z] ---> 652defbdec7d [2020-04-21T18:04:36.255Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T18:04:36.255Z] ---> Running in 22605d5bb4f2 [2020-04-21T18:04:37.223Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T18:04:38.185Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T18:04:38.768Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:04:38.768Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:04:38.768Z] (3/18) Installing libmagic (5.37-r1) [2020-04-21T18:04:39.037Z] (4/18) Installing file (5.37-r1) [2020-04-21T18:04:39.303Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:04:39.303Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:04:39.303Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T18:04:42.649Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-21T18:04:42.649Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-21T18:04:44.592Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-21T18:04:44.592Z] (11/18) Installing build-base (0.5-r1) [2020-04-21T18:04:44.592Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T18:04:44.592Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-21T18:04:44.592Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-21T18:04:44.858Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T18:04:44.858Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T18:04:45.123Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-21T18:04:45.123Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-21T18:04:45.382Z] e5fbee5a4b0d: Pull complete [2020-04-21T18:04:45.382Z] f452fca78f88: Pull complete [2020-04-21T18:04:45.382Z] 7417ef92027a: Pull complete [2020-04-21T18:04:45.382Z] 2af5c49d270b: Pull complete [2020-04-21T18:04:45.382Z] df9c3bdbc40a: Pull complete [2020-04-21T18:04:45.382Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-04-21T18:04:45.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T18:04:45.382Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-04-21T18:04:45.382Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-04-21T18:04:45.382Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-04-21T18:04:45.382Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] [2020-04-21T18:04:45.382Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] [2020-04-21T18:04:45.382Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-04-21T18:04:45.382Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] [2020-04-21T18:04:45.382Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] [2020-04-21T18:04:45.382Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] [2020-04-21T18:04:45.382Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-04-21T18:04:45.382Z] Fetched 4553 kB in 1s (3168 kB/s) [2020-04-21T18:04:45.390Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T18:04:45.390Z] OK: 203 MiB in 52 packages [2020-04-21T18:04:45.951Z] Reading package lists... [2020-04-21T18:04:50.150Z] Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T18:04:51.089Z] Reading package lists... [2020-04-21T18:04:51.348Z] Building dependency tree... [2020-04-21T18:04:51.348Z] Reading state information... [2020-04-21T18:04:51.606Z] The following packages were automatically installed and are no longer required: [2020-04-21T18:04:51.606Z] libjq1 liblzo2-2 libonig4 [2020-04-21T18:04:51.606Z] Use 'sudo apt autoremove' to remove them. [2020-04-21T18:04:51.606Z] Suggested packages: [2020-04-21T18:04:51.606Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-21T18:04:51.606Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-21T18:04:51.606Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-21T18:04:51.606Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-21T18:04:51.606Z] The following NEW packages will be installed: [2020-04-21T18:04:51.606Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-21T18:04:51.606Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-21T18:04:51.606Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-21T18:04:51.606Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T18:04:51.865Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-21T18:04:51.865Z] Need to get 14.7 MB of archives. [2020-04-21T18:04:51.865Z] After this operation, 89.5 MB of additional disk space will be used. [2020-04-21T18:04:51.865Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-04-21T18:04:51.865Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-04-21T18:04:52.076Z] Removing intermediate container 22605d5bb4f2 [2020-04-21T18:04:52.076Z] ---> a310f4238d70 [2020-04-21T18:04:52.076Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T18:04:52.076Z] ---> Running in 35223d56a4e6 [2020-04-21T18:04:52.123Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-04-21T18:04:52.123Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-04-21T18:04:52.123Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-21T18:04:52.346Z] Removing intermediate container 35223d56a4e6 [2020-04-21T18:04:52.346Z] ---> 6d7cffc62d83 [2020-04-21T18:04:52.346Z] Step 7/8 : COPY . . [2020-04-21T18:04:52.381Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-04-21T18:04:52.381Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-04-21T18:04:52.381Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-21T18:04:52.643Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-04-21T18:04:52.643Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-04-21T18:04:52.643Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-04-21T18:04:52.643Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-21T18:04:52.643Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-04-21T18:04:52.643Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-04-21T18:04:52.643Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-04-21T18:04:52.643Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-04-21T18:04:52.643Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-04-21T18:04:52.643Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-04-21T18:04:52.643Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-04-21T18:04:52.903Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-04-21T18:04:52.903Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-04-21T18:04:52.903Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-04-21T18:04:52.903Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-21T18:04:52.903Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-04-21T18:04:52.903Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-04-21T18:04:52.903Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-04-21T18:04:52.903Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-04-21T18:04:53.312Z] ---> b28a698907f0 [2020-04-21T18:04:53.312Z] Step 8/8 : RUN go mod download [2020-04-21T18:04:53.312Z] ---> Running in 8fb4bd7524a1 [2020-04-21T18:04:53.473Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-21T18:04:53.473Z] Fetched 14.7 MB in 1s (10.7 MB/s) [2020-04-21T18:04:53.473Z] Selecting previously unselected package libxau6:amd64. [2020-04-21T18:04:53.473Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4637 files and directories currently installed.) [2020-04-21T18:04:53.473Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-04-21T18:04:53.734Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-04-21T18:04:53.734Z] Selecting previously unselected package libbsd0:amd64. [2020-04-21T18:04:53.734Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-04-21T18:04:53.734Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-21T18:04:53.734Z] Selecting previously unselected package libxdmcp6:amd64. [2020-04-21T18:04:53.734Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-04-21T18:04:53.734Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-21T18:04:53.734Z] Selecting previously unselected package libxcb1:amd64. [2020-04-21T18:04:53.734Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-04-21T18:04:53.734Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-21T18:04:53.993Z] Selecting previously unselected package libx11-data. [2020-04-21T18:04:53.993Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-21T18:04:53.993Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:04:54.560Z] Selecting previously unselected package libx11-6:amd64. [2020-04-21T18:04:54.560Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-04-21T18:04:54.560Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:04:54.560Z] Selecting previously unselected package libxext6:amd64. [2020-04-21T18:04:54.560Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-04-21T18:04:54.560Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-04-21T18:04:54.819Z] Selecting previously unselected package perl-modules-5.26. [2020-04-21T18:04:54.819Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-21T18:04:54.819Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:04:55.262Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:04:55.262Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:04:55.262Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T18:04:55.262Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:04:55.262Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T18:04:55.262Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T18:04:55.262Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:04:55.262Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:04:55.262Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:04:55.262Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T18:04:55.262Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:04:55.262Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T18:04:55.262Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:04:55.262Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T18:04:55.262Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T18:04:55.262Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T18:04:55.262Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T18:04:55.262Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T18:04:55.262Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T18:04:55.530Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T18:04:55.530Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T18:04:55.530Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T18:04:55.530Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T18:04:55.530Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T18:04:55.530Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:04:55.530Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:04:55.530Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:04:55.798Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:04:55.798Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T18:04:55.798Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:04:55.798Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T18:04:55.798Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T18:04:55.798Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T18:04:55.798Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T18:04:55.798Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T18:04:55.798Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T18:04:55.798Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T18:04:55.798Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T18:04:55.798Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T18:04:55.798Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T18:04:55.798Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T18:04:55.798Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T18:04:55.798Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T18:04:55.798Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T18:04:55.798Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:04:57.363Z] Selecting previously unselected package libgdbm5:amd64. [2020-04-21T18:04:57.363Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-04-21T18:04:57.363Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-04-21T18:04:57.363Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-04-21T18:04:57.363Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-04-21T18:04:57.363Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-21T18:04:57.363Z] Selecting previously unselected package libperl5.26:amd64. [2020-04-21T18:04:57.363Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-21T18:04:57.363Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:04:58.742Z] Selecting previously unselected package perl. [2020-04-21T18:04:58.742Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-04-21T18:04:58.742Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-21T18:04:58.742Z] Selecting previously unselected package less. [2020-04-21T18:04:58.742Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-04-21T18:04:58.742Z] Unpacking less (487-0.1) ... [2020-04-21T18:04:58.742Z] Selecting previously unselected package libexpat1:amd64. [2020-04-21T18:04:58.742Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-04-21T18:04:59.001Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-21T18:04:59.001Z] Selecting previously unselected package netbase. [2020-04-21T18:04:59.001Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-21T18:04:59.001Z] Unpacking netbase (5.4) ... [2020-04-21T18:04:59.259Z] Selecting previously unselected package libedit2:amd64. [2020-04-21T18:04:59.259Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-04-21T18:04:59.259Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-04-21T18:04:59.518Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-04-21T18:04:59.518Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-04-21T18:04:59.518Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T18:04:59.778Z] Selecting previously unselected package libxmuu1:amd64. [2020-04-21T18:04:59.778Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-04-21T18:04:59.778Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-21T18:04:59.778Z] Selecting previously unselected package openssh-client. [2020-04-21T18:04:59.778Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-04-21T18:04:59.778Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T18:05:00.044Z] Selecting previously unselected package xauth. [2020-04-21T18:05:00.044Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-04-21T18:05:00.044Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-21T18:05:00.044Z] Selecting previously unselected package curl. [2020-04-21T18:05:00.044Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-21T18:05:00.044Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-21T18:05:00.044Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-04-21T18:05:00.044Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-04-21T18:05:00.044Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-21T18:05:00.308Z] Selecting previously unselected package liberror-perl. [2020-04-21T18:05:00.308Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-21T18:05:00.308Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-21T18:05:00.308Z] Selecting previously unselected package git-man. [2020-04-21T18:05:00.308Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-21T18:05:00.308Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:05:00.308Z] Selecting previously unselected package git. [2020-04-21T18:05:00.308Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-04-21T18:05:00.308Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:05:02.847Z] Selecting previously unselected package make. [2020-04-21T18:05:02.847Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-04-21T18:05:02.847Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-21T18:05:03.105Z] Selecting previously unselected package patch. [2020-04-21T18:05:03.105Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-04-21T18:05:03.105Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-21T18:05:03.363Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-04-21T18:05:03.363Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:05:03.363Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-04-21T18:05:03.363Z] Setting up less (487-0.1) ... [2020-04-21T18:05:03.621Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-21T18:05:03.621Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T18:05:03.621Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-21T18:05:03.621Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-04-21T18:05:03.621Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:05:03.621Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-04-21T18:05:03.621Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-04-21T18:05:03.880Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-21T18:05:03.880Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-04-21T18:05:03.880Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-04-21T18:05:03.880Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T18:05:03.880Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:05:04.139Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-04-21T18:05:04.139Z] Setting up netbase (5.4) ... [2020-04-21T18:05:04.139Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:05:04.139Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-04-21T18:05:04.139Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:05:04.139Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-04-21T18:05:04.139Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-21T18:05:04.139Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-04-21T18:05:04.400Z] Setting up liberror-perl (0.17025-1) ... [2020-04-21T18:05:04.400Z] Setting up xauth (1:1.0.10-1) ... [2020-04-21T18:05:04.400Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:05:04.400Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-21T18:05:05.885Z] Removing intermediate container 8fb4bd7524a1 [2020-04-21T18:05:05.885Z] ---> f5cce22b2b28 [2020-04-21T18:05:05.885Z] Successfully built f5cce22b2b28 [2020-04-21T18:05:05.885Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:05:06.560Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T18:05:06.560Z] . [Pipeline] withDockerContainer [2020-04-21T18:05:06.932Z] curl set to automatically installed. [2020-04-21T18:05:06.933Z] git set to automatically installed. [2020-04-21T18:05:06.933Z] git-man set to automatically installed. [2020-04-21T18:05:06.933Z] less set to automatically installed. [2020-04-21T18:05:06.933Z] libbsd0 set to automatically installed. [2020-04-21T18:05:06.933Z] libcurl3-gnutls set to automatically installed. [2020-04-21T18:05:06.933Z] libedit2 set to automatically installed. [2020-04-21T18:05:06.933Z] liberror-perl set to automatically installed. [2020-04-21T18:05:06.933Z] libexpat1 set to automatically installed. [2020-04-21T18:05:06.933Z] libgdbm-compat4 set to automatically installed. [2020-04-21T18:05:06.933Z] libgdbm5 set to automatically installed. [2020-04-21T18:05:06.933Z] libperl5.26 set to automatically installed. [2020-04-21T18:05:06.933Z] libssl1.0.0 set to automatically installed. [2020-04-21T18:05:06.933Z] libx11-6 set to automatically installed. [2020-04-21T18:05:06.933Z] libx11-data set to automatically installed. [2020-04-21T18:05:06.933Z] libxau6 set to automatically installed. [2020-04-21T18:05:06.933Z] libxcb1 set to automatically installed. [2020-04-21T18:05:06.933Z] libxdmcp6 set to automatically installed. [2020-04-21T18:05:06.933Z] libxext6 set to automatically installed. [2020-04-21T18:05:06.933Z] libxmuu1 set to automatically installed. [2020-04-21T18:05:06.933Z] make set to automatically installed. [2020-04-21T18:05:06.933Z] netbase set to automatically installed. [2020-04-21T18:05:06.933Z] openssh-client set to automatically installed. [2020-04-21T18:05:06.933Z] patch set to automatically installed. [2020-04-21T18:05:06.933Z] perl set to automatically installed. [2020-04-21T18:05:06.933Z] perl-modules-5.26 set to automatically installed. [2020-04-21T18:05:06.933Z] xauth set to automatically installed. [2020-04-21T18:05:06.933Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-21T18:05:06.933Z] Please ensure the environment is properly setup before continuing. [2020-04-21T18:05:06.933Z] Ignore this message if the appropriate measures have already been taken [2020-04-21T18:05:07.170Z] prd-ubuntu18.04-docker-arm64-4c-16g-5334 does not seem to be running inside a container [2020-04-21T18:05:07.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/9 -v /w/workspace/device-modbus-go/9:/w/workspace/device-modbus-go/9:rw,z -v /w/workspace/device-modbus-go/9@tmp:/w/workspace/device-modbus-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T18:05:07.868Z] Pulling go [2020-04-21T18:05:08.434Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-21T18:05:08.434Z] Skipping pull go (already ran) [2020-04-21T18:05:08.434Z] Building go [2020-04-21T18:05:08.667Z] $ docker top bb502201eabf945d747cab5eec4beea6657977c199335c8980f451230142ba08 -eo pid,comm [2020-04-21T18:05:08.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-21T18:05:08.693Z] Dload Upload Total Spent Left Speed [Pipeline] { [Pipeline] sh [2020-04-21T18:05:09.709Z] + go version [2020-04-21T18:05:09.709Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T18:05:09.832Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 45 114M 45 52.3M 0 0 95.1M 0 0:00:01 --:--:-- 0:00:01 94.9M 100 114M 100 114M 0 0 102M 0 0:00:01 0:00:01 --:--:-- 102M [2020-04-21T18:05:10.373Z] + make test [2020-04-21T18:05:10.373Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T18:05:10.400Z] go1.13.5.linux-amd64.tar.gz: OK [2020-04-21T18:05:11.820Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T18:05:20.416Z] Staging go [2020-04-21T18:05:20.416Z] Pulling device-modbus [2020-04-21T18:05:20.988Z] Skipping build go (already ran) [2020-04-21T18:05:20.988Z] Building device-modbus [2020-04-21T18:05:20.988Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T18:05:21.927Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:05:21.927Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:05:21.927Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-21T18:05:22.186Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:05:22.186Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-21T18:05:22.186Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-21T18:05:22.186Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:05:22.186Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:05:22.186Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-21T18:05:22.186Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-21T18:05:22.186Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-21T18:05:22.186Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:05:22.186Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:05:22.186Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:05:22.186Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:05:22.186Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:05:22.186Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:05:22.186Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-21T18:05:22.186Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:05:22.186Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:05:22.186Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:05:22.186Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:05:22.186Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:05:22.186Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:05:22.186Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:05:22.186Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:05:22.186Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:05:22.186Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-21T18:05:22.447Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:05:22.447Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:05:22.447Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:05:22.447Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:05:22.447Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:05:22.447Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:05:22.448Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:05:22.448Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:05:22.448Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-21T18:05:22.448Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:05:22.448Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:05:22.448Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:05:22.448Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:05:22.448Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:05:22.448Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:05:22.448Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:05:22.448Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:05:22.448Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-21T18:05:22.448Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:05:22.448Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:05:22.448Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:05:22.448Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:05:22.448Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:05:22.448Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:05:22.448Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:05:22.448Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:05:22.448Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T18:05:22.448Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T18:05:22.448Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:05:22.448Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T18:05:22.706Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:05:22.706Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T18:05:22.706Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T18:05:22.706Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:05:22.706Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T18:05:22.706Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:05:22.706Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:05:22.706Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:05:22.706Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:05:22.706Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T18:05:22.706Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:05:22.706Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:05:22.706Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:05:22.706Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T18:05:22.706Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:05:22.706Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:05:22.706Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:05:22.706Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:05:22.706Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:05:22.706Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:05:32.761Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T18:05:36.951Z] Skipping stage go (already ran) [2020-04-21T18:05:36.951Z] Staging device-modbus [2020-04-21T18:05:37.525Z] Priming go [2020-04-21T18:05:38.460Z] Priming device-modbus [2020-04-21T18:05:39.399Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-21T18:05:39.399Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-21T18:05:39.399Z] Determining the version from the project repo (version-script). [2020-04-21T18:05:39.399Z] The version has been set to '0.0.0-20200421+9b724a9' [2020-04-21T18:05:39.399Z] Snapping 'edgex-device-modbus' ... [2020-04-21T18:05:40.358Z] [2020-04-21T18:05:40.358Z] Snapped edgex-device-modbus_0.0.0-20200421+9b724a9_amd64.snap [Pipeline] } [2020-04-21T18:05:41.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T18:05:44.171Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T18:05:44.171Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements [2020-04-21T18:05:44.171Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T18:05:46.757Z] gofmt -l . [2020-04-21T18:05:46.757Z] [ "`gofmt -l .`" = "" ] [2020-04-21T18:05:47.024Z] ./bin/test-attribution-txt.sh [2020-04-21T18:05:47.609Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T18:05:48.249Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T18:05:48.658Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T18:05:48.673Z] $ docker stop --time=1 bb502201eabf945d747cab5eec4beea6657977c199335c8980f451230142ba08 [2020-04-21T18:05:51.082Z] $ docker rm -f bb502201eabf945d747cab5eec4beea6657977c199335c8980f451230142ba08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T18:05:52.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T18:05:52.812Z] + ls -al . [2020-04-21T18:05:52.812Z] total 136 [2020-04-21T18:05:52.812Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 18:05 . [2020-04-21T18:05:52.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 18:03 .. [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 18:03 .dockerignore [2020-04-21T18:05:52.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 18:03 .git [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 18:03 .gitignore [2020-04-21T18:05:52.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 18:03 .semver [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 18:03 Attribution.txt [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 18:03 Dockerfile [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 18:03 Dockerfile.build [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 18:03 Jenkinsfile [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 18:03 LICENSE [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 18:03 Makefile [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 18:03 README.md [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 18:00 VERSION [2020-04-21T18:05:52.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 18:03 bin [2020-04-21T18:05:52.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 18:03 cmd [2020-04-21T18:05:52.812Z] -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 18:05 coverage.out [2020-04-21T18:05:52.812Z] -rw-r--r-- 1 jenkins jenkins 566 Apr 21 18:05 go.mod [2020-04-21T18:05:52.812Z] -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 18:05 go.sum [2020-04-21T18:05:52.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 18:03 internal [2020-04-21T18:05:52.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 18:03 simulator [2020-04-21T18:05:52.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 18:03 snap [2020-04-21T18:05:52.812Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 18:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:05:53.151Z] + 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=9b724a95ad1ea83924f356e73a6a8126edcbd1e5 --label arch=arm64 --label version=0.0.0 . [2020-04-21T18:05:53.419Z] Sending build context to Docker daemon 611.8kB [2020-04-21T18:05:53.686Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T18:05:53.686Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T18:05:53.686Z] ---> f5cce22b2b28 [2020-04-21T18:05:53.686Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T18:05:53.953Z] ---> Running in 2703aa5cad9d [2020-04-21T18:05:54.220Z] Removing intermediate container 2703aa5cad9d [2020-04-21T18:05:54.220Z] ---> 20faf2c7b019 [2020-04-21T18:05:54.220Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T18:05:54.489Z] ---> Running in d5d7ef0e48a1 [2020-04-21T18:05:57.072Z] Removing intermediate container d5d7ef0e48a1 [2020-04-21T18:05:57.072Z] ---> 8086669df287 [2020-04-21T18:05:57.072Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T18:05:57.072Z] ---> Running in 5ee59226c131 [2020-04-21T18:05:57.655Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T18:05:58.238Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T18:05:58.827Z] OK: 203 MiB in 52 packages [2020-04-21T18:06:00.237Z] Removing intermediate container 5ee59226c131 [2020-04-21T18:06:00.237Z] ---> d6cb136d5d79 [2020-04-21T18:06:00.237Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T18:06:00.237Z] ---> Running in 3ea605f058ab [2020-04-21T18:06:00.505Z] Removing intermediate container 3ea605f058ab [2020-04-21T18:06:00.505Z] ---> a577b9f63acb [2020-04-21T18:06:00.505Z] Step 7/19 : COPY . . [2020-04-21T18:06:01.468Z] ---> 2480f37fd540 [2020-04-21T18:06:01.468Z] Step 8/19 : RUN ${MAKE} [2020-04-21T18:06:01.468Z] ---> Running in 3db6ce89cf04 [2020-04-21T18:06:02.435Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T18:06:29.158Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T18:06:35.807Z] Removing intermediate container 3db6ce89cf04 [2020-04-21T18:06:35.807Z] ---> 2719dfd28ff4 [2020-04-21T18:06:35.807Z] Step 9/19 : FROM scratch [2020-04-21T18:06:35.807Z] ---> [2020-04-21T18:06:35.807Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T18:06:35.807Z] ---> Running in e4b72dc284c4 [2020-04-21T18:06:35.807Z] Removing intermediate container e4b72dc284c4 [2020-04-21T18:06:35.807Z] ---> 9dd23a900de8 [2020-04-21T18:06:35.807Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T18:06:35.807Z] ---> Running in 58ba77f59d4a [2020-04-21T18:06:35.807Z] Removing intermediate container 58ba77f59d4a [2020-04-21T18:06:35.807Z] ---> 8423cabb7b20 [2020-04-21T18:06:35.807Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T18:06:36.394Z] ---> 0de80bacb8bf [2020-04-21T18:06:36.394Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T18:06:37.355Z] ---> 59cd21246da2 [2020-04-21T18:06:37.356Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T18:06:37.941Z] ---> bd0b02870519 [2020-04-21T18:06:37.941Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T18:06:37.941Z] ---> Running in 24c36dde1bd0 [2020-04-21T18:06:38.525Z] Removing intermediate container 24c36dde1bd0 [2020-04-21T18:06:38.525Z] ---> 21b9446cba75 [2020-04-21T18:06:38.525Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T18:06:38.525Z] ---> Running in f9ac70421f79 [2020-04-21T18:06:38.791Z] Removing intermediate container f9ac70421f79 [2020-04-21T18:06:38.791Z] ---> d30a99a8afda [2020-04-21T18:06:38.791Z] Step 17/19 : LABEL arch=arm64 [2020-04-21T18:06:39.056Z] ---> Running in 02104a19c0b5 [2020-04-21T18:06:39.322Z] Removing intermediate container 02104a19c0b5 [2020-04-21T18:06:39.322Z] ---> 0ec55dcc5fb3 [2020-04-21T18:06:39.322Z] Step 18/19 : LABEL git_sha=9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [2020-04-21T18:06:39.322Z] ---> Running in b6680bbd9486 [2020-04-21T18:06:39.593Z] Removing intermediate container b6680bbd9486 [2020-04-21T18:06:39.593Z] ---> be4ea63b1bf9 [2020-04-21T18:06:39.593Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T18:06:39.864Z] ---> Running in 46eae2cd3d84 [2020-04-21T18:06:40.164Z] Removing intermediate container 46eae2cd3d84 [2020-04-21T18:06:40.164Z] ---> 134e9f7d64e7 [2020-04-21T18:06:40.164Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T18:06:40.164Z] Successfully built 134e9f7d64e7 [2020-04-21T18:06:40.164Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T18:06:41.031Z] + grep snapcraft.yaml [2020-04-21T18:06:41.032Z] + find /w/workspace/device-modbus-go/9 [2020-04-21T18:06:41.032Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/9/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T18:06:41.379Z] provisioning config files... [2020-04-21T18:06:41.478Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/9@tmp/config3604168524375930020tmp [Pipeline] { [Pipeline] sh [2020-04-21T18:06:42.002Z] + cp /w/workspace/device-modbus-go/9@tmp/config3604168524375930020tmp /w/workspace/device-modbus-go/9/edgex-snap-store-login [Pipeline] sh [2020-04-21T18:06:42.336Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/9:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T18:06:42.609Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-21T18:06:42.609Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-21T18:06:42.609Z] b2f61026a351: Pulling fs layer [2020-04-21T18:06:42.609Z] 5538fb30c42c: Pulling fs layer [2020-04-21T18:06:42.609Z] f0b05810781a: Pulling fs layer [2020-04-21T18:06:42.609Z] 0180a33352d6: Pulling fs layer [2020-04-21T18:06:42.609Z] e7604b0c0f53: Pulling fs layer [2020-04-21T18:06:42.609Z] db689cb83ae0: Pulling fs layer [2020-04-21T18:06:42.609Z] 6138af208834: Pulling fs layer [2020-04-21T18:06:42.609Z] 007c8e8c5d63: Pulling fs layer [2020-04-21T18:06:42.609Z] 4f7a387c642f: Pulling fs layer [2020-04-21T18:06:42.609Z] db689cb83ae0: Waiting [2020-04-21T18:06:42.609Z] 6138af208834: Waiting [2020-04-21T18:06:42.609Z] 007c8e8c5d63: Waiting [2020-04-21T18:06:42.609Z] 4f7a387c642f: Waiting [2020-04-21T18:06:42.609Z] e7604b0c0f53: Waiting [2020-04-21T18:06:42.609Z] 0180a33352d6: Waiting [2020-04-21T18:06:42.609Z] 5538fb30c42c: Verifying Checksum [2020-04-21T18:06:42.609Z] f0b05810781a: Verifying Checksum [2020-04-21T18:06:42.609Z] f0b05810781a: Download complete [2020-04-21T18:06:42.609Z] 5538fb30c42c: Download complete [2020-04-21T18:06:42.882Z] 0180a33352d6: Verifying Checksum [2020-04-21T18:06:42.882Z] 0180a33352d6: Download complete [2020-04-21T18:06:42.882Z] db689cb83ae0: Verifying Checksum [2020-04-21T18:06:42.882Z] db689cb83ae0: Download complete [2020-04-21T18:06:42.882Z] 6138af208834: Verifying Checksum [2020-04-21T18:06:42.882Z] 6138af208834: Download complete [2020-04-21T18:06:42.882Z] 007c8e8c5d63: Verifying Checksum [2020-04-21T18:06:42.882Z] 007c8e8c5d63: Download complete [2020-04-21T18:06:42.882Z] 4f7a387c642f: Download complete [2020-04-21T18:06:44.871Z] b2f61026a351: Verifying Checksum [2020-04-21T18:06:44.871Z] b2f61026a351: Download complete [2020-04-21T18:06:48.275Z] b2f61026a351: Pull complete [2020-04-21T18:06:48.275Z] 5538fb30c42c: Pull complete [2020-04-21T18:06:48.553Z] f0b05810781a: Pull complete [2020-04-21T18:06:48.825Z] 0180a33352d6: Pull complete [2020-04-21T18:07:11.015Z] e7604b0c0f53: Verifying Checksum [2020-04-21T18:07:11.015Z] e7604b0c0f53: Download complete [2020-04-21T18:07:37.731Z] e7604b0c0f53: Pull complete [2020-04-21T18:07:37.731Z] db689cb83ae0: Pull complete [2020-04-21T18:07:37.731Z] 6138af208834: Pull complete [2020-04-21T18:07:37.999Z] 007c8e8c5d63: Pull complete [2020-04-21T18:07:38.266Z] 4f7a387c642f: Pull complete [2020-04-21T18:07:38.266Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-04-21T18:07:38.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T18:07:44.928Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-04-21T18:07:44.928Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-04-21T18:07:44.928Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-04-21T18:07:44.928Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-04-21T18:07:44.928Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] [2020-04-21T18:07:45.198Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] [2020-04-21T18:07:45.465Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-04-21T18:07:45.465Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] [2020-04-21T18:07:45.465Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] [2020-04-21T18:07:45.465Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] [2020-04-21T18:07:46.052Z] Fetched 3650 kB in 2s (1634 kB/s) [2020-04-21T18:07:51.391Z] Reading package lists... [2020-04-21T18:08:06.379Z] Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T18:08:09.720Z] Reading package lists... [2020-04-21T18:08:09.987Z] Building dependency tree... [2020-04-21T18:08:09.987Z] Reading state information... [2020-04-21T18:08:10.946Z] The following packages were automatically installed and are no longer required: [2020-04-21T18:08:10.946Z] libjq1 liblzo2-2 libonig4 [2020-04-21T18:08:10.946Z] Use 'sudo apt autoremove' to remove them. [2020-04-21T18:08:10.946Z] Suggested packages: [2020-04-21T18:08:10.946Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-04-21T18:08:10.946Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-04-21T18:08:10.946Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-04-21T18:08:10.946Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-04-21T18:08:11.212Z] The following NEW packages will be installed: [2020-04-21T18:08:11.212Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-04-21T18:08:11.212Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-04-21T18:08:11.212Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-04-21T18:08:11.212Z] openssh-client patch perl perl-modules-5.26 xauth [2020-04-21T18:08:11.477Z] 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. [2020-04-21T18:08:11.477Z] Need to get 12.9 MB of archives. [2020-04-21T18:08:11.477Z] After this operation, 84.2 MB of additional disk space will be used. [2020-04-21T18:08:11.477Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-04-21T18:08:11.477Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-04-21T18:08:11.742Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-04-21T18:08:11.742Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-04-21T18:08:11.742Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-04-21T18:08:12.008Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] [2020-04-21T18:08:12.008Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-04-21T18:08:12.008Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-04-21T18:08:12.591Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-04-21T18:08:12.591Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-04-21T18:08:12.591Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-04-21T18:08:13.549Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-04-21T18:08:13.549Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-04-21T18:08:13.549Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-04-21T18:08:13.549Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-04-21T18:08:13.549Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-04-21T18:08:13.549Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] [2020-04-21T18:08:13.549Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-04-21T18:08:13.549Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-04-21T18:08:13.815Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-04-21T18:08:13.815Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-04-21T18:08:13.815Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-04-21T18:08:13.815Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-04-21T18:08:13.815Z] Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-04-21T18:08:14.082Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-04-21T18:08:14.666Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-04-21T18:08:14.666Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-04-21T18:08:15.625Z] debconf: delaying package configuration, since apt-utils is not installed [2020-04-21T18:08:15.625Z] Fetched 12.9 MB in 3s (3776 kB/s) [2020-04-21T18:08:15.625Z] Selecting previously unselected package libxau6:arm64. [2020-04-21T18:08:15.625Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4630 files and directories currently installed.) [2020-04-21T18:08:15.625Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-04-21T18:08:15.625Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-04-21T18:08:15.892Z] Selecting previously unselected package libbsd0:arm64. [2020-04-21T18:08:15.892Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-04-21T18:08:15.892Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-21T18:08:15.892Z] Selecting previously unselected package libxdmcp6:arm64. [2020-04-21T18:08:15.892Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-04-21T18:08:15.892Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-21T18:08:16.161Z] Selecting previously unselected package libxcb1:arm64. [2020-04-21T18:08:16.161Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-04-21T18:08:16.161Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-21T18:08:16.161Z] Selecting previously unselected package libx11-data. [2020-04-21T18:08:16.161Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-04-21T18:08:16.161Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:08:16.427Z] Selecting previously unselected package libx11-6:arm64. [2020-04-21T18:08:16.427Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-04-21T18:08:16.427Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:08:16.695Z] Selecting previously unselected package libxext6:arm64. [2020-04-21T18:08:16.695Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-04-21T18:08:16.695Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-04-21T18:08:16.963Z] Selecting previously unselected package perl-modules-5.26. [2020-04-21T18:08:16.963Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-04-21T18:08:16.963Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:18.373Z] Selecting previously unselected package libgdbm5:arm64. [2020-04-21T18:08:18.373Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-04-21T18:08:18.373Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-04-21T18:08:18.373Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-04-21T18:08:18.373Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-04-21T18:08:18.373Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-21T18:08:18.640Z] Selecting previously unselected package libperl5.26:arm64. [2020-04-21T18:08:18.640Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-21T18:08:18.640Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:20.051Z] Selecting previously unselected package perl. [2020-04-21T18:08:20.051Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-04-21T18:08:20.051Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:20.051Z] Selecting previously unselected package less. [2020-04-21T18:08:20.051Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-04-21T18:08:20.051Z] Unpacking less (487-0.1) ... [2020-04-21T18:08:20.051Z] Selecting previously unselected package libexpat1:arm64. [2020-04-21T18:08:20.051Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-04-21T18:08:20.319Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-21T18:08:20.319Z] Selecting previously unselected package netbase. [2020-04-21T18:08:20.319Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-04-21T18:08:20.319Z] Unpacking netbase (5.4) ... [2020-04-21T18:08:20.319Z] Selecting previously unselected package libedit2:arm64. [2020-04-21T18:08:20.585Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-04-21T18:08:20.585Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-04-21T18:08:20.585Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-04-21T18:08:20.585Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-04-21T18:08:20.585Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T18:08:20.852Z] Selecting previously unselected package libxmuu1:arm64. [2020-04-21T18:08:20.852Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-04-21T18:08:20.852Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-21T18:08:21.121Z] Selecting previously unselected package openssh-client. [2020-04-21T18:08:21.121Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-04-21T18:08:21.121Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T18:08:21.390Z] Selecting previously unselected package xauth. [2020-04-21T18:08:21.390Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-04-21T18:08:21.390Z] Unpacking xauth (1:1.0.10-1) ... [2020-04-21T18:08:21.390Z] Selecting previously unselected package curl. [2020-04-21T18:08:21.390Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-21T18:08:21.390Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-04-21T18:08:21.657Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-04-21T18:08:21.657Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-04-21T18:08:21.657Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-21T18:08:21.657Z] Selecting previously unselected package liberror-perl. [2020-04-21T18:08:21.657Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-04-21T18:08:21.657Z] Unpacking liberror-perl (0.17025-1) ... [2020-04-21T18:08:21.925Z] Selecting previously unselected package git-man. [2020-04-21T18:08:21.925Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-04-21T18:08:21.925Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:08:22.194Z] Selecting previously unselected package git. [2020-04-21T18:08:22.194Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-04-21T18:08:22.194Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:08:23.603Z] Selecting previously unselected package make. [2020-04-21T18:08:23.603Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-04-21T18:08:23.603Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-04-21T18:08:23.603Z] Selecting previously unselected package patch. [2020-04-21T18:08:23.603Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-04-21T18:08:23.603Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-04-21T18:08:23.603Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-04-21T18:08:23.603Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:08:23.871Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-04-21T18:08:23.871Z] Setting up less (487-0.1) ... [2020-04-21T18:08:24.137Z] Setting up make (4.1-9.1ubuntu1) ... [2020-04-21T18:08:24.137Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-04-21T18:08:24.405Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-04-21T18:08:24.672Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-04-21T18:08:24.672Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:24.673Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-04-21T18:08:24.673Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-04-21T18:08:24.673Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-04-21T18:08:24.673Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-04-21T18:08:24.673Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-04-21T18:08:24.941Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-04-21T18:08:25.209Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:08:25.209Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-04-21T18:08:25.209Z] Setting up netbase (5.4) ... [2020-04-21T18:08:25.476Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:25.476Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-04-21T18:08:25.476Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-04-21T18:08:25.476Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-04-21T18:08:25.476Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-04-21T18:08:25.476Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-04-21T18:08:25.746Z] Setting up liberror-perl (0.17025-1) ... [2020-04-21T18:08:25.746Z] Setting up xauth (1:1.0.10-1) ... [2020-04-21T18:08:25.746Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-04-21T18:08:25.746Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-04-21T18:08:32.387Z] curl set to automatically installed. [2020-04-21T18:08:32.387Z] git set to automatically installed. [2020-04-21T18:08:32.387Z] git-man set to automatically installed. [2020-04-21T18:08:32.387Z] less set to automatically installed. [2020-04-21T18:08:32.387Z] libbsd0 set to automatically installed. [2020-04-21T18:08:32.387Z] libcurl3-gnutls set to automatically installed. [2020-04-21T18:08:32.387Z] libedit2 set to automatically installed. [2020-04-21T18:08:32.387Z] liberror-perl set to automatically installed. [2020-04-21T18:08:32.387Z] libexpat1 set to automatically installed. [2020-04-21T18:08:32.387Z] libgdbm-compat4 set to automatically installed. [2020-04-21T18:08:32.387Z] libgdbm5 set to automatically installed. [2020-04-21T18:08:32.387Z] libperl5.26 set to automatically installed. [2020-04-21T18:08:32.387Z] libssl1.0.0 set to automatically installed. [2020-04-21T18:08:32.387Z] libx11-6 set to automatically installed. [2020-04-21T18:08:32.387Z] libx11-data set to automatically installed. [2020-04-21T18:08:32.387Z] libxau6 set to automatically installed. [2020-04-21T18:08:32.387Z] libxcb1 set to automatically installed. [2020-04-21T18:08:32.387Z] libxdmcp6 set to automatically installed. [2020-04-21T18:08:32.387Z] libxext6 set to automatically installed. [2020-04-21T18:08:32.387Z] libxmuu1 set to automatically installed. [2020-04-21T18:08:32.387Z] make set to automatically installed. [2020-04-21T18:08:32.387Z] netbase set to automatically installed. [2020-04-21T18:08:32.387Z] openssh-client set to automatically installed. [2020-04-21T18:08:32.387Z] patch set to automatically installed. [2020-04-21T18:08:32.387Z] perl set to automatically installed. [2020-04-21T18:08:32.387Z] perl-modules-5.26 set to automatically installed. [2020-04-21T18:08:32.387Z] xauth set to automatically installed. [2020-04-21T18:08:32.387Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-04-21T18:08:32.387Z] Please ensure the environment is properly setup before continuing. [2020-04-21T18:08:32.387Z] Ignore this message if the appropriate measures have already been taken [2020-04-21T18:08:33.346Z] Pulling go [2020-04-21T18:08:36.691Z] 'device-modbus' has dependencies that need to be staged: go [2020-04-21T18:08:36.691Z] Skipping pull go (already ran) [2020-04-21T18:08:36.691Z] Building go [2020-04-21T18:08:36.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-04-21T18:08:36.691Z] Dload Upload Total Spent Left Speed [2020-04-21T18:08:39.205Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 24 93.0M 24 22.8M 0 0 34.0M 0 0:00:02 --:--:-- 0:00:02 34.0M 74 93.0M 74 69.0M 0 0 40.8M 0 0:00:02 0:00:01 0:00:01 40.8M 100 93.0M 100 93.0M 0 0 41.6M 0 0:00:02 0:00:02 --:--:-- 41.6M [2020-04-21T18:08:40.612Z] go1.13.5.linux-arm64.tar.gz: OK [2020-04-21T18:09:02.664Z] Staging go [2020-04-21T18:09:02.664Z] Pulling device-modbus [2020-04-21T18:09:05.275Z] Skipping build go (already ran) [2020-04-21T18:09:05.275Z] Building device-modbus [2020-04-21T18:09:05.275Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T18:09:05.859Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:09:05.859Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:09:05.859Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-04-21T18:09:05.860Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-04-21T18:09:06.130Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-04-21T18:09:06.130Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:09:06.130Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-04-21T18:09:06.130Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:09:06.130Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-04-21T18:09:06.130Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:09:06.130Z] go: downloading github.com/google/uuid v1.1.1 [2020-04-21T18:09:06.130Z] go: downloading github.com/pkg/errors v0.8.1 [2020-04-21T18:09:06.130Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:09:06.130Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-04-21T18:09:06.130Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:09:06.130Z] go: extracting github.com/pkg/errors v0.8.1 [2020-04-21T18:09:06.130Z] go: extracting github.com/google/uuid v1.1.1 [2020-04-21T18:09:06.130Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:09:06.130Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:09:06.131Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-04-21T18:09:06.131Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:09:06.131Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:09:06.131Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:09:06.131Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:09:06.131Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:09:06.131Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:09:06.131Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:09:06.401Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:09:06.401Z] go: downloading github.com/x448/float16 v0.8.4 [2020-04-21T18:09:06.401Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:09:06.401Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:09:06.401Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:09:06.401Z] go: extracting github.com/x448/float16 v0.8.4 [2020-04-21T18:09:06.401Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:09:06.401Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:09:06.401Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:09:06.401Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:09:06.401Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:09:06.401Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:09:06.401Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:09:06.401Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:09:06.401Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:09:06.401Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-04-21T18:09:06.401Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:09:06.401Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:09:06.401Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:09:06.401Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:09:06.691Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-04-21T18:09:06.691Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:09:06.691Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:09:06.691Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:09:06.691Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:09:06.691Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:09:07.015Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:09:07.015Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:09:07.015Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:09:07.015Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T18:09:07.015Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T18:09:07.015Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T18:09:07.015Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T18:09:07.015Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T18:09:07.015Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T18:09:07.015Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T18:09:07.015Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T18:09:07.015Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T18:09:07.015Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T18:09:07.318Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T18:09:07.318Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T18:09:07.318Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T18:09:07.318Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T18:09:07.318Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T18:09:07.318Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T18:09:07.318Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T18:09:07.318Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T18:09:07.318Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T18:09:07.318Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T18:09:07.318Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T18:09:07.318Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T18:09:07.318Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T18:09:07.318Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T18:09:07.318Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T18:09:07.318Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T18:09:34.097Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T18:09:49.074Z] Skipping stage go (already ran) [2020-04-21T18:09:49.074Z] Staging device-modbus [2020-04-21T18:09:50.031Z] Priming go [2020-04-21T18:09:53.367Z] Priming device-modbus [2020-04-21T18:09:55.944Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-04-21T18:09:55.944Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-04-21T18:09:55.944Z] Determining the version from the project repo (version-script). [2020-04-21T18:09:55.944Z] The version has been set to '0.0.0-20200421+9b724a9' [2020-04-21T18:09:56.212Z] Snapping 'edgex-device-modbus' ... [2020-04-21T18:09:59.570Z] [2020-04-21T18:09:59.570Z] Snapped edgex-device-modbus_0.0.0-20200421+9b724a9_arm64.snap [Pipeline] } [2020-04-21T18:10:01.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-21T18:10:02.506Z] provisioning config files... [2020-04-21T18:10:02.518Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config2875744593701046683tmp [Pipeline] { [Pipeline] sh [2020-04-21T18:10:02.863Z] + curl -s https://codecov.io/bash [2020-04-21T18:10:02.864Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config2875744593701046683tmp [2020-04-21T18:10:03.126Z] [2020-04-21T18:10:03.126Z] _____ _ [2020-04-21T18:10:03.126Z] / ____| | | [2020-04-21T18:10:03.126Z] | | ___ __| | ___ ___ _____ __ [2020-04-21T18:10:03.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-21T18:10:03.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-21T18:10:03.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-21T18:10:03.126Z] Bash-tbd [2020-04-21T18:10:03.126Z] [2020-04-21T18:10:03.126Z] [2020-04-21T18:10:03.126Z] ==> Jenkins CI detected. [2020-04-21T18:10:03.126Z] project root: . [2020-04-21T18:10:03.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-21T18:10:03.126Z] ==> Running gcov in . (disable via -X gcov) [2020-04-21T18:10:03.126Z] ==> Python coveragepy not found [2020-04-21T18:10:03.126Z] ==> Searching for coverage reports in: [2020-04-21T18:10:03.126Z] + . [2020-04-21T18:10:03.126Z] -> Found 1 reports [2020-04-21T18:10:03.126Z] ==> Detecting git/mercurial file structure [2020-04-21T18:10:03.126Z] ==> Reading reports [2020-04-21T18:10:03.126Z] + ./coverage.out bytes=22123 [2020-04-21T18:10:03.126Z] ==> Appending adjustments [2020-04-21T18:10:03.126Z] http://docs.codecov.io/docs/fixing-reports [2020-04-21T18:10:03.126Z] + Found adjustments [2020-04-21T18:10:03.126Z] ==> Gzipping contents [2020-04-21T18:10:03.126Z] ==> Uploading reports [2020-04-21T18:10:03.126Z] url: https://codecov.io [2020-04-21T18:10:03.126Z] query: branch=PR-139&commit=9b724a95ad1ea83924f356e73a6a8126edcbd1e5&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-21T18:10:03.126Z] -> Pinging Codecov [2020-04-21T18:10:03.126Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-139&commit=9b724a95ad1ea83924f356e73a6a8126edcbd1e5&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= [2020-04-21T18:10:03.696Z] -> Uploading [2020-04-21T18:10:04.265Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/9b724a95ad1ea83924f356e73a6a8126edcbd1e5 [Pipeline] } [2020-04-21T18:10:04.271Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:10:05.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:10:05.714Z] ---> package-listing.sh [2020-04-21T18:10:05.715Z] ++ facter osfamily [2020-04-21T18:10:05.715Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T18:10:05.715Z] + OS_FAMILY=redhat [2020-04-21T18:10:05.715Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T18:10:05.715Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T18:10:05.715Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T18:10:05.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T18:10:05.715Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T18:10:05.715Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T18:10:05.715Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T18:10:05.715Z] + case "${OS_FAMILY}" in [2020-04-21T18:10:05.715Z] + rpm -qa [2020-04-21T18:10:05.715Z] + sort [2020-04-21T18:10:09.904Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T18:10:09.904Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T18:10:09.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T18:10:09.904Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T18:10:09.904Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [2020-04-21T18:10:09.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:10:10.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T18:10:10.360Z] [2020-04-21T18:10:10.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T18:10:10.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T18:10:10.697Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T18:10:10.697Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T18:10:10.697Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T18:10:10.697Z] 756a868c4378: Pulling fs layer [2020-04-21T18:10:10.697Z] 444b2fc9a129: Pulling fs layer [2020-04-21T18:10:10.697Z] ea15f1150254: Pulling fs layer [2020-04-21T18:10:10.697Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T18:10:10.697Z] 28c525ee5125: Pulling fs layer [2020-04-21T18:10:10.697Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T18:10:10.697Z] 138eaada9080: Pulling fs layer [2020-04-21T18:10:10.697Z] 0622d0fa9048: Pulling fs layer [2020-04-21T18:10:10.697Z] 444b2fc9a129: Waiting [2020-04-21T18:10:10.697Z] 28c525ee5125: Waiting [2020-04-21T18:10:10.697Z] 094b1ea09ed8: Waiting [2020-04-21T18:10:10.697Z] ea15f1150254: Waiting [2020-04-21T18:10:10.697Z] 138eaada9080: Waiting [2020-04-21T18:10:10.697Z] 41b27a9f41bf: Waiting [2020-04-21T18:10:10.697Z] 0622d0fa9048: Waiting [2020-04-21T18:10:10.697Z] 2cc5ad85d9ab: Download complete [2020-04-21T18:10:10.697Z] 444b2fc9a129: Verifying Checksum [2020-04-21T18:10:10.697Z] 444b2fc9a129: Download complete [2020-04-21T18:10:10.697Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T18:10:10.697Z] c9b1b535fdd9: Download complete [2020-04-21T18:10:10.970Z] ea15f1150254: Verifying Checksum [2020-04-21T18:10:10.970Z] ea15f1150254: Download complete [2020-04-21T18:10:10.970Z] 28c525ee5125: Verifying Checksum [2020-04-21T18:10:10.970Z] 28c525ee5125: Download complete [2020-04-21T18:10:11.248Z] c9b1b535fdd9: Pull complete [2020-04-21T18:10:11.248Z] 756a868c4378: Verifying Checksum [2020-04-21T18:10:11.248Z] 756a868c4378: Download complete [2020-04-21T18:10:11.248Z] 138eaada9080: Verifying Checksum [2020-04-21T18:10:11.248Z] 138eaada9080: Download complete [2020-04-21T18:10:11.248Z] 0622d0fa9048: Verifying Checksum [2020-04-21T18:10:11.248Z] 0622d0fa9048: Download complete [2020-04-21T18:10:11.517Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T18:10:11.517Z] 094b1ea09ed8: Download complete [2020-04-21T18:10:11.517Z] 2cc5ad85d9ab: Pull complete [2020-04-21T18:10:12.090Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T18:10:12.090Z] 41b27a9f41bf: Download complete [2020-04-21T18:10:13.030Z] 756a868c4378: Pull complete [2020-04-21T18:10:13.030Z] 444b2fc9a129: Pull complete [2020-04-21T18:10:13.598Z] ea15f1150254: Pull complete [2020-04-21T18:10:16.897Z] 41b27a9f41bf: Pull complete [2020-04-21T18:10:16.897Z] 28c525ee5125: Pull complete [2020-04-21T18:10:18.812Z] 094b1ea09ed8: Pull complete [2020-04-21T18:10:19.070Z] 138eaada9080: Pull complete [2020-04-21T18:10:19.329Z] 0622d0fa9048: Pull complete [2020-04-21T18:10:19.329Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T18:10:19.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T18:10:19.491Z] prd-centos7-docker-4c-2g-5331 does not seem to be running inside a container [2020-04-21T18:10:19.535Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T18:10:20.693Z] $ docker top d6cfe1b96e568c2d3c7774c1cc3f2010d787053ce0099732d1385cda3c2bfda4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T18:10:21.041Z] provisioning config files... [2020-04-21T18:10:21.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config369069667331925082tmp [Pipeline] { [Pipeline] echo [2020-04-21T18:10:21.114Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:10:21.422Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T18:10:21.430Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T18:10:21.724Z] ---> logs-deploy.sh [2020-04-21T18:10:21.724Z] + ARCHIVE_ARTIFACTS= [2020-04-21T18:10:21.724Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T18:10:21.724Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T18:10:21.724Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T18:10:21.724Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/9 [2020-04-21T18:10:21.724Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/9/ [2020-04-21T18:10:21.724Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/9 /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T18:10:23.108Z] Archives upload complete. [2020-04-21T18:10:23.108Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/9 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/9/