Started by user Lisa Rashidi-Ranjbar 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 lranjbar for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 98b52d9584e04c01e40368f8367c2648e1414356+f5c9d48415354775d5437a1ae29fce4498980850 (c186a8034bf3fde7c1eb7ee55459751a8a5eac68) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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-2635 in /w/workspace/xfoundry_device-modbus-go_PR-154 [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 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-154 # 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/154/head:refs/remotes/origin/PR-154 +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/154/head:refs/remotes/origin/PR-154 # 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/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # 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 f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 Commit message: "Update VERSION and snap title for snap rebuild" > git rev-list --no-walk 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-06-11T21:45:44.786Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-06-11T21:45:44.909Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-06-11T21:45:44.957Z] ========================================================= [2020-06-11T21:45:44.957Z] EdgeX Global Pipelines Version Info [2020-06-11T21:45:44.957Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-06-11T21:45:46.838Z] ------------------- [2020-06-11T21:45:46.838Z] stable info: [2020-06-11T21:45:46.838Z] ------------------- [2020-06-11T21:45:46.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-06-11T21:45:46.838Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T21:45:46.838Z] Message: update stable to v1.0.89 [2020-06-11T21:45:47.781Z] ------------------- [2020-06-11T21:45:47.781Z] experimental info: [2020-06-11T21:45:47.781Z] ------------------- [2020-06-11T21:45:47.781Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-06-11T21:45:47.781Z] Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 [2020-06-11T21:45:47.781Z] Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:45:49.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T21:45:49.055Z] [2020-06-11T21:45:49.055Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:45:49.372Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T21:45:49.372Z] latest: Pulling from edgex-devops/git-semver [2020-06-11T21:45:49.372Z] 9123ac7c32f7: Pulling fs layer [2020-06-11T21:45:49.372Z] b8cc5d1170e3: Pulling fs layer [2020-06-11T21:45:49.372Z] 2924cbbf6a41: Pulling fs layer [2020-06-11T21:45:49.372Z] 93b08a4f1073: Pulling fs layer [2020-06-11T21:45:49.372Z] 93b08a4f1073: Waiting [2020-06-11T21:45:49.372Z] b8cc5d1170e3: Download complete [2020-06-11T21:45:49.372Z] 9123ac7c32f7: Verifying Checksum [2020-06-11T21:45:49.372Z] 9123ac7c32f7: Download complete [2020-06-11T21:45:49.638Z] 93b08a4f1073: Verifying Checksum [2020-06-11T21:45:49.638Z] 93b08a4f1073: Download complete [2020-06-11T21:45:49.638Z] 2924cbbf6a41: Verifying Checksum [2020-06-11T21:45:49.900Z] 9123ac7c32f7: Pull complete [2020-06-11T21:45:49.900Z] b8cc5d1170e3: Pull complete [2020-06-11T21:45:50.851Z] 2924cbbf6a41: Pull complete [2020-06-11T21:45:50.851Z] 93b08a4f1073: Pull complete [2020-06-11T21:45:50.851Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-06-11T21:45:50.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-06-11T21:45:50.851Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-06-11T21:45:50.957Z] prd-centos7-docker-4c-2g-2635 does not seem to be running inside a container [2020-06-11T21:45:51.001Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-154 -v /w/workspace/xfoundry_device-modbus-go_PR-154:/w/workspace/xfoundry_device-modbus-go_PR-154:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-154@tmp:/w/workspace/xfoundry_device-modbus-go_PR-154@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-06-11T21:45:53.056Z] $ docker top 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-06-11T21:45:53.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T21:45:53.245Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T21:45:53.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T21:45:53.437Z] $ docker exec 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d ssh-agent [2020-06-11T21:45:53.603Z] SSH_AUTH_SOCK=/tmp/ssh-pi6dPVF5Uj3u/agent.12 [2020-06-11T21:45:53.603Z] SSH_AGENT_PID=17 [2020-06-11T21:45:53.613Z] Running ssh-add (command line suppressed) [2020-06-11T21:45:53.726Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_5106231303970288963.key (/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_5106231303970288963.key) [2020-06-11T21:45:53.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T21:45:54.080Z] + git describe --exact-match --tags HEAD [2020-06-11T21:45:54.080Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-06-11T21:45:54.286Z] $ docker exec --env ******** --env ******** 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d ssh-agent -k [2020-06-11T21:45:54.402Z] unset SSH_AUTH_SOCK; [2020-06-11T21:45:54.402Z] unset SSH_AGENT_PID; [2020-06-11T21:45:54.402Z] echo Agent pid 17 killed; [2020-06-11T21:45:54.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-06-11T21:45:54.490Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-06-11T21:45:54.490Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-06-11T21:45:54.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-06-11T21:45:54.540Z] [ssh-agent] Looking for ssh-agent implementation... [2020-06-11T21:45:54.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-06-11T21:45:54.712Z] $ docker exec 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d ssh-agent [2020-06-11T21:45:54.869Z] SSH_AUTH_SOCK=/tmp/ssh-EtNuYSfN0YSq/agent.45 [2020-06-11T21:45:54.869Z] SSH_AGENT_PID=50 [2020-06-11T21:45:54.875Z] Running ssh-add (command line suppressed) [2020-06-11T21:45:54.990Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_614706806251959744.key (/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_614706806251959744.key) [2020-06-11T21:45:55.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-06-11T21:45:55.347Z] + git semver init [2020-06-11T21:45:55.347Z] # -> Open(): unable to determine branch for HEAD [2020-06-11T21:45:55.347Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-154/.git [2020-06-11T21:45:55.347Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-154 [2020-06-11T21:45:55.347Z] # $SEMVER_REMOTE_NAME = origin [2020-06-11T21:45:55.347Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-06-11T21:45:55.347Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-06-11T21:45:55.347Z] # $SEMVER_BRANCH = PR-154 [2020-06-11T21:45:55.347Z] # $SEMVER_TEMP = /tmp/semver-640771265 [2020-06-11T21:45:55.347Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-06-11T21:45:55.608Z] # '/tmp/semver-640771265' -> '/w/workspace/xfoundry_device-modbus-go_PR-154/.semver' [2020-06-11T21:45:55.608Z] # -> Force: false [2020-06-11T21:45:55.608Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-154/.semver [Pipeline] } [2020-06-11T21:45:55.622Z] $ docker exec --env ******** --env ******** 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d ssh-agent -k [2020-06-11T21:45:55.731Z] unset SSH_AUTH_SOCK; [2020-06-11T21:45:55.732Z] unset SSH_AGENT_PID; [2020-06-11T21:45:55.732Z] echo Agent pid 50 killed; [2020-06-11T21:45:55.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-06-11T21:45:56.169Z] + git semver [Pipeline] } [2020-06-11T21:45:56.185Z] $ docker stop --time=1 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d [2020-06-11T21:45:57.504Z] $ docker rm -f 59f6db502900a62a6c21588888bc49d43585ea9e9b5cdcf7e56887326a32c35d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-06-11T21:45:57.974Z] Stashed 30 file(s) [Pipeline] echo [2020-06-11T21:45:57.976Z] [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-06-11T21:46:13.133Z] Still waiting to schedule task [2020-06-11T21:46:13.133Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-06-11T21:46:13.135Z] Still waiting to schedule task [2020-06-11T21:46:13.135Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-06-11T21:48:36.496Z] Running on prd-centos7-docker-4c-2g-2636 in /w/workspace/xfoundry_device-modbus-go_PR-154 [Pipeline] { [Pipeline] ws [2020-06-11T21:48:36.531Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-06-11T21:48:39.032Z] using credential edgex-jenkins-ssh [2020-06-11T21:48:39.058Z] Cloning the remote Git repository [2020-06-11T21:48:39.058Z] Cloning with configured refspecs honoured and without tags [2020-06-11T21:48:39.087Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:48:39.732Z] Fetching without tags [2020-06-11T21:48:40.125Z] Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:48:40.225Z] Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:48:40.226Z] Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) [2020-06-11T21:48:39.152Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-06-11T21:48:39.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:48:39.198Z] > git --version # timeout=10 [2020-06-11T21:48:39.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:48:39.231Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:48:39.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-06-11T21:48:39.704Z] > git config --add remote.origin.fetch +refs/pull/154/head:refs/remotes/origin/PR-154 # timeout=10 [2020-06-11T21:48:39.713Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:48:39.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-06-11T21:48:39.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:48:39.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:48:39.744Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:48:40.136Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T21:48:40.149Z] > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 [2020-06-11T21:48:40.188Z] > git remote # timeout=10 [2020-06-11T21:48:40.195Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T21:48:40.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:48:40.207Z] > git merge f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 [2020-06-11T21:48:40.222Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T21:48:40.231Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T21:48:40.238Z] > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 [2020-06-11T21:48:43.953Z] Commit message: "Update VERSION and snap title for snap rebuild" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T21:48:44.774Z] ========================================================= [2020-06-11T21:48:44.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-06-11T21:48:44.774Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:48:45.415Z] + 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-06-11T21:48:45.682Z] Sending build context to Docker daemon 601.1kB [2020-06-11T21:48:45.682Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T21:48:45.682Z] Step 2/8 : FROM ${BASE} [2020-06-11T21:48:45.682Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-06-11T21:48:45.682Z] e6b0cf9c0882: Pulling fs layer [2020-06-11T21:48:45.682Z] 2848faf0eed1: Pulling fs layer [2020-06-11T21:48:45.682Z] 0f37312ad70f: Pulling fs layer [2020-06-11T21:48:45.682Z] 5788d62ee057: Pulling fs layer [2020-06-11T21:48:45.682Z] 0e6b1d234666: Pulling fs layer [2020-06-11T21:48:45.682Z] bf5d7aec512f: Pulling fs layer [2020-06-11T21:48:45.682Z] 34c802a77dc8: Pulling fs layer [2020-06-11T21:48:45.682Z] 9eb99e56ec68: Pulling fs layer [2020-06-11T21:48:45.682Z] 27c7a5d97fbd: Pulling fs layer [2020-06-11T21:48:45.682Z] 5c102a31e300: Pulling fs layer [2020-06-11T21:48:45.682Z] dcfb455df0a1: Pulling fs layer [2020-06-11T21:48:45.682Z] 0e6b1d234666: Waiting [2020-06-11T21:48:45.682Z] bf5d7aec512f: Waiting [2020-06-11T21:48:45.682Z] 34c802a77dc8: Waiting [2020-06-11T21:48:45.682Z] 9eb99e56ec68: Waiting [2020-06-11T21:48:45.682Z] 27c7a5d97fbd: Waiting [2020-06-11T21:48:45.682Z] 5c102a31e300: Waiting [2020-06-11T21:48:45.682Z] dcfb455df0a1: Waiting [2020-06-11T21:48:45.682Z] 0f37312ad70f: Verifying Checksum [2020-06-11T21:48:45.682Z] 2848faf0eed1: Download complete [2020-06-11T21:48:45.682Z] 0e6b1d234666: Download complete [2020-06-11T21:48:45.682Z] bf5d7aec512f: Verifying Checksum [2020-06-11T21:48:45.682Z] bf5d7aec512f: Download complete [2020-06-11T21:48:45.947Z] e6b0cf9c0882: Download complete [2020-06-11T21:48:46.234Z] e6b0cf9c0882: Pull complete [2020-06-11T21:48:46.513Z] 34c802a77dc8: Verifying Checksum [2020-06-11T21:48:46.513Z] 34c802a77dc8: Download complete [2020-06-11T21:48:46.513Z] 27c7a5d97fbd: Verifying Checksum [2020-06-11T21:48:46.513Z] 27c7a5d97fbd: Download complete [2020-06-11T21:48:47.102Z] 5c102a31e300: Verifying Checksum [2020-06-11T21:48:47.102Z] 5c102a31e300: Download complete [2020-06-11T21:48:47.102Z] dcfb455df0a1: Verifying Checksum [2020-06-11T21:48:47.102Z] dcfb455df0a1: Download complete [2020-06-11T21:48:47.102Z] 9eb99e56ec68: Verifying Checksum [2020-06-11T21:48:47.102Z] 9eb99e56ec68: Download complete [2020-06-11T21:48:47.365Z] 5788d62ee057: Verifying Checksum [2020-06-11T21:48:47.365Z] 5788d62ee057: Download complete [2020-06-11T21:48:47.939Z] 2848faf0eed1: Pull complete [2020-06-11T21:48:48.200Z] 0f37312ad70f: Pull complete [2020-06-11T21:48:53.528Z] 5788d62ee057: Pull complete [2020-06-11T21:48:53.528Z] 0e6b1d234666: Pull complete [2020-06-11T21:48:53.791Z] bf5d7aec512f: Pull complete [2020-06-11T21:49:00.419Z] 34c802a77dc8: Pull complete [2020-06-11T21:49:02.990Z] 9eb99e56ec68: Pull complete [2020-06-11T21:49:02.990Z] 27c7a5d97fbd: Pull complete [2020-06-11T21:49:03.948Z] 5c102a31e300: Pull complete [2020-06-11T21:49:03.948Z] dcfb455df0a1: Pull complete [2020-06-11T21:49:03.948Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-06-11T21:49:03.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-06-11T21:49:03.948Z] ---> 7c70fe431013 [2020-06-11T21:49:03.948Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-06-11T21:49:04.557Z] ---> Running in d85a4e95e8f2 [2020-06-11T21:49:04.823Z] Removing intermediate container d85a4e95e8f2 [2020-06-11T21:49:04.823Z] ---> 1004605ab7e5 [2020-06-11T21:49:04.823Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T21:49:04.823Z] ---> Running in b38a41ce2cf1 [2020-06-11T21:49:06.746Z] Removing intermediate container b38a41ce2cf1 [2020-06-11T21:49:06.746Z] ---> b6447042ea02 [2020-06-11T21:49:06.746Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T21:49:06.746Z] ---> Running in 92ce480c9401 [2020-06-11T21:49:07.010Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T21:49:07.957Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T21:49:08.539Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:49:08.801Z] (2/17) Installing libmagic (5.37-r1) [2020-06-11T21:49:09.061Z] (3/17) Installing file (5.37-r1) [2020-06-11T21:49:09.061Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:49:09.323Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:49:09.323Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:49:27.448Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-06-11T21:49:27.448Z] (8/17) Installing g++ (9.2.0-r4) [2020-06-11T21:49:34.048Z] (9/17) Installing fortify-headers (1.1-r0) [2020-06-11T21:49:34.048Z] (10/17) Installing build-base (0.5-r1) [2020-06-11T21:49:34.048Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-06-11T21:49:34.048Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-06-11T21:49:34.048Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-06-11T21:49:34.048Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-11T21:49:34.048Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-06-11T21:49:34.048Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-06-11T21:49:34.048Z] (17/17) Installing openssh (8.1_p1-r0) [2020-06-11T21:49:34.310Z] Executing busybox-1.31.1-r8.trigger [2020-06-11T21:49:34.310Z] OK: 214 MiB in 52 packages [2020-06-11T21:49:37.621Z] Removing intermediate container 92ce480c9401 [2020-06-11T21:49:37.621Z] ---> 8c6e350d600a [2020-06-11T21:49:37.621Z] Step 6/8 : WORKDIR /device-modbus-go [2020-06-11T21:49:37.885Z] ---> Running in dccac6a47ccd [2020-06-11T21:49:37.885Z] Removing intermediate container dccac6a47ccd [2020-06-11T21:49:37.885Z] ---> 1892a9ba0b66 [2020-06-11T21:49:37.885Z] Step 7/8 : COPY . . [2020-06-11T21:49:38.832Z] ---> 36d5a2155e89 [2020-06-11T21:49:38.832Z] Step 8/8 : RUN go mod download [2020-06-11T21:49:38.832Z] ---> Running in 7f17417ee9a5 [2020-06-11T21:49:40.759Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:49:40.759Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:49:40.759Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T21:49:40.759Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:49:40.759Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T21:49:40.759Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T21:49:40.759Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:49:40.759Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:49:40.759Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:49:40.759Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T21:49:40.759Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:49:40.759Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T21:49:40.759Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:49:40.759Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T21:49:40.759Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-06-11T21:49:40.759Z] go: finding github.com/goburrow/serial v0.1.0 [2020-06-11T21:49:40.759Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T21:49:40.759Z] go: finding github.com/google/uuid v1.1.1 [2020-06-11T21:49:40.759Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T21:49:40.759Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T21:49:40.759Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T21:49:40.759Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T21:49:40.759Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T21:49:41.023Z] go: finding github.com/miekg/dns v1.1.4 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:49:41.023Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:49:41.023Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T21:49:41.023Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:49:41.023Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T21:49:41.023Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T21:49:41.288Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T21:49:41.288Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-06-11T21:49:41.288Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T21:49:41.288Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T21:49:41.288Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T21:49:41.288Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T21:49:41.288Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T21:49:41.288Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T21:49:41.288Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-06-11T21:49:41.288Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T21:49:41.288Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T21:49:41.288Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T21:49:41.288Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:49:43.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2637 in /w/workspace/xfoundry_device-modbus-go_PR-154 [Pipeline] { [Pipeline] ws [2020-06-11T21:49:44.026Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-06-11T21:49:48.977Z] using credential edgex-jenkins-ssh [2020-06-11T21:49:49.025Z] Cloning the remote Git repository [2020-06-11T21:49:49.025Z] Cloning with configured refspecs honoured and without tags [2020-06-11T21:49:49.446Z] Removing intermediate container 7f17417ee9a5 [2020-06-11T21:49:49.446Z] ---> 1d29ea41607c [2020-06-11T21:49:49.446Z] Successfully built 1d29ea41607c [2020-06-11T21:49:49.446Z] 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-06-11T21:49:49.933Z] + docker inspect -f . ci-base-image-x86_64 [2020-06-11T21:49:49.933Z] . [Pipeline] withDockerContainer [2020-06-11T21:49:50.037Z] prd-centos7-docker-4c-2g-2636 does not seem to be running inside a container [2020-06-11T21:49:50.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-06-11T21:49:50.278Z] Fetching without tags [2020-06-11T21:49:49.102Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:49:49.249Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-06-11T21:49:49.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:49:49.315Z] > git --version # timeout=10 [2020-06-11T21:49:49.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:49:49.407Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:49:50.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-06-11T21:49:50.196Z] > git config --add remote.origin.fetch +refs/pull/154/head:refs/remotes/origin/PR-154 # timeout=10 [2020-06-11T21:49:50.216Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:49:50.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-06-11T21:49:50.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-06-11T21:49:50.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:49:50.277Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-06-11T21:49:50.724Z] Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:49:50.967Z] Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:49:50.968Z] Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) [2020-06-11T21:49:51.298Z] $ docker top cc58eccf04f2004f4ae7f2fefc5c063f88abc6e56bedde126716794a60a82b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-06-11T21:49:50.721Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T21:49:50.740Z] > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 [2020-06-11T21:49:50.822Z] > git remote # timeout=10 [2020-06-11T21:49:50.839Z] > git config --get remote.origin.url # timeout=10 [2020-06-11T21:49:50.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-06-11T21:49:50.864Z] > git merge f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 [2020-06-11T21:49:50.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-06-11T21:49:50.952Z] > git config core.sparsecheckout # timeout=10 [2020-06-11T21:49:50.975Z] > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 [2020-06-11T21:49:51.754Z] + go version [2020-06-11T21:49:51.754Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-06-11T21:49:52.068Z] + make test [2020-06-11T21:49:52.068Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-11T21:49:53.026Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-06-11T21:49:55.518Z] Commit message: "Update VERSION and snap title for snap rebuild" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-06-11T21:49:56.473Z] ========================================================= [2020-06-11T21:49:56.473Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-06-11T21:49:56.473Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:49:57.510Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-06-11T21:49:58.124Z] Sending build context to Docker daemon 601.1kB [2020-06-11T21:49:58.402Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-06-11T21:49:58.402Z] Step 2/8 : FROM ${BASE} [2020-06-11T21:49:58.678Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-06-11T21:49:58.678Z] cde5963f3b93: Pulling fs layer [2020-06-11T21:49:58.678Z] 2a23fa8c16f7: Pulling fs layer [2020-06-11T21:49:58.678Z] 777b28850792: Pulling fs layer [2020-06-11T21:49:58.678Z] 8a11ddd9e578: Pulling fs layer [2020-06-11T21:49:58.678Z] 4cf88f913ddb: Pulling fs layer [2020-06-11T21:49:58.678Z] 1df406cf5192: Pulling fs layer [2020-06-11T21:49:58.678Z] cd6300453558: Pulling fs layer [2020-06-11T21:49:58.678Z] b9c365052c96: Pulling fs layer [2020-06-11T21:49:58.678Z] a2d8cc88f415: Pulling fs layer [2020-06-11T21:49:58.678Z] ea1d1ca13537: Pulling fs layer [2020-06-11T21:49:58.678Z] 3750a50a1c5e: Pulling fs layer [2020-06-11T21:49:58.678Z] 8a11ddd9e578: Waiting [2020-06-11T21:49:58.678Z] 4cf88f913ddb: Waiting [2020-06-11T21:49:58.678Z] 1df406cf5192: Waiting [2020-06-11T21:49:58.678Z] cd6300453558: Waiting [2020-06-11T21:49:58.678Z] b9c365052c96: Waiting [2020-06-11T21:49:58.678Z] a2d8cc88f415: Waiting [2020-06-11T21:49:58.678Z] ea1d1ca13537: Waiting [2020-06-11T21:49:58.678Z] 3750a50a1c5e: Waiting [2020-06-11T21:49:58.678Z] 777b28850792: Verifying Checksum [2020-06-11T21:49:58.678Z] 777b28850792: Download complete [2020-06-11T21:49:58.678Z] 2a23fa8c16f7: Verifying Checksum [2020-06-11T21:49:58.678Z] 2a23fa8c16f7: Download complete [2020-06-11T21:49:58.678Z] 4cf88f913ddb: Verifying Checksum [2020-06-11T21:49:58.678Z] 4cf88f913ddb: Download complete [2020-06-11T21:49:58.678Z] 1df406cf5192: Verifying Checksum [2020-06-11T21:49:58.678Z] 1df406cf5192: Download complete [2020-06-11T21:49:58.678Z] cde5963f3b93: Verifying Checksum [2020-06-11T21:49:58.678Z] cde5963f3b93: Download complete [2020-06-11T21:49:59.680Z] cde5963f3b93: Pull complete [2020-06-11T21:50:00.287Z] 2a23fa8c16f7: Pull complete [2020-06-11T21:50:00.567Z] 777b28850792: Pull complete [2020-06-11T21:50:01.160Z] cd6300453558: Verifying Checksum [2020-06-11T21:50:01.160Z] cd6300453558: Download complete [2020-06-11T21:50:01.160Z] a2d8cc88f415: Download complete [2020-06-11T21:50:02.595Z] ea1d1ca13537: Verifying Checksum [2020-06-11T21:50:02.595Z] ea1d1ca13537: Download complete [2020-06-11T21:50:02.869Z] 3750a50a1c5e: Verifying Checksum [2020-06-11T21:50:02.869Z] 3750a50a1c5e: Download complete [2020-06-11T21:50:03.108Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-06-11T21:50:03.108Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.372s coverage: 50.3% of statements [2020-06-11T21:50:03.108Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T21:50:03.466Z] b9c365052c96: Verifying Checksum [2020-06-11T21:50:03.466Z] b9c365052c96: Download complete [2020-06-11T21:50:04.070Z] gofmt -l . [2020-06-11T21:50:04.334Z] [ "`gofmt -l .`" = "" ] [2020-06-11T21:50:04.334Z] ./bin/test-attribution-txt.sh [2020-06-11T21:50:04.439Z] 8a11ddd9e578: Verifying Checksum [2020-06-11T21:50:04.439Z] 8a11ddd9e578: Download complete [2020-06-11T21:50:04.908Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T21:50:05.594Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T21:50:05.602Z] $ docker stop --time=1 cc58eccf04f2004f4ae7f2fefc5c063f88abc6e56bedde126716794a60a82b9c [2020-06-11T21:50:07.845Z] $ docker rm -f cc58eccf04f2004f4ae7f2fefc5c063f88abc6e56bedde126716794a60a82b9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T21:50:08.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T21:50:09.057Z] + ls -al . [2020-06-11T21:50:09.057Z] total 104 [2020-06-11T21:50:09.057Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 11 21:50 . [2020-06-11T21:50:09.057Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 21:48 .. [2020-06-11T21:50:09.057Z] -rw-rw-r--. 1 jenkins jenkins 5049 Jun 11 21:48 Attribution.txt [2020-06-11T21:50:09.057Z] drwxrwxr-x. 2 jenkins jenkins 87 Jun 11 21:48 bin [2020-06-11T21:50:09.057Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 21:48 cmd [2020-06-11T21:50:09.057Z] -rw-r--r--. 1 jenkins jenkins 22123 Jun 11 21:50 coverage.out [2020-06-11T21:50:09.057Z] -rw-rw-r--. 1 jenkins jenkins 1422 Jun 11 21:48 Dockerfile [2020-06-11T21:50:09.057Z] -rw-rw-r--. 1 jenkins jenkins 954 Jun 11 21:48 Dockerfile.build [2020-06-11T21:50:09.057Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 21:48 .dockerignore [2020-06-11T21:50:09.057Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 21:48 .git [2020-06-11T21:50:09.057Z] -rw-rw-r--. 1 jenkins jenkins 330 Jun 11 21:48 .gitignore [2020-06-11T21:50:09.057Z] -rw-r--r--. 1 jenkins jenkins 559 Jun 11 21:50 go.mod [2020-06-11T21:50:09.058Z] -rw-r--r--. 1 jenkins jenkins 13471 Jun 11 21:50 go.sum [2020-06-11T21:50:09.058Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 21:48 internal [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 702 Jun 11 21:48 Jenkinsfile [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 21:48 LICENSE [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 880 Jun 11 21:48 Makefile [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 591 Jun 11 21:48 README.md [2020-06-11T21:50:09.058Z] drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 21:48 .semver [2020-06-11T21:50:09.058Z] drwxrwxr-x. 2 jenkins jenkins 35 Jun 11 21:48 simulator [2020-06-11T21:50:09.058Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 21:48 snap [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 21:45 VERSION [2020-06-11T21:50:09.058Z] -rw-rw-r--. 1 jenkins jenkins 229 Jun 11 21:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:50:09.359Z] + 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=98b52d9584e04c01e40368f8367c2648e1414356 --label arch=amd64 --label version=0.0.0 . [2020-06-11T21:50:09.359Z] Sending build context to Docker daemon 629.8kB [2020-06-11T21:50:09.359Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-06-11T21:50:09.359Z] Step 2/19 : FROM ${BASE} AS builder [2020-06-11T21:50:09.359Z] ---> 1d29ea41607c [2020-06-11T21:50:09.359Z] Step 3/19 : ARG MAKE='make build' [2020-06-11T21:50:09.620Z] ---> Running in 1ed631735287 [2020-06-11T21:50:09.884Z] Removing intermediate container 1ed631735287 [2020-06-11T21:50:09.884Z] ---> ada211302263 [2020-06-11T21:50:09.884Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T21:50:09.884Z] ---> Running in 289ea589270a [2020-06-11T21:50:10.466Z] Removing intermediate container 289ea589270a [2020-06-11T21:50:10.466Z] ---> 7d73891315b4 [2020-06-11T21:50:10.466Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T21:50:10.726Z] ---> Running in 070d1e97a6b9 [2020-06-11T21:50:10.987Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-06-11T21:50:11.932Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-06-11T21:50:12.505Z] OK: 214 MiB in 52 packages [2020-06-11T21:50:12.766Z] Removing intermediate container 070d1e97a6b9 [2020-06-11T21:50:12.766Z] ---> d6ada79ffb86 [2020-06-11T21:50:12.766Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-06-11T21:50:12.766Z] ---> Running in 29947af0d382 [2020-06-11T21:50:13.027Z] Removing intermediate container 29947af0d382 [2020-06-11T21:50:13.027Z] ---> 4df1cba1ba34 [2020-06-11T21:50:13.027Z] Step 7/19 : COPY . . [2020-06-11T21:50:13.605Z] ---> 1f00754d2bbf [2020-06-11T21:50:13.605Z] Step 8/19 : RUN ${MAKE} [2020-06-11T21:50:13.605Z] ---> Running in c81e30376850 [2020-06-11T21:50:14.178Z] 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-06-11T21:50:16.832Z] 8a11ddd9e578: Pull complete [2020-06-11T21:50:16.832Z] 4cf88f913ddb: Pull complete [2020-06-11T21:50:16.832Z] 1df406cf5192: Pull complete [2020-06-11T21:50:20.239Z] cd6300453558: Pull complete [2020-06-11T21:50:22.422Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T21:50:25.646Z] b9c365052c96: Pull complete [2020-06-11T21:50:25.646Z] a2d8cc88f415: Pull complete [2020-06-11T21:50:25.729Z] Removing intermediate container c81e30376850 [2020-06-11T21:50:25.729Z] ---> 0de7ebb41e36 [2020-06-11T21:50:25.729Z] Step 9/19 : FROM scratch [2020-06-11T21:50:25.729Z] ---> [2020-06-11T21:50:25.729Z] Step 10/19 : ENV APP_PORT=49991 [2020-06-11T21:50:25.729Z] ---> Running in b1675d443103 [2020-06-11T21:50:25.729Z] Removing intermediate container b1675d443103 [2020-06-11T21:50:25.729Z] ---> 20bb369c46f9 [2020-06-11T21:50:25.729Z] Step 11/19 : EXPOSE $APP_PORT [2020-06-11T21:50:25.729Z] ---> Running in c93ead5f97ad [2020-06-11T21:50:25.729Z] Removing intermediate container c93ead5f97ad [2020-06-11T21:50:25.729Z] ---> d4b6abbffec2 [2020-06-11T21:50:25.729Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-06-11T21:50:25.992Z] ---> 29351e384d72 [2020-06-11T21:50:25.992Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-06-11T21:50:26.255Z] ---> 7b6d475a392e [2020-06-11T21:50:26.255Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-06-11T21:50:26.518Z] ---> e5fb0b740e60 [2020-06-11T21:50:26.518Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-06-11T21:50:26.518Z] ---> Running in 94e21deac436 [2020-06-11T21:50:26.518Z] Removing intermediate container 94e21deac436 [2020-06-11T21:50:26.518Z] ---> 547fef2b4c58 [2020-06-11T21:50:26.518Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-11T21:50:26.785Z] ---> Running in 97f89d210de6 [2020-06-11T21:50:26.785Z] Removing intermediate container 97f89d210de6 [2020-06-11T21:50:26.785Z] ---> 4afdea3e18fa [2020-06-11T21:50:26.785Z] Step 17/19 : LABEL arch=amd64 [2020-06-11T21:50:26.785Z] ---> Running in f9425a31e159 [2020-06-11T21:50:27.050Z] Removing intermediate container f9425a31e159 [2020-06-11T21:50:27.050Z] ---> 30318d7428ce [2020-06-11T21:50:27.050Z] Step 18/19 : LABEL git_sha=98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:50:27.050Z] ---> Running in 76b79f46d792 [2020-06-11T21:50:27.316Z] Removing intermediate container 76b79f46d792 [2020-06-11T21:50:27.316Z] ---> e745d992e0a4 [2020-06-11T21:50:27.316Z] Step 19/19 : LABEL version=0.0.0 [2020-06-11T21:50:27.316Z] ---> Running in 544e28ce6ef9 [2020-06-11T21:50:27.577Z] Removing intermediate container 544e28ce6ef9 [2020-06-11T21:50:27.577Z] ---> e48fb1a25a70 [2020-06-11T21:50:27.577Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T21:50:27.577Z] Successfully built e48fb1a25a70 [2020-06-11T21:50:27.577Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-06-11T21:50:27.639Z] ea1d1ca13537: Pull complete [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] { [2020-06-11T21:50:27.912Z] 3750a50a1c5e: Pull complete [2020-06-11T21:50:27.912Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-06-11T21:50:27.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-06-11T21:50:27.912Z] ---> 78745c68409d [2020-06-11T21:50:27.912Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [Pipeline] sh [2020-06-11T21:50:28.255Z] ++ find /w/workspace/device-modbus-go/2 [2020-06-11T21:50:28.255Z] ++ grep snapcraft.yaml [2020-06-11T21:50:28.255Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T21:50:28.368Z] provisioning config files... [2020-06-11T21:50:28.378Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config4076997546518012424tmp [Pipeline] { [Pipeline] sh [2020-06-11T21:50:28.698Z] + cp /w/workspace/device-modbus-go/2@tmp/config4076997546518012424tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh [2020-06-11T21:50:28.995Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-06-11T21:50:28.995Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-06-11T21:50:28.995Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-06-11T21:50:28.995Z] 5bed26d33875: Pulling fs layer [2020-06-11T21:50:28.995Z] f11b29a9c730: Pulling fs layer [2020-06-11T21:50:28.995Z] 930bda195c84: Pulling fs layer [2020-06-11T21:50:28.995Z] 78bf9a5ad49e: Pulling fs layer [2020-06-11T21:50:28.995Z] e5fbee5a4b0d: Pulling fs layer [2020-06-11T21:50:28.995Z] f452fca78f88: Pulling fs layer [2020-06-11T21:50:28.995Z] 7417ef92027a: Pulling fs layer [2020-06-11T21:50:28.995Z] 2af5c49d270b: Pulling fs layer [2020-06-11T21:50:28.995Z] df9c3bdbc40a: Pulling fs layer [2020-06-11T21:50:28.995Z] 78bf9a5ad49e: Waiting [2020-06-11T21:50:28.995Z] e5fbee5a4b0d: Waiting [2020-06-11T21:50:28.995Z] f452fca78f88: Waiting [2020-06-11T21:50:28.995Z] 7417ef92027a: Waiting [2020-06-11T21:50:28.995Z] 2af5c49d270b: Waiting [2020-06-11T21:50:28.995Z] df9c3bdbc40a: Waiting [2020-06-11T21:50:28.995Z] 930bda195c84: Verifying Checksum [2020-06-11T21:50:28.995Z] 930bda195c84: Download complete [2020-06-11T21:50:28.995Z] f11b29a9c730: Download complete [2020-06-11T21:50:28.995Z] 78bf9a5ad49e: Verifying Checksum [2020-06-11T21:50:28.995Z] 78bf9a5ad49e: Download complete [2020-06-11T21:50:28.995Z] f452fca78f88: Verifying Checksum [2020-06-11T21:50:28.995Z] f452fca78f88: Download complete [2020-06-11T21:50:28.995Z] 7417ef92027a: Download complete [2020-06-11T21:50:28.995Z] 2af5c49d270b: Verifying Checksum [2020-06-11T21:50:28.995Z] 2af5c49d270b: Download complete [2020-06-11T21:50:28.995Z] df9c3bdbc40a: Verifying Checksum [2020-06-11T21:50:28.995Z] df9c3bdbc40a: Download complete [2020-06-11T21:50:29.257Z] 5bed26d33875: Verifying Checksum [2020-06-11T21:50:29.257Z] 5bed26d33875: Download complete [2020-06-11T21:50:32.579Z] e5fbee5a4b0d: Verifying Checksum [2020-06-11T21:50:32.579Z] e5fbee5a4b0d: Download complete [2020-06-11T21:50:33.319Z] ---> Running in d9d2bfdb1f22 [2020-06-11T21:50:33.319Z] Removing intermediate container d9d2bfdb1f22 [2020-06-11T21:50:33.319Z] ---> 82b9ed2f50c1 [2020-06-11T21:50:33.319Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T21:50:33.319Z] ---> Running in fbb23d8111c1 [2020-06-11T21:50:33.522Z] 5bed26d33875: Pull complete [2020-06-11T21:50:33.522Z] f11b29a9c730: Pull complete [2020-06-11T21:50:33.786Z] 930bda195c84: Pull complete [2020-06-11T21:50:33.786Z] 78bf9a5ad49e: Pull complete [2020-06-11T21:50:35.944Z] Removing intermediate container fbb23d8111c1 [2020-06-11T21:50:35.944Z] ---> 843a47723409 [2020-06-11T21:50:35.944Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T21:50:35.944Z] ---> Running in 2fed9eb2b469 [2020-06-11T21:50:37.374Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T21:50:37.967Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T21:50:38.562Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:50:38.833Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:50:39.105Z] (3/18) Installing libmagic (5.37-r1) [2020-06-11T21:50:39.377Z] (4/18) Installing file (5.37-r1) [2020-06-11T21:50:39.377Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:50:39.649Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:50:39.649Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-06-11T21:50:52.019Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-06-11T21:50:52.019Z] (9/18) Installing g++ (9.2.0-r4) [2020-06-11T21:50:56.312Z] (10/18) Installing fortify-headers (1.1-r0) [2020-06-11T21:50:56.312Z] (11/18) Installing build-base (0.5-r1) [2020-06-11T21:50:56.312Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-06-11T21:50:56.312Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-06-11T21:50:56.312Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-06-11T21:50:56.583Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-06-11T21:50:56.583Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-06-11T21:50:56.583Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-06-11T21:50:56.853Z] (18/18) Installing openssh (8.1_p1-r0) [2020-06-11T21:50:56.853Z] Executing busybox-1.31.1-r8.trigger [2020-06-11T21:50:57.127Z] OK: 203 MiB in 52 packages [2020-06-11T21:51:00.390Z] e5fbee5a4b0d: Pull complete [2020-06-11T21:51:00.390Z] f452fca78f88: Pull complete [2020-06-11T21:51:00.390Z] 7417ef92027a: Pull complete [2020-06-11T21:51:00.390Z] 2af5c49d270b: Pull complete [2020-06-11T21:51:00.390Z] df9c3bdbc40a: Pull complete [2020-06-11T21:51:00.390Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-06-11T21:51:00.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-06-11T21:51:00.965Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-06-11T21:51:00.965Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-06-11T21:51:01.227Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-06-11T21:51:01.490Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [958 kB] [2020-06-11T21:51:01.751Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-06-11T21:51:01.751Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] [2020-06-11T21:51:01.751Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] [2020-06-11T21:51:01.751Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] [2020-06-11T21:51:02.013Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] [2020-06-11T21:51:02.013Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1392 kB] [2020-06-11T21:51:02.586Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] [2020-06-11T21:51:02.586Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] [2020-06-11T21:51:02.586Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] [2020-06-11T21:51:02.586Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-06-11T21:51:02.847Z] Fetched 4909 kB in 2s (2363 kB/s) [2020-06-11T21:51:03.843Z] Removing intermediate container 2fed9eb2b469 [2020-06-11T21:51:03.843Z] ---> 7a923eb10660 [2020-06-11T21:51:03.843Z] Step 6/8 : WORKDIR /device-modbus-go [2020-06-11T21:51:03.843Z] ---> Running in 6d246412f60e [2020-06-11T21:51:03.843Z] Removing intermediate container 6d246412f60e [2020-06-11T21:51:03.843Z] ---> 34f37aac3edb [2020-06-11T21:51:03.843Z] Step 7/8 : COPY . . [2020-06-11T21:51:04.231Z] Reading package lists... [2020-06-11T21:51:04.826Z] ---> 7a025184294c [2020-06-11T21:51:04.826Z] Step 8/8 : RUN go mod download [2020-06-11T21:51:04.826Z] ---> Running in e749419a29f4 [2020-06-11T21:51:07.449Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:51:07.449Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:51:07.449Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-06-11T21:51:07.449Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:51:07.449Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-06-11T21:51:07.449Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-06-11T21:51:07.449Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:51:07.449Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:51:07.449Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:51:07.449Z] go: finding github.com/fatih/color v1.7.0 [2020-06-11T21:51:07.449Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:51:07.449Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T21:51:07.449Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:51:07.449Z] go: finding github.com/go-stack/stack v1.8.0 [2020-06-11T21:51:07.449Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-06-11T21:51:07.449Z] go: finding github.com/goburrow/serial v0.1.0 [2020-06-11T21:51:07.449Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-06-11T21:51:07.449Z] go: finding github.com/google/uuid v1.1.1 [2020-06-11T21:51:07.449Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-06-11T21:51:07.449Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T21:51:07.449Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-06-11T21:51:07.449Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-06-11T21:51:07.449Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-06-11T21:51:07.551Z] 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-06-11T21:51:07.727Z] go: finding github.com/miekg/dns v1.1.4 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:51:07.727Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-06-11T21:51:07.727Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:51:07.727Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T21:51:07.727Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-06-11T21:51:07.727Z] go: finding github.com/posener/complete v1.1.1 [2020-06-11T21:51:07.727Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-06-11T21:51:07.727Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-06-11T21:51:07.727Z] go: finding github.com/stretchr/objx v0.1.0 [2020-06-11T21:51:07.727Z] go: finding github.com/stretchr/testify v1.5.1 [2020-06-11T21:51:07.727Z] go: finding github.com/ugorji/go v1.1.4 [2020-06-11T21:51:07.727Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T21:51:07.727Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-06-11T21:51:07.727Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-06-11T21:51:07.727Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-06-11T21:51:07.727Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-06-11T21:51:08.000Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-06-11T21:51:08.000Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:51:09.197Z] Reading package lists... [2020-06-11T21:51:09.456Z] Building dependency tree... [2020-06-11T21:51:09.456Z] Reading state information... [2020-06-11T21:51:09.717Z] The following packages were automatically installed and are no longer required: [2020-06-11T21:51:09.717Z] libjq1 liblzo2-2 libonig4 [2020-06-11T21:51:09.717Z] Use 'sudo apt autoremove' to remove them. [2020-06-11T21:51:09.717Z] Suggested packages: [2020-06-11T21:51:09.717Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-06-11T21:51:09.717Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-06-11T21:51:09.717Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-06-11T21:51:09.717Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-06-11T21:51:09.717Z] The following NEW packages will be installed: [2020-06-11T21:51:09.717Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-06-11T21:51:09.717Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-06-11T21:51:09.717Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-06-11T21:51:09.717Z] openssh-client patch perl perl-modules-5.26 xauth [2020-06-11T21:51:09.978Z] 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. [2020-06-11T21:51:09.978Z] Need to get 14.7 MB of archives. [2020-06-11T21:51:09.978Z] After this operation, 89.5 MB of additional disk space will be used. [2020-06-11T21:51:09.978Z] Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] [2020-06-11T21:51:10.239Z] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] [2020-06-11T21:51:10.501Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] [2020-06-11T21:51:10.501Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] [2020-06-11T21:51:10.501Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-06-11T21:51:10.762Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] [2020-06-11T21:51:11.028Z] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] [2020-06-11T21:51:11.028Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-06-11T21:51:11.291Z] Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-06-11T21:51:11.291Z] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-06-11T21:51:11.291Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-06-11T21:51:11.551Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-06-11T21:51:11.551Z] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-06-11T21:51:11.551Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] [2020-06-11T21:51:11.551Z] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-06-11T21:51:11.551Z] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] [2020-06-11T21:51:11.551Z] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] [2020-06-11T21:51:11.814Z] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] [2020-06-11T21:51:11.814Z] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] [2020-06-11T21:51:11.814Z] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] [2020-06-11T21:51:11.814Z] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] [2020-06-11T21:51:11.814Z] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] [2020-06-11T21:51:11.814Z] Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-06-11T21:51:11.814Z] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-06-11T21:51:12.077Z] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-06-11T21:51:12.649Z] Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-06-11T21:51:12.649Z] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-06-11T21:51:12.911Z] debconf: delaying package configuration, since apt-utils is not installed [2020-06-11T21:51:13.172Z] Fetched 14.7 MB in 3s (5038 kB/s) [2020-06-11T21:51:13.172Z] Selecting previously unselected package libxau6:amd64. [2020-06-11T21:51:13.172Z] (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-06-11T21:51:13.172Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... [2020-06-11T21:51:13.172Z] Unpacking libxau6:amd64 (1:1.0.8-1) ... [2020-06-11T21:51:13.432Z] Selecting previously unselected package libbsd0:amd64. [2020-06-11T21:51:13.432Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... [2020-06-11T21:51:13.432Z] Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-06-11T21:51:13.432Z] Selecting previously unselected package libxdmcp6:amd64. [2020-06-11T21:51:13.432Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... [2020-06-11T21:51:13.432Z] Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... [2020-06-11T21:51:13.433Z] Selecting previously unselected package libxcb1:amd64. [2020-06-11T21:51:13.433Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... [2020-06-11T21:51:13.433Z] Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-06-11T21:51:13.695Z] Selecting previously unselected package libx11-data. [2020-06-11T21:51:13.695Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-06-11T21:51:13.695Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:51:14.270Z] Selecting previously unselected package libx11-6:amd64. [2020-06-11T21:51:14.270Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... [2020-06-11T21:51:14.270Z] Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:51:14.270Z] Selecting previously unselected package libxext6:amd64. [2020-06-11T21:51:14.270Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... [2020-06-11T21:51:14.270Z] Unpacking libxext6:amd64 (2:1.3.3-1) ... [2020-06-11T21:51:14.531Z] Selecting previously unselected package perl-modules-5.26. [2020-06-11T21:51:14.531Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-06-11T21:51:14.531Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:17.079Z] Selecting previously unselected package libgdbm5:amd64. [2020-06-11T21:51:17.079Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... [2020-06-11T21:51:17.079Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-06-11T21:51:17.341Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-06-11T21:51:17.341Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-06-11T21:51:17.341Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-06-11T21:51:17.341Z] Selecting previously unselected package libperl5.26:amd64. [2020-06-11T21:51:17.341Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-06-11T21:51:17.341Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:18.156Z] Removing intermediate container e749419a29f4 [2020-06-11T21:51:18.156Z] ---> 517109fa2385 [2020-06-11T21:51:18.156Z] Successfully built 517109fa2385 [2020-06-11T21:51:18.156Z] 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-06-11T21:51:18.727Z] Selecting previously unselected package perl. [2020-06-11T21:51:18.727Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-06-11T21:51:18.727Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:18.731Z] + docker inspect -f . ci-base-image-arm64 [2020-06-11T21:51:18.731Z] . [Pipeline] withDockerContainer [2020-06-11T21:51:18.988Z] Selecting previously unselected package less. [2020-06-11T21:51:18.988Z] Preparing to unpack .../12-less_487-0.1_amd64.deb ... [2020-06-11T21:51:18.988Z] Unpacking less (487-0.1) ... [2020-06-11T21:51:18.988Z] Selecting previously unselected package libexpat1:amd64. [2020-06-11T21:51:18.988Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... [2020-06-11T21:51:18.988Z] Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-06-11T21:51:18.988Z] Selecting previously unselected package netbase. [2020-06-11T21:51:18.988Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-06-11T21:51:18.988Z] Unpacking netbase (5.4) ... [2020-06-11T21:51:19.007Z] prd-ubuntu18.04-docker-arm64-4c-16g-2637 does not seem to be running inside a container [2020-06-11T21:51:19.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-06-11T21:51:19.249Z] Selecting previously unselected package libedit2:amd64. [2020-06-11T21:51:19.249Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... [2020-06-11T21:51:19.249Z] Unpacking libedit2:amd64 (3.1-20170329-1) ... [2020-06-11T21:51:19.249Z] Selecting previously unselected package libssl1.0.0:amd64. [2020-06-11T21:51:19.249Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... [2020-06-11T21:51:19.249Z] Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [2020-06-11T21:51:19.509Z] Selecting previously unselected package libxmuu1:amd64. [2020-06-11T21:51:19.509Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... [2020-06-11T21:51:19.509Z] Unpacking libxmuu1:amd64 (2:1.1.2-2) ... [2020-06-11T21:51:19.509Z] Selecting previously unselected package openssh-client. [2020-06-11T21:51:19.509Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... [2020-06-11T21:51:19.509Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-06-11T21:51:19.771Z] Selecting previously unselected package xauth. [2020-06-11T21:51:19.771Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... [2020-06-11T21:51:19.771Z] Unpacking xauth (1:1.0.10-1) ... [2020-06-11T21:51:19.771Z] Selecting previously unselected package curl. [2020-06-11T21:51:19.771Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... [2020-06-11T21:51:19.771Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-06-11T21:51:19.771Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-06-11T21:51:19.771Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... [2020-06-11T21:51:19.771Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-06-11T21:51:20.033Z] Selecting previously unselected package liberror-perl. [2020-06-11T21:51:20.033Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-06-11T21:51:20.033Z] Unpacking liberror-perl (0.17025-1) ... [2020-06-11T21:51:20.033Z] Selecting previously unselected package git-man. [2020-06-11T21:51:20.033Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-06-11T21:51:20.033Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:51:20.033Z] Selecting previously unselected package git. [2020-06-11T21:51:20.033Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-06-11T21:51:20.293Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:51:20.870Z] Selecting previously unselected package make. [2020-06-11T21:51:20.870Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... [2020-06-11T21:51:20.870Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-06-11T21:51:20.870Z] Selecting previously unselected package patch. [2020-06-11T21:51:20.870Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-06-11T21:51:20.870Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-06-11T21:51:20.870Z] Setting up libedit2:amd64 (3.1-20170329-1) ... [2020-06-11T21:51:20.870Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:51:20.870Z] Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... [2020-06-11T21:51:20.870Z] Setting up less (487-0.1) ... [2020-06-11T21:51:20.863Z] $ docker top 1b981b17f49d4d15dfcddca52fc5c60abb15863c36c40348adf230f57b46a566 -eo pid,comm [2020-06-11T21:51:21.130Z] Setting up make (4.1-9.1ubuntu1) ... [2020-06-11T21:51:21.130Z] Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [Pipeline] { [Pipeline] sh [2020-06-11T21:51:21.390Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-06-11T21:51:21.390Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... [2020-06-11T21:51:21.390Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:21.390Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-06-11T21:51:21.390Z] Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... [2020-06-11T21:51:21.390Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-06-11T21:51:21.390Z] Setting up libxdmcp6:amd64 (1:1.1.2-3) ... [2020-06-11T21:51:21.390Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-06-11T21:51:21.390Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-06-11T21:51:21.651Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:51:21.651Z] Setting up libxau6:amd64 (1:1.0.8-1) ... [2020-06-11T21:51:21.651Z] Setting up netbase (5.4) ... [2020-06-11T21:51:21.911Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:21.911Z] Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... [2020-06-11T21:51:21.911Z] Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:51:21.911Z] Setting up libxmuu1:amd64 (2:1.1.2-2) ... [2020-06-11T21:51:21.911Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-06-11T21:51:21.911Z] Setting up libxext6:amd64 (2:1.3.3-1) ... [2020-06-11T21:51:21.911Z] Setting up liberror-perl (0.17025-1) ... [2020-06-11T21:51:21.911Z] Setting up xauth (1:1.0.10-1) ... [2020-06-11T21:51:21.911Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:51:22.172Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-06-11T21:51:22.257Z] + go version [2020-06-11T21:51:22.257Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-06-11T21:51:23.307Z] + make test [2020-06-11T21:51:23.307Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-06-11T21:51:24.083Z] curl set to automatically installed. [2020-06-11T21:51:24.083Z] git set to automatically installed. [2020-06-11T21:51:24.083Z] git-man set to automatically installed. [2020-06-11T21:51:24.083Z] less set to automatically installed. [2020-06-11T21:51:24.083Z] libbsd0 set to automatically installed. [2020-06-11T21:51:24.083Z] libcurl3-gnutls set to automatically installed. [2020-06-11T21:51:24.084Z] libedit2 set to automatically installed. [2020-06-11T21:51:24.084Z] liberror-perl set to automatically installed. [2020-06-11T21:51:24.084Z] libexpat1 set to automatically installed. [2020-06-11T21:51:24.084Z] libgdbm-compat4 set to automatically installed. [2020-06-11T21:51:24.084Z] libgdbm5 set to automatically installed. [2020-06-11T21:51:24.084Z] libperl5.26 set to automatically installed. [2020-06-11T21:51:24.084Z] libssl1.0.0 set to automatically installed. [2020-06-11T21:51:24.084Z] libx11-6 set to automatically installed. [2020-06-11T21:51:24.084Z] libx11-data set to automatically installed. [2020-06-11T21:51:24.084Z] libxau6 set to automatically installed. [2020-06-11T21:51:24.084Z] libxcb1 set to automatically installed. [2020-06-11T21:51:24.084Z] libxdmcp6 set to automatically installed. [2020-06-11T21:51:24.084Z] libxext6 set to automatically installed. [2020-06-11T21:51:24.084Z] libxmuu1 set to automatically installed. [2020-06-11T21:51:24.084Z] make set to automatically installed. [2020-06-11T21:51:24.084Z] netbase set to automatically installed. [2020-06-11T21:51:24.084Z] openssh-client set to automatically installed. [2020-06-11T21:51:24.084Z] patch set to automatically installed. [2020-06-11T21:51:24.084Z] perl set to automatically installed. [2020-06-11T21:51:24.084Z] perl-modules-5.26 set to automatically installed. [2020-06-11T21:51:24.084Z] xauth set to automatically installed. [2020-06-11T21:51:24.084Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-06-11T21:51:24.084Z] Please ensure the environment is properly setup before continuing. [2020-06-11T21:51:24.084Z] Ignore this message if the appropriate measures have already been taken [2020-06-11T21:51:24.295Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-06-11T21:51:24.654Z] Pulling go [2020-06-11T21:51:25.603Z] 'device-modbus' has dependencies that need to be staged: go [2020-06-11T21:51:25.603Z] Skipping pull go (already ran) [2020-06-11T21:51:25.603Z] Building go [2020-06-11T21:51:25.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-06-11T21:51:25.603Z] Dload Upload Total Spent Left Speed [2020-06-11T21:51:27.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 114M 4 5503k 0 0 13.3M 0 0:00:08 --:--:-- 0:00:08 13.2M 60 114M 60 69.5M 0 0 52.7M 0 0:00:02 0:00:01 0:00:01 52.7M 100 114M 100 114M 0 0 52.1M 0 0:00:02 0:00:02 --:--:-- 52.2M [2020-06-11T21:51:28.706Z] go1.13.5.linux-amd64.tar.gz: OK [2020-06-11T21:51:36.861Z] Staging go [2020-06-11T21:51:37.123Z] Pulling device-modbus [2020-06-11T21:51:38.075Z] Skipping build go (already ran) [2020-06-11T21:51:38.075Z] Building device-modbus [2020-06-11T21:51:38.336Z] 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-06-11T21:51:39.282Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:51:39.282Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-06-11T21:51:39.282Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:51:39.282Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-06-11T21:51:39.282Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-06-11T21:51:39.282Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:51:39.282Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:51:39.282Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-06-11T21:51:39.282Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-06-11T21:51:39.282Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:51:39.282Z] go: downloading github.com/pkg/errors v0.8.1 [2020-06-11T21:51:39.543Z] go: extracting github.com/pkg/errors v0.8.1 [2020-06-11T21:51:39.543Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-06-11T21:51:39.543Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:51:39.543Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:51:39.543Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:51:39.543Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:51:39.543Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-06-11T21:51:39.543Z] go: downloading github.com/google/uuid v1.1.1 [2020-06-11T21:51:39.543Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:51:39.543Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:51:39.543Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:51:39.543Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:51:39.543Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:51:39.543Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:51:39.543Z] go: extracting github.com/google/uuid v1.1.1 [2020-06-11T21:51:39.543Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:51:39.543Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:51:39.543Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:51:39.543Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:51:39.543Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:51:39.543Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:51:39.543Z] go: downloading github.com/x448/float16 v0.8.4 [2020-06-11T21:51:39.543Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:51:39.543Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:51:39.543Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-06-11T21:51:39.543Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:51:39.544Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:51:39.544Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:51:39.544Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:51:39.544Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:51:39.544Z] go: extracting github.com/x448/float16 v0.8.4 [2020-06-11T21:51:39.544Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:51:39.544Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:51:39.544Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:51:39.544Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:51:39.544Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-06-11T21:51:39.544Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:51:39.544Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:51:39.544Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:51:39.544Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:51:39.806Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:51:39.806Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:51:39.806Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:51:39.806Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:51:39.806Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-06-11T21:51:39.806Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:51:39.806Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:51:39.806Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:51:39.806Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:51:39.806Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:51:39.806Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:51:39.806Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-06-11T21:51:39.806Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T21:51:39.806Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:51:39.806Z] go: finding github.com/goburrow/serial v0.1.0 [2020-06-11T21:51:39.806Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T21:51:39.806Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:51:39.806Z] go: finding github.com/google/uuid v1.1.1 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:51:39.806Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T21:51:39.806Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:51:39.806Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:51:39.806Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:51:39.806Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T21:51:39.806Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:51:39.806Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:51:39.806Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:51:39.806Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:51:39.806Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:51:40.098Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:51:40.099Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:51:40.099Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T21:51:40.099Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:51:40.099Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:51:40.099Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:51:40.099Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:51:40.099Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:51:40.099Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:51:50.208Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T21:51:53.510Z] Skipping stage go (already ran) [2020-06-11T21:51:53.510Z] Staging device-modbus [2020-06-11T21:51:54.453Z] Priming go [2020-06-11T21:51:55.395Z] Priming device-modbus [2020-06-11T21:51:55.967Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-06-11T21:51:55.967Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-06-11T21:51:55.967Z] Determining the version from the project repo (version-script). [2020-06-11T21:51:55.967Z] The version has been set to '0.0.0-20200611+98b52d9' [2020-06-11T21:51:56.231Z] Snapping 'edgex-device-modbus' ... [2020-06-11T21:51:56.672Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-06-11T21:51:56.672Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.229s coverage: 50.3% of statements [2020-06-11T21:51:56.672Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-06-11T21:51:57.236Z] [2020-06-11T21:51:57.236Z] Snapped edgex-device-modbus_0.0.0-20200611+98b52d9_amd64.snap [Pipeline] } [2020-06-11T21:51:58.191Z] 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-06-11T21:51:58.649Z] gofmt -l . [2020-06-11T21:51:58.649Z] [ "`gofmt -l .`" = "" ] [2020-06-11T21:51:58.649Z] ./bin/test-attribution-txt.sh [2020-06-11T21:51:59.266Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-06-11T21:51:59.881Z] Warning: overwriting stash ‘coverage-report’ [2020-06-11T21:52:00.277Z] Stashed 1 file(s) [Pipeline] } [2020-06-11T21:52:00.244Z] $ docker stop --time=1 1b981b17f49d4d15dfcddca52fc5c60abb15863c36c40348adf230f57b46a566 [2020-06-11T21:52:02.461Z] $ docker rm -f 1b981b17f49d4d15dfcddca52fc5c60abb15863c36c40348adf230f57b46a566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-06-11T21:52:03.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-06-11T21:52:03.853Z] + ls -al . [2020-06-11T21:52:03.853Z] total 136 [2020-06-11T21:52:03.853Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 11 21:51 . [2020-06-11T21:52:03.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 21:49 .. [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 21:49 .dockerignore [2020-06-11T21:52:03.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 21:49 .git [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 330 Jun 11 21:49 .gitignore [2020-06-11T21:52:03.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 21:49 .semver [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 5049 Jun 11 21:49 Attribution.txt [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 1422 Jun 11 21:49 Dockerfile [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 954 Jun 11 21:49 Dockerfile.build [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 702 Jun 11 21:49 Jenkinsfile [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 21:49 LICENSE [2020-06-11T21:52:03.853Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 11 21:49 Makefile [2020-06-11T21:52:03.854Z] -rw-rw-r-- 1 jenkins jenkins 591 Jun 11 21:49 README.md [2020-06-11T21:52:03.854Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 21:45 VERSION [2020-06-11T21:52:03.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 21:49 bin [2020-06-11T21:52:03.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 21:49 cmd [2020-06-11T21:52:03.854Z] -rw-r--r-- 1 jenkins jenkins 22123 Jun 11 21:51 coverage.out [2020-06-11T21:52:03.854Z] -rw-r--r-- 1 jenkins jenkins 559 Jun 11 21:51 go.mod [2020-06-11T21:52:03.854Z] -rw-r--r-- 1 jenkins jenkins 13471 Jun 11 21:51 go.sum [2020-06-11T21:52:03.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 21:49 internal [2020-06-11T21:52:03.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 21:49 simulator [2020-06-11T21:52:03.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 21:49 snap [2020-06-11T21:52:03.854Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 11 21:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:52:04.192Z] + 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=98b52d9584e04c01e40368f8367c2648e1414356 --label arch=arm64 --label version=0.0.0 . [2020-06-11T21:52:04.465Z] Sending build context to Docker daemon 629.8kB [2020-06-11T21:52:04.465Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-06-11T21:52:04.465Z] Step 2/19 : FROM ${BASE} AS builder [2020-06-11T21:52:04.465Z] ---> 517109fa2385 [2020-06-11T21:52:04.465Z] Step 3/19 : ARG MAKE='make build' [2020-06-11T21:52:04.740Z] ---> Running in 05bddfa7ebc7 [2020-06-11T21:52:05.341Z] Removing intermediate container 05bddfa7ebc7 [2020-06-11T21:52:05.341Z] ---> 6e9b88d59cd0 [2020-06-11T21:52:05.341Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-06-11T21:52:05.341Z] ---> Running in f4f0d35fbd0f [2020-06-11T21:52:07.970Z] Removing intermediate container f4f0d35fbd0f [2020-06-11T21:52:07.970Z] ---> 5d32f5312952 [2020-06-11T21:52:07.970Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-06-11T21:52:07.970Z] ---> Running in f0581ff7a1ba [2020-06-11T21:52:09.407Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-06-11T21:52:09.997Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-06-11T21:52:10.588Z] OK: 203 MiB in 52 packages [2020-06-11T21:52:12.022Z] Removing intermediate container f0581ff7a1ba [2020-06-11T21:52:12.022Z] ---> b9ee7eaff7c3 [2020-06-11T21:52:12.022Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-06-11T21:52:12.022Z] ---> Running in 984c93f04996 [2020-06-11T21:52:12.296Z] Removing intermediate container 984c93f04996 [2020-06-11T21:52:12.296Z] ---> 9cdfd08ab595 [2020-06-11T21:52:12.296Z] Step 7/19 : COPY . . [2020-06-11T21:52:13.274Z] ---> 4e932ac10e78 [2020-06-11T21:52:13.274Z] Step 8/19 : RUN ${MAKE} [2020-06-11T21:52:13.548Z] ---> Running in 89c14e7e91fe [2020-06-11T21:52:14.990Z] 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-06-11T21:52:41.793Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T21:52:44.406Z] Removing intermediate container 89c14e7e91fe [2020-06-11T21:52:44.406Z] ---> da24bed74587 [2020-06-11T21:52:44.406Z] Step 9/19 : FROM scratch [2020-06-11T21:52:44.407Z] ---> [2020-06-11T21:52:44.407Z] Step 10/19 : ENV APP_PORT=49991 [2020-06-11T21:52:44.680Z] ---> Running in 56187ddaa0e3 [2020-06-11T21:52:44.952Z] Removing intermediate container 56187ddaa0e3 [2020-06-11T21:52:44.952Z] ---> 919008ab4459 [2020-06-11T21:52:44.952Z] Step 11/19 : EXPOSE $APP_PORT [2020-06-11T21:52:45.222Z] ---> Running in 2c2ea7021c86 [2020-06-11T21:52:45.493Z] Removing intermediate container 2c2ea7021c86 [2020-06-11T21:52:45.493Z] ---> 29e27b29675f [2020-06-11T21:52:45.493Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-06-11T21:52:46.472Z] ---> c50b1815cebf [2020-06-11T21:52:46.472Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-06-11T21:52:47.450Z] ---> ea936d1419a2 [2020-06-11T21:52:47.450Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-06-11T21:52:48.045Z] ---> 4a1d0664e931 [2020-06-11T21:52:48.045Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-06-11T21:52:48.045Z] ---> Running in 79073e6c70c5 [2020-06-11T21:52:48.643Z] Removing intermediate container 79073e6c70c5 [2020-06-11T21:52:48.644Z] ---> 5dbfc65018da [2020-06-11T21:52:48.644Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-06-11T21:52:48.644Z] ---> Running in e88089d5de0d [2020-06-11T21:52:49.251Z] Removing intermediate container e88089d5de0d [2020-06-11T21:52:49.251Z] ---> c2b890e23963 [2020-06-11T21:52:49.251Z] Step 17/19 : LABEL arch=arm64 [2020-06-11T21:52:49.251Z] ---> Running in b3d822743994 [2020-06-11T21:52:49.845Z] Removing intermediate container b3d822743994 [2020-06-11T21:52:49.845Z] ---> 65b0370184bb [2020-06-11T21:52:49.845Z] Step 18/19 : LABEL git_sha=98b52d9584e04c01e40368f8367c2648e1414356 [2020-06-11T21:52:49.845Z] ---> Running in 8aaa47dffc39 [2020-06-11T21:52:50.120Z] Removing intermediate container 8aaa47dffc39 [2020-06-11T21:52:50.120Z] ---> 92b124693727 [2020-06-11T21:52:50.120Z] Step 19/19 : LABEL version=0.0.0 [2020-06-11T21:52:50.396Z] ---> Running in 29751a7672d3 [2020-06-11T21:52:50.671Z] Removing intermediate container 29751a7672d3 [2020-06-11T21:52:50.671Z] ---> 895431ad8d30 [2020-06-11T21:52:50.671Z] [Warning] One or more build-args [ARCH] were not consumed [2020-06-11T21:52:50.943Z] Successfully built 895431ad8d30 [2020-06-11T21:52:50.943Z] 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-06-11T21:52:51.565Z] + grep snapcraft.yaml [2020-06-11T21:52:51.565Z] + find /w/workspace/device-modbus-go/2 [2020-06-11T21:52:51.565Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T21:52:51.694Z] provisioning config files... [2020-06-11T21:52:51.721Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config2490549449305370991tmp [Pipeline] { [Pipeline] sh [2020-06-11T21:52:52.091Z] + cp /w/workspace/device-modbus-go/2@tmp/config2490549449305370991tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh [2020-06-11T21:52:52.430Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-06-11T21:52:52.430Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-06-11T21:52:52.430Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-06-11T21:52:52.430Z] b2f61026a351: Pulling fs layer [2020-06-11T21:52:52.430Z] 5538fb30c42c: Pulling fs layer [2020-06-11T21:52:52.430Z] f0b05810781a: Pulling fs layer [2020-06-11T21:52:52.430Z] 0180a33352d6: Pulling fs layer [2020-06-11T21:52:52.430Z] e7604b0c0f53: Pulling fs layer [2020-06-11T21:52:52.430Z] db689cb83ae0: Pulling fs layer [2020-06-11T21:52:52.430Z] 6138af208834: Pulling fs layer [2020-06-11T21:52:52.430Z] 007c8e8c5d63: Pulling fs layer [2020-06-11T21:52:52.430Z] 4f7a387c642f: Pulling fs layer [2020-06-11T21:52:52.430Z] db689cb83ae0: Waiting [2020-06-11T21:52:52.430Z] 6138af208834: Waiting [2020-06-11T21:52:52.430Z] 007c8e8c5d63: Waiting [2020-06-11T21:52:52.430Z] 4f7a387c642f: Waiting [2020-06-11T21:52:52.430Z] 0180a33352d6: Waiting [2020-06-11T21:52:52.430Z] e7604b0c0f53: Waiting [2020-06-11T21:52:52.430Z] f0b05810781a: Verifying Checksum [2020-06-11T21:52:52.430Z] f0b05810781a: Download complete [2020-06-11T21:52:52.430Z] 5538fb30c42c: Verifying Checksum [2020-06-11T21:52:52.430Z] 5538fb30c42c: Download complete [2020-06-11T21:52:52.430Z] 0180a33352d6: Download complete [2020-06-11T21:52:52.706Z] db689cb83ae0: Verifying Checksum [2020-06-11T21:52:52.706Z] db689cb83ae0: Download complete [2020-06-11T21:52:52.706Z] 6138af208834: Download complete [2020-06-11T21:52:52.706Z] 007c8e8c5d63: Verifying Checksum [2020-06-11T21:52:52.706Z] 007c8e8c5d63: Download complete [2020-06-11T21:52:52.706Z] 4f7a387c642f: Verifying Checksum [2020-06-11T21:52:52.706Z] 4f7a387c642f: Download complete [2020-06-11T21:52:53.301Z] b2f61026a351: Download complete [2020-06-11T21:52:55.922Z] b2f61026a351: Pull complete [2020-06-11T21:52:56.200Z] 5538fb30c42c: Pull complete [2020-06-11T21:52:56.474Z] f0b05810781a: Pull complete [2020-06-11T21:52:57.071Z] 0180a33352d6: Pull complete [2020-06-11T21:53:00.518Z] e7604b0c0f53: Download complete [2020-06-11T21:53:32.919Z] e7604b0c0f53: Pull complete [2020-06-11T21:53:32.919Z] db689cb83ae0: Pull complete [2020-06-11T21:53:32.919Z] 6138af208834: Pull complete [2020-06-11T21:53:32.919Z] 007c8e8c5d63: Pull complete [2020-06-11T21:53:32.919Z] 4f7a387c642f: Pull complete [2020-06-11T21:53:32.919Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-06-11T21:53:32.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-06-11T21:53:39.632Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-06-11T21:53:39.632Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-06-11T21:53:39.632Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-06-11T21:53:39.905Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-06-11T21:53:39.905Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] [2020-06-11T21:53:40.178Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] [2020-06-11T21:53:40.178Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [879 kB] [2020-06-11T21:53:41.152Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1233 kB] [2020-06-11T21:53:42.121Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-06-11T21:53:42.121Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] [2020-06-11T21:53:42.121Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [606 kB] [2020-06-11T21:53:42.713Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [756 kB] [2020-06-11T21:53:43.305Z] Fetched 3747 kB in 4s (850 kB/s) [2020-06-11T21:53:47.594Z] Reading package lists... [2020-06-11T21:53:59.963Z] 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-06-11T21:54:04.256Z] Reading package lists... [2020-06-11T21:54:04.850Z] Building dependency tree... [2020-06-11T21:54:04.850Z] Reading state information... [2020-06-11T21:54:05.445Z] The following packages were automatically installed and are no longer required: [2020-06-11T21:54:05.716Z] libjq1 liblzo2-2 libonig4 [2020-06-11T21:54:05.716Z] Use 'sudo apt autoremove' to remove them. [2020-06-11T21:54:05.716Z] Suggested packages: [2020-06-11T21:54:05.716Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-06-11T21:54:05.716Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc [2020-06-11T21:54:05.716Z] keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc [2020-06-11T21:54:05.716Z] libterm-readline-gnu-perl | libterm-readline-perl-perl [2020-06-11T21:54:05.987Z] The following NEW packages will be installed: [2020-06-11T21:54:05.987Z] curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl [2020-06-11T21:54:05.987Z] libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 [2020-06-11T21:54:05.987Z] libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase [2020-06-11T21:54:05.987Z] openssh-client patch perl perl-modules-5.26 xauth [2020-06-11T21:54:06.258Z] 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. [2020-06-11T21:54:06.258Z] Need to get 12.9 MB of archives. [2020-06-11T21:54:06.258Z] After this operation, 84.2 MB of additional disk space will be used. [2020-06-11T21:54:06.258Z] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] [2020-06-11T21:54:06.529Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] [2020-06-11T21:54:06.801Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] [2020-06-11T21:54:06.801Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] [2020-06-11T21:54:06.801Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] [2020-06-11T21:54:07.071Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] [2020-06-11T21:54:07.343Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] [2020-06-11T21:54:07.613Z] 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-06-11T21:54:10.216Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-06-11T21:54:10.216Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-06-11T21:54:10.216Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-06-11T21:54:12.821Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-06-11T21:54:13.092Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-06-11T21:54:13.092Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] [2020-06-11T21:54:13.092Z] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-06-11T21:54:13.092Z] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] [2020-06-11T21:54:13.092Z] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] [2020-06-11T21:54:14.064Z] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] [2020-06-11T21:54:14.064Z] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] [2020-06-11T21:54:14.335Z] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] [2020-06-11T21:54:14.335Z] Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] [2020-06-11T21:54:14.335Z] Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] [2020-06-11T21:54:14.607Z] Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-06-11T21:54:14.607Z] Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-06-11T21:54:15.201Z] Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-06-11T21:54:17.164Z] Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-06-11T21:54:17.438Z] Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-06-11T21:54:18.034Z] debconf: delaying package configuration, since apt-utils is not installed [2020-06-11T21:54:18.034Z] Fetched 12.9 MB in 11s (1135 kB/s) [2020-06-11T21:54:18.306Z] Selecting previously unselected package libxau6:arm64. [2020-06-11T21:54:18.307Z] (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-06-11T21:54:18.307Z] Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... [2020-06-11T21:54:18.307Z] Unpacking libxau6:arm64 (1:1.0.8-1) ... [2020-06-11T21:54:18.307Z] Selecting previously unselected package libbsd0:arm64. [2020-06-11T21:54:18.307Z] Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... [2020-06-11T21:54:18.307Z] Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-06-11T21:54:18.580Z] Selecting previously unselected package libxdmcp6:arm64. [2020-06-11T21:54:18.580Z] Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... [2020-06-11T21:54:18.580Z] Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... [2020-06-11T21:54:18.580Z] Selecting previously unselected package libxcb1:arm64. [2020-06-11T21:54:18.580Z] Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... [2020-06-11T21:54:18.580Z] Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-06-11T21:54:18.854Z] Selecting previously unselected package libx11-data. [2020-06-11T21:54:18.854Z] Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... [2020-06-11T21:54:18.854Z] Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:54:19.125Z] Selecting previously unselected package libx11-6:arm64. [2020-06-11T21:54:19.125Z] Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... [2020-06-11T21:54:19.125Z] Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:54:19.398Z] Selecting previously unselected package libxext6:arm64. [2020-06-11T21:54:19.398Z] Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... [2020-06-11T21:54:19.398Z] Unpacking libxext6:arm64 (2:1.3.3-1) ... [2020-06-11T21:54:19.398Z] Selecting previously unselected package perl-modules-5.26. [2020-06-11T21:54:19.398Z] Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-06-11T21:54:19.398Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:20.827Z] Selecting previously unselected package libgdbm5:arm64. [2020-06-11T21:54:20.827Z] Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... [2020-06-11T21:54:20.827Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-06-11T21:54:21.098Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-06-11T21:54:21.098Z] Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-06-11T21:54:21.098Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-06-11T21:54:21.098Z] Selecting previously unselected package libperl5.26:arm64. [2020-06-11T21:54:21.098Z] Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-06-11T21:54:21.098Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:22.531Z] Selecting previously unselected package perl. [2020-06-11T21:54:22.531Z] Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-06-11T21:54:22.531Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:22.531Z] Selecting previously unselected package less. [2020-06-11T21:54:22.531Z] Preparing to unpack .../12-less_487-0.1_arm64.deb ... [2020-06-11T21:54:22.531Z] Unpacking less (487-0.1) ... [2020-06-11T21:54:22.804Z] Selecting previously unselected package libexpat1:arm64. [2020-06-11T21:54:22.804Z] Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... [2020-06-11T21:54:22.804Z] Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-06-11T21:54:22.804Z] Selecting previously unselected package netbase. [2020-06-11T21:54:22.804Z] Preparing to unpack .../14-netbase_5.4_all.deb ... [2020-06-11T21:54:22.804Z] Unpacking netbase (5.4) ... [2020-06-11T21:54:23.075Z] Selecting previously unselected package libedit2:arm64. [2020-06-11T21:54:23.075Z] Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... [2020-06-11T21:54:23.075Z] Unpacking libedit2:arm64 (3.1-20170329-1) ... [2020-06-11T21:54:23.075Z] Selecting previously unselected package libssl1.0.0:arm64. [2020-06-11T21:54:23.075Z] Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... [2020-06-11T21:54:23.075Z] Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-06-11T21:54:23.666Z] Selecting previously unselected package libxmuu1:arm64. [2020-06-11T21:54:23.666Z] Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... [2020-06-11T21:54:23.666Z] Unpacking libxmuu1:arm64 (2:1.1.2-2) ... [2020-06-11T21:54:23.666Z] Selecting previously unselected package openssh-client. [2020-06-11T21:54:23.666Z] Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... [2020-06-11T21:54:23.666Z] Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-06-11T21:54:23.937Z] Selecting previously unselected package xauth. [2020-06-11T21:54:23.937Z] Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... [2020-06-11T21:54:23.937Z] Unpacking xauth (1:1.0.10-1) ... [2020-06-11T21:54:23.937Z] Selecting previously unselected package curl. [2020-06-11T21:54:23.937Z] Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... [2020-06-11T21:54:23.937Z] Unpacking curl (7.58.0-2ubuntu3.8) ... [2020-06-11T21:54:24.209Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-06-11T21:54:24.209Z] Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... [2020-06-11T21:54:24.209Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-06-11T21:54:24.209Z] Selecting previously unselected package liberror-perl. [2020-06-11T21:54:24.209Z] Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... [2020-06-11T21:54:24.482Z] Unpacking liberror-perl (0.17025-1) ... [2020-06-11T21:54:24.482Z] Selecting previously unselected package git-man. [2020-06-11T21:54:24.482Z] Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-06-11T21:54:24.482Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:54:24.753Z] Selecting previously unselected package git. [2020-06-11T21:54:24.753Z] Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-06-11T21:54:24.753Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:54:26.185Z] Selecting previously unselected package make. [2020-06-11T21:54:26.185Z] Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... [2020-06-11T21:54:26.186Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-06-11T21:54:26.186Z] Selecting previously unselected package patch. [2020-06-11T21:54:26.186Z] Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-06-11T21:54:26.186Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-06-11T21:54:26.458Z] Setting up libedit2:arm64 (3.1-20170329-1) ... [2020-06-11T21:54:26.730Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:54:26.730Z] Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... [2020-06-11T21:54:26.730Z] Setting up less (487-0.1) ... [2020-06-11T21:54:27.002Z] Setting up make (4.1-9.1ubuntu1) ... [2020-06-11T21:54:27.002Z] Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... [2020-06-11T21:54:27.598Z] Setting up curl (7.58.0-2ubuntu3.8) ... [2020-06-11T21:54:27.598Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... [2020-06-11T21:54:27.598Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:27.598Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-06-11T21:54:27.598Z] Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... [2020-06-11T21:54:27.598Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-06-11T21:54:27.598Z] Setting up libxdmcp6:arm64 (1:1.1.2-3) ... [2020-06-11T21:54:27.598Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-06-11T21:54:27.870Z] Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... [2020-06-11T21:54:28.144Z] Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:54:28.144Z] Setting up libxau6:arm64 (1:1.0.8-1) ... [2020-06-11T21:54:28.144Z] Setting up netbase (5.4) ... [2020-06-11T21:54:28.144Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:28.419Z] Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... [2020-06-11T21:54:28.419Z] Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... [2020-06-11T21:54:28.419Z] Setting up libxmuu1:arm64 (2:1.1.2-2) ... [2020-06-11T21:54:28.419Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-06-11T21:54:28.419Z] Setting up libxext6:arm64 (2:1.3.3-1) ... [2020-06-11T21:54:28.419Z] Setting up liberror-perl (0.17025-1) ... [2020-06-11T21:54:28.693Z] Setting up xauth (1:1.0.10-1) ... [2020-06-11T21:54:28.693Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-06-11T21:54:28.693Z] Processing triggers for libc-bin (2.27-3ubuntu1) ... [2020-06-11T21:54:35.819Z] curl set to automatically installed. [2020-06-11T21:54:35.819Z] git set to automatically installed. [2020-06-11T21:54:35.819Z] git-man set to automatically installed. [2020-06-11T21:54:35.819Z] less set to automatically installed. [2020-06-11T21:54:35.819Z] libbsd0 set to automatically installed. [2020-06-11T21:54:35.819Z] libcurl3-gnutls set to automatically installed. [2020-06-11T21:54:35.819Z] libedit2 set to automatically installed. [2020-06-11T21:54:35.819Z] liberror-perl set to automatically installed. [2020-06-11T21:54:35.819Z] libexpat1 set to automatically installed. [2020-06-11T21:54:35.819Z] libgdbm-compat4 set to automatically installed. [2020-06-11T21:54:35.819Z] libgdbm5 set to automatically installed. [2020-06-11T21:54:35.819Z] libperl5.26 set to automatically installed. [2020-06-11T21:54:35.819Z] libssl1.0.0 set to automatically installed. [2020-06-11T21:54:35.819Z] libx11-6 set to automatically installed. [2020-06-11T21:54:35.819Z] libx11-data set to automatically installed. [2020-06-11T21:54:35.819Z] libxau6 set to automatically installed. [2020-06-11T21:54:35.819Z] libxcb1 set to automatically installed. [2020-06-11T21:54:35.819Z] libxdmcp6 set to automatically installed. [2020-06-11T21:54:35.819Z] libxext6 set to automatically installed. [2020-06-11T21:54:35.819Z] libxmuu1 set to automatically installed. [2020-06-11T21:54:35.819Z] make set to automatically installed. [2020-06-11T21:54:35.819Z] netbase set to automatically installed. [2020-06-11T21:54:35.819Z] openssh-client set to automatically installed. [2020-06-11T21:54:35.819Z] patch set to automatically installed. [2020-06-11T21:54:35.819Z] perl set to automatically installed. [2020-06-11T21:54:35.819Z] perl-modules-5.26 set to automatically installed. [2020-06-11T21:54:35.819Z] xauth set to automatically installed. [2020-06-11T21:54:35.819Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-06-11T21:54:35.819Z] Please ensure the environment is properly setup before continuing. [2020-06-11T21:54:35.819Z] Ignore this message if the appropriate measures have already been taken [2020-06-11T21:54:36.791Z] Pulling go [2020-06-11T21:54:40.169Z] 'device-modbus' has dependencies that need to be staged: go [2020-06-11T21:54:40.169Z] Skipping pull go (already ran) [2020-06-11T21:54:40.169Z] Building go [2020-06-11T21:54:40.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-06-11T21:54:40.169Z] Dload Upload Total Spent Left Speed [2020-06-11T21:54:41.700Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 12 93.0M 12 12.0M 0 0 23.9M 0 0:00:03 --:--:-- 0:00:03 23.9M 71 93.0M 71 66.3M 0 0 44.5M 0 0:00:02 0:00:01 0:00:01 44.5M 100 93.0M 100 93.0M 0 0 47.6M 0 0:00:01 0:00:01 --:--:-- 47.6M [2020-06-11T21:54:43.128Z] go1.13.5.linux-arm64.tar.gz: OK [2020-06-11T21:55:01.408Z] Staging go [2020-06-11T21:55:02.386Z] Pulling device-modbus [2020-06-11T21:55:04.991Z] Skipping build go (already ran) [2020-06-11T21:55:04.991Z] Building device-modbus [2020-06-11T21:55:05.263Z] 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-06-11T21:55:07.289Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:55:07.289Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:55:07.289Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-06-11T21:55:07.289Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-06-11T21:55:07.289Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-06-11T21:55:07.289Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:55:07.289Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-06-11T21:55:07.289Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:55:07.289Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-06-11T21:55:07.289Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:55:07.289Z] go: downloading github.com/google/uuid v1.1.1 [2020-06-11T21:55:07.289Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:55:07.289Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-06-11T21:55:07.580Z] go: extracting github.com/google/uuid v1.1.1 [2020-06-11T21:55:07.580Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-06-11T21:55:07.580Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:55:07.580Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:55:07.580Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:55:07.580Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:55:07.580Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:55:07.580Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:55:07.580Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:55:07.580Z] go: downloading github.com/pkg/errors v0.8.1 [2020-06-11T21:55:07.580Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:55:07.580Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:55:07.580Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:55:07.580Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:55:07.580Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:55:07.580Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:55:07.580Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-06-11T21:55:07.580Z] go: downloading github.com/x448/float16 v0.8.4 [2020-06-11T21:55:07.870Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:55:07.870Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:55:07.870Z] go: extracting github.com/x448/float16 v0.8.4 [2020-06-11T21:55:07.870Z] go: extracting github.com/pkg/errors v0.8.1 [2020-06-11T21:55:07.870Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:55:07.870Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:55:07.870Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:55:07.870Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:55:07.870Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:55:07.870Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:55:07.870Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:55:07.870Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:55:07.870Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:55:07.870Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:55:07.870Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:55:07.870Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:55:07.870Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:55:07.870Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-06-11T21:55:07.870Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:55:07.870Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:55:08.172Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:55:08.172Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:55:08.172Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-06-11T21:55:08.172Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:55:08.172Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:55:08.463Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:55:08.463Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:55:08.463Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:55:08.463Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:55:08.463Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:55:08.463Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:55:08.463Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 [2020-06-11T21:55:08.463Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-06-11T21:55:08.463Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-06-11T21:55:08.463Z] go: finding github.com/gorilla/mux v1.7.1 [2020-06-11T21:55:08.463Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-06-11T21:55:08.463Z] go: finding github.com/go-kit/kit v0.8.0 [2020-06-11T21:55:08.463Z] go: finding github.com/goburrow/serial v0.1.0 [2020-06-11T21:55:08.463Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-06-11T21:55:08.463Z] go: finding github.com/google/uuid v1.1.1 [2020-06-11T21:55:08.737Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 [2020-06-11T21:55:08.737Z] go: finding github.com/x448/float16 v0.8.4 [2020-06-11T21:55:08.737Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-06-11T21:55:08.737Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-06-11T21:55:08.737Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-06-11T21:55:08.737Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-06-11T21:55:08.737Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-06-11T21:55:08.737Z] go: finding github.com/pkg/errors v0.8.1 [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-06-11T21:55:08.737Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-06-11T21:55:08.737Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-06-11T21:55:08.737Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-06-11T21:55:08.737Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-06-11T21:55:08.737Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-06-11T21:55:08.737Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-06-11T21:55:08.737Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-06-11T21:55:08.737Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-06-11T21:55:08.737Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-06-11T21:55:35.685Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-06-11T21:55:48.036Z] Skipping stage go (already ran) [2020-06-11T21:55:48.037Z] Staging device-modbus [2020-06-11T21:55:50.643Z] Priming go [2020-06-11T21:55:53.249Z] Priming device-modbus [2020-06-11T21:55:56.634Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-06-11T21:55:56.634Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-06-11T21:55:56.634Z] Determining the version from the project repo (version-script). [2020-06-11T21:55:56.634Z] The version has been set to '0.0.0-20200611+98b52d9' [2020-06-11T21:55:56.634Z] Snapping 'edgex-device-modbus' ... [2020-06-11T21:55:59.250Z] [2020-06-11T21:55:59.250Z] Snapped edgex-device-modbus_0.0.0-20200611+98b52d9_arm64.snap [Pipeline] } [2020-06-11T21:56:01.245Z] 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-06-11T21:56:02.092Z] provisioning config files... [2020-06-11T21:56:02.104Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/config9045928896985165306tmp [Pipeline] { [Pipeline] sh [2020-06-11T21:56:02.456Z] + curl -s https://codecov.io/bash [2020-06-11T21:56:02.456Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/config9045928896985165306tmp [2020-06-11T21:56:02.718Z] [2020-06-11T21:56:02.718Z] _____ _ [2020-06-11T21:56:02.718Z] / ____| | | [2020-06-11T21:56:02.718Z] | | ___ __| | ___ ___ _____ __ [2020-06-11T21:56:02.718Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-06-11T21:56:02.718Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-06-11T21:56:02.718Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-06-11T21:56:02.718Z] Bash-20200602-f809a24 [2020-06-11T21:56:02.718Z] [2020-06-11T21:56:02.718Z] [2020-06-11T21:56:02.718Z] ==> Jenkins CI detected. [2020-06-11T21:56:02.718Z] project root: . [2020-06-11T21:56:02.718Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-06-11T21:56:02.718Z] ==> Running gcov in . (disable via -X gcov) [2020-06-11T21:56:02.718Z] ==> Python coveragepy not found [2020-06-11T21:56:02.718Z] ==> Searching for coverage reports in: [2020-06-11T21:56:02.718Z] + . [2020-06-11T21:56:02.718Z] -> Found 1 reports [2020-06-11T21:56:02.718Z] ==> Detecting git/mercurial file structure [2020-06-11T21:56:02.718Z] ==> Reading reports [2020-06-11T21:56:02.718Z] + ./coverage.out bytes=22123 [2020-06-11T21:56:02.718Z] ==> Appending adjustments [2020-06-11T21:56:02.718Z] https://docs.codecov.io/docs/fixing-reports [2020-06-11T21:56:02.718Z] + Found adjustments [2020-06-11T21:56:02.718Z] ==> Gzipping contents [2020-06-11T21:56:02.718Z] ==> Uploading reports [2020-06-11T21:56:02.718Z] url: https://codecov.io [2020-06-11T21:56:02.718Z] query: branch=PR-154&commit=98b52d9584e04c01e40368f8367c2648e1414356&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-154%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=154&job= [2020-06-11T21:56:02.978Z] -> Pinging Codecov [2020-06-11T21:56:02.978Z] https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-154&commit=98b52d9584e04c01e40368f8367c2648e1414356&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-154%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=154&job= [2020-06-11T21:56:04.898Z] -> Uploading [2020-06-11T21:56:05.158Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/98b52d9584e04c01e40368f8367c2648e1414356 [Pipeline] } [2020-06-11T21:56:05.167Z] 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-06-11T21:56:06.048Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T21:56:06.619Z] ---> package-listing.sh [2020-06-11T21:56:06.619Z] ++ facter osfamily [2020-06-11T21:56:06.619Z] ++ tr '[:upper:]' '[:lower:]' [2020-06-11T21:56:06.619Z] + OS_FAMILY=redhat [2020-06-11T21:56:06.619Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-154 [2020-06-11T21:56:06.619Z] + START_PACKAGES=/tmp/packages_start.txt [2020-06-11T21:56:06.619Z] + END_PACKAGES=/tmp/packages_end.txt [2020-06-11T21:56:06.619Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-06-11T21:56:06.619Z] + PACKAGES=/tmp/packages_start.txt [2020-06-11T21:56:06.619Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-154 ']' [2020-06-11T21:56:06.619Z] + PACKAGES=/tmp/packages_end.txt [2020-06-11T21:56:06.619Z] + case "${OS_FAMILY}" in [2020-06-11T21:56:06.619Z] + rpm -qa [2020-06-11T21:56:06.619Z] + sort [2020-06-11T21:56:10.827Z] + '[' -f /tmp/packages_start.txt ']' [2020-06-11T21:56:10.827Z] + '[' -f /tmp/packages_end.txt ']' [2020-06-11T21:56:10.827Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-06-11T21:56:10.827Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-154 ']' [2020-06-11T21:56:10.827Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-154/archives/ [2020-06-11T21:56:10.827Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-154/archives/ [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:56:11.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T21:56:11.336Z] [2020-06-11T21:56:11.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-06-11T21:56:11.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T21:56:11.667Z] alpine: Pulling from edgex-lftools-log-publisher [2020-06-11T21:56:11.668Z] c9b1b535fdd9: Pulling fs layer [2020-06-11T21:56:11.668Z] 2cc5ad85d9ab: Pulling fs layer [2020-06-11T21:56:11.668Z] 756a868c4378: Pulling fs layer [2020-06-11T21:56:11.668Z] 444b2fc9a129: Pulling fs layer [2020-06-11T21:56:11.668Z] ea15f1150254: Pulling fs layer [2020-06-11T21:56:11.668Z] 41b27a9f41bf: Pulling fs layer [2020-06-11T21:56:11.668Z] 28c525ee5125: Pulling fs layer [2020-06-11T21:56:11.668Z] 094b1ea09ed8: Pulling fs layer [2020-06-11T21:56:11.668Z] 138eaada9080: Pulling fs layer [2020-06-11T21:56:11.668Z] 0622d0fa9048: Pulling fs layer [2020-06-11T21:56:11.668Z] 41b27a9f41bf: Waiting [2020-06-11T21:56:11.668Z] 28c525ee5125: Waiting [2020-06-11T21:56:11.668Z] 444b2fc9a129: Waiting [2020-06-11T21:56:11.668Z] ea15f1150254: Waiting [2020-06-11T21:56:11.668Z] 094b1ea09ed8: Waiting [2020-06-11T21:56:11.668Z] 138eaada9080: Waiting [2020-06-11T21:56:11.668Z] 0622d0fa9048: Waiting [2020-06-11T21:56:11.668Z] 2cc5ad85d9ab: Verifying Checksum [2020-06-11T21:56:11.668Z] 2cc5ad85d9ab: Download complete [2020-06-11T21:56:11.668Z] 444b2fc9a129: Verifying Checksum [2020-06-11T21:56:11.668Z] 444b2fc9a129: Download complete [2020-06-11T21:56:11.668Z] c9b1b535fdd9: Verifying Checksum [2020-06-11T21:56:11.668Z] c9b1b535fdd9: Download complete [2020-06-11T21:56:11.668Z] ea15f1150254: Verifying Checksum [2020-06-11T21:56:11.668Z] ea15f1150254: Download complete [2020-06-11T21:56:11.952Z] 28c525ee5125: Download complete [2020-06-11T21:56:11.952Z] 756a868c4378: Verifying Checksum [2020-06-11T21:56:11.952Z] 756a868c4378: Download complete [2020-06-11T21:56:12.223Z] c9b1b535fdd9: Pull complete [2020-06-11T21:56:12.223Z] 138eaada9080: Verifying Checksum [2020-06-11T21:56:12.223Z] 138eaada9080: Download complete [2020-06-11T21:56:12.223Z] 0622d0fa9048: Verifying Checksum [2020-06-11T21:56:12.223Z] 0622d0fa9048: Download complete [2020-06-11T21:56:12.223Z] 094b1ea09ed8: Verifying Checksum [2020-06-11T21:56:12.223Z] 094b1ea09ed8: Download complete [2020-06-11T21:56:12.488Z] 2cc5ad85d9ab: Pull complete [2020-06-11T21:56:12.766Z] 41b27a9f41bf: Verifying Checksum [2020-06-11T21:56:12.766Z] 41b27a9f41bf: Download complete [2020-06-11T21:56:13.716Z] 756a868c4378: Pull complete [2020-06-11T21:56:13.978Z] 444b2fc9a129: Pull complete [2020-06-11T21:56:14.240Z] ea15f1150254: Pull complete [2020-06-11T21:56:18.464Z] 41b27a9f41bf: Pull complete [2020-06-11T21:56:18.464Z] 28c525ee5125: Pull complete [2020-06-11T21:56:21.020Z] 094b1ea09ed8: Pull complete [2020-06-11T21:56:21.020Z] 138eaada9080: Pull complete [2020-06-11T21:56:21.283Z] 0622d0fa9048: Pull complete [2020-06-11T21:56:21.283Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-06-11T21:56:21.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-06-11T21:56:21.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-06-11T21:56:21.429Z] prd-centos7-docker-4c-2g-2635 does not seem to be running inside a container [2020-06-11T21:56:21.466Z] $ 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-154 -v /w/workspace/xfoundry_device-modbus-go_PR-154:/w/workspace/xfoundry_device-modbus-go_PR-154:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-154@tmp:/w/workspace/xfoundry_device-modbus-go_PR-154@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-06-11T21:56:25.270Z] $ docker top 7e6fdf2ceda94cacf0cd472317ff78d57d677be8839f6ac189c609eda285f75c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-06-11T21:56:25.439Z] provisioning config files... [2020-06-11T21:56:25.451Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/config4751897350471789054tmp [Pipeline] { [Pipeline] echo [2020-06-11T21:56:25.483Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T21:56:25.777Z] ---> create-netrc.sh [Pipeline] echo [2020-06-11T21:56:25.786Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-06-11T21:56:26.084Z] ---> logs-deploy.sh [2020-06-11T21:56:26.084Z] + ARCHIVE_ARTIFACTS= [2020-06-11T21:56:26.084Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-06-11T21:56:26.084Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-06-11T21:56:26.084Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-06-11T21:56:26.084Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/2 [2020-06-11T21:56:26.084Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-154/2/ [2020-06-11T21:56:26.084Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/2 /w/workspace/xfoundry_device-modbus-go_PR-154 [2020-06-11T21:56:27.476Z] Archives upload complete. [2020-06-11T21:56:27.476Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-154/2/