Pull request #139 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 88922e524d3e723c95d0ec1103890aab7875bad0+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (cd47711f3407a2e44fb30bc6b699bba58911c6f5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a1118807cf18c4156ba213bd5188f6dbbcdb2c1 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5394 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 88922e524d3e723c95d0ec1103890aab7875bad0 Merge succeeded, producing 88922e524d3e723c95d0ec1103890aab7875bad0 Checking out Revision 88922e524d3e723c95d0ec1103890aab7875bad0 (PR-139) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 Commit message: "add changes to integrate with new Snap stage" First time build. Skipping changelog. > git rev-list --no-walk 9b724a95ad1ea83924f356e73a6a8126edcbd1e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T19:55:01.026Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T19:55:01.233Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T19:55:01.310Z] ========================================================= [2020-04-21T19:55:01.310Z] EdgeX Global Pipelines Version Info [2020-04-21T19:55:01.310Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T19:55:02.678Z] ------------------- [2020-04-21T19:55:02.678Z] stable info: [2020-04-21T19:55:02.678Z] ------------------- [2020-04-21T19:55:02.678Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T19:55:02.678Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T19:55:02.678Z] Message: update stable to v1.0.73 [2020-04-21T19:55:03.614Z] ------------------- [2020-04-21T19:55:03.614Z] experimental info: [2020-04-21T19:55:03.614Z] ------------------- [2020-04-21T19:55:03.614Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T19:55:03.614Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T19:55:03.614Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:55:05.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T19:55:05.405Z] [2020-04-21T19:55:05.405Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:55:05.748Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T19:55:05.748Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T19:55:05.748Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T19:55:05.748Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T19:55:05.748Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T19:55:05.748Z] 93b08a4f1073: Pulling fs layer [2020-04-21T19:55:05.748Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T19:55:05.748Z] b8cc5d1170e3: Download complete [2020-04-21T19:55:05.748Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T19:55:05.748Z] 9123ac7c32f7: Download complete [2020-04-21T19:55:06.016Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T19:55:06.016Z] 2924cbbf6a41: Download complete [2020-04-21T19:55:06.016Z] 93b08a4f1073: Download complete [2020-04-21T19:55:06.016Z] 9123ac7c32f7: Pull complete [2020-04-21T19:55:06.278Z] b8cc5d1170e3: Pull complete [2020-04-21T19:55:06.846Z] 2924cbbf6a41: Pull complete [2020-04-21T19:55:07.104Z] 93b08a4f1073: Pull complete [2020-04-21T19:55:07.104Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T19:55:07.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T19:55:07.226Z] prd-centos7-docker-4c-2g-5394 does not seem to be running inside a container [2020-04-21T19:55:07.268Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-21T19:55:07.816Z] $ docker top 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T19:55:08.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T19:55:08.100Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T19:55:08.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T19:55:08.290Z] $ docker exec 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 ssh-agent [2020-04-21T19:55:08.471Z] SSH_AUTH_SOCK=/tmp/ssh-o1CakOfQguSG/agent.14 [2020-04-21T19:55:08.471Z] SSH_AGENT_PID=21 [2020-04-21T19:55:08.481Z] Running ssh-add (command line suppressed) [2020-04-21T19:55:08.624Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_3893704878441593365.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_3893704878441593365.key) [2020-04-21T19:55:08.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T19:55:09.023Z] + git describe --exact-match --tags HEAD [2020-04-21T19:55:09.023Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T19:55:09.086Z] $ docker exec --env ******** --env ******** 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 ssh-agent -k [2020-04-21T19:55:09.221Z] unset SSH_AUTH_SOCK; [2020-04-21T19:55:09.222Z] unset SSH_AGENT_PID; [2020-04-21T19:55:09.222Z] echo Agent pid 21 killed; [2020-04-21T19:55:09.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T19:55:09.336Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T19:55:09.336Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T19:55:09.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T19:55:09.414Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T19:55:09.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T19:55:09.585Z] $ docker exec 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 ssh-agent [2020-04-21T19:55:09.758Z] SSH_AUTH_SOCK=/tmp/ssh-GweuNSfA5RbP/agent.56 [2020-04-21T19:55:09.758Z] SSH_AGENT_PID=63 [2020-04-21T19:55:09.766Z] Running ssh-add (command line suppressed) [2020-04-21T19:55:09.899Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_304862839892341039.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_304862839892341039.key) [2020-04-21T19:55:09.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T19:55:10.273Z] + git semver init [2020-04-21T19:55:10.274Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T19:55:10.274Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git [2020-04-21T19:55:10.274Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T19:55:10.274Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T19:55:10.274Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T19:55:10.274Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T19:55:10.274Z] # $SEMVER_BRANCH = PR-139 [2020-04-21T19:55:10.274Z] # $SEMVER_TEMP = /tmp/semver-675442551 [2020-04-21T19:55:10.274Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-21T19:55:10.532Z] # '/tmp/semver-675442551' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' [2020-04-21T19:55:10.532Z] # -> Force: false [2020-04-21T19:55:10.532Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } [2020-04-21T19:55:10.542Z] $ docker exec --env ******** --env ******** 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 ssh-agent -k [2020-04-21T19:55:10.667Z] unset SSH_AUTH_SOCK; [2020-04-21T19:55:10.668Z] unset SSH_AGENT_PID; [2020-04-21T19:55:10.668Z] echo Agent pid 63 killed; [2020-04-21T19:55:10.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T19:55:11.169Z] + git semver [Pipeline] } [2020-04-21T19:55:11.183Z] $ docker stop --time=1 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 [2020-04-21T19:55:12.519Z] $ docker rm -f 57dea9e26bd28f6c0fc3c370e02704b4691d712c5963c9a9fe5b8c80dd91e709 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T19:55:13.123Z] Stashed 24 file(s) [Pipeline] echo [2020-04-21T19:55:13.125Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-04-21T19:55:28.367Z] Still waiting to schedule task [2020-04-21T19:55:28.367Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T19:55:28.369Z] Still waiting to schedule task [2020-04-21T19:55:28.369Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-21T19:57:13.704Z] Running on prd-centos7-docker-4c-2g-5396 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T19:57:13.744Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2020-04-21T19:57:15.132Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5395 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws [2020-04-21T19:57:15.178Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2020-04-21T19:57:15.981Z] using credential edgex-jenkins-ssh [2020-04-21T19:57:16.024Z] Cloning the remote Git repository [2020-04-21T19:57:16.024Z] Cloning with configured refspecs honoured and without tags [2020-04-21T19:57:16.055Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:16.093Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2020-04-21T19:57:16.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:16.156Z] > git --version # timeout=10 [2020-04-21T19:57:16.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:57:16.195Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:16.773Z] Fetching without tags [2020-04-21T19:57:17.175Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T19:57:17.257Z] Merge succeeded, producing 88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T19:57:17.257Z] Checking out Revision 88922e524d3e723c95d0ec1103890aab7875bad0 (PR-139) [2020-04-21T19:57:16.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T19:57:16.745Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T19:57:16.753Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:16.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T19:57:16.781Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:16.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:57:16.788Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:17.186Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:57:17.194Z] > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 [2020-04-21T19:57:17.229Z] > git remote # timeout=10 [2020-04-21T19:57:17.233Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T19:57:17.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:57:17.243Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T19:57:17.255Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T19:57:17.263Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:57:17.270Z] > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 [2020-04-21T19:57:21.044Z] Commit message: "add changes to integrate with new Snap stage" [2020-04-21T19:57:21.341Z] using credential edgex-jenkins-ssh [2020-04-21T19:57:21.393Z] Cloning the remote Git repository [2020-04-21T19:57:21.393Z] Cloning with configured refspecs honoured and without tags [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-21T19:57:21.475Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:21.566Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2020-04-21T19:57:21.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:21.693Z] > git --version # timeout=10 [2020-04-21T19:57:21.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] echo [2020-04-21T19:57:21.913Z] ========================================================= [2020-04-21T19:57:21.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T19:57:21.913Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:57:22.570Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-04-21T19:57:22.728Z] Fetching without tags [2020-04-21T19:57:22.839Z] Sending build context to Docker daemon 582.7kB [2020-04-21T19:57:22.840Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T19:57:22.840Z] Step 2/8 : FROM ${BASE} [2020-04-21T19:57:22.840Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T19:57:22.840Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T19:57:22.840Z] 2848faf0eed1: Pulling fs layer [2020-04-21T19:57:22.840Z] 0f37312ad70f: Pulling fs layer [2020-04-21T19:57:22.840Z] 5788d62ee057: Pulling fs layer [2020-04-21T19:57:22.840Z] 0e6b1d234666: Pulling fs layer [2020-04-21T19:57:22.840Z] bf5d7aec512f: Pulling fs layer [2020-04-21T19:57:22.840Z] 34c802a77dc8: Pulling fs layer [2020-04-21T19:57:22.840Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T19:57:22.840Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T19:57:22.840Z] 5c102a31e300: Pulling fs layer [2020-04-21T19:57:22.840Z] dcfb455df0a1: Pulling fs layer [2020-04-21T19:57:22.840Z] 34c802a77dc8: Waiting [2020-04-21T19:57:22.840Z] 5c102a31e300: Waiting [2020-04-21T19:57:22.840Z] 9eb99e56ec68: Waiting [2020-04-21T19:57:22.840Z] 27c7a5d97fbd: Waiting [2020-04-21T19:57:22.840Z] dcfb455df0a1: Waiting [2020-04-21T19:57:22.840Z] 5788d62ee057: Waiting [2020-04-21T19:57:22.840Z] 0e6b1d234666: Waiting [2020-04-21T19:57:22.840Z] bf5d7aec512f: Waiting [2020-04-21T19:57:22.840Z] 0f37312ad70f: Verifying Checksum [2020-04-21T19:57:22.840Z] 0f37312ad70f: Download complete [2020-04-21T19:57:22.840Z] 2848faf0eed1: Verifying Checksum [2020-04-21T19:57:22.840Z] 2848faf0eed1: Download complete [2020-04-21T19:57:22.840Z] 0e6b1d234666: Verifying Checksum [2020-04-21T19:57:22.840Z] 0e6b1d234666: Download complete [2020-04-21T19:57:22.840Z] bf5d7aec512f: Download complete [2020-04-21T19:57:22.840Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T19:57:22.840Z] e6b0cf9c0882: Download complete [2020-04-21T19:57:21.831Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:22.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T19:57:22.619Z] > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 [2020-04-21T19:57:22.649Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:22.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T19:57:22.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T19:57:22.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:57:22.757Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T19:57:23.228Z] Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T19:57:23.430Z] e6b0cf9c0882: Pull complete [2020-04-21T19:57:23.513Z] Merge succeeded, producing 88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T19:57:23.513Z] Checking out Revision 88922e524d3e723c95d0ec1103890aab7875bad0 (PR-139) [2020-04-21T19:57:24.015Z] 34c802a77dc8: Verifying Checksum [2020-04-21T19:57:24.015Z] 34c802a77dc8: Download complete [2020-04-21T19:57:24.015Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T19:57:24.015Z] 27c7a5d97fbd: Download complete [2020-04-21T19:57:23.248Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:57:23.290Z] > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 [2020-04-21T19:57:23.384Z] > git remote # timeout=10 [2020-04-21T19:57:23.408Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T19:57:23.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T19:57:23.453Z] > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 [2020-04-21T19:57:23.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T19:57:23.517Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T19:57:23.548Z] > git checkout -f 88922e524d3e723c95d0ec1103890aab7875bad0 # timeout=10 [2020-04-21T19:57:24.604Z] 5c102a31e300: Verifying Checksum [2020-04-21T19:57:24.604Z] 5c102a31e300: Download complete [2020-04-21T19:57:24.604Z] dcfb455df0a1: Verifying Checksum [2020-04-21T19:57:24.604Z] dcfb455df0a1: Download complete [2020-04-21T19:57:24.604Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T19:57:24.604Z] 9eb99e56ec68: Download complete [2020-04-21T19:57:24.864Z] 5788d62ee057: Download complete [2020-04-21T19:57:25.803Z] 2848faf0eed1: Pull complete [2020-04-21T19:57:25.803Z] 0f37312ad70f: Pull complete [2020-04-21T19:57:28.095Z] Commit message: "add changes to integrate with new Snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T19:57:29.042Z] ========================================================= [2020-04-21T19:57:29.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T19:57:29.043Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:57:30.131Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-04-21T19:57:30.733Z] Sending build context to Docker daemon 582.7kB [2020-04-21T19:57:30.733Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T19:57:30.733Z] Step 2/8 : FROM ${BASE} [2020-04-21T19:57:31.321Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T19:57:31.321Z] cde5963f3b93: Pulling fs layer [2020-04-21T19:57:31.321Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T19:57:31.321Z] 777b28850792: Pulling fs layer [2020-04-21T19:57:31.321Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T19:57:31.321Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T19:57:31.321Z] 1df406cf5192: Pulling fs layer [2020-04-21T19:57:31.321Z] cd6300453558: Pulling fs layer [2020-04-21T19:57:31.321Z] b9c365052c96: Pulling fs layer [2020-04-21T19:57:31.321Z] a2d8cc88f415: Pulling fs layer [2020-04-21T19:57:31.321Z] ea1d1ca13537: Pulling fs layer [2020-04-21T19:57:31.321Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T19:57:31.321Z] 8a11ddd9e578: Waiting [2020-04-21T19:57:31.321Z] 4cf88f913ddb: Waiting [2020-04-21T19:57:31.321Z] 1df406cf5192: Waiting [2020-04-21T19:57:31.321Z] cd6300453558: Waiting [2020-04-21T19:57:31.321Z] b9c365052c96: Waiting [2020-04-21T19:57:31.321Z] a2d8cc88f415: Waiting [2020-04-21T19:57:31.321Z] ea1d1ca13537: Waiting [2020-04-21T19:57:31.321Z] 3750a50a1c5e: Waiting [2020-04-21T19:57:31.321Z] 777b28850792: Verifying Checksum [2020-04-21T19:57:31.321Z] 777b28850792: Download complete [2020-04-21T19:57:31.321Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T19:57:31.321Z] 2a23fa8c16f7: Download complete [2020-04-21T19:57:31.321Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T19:57:31.321Z] 4cf88f913ddb: Download complete [2020-04-21T19:57:31.321Z] 1df406cf5192: Verifying Checksum [2020-04-21T19:57:31.321Z] 1df406cf5192: Download complete [2020-04-21T19:57:31.594Z] cde5963f3b93: Verifying Checksum [2020-04-21T19:57:31.594Z] cde5963f3b93: Download complete [2020-04-21T19:57:32.402Z] 5788d62ee057: Pull complete [2020-04-21T19:57:32.403Z] 0e6b1d234666: Pull complete [2020-04-21T19:57:32.403Z] bf5d7aec512f: Pull complete [2020-04-21T19:57:32.568Z] cde5963f3b93: Pull complete [2020-04-21T19:57:32.842Z] 2a23fa8c16f7: Pull complete [2020-04-21T19:57:33.442Z] 777b28850792: Pull complete [2020-04-21T19:57:35.422Z] cd6300453558: Verifying Checksum [2020-04-21T19:57:35.422Z] cd6300453558: Download complete [2020-04-21T19:57:35.422Z] a2d8cc88f415: Verifying Checksum [2020-04-21T19:57:35.422Z] a2d8cc88f415: Download complete [2020-04-21T19:57:36.623Z] 34c802a77dc8: Pull complete [2020-04-21T19:57:38.024Z] ea1d1ca13537: Verifying Checksum [2020-04-21T19:57:38.024Z] ea1d1ca13537: Download complete [2020-04-21T19:57:38.024Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T19:57:38.024Z] 3750a50a1c5e: Download complete [2020-04-21T19:57:40.610Z] b9c365052c96: Verifying Checksum [2020-04-21T19:57:40.610Z] b9c365052c96: Download complete [2020-04-21T19:57:40.838Z] 9eb99e56ec68: Pull complete [2020-04-21T19:57:40.838Z] 27c7a5d97fbd: Pull complete [2020-04-21T19:57:41.101Z] 5c102a31e300: Pull complete [2020-04-21T19:57:41.361Z] dcfb455df0a1: Pull complete [2020-04-21T19:57:41.361Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T19:57:41.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T19:57:41.361Z] ---> 7c70fe431013 [2020-04-21T19:57:41.361Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T19:57:41.621Z] ---> Running in 85e1549e56df [2020-04-21T19:57:41.621Z] Removing intermediate container 85e1549e56df [2020-04-21T19:57:41.621Z] ---> f6c23e78e9ef [2020-04-21T19:57:41.621Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:57:41.621Z] ---> Running in 02f9df400a93 [2020-04-21T19:57:42.555Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T19:57:42.555Z] 8a11ddd9e578: Download complete [2020-04-21T19:57:43.004Z] Removing intermediate container 02f9df400a93 [2020-04-21T19:57:43.004Z] ---> 306c97b84f5b [2020-04-21T19:57:43.004Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T19:57:43.004Z] ---> Running in 8dab20698f3d [2020-04-21T19:57:43.264Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T19:57:44.207Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T19:57:44.207Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:57:44.466Z] (2/17) Installing libmagic (5.37-r1) [2020-04-21T19:57:44.727Z] (3/17) Installing file (5.37-r1) [2020-04-21T19:57:44.727Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:57:44.727Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:57:44.986Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:57:49.237Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-21T19:57:49.237Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-21T19:57:50.648Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-21T19:57:50.648Z] (10/17) Installing build-base (0.5-r1) [2020-04-21T19:57:50.648Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T19:57:50.648Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-21T19:57:50.648Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-21T19:57:50.908Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T19:57:50.908Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T19:57:51.167Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-21T19:57:51.167Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-21T19:57:51.429Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T19:57:51.429Z] OK: 214 MiB in 52 packages [2020-04-21T19:57:54.912Z] 8a11ddd9e578: Pull complete [2020-04-21T19:57:54.912Z] 4cf88f913ddb: Pull complete [2020-04-21T19:57:54.912Z] 1df406cf5192: Pull complete [2020-04-21T19:57:55.649Z] Removing intermediate container 8dab20698f3d [2020-04-21T19:57:55.649Z] ---> 46a3c7f78a69 [2020-04-21T19:57:55.649Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T19:57:55.650Z] ---> Running in 1dd224617075 [2020-04-21T19:57:55.650Z] Removing intermediate container 1dd224617075 [2020-04-21T19:57:55.650Z] ---> 9fd5ddf22d88 [2020-04-21T19:57:55.650Z] Step 7/8 : COPY . . [2020-04-21T19:57:56.222Z] ---> 59f2aa175592 [2020-04-21T19:57:56.222Z] Step 8/8 : RUN go mod download [2020-04-21T19:57:56.222Z] ---> Running in d02280f9852a [2020-04-21T19:57:58.767Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T19:57:58.767Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T19:57:58.767Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T19:57:58.767Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T19:57:58.767Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T19:57:58.767Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T19:57:58.767Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T19:57:58.767Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T19:57:58.767Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T19:57:58.767Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T19:57:58.767Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T19:57:59.027Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T19:57:59.027Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T19:57:59.027Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T19:57:59.027Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T19:57:59.027Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T19:57:59.027Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T19:57:59.027Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T19:57:59.027Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T19:57:59.027Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T19:57:59.288Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T19:57:59.288Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T19:57:59.288Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T19:57:59.288Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T19:57:59.288Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T19:57:59.547Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T19:57:59.806Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T19:58:00.067Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T19:58:00.067Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T19:58:00.067Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T19:58:00.067Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T19:58:00.067Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T19:58:00.067Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T19:58:00.067Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T19:58:00.294Z] cd6300453558: Pull complete [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T19:58:00.327Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T19:58:00.586Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T19:58:00.586Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T19:58:00.586Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T19:58:00.586Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T19:58:00.586Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T19:58:00.586Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T19:58:00.586Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T19:58:00.846Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T19:58:00.846Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T19:58:00.846Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T19:58:00.846Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T19:58:00.846Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T19:58:00.846Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T19:58:00.846Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T19:58:00.846Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T19:58:01.111Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T19:58:01.111Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T19:58:04.408Z] Removing intermediate container d02280f9852a [2020-04-21T19:58:04.408Z] ---> b59e5953bdc4 [2020-04-21T19:58:04.408Z] Successfully built b59e5953bdc4 [2020-04-21T19:58:04.408Z] Successfully tagged ci-base-image-x86_64:latest [2020-04-21T19:58:04.593Z] b9c365052c96: Pull complete [2020-04-21T19:58:04.594Z] a2d8cc88f415: Pull complete [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:58:05.331Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T19:58:05.331Z] . [Pipeline] withDockerContainer [2020-04-21T19:58:05.454Z] prd-centos7-docker-4c-2g-5396 does not seem to be running inside a container [2020-04-21T19:58:05.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T19:58:06.085Z] $ docker top 3adf284d6baa538f2e17be0a12eeb39fcef09a2c057e09cafbc2618f098262e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T19:58:06.572Z] + go version [2020-04-21T19:58:06.572Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-21T19:58:06.894Z] + make test [2020-04-21T19:58:06.894Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T19:58:07.192Z] ea1d1ca13537: Pull complete [2020-04-21T19:58:07.460Z] 3750a50a1c5e: Pull complete [2020-04-21T19:58:07.460Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T19:58:07.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T19:58:07.460Z] ---> 78745c68409d [2020-04-21T19:58:07.460Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T19:58:07.835Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T19:58:11.728Z] ---> Running in f75f65513fe2 [2020-04-21T19:58:12.313Z] Removing intermediate container f75f65513fe2 [2020-04-21T19:58:12.314Z] ---> 5a614ac804ff [2020-04-21T19:58:12.314Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:58:12.582Z] ---> Running in c1046957d918 [2020-04-21T19:58:15.171Z] Removing intermediate container c1046957d918 [2020-04-21T19:58:15.171Z] ---> b59236b65d3c [2020-04-21T19:58:15.171Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T19:58:15.171Z] ---> Running in a33c8ef8221e [2020-04-21T19:58:16.143Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T19:58:16.725Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T19:58:17.309Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:58:17.309Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:58:17.578Z] (3/18) Installing libmagic (5.37-r1) [2020-04-21T19:58:17.578Z] (4/18) Installing file (5.37-r1) [2020-04-21T19:58:17.844Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:58:17.844Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:58:17.844Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T19:58:20.132Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T19:58:20.132Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.178s coverage: 50.3% of statements [2020-04-21T19:58:20.132Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T19:58:20.427Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-21T19:58:20.427Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-21T19:58:20.704Z] gofmt -l . [2020-04-21T19:58:20.704Z] [ "`gofmt -l .`" = "" ] [2020-04-21T19:58:20.704Z] ./bin/test-attribution-txt.sh [2020-04-21T19:58:21.275Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T19:58:21.905Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T19:58:21.913Z] $ docker stop --time=1 3adf284d6baa538f2e17be0a12eeb39fcef09a2c057e09cafbc2618f098262e6 [2020-04-21T19:58:22.373Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-21T19:58:22.640Z] (11/18) Installing build-base (0.5-r1) [2020-04-21T19:58:22.640Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T19:58:22.640Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-21T19:58:22.908Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-21T19:58:23.175Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T19:58:23.175Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T19:58:23.175Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-21T19:58:23.445Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-21T19:58:23.445Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T19:58:23.445Z] OK: 203 MiB in 52 packages [2020-04-21T19:58:23.612Z] $ docker rm -f 3adf284d6baa538f2e17be0a12eeb39fcef09a2c057e09cafbc2618f098262e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T19:58:24.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T19:58:25.237Z] + ls -al . [2020-04-21T19:58:25.237Z] total 108 [2020-04-21T19:58:25.237Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 19:58 . [2020-04-21T19:58:25.237Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 21 19:57 .. [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 19:57 Attribution.txt [2020-04-21T19:58:25.237Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 19:57 bin [2020-04-21T19:58:25.237Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 19:57 cmd [2020-04-21T19:58:25.237Z] -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 19:58 coverage.out [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 19:57 Dockerfile [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 19:57 Dockerfile.build [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 19:57 .dockerignore [2020-04-21T19:58:25.237Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 19:57 .git [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 19:57 .gitignore [2020-04-21T19:58:25.237Z] -rw-r--r--. 1 jenkins jenkins 566 Apr 21 19:58 go.mod [2020-04-21T19:58:25.237Z] -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 19:58 go.sum [2020-04-21T19:58:25.237Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 19:57 internal [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 19:57 Jenkinsfile [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 19:57 LICENSE [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 19:57 Makefile [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 19:57 README.md [2020-04-21T19:58:25.237Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 19:57 .semver [2020-04-21T19:58:25.237Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 19:57 simulator [2020-04-21T19:58:25.237Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 19:57 snap [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 3226 Apr 21 19:57 snapcraft.yaml [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 19:55 VERSION [2020-04-21T19:58:25.237Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 19:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:58:25.538Z] + 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=88922e524d3e723c95d0ec1103890aab7875bad0 --label arch=amd64 --label version=0.0.0 . [2020-04-21T19:58:25.538Z] Sending build context to Docker daemon 611.3kB [2020-04-21T19:58:25.538Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T19:58:25.538Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T19:58:25.538Z] ---> b59e5953bdc4 [2020-04-21T19:58:25.538Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T19:58:25.797Z] ---> Running in 937514e70820 [2020-04-21T19:58:25.797Z] Removing intermediate container 937514e70820 [2020-04-21T19:58:25.797Z] ---> a1cc16b7176a [2020-04-21T19:58:25.797Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:58:25.797Z] ---> Running in 5e03e3d2158e [2020-04-21T19:58:26.739Z] Removing intermediate container 5e03e3d2158e [2020-04-21T19:58:26.739Z] ---> f4ba4a545024 [2020-04-21T19:58:26.739Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T19:58:26.739Z] ---> Running in 8cbddcafed54 [2020-04-21T19:58:27.000Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T19:58:27.937Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T19:58:27.937Z] OK: 214 MiB in 52 packages [2020-04-21T19:58:28.508Z] Removing intermediate container 8cbddcafed54 [2020-04-21T19:58:28.508Z] ---> 42eb7cb2f995 [2020-04-21T19:58:28.508Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T19:58:28.508Z] ---> Running in 1c5c9a1571d1 [2020-04-21T19:58:28.508Z] Removing intermediate container 1c5c9a1571d1 [2020-04-21T19:58:28.508Z] ---> 73ceffeb5306 [2020-04-21T19:58:28.508Z] Step 7/19 : COPY . . [2020-04-21T19:58:29.083Z] ---> e622ea15524f [2020-04-21T19:58:29.083Z] Step 8/19 : RUN ${MAKE} [2020-04-21T19:58:29.083Z] ---> Running in a8d0c4b2b0de [2020-04-21T19:58:29.345Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T19:58:30.103Z] Removing intermediate container a33c8ef8221e [2020-04-21T19:58:30.103Z] ---> e0cb28f78b74 [2020-04-21T19:58:30.103Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T19:58:30.374Z] ---> Running in abfdf0f4c8bd [2020-04-21T19:58:30.644Z] Removing intermediate container abfdf0f4c8bd [2020-04-21T19:58:30.644Z] ---> 5e474d9ee727 [2020-04-21T19:58:30.644Z] Step 7/8 : COPY . . [2020-04-21T19:58:31.608Z] ---> 88e82b3b1201 [2020-04-21T19:58:31.608Z] Step 8/8 : RUN go mod download [2020-04-21T19:58:31.608Z] ---> Running in 24e368fc7b9d [2020-04-21T19:58:33.558Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T19:58:33.558Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T19:58:33.558Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T19:58:33.558Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T19:58:33.558Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T19:58:33.558Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T19:58:33.558Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T19:58:33.558Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T19:58:33.558Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T19:58:33.558Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T19:58:33.558Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T19:58:33.558Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T19:58:33.829Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T19:58:33.829Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T19:58:33.829Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T19:58:33.829Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T19:58:33.829Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T19:58:33.829Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T19:58:33.829Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T19:58:33.829Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T19:58:33.829Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T19:58:33.829Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T19:58:34.097Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T19:58:34.097Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T19:58:34.097Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T19:58:34.097Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T19:58:34.097Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T19:58:34.097Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T19:58:34.097Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T19:58:34.097Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T19:58:34.097Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T19:58:34.097Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T19:58:34.097Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T19:58:34.097Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T19:58:34.097Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T19:58:34.097Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T19:58:34.097Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T19:58:34.367Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T19:58:34.367Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T19:58:34.367Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T19:58:34.367Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T19:58:39.381Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T19:58:41.289Z] Removing intermediate container a8d0c4b2b0de [2020-04-21T19:58:41.289Z] ---> 85b45a4cea58 [2020-04-21T19:58:41.289Z] Step 9/19 : FROM scratch [2020-04-21T19:58:41.289Z] ---> [2020-04-21T19:58:41.289Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T19:58:41.553Z] ---> Running in 38ed1e72d783 [2020-04-21T19:58:41.553Z] Removing intermediate container 38ed1e72d783 [2020-04-21T19:58:41.553Z] ---> e6ecee60af59 [2020-04-21T19:58:41.553Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T19:58:41.553Z] ---> Running in 81c941b13b5d [2020-04-21T19:58:41.813Z] Removing intermediate container 81c941b13b5d [2020-04-21T19:58:41.813Z] ---> 993f5de562e2 [2020-04-21T19:58:41.813Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T19:58:42.072Z] ---> 7160d3a31a22 [2020-04-21T19:58:42.072Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T19:58:42.331Z] ---> a5857e0110af [2020-04-21T19:58:42.331Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T19:58:42.331Z] ---> a732ff8aced5 [2020-04-21T19:58:42.331Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T19:58:42.591Z] ---> Running in b191f0827e6d [2020-04-21T19:58:42.591Z] Removing intermediate container b191f0827e6d [2020-04-21T19:58:42.591Z] ---> 9439fb936365 [2020-04-21T19:58:42.591Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T19:58:42.591Z] ---> Running in 8585c58756c7 [2020-04-21T19:58:42.852Z] Removing intermediate container 8585c58756c7 [2020-04-21T19:58:42.852Z] ---> eb5f82bf8881 [2020-04-21T19:58:42.852Z] Step 17/19 : LABEL arch=amd64 [2020-04-21T19:58:42.852Z] ---> Running in e7ba27aae9ef [2020-04-21T19:58:42.852Z] Removing intermediate container e7ba27aae9ef [2020-04-21T19:58:42.852Z] ---> 8b14b5634c70 [2020-04-21T19:58:42.852Z] Step 18/19 : LABEL git_sha=88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T19:58:42.852Z] ---> Running in 2d4ed249e604 [2020-04-21T19:58:43.112Z] Removing intermediate container 2d4ed249e604 [2020-04-21T19:58:43.112Z] ---> 8d4ba31f6b2d [2020-04-21T19:58:43.112Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T19:58:43.112Z] ---> Running in 12c01147c386 [2020-04-21T19:58:43.371Z] Removing intermediate container 12c01147c386 [2020-04-21T19:58:43.371Z] ---> bb43b1095b61 [2020-04-21T19:58:43.371Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T19:58:43.371Z] Successfully built bb43b1095b61 [2020-04-21T19:58:43.371Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T19:58:44.329Z] ++ find /w/workspace/device-modbus-go/10 [2020-04-21T19:58:44.329Z] ++ grep snapcraft.yaml [2020-04-21T19:58:44.329Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/10/snap/snapcraft.yaml /w/workspace/device-modbus-go/10/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T19:58:44.429Z] provisioning config files... [2020-04-21T19:58:44.440Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/10@tmp/config1626089648968100799tmp [Pipeline] { [2020-04-21T19:58:44.477Z] Removing intermediate container 24e368fc7b9d [2020-04-21T19:58:44.477Z] ---> 6f8ed01e3a86 [2020-04-21T19:58:44.477Z] Successfully built 6f8ed01e3a86 [2020-04-21T19:58:44.477Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-04-21T19:58:44.784Z] + cp /w/workspace/device-modbus-go/10@tmp/config1626089648968100799tmp /w/workspace/device-modbus-go/10/edgex-snap-store-login [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:58:45.086Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/10:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T19:58:45.086Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-04-21T19:58:45.086Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-04-21T19:58:45.086Z] 5bed26d33875: Pulling fs layer [2020-04-21T19:58:45.086Z] f11b29a9c730: Pulling fs layer [2020-04-21T19:58:45.086Z] 930bda195c84: Pulling fs layer [2020-04-21T19:58:45.086Z] 78bf9a5ad49e: Pulling fs layer [2020-04-21T19:58:45.086Z] e5fbee5a4b0d: Pulling fs layer [2020-04-21T19:58:45.086Z] f452fca78f88: Pulling fs layer [2020-04-21T19:58:45.086Z] 7417ef92027a: Pulling fs layer [2020-04-21T19:58:45.086Z] 2af5c49d270b: Pulling fs layer [2020-04-21T19:58:45.086Z] e5fbee5a4b0d: Waiting [2020-04-21T19:58:45.086Z] f452fca78f88: Waiting [2020-04-21T19:58:45.086Z] 78bf9a5ad49e: Waiting [2020-04-21T19:58:45.086Z] 7417ef92027a: Waiting [2020-04-21T19:58:45.086Z] df9c3bdbc40a: Pulling fs layer [2020-04-21T19:58:45.086Z] 2af5c49d270b: Waiting [2020-04-21T19:58:45.086Z] df9c3bdbc40a: Waiting [2020-04-21T19:58:45.086Z] 930bda195c84: Verifying Checksum [2020-04-21T19:58:45.086Z] 930bda195c84: Download complete [2020-04-21T19:58:45.086Z] f11b29a9c730: Download complete [2020-04-21T19:58:45.086Z] 78bf9a5ad49e: Verifying Checksum [2020-04-21T19:58:45.086Z] 78bf9a5ad49e: Download complete [2020-04-21T19:58:45.086Z] f452fca78f88: Verifying Checksum [2020-04-21T19:58:45.086Z] f452fca78f88: Download complete [2020-04-21T19:58:45.086Z] 7417ef92027a: Verifying Checksum [2020-04-21T19:58:45.086Z] 7417ef92027a: Download complete [2020-04-21T19:58:45.086Z] 2af5c49d270b: Verifying Checksum [2020-04-21T19:58:45.086Z] 2af5c49d270b: Download complete [2020-04-21T19:58:45.249Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T19:58:45.349Z] df9c3bdbc40a: Verifying Checksum [2020-04-21T19:58:45.349Z] df9c3bdbc40a: Download complete [2020-04-21T19:58:45.515Z] . [Pipeline] withDockerContainer [2020-04-21T19:58:45.615Z] 5bed26d33875: Verifying Checksum [2020-04-21T19:58:45.615Z] 5bed26d33875: Download complete [2020-04-21T19:58:45.847Z] prd-ubuntu18.04-docker-arm64-4c-16g-5395 does not seem to be running inside a container [2020-04-21T19:58:45.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T19:58:47.267Z] $ docker top a90c47f653801ee63eafb03d7a92b5eab675a97d223f70abd0c21cb19c88bbed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T19:58:48.340Z] + go version [2020-04-21T19:58:48.340Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T19:58:48.998Z] + make test [2020-04-21T19:58:48.998Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T19:58:49.815Z] e5fbee5a4b0d: Verifying Checksum [2020-04-21T19:58:49.815Z] e5fbee5a4b0d: Download complete [2020-04-21T19:58:49.968Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T19:58:50.752Z] 5bed26d33875: Pull complete [2020-04-21T19:58:50.752Z] f11b29a9c730: Pull complete [2020-04-21T19:58:50.752Z] 930bda195c84: Pull complete [2020-04-21T19:58:51.011Z] 78bf9a5ad49e: Pull complete [2020-04-21T19:59:16.694Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T19:59:17.591Z] e5fbee5a4b0d: Pull complete [2020-04-21T19:59:17.591Z] f452fca78f88: Pull complete [2020-04-21T19:59:17.591Z] 7417ef92027a: Pull complete [2020-04-21T19:59:17.591Z] 2af5c49d270b: Pull complete [2020-04-21T19:59:17.591Z] df9c3bdbc40a: Pull complete [2020-04-21T19:59:17.591Z] Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 [2020-04-21T19:59:17.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-04-21T19:59:17.591Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-04-21T19:59:17.591Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-04-21T19:59:17.591Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-04-21T19:59:17.591Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-04-21T19:59:17.591Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] [2020-04-21T19:59:17.591Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] [2020-04-21T19:59:17.591Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] [2020-04-21T19:59:17.591Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] [2020-04-21T19:59:17.591Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] [2020-04-21T19:59:17.591Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] [2020-04-21T19:59:17.591Z] Fetched 4553 kB in 2s (3004 kB/s) [2020-04-21T19:59:18.644Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.202s coverage: 50.3% of statements [2020-04-21T19:59:18.644Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T19:59:18.971Z] Reading package lists... [2020-04-21T19:59:19.538Z] Found a 'snap/snapcraft.yaml' and a 'snapcraft.yaml'. [2020-04-21T19:59:19.538Z] Please remove one and try again. [Pipeline] } [2020-04-21T19:59:19.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T19:59:20.535Z] Failed in branch amd64 [2020-04-21T19:59:25.334Z] gofmt -l . [2020-04-21T19:59:25.334Z] [ "`gofmt -l .`" = "" ] [2020-04-21T19:59:25.334Z] ./bin/test-attribution-txt.sh [2020-04-21T19:59:25.334Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T19:59:25.648Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T19:59:26.033Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T19:59:26.036Z] $ docker stop --time=1 a90c47f653801ee63eafb03d7a92b5eab675a97d223f70abd0c21cb19c88bbed [2020-04-21T19:59:28.248Z] $ docker rm -f a90c47f653801ee63eafb03d7a92b5eab675a97d223f70abd0c21cb19c88bbed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T19:59:29.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T19:59:29.823Z] + ls -al . [2020-04-21T19:59:29.823Z] total 140 [2020-04-21T19:59:29.823Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 19:59 . [2020-04-21T19:59:29.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:57 .. [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 19:57 .dockerignore [2020-04-21T19:59:29.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 19:57 .git [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 19:57 .gitignore [2020-04-21T19:59:29.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:57 .semver [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 19:57 Attribution.txt [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 19:57 Dockerfile [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 19:57 Dockerfile.build [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 19:57 Jenkinsfile [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 19:57 LICENSE [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 19:57 Makefile [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 19:57 README.md [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 19:55 VERSION [2020-04-21T19:59:29.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:57 bin [2020-04-21T19:59:29.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:57 cmd [2020-04-21T19:59:29.823Z] -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 19:59 coverage.out [2020-04-21T19:59:29.823Z] -rw-r--r-- 1 jenkins jenkins 566 Apr 21 19:59 go.mod [2020-04-21T19:59:29.823Z] -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 19:59 go.sum [2020-04-21T19:59:29.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 19:57 internal [2020-04-21T19:59:29.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 19:57 simulator [2020-04-21T19:59:29.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 19:57 snap [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 3226 Apr 21 19:57 snapcraft.yaml [2020-04-21T19:59:29.823Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 19:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T19:59:30.152Z] + 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=88922e524d3e723c95d0ec1103890aab7875bad0 --label arch=arm64 --label version=0.0.0 . [2020-04-21T19:59:30.418Z] Sending build context to Docker daemon 611.3kB [2020-04-21T19:59:30.418Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T19:59:30.418Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T19:59:30.418Z] ---> 6f8ed01e3a86 [2020-04-21T19:59:30.418Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T19:59:30.686Z] ---> Running in 54ed5d7479ff [2020-04-21T19:59:31.270Z] Removing intermediate container 54ed5d7479ff [2020-04-21T19:59:31.271Z] ---> a07af332ae45 [2020-04-21T19:59:31.271Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T19:59:31.271Z] ---> Running in a3baaf937aa1 [2020-04-21T19:59:33.225Z] Removing intermediate container a3baaf937aa1 [2020-04-21T19:59:33.225Z] ---> 15764e9bef31 [2020-04-21T19:59:33.225Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T19:59:33.225Z] ---> Running in efa6e719a0aa [2020-04-21T19:59:34.188Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T19:59:34.771Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T19:59:35.355Z] OK: 203 MiB in 52 packages [2020-04-21T19:59:36.318Z] Removing intermediate container efa6e719a0aa [2020-04-21T19:59:36.318Z] ---> 8094d538e640 [2020-04-21T19:59:36.318Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T19:59:36.318Z] ---> Running in 635daa95560a [2020-04-21T19:59:36.908Z] Removing intermediate container 635daa95560a [2020-04-21T19:59:36.908Z] ---> 0081b918987e [2020-04-21T19:59:36.908Z] Step 7/19 : COPY . . [2020-04-21T19:59:37.499Z] ---> 1616c36a9d1f [2020-04-21T19:59:37.499Z] Step 8/19 : RUN ${MAKE} [2020-04-21T19:59:37.499Z] ---> Running in 78574229a0f2 [2020-04-21T19:59:38.466Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-21T20:00:00.579Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T20:00:08.808Z] Removing intermediate container 78574229a0f2 [2020-04-21T20:00:08.808Z] ---> db559540b558 [2020-04-21T20:00:08.808Z] Step 9/19 : FROM scratch [2020-04-21T20:00:08.808Z] ---> [2020-04-21T20:00:08.808Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T20:00:08.808Z] ---> Running in 5e823fba5887 [2020-04-21T20:00:08.808Z] Removing intermediate container 5e823fba5887 [2020-04-21T20:00:08.808Z] ---> c6e4a1b402f1 [2020-04-21T20:00:08.808Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T20:00:08.808Z] ---> Running in b17d6340eb01 [2020-04-21T20:00:08.808Z] Removing intermediate container b17d6340eb01 [2020-04-21T20:00:08.808Z] ---> 44b7ca754014 [2020-04-21T20:00:08.808Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T20:00:09.765Z] ---> ff30141daf37 [2020-04-21T20:00:09.765Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T20:00:10.032Z] ---> 43306b59b107 [2020-04-21T20:00:10.032Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T20:00:10.617Z] ---> 1713708905ca [2020-04-21T20:00:10.617Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T20:00:10.617Z] ---> Running in e953b604ea96 [2020-04-21T20:00:10.884Z] Removing intermediate container e953b604ea96 [2020-04-21T20:00:10.884Z] ---> 158e6975115b [2020-04-21T20:00:10.884Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T20:00:11.155Z] ---> Running in 8d677063e731 [2020-04-21T20:00:11.424Z] Removing intermediate container 8d677063e731 [2020-04-21T20:00:11.424Z] ---> efafb723e6b9 [2020-04-21T20:00:11.424Z] Step 17/19 : LABEL arch=arm64 [2020-04-21T20:00:11.691Z] ---> Running in 25c0f3aebdf3 [2020-04-21T20:00:11.959Z] Removing intermediate container 25c0f3aebdf3 [2020-04-21T20:00:11.959Z] ---> 63eec69d5b27 [2020-04-21T20:00:11.959Z] Step 18/19 : LABEL git_sha=88922e524d3e723c95d0ec1103890aab7875bad0 [2020-04-21T20:00:11.959Z] ---> Running in ca3ab463b4db [2020-04-21T20:00:12.546Z] Removing intermediate container ca3ab463b4db [2020-04-21T20:00:12.546Z] ---> bef950535c2a [2020-04-21T20:00:12.546Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T20:00:12.546Z] ---> Running in f58d98e501d5 [2020-04-21T20:00:12.813Z] Removing intermediate container f58d98e501d5 [2020-04-21T20:00:12.813Z] ---> e2274dfb9dfa [2020-04-21T20:00:12.813Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T20:00:12.813Z] Successfully built e2274dfb9dfa [2020-04-21T20:00:12.813Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T20:00:13.539Z] + find /w/workspace/device-modbus-go/10 [2020-04-21T20:00:13.539Z] + grep snapcraft.yaml [2020-04-21T20:00:13.539Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/10/snap/snapcraft.yaml /w/workspace/device-modbus-go/10/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T20:00:13.688Z] provisioning config files... [2020-04-21T20:00:13.713Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/10@tmp/config5139763671472317458tmp [Pipeline] { [Pipeline] sh [2020-04-21T20:00:14.092Z] + cp /w/workspace/device-modbus-go/10@tmp/config5139763671472317458tmp /w/workspace/device-modbus-go/10/edgex-snap-store-login [Pipeline] sh [2020-04-21T20:00:14.427Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/10:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T20:00:14.699Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-04-21T20:00:14.699Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-04-21T20:00:14.699Z] b2f61026a351: Pulling fs layer [2020-04-21T20:00:14.699Z] 5538fb30c42c: Pulling fs layer [2020-04-21T20:00:14.699Z] f0b05810781a: Pulling fs layer [2020-04-21T20:00:14.699Z] 0180a33352d6: Pulling fs layer [2020-04-21T20:00:14.699Z] e7604b0c0f53: Pulling fs layer [2020-04-21T20:00:14.699Z] db689cb83ae0: Pulling fs layer [2020-04-21T20:00:14.699Z] 6138af208834: Pulling fs layer [2020-04-21T20:00:14.699Z] 007c8e8c5d63: Pulling fs layer [2020-04-21T20:00:14.699Z] 4f7a387c642f: Pulling fs layer [2020-04-21T20:00:14.699Z] 0180a33352d6: Waiting [2020-04-21T20:00:14.699Z] e7604b0c0f53: Waiting [2020-04-21T20:00:14.699Z] db689cb83ae0: Waiting [2020-04-21T20:00:14.699Z] 007c8e8c5d63: Waiting [2020-04-21T20:00:14.699Z] 6138af208834: Waiting [2020-04-21T20:00:14.699Z] f0b05810781a: Download complete [2020-04-21T20:00:14.699Z] 5538fb30c42c: Verifying Checksum [2020-04-21T20:00:14.699Z] 5538fb30c42c: Download complete [2020-04-21T20:00:14.699Z] 0180a33352d6: Verifying Checksum [2020-04-21T20:00:14.699Z] 0180a33352d6: Download complete [2020-04-21T20:00:14.699Z] db689cb83ae0: Verifying Checksum [2020-04-21T20:00:14.699Z] db689cb83ae0: Download complete [2020-04-21T20:00:14.699Z] 6138af208834: Verifying Checksum [2020-04-21T20:00:14.699Z] 6138af208834: Download complete [2020-04-21T20:00:14.699Z] 007c8e8c5d63: Verifying Checksum [2020-04-21T20:00:14.699Z] 007c8e8c5d63: Download complete [2020-04-21T20:00:14.968Z] 4f7a387c642f: Verifying Checksum [2020-04-21T20:00:14.968Z] 4f7a387c642f: Download complete [2020-04-21T20:00:16.920Z] b2f61026a351: Verifying Checksum [2020-04-21T20:00:16.920Z] b2f61026a351: Download complete [2020-04-21T20:00:20.275Z] b2f61026a351: Pull complete [2020-04-21T20:00:20.275Z] 5538fb30c42c: Pull complete [2020-04-21T20:00:20.275Z] f0b05810781a: Pull complete [2020-04-21T20:00:20.544Z] 0180a33352d6: Pull complete [2020-04-21T20:00:42.627Z] e7604b0c0f53: Download complete [2020-04-21T20:01:14.906Z] e7604b0c0f53: Pull complete [2020-04-21T20:01:14.906Z] db689cb83ae0: Pull complete [2020-04-21T20:01:14.906Z] 6138af208834: Pull complete [2020-04-21T20:01:14.906Z] 007c8e8c5d63: Pull complete [2020-04-21T20:01:14.906Z] 4f7a387c642f: Pull complete [2020-04-21T20:01:14.906Z] Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 [2020-04-21T20:01:14.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-04-21T20:01:16.872Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-04-21T20:01:17.142Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-04-21T20:01:17.410Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-04-21T20:01:17.410Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-04-21T20:01:17.676Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] [2020-04-21T20:01:18.642Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] [2020-04-21T20:01:18.642Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] [2020-04-21T20:01:18.642Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] [2020-04-21T20:01:18.642Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] [2020-04-21T20:01:18.911Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] [2020-04-21T20:01:19.178Z] Fetched 3650 kB in 3s (1433 kB/s) [2020-04-21T20:01:23.432Z] Reading package lists... [2020-04-21T20:01:26.777Z] Found a 'snap/snapcraft.yaml' and a 'snapcraft.yaml'. [2020-04-21T20:01:26.777Z] Please remove one and try again. [Pipeline] } [2020-04-21T20:01:27.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T20:01:28.111Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:01:29.320Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:01:29.615Z] ---> package-listing.sh [2020-04-21T20:01:29.615Z] ++ facter osfamily [2020-04-21T20:01:29.615Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T20:01:29.615Z] + OS_FAMILY=redhat [2020-04-21T20:01:29.615Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T20:01:29.615Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T20:01:29.615Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T20:01:29.615Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T20:01:29.615Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T20:01:29.615Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T20:01:29.615Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T20:01:29.615Z] + case "${OS_FAMILY}" in [2020-04-21T20:01:29.615Z] + rpm -qa [2020-04-21T20:01:29.615Z] + sort [2020-04-21T20:01:33.808Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T20:01:33.808Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T20:01:33.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T20:01:33.808Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' [2020-04-21T20:01:33.808Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [2020-04-21T20:01:33.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:01:34.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T20:01:34.159Z] [2020-04-21T20:01:34.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T20:01:34.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T20:01:34.488Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T20:01:34.488Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T20:01:34.488Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T20:01:34.488Z] 756a868c4378: Pulling fs layer [2020-04-21T20:01:34.488Z] 444b2fc9a129: Pulling fs layer [2020-04-21T20:01:34.488Z] ea15f1150254: Pulling fs layer [2020-04-21T20:01:34.488Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T20:01:34.488Z] 28c525ee5125: Pulling fs layer [2020-04-21T20:01:34.488Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T20:01:34.488Z] 138eaada9080: Pulling fs layer [2020-04-21T20:01:34.488Z] 0622d0fa9048: Pulling fs layer [2020-04-21T20:01:34.488Z] 444b2fc9a129: Waiting [2020-04-21T20:01:34.488Z] ea15f1150254: Waiting [2020-04-21T20:01:34.488Z] 41b27a9f41bf: Waiting [2020-04-21T20:01:34.488Z] 28c525ee5125: Waiting [2020-04-21T20:01:34.488Z] 094b1ea09ed8: Waiting [2020-04-21T20:01:34.488Z] 138eaada9080: Waiting [2020-04-21T20:01:34.488Z] 0622d0fa9048: Waiting [2020-04-21T20:01:34.488Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T20:01:34.488Z] 2cc5ad85d9ab: Download complete [2020-04-21T20:01:34.488Z] 444b2fc9a129: Verifying Checksum [2020-04-21T20:01:34.488Z] 444b2fc9a129: Download complete [2020-04-21T20:01:34.488Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T20:01:34.488Z] c9b1b535fdd9: Download complete [2020-04-21T20:01:34.488Z] ea15f1150254: Verifying Checksum [2020-04-21T20:01:34.488Z] ea15f1150254: Download complete [2020-04-21T20:01:34.488Z] 28c525ee5125: Verifying Checksum [2020-04-21T20:01:34.488Z] 28c525ee5125: Download complete [2020-04-21T20:01:35.064Z] c9b1b535fdd9: Pull complete [2020-04-21T20:01:35.064Z] 756a868c4378: Verifying Checksum [2020-04-21T20:01:35.064Z] 756a868c4378: Download complete [2020-04-21T20:01:35.064Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T20:01:35.064Z] 094b1ea09ed8: Download complete [2020-04-21T20:01:35.064Z] 0622d0fa9048: Verifying Checksum [2020-04-21T20:01:35.064Z] 0622d0fa9048: Download complete [2020-04-21T20:01:35.064Z] 138eaada9080: Verifying Checksum [2020-04-21T20:01:35.064Z] 138eaada9080: Download complete [2020-04-21T20:01:35.064Z] 2cc5ad85d9ab: Pull complete [2020-04-21T20:01:35.643Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T20:01:35.643Z] 41b27a9f41bf: Download complete [2020-04-21T20:01:36.582Z] 756a868c4378: Pull complete [2020-04-21T20:01:36.582Z] 444b2fc9a129: Pull complete [2020-04-21T20:01:37.154Z] ea15f1150254: Pull complete [2020-04-21T20:01:40.456Z] 41b27a9f41bf: Pull complete [2020-04-21T20:01:40.456Z] 28c525ee5125: Pull complete [2020-04-21T20:01:42.361Z] 094b1ea09ed8: Pull complete [2020-04-21T20:01:42.361Z] 138eaada9080: Pull complete [2020-04-21T20:01:42.361Z] 0622d0fa9048: Pull complete [2020-04-21T20:01:42.361Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T20:01:42.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T20:01:42.522Z] prd-centos7-docker-4c-2g-5394 does not seem to be running inside a container [2020-04-21T20:01:42.563Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-21T20:01:43.623Z] $ docker top fe477273bb60bea703da264e9c0cceafe05bafabb1b43c05ab1118014ea2d10a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T20:01:43.895Z] provisioning config files... [2020-04-21T20:01:43.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config907918861207181622tmp [Pipeline] { [Pipeline] echo [2020-04-21T20:01:43.973Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:01:44.260Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T20:01:44.267Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T20:01:44.554Z] ---> logs-deploy.sh [2020-04-21T20:01:44.554Z] + ARCHIVE_ARTIFACTS= [2020-04-21T20:01:44.554Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T20:01:44.554Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T20:01:44.554Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T20:01:44.554Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/10 [2020-04-21T20:01:44.555Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/10/ [2020-04-21T20:01:44.555Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/10 /w/workspace/xfoundry_device-modbus-go_PR-139 [2020-04-21T20:01:45.491Z] Archives upload complete. [2020-04-21T20:01:45.749Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/10 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/10/