Pull request #154 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lranjbar for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 98b52d9584e04c01e40368f8367c2648e1414356+f5c9d48415354775d5437a1ae29fce4498980850 (c186a8034bf3fde7c1eb7ee55459751a8a5eac68) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-154/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2612 in /w/workspace/xfoundry_device-modbus-go_PR-154 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-154 # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/154/head:refs/remotes/origin/PR-154 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 Commit message: "Update VERSION and snap title for snap rebuild" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:01:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:01:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:01:44 ========================================================= 20:01:44 EdgeX Global Pipelines Version Info 20:01:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:01:46 ------------------- 20:01:46 stable info: 20:01:46 ------------------- 20:01:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:01:46 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:01:46 Message: update stable to v1.0.89 20:01:47 ------------------- 20:01:47 experimental info: 20:01:47 ------------------- 20:01:47 Commited By: **** collab-it+edgex@linuxfoundation.org 20:01:47 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 20:01:47 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 20:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:49 20:01:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:01:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:50 latest: Pulling from edgex-devops/git-semver 20:01:50 9123ac7c32f7: Pulling fs layer 20:01:50 b8cc5d1170e3: Pulling fs layer 20:01:50 2924cbbf6a41: Pulling fs layer 20:01:50 93b08a4f1073: Pulling fs layer 20:01:50 93b08a4f1073: Waiting 20:01:50 b8cc5d1170e3: Download complete 20:01:50 9123ac7c32f7: Verifying Checksum 20:01:50 9123ac7c32f7: Download complete 20:01:50 93b08a4f1073: Verifying Checksum 20:01:50 93b08a4f1073: Download complete 20:01:50 2924cbbf6a41: Verifying Checksum 20:01:50 2924cbbf6a41: Download complete 20:01:50 9123ac7c32f7: Pull complete 20:01:50 b8cc5d1170e3: Pull complete 20:01:51 2924cbbf6a41: Pull complete 20:01:52 93b08a4f1073: Pull complete 20:01:52 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 20:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:01:52 prd-centos7-docker-4c-2g-2612 does not seem to be running inside a container 20:01:52 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-154 -v /w/workspace/xfoundry_device-modbus-go_PR-154:/w/workspace/xfoundry_device-modbus-go_PR-154:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-154@tmp:/w/workspace/xfoundry_device-modbus-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:01:54 $ docker top bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:54 [ssh-agent] Looking for ssh-agent implementation... 20:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:54 $ docker exec bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe ssh-agent 20:01:54 SSH_AUTH_SOCK=/tmp/ssh-83U6zw4YIvGO/agent.12 20:01:54 SSH_AGENT_PID=17 20:01:54 Running ssh-add (command line suppressed) 20:01:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_7464978688789511543.key (/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_7464978688789511543.key) 20:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:55 + git describe --exact-match --tags HEAD 20:01:55 fatal: No names found, cannot describe anything. [Pipeline] } 20:01:56 $ docker exec --env ******** --env ******** bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe ssh-agent -k 20:01:56 unset SSH_AUTH_SOCK; 20:01:56 unset SSH_AGENT_PID; 20:01:56 echo Agent pid 17 killed; 20:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:01:56 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:01:56 This usually means this commit has not been tagged. [Pipeline] sshagent 20:01:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:56 [ssh-agent] Looking for ssh-agent implementation... 20:01:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:56 $ docker exec bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe ssh-agent 20:01:56 SSH_AUTH_SOCK=/tmp/ssh-GCD64PqcElFm/agent.46 20:01:56 SSH_AGENT_PID=51 20:01:56 Running ssh-add (command line suppressed) 20:01:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_341883676412631924.key (/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/private_key_341883676412631924.key) 20:01:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:57 + git semver init 20:01:57 # -> Open(): unable to determine branch for HEAD 20:01:57 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-154/.git 20:01:57 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-154 20:01:57 # $SEMVER_REMOTE_NAME = origin 20:01:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:01:57 # $SEMVER_USER_NAME = edgex-jenkins 20:01:57 # $SEMVER_BRANCH = PR-154 20:01:57 # $SEMVER_TEMP = /tmp/semver-650478378 20:01:57 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:01:58 # '/tmp/semver-650478378' -> '/w/workspace/xfoundry_device-modbus-go_PR-154/.semver' 20:01:58 # -> Force: false 20:01:58 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-154/.semver [Pipeline] } 20:01:58 $ docker exec --env ******** --env ******** bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe ssh-agent -k 20:01:58 unset SSH_AUTH_SOCK; 20:01:58 unset SSH_AGENT_PID; 20:01:58 echo Agent pid 51 killed; 20:01:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:58 + git semver [Pipeline] } 20:01:58 $ docker stop --time=1 bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe 20:02:00 $ docker rm -f bf6b5669910834657c7d468684623c054301e3994e87e4381be684f81ff16fbe [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:02:00 Stashed 30 file(s) [Pipeline] echo 20:02:00 [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 20:02:16 Still waiting to schedule task 20:02:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:02:16 Running on prd-centos7-docker-4c-2g-2614 in /w/workspace/xfoundry_device-modbus-go_PR-154 [Pipeline] { [Pipeline] ws 20:02:16 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:02:19 using credential edgex-jenkins-ssh 20:02:19 Cloning the remote Git repository 20:02:19 Cloning with configured refspecs honoured and without tags 20:02:19 Fetching without tags 20:02:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:02:19 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:02:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:02:19 > git --version # timeout=10 20:02:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:02:19 > git config --add remote.origin.fetch +refs/pull/154/head:refs/remotes/origin/PR-154 # timeout=10 20:02:19 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:02:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:02:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:19 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:02:20 Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 20:02:20 Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 20:02:20 Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) 20:02:20 > git config core.sparsecheckout # timeout=10 20:02:20 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 20:02:20 > git remote # timeout=10 20:02:20 > git config --get remote.origin.url # timeout=10 20:02:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:02:20 > git merge f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 20:02:20 > git rev-parse HEAD^{commit} # timeout=10 20:02:20 > git config core.sparsecheckout # timeout=10 20:02:20 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 20:02:23 Commit message: "Update VERSION and snap title for snap rebuild" 20:02:23 > git --version # timeout=10 20:02:23 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:02:24 ========================================================= 20:02:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:02:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:02:25 + 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 . 20:02:25 Sending build context to Docker daemon 601.1kB 20:02:25 Step 1/8 : ARG BASE=golang:1.13-alpine 20:02:25 Step 2/8 : FROM ${BASE} 20:02:25 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:25 e6b0cf9c0882: Pulling fs layer 20:02:25 2848faf0eed1: Pulling fs layer 20:02:25 0f37312ad70f: Pulling fs layer 20:02:25 5788d62ee057: Pulling fs layer 20:02:25 0e6b1d234666: Pulling fs layer 20:02:25 bf5d7aec512f: Pulling fs layer 20:02:25 34c802a77dc8: Pulling fs layer 20:02:25 9eb99e56ec68: Pulling fs layer 20:02:25 27c7a5d97fbd: Pulling fs layer 20:02:25 5c102a31e300: Pulling fs layer 20:02:25 dcfb455df0a1: Pulling fs layer 20:02:25 5788d62ee057: Waiting 20:02:25 34c802a77dc8: Waiting 20:02:25 5c102a31e300: Waiting 20:02:25 9eb99e56ec68: Waiting 20:02:25 27c7a5d97fbd: Waiting 20:02:25 0e6b1d234666: Waiting 20:02:25 dcfb455df0a1: Waiting 20:02:25 bf5d7aec512f: Waiting 20:02:25 0f37312ad70f: Verifying Checksum 20:02:25 0f37312ad70f: Download complete 20:02:25 2848faf0eed1: Verifying Checksum 20:02:25 2848faf0eed1: Download complete 20:02:25 0e6b1d234666: Verifying Checksum 20:02:25 0e6b1d234666: Download complete 20:02:25 bf5d7aec512f: Verifying Checksum 20:02:25 bf5d7aec512f: Download complete 20:02:25 e6b0cf9c0882: Verifying Checksum 20:02:25 e6b0cf9c0882: Download complete 20:02:26 e6b0cf9c0882: Pull complete 20:02:26 34c802a77dc8: Verifying Checksum 20:02:26 34c802a77dc8: Download complete 20:02:26 27c7a5d97fbd: Verifying Checksum 20:02:26 27c7a5d97fbd: Download complete 20:02:27 5c102a31e300: Verifying Checksum 20:02:27 5c102a31e300: Download complete 20:02:27 dcfb455df0a1: Verifying Checksum 20:02:27 dcfb455df0a1: Download complete 20:02:27 5788d62ee057: Verifying Checksum 20:02:27 5788d62ee057: Download complete 20:02:27 9eb99e56ec68: Verifying Checksum 20:02:27 9eb99e56ec68: Download complete 20:02:28 2848faf0eed1: Pull complete 20:02:28 0f37312ad70f: Pull complete 20:02:34 5788d62ee057: Pull complete 20:02:34 0e6b1d234666: Pull complete 20:02:34 bf5d7aec512f: Pull complete 20:02:41 34c802a77dc8: Pull complete 20:02:45 9eb99e56ec68: Pull complete 20:02:45 27c7a5d97fbd: Pull complete 20:02:46 5c102a31e300: Pull complete 20:02:46 dcfb455df0a1: Pull complete 20:02:46 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 20:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:02:46 ---> 7c70fe431013 20:02:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:02:48 ---> Running in 9286e3502942 20:02:48 Removing intermediate container 9286e3502942 20:02:48 ---> d95b5e09d754 20:02:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:48 ---> Running in 34594b9db283 20:02:49 Removing intermediate container 34594b9db283 20:02:49 ---> 3d5d5b8f85c5 20:02:49 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:02:49 ---> Running in f2dc74cdc68e 20:02:50 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:02:51 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:02:51 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:02:51 (2/17) Installing libmagic (5.37-r1) 20:02:52 (3/17) Installing file (5.37-r1) 20:02:52 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:02:52 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:02:52 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:02:57 (7/17) Installing libc-dev (0.7.2-r0) 20:02:57 (8/17) Installing g++ (9.2.0-r4) 20:03:01 (9/17) Installing fortify-headers (1.1-r0) 20:03:01 (10/17) Installing build-base (0.5-r1) 20:03:01 (11/17) Installing openssh-keygen (8.1_p1-r0) 20:03:01 (12/17) Installing libedit (20191211.3.1-r0) 20:03:01 (13/17) Installing openssh-client (8.1_p1-r0) 20:03:01 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 20:03:01 (15/17) Installing openssh-server-common (8.1_p1-r0) 20:03:02 (16/17) Installing openssh-server (8.1_p1-r0) 20:03:02 (17/17) Installing openssh (8.1_p1-r0) 20:03:02 Executing busybox-1.31.1-r8.trigger 20:03:02 OK: 214 MiB in 52 packages 20:03:05 Removing intermediate container f2dc74cdc68e 20:03:05 ---> c224a93b759c 20:03:05 Step 6/8 : WORKDIR /device-modbus-go 20:03:05 ---> Running in e9bb332d696d 20:03:05 Removing intermediate container e9bb332d696d 20:03:05 ---> ec8cf4eda429 20:03:05 Step 7/8 : COPY . . 20:03:06 ---> b262fa0d951a 20:03:06 Step 8/8 : RUN go mod download 20:03:06 ---> Running in 7bca8c72ee31 20:03:08 go: finding github.com/BurntSushi/toml v0.3.1 20:03:08 go: finding github.com/OneOfOne/xxhash v1.2.6 20:03:08 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:03:08 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:03:08 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:03:08 go: finding github.com/bgentry/speakeasy v0.1.0 20:03:08 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:03:08 go: finding github.com/davecgh/go-spew v1.1.1 20:03:08 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 20:03:08 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:03:09 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:03:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:03:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:03:09 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:03:09 go: finding github.com/fatih/color v1.7.0 20:03:09 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:03:09 go: finding github.com/go-kit/kit v0.8.0 20:03:09 go: finding github.com/go-logfmt/logfmt v0.4.0 20:03:09 go: finding github.com/go-stack/stack v1.8.0 20:03:09 go: finding github.com/goburrow/modbus v0.1.0 20:03:09 go: finding github.com/goburrow/serial v0.1.0 20:03:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:03:09 go: finding github.com/google/uuid v1.1.1 20:03:09 go: finding github.com/gorilla/mux v1.7.1 20:03:09 go: finding github.com/hashicorp/consul/api v1.1.0 20:03:09 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:03:09 go: finding github.com/hashicorp/errwrap v1.0.0 20:03:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:03:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:03:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:03:09 go: finding github.com/hashicorp/go-multierror v1.0.0 20:03:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:03:09 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:03:09 go: finding github.com/hashicorp/go-syslog v1.0.0 20:03:09 go: finding github.com/hashicorp/go-uuid v1.0.1 20:03:09 go: finding github.com/hashicorp/go.net v0.0.1 20:03:09 go: finding github.com/hashicorp/golang-lru v0.5.1 20:03:09 go: finding github.com/hashicorp/logutils v1.0.0 20:03:09 go: finding github.com/hashicorp/mdns v1.0.0 20:03:09 go: finding github.com/hashicorp/memberlist v0.1.3 20:03:09 go: finding github.com/hashicorp/serf v0.8.2 20:03:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:03:09 go: finding github.com/mattn/go-colorable v0.0.9 20:03:09 go: finding github.com/mattn/go-isatty v0.0.3 20:03:09 go: finding github.com/miekg/dns v1.1.4 20:03:09 go: finding github.com/mitchellh/cli v1.0.0 20:03:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:03:09 go: finding github.com/mitchellh/copystructure v1.0.0 20:03:09 go: finding github.com/mitchellh/go-homedir v1.1.0 20:03:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:03:09 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:03:09 go: finding github.com/mitchellh/gox v0.4.0 20:03:09 go: finding github.com/mitchellh/iochan v1.0.0 20:03:09 go: finding github.com/mitchellh/mapstructure v1.1.2 20:03:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:03:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:03:09 go: finding github.com/pelletier/go-toml v1.2.0 20:03:09 go: finding github.com/pkg/errors v0.8.1 20:03:09 go: finding github.com/pmezard/go-difflib v1.0.0 20:03:09 go: finding github.com/posener/complete v1.1.1 20:03:09 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:03:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:03:10 go: finding github.com/stretchr/objx v0.1.0 20:03:10 go: finding github.com/stretchr/testify v1.5.1 20:03:10 go: finding github.com/ugorji/go v1.1.4 20:03:10 go: finding github.com/x448/float16 v0.8.4 20:03:10 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:03:10 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:03:10 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:03:10 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:03:10 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:03:10 go: finding gopkg.in/yaml.v2 v2.2.8 20:03:18 Removing intermediate container 7bca8c72ee31 20:03:18 ---> 32ba2457b634 20:03:18 Successfully built 32ba2457b634 20:03:18 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 20:03:19 + docker inspect -f . ci-base-image-x86_64 20:03:19 . [Pipeline] withDockerContainer 20:03:19 prd-centos7-docker-4c-2g-2614 does not seem to be running inside a container 20:03:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 20:03:20 $ docker top 16586b3de6a806beef844758ab5980cac224fdd1bfbd26eff95fcd63898cdef9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:03:20 + go version 20:03:20 go version go1.13.5 linux/amd64 [Pipeline] sh 20:03:21 + make test 20:03:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:03:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:03:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:03:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.145s coverage: 50.3% of statements 20:03:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:03:34 gofmt -l . 20:03:34 [ "`gofmt -l .`" = "" ] 20:03:34 ./bin/test-attribution-txt.sh 20:03:35 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:03:35 Stashed 1 file(s) [Pipeline] } 20:03:35 $ docker stop --time=1 16586b3de6a806beef844758ab5980cac224fdd1bfbd26eff95fcd63898cdef9 20:03:37 $ docker rm -f 16586b3de6a806beef844758ab5980cac224fdd1bfbd26eff95fcd63898cdef9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:40 + ls -al . 20:03:40 total 104 20:03:40 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 11 20:03 . 20:03:40 drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 20:02 .. 20:03:40 -rw-rw-r--. 1 jenkins jenkins 5049 Jun 11 20:02 Attribution.txt 20:03:40 drwxrwxr-x. 2 jenkins jenkins 87 Jun 11 20:02 bin 20:03:40 drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 20:02 cmd 20:03:40 -rw-r--r--. 1 jenkins jenkins 22123 Jun 11 20:03 coverage.out 20:03:40 -rw-rw-r--. 1 jenkins jenkins 1422 Jun 11 20:02 Dockerfile 20:03:40 -rw-rw-r--. 1 jenkins jenkins 954 Jun 11 20:02 Dockerfile.build 20:03:40 -rw-rw-r--. 1 jenkins jenkins 140 Jun 11 20:02 .dockerignore 20:03:40 drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 20:02 .git 20:03:40 -rw-rw-r--. 1 jenkins jenkins 330 Jun 11 20:02 .gitignore 20:03:40 -rw-r--r--. 1 jenkins jenkins 559 Jun 11 20:03 go.mod 20:03:40 -rw-r--r--. 1 jenkins jenkins 13471 Jun 11 20:03 go.sum 20:03:40 drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 20:02 internal 20:03:40 -rw-rw-r--. 1 jenkins jenkins 702 Jun 11 20:02 Jenkinsfile 20:03:40 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 20:02 LICENSE 20:03:40 -rw-rw-r--. 1 jenkins jenkins 880 Jun 11 20:02 Makefile 20:03:40 -rw-rw-r--. 1 jenkins jenkins 591 Jun 11 20:02 README.md 20:03:40 drwxrwxr-x. 3 jenkins jenkins 58 Jun 11 20:02 .semver 20:03:40 drwxrwxr-x. 2 jenkins jenkins 35 Jun 11 20:02 simulator 20:03:40 drwxrwxr-x. 4 jenkins jenkins 54 Jun 11 20:02 snap 20:03:40 -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 20:02 VERSION 20:03:40 -rw-rw-r--. 1 jenkins jenkins 229 Jun 11 20:02 version.go [Pipeline] isUnix [Pipeline] sh 20:03:40 + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=98b52d9584e04c01e40368f8367c2648e1414356 --label arch=amd64 --label version=0.0.0 . 20:03:40 Sending build context to Docker daemon 629.8kB 20:03:40 Step 1/19 : ARG BASE=golang:1.13-alpine 20:03:40 Step 2/19 : FROM ${BASE} AS builder 20:03:40 ---> 32ba2457b634 20:03:40 Step 3/19 : ARG MAKE='make build' 20:03:40 ---> Running in 8f90fcc251f7 20:03:41 Removing intermediate container 8f90fcc251f7 20:03:41 ---> 62975603c29e 20:03:41 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:41 ---> Running in 0432e23acb2b 20:03:41 Removing intermediate container 0432e23acb2b 20:03:41 ---> 99f90cbf92d1 20:03:41 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 20:03:41 ---> Running in 885f73451b7b 20:03:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 20:03:43 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 20:03:43 OK: 214 MiB in 52 packages 20:03:44 Removing intermediate container 885f73451b7b 20:03:44 ---> 983b44d287e1 20:03:44 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:03:44 ---> Running in ebd27f87912e 20:03:44 Removing intermediate container ebd27f87912e 20:03:44 ---> 405ab2a7baf4 20:03:44 Step 7/19 : COPY . . 20:03:45 ---> 3f758c4486e2 20:03:45 Step 8/19 : RUN ${MAKE} 20:03:45 ---> Running in 630134e2ebb4 20:03:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:03:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:03:58 Removing intermediate container 630134e2ebb4 20:03:58 ---> 89ef07c35b3c 20:03:58 Step 9/19 : FROM scratch 20:03:58 ---> 20:03:58 Step 10/19 : ENV APP_PORT=49991 20:03:58 ---> Running in fabdcd9e61ec 20:03:58 Removing intermediate container fabdcd9e61ec 20:03:58 ---> b733b1bc7d22 20:03:58 Step 11/19 : EXPOSE $APP_PORT 20:03:58 ---> Running in 31cf838b8626 20:03:58 Removing intermediate container 31cf838b8626 20:03:58 ---> 48ec55fd3f48 20:03:58 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:03:58 ---> f3cc661d822c 20:03:58 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:03:58 ---> 752e3dee7679 20:03:58 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:03:59 ---> dd5239e561be 20:03:59 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:03:59 ---> Running in 8b0f0ca10365 20:03:59 Removing intermediate container 8b0f0ca10365 20:03:59 ---> 82dfb8d0a67e 20:03:59 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:03:59 ---> Running in 25656096b71b 20:03:59 Removing intermediate container 25656096b71b 20:03:59 ---> bc842c36f81c 20:03:59 Step 17/19 : LABEL arch=amd64 20:03:59 ---> Running in 4247ca4ca7ef 20:03:59 Removing intermediate container 4247ca4ca7ef 20:03:59 ---> a39a98023959 20:03:59 Step 18/19 : LABEL git_sha=98b52d9584e04c01e40368f8367c2648e1414356 20:03:59 ---> Running in c709870bde0c 20:03:59 Removing intermediate container c709870bde0c 20:03:59 ---> 5a00878b1548 20:03:59 Step 19/19 : LABEL version=0.0.0 20:03:59 ---> Running in 5ed788dfef9a 20:03:59 Removing intermediate container 5ed788dfef9a 20:03:59 ---> ede48bf7892d 20:03:59 [Warning] One or more build-args [ARCH] were not consumed 20:04:00 Successfully built ede48bf7892d 20:04:00 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 20:04:01 ++ find /w/workspace/device-modbus-go/1 20:04:01 ++ grep snapcraft.yaml 20:04:01 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:01 provisioning config files... 20:04:01 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6395485436991548506tmp [Pipeline] { [Pipeline] sh 20:04:01 + cp /w/workspace/device-modbus-go/1@tmp/config6395485436991548506tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 20:04:02 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/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 20:04:02 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 20:04:02 latest: Pulling from edgex-devops/edgex-snap-builder 20:04:02 5bed26d33875: Pulling fs layer 20:04:02 f11b29a9c730: Pulling fs layer 20:04:02 930bda195c84: Pulling fs layer 20:04:02 78bf9a5ad49e: Pulling fs layer 20:04:02 e5fbee5a4b0d: Pulling fs layer 20:04:02 f452fca78f88: Pulling fs layer 20:04:02 7417ef92027a: Pulling fs layer 20:04:02 2af5c49d270b: Pulling fs layer 20:04:02 df9c3bdbc40a: Pulling fs layer 20:04:02 78bf9a5ad49e: Waiting 20:04:02 e5fbee5a4b0d: Waiting 20:04:02 f452fca78f88: Waiting 20:04:02 7417ef92027a: Waiting 20:04:02 2af5c49d270b: Waiting 20:04:02 df9c3bdbc40a: Waiting 20:04:02 930bda195c84: Verifying Checksum 20:04:02 930bda195c84: Download complete 20:04:02 f11b29a9c730: Verifying Checksum 20:04:02 78bf9a5ad49e: Verifying Checksum 20:04:02 78bf9a5ad49e: Download complete 20:04:02 f452fca78f88: Verifying Checksum 20:04:02 f452fca78f88: Download complete 20:04:02 7417ef92027a: Download complete 20:04:02 2af5c49d270b: Download complete 20:04:02 df9c3bdbc40a: Verifying Checksum 20:04:02 df9c3bdbc40a: Download complete 20:04:02 5bed26d33875: Verifying Checksum 20:04:02 5bed26d33875: Download complete 20:04:06 e5fbee5a4b0d: Verifying Checksum 20:04:06 e5fbee5a4b0d: Download complete 20:04:07 5bed26d33875: Pull complete 20:04:07 f11b29a9c730: Pull complete 20:04:07 930bda195c84: Pull complete 20:04:07 78bf9a5ad49e: Pull complete 20:04:34 e5fbee5a4b0d: Pull complete 20:04:34 f452fca78f88: Pull complete 20:04:34 7417ef92027a: Pull complete 20:04:34 2af5c49d270b: Pull complete 20:04:34 df9c3bdbc40a: Pull complete 20:04:34 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 20:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 20:04:36 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:04:36 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 20:04:36 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:04:36 Get:4 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] 20:04:37 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] 20:04:37 Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:04:37 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1392 kB] 20:04:37 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [958 kB] 20:04:37 Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] 20:04:37 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] 20:04:37 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] 20:04:37 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] 20:04:37 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 20:04:37 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 20:04:38 Fetched 4909 kB in 2s (2445 kB/s) 20:04:40 Reading package lists... 20:04:44 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 20:04:45 Reading package lists... 20:04:45 Building dependency tree... 20:04:45 Reading state information... 20:04:46 The following packages were automatically installed and are no longer required: 20:04:46 libjq1 liblzo2-2 libonig4 20:04:46 Use 'sudo apt autoremove' to remove them. 20:04:46 Suggested packages: 20:04:46 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:04:46 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:04:46 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:04:46 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:04:46 The following NEW packages will be installed: 20:04:46 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:04:46 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:04:46 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:04:46 openssh-client patch perl perl-modules-5.26 xauth 20:04:46 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 20:04:46 Need to get 14.7 MB of archives. 20:04:46 After this operation, 89.5 MB of additional disk space will be used. 20:04:46 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 20:04:46 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 20:04:46 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 20:04:46 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 20:04:46 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:04:47 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 20:04:47 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 20:04:47 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:04:47 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 20:04:47 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 20:04:47 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 20:04:47 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 20:04:47 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 20:04:47 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 20:04:47 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 20:04:47 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 20:04:47 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 20:04:47 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 20:04:47 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 20:04:47 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 20:04:48 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 20:04:48 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 20:04:48 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 20:04:48 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:04:48 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 20:04:48 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 20:04:48 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 20:04:49 debconf: delaying package configuration, since apt-utils is not installed 20:04:49 Fetched 14.7 MB in 3s (5669 kB/s) 20:04:49 Selecting previously unselected package libxau6:amd64. 20:04: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.) 20:04:49 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 20:04:49 Unpacking libxau6:amd64 (1:1.0.8-1) ... 20:04:49 Selecting previously unselected package libbsd0:amd64. 20:04:49 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 20:04:49 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:04:49 Selecting previously unselected package libxdmcp6:amd64. 20:04:49 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 20:04:49 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 20:04:49 Selecting previously unselected package libxcb1:amd64. 20:04:49 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 20:04:49 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:04:49 Selecting previously unselected package libx11-data. 20:04:49 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:04:49 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:04:50 Selecting previously unselected package libx11-6:amd64. 20:04:50 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 20:04:50 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:04:50 Selecting previously unselected package libxext6:amd64. 20:04:50 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 20:04:50 Unpacking libxext6:amd64 (2:1.3.3-1) ... 20:04:50 Selecting previously unselected package perl-modules-5.26. 20:04:50 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:04:50 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:04:53 Selecting previously unselected package libgdbm5:amd64. 20:04:53 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 20:04:53 Unpacking libgdbm5:amd64 (1.14.1-6) ... 20:04:53 Selecting previously unselected package libgdbm-compat4:amd64. 20:04:53 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 20:04:53 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 20:04:53 Selecting previously unselected package libperl5.26:amd64. 20:04:53 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 20:04:53 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:04:54 Selecting previously unselected package perl. 20:04:54 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 20:04:54 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:04:54 Selecting previously unselected package less. 20:04:54 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 20:04:54 Unpacking less (487-0.1) ... 20:04:54 Selecting previously unselected package libexpat1:amd64. 20:04:54 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 20:04:54 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:04:55 Selecting previously unselected package netbase. 20:04:55 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:04:55 Unpacking netbase (5.4) ... 20:04:55 Selecting previously unselected package libedit2:amd64. 20:04:55 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 20:04:55 Unpacking libedit2:amd64 (3.1-20170329-1) ... 20:04:55 Selecting previously unselected package libssl1.0.0:amd64. 20:04:55 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 20:04:55 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:04:55 Selecting previously unselected package libxmuu1:amd64. 20:04:55 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 20:04:55 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 20:04:55 Selecting previously unselected package openssh-client. 20:04:55 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 20:04:55 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:04:55 Selecting previously unselected package xauth. 20:04:55 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 20:04:55 Unpacking xauth (1:1.0.10-1) ... 20:04:55 Selecting previously unselected package curl. 20:04:55 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 20:04:55 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:04:56 Selecting previously unselected package libcurl3-gnutls:amd64. 20:04:56 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 20:04:56 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:04:56 Selecting previously unselected package liberror-perl. 20:04:56 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:04:56 Unpacking liberror-perl (0.17025-1) ... 20:04:56 Selecting previously unselected package git-man. 20:04:56 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:04:56 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:04:56 Selecting previously unselected package git. 20:04:56 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 20:04:56 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:04:57 Selecting previously unselected package make. 20:04:57 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 20:04:57 Unpacking make (4.1-9.1ubuntu1) ... 20:04:57 Selecting previously unselected package patch. 20:04:57 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 20:04:57 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:04:57 Setting up libedit2:amd64 (3.1-20170329-1) ... 20:04:57 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:04:57 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 20:04:57 Setting up less (487-0.1) ... 20:04:57 Setting up make (4.1-9.1ubuntu1) ... 20:04:57 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 20:04:57 Setting up curl (7.58.0-2ubuntu3.8) ... 20:04:57 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 20:04:57 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:04:57 Setting up libgdbm5:amd64 (1.14.1-6) ... 20:04:57 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 20:04:57 Setting up patch (2.7.6-2ubuntu1.1) ... 20:04:58 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 20:04:58 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 20:04:58 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:04:58 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:04:58 Setting up libxau6:amd64 (1:1.0.8-1) ... 20:04:58 Setting up netbase (5.4) ... 20:04:58 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:04:58 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 20:04:58 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 20:04:58 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 20:04:58 Setting up perl (5.26.1-6ubuntu0.3) ... 20:04:58 Setting up libxext6:amd64 (2:1.3.3-1) ... 20:04:58 Setting up liberror-perl (0.17025-1) ... 20:04:58 Setting up xauth (1:1.0.10-1) ... 20:04:58 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:04:58 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:05:01 curl set to automatically installed. 20:05:01 git set to automatically installed. 20:05:01 git-man set to automatically installed. 20:05:01 less set to automatically installed. 20:05:01 libbsd0 set to automatically installed. 20:05:01 libcurl3-gnutls set to automatically installed. 20:05:01 libedit2 set to automatically installed. 20:05:01 liberror-perl set to automatically installed. 20:05:01 libexpat1 set to automatically installed. 20:05:01 libgdbm-compat4 set to automatically installed. 20:05:01 libgdbm5 set to automatically installed. 20:05:01 libperl5.26 set to automatically installed. 20:05:01 libssl1.0.0 set to automatically installed. 20:05:01 libx11-6 set to automatically installed. 20:05:01 libx11-data set to automatically installed. 20:05:01 libxau6 set to automatically installed. 20:05:01 libxcb1 set to automatically installed. 20:05:01 libxdmcp6 set to automatically installed. 20:05:01 libxext6 set to automatically installed. 20:05:01 libxmuu1 set to automatically installed. 20:05:01 make set to automatically installed. 20:05:01 netbase set to automatically installed. 20:05:01 openssh-client set to automatically installed. 20:05:01 patch set to automatically installed. 20:05:01 perl set to automatically installed. 20:05:01 perl-modules-5.26 set to automatically installed. 20:05:01 xauth set to automatically installed. 20:05:01 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:05:01 Please ensure the environment is properly setup before continuing. 20:05:01 Ignore this message if the appropriate measures have already been taken 20:05:01 Pulling go 20:05:02 'device-modbus' has dependencies that need to be staged: go 20:05:02 Skipping pull go (already ran) 20:05:02 Building go 20:05:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:05:02 Dload Upload Total Spent Left Speed 20:05:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 15 114M 15 17.3M 0 0 16.7M 0 0:00:06 0:00:01 0:00:05 16.7M 38 114M 38 44.6M 0 0 28.1M 0 0:00:04 0:00:01 0:00:03 28.0M 20:05:04 curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 20:05:04 Failed to run 'override-build': Exit code was 56. [Pipeline] } 20:05:05 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] } 20:05:06 Failed in branch amd64 20:05:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2616 in /w/workspace/xfoundry_device-modbus-go_PR-154 [Pipeline] { [Pipeline] ws 20:05:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:05:35 using credential edgex-jenkins-ssh 20:05:35 Cloning the remote Git repository 20:05:35 Cloning with configured refspecs honoured and without tags 20:05:35 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:05:35 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:05:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:05:35 > git --version # timeout=10 20:05:36 Fetching without tags 20:05:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:05:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:05:36 > git config --add remote.origin.fetch +refs/pull/154/head:refs/remotes/origin/PR-154 # timeout=10 20:05:36 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:05:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:05:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:05:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:05:36 Merging remotes/origin/master commit f5c9d48415354775d5437a1ae29fce4498980850 into PR head commit 98b52d9584e04c01e40368f8367c2648e1414356 20:05:36 Merge succeeded, producing 98b52d9584e04c01e40368f8367c2648e1414356 20:05:36 Checking out Revision 98b52d9584e04c01e40368f8367c2648e1414356 (PR-154) 20:05:36 > git config core.sparsecheckout # timeout=10 20:05:36 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 20:05:36 > git remote # timeout=10 20:05:36 > git config --get remote.origin.url # timeout=10 20:05:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:36 > git merge f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 20:05:36 > git rev-parse HEAD^{commit} # timeout=10 20:05:36 > git config core.sparsecheckout # timeout=10 20:05:37 > git checkout -f 98b52d9584e04c01e40368f8367c2648e1414356 # timeout=10 20:05:41 Commit message: "Update VERSION and snap title for snap rebuild" 20:05:41 > git --version # timeout=10 20:05:41 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:05:42 ========================================================= 20:05:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:05:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:05:44 + 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 . 20:05:44 Sending build context to Docker daemon 601.1kB 20:05:44 Step 1/8 : ARG BASE=golang:1.13-alpine 20:05:44 Step 2/8 : FROM ${BASE} 20:05:45 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:05:45 cde5963f3b93: Pulling fs layer 20:05:45 2a23fa8c16f7: Pulling fs layer 20:05:45 777b28850792: Pulling fs layer 20:05:45 8a11ddd9e578: Pulling fs layer 20:05:45 4cf88f913ddb: Pulling fs layer 20:05:45 1df406cf5192: Pulling fs layer 20:05:45 cd6300453558: Pulling fs layer 20:05:45 b9c365052c96: Pulling fs layer 20:05:45 a2d8cc88f415: Pulling fs layer 20:05:45 ea1d1ca13537: Pulling fs layer 20:05:45 3750a50a1c5e: Pulling fs layer 20:05:45 cd6300453558: Waiting 20:05:45 b9c365052c96: Waiting 20:05:45 a2d8cc88f415: Waiting 20:05:45 ea1d1ca13537: Waiting 20:05:45 3750a50a1c5e: Waiting 20:05:45 8a11ddd9e578: Waiting 20:05:45 4cf88f913ddb: Waiting 20:05:45 1df406cf5192: Waiting 20:05:45 777b28850792: Verifying Checksum 20:05:45 777b28850792: Download complete 20:05:45 2a23fa8c16f7: Verifying Checksum 20:05:45 2a23fa8c16f7: Download complete 20:05:45 4cf88f913ddb: Verifying Checksum 20:05:45 4cf88f913ddb: Download complete 20:05:45 1df406cf5192: Download complete 20:05:45 cde5963f3b93: Verifying Checksum 20:05:45 cde5963f3b93: Download complete 20:05:46 cde5963f3b93: Pull complete 20:05:46 2a23fa8c16f7: Pull complete 20:05:47 777b28850792: Pull complete 20:05:48 cd6300453558: Download complete 20:05:48 a2d8cc88f415: Verifying Checksum 20:05:48 a2d8cc88f415: Download complete 20:05:49 b9c365052c96: Verifying Checksum 20:05:49 b9c365052c96: Download complete 20:05:49 3750a50a1c5e: Verifying Checksum 20:05:49 3750a50a1c5e: Download complete 20:05:50 ea1d1ca13537: Verifying Checksum 20:05:50 ea1d1ca13537: Download complete 20:05:50 8a11ddd9e578: Verifying Checksum 20:05:50 8a11ddd9e578: Download complete 20:06:02 8a11ddd9e578: Pull complete 20:06:02 4cf88f913ddb: Pull complete 20:06:02 1df406cf5192: Pull complete 20:06:07 cd6300453558: Pull complete 20:06:12 b9c365052c96: Pull complete 20:06:12 a2d8cc88f415: Pull complete 20:06:14 ea1d1ca13537: Pull complete 20:06:14 3750a50a1c5e: Pull complete 20:06:14 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 20:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:06:14 ---> 78745c68409d 20:06:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:06:20 ---> Running in f508847a14d4 20:06:20 Removing intermediate container f508847a14d4 20:06:20 ---> 987b84bd1798 20:06:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:20 ---> Running in a6b4d5c76e55 20:06:22 Removing intermediate container a6b4d5c76e55 20:06:22 ---> dab3a5893faa 20:06:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:06:22 ---> Running in 51f8de1b93b0 20:06:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:06:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:06:25 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 20:06:25 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 20:06:25 (3/18) Installing libmagic (5.37-r1) 20:06:25 (4/18) Installing file (5.37-r1) 20:06:25 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 20:06:26 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 20:06:26 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 20:06:29 (8/18) Installing libc-dev (0.7.2-r0) 20:06:29 (9/18) Installing g++ (9.2.0-r4) 20:06:32 (10/18) Installing fortify-headers (1.1-r0) 20:06:32 (11/18) Installing build-base (0.5-r1) 20:06:32 (12/18) Installing openssh-keygen (8.1_p1-r0) 20:06:32 (13/18) Installing libedit (20191211.3.1-r0) 20:06:32 (14/18) Installing openssh-client (8.1_p1-r0) 20:06:32 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 20:06:32 (16/18) Installing openssh-server-common (8.1_p1-r0) 20:06:32 (17/18) Installing openssh-server (8.1_p1-r0) 20:06:32 (18/18) Installing openssh (8.1_p1-r0) 20:06:32 Executing busybox-1.31.1-r8.trigger 20:06:33 OK: 203 MiB in 52 packages 20:06:39 Removing intermediate container 51f8de1b93b0 20:06:39 ---> 1e13cb6ce12f 20:06:39 Step 6/8 : WORKDIR /device-modbus-go 20:06:39 ---> Running in 91160dd6133f 20:06:40 Removing intermediate container 91160dd6133f 20:06:40 ---> 6aa576a95648 20:06:40 Step 7/8 : COPY . . 20:06:41 ---> 9bd71a92651b 20:06:41 Step 8/8 : RUN go mod download 20:06:41 ---> Running in 189a5ec43355 20:06:44 go: finding github.com/BurntSushi/toml v0.3.1 20:06:44 go: finding github.com/OneOfOne/xxhash v1.2.6 20:06:44 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:06:44 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:06:44 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:06:44 go: finding github.com/bgentry/speakeasy v0.1.0 20:06:44 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:06:44 go: finding github.com/davecgh/go-spew v1.1.1 20:06:44 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 20:06:44 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:06:44 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:06:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:06:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:06:44 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:06:44 go: finding github.com/fatih/color v1.7.0 20:06:44 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:06:44 go: finding github.com/go-kit/kit v0.8.0 20:06:44 go: finding github.com/go-logfmt/logfmt v0.4.0 20:06:44 go: finding github.com/go-stack/stack v1.8.0 20:06:44 go: finding github.com/goburrow/modbus v0.1.0 20:06:44 go: finding github.com/goburrow/serial v0.1.0 20:06:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:06:44 go: finding github.com/google/uuid v1.1.1 20:06:44 go: finding github.com/gorilla/mux v1.7.1 20:06:44 go: finding github.com/hashicorp/consul/api v1.1.0 20:06:44 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:06:44 go: finding github.com/hashicorp/errwrap v1.0.0 20:06:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:06:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:06:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:06:44 go: finding github.com/hashicorp/go-multierror v1.0.0 20:06:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:06:44 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:06:44 go: finding github.com/hashicorp/go-syslog v1.0.0 20:06:44 go: finding github.com/hashicorp/go-uuid v1.0.1 20:06:44 go: finding github.com/hashicorp/go.net v0.0.1 20:06:44 go: finding github.com/hashicorp/golang-lru v0.5.1 20:06:44 go: finding github.com/hashicorp/logutils v1.0.0 20:06:44 go: finding github.com/hashicorp/mdns v1.0.0 20:06:44 go: finding github.com/hashicorp/memberlist v0.1.3 20:06:44 go: finding github.com/hashicorp/serf v0.8.2 20:06:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:06:44 go: finding github.com/mattn/go-colorable v0.0.9 20:06:44 go: finding github.com/mattn/go-isatty v0.0.3 20:06:44 go: finding github.com/miekg/dns v1.1.4 20:06:44 go: finding github.com/mitchellh/cli v1.0.0 20:06:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:06:44 go: finding github.com/mitchellh/copystructure v1.0.0 20:06:44 go: finding github.com/mitchellh/go-homedir v1.1.0 20:06:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:06:44 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:06:44 go: finding github.com/mitchellh/gox v0.4.0 20:06:44 go: finding github.com/mitchellh/iochan v1.0.0 20:06:44 go: finding github.com/mitchellh/mapstructure v1.1.2 20:06:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:06:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:06:44 go: finding github.com/pelletier/go-toml v1.2.0 20:06:44 go: finding github.com/pkg/errors v0.8.1 20:06:44 go: finding github.com/pmezard/go-difflib v1.0.0 20:06:44 go: finding github.com/posener/complete v1.1.1 20:06:44 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:06:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:06:44 go: finding github.com/stretchr/objx v0.1.0 20:06:44 go: finding github.com/stretchr/testify v1.5.1 20:06:44 go: finding github.com/ugorji/go v1.1.4 20:06:44 go: finding github.com/x448/float16 v0.8.4 20:06:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:06:44 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:06:44 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:06:44 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:06:44 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:06:44 go: finding gopkg.in/yaml.v2 v2.2.8 20:06:54 Removing intermediate container 189a5ec43355 20:06:54 ---> 8a1d095cfb50 20:06:54 Successfully built 8a1d095cfb50 20:06:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:06:55 + docker inspect -f . ci-base-image-arm64 20:06:55 . [Pipeline] withDockerContainer 20:06:55 prd-ubuntu18.04-docker-arm64-4c-16g-2616 does not seem to be running inside a container 20:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 20:06:57 $ docker top cbc06390de526c35d25fab21ee791fb0ca3dc40fc5988d5c110987d4a46ff078 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:58 + go version 20:06:58 go version go1.13.5 linux/arm64 [Pipeline] sh 20:06:59 + make test 20:06:59 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:07:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:07:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:07:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.188s coverage: 50.3% of statements 20:07:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:07:35 gofmt -l . 20:07:35 [ "`gofmt -l .`" = "" ] 20:07:35 ./bin/test-attribution-txt.sh 20:07:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:07:36 Warning: overwriting stash ‘coverage-report’ 20:07:37 Stashed 1 file(s) [Pipeline] } 20:07:37 $ docker stop --time=1 cbc06390de526c35d25fab21ee791fb0ca3dc40fc5988d5c110987d4a46ff078 20:07:39 $ docker rm -f cbc06390de526c35d25fab21ee791fb0ca3dc40fc5988d5c110987d4a46ff078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:40 + ls -al . 20:07:40 total 136 20:07:40 drwxrwxr-x 9 jenkins jenkins 4096 Jun 11 20:07 . 20:07:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 20:05 .. 20:07:40 -rw-rw-r-- 1 jenkins jenkins 140 Jun 11 20:05 .dockerignore 20:07:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 20:05 .git 20:07:40 -rw-rw-r-- 1 jenkins jenkins 330 Jun 11 20:05 .gitignore 20:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 20:05 .semver 20:07:40 -rw-rw-r-- 1 jenkins jenkins 5049 Jun 11 20:05 Attribution.txt 20:07:40 -rw-rw-r-- 1 jenkins jenkins 1422 Jun 11 20:05 Dockerfile 20:07:40 -rw-rw-r-- 1 jenkins jenkins 954 Jun 11 20:05 Dockerfile.build 20:07:40 -rw-rw-r-- 1 jenkins jenkins 702 Jun 11 20:05 Jenkinsfile 20:07:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 20:05 LICENSE 20:07:40 -rw-rw-r-- 1 jenkins jenkins 880 Jun 11 20:05 Makefile 20:07:40 -rw-rw-r-- 1 jenkins jenkins 591 Jun 11 20:05 README.md 20:07:40 -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 20:02 VERSION 20:07:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 20:05 bin 20:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 20:05 cmd 20:07:40 -rw-r--r-- 1 jenkins jenkins 22123 Jun 11 20:07 coverage.out 20:07:40 -rw-r--r-- 1 jenkins jenkins 559 Jun 11 20:07 go.mod 20:07:40 -rw-r--r-- 1 jenkins jenkins 13471 Jun 11 20:07 go.sum 20:07:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 20:05 internal 20:07:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 20:05 simulator 20:07:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 20:05 snap 20:07:40 -rw-rw-r-- 1 jenkins jenkins 229 Jun 11 20:05 version.go [Pipeline] isUnix [Pipeline] sh 20:07:41 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=98b52d9584e04c01e40368f8367c2648e1414356 --label arch=arm64 --label version=0.0.0 . 20:07:41 Sending build context to Docker daemon 629.8kB 20:07:41 Step 1/19 : ARG BASE=golang:1.13-alpine 20:07:41 Step 2/19 : FROM ${BASE} AS builder 20:07:41 ---> 8a1d095cfb50 20:07:41 Step 3/19 : ARG MAKE='make build' 20:07:41 ---> Running in 8e04e023caea 20:07:42 Removing intermediate container 8e04e023caea 20:07:42 ---> f8aa249d62ae 20:07:42 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:42 ---> Running in c5c943e947d5 20:07:45 Removing intermediate container c5c943e947d5 20:07:45 ---> b64fd8f34e50 20:07:45 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 20:07:45 ---> Running in ef45b1e6910a 20:07:46 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 20:07:47 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 20:07:47 OK: 203 MiB in 52 packages 20:07:48 Removing intermediate container ef45b1e6910a 20:07:48 ---> d1a7650fccf5 20:07:48 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:07:48 ---> Running in 25ad94a7e273 20:07:49 Removing intermediate container 25ad94a7e273 20:07:49 ---> f7f88d39dac7 20:07:49 Step 7/19 : COPY . . 20:07:50 ---> 28415d1437a0 20:07:50 Step 8/19 : RUN ${MAKE} 20:07:50 ---> Running in 26dac7323218 20:07:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:08:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:08:21 Removing intermediate container 26dac7323218 20:08:21 ---> 51ea8680918d 20:08:21 Step 9/19 : FROM scratch 20:08:21 ---> 20:08:21 Step 10/19 : ENV APP_PORT=49991 20:08:21 ---> Running in 0cb2d03630d9 20:08:22 Removing intermediate container 0cb2d03630d9 20:08:22 ---> f369c41d1e4b 20:08:22 Step 11/19 : EXPOSE $APP_PORT 20:08:22 ---> Running in 80737cb050d2 20:08:22 Removing intermediate container 80737cb050d2 20:08:22 ---> 23969ce06a54 20:08:22 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:08:23 ---> f411d09ca86f 20:08:23 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:08:24 ---> b526186383a1 20:08:24 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:08:24 ---> f092db8d5a5f 20:08:24 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:08:24 ---> Running in 373a2c1f813c 20:08:25 Removing intermediate container 373a2c1f813c 20:08:25 ---> 17fce8ab2098 20:08:25 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 20:08:25 ---> Running in 871b0637b6ec 20:08:25 Removing intermediate container 871b0637b6ec 20:08:25 ---> 1fe899c3fa86 20:08:25 Step 17/19 : LABEL arch=arm64 20:08:26 ---> Running in 884a00031a02 20:08:26 Removing intermediate container 884a00031a02 20:08:26 ---> 011a44985435 20:08:26 Step 18/19 : LABEL git_sha=98b52d9584e04c01e40368f8367c2648e1414356 20:08:26 ---> Running in 0dfccea29bc6 20:08:26 Removing intermediate container 0dfccea29bc6 20:08:26 ---> 1c9170e52b0f 20:08:26 Step 19/19 : LABEL version=0.0.0 20:08:27 ---> Running in 8db370495eff 20:08:27 Removing intermediate container 8db370495eff 20:08:27 ---> 02580fb07097 20:08:27 [Warning] One or more build-args [ARCH] were not consumed 20:08:27 Successfully built 02580fb07097 20:08:27 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 20:08:28 + find /w/workspace/device-modbus-go/1+ 20:08:28 grep snapcraft.yaml 20:08:28 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:29 provisioning config files... 20:08:29 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6854183882119761710tmp [Pipeline] { [Pipeline] sh 20:08:29 + cp /w/workspace/device-modbus-go/1@tmp/config6854183882119761710tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 20:08:29 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/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 20:08:29 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 20:08:29 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 20:08:29 b2f61026a351: Pulling fs layer 20:08:29 5538fb30c42c: Pulling fs layer 20:08:29 f0b05810781a: Pulling fs layer 20:08:29 0180a33352d6: Pulling fs layer 20:08:29 e7604b0c0f53: Pulling fs layer 20:08:29 db689cb83ae0: Pulling fs layer 20:08:29 6138af208834: Pulling fs layer 20:08:29 007c8e8c5d63: Pulling fs layer 20:08:29 4f7a387c642f: Pulling fs layer 20:08:29 0180a33352d6: Waiting 20:08:29 db689cb83ae0: Waiting 20:08:29 e7604b0c0f53: Waiting 20:08:29 4f7a387c642f: Waiting 20:08:29 007c8e8c5d63: Waiting 20:08:29 f0b05810781a: Download complete 20:08:29 5538fb30c42c: Verifying Checksum 20:08:29 5538fb30c42c: Download complete 20:08:30 0180a33352d6: Verifying Checksum 20:08:30 0180a33352d6: Download complete 20:08:30 db689cb83ae0: Verifying Checksum 20:08:30 db689cb83ae0: Download complete 20:08:30 6138af208834: Download complete 20:08:30 007c8e8c5d63: Download complete 20:08:30 4f7a387c642f: Verifying Checksum 20:08:30 4f7a387c642f: Download complete 20:08:30 b2f61026a351: Verifying Checksum 20:08:30 b2f61026a351: Download complete 20:08:34 b2f61026a351: Pull complete 20:08:34 5538fb30c42c: Pull complete 20:08:34 f0b05810781a: Pull complete 20:08:34 0180a33352d6: Pull complete 20:08:37 e7604b0c0f53: Verifying Checksum 20:08:37 e7604b0c0f53: Download complete 20:09:09 e7604b0c0f53: Pull complete 20:09:09 db689cb83ae0: Pull complete 20:09:09 6138af208834: Pull complete 20:09:09 007c8e8c5d63: Pull complete 20:09:09 4f7a387c642f: Pull complete 20:09:09 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 20:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 20:09:16 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 20:09:16 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 20:09:16 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 20:09:16 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 20:09:16 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 20:09:16 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1233 kB] 20:09:17 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 20:09:17 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [879 kB] 20:09:17 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 20:09:17 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 20:09:17 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [756 kB] 20:09:17 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [606 kB] 20:09:18 Fetched 3747 kB in 3s (1354 kB/s) 20:09:22 Reading package lists... 20:09:34 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 20:09:39 Reading package lists... 20:09:39 Building dependency tree... 20:09:39 Reading state information... 20:09:40 The following packages were automatically installed and are no longer required: 20:09:40 libjq1 liblzo2-2 libonig4 20:09:40 Use 'sudo apt autoremove' to remove them. 20:09:40 Suggested packages: 20:09:40 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:09:40 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 20:09:40 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 20:09:40 libterm-readline-gnu-perl | libterm-readline-perl-perl 20:09:40 The following NEW packages will be installed: 20:09:40 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 20:09:40 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 20:09:40 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 20:09:40 openssh-client patch perl perl-modules-5.26 xauth 20:09:41 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 20:09:41 Need to get 12.9 MB of archives. 20:09:41 After this operation, 84.2 MB of additional disk space will be used. 20:09:41 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 20:09:41 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 20:09:41 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 20:09:41 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 20:09:42 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 20:09:42 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 20:09:42 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 20:09:42 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:09:44 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 20:09:44 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 20:09:44 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 20:09:45 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 20:09:45 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 20:09:45 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 20:09:45 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 20:09:45 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 20:09:45 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 20:09:45 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 20:09:45 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 20:09:46 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 20:09:46 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 20:09:46 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 20:09:46 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 20:09:46 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:09:46 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 20:09:46 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 20:09:46 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 20:09:47 debconf: delaying package configuration, since apt-utils is not installed 20:09:47 Fetched 12.9 MB in 6s (2136 kB/s) 20:09:47 Selecting previously unselected package libxau6:arm64. 20:09:47 (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.) 20:09:47 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 20:09:47 Unpacking libxau6:arm64 (1:1.0.8-1) ... 20:09:47 Selecting previously unselected package libbsd0:arm64. 20:09:47 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 20:09:48 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:09:48 Selecting previously unselected package libxdmcp6:arm64. 20:09:48 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 20:09:48 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 20:09:48 Selecting previously unselected package libxcb1:arm64. 20:09:48 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 20:09:48 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:09:48 Selecting previously unselected package libx11-data. 20:09:48 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 20:09:48 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 20:09:48 Selecting previously unselected package libx11-6:arm64. 20:09:48 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 20:09:48 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:09:48 Selecting previously unselected package libxext6:arm64. 20:09:48 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 20:09:48 Unpacking libxext6:arm64 (2:1.3.3-1) ... 20:09:48 Selecting previously unselected package perl-modules-5.26. 20:09:48 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:09:48 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:09:50 Selecting previously unselected package libgdbm5:arm64. 20:09:50 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 20:09:50 Unpacking libgdbm5:arm64 (1.14.1-6) ... 20:09:50 Selecting previously unselected package libgdbm-compat4:arm64. 20:09:50 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 20:09:50 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 20:09:50 Selecting previously unselected package libperl5.26:arm64. 20:09:50 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 20:09:50 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:09:52 Selecting previously unselected package perl. 20:09:52 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 20:09:52 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:09:52 Selecting previously unselected package less. 20:09:52 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 20:09:52 Unpacking less (487-0.1) ... 20:09:52 Selecting previously unselected package libexpat1:arm64. 20:09:52 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 20:09:52 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:09:52 Selecting previously unselected package netbase. 20:09:52 Preparing to unpack .../14-netbase_5.4_all.deb ... 20:09:52 Unpacking netbase (5.4) ... 20:09:52 Selecting previously unselected package libedit2:arm64. 20:09:52 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 20:09:52 Unpacking libedit2:arm64 (3.1-20170329-1) ... 20:09:52 Selecting previously unselected package libssl1.0.0:arm64. 20:09:52 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 20:09:52 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:09:53 Selecting previously unselected package libxmuu1:arm64. 20:09:53 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 20:09:53 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 20:09:53 Selecting previously unselected package openssh-client. 20:09:53 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 20:09:53 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 20:09:53 Selecting previously unselected package xauth. 20:09:53 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 20:09:53 Unpacking xauth (1:1.0.10-1) ... 20:09:53 Selecting previously unselected package curl. 20:09:53 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 20:09:53 Unpacking curl (7.58.0-2ubuntu3.8) ... 20:09:53 Selecting previously unselected package libcurl3-gnutls:arm64. 20:09:53 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 20:09:53 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:09:53 Selecting previously unselected package liberror-perl. 20:09:53 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 20:09:53 Unpacking liberror-perl (0.17025-1) ... 20:09:54 Selecting previously unselected package git-man. 20:09:54 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:09:54 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:09:54 Selecting previously unselected package git. 20:09:54 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 20:09:54 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:09:55 Selecting previously unselected package make. 20:09:55 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 20:09:55 Unpacking make (4.1-9.1ubuntu1) ... 20:09:55 Selecting previously unselected package patch. 20:09:55 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 20:09:55 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:09:55 Setting up libedit2:arm64 (3.1-20170329-1) ... 20:09:55 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:09:56 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 20:09:56 Setting up less (487-0.1) ... 20:09:56 Setting up make (4.1-9.1ubuntu1) ... 20:09:56 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 20:09:56 Setting up curl (7.58.0-2ubuntu3.8) ... 20:09:57 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 20:09:57 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:09:57 Setting up libgdbm5:arm64 (1.14.1-6) ... 20:09:57 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 20:09:57 Setting up patch (2.7.6-2ubuntu1.1) ... 20:09:57 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 20:09:57 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 20:09:57 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 20:09:57 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 20:09:57 Setting up libxau6:arm64 (1:1.0.8-1) ... 20:09:57 Setting up netbase (5.4) ... 20:09:57 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:09:57 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 20:09:57 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 20:09:57 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 20:09:57 Setting up perl (5.26.1-6ubuntu0.3) ... 20:09:57 Setting up libxext6:arm64 (2:1.3.3-1) ... 20:09:57 Setting up liberror-perl (0.17025-1) ... 20:09:57 Setting up xauth (1:1.0.10-1) ... 20:09:57 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:09:58 Processing triggers for libc-bin (2.27-3ubuntu1) ... 20:10:04 curl set to automatically installed. 20:10:04 git set to automatically installed. 20:10:04 git-man set to automatically installed. 20:10:04 less set to automatically installed. 20:10:04 libbsd0 set to automatically installed. 20:10:04 libcurl3-gnutls set to automatically installed. 20:10:04 libedit2 set to automatically installed. 20:10:04 liberror-perl set to automatically installed. 20:10:04 libexpat1 set to automatically installed. 20:10:04 libgdbm-compat4 set to automatically installed. 20:10:04 libgdbm5 set to automatically installed. 20:10:04 libperl5.26 set to automatically installed. 20:10:04 libssl1.0.0 set to automatically installed. 20:10:04 libx11-6 set to automatically installed. 20:10:04 libx11-data set to automatically installed. 20:10:04 libxau6 set to automatically installed. 20:10:04 libxcb1 set to automatically installed. 20:10:04 libxdmcp6 set to automatically installed. 20:10:04 libxext6 set to automatically installed. 20:10:04 libxmuu1 set to automatically installed. 20:10:04 make set to automatically installed. 20:10:04 netbase set to automatically installed. 20:10:04 openssh-client set to automatically installed. 20:10:04 patch set to automatically installed. 20:10:04 perl set to automatically installed. 20:10:04 perl-modules-5.26 set to automatically installed. 20:10:04 xauth set to automatically installed. 20:10:04 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:10:04 Please ensure the environment is properly setup before continuing. 20:10:04 Ignore this message if the appropriate measures have already been taken 20:10:05 Pulling go 20:10:08 'device-modbus' has dependencies that need to be staged: go 20:10:08 Skipping pull go (already ran) 20:10:08 Building go 20:10:08 % Total % Received % Xferd Average Speed Time Time Time Current 20:10:08 Dload Upload Total Spent Left Speed 20:10:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 45 93.0M 45 42.4M 0 0 39.2M 0 0:00:02 0:00:01 0:00:01 39.2M 80 93.0M 80 75.3M 0 0 36.4M 0 0:00:02 0:00:02 --:--:-- 36.4M 100 93.0M 100 93.0M 0 0 34.1M 0 0:00:02 0:00:02 --:--:-- 34.1M 20:10:12 go1.13.5.linux-arm64.tar.gz: OK 20:10:30 Staging go 20:10:32 Pulling device-modbus 20:10:35 Skipping build go (already ran) 20:10:35 Building device-modbus 20:10:35 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:10:36 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 20:10:36 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:10:36 go: downloading github.com/goburrow/modbus v0.1.0 20:10:36 go: extracting github.com/goburrow/modbus v0.1.0 20:10:36 go: downloading github.com/goburrow/serial v0.1.0 20:10:36 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 20:10:36 go: extracting github.com/goburrow/serial v0.1.0 20:10:36 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:10:36 go: downloading github.com/gorilla/mux v1.7.1 20:10:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:10:36 go: downloading github.com/google/uuid v1.1.1 20:10:36 go: extracting github.com/gorilla/mux v1.7.1 20:10:36 go: downloading github.com/go-kit/kit v0.8.0 20:10:36 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:10:36 go: extracting github.com/google/uuid v1.1.1 20:10:36 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:10:36 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:10:36 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 20:10:36 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:10:36 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 20:10:36 go: downloading github.com/pkg/errors v0.8.1 20:10:36 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:10:36 go: downloading gopkg.in/yaml.v2 v2.2.8 20:10:36 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:10:36 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:10:36 go: extracting github.com/pkg/errors v0.8.1 20:10:36 go: downloading github.com/BurntSushi/toml v0.3.1 20:10:36 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:10:36 go: downloading github.com/hashicorp/consul/api v1.1.0 20:10:36 go: extracting gopkg.in/yaml.v2 v2.2.8 20:10:36 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:10:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:10:36 go: downloading github.com/pelletier/go-toml v1.2.0 20:10:36 go: extracting github.com/BurntSushi/toml v0.3.1 20:10:36 go: downloading github.com/x448/float16 v0.8.4 20:10:36 go: extracting github.com/hashicorp/consul/api v1.1.0 20:10:36 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:10:36 go: downloading github.com/mitchellh/copystructure v1.0.0 20:10:36 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:10:36 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:10:36 go: extracting github.com/pelletier/go-toml v1.2.0 20:10:36 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:10:36 go: extracting github.com/x448/float16 v0.8.4 20:10:36 go: extracting github.com/mitchellh/copystructure v1.0.0 20:10:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:10:36 go: downloading github.com/hashicorp/serf v0.8.2 20:10:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:10:36 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:10:36 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:10:36 go: extracting github.com/go-kit/kit v0.8.0 20:10:36 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:10:36 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:10:36 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:10:36 go: extracting github.com/hashicorp/serf v0.8.2 20:10:37 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:10:37 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:10:37 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:10:37 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:10:37 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:10:37 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:10:37 go: downloading github.com/hashicorp/golang-lru v0.5.1 20:10:37 go: extracting github.com/hashicorp/golang-lru v0.5.1 20:10:37 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 20:10:37 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:10:37 go: finding github.com/goburrow/modbus v0.1.0 20:10:37 go: finding github.com/gorilla/mux v1.7.1 20:10:37 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:10:37 go: finding github.com/goburrow/serial v0.1.0 20:10:37 go: finding github.com/go-kit/kit v0.8.0 20:10:37 go: finding github.com/OneOfOne/xxhash v1.2.6 20:10:37 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 20:10:37 go: finding github.com/google/uuid v1.1.1 20:10:37 go: finding github.com/x448/float16 v0.8.4 20:10:37 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:10:37 go: finding github.com/go-logfmt/logfmt v0.4.0 20:10:37 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:10:37 go: finding gopkg.in/yaml.v2 v2.2.8 20:10:37 go: finding github.com/BurntSushi/toml v0.3.1 20:10:37 go: finding github.com/pkg/errors v0.8.1 20:10:37 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:10:37 go: finding github.com/hashicorp/consul/api v1.1.0 20:10:37 go: finding github.com/pelletier/go-toml v1.2.0 20:10:37 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:10:37 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:10:37 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:10:37 go: finding github.com/hashicorp/serf v0.8.2 20:10:37 go: finding github.com/mitchellh/mapstructure v1.1.2 20:10:37 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:10:37 go: finding github.com/mitchellh/copystructure v1.0.0 20:10:37 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:10:37 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:10:37 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:10:37 go: finding github.com/hashicorp/golang-lru v0.5.1 20:11:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:11:19 Skipping stage go (already ran) 20:11:19 Staging device-modbus 20:11:20 Priming go 20:11:23 Priming device-modbus 20:11:26 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:11:26 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:11:26 Determining the version from the project repo (version-script). 20:11:26 The version has been set to '0.0.0-20200611+98b52d9' 20:11:26 Snapping 'edgex-device-modbus' ... 20:11:29 20:11:29 Snapped edgex-device-modbus_0.0.0-20200611+98b52d9_arm64.snap [Pipeline] } 20:11:31 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 20:11:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:11:34 ---> package-listing.sh 20:11:34 ++ facter osfamily 20:11:34 ++ tr '[:upper:]' '[:lower:]' 20:11:34 + OS_FAMILY=redhat 20:11:34 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-154 20:11:34 + START_PACKAGES=/tmp/packages_start.txt 20:11:34 + END_PACKAGES=/tmp/packages_end.txt 20:11:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:11:34 + PACKAGES=/tmp/packages_start.txt 20:11:34 + '[' /w/workspace/xfoundry_device-modbus-go_PR-154 ']' 20:11:34 + PACKAGES=/tmp/packages_end.txt 20:11:34 + case "${OS_FAMILY}" in 20:11:34 + rpm -qa 20:11:34 + sort 20:11:38 + '[' -f /tmp/packages_start.txt ']' 20:11:38 + '[' -f /tmp/packages_end.txt ']' 20:11:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:11:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-154 ']' 20:11:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-154/archives/ 20:11:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-154/archives/ [Pipeline] isUnix [Pipeline] sh 20:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:11:39 20:11:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:11:39 alpine: Pulling from edgex-lftools-log-publisher 20:11:39 c9b1b535fdd9: Pulling fs layer 20:11:39 2cc5ad85d9ab: Pulling fs layer 20:11:39 756a868c4378: Pulling fs layer 20:11:39 444b2fc9a129: Pulling fs layer 20:11:39 ea15f1150254: Pulling fs layer 20:11:39 41b27a9f41bf: Pulling fs layer 20:11:39 28c525ee5125: Pulling fs layer 20:11:39 094b1ea09ed8: Pulling fs layer 20:11:39 138eaada9080: Pulling fs layer 20:11:39 0622d0fa9048: Pulling fs layer 20:11:39 ea15f1150254: Waiting 20:11:39 41b27a9f41bf: Waiting 20:11:39 28c525ee5125: Waiting 20:11:39 094b1ea09ed8: Waiting 20:11:39 0622d0fa9048: Waiting 20:11:39 138eaada9080: Waiting 20:11:39 444b2fc9a129: Waiting 20:11:39 2cc5ad85d9ab: Download complete 20:11:39 444b2fc9a129: Verifying Checksum 20:11:39 444b2fc9a129: Download complete 20:11:39 c9b1b535fdd9: Verifying Checksum 20:11:39 c9b1b535fdd9: Download complete 20:11:39 ea15f1150254: Verifying Checksum 20:11:39 ea15f1150254: Download complete 20:11:39 28c525ee5125: Verifying Checksum 20:11:39 28c525ee5125: Download complete 20:11:40 756a868c4378: Verifying Checksum 20:11:40 756a868c4378: Download complete 20:11:40 138eaada9080: Verifying Checksum 20:11:40 138eaada9080: Download complete 20:11:40 0622d0fa9048: Verifying Checksum 20:11:40 0622d0fa9048: Download complete 20:11:40 094b1ea09ed8: Verifying Checksum 20:11:40 094b1ea09ed8: Download complete 20:11:40 c9b1b535fdd9: Pull complete 20:11:40 2cc5ad85d9ab: Pull complete 20:11:40 41b27a9f41bf: Verifying Checksum 20:11:40 41b27a9f41bf: Download complete 20:11:42 756a868c4378: Pull complete 20:11:42 444b2fc9a129: Pull complete 20:11:42 ea15f1150254: Pull complete 20:11:46 41b27a9f41bf: Pull complete 20:11:46 28c525ee5125: Pull complete 20:11:50 094b1ea09ed8: Pull complete 20:11:50 138eaada9080: Pull complete 20:11:50 0622d0fa9048: Pull complete 20:11:50 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:11:50 prd-centos7-docker-4c-2g-2612 does not seem to be running inside a container 20:11:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-154 -v /w/workspace/xfoundry_device-modbus-go_PR-154:/w/workspace/xfoundry_device-modbus-go_PR-154:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-154@tmp:/w/workspace/xfoundry_device-modbus-go_PR-154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:11:53 $ docker top b0a017e1a3a4da63f6e32b2325f7d4f77603acd937169647976c1c2a4d49478d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:54 provisioning config files... 20:11:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-154@tmp/config6537718018998302308tmp [Pipeline] { [Pipeline] echo 20:11:54 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:11:54 ---> create-netrc.sh [Pipeline] echo 20:11:54 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:11:54 ---> logs-deploy.sh 20:11:54 + ARCHIVE_ARTIFACTS= 20:11:54 + LOGS_SERVER=https://logs.edgexfoundry.org 20:11:54 + '[' https://logs.edgexfoundry.org == None ']' 20:11:54 + NEXUS_URL=https://nexus.edgexfoundry.org 20:11:54 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/1 20:11:54 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-154/1/ 20:11:54 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/1 /w/workspace/xfoundry_device-modbus-go_PR-154 20:11:56 Archives upload complete. 20:11:56 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-154/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-154/1/