Pull request #155 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 jamesrgregg for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 51725aa6219b7acd356423099fa6f07cbac6e7b1+fdf900d8a58188a2e8b2bc604c944c724a46cd8f (0d8b3b4eae20d24e23ead3149beae4280cc08c98) 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 ‘prd-centos7-docker-4c-2g-3537’ is offline Running on prd-centos7-docker-4c-2g-3538 in /w/workspace/xfoundry_device-modbus-go_PR-155 [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-155 # 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/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit fdf900d8a58188a2e8b2bc604c944c724a46cd8f into PR head commit 51725aa6219b7acd356423099fa6f07cbac6e7b1 Merge succeeded, producing 51725aa6219b7acd356423099fa6f07cbac6e7b1 Checking out Revision 51725aa6219b7acd356423099fa6f07cbac6e7b1 (PR-155) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/155/head:refs/remotes/origin/PR-155 # 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/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # 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 fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # timeout=10 Commit message: "Merge branch 'master' into update-pr-template" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:50:20 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 096d61faa77f337c7d943629a9b9aeb00cd99f22 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:50:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:50:20 ========================================================= 09:50:20 EdgeX Global Pipelines Version Info 09:50:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:50:22 ------------------- 09:50:22 stable info: 09:50:22 ------------------- 09:50:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:50:22 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 09:50:22 Message: update stable to v1.0.89 09:50:22 ------------------- 09:50:22 experimental info: 09:50:22 ------------------- 09:50:22 Commited By: **** collab-it+edgex@linuxfoundation.org 09:50:22 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 09:50:22 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 09:50:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:50:24 09:50:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:50:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:50:24 latest: Pulling from edgex-devops/git-semver 09:50:24 9123ac7c32f7: Pulling fs layer 09:50:24 b8cc5d1170e3: Pulling fs layer 09:50:24 2924cbbf6a41: Pulling fs layer 09:50:24 93b08a4f1073: Pulling fs layer 09:50:24 93b08a4f1073: Waiting 09:50:24 b8cc5d1170e3: Verifying Checksum 09:50:24 b8cc5d1170e3: Download complete 09:50:24 9123ac7c32f7: Verifying Checksum 09:50:24 9123ac7c32f7: Download complete 09:50:24 93b08a4f1073: Verifying Checksum 09:50:24 93b08a4f1073: Download complete 09:50:24 2924cbbf6a41: Verifying Checksum 09:50:24 2924cbbf6a41: Download complete 09:50:24 9123ac7c32f7: Pull complete 09:50:24 b8cc5d1170e3: Pull complete 09:50:25 2924cbbf6a41: Pull complete 09:50:25 93b08a4f1073: Pull complete 09:50:25 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 09:50:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:50:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:50:25 prd-centos7-docker-4c-2g-3538 does not seem to be running inside a container 09:50:25 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-155 -v /w/workspace/xfoundry_device-modbus-go_PR-155:/w/workspace/xfoundry_device-modbus-go_PR-155:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-155@tmp:/w/workspace/xfoundry_device-modbus-go_PR-155@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:50:27 $ docker top 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:28 [ssh-agent] Looking for ssh-agent implementation... 09:50:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:28 $ docker exec 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c ssh-agent 09:50:28 SSH_AUTH_SOCK=/tmp/ssh-Zg2b3DplgBFR/agent.11 09:50:28 SSH_AGENT_PID=16 09:50:28 Running ssh-add (command line suppressed) 09:50:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-155@tmp/private_key_3887687167823293130.key (/w/workspace/xfoundry_device-modbus-go_PR-155@tmp/private_key_3887687167823293130.key) 09:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:29 + git describe --exact-match --tags HEAD 09:50:29 fatal: No names found, cannot describe anything. [Pipeline] } 09:50:29 $ docker exec --env ******** --env ******** 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c ssh-agent -k 09:50:29 unset SSH_AUTH_SOCK; 09:50:29 unset SSH_AGENT_PID; 09:50:29 echo Agent pid 16 killed; 09:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 09:50:29 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 09:50:29 This usually means this commit has not been tagged. [Pipeline] sshagent 09:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:29 [ssh-agent] Looking for ssh-agent implementation... 09:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:29 $ docker exec 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c ssh-agent 09:50:29 SSH_AUTH_SOCK=/tmp/ssh-x9U2GUrugLAJ/agent.45 09:50:29 SSH_AGENT_PID=50 09:50:29 Running ssh-add (command line suppressed) 09:50:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-155@tmp/private_key_6143858599654010396.key (/w/workspace/xfoundry_device-modbus-go_PR-155@tmp/private_key_6143858599654010396.key) 09:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:30 + git semver init 09:50:30 # -> Open(): unable to determine branch for HEAD 09:50:30 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-155/.git 09:50:30 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-155 09:50:30 # $SEMVER_REMOTE_NAME = origin 09:50:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:50:30 # $SEMVER_USER_NAME = edgex-jenkins 09:50:30 # $SEMVER_BRANCH = PR-155 09:50:30 # $SEMVER_TEMP = /tmp/semver-594672013 09:50:30 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 09:50:30 # '/tmp/semver-594672013' -> '/w/workspace/xfoundry_device-modbus-go_PR-155/.semver' 09:50:30 # -> Force: false 09:50:30 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-155/.semver [Pipeline] } 09:50:30 $ docker exec --env ******** --env ******** 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c ssh-agent -k 09:50:30 unset SSH_AUTH_SOCK; 09:50:30 unset SSH_AGENT_PID; 09:50:30 echo Agent pid 50 killed; 09:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:31 + git semver [Pipeline] } 09:50:31 $ docker stop --time=1 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c 09:50:32 $ docker rm -f 56e61312f4441ac9c7ec2c3d0ce89f9b09b038ac6a33b2618d02ce2792a86e5c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 09:50:33 Stashed 32 file(s) [Pipeline] echo 09:50:33 [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 09:50:48 Still waiting to schedule task 09:50:48 ‘prd-centos7-docker-4c-2g-3540’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3317’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3513’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3539’ doesn’t have label ‘centos7-docker-4c-2g’ 09:50:48 Still waiting to schedule task 09:50:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:52:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3541 in /w/workspace/xfoundry_device-modbus-go_PR-155 [Pipeline] { [Pipeline] ws 09:52:54 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 09:52:59 using credential edgex-jenkins-ssh 09:52:59 Cloning the remote Git repository 09:52:59 Cloning with configured refspecs honoured and without tags 09:53:00 Fetching without tags 09:52:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:52:59 > git init /w/workspace/device-modbus-go/2 # timeout=10 09:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:52:59 > git --version # timeout=10 09:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:53:00 > git config --add remote.origin.fetch +refs/pull/155/head:refs/remotes/origin/PR-155 # timeout=10 09:53:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:53:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:53:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:00 Merging remotes/origin/master commit fdf900d8a58188a2e8b2bc604c944c724a46cd8f into PR head commit 51725aa6219b7acd356423099fa6f07cbac6e7b1 09:53:01 Merge succeeded, producing 51725aa6219b7acd356423099fa6f07cbac6e7b1 09:53:01 Checking out Revision 51725aa6219b7acd356423099fa6f07cbac6e7b1 (PR-155) 09:53:00 > git config core.sparsecheckout # timeout=10 09:53:01 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # timeout=10 09:53:01 > git remote # timeout=10 09:53:01 > git config --get remote.origin.url # timeout=10 09:53:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:01 > git merge fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 09:53:01 > git rev-parse HEAD^{commit} # timeout=10 09:53:01 > git config core.sparsecheckout # timeout=10 09:53:01 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # timeout=10 09:53:05 Commit message: "Merge branch 'master' into update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:53:06 ========================================================= 09:53:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 09:53:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:53:08 + 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 . 09:53:09 Sending build context to Docker daemon 615.9kB 09:53:09 Step 1/8 : ARG BASE=golang:1.13-alpine 09:53:09 Step 2/8 : FROM ${BASE} 09:53:09 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:53:09 cde5963f3b93: Pulling fs layer 09:53:09 2a23fa8c16f7: Pulling fs layer 09:53:09 777b28850792: Pulling fs layer 09:53:09 8a11ddd9e578: Pulling fs layer 09:53:09 4cf88f913ddb: Pulling fs layer 09:53:09 1df406cf5192: Pulling fs layer 09:53:09 cd6300453558: Pulling fs layer 09:53:09 b9c365052c96: Pulling fs layer 09:53:09 a2d8cc88f415: Pulling fs layer 09:53:09 ea1d1ca13537: Pulling fs layer 09:53:09 3750a50a1c5e: Pulling fs layer 09:53:09 8a11ddd9e578: Waiting 09:53:09 4cf88f913ddb: Waiting 09:53:09 1df406cf5192: Waiting 09:53:09 cd6300453558: Waiting 09:53:09 b9c365052c96: Waiting 09:53:09 a2d8cc88f415: Waiting 09:53:09 ea1d1ca13537: Waiting 09:53:09 3750a50a1c5e: Waiting 09:53:09 777b28850792: Download complete 09:53:09 2a23fa8c16f7: Download complete 09:53:09 4cf88f913ddb: Verifying Checksum 09:53:09 4cf88f913ddb: Download complete 09:53:09 1df406cf5192: Verifying Checksum 09:53:09 1df406cf5192: Download complete 09:53:09 cde5963f3b93: Download complete 09:53:10 cde5963f3b93: Pull complete 09:53:11 2a23fa8c16f7: Pull complete 09:53:11 777b28850792: Pull complete 09:53:12 cd6300453558: Verifying Checksum 09:53:12 cd6300453558: Download complete 09:53:12 a2d8cc88f415: Verifying Checksum 09:53:12 a2d8cc88f415: Download complete 09:53:14 ea1d1ca13537: Verifying Checksum 09:53:14 ea1d1ca13537: Download complete 09:53:14 3750a50a1c5e: Verifying Checksum 09:53:14 3750a50a1c5e: Download complete 09:53:14 b9c365052c96: Verifying Checksum 09:53:14 b9c365052c96: Download complete 09:53:14 8a11ddd9e578: Download complete 09:53:23 Running on prd-centos7-docker-4c-2g-3542 in /w/workspace/xfoundry_device-modbus-go_PR-155 [Pipeline] { [Pipeline] ws 09:53:23 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 09:53:26 using credential edgex-jenkins-ssh 09:53:26 Cloning the remote Git repository 09:53:26 Cloning with configured refspecs honoured and without tags 09:53:27 8a11ddd9e578: Pull complete 09:53:27 4cf88f913ddb: Pull complete 09:53:27 1df406cf5192: Pull complete 09:53:26 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:53:26 > git init /w/workspace/device-modbus-go/2 # timeout=10 09:53:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:53:26 > git --version # timeout=10 09:53:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:27 Fetching without tags 09:53:28 Merging remotes/origin/master commit fdf900d8a58188a2e8b2bc604c944c724a46cd8f into PR head commit 51725aa6219b7acd356423099fa6f07cbac6e7b1 09:53:28 Merge succeeded, producing 51725aa6219b7acd356423099fa6f07cbac6e7b1 09:53:28 Checking out Revision 51725aa6219b7acd356423099fa6f07cbac6e7b1 (PR-155) 09:53:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:53:27 > git config --add remote.origin.fetch +refs/pull/155/head:refs/remotes/origin/PR-155 # timeout=10 09:53:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:53:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:53:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:28 > git config core.sparsecheckout # timeout=10 09:53:28 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # timeout=10 09:53:28 > git remote # timeout=10 09:53:28 > git config --get remote.origin.url # timeout=10 09:53:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:28 > git merge fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 09:53:28 > git rev-parse HEAD^{commit} # timeout=10 09:53:28 > git config core.sparsecheckout # timeout=10 09:53:28 > git checkout -f 51725aa6219b7acd356423099fa6f07cbac6e7b1 # timeout=10 09:53:30 cd6300453558: Pull complete 09:53:32 Commit message: "Merge branch 'master' into update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:53:32 ========================================================= 09:53:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 09:53:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:53:33 + 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 . 09:53:33 Sending build context to Docker daemon 615.9kB 09:53:33 Step 1/8 : ARG BASE=golang:1.13-alpine 09:53:33 Step 2/8 : FROM ${BASE} 09:53:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 09:53:33 e6b0cf9c0882: Pulling fs layer 09:53:33 2848faf0eed1: Pulling fs layer 09:53:33 0f37312ad70f: Pulling fs layer 09:53:33 5788d62ee057: Pulling fs layer 09:53:33 0e6b1d234666: Pulling fs layer 09:53:33 bf5d7aec512f: Pulling fs layer 09:53:33 34c802a77dc8: Pulling fs layer 09:53:33 9eb99e56ec68: Pulling fs layer 09:53:33 27c7a5d97fbd: Pulling fs layer 09:53:33 5c102a31e300: Pulling fs layer 09:53:33 dcfb455df0a1: Pulling fs layer 09:53:33 34c802a77dc8: Waiting 09:53:33 9eb99e56ec68: Waiting 09:53:33 27c7a5d97fbd: Waiting 09:53:33 5c102a31e300: Waiting 09:53:33 dcfb455df0a1: Waiting 09:53:33 0e6b1d234666: Waiting 09:53:33 bf5d7aec512f: Waiting 09:53:33 5788d62ee057: Waiting 09:53:33 0f37312ad70f: Verifying Checksum 09:53:33 0f37312ad70f: Download complete 09:53:33 2848faf0eed1: Verifying Checksum 09:53:33 2848faf0eed1: Download complete 09:53:33 0e6b1d234666: Verifying Checksum 09:53:33 0e6b1d234666: Download complete 09:53:33 bf5d7aec512f: Verifying Checksum 09:53:33 bf5d7aec512f: Download complete 09:53:33 e6b0cf9c0882: Verifying Checksum 09:53:33 e6b0cf9c0882: Download complete 09:53:34 e6b0cf9c0882: Pull complete 09:53:34 34c802a77dc8: Verifying Checksum 09:53:34 34c802a77dc8: Download complete 09:53:34 27c7a5d97fbd: Verifying Checksum 09:53:34 27c7a5d97fbd: Download complete 09:53:35 5c102a31e300: Verifying Checksum 09:53:35 5c102a31e300: Download complete 09:53:35 dcfb455df0a1: Verifying Checksum 09:53:35 dcfb455df0a1: Download complete 09:53:35 5788d62ee057: Verifying Checksum 09:53:35 5788d62ee057: Download complete 09:53:35 9eb99e56ec68: Verifying Checksum 09:53:35 9eb99e56ec68: Download complete 09:53:35 2848faf0eed1: Pull complete 09:53:36 0f37312ad70f: Pull complete 09:53:36 b9c365052c96: Pull complete 09:53:36 a2d8cc88f415: Pull complete 09:53:37 ea1d1ca13537: Pull complete 09:53:37 3750a50a1c5e: Pull complete 09:53:37 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 09:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 09:53:38 ---> 78745c68409d 09:53:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:53:42 5788d62ee057: Pull complete 09:53:42 0e6b1d234666: Pull complete 09:53:42 bf5d7aec512f: Pull complete 09:53:43 ---> Running in c3524f1d5783 09:53:43 Removing intermediate container c3524f1d5783 09:53:43 ---> 45aa7a8b6d78 09:53:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:53:43 ---> Running in 7c7d0a4b4d41 09:53:46 Removing intermediate container 7c7d0a4b4d41 09:53:46 ---> 563d25b18f61 09:53:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:53:46 ---> Running in a9e871b3340b 09:53:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:53:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:53:49 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 09:53:49 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 09:53:50 (3/18) Installing libmagic (5.37-r1) 09:53:50 (4/18) Installing file (5.37-r1) 09:53:50 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 09:53:50 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 09:53:50 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 09:53:50 34c802a77dc8: Pull complete 09:53:53 9eb99e56ec68: Pull complete 09:53:53 27c7a5d97fbd: Pull complete 09:53:54 5c102a31e300: Pull complete 09:53:54 dcfb455df0a1: Pull complete 09:53:54 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 09:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 09:53:54 ---> 7c70fe431013 09:53:54 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:53:55 ---> Running in 67bd8174abb0 09:53:55 Removing intermediate container 67bd8174abb0 09:53:55 ---> 71df19e3ef88 09:53:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:53:55 ---> Running in ccfe4bf953e8 09:53:56 Removing intermediate container ccfe4bf953e8 09:53:56 ---> cf4966d7df20 09:53:56 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:53:56 ---> Running in f22c354eb4a3 09:53:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:53:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:53:58 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 09:53:58 (2/17) Installing libmagic (5.37-r1) 09:53:58 (3/17) Installing file (5.37-r1) 09:53:58 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 09:53:58 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 09:53:59 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 09:54:05 (8/18) Installing libc-dev (0.7.2-r0) 09:54:05 (9/18) Installing g++ (9.2.0-r4) 09:54:07 (7/17) Installing libc-dev (0.7.2-r0) 09:54:07 (8/17) Installing g++ (9.2.0-r4) 09:54:10 (10/18) Installing fortify-headers (1.1-r0) 09:54:10 (11/18) Installing build-base (0.5-r1) 09:54:10 (12/18) Installing openssh-keygen (8.1_p1-r0) 09:54:10 (13/18) Installing libedit (20191211.3.1-r0) 09:54:10 (14/18) Installing openssh-client (8.1_p1-r0) 09:54:10 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 09:54:10 (16/18) Installing openssh-server-common (8.1_p1-r0) 09:54:10 (17/18) Installing openssh-server (8.1_p1-r0) 09:54:10 (18/18) Installing openssh (8.1_p1-r0) 09:54:10 Executing busybox-1.31.1-r8.trigger 09:54:10 OK: 203 MiB in 52 packages 09:54:11 (9/17) Installing fortify-headers (1.1-r0) 09:54:11 (10/17) Installing build-base (0.5-r1) 09:54:11 (11/17) Installing openssh-keygen (8.1_p1-r0) 09:54:11 (12/17) Installing libedit (20191211.3.1-r0) 09:54:11 (13/17) Installing openssh-client (8.1_p1-r0) 09:54:11 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 09:54:11 (15/17) Installing openssh-server-common (8.1_p1-r0) 09:54:11 (16/17) Installing openssh-server (8.1_p1-r0) 09:54:11 (17/17) Installing openssh (8.1_p1-r0) 09:54:12 Executing busybox-1.31.1-r8.trigger 09:54:12 OK: 214 MiB in 52 packages 09:54:16 Removing intermediate container f22c354eb4a3 09:54:16 ---> b0b4e7cd6f44 09:54:16 Step 6/8 : WORKDIR /device-modbus-go 09:54:16 ---> Running in 69e82ca8d820 09:54:16 Removing intermediate container 69e82ca8d820 09:54:16 ---> 60199dbfa72b 09:54:16 Step 7/8 : COPY . . 09:54:16 ---> ccb693b0fe46 09:54:16 Step 8/8 : RUN go mod download 09:54:16 ---> Running in 39c6aac68bd5 09:54:17 Removing intermediate container a9e871b3340b 09:54:17 ---> 9fa0c7b33720 09:54:17 Step 6/8 : WORKDIR /device-modbus-go 09:54:17 ---> Running in 6141eb4a9f65 09:54:18 Removing intermediate container 6141eb4a9f65 09:54:18 ---> 7c67bf843d82 09:54:18 Step 7/8 : COPY . . 09:54:19 ---> b0842112c0c6 09:54:19 Step 8/8 : RUN go mod download 09:54:19 ---> Running in 5e54227767c5 09:54:19 go: finding github.com/BurntSushi/toml v0.3.1 09:54:19 go: finding github.com/OneOfOne/xxhash v1.2.6 09:54:19 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:54:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:54:19 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:54:19 go: finding github.com/bgentry/speakeasy v0.1.0 09:54:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:54:19 go: finding github.com/davecgh/go-spew v1.1.1 09:54:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 09:54:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 09:54:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:54:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:54:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 09:54:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:54:19 go: finding github.com/fatih/color v1.7.0 09:54:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:54:19 go: finding github.com/go-kit/kit v0.8.0 09:54:19 go: finding github.com/go-logfmt/logfmt v0.4.0 09:54:19 go: finding github.com/go-stack/stack v1.8.0 09:54:19 go: finding github.com/goburrow/modbus v0.1.0 09:54:19 go: finding github.com/goburrow/serial v0.1.0 09:54:19 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:54:19 go: finding github.com/google/uuid v1.1.1 09:54:19 go: finding github.com/gorilla/mux v1.7.1 09:54:19 go: finding github.com/hashicorp/consul/api v1.1.0 09:54:19 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:54:19 go: finding github.com/hashicorp/errwrap v1.0.0 09:54:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:54:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:54:19 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:54:19 go: finding github.com/hashicorp/go-multierror v1.0.0 09:54:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:54:19 go: finding github.com/hashicorp/go-sockaddr v1.0.1 09:54:19 go: finding github.com/hashicorp/go-syslog v1.0.0 09:54:19 go: finding github.com/hashicorp/go-uuid v1.0.1 09:54:19 go: finding github.com/hashicorp/go.net v0.0.1 09:54:19 go: finding github.com/hashicorp/golang-lru v0.5.1 09:54:19 go: finding github.com/hashicorp/logutils v1.0.0 09:54:19 go: finding github.com/hashicorp/mdns v1.0.0 09:54:19 go: finding github.com/hashicorp/memberlist v0.1.3 09:54:19 go: finding github.com/hashicorp/serf v0.8.2 09:54:19 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:54:19 go: finding github.com/mattn/go-colorable v0.0.9 09:54:19 go: finding github.com/mattn/go-isatty v0.0.3 09:54:19 go: finding github.com/miekg/dns v1.1.4 09:54:19 go: finding github.com/mitchellh/cli v1.0.0 09:54:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:54:19 go: finding github.com/mitchellh/copystructure v1.0.0 09:54:19 go: finding github.com/mitchellh/go-homedir v1.1.0 09:54:19 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:54:19 go: finding github.com/mitchellh/go-wordwrap v1.0.0 09:54:19 go: finding github.com/mitchellh/gox v0.4.0 09:54:19 go: finding github.com/mitchellh/iochan v1.0.0 09:54:19 go: finding github.com/mitchellh/mapstructure v1.1.2 09:54:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:54:19 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:54:19 go: finding github.com/pelletier/go-toml v1.2.0 09:54:19 go: finding github.com/pkg/errors v0.8.1 09:54:19 go: finding github.com/pmezard/go-difflib v1.0.0 09:54:19 go: finding github.com/posener/complete v1.1.1 09:54:19 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 09:54:19 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:54:19 go: finding github.com/stretchr/objx v0.1.0 09:54:19 go: finding github.com/stretchr/testify v1.5.1 09:54:19 go: finding github.com/ugorji/go v1.1.4 09:54:19 go: finding github.com/x448/float16 v0.8.4 09:54:19 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:54:19 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 09:54:20 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:54:20 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:54:20 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:54:20 go: finding gopkg.in/yaml.v2 v2.2.8 09:54:21 go: finding github.com/BurntSushi/toml v0.3.1 09:54:21 go: finding github.com/OneOfOne/xxhash v1.2.6 09:54:21 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 09:54:21 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:54:21 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 09:54:21 go: finding github.com/bgentry/speakeasy v0.1.0 09:54:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:54:21 go: finding github.com/davecgh/go-spew v1.1.1 09:54:21 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 09:54:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 09:54:21 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:54:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:54:21 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 09:54:21 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:54:21 go: finding github.com/fatih/color v1.7.0 09:54:21 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:54:21 go: finding github.com/go-kit/kit v0.8.0 09:54:21 go: finding github.com/go-logfmt/logfmt v0.4.0 09:54:21 go: finding github.com/go-stack/stack v1.8.0 09:54:21 go: finding github.com/goburrow/modbus v0.1.0 09:54:21 go: finding github.com/goburrow/serial v0.1.0 09:54:21 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:54:21 go: finding github.com/google/uuid v1.1.1 09:54:21 go: finding github.com/gorilla/mux v1.7.1 09:54:21 go: finding github.com/hashicorp/consul/api v1.1.0 09:54:21 go: finding github.com/hashicorp/consul/sdk v0.1.1 09:54:21 go: finding github.com/hashicorp/errwrap v1.0.0 09:54:21 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:54:21 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:54:21 go: finding github.com/hashicorp/go-msgpack v0.5.3 09:54:21 go: finding github.com/hashicorp/go-multierror v1.0.0 09:54:21 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:54:21 go: finding github.com/hashicorp/go-sockaddr v1.0.1 09:54:21 go: finding github.com/hashicorp/go-syslog v1.0.0 09:54:21 go: finding github.com/hashicorp/go-uuid v1.0.1 09:54:21 go: finding github.com/hashicorp/go.net v0.0.1 09:54:21 go: finding github.com/hashicorp/golang-lru v0.5.1 09:54:21 go: finding github.com/hashicorp/logutils v1.0.0 09:54:21 go: finding github.com/hashicorp/mdns v1.0.0 09:54:21 go: finding github.com/hashicorp/memberlist v0.1.3 09:54:21 go: finding github.com/hashicorp/serf v0.8.2 09:54:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 09:54:21 go: finding github.com/mattn/go-colorable v0.0.9 09:54:21 go: finding github.com/mattn/go-isatty v0.0.3 09:54:21 go: finding github.com/miekg/dns v1.1.4 09:54:21 go: finding github.com/mitchellh/cli v1.0.0 09:54:21 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:54:21 go: finding github.com/mitchellh/copystructure v1.0.0 09:54:21 go: finding github.com/mitchellh/go-homedir v1.1.0 09:54:21 go: finding github.com/mitchellh/go-testing-interface v1.0.0 09:54:21 go: finding github.com/mitchellh/go-wordwrap v1.0.0 09:54:21 go: finding github.com/mitchellh/gox v0.4.0 09:54:21 go: finding github.com/mitchellh/iochan v1.0.0 09:54:21 go: finding github.com/mitchellh/mapstructure v1.1.2 09:54:22 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:54:22 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:54:22 go: finding github.com/pelletier/go-toml v1.2.0 09:54:22 go: finding github.com/pkg/errors v0.8.1 09:54:22 go: finding github.com/pmezard/go-difflib v1.0.0 09:54:22 go: finding github.com/posener/complete v1.1.1 09:54:22 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 09:54:22 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:54:22 go: finding github.com/stretchr/objx v0.1.0 09:54:22 go: finding github.com/stretchr/testify v1.5.1 09:54:22 go: finding github.com/ugorji/go v1.1.4 09:54:22 go: finding github.com/x448/float16 v0.8.4 09:54:22 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 09:54:22 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 09:54:22 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 09:54:22 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 09:54:22 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 09:54:22 go: finding gopkg.in/yaml.v2 v2.2.8 09:54:28 Removing intermediate container 39c6aac68bd5 09:54:28 ---> 6b3eb57bd2fe 09:54:28 Successfully built 6b3eb57bd2fe 09:54:28 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 09:54:28 + docker inspect -f . ci-base-image-x86_64 09:54:28 . [Pipeline] withDockerContainer 09:54:28 prd-centos7-docker-4c-2g-3542 does not seem to be running inside a container 09:54:28 $ 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-x86_64 cat 09:54:30 $ docker top 58f31747f449ceef2fc5195c4300e9698732f05cbf7eb4ec7641c2df543ce5d8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:30 + go version 09:54:30 go version go1.13.5 linux/amd64 [Pipeline] sh 09:54:30 + make test 09:54:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:54:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:54:32 Removing intermediate container 5e54227767c5 09:54:32 ---> 7b0c72b16ed7 09:54:32 Successfully built 7b0c72b16ed7 09:54:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:54:32 + docker inspect -f . ci-base-image-arm64 09:54:32 . [Pipeline] withDockerContainer 09:54:33 prd-ubuntu18.04-docker-arm64-4c-16g-3541 does not seem to be running inside a container 09:54:33 $ 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 09:54:34 $ docker top 3badb32867c3f2f68a8442fc947fba120d9bad8ecf0b749ee69388b73cbd43d1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:36 + go version 09:54:36 go version go1.13.5 linux/arm64 [Pipeline] sh 09:54:37 + make test 09:54:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:54:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:54:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:54:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.126s coverage: 50.3% of statements 09:54:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:54:44 gofmt -l . 09:54:44 [ "`gofmt -l .`" = "" ] 09:54:44 ./bin/test-attribution-txt.sh 09:54:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:54:45 Stashed 1 file(s) [Pipeline] } 09:54:45 $ docker stop --time=1 58f31747f449ceef2fc5195c4300e9698732f05cbf7eb4ec7641c2df543ce5d8 09:54:48 $ docker rm -f 58f31747f449ceef2fc5195c4300e9698732f05cbf7eb4ec7641c2df543ce5d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:49 + ls -al . 09:54:49 total 104 09:54:49 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 18 09:54 . 09:54:49 drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 09:53 .. 09:54:49 -rw-rw-r--. 1 jenkins jenkins 5049 Jun 18 09:53 Attribution.txt 09:54:49 drwxrwxr-x. 2 jenkins jenkins 87 Jun 18 09:53 bin 09:54:49 drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 09:53 cmd 09:54:49 -rw-r--r--. 1 jenkins jenkins 22123 Jun 18 09:54 coverage.out 09:54:49 -rw-rw-r--. 1 jenkins jenkins 1422 Jun 18 09:53 Dockerfile 09:54:49 -rw-rw-r--. 1 jenkins jenkins 954 Jun 18 09:53 Dockerfile.build 09:54:49 -rw-rw-r--. 1 jenkins jenkins 140 Jun 18 09:53 .dockerignore 09:54:49 drwxrwxr-x. 8 jenkins jenkins 179 Jun 18 09:53 .git 09:54:49 drwxrwxr-x. 2 jenkins jenkins 38 Jun 18 09:53 .github 09:54:49 -rw-rw-r--. 1 jenkins jenkins 330 Jun 18 09:53 .gitignore 09:54:49 -rw-r--r--. 1 jenkins jenkins 559 Jun 18 09:54 go.mod 09:54:49 -rw-r--r--. 1 jenkins jenkins 13471 Jun 18 09:54 go.sum 09:54:49 drwxrwxr-x. 3 jenkins jenkins 20 Jun 18 09:53 internal 09:54:49 -rw-rw-r--. 1 jenkins jenkins 702 Jun 18 09:53 Jenkinsfile 09:54:49 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 09:53 LICENSE 09:54:49 -rw-rw-r--. 1 jenkins jenkins 880 Jun 18 09:53 Makefile 09:54:49 -rw-rw-r--. 1 jenkins jenkins 591 Jun 18 09:53 README.md 09:54:49 drwxrwxr-x. 3 jenkins jenkins 58 Jun 18 09:53 .semver 09:54:49 drwxrwxr-x. 2 jenkins jenkins 35 Jun 18 09:53 simulator 09:54:49 drwxrwxr-x. 4 jenkins jenkins 54 Jun 18 09:53 snap 09:54:49 -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 09:50 VERSION 09:54:49 -rw-rw-r--. 1 jenkins jenkins 229 Jun 18 09:53 version.go [Pipeline] isUnix [Pipeline] sh 09:54:49 + 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=51725aa6219b7acd356423099fa6f07cbac6e7b1 --label arch=amd64 --label version=0.0.0 . 09:54:49 Sending build context to Docker daemon 644.6kB 09:54:49 Step 1/19 : ARG BASE=golang:1.13-alpine 09:54:49 Step 2/19 : FROM ${BASE} AS builder 09:54:49 ---> 6b3eb57bd2fe 09:54:49 Step 3/19 : ARG MAKE='make build' 09:54:50 ---> Running in 657d7ba5d2b7 09:54:50 Removing intermediate container 657d7ba5d2b7 09:54:50 ---> 1288dc0071e6 09:54:50 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:50 ---> Running in cc9d5936de50 09:54:51 Removing intermediate container cc9d5936de50 09:54:51 ---> d6393fd316ae 09:54:51 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 09:54:51 ---> Running in 25fa0a8790f5 09:54:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 09:54:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 09:54:52 OK: 214 MiB in 52 packages 09:54:52 Removing intermediate container 25fa0a8790f5 09:54:52 ---> d7005c9ae5a2 09:54:52 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 09:54:53 ---> Running in d7140d42c192 09:54:53 Removing intermediate container d7140d42c192 09:54:53 ---> f1a8d2333f9d 09:54:53 Step 7/19 : COPY . . 09:54:54 ---> c3cdd2f1890a 09:54:54 Step 8/19 : RUN ${MAKE} 09:54:54 ---> Running in 2fa715bfedf2 09:54:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 09:55:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:55:06 Removing intermediate container 2fa715bfedf2 09:55:06 ---> 8bf2f4bd2b00 09:55:06 Step 9/19 : FROM scratch 09:55:06 ---> 09:55:06 Step 10/19 : ENV APP_PORT=49991 09:55:06 ---> Running in 621540955af6 09:55:06 Removing intermediate container 621540955af6 09:55:06 ---> 079c43dc0113 09:55:06 Step 11/19 : EXPOSE $APP_PORT 09:55:06 ---> Running in 3efaf53e5a76 09:55:06 Removing intermediate container 3efaf53e5a76 09:55:06 ---> 545f3d4f0f51 09:55:06 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 09:55:07 ---> e41d954736b4 09:55:07 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 09:55:07 ---> df114dbe2b06 09:55:07 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 09:55:07 ---> 09d6482fe62f 09:55:07 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 09:55:07 ---> Running in 2ee17c440b71 09:55:07 Removing intermediate container 2ee17c440b71 09:55:07 ---> 23ac36b22a6a 09:55:07 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 09:55:07 ---> Running in 736da5e45289 09:55:08 Removing intermediate container 736da5e45289 09:55:08 ---> 85d5fdcb7d4b 09:55:08 Step 17/19 : LABEL arch=amd64 09:55:08 ---> Running in 3bdf6bf8eb7a 09:55:08 Removing intermediate container 3bdf6bf8eb7a 09:55:08 ---> 67cd90161a62 09:55:08 Step 18/19 : LABEL git_sha=51725aa6219b7acd356423099fa6f07cbac6e7b1 09:55:08 ---> Running in 5ce1e95f02bd 09:55:08 Removing intermediate container 5ce1e95f02bd 09:55:08 ---> 5226dc10a74b 09:55:08 Step 19/19 : LABEL version=0.0.0 09:55:08 ---> Running in 373183de8978 09:55:08 Removing intermediate container 373183de8978 09:55:08 ---> 7925c82a7c1f 09:55:08 [Warning] One or more build-args [ARCH] were not consumed 09:55:08 Successfully built 7925c82a7c1f 09:55:08 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 09:55:09 ++ find /w/workspace/device-modbus-go/2 09:55:09 ++ grep snapcraft.yaml 09:55:09 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:09 provisioning config files... 09:55:09 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config392980646259565763tmp [Pipeline] { [Pipeline] sh 09:55:09 + cp /w/workspace/device-modbus-go/2@tmp/config392980646259565763tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 09:55:10 + 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 09:55:10 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 09:55:10 latest: Pulling from edgex-devops/edgex-snap-builder 09:55:10 5bed26d33875: Pulling fs layer 09:55:10 f11b29a9c730: Pulling fs layer 09:55:10 930bda195c84: Pulling fs layer 09:55:10 78bf9a5ad49e: Pulling fs layer 09:55:10 e5fbee5a4b0d: Pulling fs layer 09:55:10 f452fca78f88: Pulling fs layer 09:55:10 7417ef92027a: Pulling fs layer 09:55:10 2af5c49d270b: Pulling fs layer 09:55:10 df9c3bdbc40a: Pulling fs layer 09:55:10 f452fca78f88: Waiting 09:55:10 7417ef92027a: Waiting 09:55:10 2af5c49d270b: Waiting 09:55:10 df9c3bdbc40a: Waiting 09:55:10 78bf9a5ad49e: Waiting 09:55:10 e5fbee5a4b0d: Waiting 09:55:10 f11b29a9c730: Verifying Checksum 09:55:10 f11b29a9c730: Download complete 09:55:10 930bda195c84: Verifying Checksum 09:55:10 930bda195c84: Download complete 09:55:10 78bf9a5ad49e: Verifying Checksum 09:55:10 78bf9a5ad49e: Download complete 09:55:10 f452fca78f88: Verifying Checksum 09:55:10 f452fca78f88: Download complete 09:55:10 7417ef92027a: Verifying Checksum 09:55:10 7417ef92027a: Download complete 09:55:10 2af5c49d270b: Verifying Checksum 09:55:10 2af5c49d270b: Download complete 09:55:10 df9c3bdbc40a: Verifying Checksum 09:55:10 df9c3bdbc40a: Download complete 09:55:10 5bed26d33875: Verifying Checksum 09:55:10 5bed26d33875: Download complete 09:55:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:55:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.237s coverage: 50.3% of statements 09:55:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:55:12 gofmt -l . 09:55:12 [ "`gofmt -l .`" = "" ] 09:55:12 ./bin/test-attribution-txt.sh 09:55:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:55:13 Warning: overwriting stash ‘coverage-report’ 09:55:13 Stashed 1 file(s) [Pipeline] } 09:55:13 $ docker stop --time=1 3badb32867c3f2f68a8442fc947fba120d9bad8ecf0b749ee69388b73cbd43d1 09:55:14 e5fbee5a4b0d: Verifying Checksum 09:55:14 e5fbee5a4b0d: Download complete 09:55:14 5bed26d33875: Pull complete 09:55:15 f11b29a9c730: Pull complete 09:55:15 930bda195c84: Pull complete 09:55:15 78bf9a5ad49e: Pull complete 09:55:15 $ docker rm -f 3badb32867c3f2f68a8442fc947fba120d9bad8ecf0b749ee69388b73cbd43d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:55:17 + ls -al . 09:55:17 total 140 09:55:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 09:55 . 09:55:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 09:52 .. 09:55:17 -rw-rw-r-- 1 jenkins jenkins 140 Jun 18 09:53 .dockerignore 09:55:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 09:53 .git 09:55:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 09:53 .github 09:55:17 -rw-rw-r-- 1 jenkins jenkins 330 Jun 18 09:53 .gitignore 09:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 09:53 .semver 09:55:17 -rw-rw-r-- 1 jenkins jenkins 5049 Jun 18 09:53 Attribution.txt 09:55:17 -rw-rw-r-- 1 jenkins jenkins 1422 Jun 18 09:53 Dockerfile 09:55:17 -rw-rw-r-- 1 jenkins jenkins 954 Jun 18 09:53 Dockerfile.build 09:55:17 -rw-rw-r-- 1 jenkins jenkins 702 Jun 18 09:53 Jenkinsfile 09:55:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 09:53 LICENSE 09:55:17 -rw-rw-r-- 1 jenkins jenkins 880 Jun 18 09:53 Makefile 09:55:17 -rw-rw-r-- 1 jenkins jenkins 591 Jun 18 09:53 README.md 09:55:17 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 09:50 VERSION 09:55:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 09:53 bin 09:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 09:53 cmd 09:55:17 -rw-r--r-- 1 jenkins jenkins 22123 Jun 18 09:55 coverage.out 09:55:17 -rw-r--r-- 1 jenkins jenkins 559 Jun 18 09:55 go.mod 09:55:17 -rw-r--r-- 1 jenkins jenkins 13471 Jun 18 09:55 go.sum 09:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 09:53 internal 09:55:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 09:53 simulator 09:55:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 09:53 snap 09:55:17 -rw-rw-r-- 1 jenkins jenkins 229 Jun 18 09:53 version.go [Pipeline] isUnix [Pipeline] sh 09:55:17 + 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=51725aa6219b7acd356423099fa6f07cbac6e7b1 --label arch=arm64 --label version=0.0.0 . 09:55:17 Sending build context to Docker daemon 644.6kB 09:55:17 Step 1/19 : ARG BASE=golang:1.13-alpine 09:55:17 Step 2/19 : FROM ${BASE} AS builder 09:55:17 ---> 7b0c72b16ed7 09:55:17 Step 3/19 : ARG MAKE='make build' 09:55:18 ---> Running in 91e92db5eb34 09:55:18 Removing intermediate container 91e92db5eb34 09:55:18 ---> 2f2973e6fd88 09:55:18 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:55:18 ---> Running in 542cedaed6c2 09:55:21 Removing intermediate container 542cedaed6c2 09:55:21 ---> d26330e65b76 09:55:21 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 09:55:21 ---> Running in 7b8de8c57fef 09:55:22 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 09:55:23 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 09:55:24 OK: 203 MiB in 52 packages 09:55:25 Removing intermediate container 7b8de8c57fef 09:55:25 ---> a0f34ae2924c 09:55:25 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 09:55:25 ---> Running in 22724f137685 09:55:25 Removing intermediate container 22724f137685 09:55:25 ---> e8167525244f 09:55:25 Step 7/19 : COPY . . 09:55:26 ---> b8662ca007e5 09:55:26 Step 8/19 : RUN ${MAKE} 09:55:26 ---> Running in c431e4fc24ad 09:55:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 09:55:37 e5fbee5a4b0d: Pull complete 09:55:37 f452fca78f88: Pull complete 09:55:37 7417ef92027a: Pull complete 09:55:37 2af5c49d270b: Pull complete 09:55:37 df9c3bdbc40a: Pull complete 09:55:37 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 09:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 09:55:37 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 09:55:37 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 09:55:38 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 09:55:38 Get:4 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] 09:55:38 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [960 kB] 09:55:38 Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 09:55:38 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] 09:55:38 Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] 09:55:38 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1397 kB] 09:55:39 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] 09:55:39 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] 09:55:39 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] 09:55:39 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 09:55:39 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 09:55:39 Fetched 4917 kB in 2s (2441 kB/s) 09:55:40 Reading package lists... 09:55:45 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 09:55:45 Reading package lists... 09:55:45 Building dependency tree... 09:55:45 Reading state information... 09:55:46 The following packages were automatically installed and are no longer required: 09:55:46 libjq1 liblzo2-2 libonig4 09:55:46 Use 'sudo apt autoremove' to remove them. 09:55:46 Suggested packages: 09:55:46 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:55:46 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 09:55:46 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 09:55:46 libterm-readline-gnu-perl | libterm-readline-perl-perl 09:55:46 The following NEW packages will be installed: 09:55:46 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 09:55:46 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 09:55:46 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 09:55:46 openssh-client patch perl perl-modules-5.26 xauth 09:55:46 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 09:55:46 Need to get 14.7 MB of archives. 09:55:46 After this operation, 89.5 MB of additional disk space will be used. 09:55:46 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 09:55:46 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 09:55:46 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 09:55:46 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 09:55:47 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 09:55:47 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 09:55:47 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 09:55:47 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 09:55:47 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 09:55:47 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 09:55:47 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 09:55:48 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 09:55:48 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 09:55:48 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 09:55:48 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 09:55:48 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 09:55:48 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 09:55:48 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 09:55:48 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 09:55:48 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 09:55:48 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 09:55:48 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 09:55:48 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 09:55:48 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:55:48 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 09:55:48 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 09:55:48 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 09:55:49 debconf: delaying package configuration, since apt-utils is not installed 09:55:49 Fetched 14.7 MB in 2s (6140 kB/s) 09:55:49 Selecting previously unselected package libxau6:amd64. 09:55:49 (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.) 09:55:49 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 09:55:49 Unpacking libxau6:amd64 (1:1.0.8-1) ... 09:55:49 Selecting previously unselected package libbsd0:amd64. 09:55:49 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 09:55:49 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 09:55:49 Selecting previously unselected package libxdmcp6:amd64. 09:55:49 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 09:55:49 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 09:55:49 Selecting previously unselected package libxcb1:amd64. 09:55:49 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 09:55:49 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 09:55:49 Selecting previously unselected package libx11-data. 09:55:49 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 09:55:49 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 09:55:50 Selecting previously unselected package libx11-6:amd64. 09:55:50 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 09:55:50 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 09:55:50 Selecting previously unselected package libxext6:amd64. 09:55:50 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 09:55:50 Unpacking libxext6:amd64 (2:1.3.3-1) ... 09:55:50 Selecting previously unselected package perl-modules-5.26. 09:55:50 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:55:50 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:55:52 Selecting previously unselected package libgdbm5:amd64. 09:55:52 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 09:55:52 Unpacking libgdbm5:amd64 (1.14.1-6) ... 09:55:53 Selecting previously unselected package libgdbm-compat4:amd64. 09:55:53 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 09:55:53 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 09:55:53 Selecting previously unselected package libperl5.26:amd64. 09:55:53 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 09:55:53 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:55:54 Selecting previously unselected package perl. 09:55:54 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 09:55:54 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:55:54 Selecting previously unselected package less. 09:55:54 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 09:55:54 Unpacking less (487-0.1) ... 09:55:54 Selecting previously unselected package libexpat1:amd64. 09:55:54 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 09:55:54 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 09:55:54 Selecting previously unselected package netbase. 09:55:54 Preparing to unpack .../14-netbase_5.4_all.deb ... 09:55:54 Unpacking netbase (5.4) ... 09:55:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:55:55 Selecting previously unselected package libedit2:amd64. 09:55:55 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 09:55:55 Unpacking libedit2:amd64 (3.1-20170329-1) ... 09:55:55 Selecting previously unselected package libssl1.0.0:amd64. 09:55:55 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 09:55:55 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 09:55:55 Selecting previously unselected package libxmuu1:amd64. 09:55:55 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 09:55:55 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 09:55:55 Selecting previously unselected package openssh-client. 09:55:55 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 09:55:55 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 09:55:55 Selecting previously unselected package xauth. 09:55:55 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 09:55:55 Unpacking xauth (1:1.0.10-1) ... 09:55:55 Selecting previously unselected package curl. 09:55:55 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 09:55:55 Unpacking curl (7.58.0-2ubuntu3.8) ... 09:55:55 Selecting previously unselected package libcurl3-gnutls:amd64. 09:55:55 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 09:55:55 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 09:55:55 Selecting previously unselected package liberror-perl. 09:55:55 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 09:55:55 Unpacking liberror-perl (0.17025-1) ... 09:55:55 Selecting previously unselected package git-man. 09:55:55 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:55:55 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:55:55 Selecting previously unselected package git. 09:55:55 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 09:55:55 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:55:56 Selecting previously unselected package make. 09:55:56 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 09:55:56 Unpacking make (4.1-9.1ubuntu1) ... 09:55:56 Selecting previously unselected package patch. 09:55:56 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 09:55:56 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:55:56 Setting up libedit2:amd64 (3.1-20170329-1) ... 09:55:56 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:55:56 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 09:55:56 Setting up less (487-0.1) ... 09:55:57 Setting up make (4.1-9.1ubuntu1) ... 09:55:57 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 09:55:57 Setting up curl (7.58.0-2ubuntu3.8) ... 09:55:57 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 09:55:57 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:55:57 Setting up libgdbm5:amd64 (1.14.1-6) ... 09:55:57 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 09:55:57 Setting up patch (2.7.6-2ubuntu1.1) ... 09:55:57 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 09:55:57 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 09:55:57 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 09:55:57 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 09:55:57 Setting up libxau6:amd64 (1:1.0.8-1) ... 09:55:57 Setting up netbase (5.4) ... 09:55:57 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:55:57 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 09:55:57 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 09:55:57 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 09:55:57 Setting up perl (5.26.1-6ubuntu0.3) ... 09:55:57 Setting up libxext6:amd64 (2:1.3.3-1) ... 09:55:57 Setting up liberror-perl (0.17025-1) ... 09:55:57 Setting up xauth (1:1.0.10-1) ... 09:55:57 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:55:57 Processing triggers for libc-bin (2.27-3ubuntu1) ... 09:55:58 Removing intermediate container c431e4fc24ad 09:55:58 ---> f46b1e425433 09:55:58 Step 9/19 : FROM scratch 09:55:58 ---> 09:55:58 Step 10/19 : ENV APP_PORT=49991 09:55:58 ---> Running in e2047a2c1f2d 09:55:58 Removing intermediate container e2047a2c1f2d 09:55:58 ---> a2cda6aa193c 09:55:58 Step 11/19 : EXPOSE $APP_PORT 09:55:58 ---> Running in 385b5a3a1300 09:55:59 Removing intermediate container 385b5a3a1300 09:55:59 ---> c64c9981551b 09:55:59 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 09:55:59 curl set to automatically installed. 09:55:59 git set to automatically installed. 09:55:59 git-man set to automatically installed. 09:55:59 less set to automatically installed. 09:55:59 libbsd0 set to automatically installed. 09:55:59 libcurl3-gnutls set to automatically installed. 09:55:59 libedit2 set to automatically installed. 09:55:59 liberror-perl set to automatically installed. 09:55:59 libexpat1 set to automatically installed. 09:55:59 libgdbm-compat4 set to automatically installed. 09:55:59 libgdbm5 set to automatically installed. 09:55:59 libperl5.26 set to automatically installed. 09:55:59 libssl1.0.0 set to automatically installed. 09:55:59 libx11-6 set to automatically installed. 09:55:59 libx11-data set to automatically installed. 09:55:59 libxau6 set to automatically installed. 09:55:59 libxcb1 set to automatically installed. 09:55:59 libxdmcp6 set to automatically installed. 09:55:59 libxext6 set to automatically installed. 09:55:59 libxmuu1 set to automatically installed. 09:55:59 make set to automatically installed. 09:55:59 netbase set to automatically installed. 09:55:59 openssh-client set to automatically installed. 09:55:59 patch set to automatically installed. 09:55:59 perl set to automatically installed. 09:55:59 perl-modules-5.26 set to automatically installed. 09:55:59 xauth set to automatically installed. 09:55:59 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:55:59 Please ensure the environment is properly setup before continuing. 09:55:59 Ignore this message if the appropriate measures have already been taken 09:56:00 ---> 3f38a23a4cd3 09:56:00 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 09:56:00 Pulling go 09:56:01 ---> dfd8d89d30ba 09:56:01 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 09:56:01 'device-modbus' has dependencies that need to be staged: go 09:56:01 Skipping pull go (already ran) 09:56:01 Building go 09:56:01 % Total % Received % Xferd Average Speed Time Time Time Current 09:56:01 Dload Upload Total Spent Left Speed 09:56:01 ---> cecf4f87e7a3 09:56:01 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 09:56:01 ---> Running in 9585703a51ce 09:56:02 Removing intermediate container 9585703a51ce 09:56:02 ---> e52d609659e2 09:56:02 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 09:56:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 32 114M 32 36.9M 0 0 65.8M 0 0:00:01 --:--:-- 0:00:01 65.7M 56 114M 56 65.2M 0 0 68.6M 0 0:00:01 --:--:-- 0:00:01 68.5M 09:56:02 curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 09:56:02 Failed to run 'override-build': Exit code was 56. 09:56:02 ---> Running in 46e4d023a724 09:56:02 Removing intermediate container 46e4d023a724 09:56:02 ---> f98a2281acfe 09:56:02 Step 17/19 : LABEL arch=arm64 09:56:03 ---> Running in 5d3b77a8e134 [Pipeline] } 09:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 09:56:03 Removing intermediate container 5d3b77a8e134 09:56:03 ---> 45b3ba64968d 09:56:03 Step 18/19 : LABEL git_sha=51725aa6219b7acd356423099fa6f07cbac6e7b1 09:56:03 ---> Running in b0ed0061aa24 [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:56:03 Failed in branch amd64 09:56:04 Removing intermediate container b0ed0061aa24 09:56:04 ---> 1de5b5ad4c8e 09:56:04 Step 19/19 : LABEL version=0.0.0 09:56:04 ---> Running in 97c1ae6f4988 09:56:04 Removing intermediate container 97c1ae6f4988 09:56:04 ---> 041e5effa8da 09:56:04 [Warning] One or more build-args [ARCH] were not consumed 09:56:04 Successfully built 041e5effa8da 09:56:04 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 09:56:05 + + find /w/workspace/device-modbus-go/2grep 09:56:05 snapcraft.yaml 09:56:05 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:56:05 provisioning config files... 09:56:05 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config6829714554994257579tmp [Pipeline] { [Pipeline] sh 09:56:05 + cp /w/workspace/device-modbus-go/2@tmp/config6829714554994257579tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 09:56:06 + 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 09:56:06 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 09:56:06 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 09:56:06 b2f61026a351: Pulling fs layer 09:56:06 5538fb30c42c: Pulling fs layer 09:56:06 f0b05810781a: Pulling fs layer 09:56:06 0180a33352d6: Pulling fs layer 09:56:06 e7604b0c0f53: Pulling fs layer 09:56:06 db689cb83ae0: Pulling fs layer 09:56:06 6138af208834: Pulling fs layer 09:56:06 007c8e8c5d63: Pulling fs layer 09:56:06 4f7a387c642f: Pulling fs layer 09:56:06 db689cb83ae0: Waiting 09:56:06 6138af208834: Waiting 09:56:06 007c8e8c5d63: Waiting 09:56:06 4f7a387c642f: Waiting 09:56:06 0180a33352d6: Waiting 09:56:06 e7604b0c0f53: Waiting 09:56:06 f0b05810781a: Verifying Checksum 09:56:06 f0b05810781a: Download complete 09:56:06 5538fb30c42c: Download complete 09:56:06 0180a33352d6: Verifying Checksum 09:56:06 0180a33352d6: Download complete 09:56:06 db689cb83ae0: Verifying Checksum 09:56:06 db689cb83ae0: Download complete 09:56:06 6138af208834: Verifying Checksum 09:56:06 6138af208834: Download complete 09:56:06 007c8e8c5d63: Download complete 09:56:06 4f7a387c642f: Verifying Checksum 09:56:06 4f7a387c642f: Download complete 09:56:07 b2f61026a351: Verifying Checksum 09:56:07 b2f61026a351: Download complete 09:56:10 b2f61026a351: Pull complete 09:56:10 5538fb30c42c: Pull complete 09:56:10 f0b05810781a: Pull complete 09:56:11 0180a33352d6: Pull complete 09:56:14 e7604b0c0f53: Verifying Checksum 09:56:14 e7604b0c0f53: Download complete 09:56:46 e7604b0c0f53: Pull complete 09:56:46 db689cb83ae0: Pull complete 09:56:46 6138af208834: Pull complete 09:56:46 007c8e8c5d63: Pull complete 09:56:46 4f7a387c642f: Pull complete 09:56:46 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 09:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 09:56:53 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 09:56:53 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 09:56:53 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 09:56:53 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 09:56:53 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 09:56:53 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 09:56:53 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [880 kB] 09:56:54 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1239 kB] 09:56:54 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 09:56:54 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 09:56:54 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [608 kB] 09:56:54 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [756 kB] 09:56:55 Fetched 3756 kB in 3s (1433 kB/s) 09:57:00 Reading package lists... 09:57:12 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 09:57:17 Reading package lists... 09:57:17 Building dependency tree... 09:57:17 Reading state information... 09:57:18 The following packages were automatically installed and are no longer required: 09:57:18 libjq1 liblzo2-2 libonig4 09:57:18 Use 'sudo apt autoremove' to remove them. 09:57:18 Suggested packages: 09:57:18 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:57:18 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 09:57:18 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 09:57:18 libterm-readline-gnu-perl | libterm-readline-perl-perl 09:57:18 The following NEW packages will be installed: 09:57:18 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 09:57:18 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 09:57:18 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 09:57:18 openssh-client patch perl perl-modules-5.26 xauth 09:57:19 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 09:57:19 Need to get 12.9 MB of archives. 09:57:19 After this operation, 84.2 MB of additional disk space will be used. 09:57:19 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 09:57:19 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 09:57:19 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 09:57:19 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 09:57:19 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 09:57:19 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 09:57:19 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 09:57:19 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 09:57:20 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 09:57:20 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 09:57:20 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 09:57:20 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 09:57:20 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 09:57:20 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 09:57:20 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 09:57:20 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 09:57:20 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 09:57:20 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 09:57:20 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 09:57:20 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 09:57:20 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 09:57:21 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 09:57:21 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 09:57:21 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:57:21 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 09:57:21 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 09:57:21 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 09:57:21 debconf: delaying package configuration, since apt-utils is not installed 09:57:22 Fetched 12.9 MB in 2s (5276 kB/s) 09:57:22 Selecting previously unselected package libxau6:arm64. 09:57:22 (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.) 09:57:22 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 09:57:22 Unpacking libxau6:arm64 (1:1.0.8-1) ... 09:57:22 Selecting previously unselected package libbsd0:arm64. 09:57:22 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 09:57:22 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 09:57:22 Selecting previously unselected package libxdmcp6:arm64. 09:57:22 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 09:57:22 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 09:57:22 Selecting previously unselected package libxcb1:arm64. 09:57:22 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 09:57:22 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 09:57:22 Selecting previously unselected package libx11-data. 09:57:22 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 09:57:22 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 09:57:23 Selecting previously unselected package libx11-6:arm64. 09:57:23 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 09:57:23 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 09:57:23 Selecting previously unselected package libxext6:arm64. 09:57:23 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 09:57:23 Unpacking libxext6:arm64 (2:1.3.3-1) ... 09:57:23 Selecting previously unselected package perl-modules-5.26. 09:57:23 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:57:23 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:57:25 Selecting previously unselected package libgdbm5:arm64. 09:57:25 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 09:57:25 Unpacking libgdbm5:arm64 (1.14.1-6) ... 09:57:25 Selecting previously unselected package libgdbm-compat4:arm64. 09:57:25 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 09:57:25 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 09:57:25 Selecting previously unselected package libperl5.26:arm64. 09:57:25 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 09:57:25 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:57:26 Selecting previously unselected package perl. 09:57:26 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 09:57:26 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:57:26 Selecting previously unselected package less. 09:57:26 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 09:57:26 Unpacking less (487-0.1) ... 09:57:26 Selecting previously unselected package libexpat1:arm64. 09:57:26 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 09:57:26 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 09:57:26 Selecting previously unselected package netbase. 09:57:27 Preparing to unpack .../14-netbase_5.4_all.deb ... 09:57:27 Unpacking netbase (5.4) ... 09:57:27 Selecting previously unselected package libedit2:arm64. 09:57:27 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 09:57:27 Unpacking libedit2:arm64 (3.1-20170329-1) ... 09:57:27 Selecting previously unselected package libssl1.0.0:arm64. 09:57:27 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 09:57:27 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 09:57:27 Selecting previously unselected package libxmuu1:arm64. 09:57:27 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 09:57:27 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 09:57:27 Selecting previously unselected package openssh-client. 09:57:27 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 09:57:27 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 09:57:28 Selecting previously unselected package xauth. 09:57:28 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 09:57:28 Unpacking xauth (1:1.0.10-1) ... 09:57:28 Selecting previously unselected package curl. 09:57:28 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 09:57:28 Unpacking curl (7.58.0-2ubuntu3.8) ... 09:57:28 Selecting previously unselected package libcurl3-gnutls:arm64. 09:57:28 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 09:57:28 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 09:57:28 Selecting previously unselected package liberror-perl. 09:57:28 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 09:57:28 Unpacking liberror-perl (0.17025-1) ... 09:57:28 Selecting previously unselected package git-man. 09:57:28 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:57:28 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:57:29 Selecting previously unselected package git. 09:57:29 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 09:57:29 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:57:30 Selecting previously unselected package make. 09:57:30 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 09:57:30 Unpacking make (4.1-9.1ubuntu1) ... 09:57:30 Selecting previously unselected package patch. 09:57:30 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 09:57:30 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:57:30 Setting up libedit2:arm64 (3.1-20170329-1) ... 09:57:30 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:57:30 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 09:57:30 Setting up less (487-0.1) ... 09:57:31 Setting up make (4.1-9.1ubuntu1) ... 09:57:31 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 09:57:31 Setting up curl (7.58.0-2ubuntu3.8) ... 09:57:31 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 09:57:31 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:57:31 Setting up libgdbm5:arm64 (1.14.1-6) ... 09:57:31 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 09:57:31 Setting up patch (2.7.6-2ubuntu1.1) ... 09:57:31 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 09:57:31 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 09:57:31 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 09:57:32 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 09:57:32 Setting up libxau6:arm64 (1:1.0.8-1) ... 09:57:32 Setting up netbase (5.4) ... 09:57:32 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:57:32 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 09:57:32 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 09:57:32 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 09:57:32 Setting up perl (5.26.1-6ubuntu0.3) ... 09:57:32 Setting up libxext6:arm64 (2:1.3.3-1) ... 09:57:32 Setting up liberror-perl (0.17025-1) ... 09:57:32 Setting up xauth (1:1.0.10-1) ... 09:57:32 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:57:32 Processing triggers for libc-bin (2.27-3ubuntu1) ... 09:57:39 curl set to automatically installed. 09:57:39 git set to automatically installed. 09:57:39 git-man set to automatically installed. 09:57:39 less set to automatically installed. 09:57:39 libbsd0 set to automatically installed. 09:57:39 libcurl3-gnutls set to automatically installed. 09:57:39 libedit2 set to automatically installed. 09:57:39 liberror-perl set to automatically installed. 09:57:39 libexpat1 set to automatically installed. 09:57:39 libgdbm-compat4 set to automatically installed. 09:57:39 libgdbm5 set to automatically installed. 09:57:39 libperl5.26 set to automatically installed. 09:57:39 libssl1.0.0 set to automatically installed. 09:57:39 libx11-6 set to automatically installed. 09:57:39 libx11-data set to automatically installed. 09:57:39 libxau6 set to automatically installed. 09:57:39 libxcb1 set to automatically installed. 09:57:39 libxdmcp6 set to automatically installed. 09:57:39 libxext6 set to automatically installed. 09:57:39 libxmuu1 set to automatically installed. 09:57:39 make set to automatically installed. 09:57:39 netbase set to automatically installed. 09:57:39 openssh-client set to automatically installed. 09:57:39 patch set to automatically installed. 09:57:39 perl set to automatically installed. 09:57:39 perl-modules-5.26 set to automatically installed. 09:57:39 xauth set to automatically installed. 09:57:39 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:57:39 Please ensure the environment is properly setup before continuing. 09:57:39 Ignore this message if the appropriate measures have already been taken 09:57:40 Pulling go 09:57:43 'device-modbus' has dependencies that need to be staged: go 09:57:43 Skipping pull go (already ran) 09:57:43 Building go 09:57:43 % Total % Received % Xferd Average Speed Time Time Time Current 09:57:43 Dload Upload Total Spent Left Speed 09:57:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 32 93.0M 32 29.9M 0 0 32.7M 0 0:00:02 --:--:-- 0:00:02 32.7M 81 93.0M 81 75.9M 0 0 39.3M 0 0:00:02 0:00:01 0:00:01 39.3M 100 93.0M 100 93.0M 0 0 40.2M 0 0:00:02 0:00:02 --:--:-- 40.2M 09:57:46 go1.13.5.linux-arm64.tar.gz: OK 09:58:04 Staging go 09:58:07 Pulling device-modbus 09:58:10 Skipping build go (already ran) 09:58:10 Building device-modbus 09:58:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 09:58:11 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.2 09:58:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:58:11 go: downloading github.com/goburrow/modbus v0.1.0 09:58:11 go: extracting github.com/goburrow/modbus v0.1.0 09:58:11 go: downloading github.com/goburrow/serial v0.1.0 09:58:11 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.2 09:58:11 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:58:11 go: extracting github.com/goburrow/serial v0.1.0 09:58:11 go: downloading github.com/gorilla/mux v1.7.1 09:58:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.33 09:58:11 go: downloading github.com/google/uuid v1.1.1 09:58:11 go: downloading github.com/go-kit/kit v0.8.0 09:58:11 go: extracting github.com/google/uuid v1.1.1 09:58:11 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 09:58:11 go: extracting github.com/gorilla/mux v1.7.1 09:58:11 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 09:58:11 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.33 09:58:11 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 09:58:11 go: downloading github.com/pkg/errors v0.8.1 09:58:11 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 09:58:11 go: downloading github.com/hashicorp/consul/api v1.1.0 09:58:11 go: downloading github.com/OneOfOne/xxhash v1.2.6 09:58:11 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 09:58:11 go: downloading github.com/pelletier/go-toml v1.2.0 09:58:11 go: extracting github.com/pkg/errors v0.8.1 09:58:11 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 09:58:11 go: downloading github.com/BurntSushi/toml v0.3.1 09:58:11 go: downloading gopkg.in/yaml.v2 v2.2.8 09:58:11 go: downloading github.com/x448/float16 v0.8.4 09:58:11 go: extracting github.com/OneOfOne/xxhash v1.2.6 09:58:11 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 09:58:11 go: extracting github.com/BurntSushi/toml v0.3.1 09:58:11 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 09:58:12 go: extracting github.com/x448/float16 v0.8.4 09:58:12 go: extracting github.com/pelletier/go-toml v1.2.0 09:58:12 go: extracting github.com/go-kit/kit v0.8.0 09:58:12 go: extracting github.com/hashicorp/consul/api v1.1.0 09:58:12 go: extracting gopkg.in/yaml.v2 v2.2.8 09:58:12 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:58:12 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:58:12 go: downloading github.com/mitchellh/copystructure v1.0.0 09:58:12 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:58:12 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:58:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:58:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 09:58:12 go: downloading github.com/hashicorp/serf v0.8.2 09:58:12 go: extracting github.com/mitchellh/copystructure v1.0.0 09:58:12 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 09:58:12 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 09:58:12 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 09:58:12 go: extracting github.com/mitchellh/mapstructure v1.1.2 09:58:12 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:58:12 go: extracting github.com/mitchellh/reflectwalk v1.0.0 09:58:12 go: extracting github.com/hashicorp/serf v0.8.2 09:58:12 go: downloading github.com/go-logfmt/logfmt v0.4.0 09:58:12 go: extracting github.com/go-logfmt/logfmt v0.4.0 09:58:12 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:58:12 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:58:12 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:58:12 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 09:58:12 go: downloading github.com/hashicorp/golang-lru v0.5.1 09:58:12 go: extracting github.com/hashicorp/golang-lru v0.5.1 09:58:12 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 09:58:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:58:12 go: finding github.com/goburrow/modbus v0.1.0 09:58:12 go: finding github.com/gorilla/mux v1.7.1 09:58:12 go: finding github.com/fxamacker/cbor/v2 v2.2.0 09:58:12 go: finding github.com/goburrow/serial v0.1.0 09:58:12 go: finding github.com/go-kit/kit v0.8.0 09:58:12 go: finding github.com/OneOfOne/xxhash v1.2.6 09:58:12 go: finding github.com/google/uuid v1.1.1 09:58:12 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 09:58:12 go: finding github.com/x448/float16 v0.8.4 09:58:12 go: finding github.com/go-logfmt/logfmt v0.4.0 09:58:12 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 09:58:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 09:58:12 go: finding gopkg.in/yaml.v2 v2.2.8 09:58:12 go: finding github.com/BurntSushi/toml v0.3.1 09:58:12 go: finding github.com/pkg/errors v0.8.1 09:58:12 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 09:58:12 go: finding github.com/hashicorp/consul/api v1.1.0 09:58:12 go: finding github.com/pelletier/go-toml v1.2.0 09:58:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:58:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 09:58:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 09:58:12 go: finding github.com/hashicorp/serf v0.8.2 09:58:12 go: finding github.com/mitchellh/mapstructure v1.1.2 09:58:12 go: finding github.com/mitchellh/copystructure v1.0.0 09:58:12 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 09:58:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:58:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 09:58:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 09:58:12 go: finding github.com/hashicorp/golang-lru v0.5.1 09:58:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:58:54 Skipping stage go (already ran) 09:58:54 Staging device-modbus 09:58:55 Priming go 09:58:58 Priming device-modbus 09:59:01 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 09:59:01 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 09:59:01 Determining the version from the project repo (version-script). 09:59:01 The version has been set to '0.0.0-20200618+51725aa' 09:59:01 Snapping 'edgex-device-modbus' ... 09:59:06 09:59:06 Snapped edgex-device-modbus_0.0.0-20200618+51725aa_arm64.snap [Pipeline] } 09:59:08 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) 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 09:59:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:59:10 ---> package-listing.sh 09:59:10 ++ facter osfamily 09:59:10 ++ tr '[:upper:]' '[:lower:]' 09:59:10 + OS_FAMILY=redhat 09:59:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-155 09:59:10 + START_PACKAGES=/tmp/packages_start.txt 09:59:10 + END_PACKAGES=/tmp/packages_end.txt 09:59:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:59:10 + PACKAGES=/tmp/packages_start.txt 09:59:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-155 ']' 09:59:10 + PACKAGES=/tmp/packages_end.txt 09:59:10 + case "${OS_FAMILY}" in 09:59:10 + rpm -qa 09:59:10 + sort 09:59:14 + '[' -f /tmp/packages_start.txt ']' 09:59:14 + '[' -f /tmp/packages_end.txt ']' 09:59:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:59:14 + '[' /w/workspace/xfoundry_device-modbus-go_PR-155 ']' 09:59:14 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-155/archives/ 09:59:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-155/archives/ [Pipeline] isUnix [Pipeline] sh 09:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:59:14 09:59:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:59:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:59:15 alpine: Pulling from edgex-lftools-log-publisher 09:59:15 c9b1b535fdd9: Pulling fs layer 09:59:15 2cc5ad85d9ab: Pulling fs layer 09:59:15 756a868c4378: Pulling fs layer 09:59:15 444b2fc9a129: Pulling fs layer 09:59:15 ea15f1150254: Pulling fs layer 09:59:15 41b27a9f41bf: Pulling fs layer 09:59:15 28c525ee5125: Pulling fs layer 09:59:15 094b1ea09ed8: Pulling fs layer 09:59:15 138eaada9080: Pulling fs layer 09:59:15 0622d0fa9048: Pulling fs layer 09:59:15 41b27a9f41bf: Waiting 09:59:15 28c525ee5125: Waiting 09:59:15 094b1ea09ed8: Waiting 09:59:15 138eaada9080: Waiting 09:59:15 0622d0fa9048: Waiting 09:59:15 444b2fc9a129: Waiting 09:59:15 ea15f1150254: Waiting 09:59:15 2cc5ad85d9ab: Download complete 09:59:15 444b2fc9a129: Verifying Checksum 09:59:15 444b2fc9a129: Download complete 09:59:15 c9b1b535fdd9: Verifying Checksum 09:59:15 c9b1b535fdd9: Download complete 09:59:15 ea15f1150254: Verifying Checksum 09:59:15 ea15f1150254: Download complete 09:59:15 28c525ee5125: Verifying Checksum 09:59:15 28c525ee5125: Download complete 09:59:15 756a868c4378: Verifying Checksum 09:59:15 756a868c4378: Download complete 09:59:15 c9b1b535fdd9: Pull complete 09:59:15 138eaada9080: Verifying Checksum 09:59:15 138eaada9080: Download complete 09:59:15 0622d0fa9048: Download complete 09:59:15 094b1ea09ed8: Verifying Checksum 09:59:15 094b1ea09ed8: Download complete 09:59:15 2cc5ad85d9ab: Pull complete 09:59:16 41b27a9f41bf: Verifying Checksum 09:59:16 41b27a9f41bf: Download complete 09:59:17 756a868c4378: Pull complete 09:59:17 444b2fc9a129: Pull complete 09:59:17 ea15f1150254: Pull complete 09:59:22 41b27a9f41bf: Pull complete 09:59:22 28c525ee5125: Pull complete 09:59:25 094b1ea09ed8: Pull complete 09:59:25 138eaada9080: Pull complete 09:59:25 0622d0fa9048: Pull complete 09:59:25 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 09:59:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:59:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:59:25 prd-centos7-docker-4c-2g-3538 does not seem to be running inside a container 09:59:25 $ 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-155 -v /w/workspace/xfoundry_device-modbus-go_PR-155:/w/workspace/xfoundry_device-modbus-go_PR-155:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-155@tmp:/w/workspace/xfoundry_device-modbus-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:59:29 $ docker top 32589e2b72b8ffd861f513da0632283ed8f1738c55e5f8779c5dd09ab62e169d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:29 provisioning config files... 09:59:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-155@tmp/config1643275197723470066tmp [Pipeline] { [Pipeline] echo 09:59:29 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:59:29 ---> create-netrc.sh [Pipeline] echo 09:59:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:59:30 ---> logs-deploy.sh 09:59:30 + ARCHIVE_ARTIFACTS= 09:59:30 + LOGS_SERVER=https://logs.edgexfoundry.org 09:59:30 + '[' https://logs.edgexfoundry.org == None ']' 09:59:30 + NEXUS_URL=https://nexus.edgexfoundry.org 09:59:30 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-155/2 09:59:30 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-155/2/ 09:59:30 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-155/2 /w/workspace/xfoundry_device-modbus-go_PR-155 09:59:31 Archives upload complete. 09:59:31 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-155/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-155/2/