Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from edc18fe4722531dcd3b226e135c26601130508f1+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (817ab9d932eb21b1a531e5f5253394714f4bce34) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5292 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching without tags Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit edc18fe4722531dcd3b226e135c26601130508f1 Merge succeeded, producing c38ed61ac3b96769c536e3c62908c9b77c28b676 Checking out Revision c38ed61ac3b96769c536e3c62908c9b77c28b676 (PR-139) Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c38ed61ac3b96769c536e3c62908c9b77c28b676 # timeout=10 Commit message: "Merge commit 'cc6d90c40154bca37e23385c8e48fb0109b6b0d5' into HEAD" > git rev-list --no-walk edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:57 ========================================================= 16:52:57 EdgeX Global Pipelines Version Info 16:52:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:53:00 ------------------- 16:53:00 stable info: 16:53:00 ------------------- 16:53:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:53:00 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 16:53:00 Message: update stable to v1.0.73 16:53:01 ------------------- 16:53:01 experimental info: 16:53:01 ------------------- 16:53:01 Commited By: **** collab-it+edgex@linuxfoundation.org 16:53:01 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 16:53:01 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:53:04 16:53:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:53:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:53:04 latest: Pulling from edgex-devops/git-semver 16:53:04 9123ac7c32f7: Pulling fs layer 16:53:04 b8cc5d1170e3: Pulling fs layer 16:53:04 2924cbbf6a41: Pulling fs layer 16:53:04 93b08a4f1073: Pulling fs layer 16:53:04 93b08a4f1073: Waiting 16:53:04 b8cc5d1170e3: Verifying Checksum 16:53:04 b8cc5d1170e3: Download complete 16:53:05 9123ac7c32f7: Verifying Checksum 16:53:05 9123ac7c32f7: Download complete 16:53:05 93b08a4f1073: Verifying Checksum 16:53:05 93b08a4f1073: Download complete 16:53:05 2924cbbf6a41: Verifying Checksum 16:53:05 2924cbbf6a41: Download complete 16:53:06 9123ac7c32f7: Pull complete 16:53:06 b8cc5d1170e3: Pull complete 16:53:07 2924cbbf6a41: Pull complete 16:53:07 93b08a4f1073: Pull complete 16:53:07 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:53:07 prd-centos7-docker-4c-2g-5292 does not seem to be running inside a container 16:53:08 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:53:08 $ docker top 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:09 [ssh-agent] Looking for ssh-agent implementation... 16:53:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:09 $ docker exec 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce ssh-agent 16:53:10 SSH_AUTH_SOCK=/tmp/ssh-EMfW17FBZfDv/agent.15 16:53:10 SSH_AGENT_PID=22 16:53:10 Running ssh-add (command line suppressed) 16:53:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8028148797843622859.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8028148797843622859.key) 16:53:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:10 + git describe --exact-match --tags HEAD 16:53:10 fatal: No names found, cannot describe anything. [Pipeline] } 16:53:11 $ docker exec --env ******** --env ******** 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce ssh-agent -k 16:53:11 unset SSH_AUTH_SOCK; 16:53:11 unset SSH_AGENT_PID; 16:53:11 echo Agent pid 22 killed; 16:53:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:53:11 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:53:11 This usually means this commit has not been tagged. [Pipeline] sshagent 16:53:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:11 [ssh-agent] Looking for ssh-agent implementation... 16:53:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:11 $ docker exec 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce ssh-agent 16:53:11 SSH_AUTH_SOCK=/tmp/ssh-lQBUhvR1z7Sm/agent.56 16:53:11 SSH_AGENT_PID=63 16:53:11 Running ssh-add (command line suppressed) 16:53:12 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8932756888787502862.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8932756888787502862.key) 16:53:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:12 + git semver init 16:53:12 # -> Open(): unable to determine branch for HEAD 16:53:12 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git 16:53:12 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 16:53:12 # $SEMVER_REMOTE_NAME = origin 16:53:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:53:12 # $SEMVER_USER_NAME = edgex-jenkins 16:53:12 # $SEMVER_BRANCH = PR-139 16:53:12 # $SEMVER_TEMP = /tmp/semver-144463973 16:53:12 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:53:12 # '/tmp/semver-144463973' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' 16:53:13 # -> Force: false 16:53:13 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } 16:53:13 $ docker exec --env ******** --env ******** 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce ssh-agent -k 16:53:13 unset SSH_AUTH_SOCK; 16:53:13 unset SSH_AGENT_PID; 16:53:13 echo Agent pid 63 killed; 16:53:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:14 + git semver [Pipeline] } 16:53:14 $ docker stop --time=1 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce 16:53:16 $ docker rm -f 06200a5ee78f72bd8fb83b5c5b65e6fed929cf077592c22b3f325cc01640b4ce [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:53:18 Stashed 24 file(s) [Pipeline] echo 16:53:18 [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 16:53:33 Still waiting to schedule task 16:53:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:53:33 Still waiting to schedule task 16:53:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:55:14 Running on prd-centos7-docker-4c-2g-5296 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 16:55:14 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:55:16 using credential edgex-jenkins-ssh 16:55:16 Cloning the remote Git repository 16:55:16 Cloning with configured refspecs honoured and without tags 16:55:16 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:55:16 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:55:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:16 > git --version # timeout=10 16:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:17 Fetching without tags 16:55:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:17 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 16:55:17 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:17 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:19 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit edc18fe4722531dcd3b226e135c26601130508f1 16:55:19 Merge succeeded, producing 9c3f4602e42e1b9bacba83c7e74d0971cb6987f5 16:55:19 Checking out Revision 9c3f4602e42e1b9bacba83c7e74d0971cb6987f5 (PR-139) 16:55:19 > git config core.sparsecheckout # timeout=10 16:55:19 > git checkout -f edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 16:55:19 > git remote # timeout=10 16:55:19 > git config --get remote.origin.url # timeout=10 16:55:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:19 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 16:55:19 > git rev-parse HEAD^{commit} # timeout=10 16:55:19 > git config core.sparsecheckout # timeout=10 16:55:19 > git checkout -f 9c3f4602e42e1b9bacba83c7e74d0971cb6987f5 # timeout=10 16:55:22 Commit message: "Merge commit 'cc6d90c40154bca37e23385c8e48fb0109b6b0d5' into HEAD" 16:55:22 > git rev-list --no-walk edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:55:23 ========================================================= 16:55:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:55:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:55:24 + 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 . 16:55:24 Sending build context to Docker daemon 583.7kB 16:55:24 Step 1/8 : ARG BASE=golang:1.13-alpine 16:55:24 Step 2/8 : FROM ${BASE} 16:55:24 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:55:24 e6b0cf9c0882: Pulling fs layer 16:55:24 2848faf0eed1: Pulling fs layer 16:55:24 0f37312ad70f: Pulling fs layer 16:55:24 5788d62ee057: Pulling fs layer 16:55:24 0e6b1d234666: Pulling fs layer 16:55:24 bf5d7aec512f: Pulling fs layer 16:55:24 34c802a77dc8: Pulling fs layer 16:55:24 9eb99e56ec68: Pulling fs layer 16:55:24 27c7a5d97fbd: Pulling fs layer 16:55:24 5c102a31e300: Pulling fs layer 16:55:24 dcfb455df0a1: Pulling fs layer 16:55:24 5788d62ee057: Waiting 16:55:24 0e6b1d234666: Waiting 16:55:24 bf5d7aec512f: Waiting 16:55:24 34c802a77dc8: Waiting 16:55:24 9eb99e56ec68: Waiting 16:55:24 27c7a5d97fbd: Waiting 16:55:24 5c102a31e300: Waiting 16:55:24 dcfb455df0a1: Waiting 16:55:24 0f37312ad70f: Verifying Checksum 16:55:24 0f37312ad70f: Download complete 16:55:24 2848faf0eed1: Verifying Checksum 16:55:24 2848faf0eed1: Download complete 16:55:24 0e6b1d234666: Verifying Checksum 16:55:24 0e6b1d234666: Download complete 16:55:24 bf5d7aec512f: Verifying Checksum 16:55:24 bf5d7aec512f: Download complete 16:55:24 e6b0cf9c0882: Verifying Checksum 16:55:24 e6b0cf9c0882: Download complete 16:55:25 e6b0cf9c0882: Pull complete 16:55:25 2848faf0eed1: Pull complete 16:55:25 0f37312ad70f: Pull complete 16:55:25 34c802a77dc8: Verifying Checksum 16:55:25 34c802a77dc8: Download complete 16:55:25 27c7a5d97fbd: Verifying Checksum 16:55:25 27c7a5d97fbd: Download complete 16:55:26 5c102a31e300: Verifying Checksum 16:55:26 5c102a31e300: Download complete 16:55:26 9eb99e56ec68: Verifying Checksum 16:55:26 9eb99e56ec68: Download complete 16:55:26 dcfb455df0a1: Verifying Checksum 16:55:26 dcfb455df0a1: Download complete 16:55:26 5788d62ee057: Verifying Checksum 16:55:26 5788d62ee057: Download complete 16:55:33 5788d62ee057: Pull complete 16:55:33 0e6b1d234666: Pull complete 16:55:33 bf5d7aec512f: Pull complete 16:55:38 34c802a77dc8: Pull complete 16:55:41 9eb99e56ec68: Pull complete 16:55:41 27c7a5d97fbd: Pull complete 16:55:42 5c102a31e300: Pull complete 16:55:42 dcfb455df0a1: Pull complete 16:55:42 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:55:42 ---> 7c70fe431013 16:55:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:55:42 ---> Running in 31002437328d 16:55:42 Removing intermediate container 31002437328d 16:55:42 ---> c97c261b392e 16:55:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:42 ---> Running in e68835d28b79 16:55:44 Removing intermediate container e68835d28b79 16:55:44 ---> dcb7f5e9b612 16:55:44 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:55:44 ---> Running in 0ae6e342f7c3 16:55:44 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:55:45 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:55:45 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:55:45 (2/17) Installing libmagic (5.37-r1) 16:55:45 (3/17) Installing file (5.37-r1) 16:55:45 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:55:46 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:55:46 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:55:49 (7/17) Installing libc-dev (0.7.2-r0) 16:55:49 (8/17) Installing g++ (9.2.0-r4) 16:55:52 (9/17) Installing fortify-headers (1.1-r0) 16:55:52 (10/17) Installing build-base (0.5-r1) 16:55:52 (11/17) Installing openssh-keygen (8.1_p1-r0) 16:55:52 (12/17) Installing libedit (20191211.3.1-r0) 16:55:53 (13/17) Installing openssh-client (8.1_p1-r0) 16:55:53 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 16:55:53 (15/17) Installing openssh-server-common (8.1_p1-r0) 16:55:53 (16/17) Installing openssh-server (8.1_p1-r0) 16:55:53 (17/17) Installing openssh (8.1_p1-r0) 16:55:53 Executing busybox-1.31.1-r8.trigger 16:55:53 OK: 214 MiB in 52 packages 16:55:57 Removing intermediate container 0ae6e342f7c3 16:55:57 ---> be8003e392fe 16:55:57 Step 6/8 : WORKDIR /device-modbus-go 16:55:57 ---> Running in 3f64517ac398 16:55:58 Removing intermediate container 3f64517ac398 16:55:58 ---> 623da99fe984 16:55:58 Step 7/8 : COPY . . 16:55:58 ---> d78d2c3589f3 16:55:58 Step 8/8 : RUN go mod download 16:55:58 ---> Running in cb5f2a44ec86 16:56:00 go: finding github.com/BurntSushi/toml v0.3.1 16:56:00 go: finding github.com/OneOfOne/xxhash v1.2.6 16:56:00 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:56:00 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:56:00 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:56:00 go: finding github.com/bgentry/speakeasy v0.1.0 16:56:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:56:01 go: finding github.com/davecgh/go-spew v1.1.1 16:56:01 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 16:56:01 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 16:56:01 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:56:01 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:56:01 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:56:01 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:56:01 go: finding github.com/fatih/color v1.7.0 16:56:01 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:56:01 go: finding github.com/go-kit/kit v0.8.0 16:56:01 go: finding github.com/go-logfmt/logfmt v0.4.0 16:56:01 go: finding github.com/go-stack/stack v1.8.0 16:56:01 go: finding github.com/goburrow/modbus v0.1.0 16:56:01 go: finding github.com/goburrow/serial v0.1.0 16:56:01 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:56:01 go: finding github.com/google/uuid v1.1.1 16:56:01 go: finding github.com/gorilla/mux v1.7.1 16:56:01 go: finding github.com/hashicorp/consul/api v1.1.0 16:56:01 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:56:01 go: finding github.com/hashicorp/errwrap v1.0.0 16:56:01 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:56:01 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:56:01 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:56:01 go: finding github.com/hashicorp/go-multierror v1.0.0 16:56:01 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:56:01 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:56:01 go: finding github.com/hashicorp/go-syslog v1.0.0 16:56:01 go: finding github.com/hashicorp/go-uuid v1.0.1 16:56:01 go: finding github.com/hashicorp/go.net v0.0.1 16:56:01 go: finding github.com/hashicorp/golang-lru v0.5.1 16:56:01 go: finding github.com/hashicorp/logutils v1.0.0 16:56:02 go: finding github.com/hashicorp/mdns v1.0.0 16:56:02 go: finding github.com/hashicorp/memberlist v0.1.3 16:56:02 go: finding github.com/hashicorp/serf v0.8.2 16:56:02 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:56:02 go: finding github.com/mattn/go-colorable v0.0.9 16:56:02 go: finding github.com/mattn/go-isatty v0.0.3 16:56:02 go: finding github.com/miekg/dns v1.1.4 16:56:02 go: finding github.com/mitchellh/cli v1.0.0 16:56:02 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:56:02 go: finding github.com/mitchellh/copystructure v1.0.0 16:56:02 go: finding github.com/mitchellh/go-homedir v1.1.0 16:56:02 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:56:02 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:56:02 go: finding github.com/mitchellh/gox v0.4.0 16:56:02 go: finding github.com/mitchellh/iochan v1.0.0 16:56:02 go: finding github.com/mitchellh/mapstructure v1.1.2 16:56:02 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:56:02 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:56:02 go: finding github.com/pelletier/go-toml v1.2.0 16:56:02 go: finding github.com/pkg/errors v0.8.1 16:56:02 go: finding github.com/pmezard/go-difflib v1.0.0 16:56:02 go: finding github.com/posener/complete v1.1.1 16:56:02 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:56:02 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:56:02 go: finding github.com/stretchr/objx v0.1.0 16:56:02 go: finding github.com/stretchr/testify v1.5.1 16:56:02 go: finding github.com/ugorji/go v1.1.4 16:56:02 go: finding github.com/x448/float16 v0.8.4 16:56:02 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:56:02 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:56:02 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:56:02 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:56:03 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:56:03 go: finding gopkg.in/yaml.v2 v2.2.8 16:56:07 Removing intermediate container cb5f2a44ec86 16:56:07 ---> 25cb9cec07fb 16:56:07 Successfully built 25cb9cec07fb 16:56:07 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 16:56:07 + docker inspect -f . ci-base-image-x86_64 16:56:07 . [Pipeline] withDockerContainer 16:56:08 prd-centos7-docker-4c-2g-5296 does not seem to be running inside a container 16:56:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 16:56:08 $ docker top 34de6c04df4e8b7d62bb4d005a7ee6152dba733f9011125984cfd82202efeb22 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:09 + go version 16:56:09 go version go1.13.5 linux/amd64 [Pipeline] sh 16:56:09 + make test 16:56:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:56:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:56:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5297 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 16:56:17 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:56:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:56:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.177s coverage: 50.3% of statements 16:56:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:56:23 gofmt -l . 16:56:23 [ "`gofmt -l .`" = "" ] 16:56:23 ./bin/test-attribution-txt.sh 16:56:23 using credential edgex-jenkins-ssh 16:56:23 Cloning the remote Git repository 16:56:23 Cloning with configured refspecs honoured and without tags 16:56:24 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:56:24 Stashed 1 file(s) [Pipeline] } 16:56:24 $ docker stop --time=1 34de6c04df4e8b7d62bb4d005a7ee6152dba733f9011125984cfd82202efeb22 16:56:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:56:24 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:56:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:56:24 > git --version # timeout=10 16:56:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:56:26 $ docker rm -f 34de6c04df4e8b7d62bb4d005a7ee6152dba733f9011125984cfd82202efeb22 [Pipeline] // withDockerContainer 16:56:26 Fetching without tags [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:56:26 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit edc18fe4722531dcd3b226e135c26601130508f1 [Pipeline] sh 16:56:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:56:26 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 16:56:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:56:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:56:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:56:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:56:27 > git config core.sparsecheckout # timeout=10 16:56:27 > git checkout -f edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 16:56:27 > git remote # timeout=10 16:56:27 > git config --get remote.origin.url # timeout=10 16:56:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:27 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 16:56:27 > git rev-parse HEAD^{commit} # timeout=10 16:56:27 Merge succeeded, producing 58bc87cb4744ad0e7aee3da2550969b0e9d00f91 16:56:27 Checking out Revision 58bc87cb4744ad0e7aee3da2550969b0e9d00f91 (PR-139) 16:56:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:56:27 + ls -al . 16:56:27 total 104 16:56:27 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 16:56 . 16:56:27 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 16:55 .. 16:56:27 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 16:55 Attribution.txt 16:56:27 drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 16:55 bin 16:56:27 drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 16:55 cmd 16:56:27 -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 16:56 coverage.out 16:56:27 -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 16:55 Dockerfile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 16:55 Dockerfile.build 16:56:27 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 16:55 .dockerignore 16:56:27 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 16:55 .git 16:56:27 -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 16:55 .gitignore 16:56:27 -rw-r--r--. 1 jenkins jenkins 566 Apr 21 16:56 go.mod 16:56:27 -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 16:56 go.sum 16:56:27 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 16:55 internal 16:56:27 -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 16:55 Jenkinsfile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 16:55 LICENSE 16:56:27 -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 16:55 Makefile 16:56:27 -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 16:55 README.md 16:56:27 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 16:55 .semver 16:56:27 drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 16:55 simulator 16:56:27 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 16:55 snap 16:56:27 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 16:53 VERSION 16:56:27 -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 16:55 version.go [Pipeline] isUnix [Pipeline] sh 16:56:27 + 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=c38ed61ac3b96769c536e3c62908c9b77c28b676 --label arch=amd64 --label version=0.0.0 . 16:56:27 Sending build context to Docker daemon 612.4kB 16:56:27 Step 1/19 : ARG BASE=golang:1.13-alpine 16:56:27 Step 2/19 : FROM ${BASE} AS builder 16:56:27 ---> 25cb9cec07fb 16:56:27 Step 3/19 : ARG MAKE='make build' 16:56:28 ---> Running in 086db8dbdc19 16:56:28 Removing intermediate container 086db8dbdc19 16:56:28 ---> df5ece8a9fda 16:56:28 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:28 ---> Running in 083e43889756 16:56:27 > git config core.sparsecheckout # timeout=10 16:56:27 > git checkout -f 58bc87cb4744ad0e7aee3da2550969b0e9d00f91 # timeout=10 16:56:29 Removing intermediate container 083e43889756 16:56:29 ---> ec3452a22caf 16:56:29 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:56:29 ---> Running in 3d7d3f4dba1b 16:56:29 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:56:30 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:56:30 OK: 214 MiB in 52 packages 16:56:31 Removing intermediate container 3d7d3f4dba1b 16:56:31 ---> e3f30cc2353a 16:56:31 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:56:31 ---> Running in 0d534181ae38 16:56:31 Removing intermediate container 0d534181ae38 16:56:31 ---> 299c58cd7437 16:56:31 Step 7/19 : COPY . . 16:56:31 ---> a59ec5df6ed8 16:56:31 Step 8/19 : RUN ${MAKE} 16:56:31 ---> Running in 1a1e8e41b45e 16:56:31 Commit message: "Merge commit 'cc6d90c40154bca37e23385c8e48fb0109b6b0d5' into HEAD" 16:56:31 > git rev-list --no-walk edc18fe4722531dcd3b226e135c26601130508f1 # timeout=10 16:56:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:56:32 ========================================================= 16:56:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:56:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:56:34 + 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 . 16:56:34 Sending build context to Docker daemon 583.7kB 16:56:34 Step 1/8 : ARG BASE=golang:1.13-alpine 16:56:34 Step 2/8 : FROM ${BASE} 16:56:35 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:56:35 cde5963f3b93: Pulling fs layer 16:56:35 2a23fa8c16f7: Pulling fs layer 16:56:35 777b28850792: Pulling fs layer 16:56:35 8a11ddd9e578: Pulling fs layer 16:56:35 4cf88f913ddb: Pulling fs layer 16:56:35 1df406cf5192: Pulling fs layer 16:56:35 cd6300453558: Pulling fs layer 16:56:35 b9c365052c96: Pulling fs layer 16:56:35 a2d8cc88f415: Pulling fs layer 16:56:35 ea1d1ca13537: Pulling fs layer 16:56:35 3750a50a1c5e: Pulling fs layer 16:56:35 cd6300453558: Waiting 16:56:35 b9c365052c96: Waiting 16:56:35 a2d8cc88f415: Waiting 16:56:35 ea1d1ca13537: Waiting 16:56:35 3750a50a1c5e: Waiting 16:56:35 8a11ddd9e578: Waiting 16:56:35 4cf88f913ddb: Waiting 16:56:35 1df406cf5192: Waiting 16:56:35 777b28850792: Verifying Checksum 16:56:35 777b28850792: Download complete 16:56:35 2a23fa8c16f7: Verifying Checksum 16:56:35 2a23fa8c16f7: Download complete 16:56:35 4cf88f913ddb: Verifying Checksum 16:56:35 4cf88f913ddb: Download complete 16:56:35 1df406cf5192: Verifying Checksum 16:56:35 1df406cf5192: Download complete 16:56:35 cde5963f3b93: Verifying Checksum 16:56:36 cde5963f3b93: Pull complete 16:56:37 2a23fa8c16f7: Pull complete 16:56:37 777b28850792: Pull complete 16:56:39 cd6300453558: Verifying Checksum 16:56:39 cd6300453558: Download complete 16:56:39 a2d8cc88f415: Verifying Checksum 16:56:39 a2d8cc88f415: Download complete 16:56:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:56:41 ea1d1ca13537: Verifying Checksum 16:56:41 ea1d1ca13537: Download complete 16:56:41 3750a50a1c5e: Verifying Checksum 16:56:41 3750a50a1c5e: Download complete 16:56:42 Removing intermediate container 1a1e8e41b45e 16:56:42 ---> 91768b030ac6 16:56:42 Step 9/19 : FROM scratch 16:56:42 ---> 16:56:42 Step 10/19 : ENV APP_PORT=49991 16:56:42 ---> Running in 72a0c9408bd4 16:56:42 Removing intermediate container 72a0c9408bd4 16:56:42 ---> 05a1896fbb02 16:56:42 Step 11/19 : EXPOSE $APP_PORT 16:56:42 ---> Running in 0226552662df 16:56:43 Removing intermediate container 0226552662df 16:56:43 ---> f958a53bf7cc 16:56:43 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:56:43 ---> d34e03697e24 16:56:43 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:56:43 ---> 1afd49b9b8bf 16:56:43 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:56:43 ---> d8fc2b130857 16:56:43 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:56:43 ---> Running in 12bc2da33cfa 16:56:43 Removing intermediate container 12bc2da33cfa 16:56:43 ---> 7f6d5b1da8d1 16:56:43 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:56:44 ---> Running in 5606a58e6bb6 16:56:44 Removing intermediate container 5606a58e6bb6 16:56:44 ---> 6739bdab1bc9 16:56:44 Step 17/19 : LABEL arch=amd64 16:56:44 ---> Running in d4a4dbac26f9 16:56:44 Removing intermediate container d4a4dbac26f9 16:56:44 ---> a4fb3a0a4716 16:56:44 Step 18/19 : LABEL git_sha=c38ed61ac3b96769c536e3c62908c9b77c28b676 16:56:44 ---> Running in 490b29e6b235 16:56:44 Removing intermediate container 490b29e6b235 16:56:44 ---> d4848e780034 16:56:44 Step 19/19 : LABEL version=0.0.0 16:56:44 ---> Running in 6d44d0f7dbba 16:56:44 Removing intermediate container 6d44d0f7dbba 16:56:44 ---> a66e5aadef1e 16:56:44 [Warning] One or more build-args [ARCH] were not consumed 16:56:44 Successfully built a66e5aadef1e 16:56:44 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] { 16:56:45 b9c365052c96: Verifying Checksum 16:56:45 b9c365052c96: Download complete [Pipeline] sh 16:56:45 ++ find /w/workspace/device-modbus-go/5 16:56:45 ++ grep snapcraft.yaml 16:56:45 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:45 provisioning config files... 16:56:45 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config4259630805495913143tmp [Pipeline] { [Pipeline] sh 16:56:46 + cp /w/workspace/device-modbus-go/5@tmp/config4259630805495913143tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh 16:56:46 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/5:/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 16:56:46 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 16:56:46 latest: Pulling from edgex-devops/edgex-snap-builder 16:56:46 5bed26d33875: Pulling fs layer 16:56:46 f11b29a9c730: Pulling fs layer 16:56:46 930bda195c84: Pulling fs layer 16:56:46 78bf9a5ad49e: Pulling fs layer 16:56:46 e5fbee5a4b0d: Pulling fs layer 16:56:46 f452fca78f88: Pulling fs layer 16:56:46 7417ef92027a: Pulling fs layer 16:56:46 2af5c49d270b: Pulling fs layer 16:56:46 df9c3bdbc40a: Pulling fs layer 16:56:46 f452fca78f88: Waiting 16:56:46 7417ef92027a: Waiting 16:56:46 2af5c49d270b: Waiting 16:56:46 df9c3bdbc40a: Waiting 16:56:46 78bf9a5ad49e: Waiting 16:56:46 e5fbee5a4b0d: Waiting 16:56:46 930bda195c84: Verifying Checksum 16:56:46 930bda195c84: Download complete 16:56:46 f11b29a9c730: Download complete 16:56:46 78bf9a5ad49e: Verifying Checksum 16:56:46 78bf9a5ad49e: Download complete 16:56:46 f452fca78f88: Verifying Checksum 16:56:46 f452fca78f88: Download complete 16:56:46 7417ef92027a: Verifying Checksum 16:56:46 7417ef92027a: Download complete 16:56:46 2af5c49d270b: Download complete 16:56:46 df9c3bdbc40a: Verifying Checksum 16:56:46 df9c3bdbc40a: Download complete 16:56:46 8a11ddd9e578: Verifying Checksum 16:56:46 8a11ddd9e578: Download complete 16:56:46 5bed26d33875: Download complete 16:56:50 e5fbee5a4b0d: Verifying Checksum 16:56:50 e5fbee5a4b0d: Download complete 16:56:51 5bed26d33875: Pull complete 16:56:51 f11b29a9c730: Pull complete 16:56:51 930bda195c84: Pull complete 16:56:51 78bf9a5ad49e: Pull complete 16:56:59 8a11ddd9e578: Pull complete 16:56:59 4cf88f913ddb: Pull complete 16:56:59 1df406cf5192: Pull complete 16:57:04 cd6300453558: Pull complete 16:57:09 b9c365052c96: Pull complete 16:57:09 a2d8cc88f415: Pull complete 16:57:11 ea1d1ca13537: Pull complete 16:57:11 3750a50a1c5e: Pull complete 16:57:11 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:57:11 ---> 78745c68409d 16:57:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:57:16 ---> Running in 22a2f86a8968 16:57:16 Removing intermediate container 22a2f86a8968 16:57:16 ---> 5b06c2d560cc 16:57:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:16 ---> Running in c899ae7a5486 16:57:18 Removing intermediate container c899ae7a5486 16:57:18 ---> 5f323358690d 16:57:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:57:18 e5fbee5a4b0d: Pull complete 16:57:18 f452fca78f88: Pull complete 16:57:18 7417ef92027a: Pull complete 16:57:18 2af5c49d270b: Pull complete 16:57:18 df9c3bdbc40a: Pull complete 16:57:18 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 16:57:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:57:18 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 16:57:18 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 16:57:18 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 16:57:18 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 16:57:18 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] 16:57:18 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] 16:57:18 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] 16:57:18 ---> Running in d8e9c7e7de9c 16:57:18 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] 16:57:18 Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] 16:57:18 Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 16:57:18 Fetched 4553 kB in 2s (3017 kB/s) 16:57:19 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:57:20 Reading package lists... 16:57:20 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:57:20 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 16:57:20 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:57:21 (3/18) Installing libmagic (5.37-r1) 16:57:21 (4/18) Installing file (5.37-r1) 16:57:21 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:57:21 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:57:21 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:57:24 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 16:57:24 (8/18) Installing libc-dev (0.7.2-r0) 16:57:24 (9/18) Installing g++ (9.2.0-r4) 16:57:25 Reading package lists... 16:57:25 Building dependency tree... 16:57:25 Reading state information... 16:57:25 The following packages were automatically installed and are no longer required: 16:57:25 libjq1 liblzo2-2 libonig4 16:57:25 Use 'sudo apt autoremove' to remove them. 16:57:25 Suggested packages: 16:57:25 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:57:25 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 16:57:25 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 16:57:25 libterm-readline-gnu-perl | libterm-readline-perl-perl 16:57:25 The following NEW packages will be installed: 16:57:25 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 16:57:25 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 16:57:25 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 16:57:25 openssh-client patch perl perl-modules-5.26 xauth 16:57:26 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 16:57:26 Need to get 14.7 MB of archives. 16:57:26 After this operation, 89.5 MB of additional disk space will be used. 16:57:26 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 16:57:26 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 16:57:26 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 16:57:26 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 16:57:26 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 16:57:26 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 16:57:26 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 16:57:26 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:57:26 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 16:57:26 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 16:57:26 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 16:57:27 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 16:57:27 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 16:57:27 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 16:57:27 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 16:57:27 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 16:57:27 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 16:57:27 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 16:57:27 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 16:57:27 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 16:57:27 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 16:57:27 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 16:57:27 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 16:57:27 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:57:27 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 16:57:27 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 16:57:27 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 16:57:27 (10/18) Installing fortify-headers (1.1-r0) 16:57:27 (11/18) Installing build-base (0.5-r1) 16:57:27 (12/18) Installing openssh-keygen (8.1_p1-r0) 16:57:27 (13/18) Installing libedit (20191211.3.1-r0) 16:57:27 (14/18) Installing openssh-client (8.1_p1-r0) 16:57:27 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 16:57:27 (16/18) Installing openssh-server-common (8.1_p1-r0) 16:57:27 (17/18) Installing openssh-server (8.1_p1-r0) 16:57:27 debconf: delaying package configuration, since apt-utils is not installed 16:57:27 Fetched 14.7 MB in 2s (9758 kB/s) 16:57:27 Selecting previously unselected package libxau6:amd64. 16:57:27 (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.) 16:57:27 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 16:57:27 Unpacking libxau6:amd64 (1:1.0.8-1) ... 16:57:28 (18/18) Installing openssh (8.1_p1-r0) 16:57:28 Executing busybox-1.31.1-r8.trigger 16:57:28 OK: 203 MiB in 52 packages 16:57:28 Selecting previously unselected package libbsd0:amd64. 16:57:28 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 16:57:28 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:57:28 Selecting previously unselected package libxdmcp6:amd64. 16:57:28 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 16:57:28 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 16:57:28 Selecting previously unselected package libxcb1:amd64. 16:57:28 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 16:57:28 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:57:28 Selecting previously unselected package libx11-data. 16:57:28 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 16:57:28 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 16:57:29 Selecting previously unselected package libx11-6:amd64. 16:57:29 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 16:57:29 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:57:29 Selecting previously unselected package libxext6:amd64. 16:57:29 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 16:57:29 Unpacking libxext6:amd64 (2:1.3.3-1) ... 16:57:29 Selecting previously unselected package perl-modules-5.26. 16:57:29 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:57:29 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:57:31 Selecting previously unselected package libgdbm5:amd64. 16:57:31 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 16:57:32 Unpacking libgdbm5:amd64 (1.14.1-6) ... 16:57:32 Selecting previously unselected package libgdbm-compat4:amd64. 16:57:32 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 16:57:32 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 16:57:32 Selecting previously unselected package libperl5.26:amd64. 16:57:32 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 16:57:32 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:57:33 Selecting previously unselected package perl. 16:57:33 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 16:57:33 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:57:33 Selecting previously unselected package less. 16:57:33 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 16:57:33 Unpacking less (487-0.1) ... 16:57:33 Selecting previously unselected package libexpat1:amd64. 16:57:33 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 16:57:33 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:57:33 Selecting previously unselected package netbase. 16:57:33 Preparing to unpack .../14-netbase_5.4_all.deb ... 16:57:33 Unpacking netbase (5.4) ... 16:57:33 Selecting previously unselected package libedit2:amd64. 16:57:33 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 16:57:33 Unpacking libedit2:amd64 (3.1-20170329-1) ... 16:57:33 Selecting previously unselected package libssl1.0.0:amd64. 16:57:33 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 16:57:34 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 16:57:34 Selecting previously unselected package libxmuu1:amd64. 16:57:34 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 16:57:34 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 16:57:34 Selecting previously unselected package openssh-client. 16:57:34 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 16:57:34 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 16:57:34 Selecting previously unselected package xauth. 16:57:34 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 16:57:34 Removing intermediate container d8e9c7e7de9c 16:57:34 ---> 87eeef35b0bd 16:57:34 Step 6/8 : WORKDIR /device-modbus-go 16:57:34 ---> Running in 9dee61361774 16:57:35 Removing intermediate container 9dee61361774 16:57:35 ---> e1d7e0574bb0 16:57:35 Step 7/8 : COPY . . 16:57:36 ---> 3ad187088301 16:57:36 Step 8/8 : RUN go mod download 16:57:36 ---> Running in 69f9243bb38b 16:57:36 Unpacking xauth (1:1.0.10-1) ... 16:57:36 Selecting previously unselected package curl. 16:57:36 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 16:57:36 Unpacking curl (7.58.0-2ubuntu3.8) ... 16:57:37 Selecting previously unselected package libcurl3-gnutls:amd64. 16:57:37 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 16:57:37 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:57:37 Selecting previously unselected package liberror-perl. 16:57:37 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 16:57:37 Unpacking liberror-perl (0.17025-1) ... 16:57:37 Selecting previously unselected package git-man. 16:57:37 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:57:37 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:57:37 Selecting previously unselected package git. 16:57:37 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 16:57:37 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:57:38 go: finding github.com/BurntSushi/toml v0.3.1 16:57:38 go: finding github.com/OneOfOne/xxhash v1.2.6 16:57:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:57:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:57:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:57:38 go: finding github.com/bgentry/speakeasy v0.1.0 16:57:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:57:38 go: finding github.com/davecgh/go-spew v1.1.1 16:57:38 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 16:57:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 16:57:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:57:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:57:39 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:57:39 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:57:39 go: finding github.com/fatih/color v1.7.0 16:57:39 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:57:39 go: finding github.com/go-kit/kit v0.8.0 16:57:39 go: finding github.com/go-logfmt/logfmt v0.4.0 16:57:39 go: finding github.com/go-stack/stack v1.8.0 16:57:39 go: finding github.com/goburrow/modbus v0.1.0 16:57:39 Selecting previously unselected package make. 16:57:39 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 16:57:39 Unpacking make (4.1-9.1ubuntu1) ... 16:57:39 Selecting previously unselected package patch. 16:57:39 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 16:57:39 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:57:39 Setting up libedit2:amd64 (3.1-20170329-1) ... 16:57:39 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:57:39 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:57:39 Setting up less (487-0.1) ... 16:57:39 go: finding github.com/goburrow/serial v0.1.0 16:57:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:57:39 go: finding github.com/google/uuid v1.1.1 16:57:39 go: finding github.com/gorilla/mux v1.7.1 16:57:39 go: finding github.com/hashicorp/consul/api v1.1.0 16:57:39 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:57:39 go: finding github.com/hashicorp/errwrap v1.0.0 16:57:39 Setting up make (4.1-9.1ubuntu1) ... 16:57:39 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 16:57:39 Setting up curl (7.58.0-2ubuntu3.8) ... 16:57:39 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:57:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:57:39 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:57:39 go: finding github.com/hashicorp/go-multierror v1.0.0 16:57:39 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:57:39 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:57:39 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:57:39 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:57:39 Setting up libgdbm5:amd64 (1.14.1-6) ... 16:57:39 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:57:39 Setting up patch (2.7.6-2ubuntu1.1) ... 16:57:39 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 16:57:39 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 16:57:39 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 16:57:39 go: finding github.com/hashicorp/go-syslog v1.0.0 16:57:39 go: finding github.com/hashicorp/go-uuid v1.0.1 16:57:39 go: finding github.com/hashicorp/go.net v0.0.1 16:57:39 go: finding github.com/hashicorp/golang-lru v0.5.1 16:57:39 go: finding github.com/hashicorp/logutils v1.0.0 16:57:39 go: finding github.com/hashicorp/mdns v1.0.0 16:57:39 go: finding github.com/hashicorp/memberlist v0.1.3 16:57:39 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 16:57:39 Setting up libxau6:amd64 (1:1.0.8-1) ... 16:57:39 Setting up netbase (5.4) ... 16:57:40 go: finding github.com/hashicorp/serf v0.8.2 16:57:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:57:40 go: finding github.com/mattn/go-colorable v0.0.9 16:57:40 go: finding github.com/mattn/go-isatty v0.0.3 16:57:40 go: finding github.com/miekg/dns v1.1.4 16:57:40 go: finding github.com/mitchellh/cli v1.0.0 16:57:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:57:40 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:57:40 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:57:40 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:57:40 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 16:57:40 Setting up perl (5.26.1-6ubuntu0.3) ... 16:57:40 go: finding github.com/mitchellh/copystructure v1.0.0 16:57:40 go: finding github.com/mitchellh/go-homedir v1.1.0 16:57:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:57:40 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:57:40 go: finding github.com/mitchellh/gox v0.4.0 16:57:40 go: finding github.com/mitchellh/iochan v1.0.0 16:57:40 Setting up libxext6:amd64 (2:1.3.3-1) ... 16:57:40 Setting up liberror-perl (0.17025-1) ... 16:57:40 Setting up xauth (1:1.0.10-1) ... 16:57:40 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:57:40 Processing triggers for libc-bin (2.27-3ubuntu1) ... 16:57:40 go: finding github.com/mitchellh/mapstructure v1.1.2 16:57:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:57:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:57:40 go: finding github.com/pelletier/go-toml v1.2.0 16:57:40 go: finding github.com/pkg/errors v0.8.1 16:57:40 go: finding github.com/pmezard/go-difflib v1.0.0 16:57:40 go: finding github.com/posener/complete v1.1.1 16:57:40 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:57:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:57:40 go: finding github.com/stretchr/objx v0.1.0 16:57:40 go: finding github.com/stretchr/testify v1.5.1 16:57:40 go: finding github.com/ugorji/go v1.1.4 16:57:40 go: finding github.com/x448/float16 v0.8.4 16:57:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:57:40 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:57:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:57:41 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:57:41 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:57:41 go: finding gopkg.in/yaml.v2 v2.2.8 16:57:42 curl set to automatically installed. 16:57:42 git set to automatically installed. 16:57:42 git-man set to automatically installed. 16:57:42 less set to automatically installed. 16:57:42 libbsd0 set to automatically installed. 16:57:42 libcurl3-gnutls set to automatically installed. 16:57:42 libedit2 set to automatically installed. 16:57:42 liberror-perl set to automatically installed. 16:57:42 libexpat1 set to automatically installed. 16:57:42 libgdbm-compat4 set to automatically installed. 16:57:42 libgdbm5 set to automatically installed. 16:57:42 libperl5.26 set to automatically installed. 16:57:42 libssl1.0.0 set to automatically installed. 16:57:42 libx11-6 set to automatically installed. 16:57:42 libx11-data set to automatically installed. 16:57:42 libxau6 set to automatically installed. 16:57:42 libxcb1 set to automatically installed. 16:57:42 libxdmcp6 set to automatically installed. 16:57:42 libxext6 set to automatically installed. 16:57:42 libxmuu1 set to automatically installed. 16:57:42 make set to automatically installed. 16:57:42 netbase set to automatically installed. 16:57:42 openssh-client set to automatically installed. 16:57:42 patch set to automatically installed. 16:57:42 perl set to automatically installed. 16:57:42 perl-modules-5.26 set to automatically installed. 16:57:42 xauth set to automatically installed. 16:57:42 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:57:42 Please ensure the environment is properly setup before continuing. 16:57:42 Ignore this message if the appropriate measures have already been taken 16:57:51 Removing intermediate container 69f9243bb38b 16:57:51 ---> d88fc97e8114 16:57:51 Successfully built d88fc97e8114 16:57:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:57:51 + docker inspect -f . ci-base-image-arm64 16:57:52 . [Pipeline] withDockerContainer 16:57:52 prd-ubuntu18.04-docker-arm64-4c-16g-5297 does not seem to be running inside a container 16:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:57:54 $ docker top 8ab1615222271bdcd7504a4fdef70cbca650685d9ba2e6a5060ec2df22c1e70e -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:55 + go version 16:57:55 go version go1.13.5 linux/arm64 [Pipeline] sh 16:57:55 + make test 16:57:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:57:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:58:05 Pulling go 16:58:05 'device-modbus' has dependencies that need to be staged: go 16:58:05 Skipping pull go (already ran) 16:58:05 Building go 16:58:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:58:05 Dload Upload Total Spent Left Speed 16:58:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 12 115M 12 14.0M 0 0 51.3M 0 0:00:02 --:--:-- 0:00:02 51.1M 92 115M 92 106M 0 0 82.8M 0 0:00:01 0:00:01 --:--:-- 82.7M 100 115M 100 115M 0 0 84.2M 0 0:00:01 0:00:01 --:--:-- 84.2M 16:58:08 go1.11.9.linux-amd64.tar.gz: OK 16:58:16 Staging go 16:58:16 Pulling device-modbus 16:58:17 Skipping build go (already ran) 16:58:17 Building device-modbus 16:58:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:58:17 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 16:58:17 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:58:17 go: finding github.com/goburrow/modbus v0.1.0 16:58:17 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:58:17 go: finding github.com/goburrow/serial v0.1.0 16:58:17 go: finding github.com/google/uuid v1.1.1 16:58:17 go: finding github.com/mitchellh/go-homedir v1.1.0 16:58:17 go: finding github.com/miekg/dns v1.1.4 16:58:17 go: finding github.com/hashicorp/golang-lru v0.5.1 16:58:17 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:58:19 go: finding github.com/go-logfmt/logfmt v0.4.0 16:58:19 go: finding github.com/stretchr/testify v1.3.0 16:58:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:58:19 go: finding github.com/go-stack/stack v1.8.0 16:58:19 go: finding github.com/go-kit/kit v0.8.0 16:58:19 go: finding github.com/mitchellh/cli v1.0.0 16:58:19 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:58:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 16:58:19 go: finding github.com/google/uuid v1.1.0 16:58:20 go: finding github.com/stretchr/testify v1.5.1 16:58:20 go: finding github.com/gorilla/mux v1.7.1 16:58:20 go: finding github.com/hashicorp/errwrap v1.0.0 16:58:20 go: finding github.com/pkg/errors v0.8.1 16:58:20 go: finding github.com/OneOfOne/xxhash v1.2.6 16:58:20 go: finding github.com/posener/complete v1.1.1 16:58:20 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:58:20 go: finding github.com/x448/float16 v0.8.4 16:58:20 go: finding github.com/stretchr/objx v0.1.0 16:58:21 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 16:58:21 go: finding github.com/davecgh/go-spew v1.1.0 16:58:21 go: finding github.com/fatih/color v1.7.0 16:58:21 go: finding github.com/hashicorp/consul/api v1.1.0 16:58:21 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:58:21 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:58:21 go: finding gopkg.in/yaml.v2 v2.2.8 16:58:21 go: finding github.com/bgentry/speakeasy v0.1.0 16:58:21 go: finding github.com/pelletier/go-toml v1.2.0 16:58:21 go: finding github.com/mattn/go-colorable v0.0.9 16:58:21 go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc 16:58:21 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:58:21 go: finding github.com/hashicorp/go-multierror v1.0.0 16:58:22 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:58:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:58:22 go: finding github.com/pmezard/go-difflib v1.0.0 16:58:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.34 16:58:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:58:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:58:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.218s coverage: 50.3% of statements 16:58:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:58:23 go: finding github.com/mattn/go-isatty v0.0.3 16:58:23 go: finding gopkg.in/yaml.v2 v2.2.2 16:58:23 go: finding github.com/mitchellh/copystructure v1.0.0 16:58:23 go: finding github.com/BurntSushi/toml v0.3.1 16:58:23 go: finding github.com/ugorji/go v1.1.4 16:58:24 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:58:27 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:58:27 go: finding github.com/hashicorp/go-uuid v1.0.1 16:58:27 go: finding github.com/mitchellh/mapstructure v1.1.2 16:58:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:58:27 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:58:27 go: finding github.com/hashicorp/serf v0.8.2 16:58:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:58:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:58:27 go: finding github.com/mitchellh/go-homedir v1.0.0 16:58:28 go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee 16:58:28 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 16:58:28 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 16:58:28 go: finding github.com/hashicorp/mdns v1.0.0 16:58:28 go: finding github.com/hashicorp/go-syslog v1.0.0 16:58:28 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:58:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:58:28 go: finding github.com/mitchellh/iochan v1.0.0 16:58:28 go: finding github.com/mitchellh/gox v0.4.0 16:58:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:58:28 go: finding github.com/hashicorp/memberlist v0.1.3 16:58:28 go: finding github.com/hashicorp/logutils v1.0.0 16:58:28 go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 16:58:28 go: finding github.com/miekg/dns v1.0.14 16:58:28 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:58:28 go: finding github.com/hashicorp/go.net v0.0.1 16:58:28 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:58:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:58:29 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:58:29 gofmt -l . 16:58:29 [ "`gofmt -l .`" = "" ] 16:58:29 ./bin/test-attribution-txt.sh 16:58:29 go: finding github.com/stretchr/testify v1.2.2 16:58:29 go: finding github.com/hashicorp/go-sockaddr v1.0.0 16:58:29 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:58:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:58:29 go: finding github.com/davecgh/go-spew v1.1.1 16:58:29 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:58:29 ./bin/test-go-mod-tidy.sh 16:58:30 go: finding github.com/hashicorp/golang-lru v0.5.0 16:58:30 go: finding github.com/hashicorp/go-uuid v1.0.0 [Pipeline] stash 16:58:30 Warning: overwriting stash ‘coverage-report’ 16:58:30 Stashed 1 file(s) [Pipeline] } 16:58:30 $ docker stop --time=1 8ab1615222271bdcd7504a4fdef70cbca650685d9ba2e6a5060ec2df22c1e70e 16:58:33 $ docker rm -f 8ab1615222271bdcd7504a4fdef70cbca650685d9ba2e6a5060ec2df22c1e70e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:58:34 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 16:58:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 16:58:34 go: downloading github.com/goburrow/modbus v0.1.0 16:58:34 go: downloading github.com/goburrow/serial v0.1.0 16:58:34 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 16:58:34 go: downloading github.com/gorilla/mux v1.7.1 16:58:34 + ls -al . 16:58:34 total 136 16:58:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 16:58 . 16:58:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 16:56 .. 16:58:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 16:56 .dockerignore 16:58:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 16:56 .git 16:58:34 -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 16:56 .gitignore 16:58:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:56 .semver 16:58:34 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 16:56 Attribution.txt 16:58:34 -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 16:56 Dockerfile 16:58:34 -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 16:56 Dockerfile.build 16:58:34 -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 16:56 Jenkinsfile 16:58:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 16:56 LICENSE 16:58:34 -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 16:56 Makefile 16:58:34 -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 16:56 README.md 16:58:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 16:53 VERSION 16:58:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 16:56 bin 16:58:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:56 cmd 16:58:34 -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 16:58 coverage.out 16:58:34 -rw-r--r-- 1 jenkins jenkins 566 Apr 21 16:58 go.mod 16:58:34 -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 16:58 go.sum 16:58:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 16:56 internal 16:58:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 16:56 simulator 16:58:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 16:56 snap 16:58:34 -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 16:56 version.go [Pipeline] isUnix [Pipeline] sh 16:58:34 go: downloading gopkg.in/yaml.v2 v2.2.8 16:58:34 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:58:34 go: downloading github.com/pkg/errors v0.8.1 16:58:34 go: downloading github.com/go-kit/kit v0.8.0 16:58:34 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 16:58:34 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:58:34 go: downloading github.com/google/uuid v1.1.1 16:58:34 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:58:34 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:58:34 go: downloading github.com/pelletier/go-toml v1.2.0 16:58:34 go: downloading github.com/BurntSushi/toml v0.3.1 16:58:34 go: downloading github.com/hashicorp/consul/api v1.1.0 16:58:34 go: downloading github.com/x448/float16 v0.8.4 16:58:34 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:58:34 go: downloading github.com/mitchellh/copystructure v1.0.0 16:58:34 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:58:34 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:58:34 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:58:34 + 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=c38ed61ac3b96769c536e3c62908c9b77c28b676 --label arch=arm64 --label version=0.0.0 . 16:58:34 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:58:34 go: downloading github.com/hashicorp/serf v0.8.2 16:58:34 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:58:34 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:58:35 Sending build context to Docker daemon 612.4kB 16:58:35 Step 1/19 : ARG BASE=golang:1.13-alpine 16:58:35 Step 2/19 : FROM ${BASE} AS builder 16:58:35 ---> d88fc97e8114 16:58:35 Step 3/19 : ARG MAKE='make build' 16:58:35 ---> Running in bcc9d471a55c 16:58:35 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:58:35 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:58:35 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:58:36 Removing intermediate container bcc9d471a55c 16:58:36 ---> 3ba555991dbd 16:58:36 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:58:36 ---> Running in bea1308f2881 16:58:36 # github.com/fxamacker/cbor/v2 16:58:36 /root/go/pkg/mod/github.com/fxamacker/cbor/v2@v2.2.0/encode.go:832:11: v.MapRange undefined (type reflect.Value has no field or method MapRange) 16:58:36 /root/go/pkg/mod/github.com/fxamacker/cbor/v2@v2.2.0/encode.go:913:11: v.MapRange undefined (type reflect.Value has no field or method MapRange) 16:58:37 Removing intermediate container bea1308f2881 16:58:37 ---> 54612a1e0382 16:58:37 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:58:37 ---> Running in bc7e60d3ee56 16:58:38 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:58:39 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:58:39 OK: 203 MiB in 52 packages 16:58:41 Removing intermediate container bc7e60d3ee56 16:58:41 ---> a8ea0848133b 16:58:41 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:58:41 ---> Running in 94933bc50130 16:58:41 note: module requires Go 1.12make: *** [cmd/device-modbus] Error 2 16:58:41 Makefile:21: recipe for target 'cmd/device-modbus' failed 16:58:41 Failed to run 'override-build': Exit code was 2. 16:58:41 Removing intermediate container 94933bc50130 16:58:41 ---> c1ad32336cf0 16:58:41 Step 7/19 : COPY . . [Pipeline] } 16:58:42 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] } 16:58:43 Failed in branch amd64 16:58:43 ---> e5578ab3deed 16:58:43 Step 8/19 : RUN ${MAKE} 16:58:43 ---> Running in ae6fe8bddf71 16:58:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:59:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:59:14 Removing intermediate container ae6fe8bddf71 16:59:14 ---> 919822c0b497 16:59:14 Step 9/19 : FROM scratch 16:59:14 ---> 16:59:14 Step 10/19 : ENV APP_PORT=49991 16:59:14 ---> Running in fc0501029c18 16:59:14 Removing intermediate container fc0501029c18 16:59:14 ---> acb6c1f11238 16:59:14 Step 11/19 : EXPOSE $APP_PORT 16:59:14 ---> Running in 9dc5b478e994 16:59:14 Removing intermediate container 9dc5b478e994 16:59:14 ---> edcd00c36cb4 16:59:14 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:59:15 ---> 62df335561b3 16:59:15 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:59:16 ---> 11f81670e61c 16:59:16 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:59:16 ---> 9836f435f301 16:59:16 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:59:16 ---> Running in 29b1bfe1e957 16:59:17 Removing intermediate container 29b1bfe1e957 16:59:17 ---> b90c7eaec088 16:59:17 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:59:17 ---> Running in 1ab2ee0e9bc3 16:59:17 Removing intermediate container 1ab2ee0e9bc3 16:59:17 ---> 452e6606cc48 16:59:17 Step 17/19 : LABEL arch=arm64 16:59:17 ---> Running in 91364c2354a5 16:59:18 Removing intermediate container 91364c2354a5 16:59:18 ---> 9d18f56e3a07 16:59:18 Step 18/19 : LABEL git_sha=c38ed61ac3b96769c536e3c62908c9b77c28b676 16:59:18 ---> Running in d7a115a0145a 16:59:18 Removing intermediate container d7a115a0145a 16:59:18 ---> 73f41a632a75 16:59:18 Step 19/19 : LABEL version=0.0.0 16:59:18 ---> Running in 018e6d26eeea 16:59:19 Removing intermediate container 018e6d26eeea 16:59:19 ---> dcfc72293d87 16:59:19 [Warning] One or more build-args [ARCH] were not consumed 16:59:19 Successfully built dcfc72293d87 16:59:19 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 16:59:20 + + find /w/workspace/device-modbus-go/5 16:59:20 grep snapcraft.yaml 16:59:20 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:20 provisioning config files... 16:59:20 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config2675056365549558516tmp [Pipeline] { [Pipeline] sh 16:59:20 + cp /w/workspace/device-modbus-go/5@tmp/config2675056365549558516tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh 16:59:20 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/5:/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 16:59:21 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 16:59:21 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 16:59:21 b2f61026a351: Pulling fs layer 16:59:21 5538fb30c42c: Pulling fs layer 16:59:21 f0b05810781a: Pulling fs layer 16:59:21 0180a33352d6: Pulling fs layer 16:59:21 e7604b0c0f53: Pulling fs layer 16:59:21 db689cb83ae0: Pulling fs layer 16:59:21 6138af208834: Pulling fs layer 16:59:21 007c8e8c5d63: Pulling fs layer 16:59:21 4f7a387c642f: Pulling fs layer 16:59:21 db689cb83ae0: Waiting 16:59:21 6138af208834: Waiting 16:59:21 007c8e8c5d63: Waiting 16:59:21 4f7a387c642f: Waiting 16:59:21 f0b05810781a: Download complete 16:59:21 5538fb30c42c: Verifying Checksum 16:59:21 5538fb30c42c: Download complete 16:59:21 0180a33352d6: Verifying Checksum 16:59:21 0180a33352d6: Download complete 16:59:21 db689cb83ae0: Verifying Checksum 16:59:21 db689cb83ae0: Download complete 16:59:21 6138af208834: Download complete 16:59:21 007c8e8c5d63: Verifying Checksum 16:59:21 007c8e8c5d63: Download complete 16:59:21 4f7a387c642f: Verifying Checksum 16:59:21 4f7a387c642f: Download complete 16:59:23 b2f61026a351: Verifying Checksum 16:59:23 b2f61026a351: Download complete 16:59:26 b2f61026a351: Pull complete 16:59:26 5538fb30c42c: Pull complete 16:59:27 f0b05810781a: Pull complete 16:59:27 0180a33352d6: Pull complete 16:59:45 e7604b0c0f53: Verifying Checksum 16:59:45 e7604b0c0f53: Download complete 17:00:17 e7604b0c0f53: Pull complete 17:00:17 db689cb83ae0: Pull complete 17:00:17 6138af208834: Pull complete 17:00:17 007c8e8c5d63: Pull complete 17:00:17 4f7a387c642f: Pull complete 17:00:17 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 17:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 17:00:22 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 17:00:22 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 17:00:22 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 17:00:22 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 17:00:22 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] 17:00:22 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] 17:00:22 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 17:00:22 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] 17:00:22 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] 17:00:22 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] 17:00:23 Fetched 3650 kB in 2s (1754 kB/s) 17:00:27 Reading package lists... 17:00:39 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 17:00:42 Reading package lists... 17:00:43 Building dependency tree... 17:00:43 Reading state information... 17:00:43 The following packages were automatically installed and are no longer required: 17:00:43 libjq1 liblzo2-2 libonig4 17:00:43 Use 'sudo apt autoremove' to remove them. 17:00:43 Suggested packages: 17:00:43 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 17:00:43 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 17:00:43 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 17:00:43 libterm-readline-gnu-perl | libterm-readline-perl-perl 17:00:44 The following NEW packages will be installed: 17:00:44 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 17:00:44 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 17:00:44 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 17:00:44 openssh-client patch perl perl-modules-5.26 xauth 17:00:44 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 17:00:44 Need to get 12.9 MB of archives. 17:00:44 After this operation, 84.2 MB of additional disk space will be used. 17:00:44 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 17:00:44 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 17:00:44 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 17:00:44 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 17:00:44 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 17:00:44 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 17:00:45 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 17:00:45 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 17:00:45 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 17:00:45 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 17:00:45 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 17:00:45 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 17:00:45 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 17:00:45 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 17:00:45 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 17:00:45 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 17:00:45 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 17:00:45 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 17:00:45 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 17:00:45 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 17:00:45 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 17:00:45 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 17:00:45 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 17:00:45 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 17:00:45 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 17:00:46 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 17:00:46 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 17:00:46 debconf: delaying package configuration, since apt-utils is not installed 17:00:46 Fetched 12.9 MB in 2s (7001 kB/s) 17:00:46 Selecting previously unselected package libxau6:arm64. 17:00:46 (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.) 17:00:46 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 17:00:46 Unpacking libxau6:arm64 (1:1.0.8-1) ... 17:00:46 Selecting previously unselected package libbsd0:arm64. 17:00:46 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 17:00:46 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 17:00:46 Selecting previously unselected package libxdmcp6:arm64. 17:00:47 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 17:00:47 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 17:00:47 Selecting previously unselected package libxcb1:arm64. 17:00:47 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 17:00:47 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 17:00:47 Selecting previously unselected package libx11-data. 17:00:47 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 17:00:47 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 17:00:47 Selecting previously unselected package libx11-6:arm64. 17:00:47 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 17:00:47 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 17:00:47 Selecting previously unselected package libxext6:arm64. 17:00:47 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 17:00:47 Unpacking libxext6:arm64 (2:1.3.3-1) ... 17:00:48 Selecting previously unselected package perl-modules-5.26. 17:00:48 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 17:00:48 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:00:49 Selecting previously unselected package libgdbm5:arm64. 17:00:49 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 17:00:49 Unpacking libgdbm5:arm64 (1.14.1-6) ... 17:00:49 Selecting previously unselected package libgdbm-compat4:arm64. 17:00:49 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 17:00:49 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 17:00:49 Selecting previously unselected package libperl5.26:arm64. 17:00:49 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 17:00:49 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 17:00:51 Selecting previously unselected package perl. 17:00:51 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 17:00:51 Unpacking perl (5.26.1-6ubuntu0.3) ... 17:00:51 Selecting previously unselected package less. 17:00:51 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 17:00:51 Unpacking less (487-0.1) ... 17:00:51 Selecting previously unselected package libexpat1:arm64. 17:00:51 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 17:00:51 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 17:00:51 Selecting previously unselected package netbase. 17:00:51 Preparing to unpack .../14-netbase_5.4_all.deb ... 17:00:51 Unpacking netbase (5.4) ... 17:00:51 Selecting previously unselected package libedit2:arm64. 17:00:51 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 17:00:51 Unpacking libedit2:arm64 (3.1-20170329-1) ... 17:00:51 Selecting previously unselected package libssl1.0.0:arm64. 17:00:51 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 17:00:51 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 17:00:52 Selecting previously unselected package libxmuu1:arm64. 17:00:52 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 17:00:52 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 17:00:52 Selecting previously unselected package openssh-client. 17:00:52 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 17:00:52 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 17:00:52 Selecting previously unselected package xauth. 17:00:52 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 17:00:52 Unpacking xauth (1:1.0.10-1) ... 17:00:52 Selecting previously unselected package curl. 17:00:52 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 17:00:52 Unpacking curl (7.58.0-2ubuntu3.8) ... 17:00:52 Selecting previously unselected package libcurl3-gnutls:arm64. 17:00:52 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 17:00:52 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 17:00:52 Selecting previously unselected package liberror-perl. 17:00:52 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 17:00:52 Unpacking liberror-perl (0.17025-1) ... 17:00:52 Selecting previously unselected package git-man. 17:00:52 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 17:00:52 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 17:00:53 Selecting previously unselected package git. 17:00:53 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 17:00:53 Unpacking git (1:2.17.1-1ubuntu0.7) ... 17:00:54 Selecting previously unselected package make. 17:00:54 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 17:00:54 Unpacking make (4.1-9.1ubuntu1) ... 17:00:54 Selecting previously unselected package patch. 17:00:54 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 17:00:54 Unpacking patch (2.7.6-2ubuntu1.1) ... 17:00:54 Setting up libedit2:arm64 (3.1-20170329-1) ... 17:00:54 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 17:00:54 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 17:00:54 Setting up less (487-0.1) ... 17:00:55 Setting up make (4.1-9.1ubuntu1) ... 17:00:55 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 17:00:55 Setting up curl (7.58.0-2ubuntu3.8) ... 17:00:55 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 17:00:55 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:00:55 Setting up libgdbm5:arm64 (1.14.1-6) ... 17:00:55 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 17:00:55 Setting up patch (2.7.6-2ubuntu1.1) ... 17:00:55 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 17:00:55 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 17:00:55 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 17:00:56 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 17:00:56 Setting up libxau6:arm64 (1:1.0.8-1) ... 17:00:56 Setting up netbase (5.4) ... 17:00:56 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 17:00:56 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 17:00:56 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 17:00:56 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 17:00:56 Setting up perl (5.26.1-6ubuntu0.3) ... 17:00:56 Setting up libxext6:arm64 (2:1.3.3-1) ... 17:00:56 Setting up liberror-perl (0.17025-1) ... 17:00:56 Setting up xauth (1:1.0.10-1) ... 17:00:56 Setting up git (1:2.17.1-1ubuntu0.7) ... 17:00:56 Processing triggers for libc-bin (2.27-3ubuntu1) ... 17:01:03 curl set to automatically installed. 17:01:03 git set to automatically installed. 17:01:03 git-man set to automatically installed. 17:01:03 less set to automatically installed. 17:01:03 libbsd0 set to automatically installed. 17:01:03 libcurl3-gnutls set to automatically installed. 17:01:03 libedit2 set to automatically installed. 17:01:03 liberror-perl set to automatically installed. 17:01:03 libexpat1 set to automatically installed. 17:01:03 libgdbm-compat4 set to automatically installed. 17:01:03 libgdbm5 set to automatically installed. 17:01:03 libperl5.26 set to automatically installed. 17:01:03 libssl1.0.0 set to automatically installed. 17:01:03 libx11-6 set to automatically installed. 17:01:03 libx11-data set to automatically installed. 17:01:03 libxau6 set to automatically installed. 17:01:03 libxcb1 set to automatically installed. 17:01:03 libxdmcp6 set to automatically installed. 17:01:03 libxext6 set to automatically installed. 17:01:03 libxmuu1 set to automatically installed. 17:01:03 make set to automatically installed. 17:01:03 netbase set to automatically installed. 17:01:03 openssh-client set to automatically installed. 17:01:03 patch set to automatically installed. 17:01:03 perl set to automatically installed. 17:01:03 perl-modules-5.26 set to automatically installed. 17:01:03 xauth set to automatically installed. 17:01:03 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 17:01:03 Please ensure the environment is properly setup before continuing. 17:01:03 Ignore this message if the appropriate measures have already been taken 17:01:25 Pulling go 17:01:28 'device-modbus' has dependencies that need to be staged: go 17:01:28 Skipping pull go (already ran) 17:01:28 Building go 17:01:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:28 Dload Upload Total Spent Left Speed 17:01:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 17 94.3M 17 16.7M 0 0 29.5M 0 0:00:03 --:--:-- 0:00:03 29.4M 68 94.3M 68 64.9M 0 0 41.0M 0 0:00:02 0:00:01 0:00:01 40.9M 100 94.3M 100 94.3M 0 0 43.0M 0 0:00:02 0:00:02 --:--:-- 43.0M 17:01:32 go1.11.9.linux-arm64.tar.gz: OK 17:01:50 Staging go 17:01:53 Pulling device-modbus 17:01:55 Skipping build go (already ran) 17:01:55 Building device-modbus 17:01:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:01:55 go: finding github.com/hashicorp/golang-lru v0.5.1 17:01:55 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:01:55 go: finding github.com/miekg/dns v1.1.4 17:01:55 go: finding github.com/google/uuid v1.1.1 17:01:55 go: finding github.com/mitchellh/go-homedir v1.1.0 17:01:55 go: finding github.com/goburrow/modbus v0.1.0 17:01:55 go: finding github.com/goburrow/serial v0.1.0 17:01:55 go: finding github.com/hashicorp/go-sockaddr v1.0.1 17:01:55 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:01:56 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 17:01:58 go: finding github.com/google/uuid v1.1.0 17:01:58 go: finding github.com/OneOfOne/xxhash v1.2.6 17:01:58 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:01:58 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:01:58 go: finding github.com/stretchr/testify v1.5.1 17:01:58 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:01:58 go: finding github.com/go-stack/stack v1.8.0 17:01:58 go: finding github.com/stretchr/testify v1.3.0 17:01:59 go: finding github.com/pkg/errors v0.8.1 17:01:59 go: finding github.com/mitchellh/go-wordwrap v1.0.0 17:02:00 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:02:00 go: finding github.com/stretchr/objx v0.1.0 17:02:00 go: finding github.com/go-logfmt/logfmt v0.4.0 17:02:00 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 17:02:01 go: finding github.com/pmezard/go-difflib v1.0.0 17:02:01 go: finding gopkg.in/yaml.v2 v2.2.8 17:02:01 go: finding github.com/go-kit/kit v0.8.0 17:02:02 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:02:02 go: finding github.com/x448/float16 v0.8.4 17:02:03 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:02:03 go: finding github.com/hashicorp/consul/api v1.1.0 17:02:03 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.34 17:02:03 go: finding github.com/mitchellh/copystructure v1.0.0 17:02:03 go: finding github.com/gorilla/mux v1.7.1 17:02:03 go: finding github.com/BurntSushi/toml v0.3.1 17:02:04 go: finding github.com/hashicorp/errwrap v1.0.0 17:02:04 go: finding gopkg.in/yaml.v2 v2.2.2 17:02:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:02:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:02:05 go: finding github.com/ugorji/go v1.1.4 17:02:05 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:02:05 go: finding github.com/davecgh/go-spew v1.1.0 17:02:05 go: finding github.com/mitchellh/cli v1.0.0 17:02:05 go: finding github.com/pelletier/go-toml v1.2.0 17:02:07 go: finding github.com/mattn/go-colorable v0.0.9 17:02:07 go: finding github.com/bgentry/speakeasy v0.1.0 17:02:07 go: finding github.com/posener/complete v1.1.1 17:02:07 go: finding github.com/hashicorp/go-multierror v1.0.0 17:02:07 go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc 17:02:07 go: finding github.com/mattn/go-isatty v0.0.3 17:02:07 go: finding github.com/fatih/color v1.7.0 17:02:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:02:11 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:02:11 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:02:11 go: finding github.com/hashicorp/go-uuid v1.0.1 17:02:11 go: finding github.com/mitchellh/mapstructure v1.1.2 17:02:11 go: finding github.com/hashicorp/serf v0.8.2 17:02:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:02:11 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:02:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:02:13 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:02:14 go: finding github.com/mitchellh/go-homedir v1.0.0 17:02:14 go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee 17:02:14 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:02:14 go: finding github.com/mitchellh/gox v0.4.0 17:02:14 go: finding github.com/hashicorp/go-syslog v1.0.0 17:02:14 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:02:14 go: finding github.com/hashicorp/memberlist v0.1.3 17:02:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:02:15 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 17:02:15 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 17:02:15 go: finding github.com/mitchellh/iochan v1.0.0 17:02:16 go: finding github.com/hashicorp/mdns v1.0.0 17:02:16 go: finding github.com/hashicorp/logutils v1.0.0 17:02:16 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:02:16 go: finding github.com/hashicorp/go-sockaddr v1.0.0 17:02:16 go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 17:02:17 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:02:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:02:17 go: finding github.com/stretchr/testify v1.2.2 17:02:17 go: finding github.com/miekg/dns v1.0.14 17:02:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:02:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:02:18 go: finding github.com/hashicorp/go.net v0.0.1 17:02:18 go: finding github.com/davecgh/go-spew v1.1.1 17:02:18 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:02:19 go: finding github.com/hashicorp/golang-lru v0.5.0 17:02:19 go: finding github.com/hashicorp/go-uuid v1.0.0 17:02:20 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:02:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:02:20 go: downloading github.com/goburrow/modbus v0.1.0 17:02:20 go: downloading github.com/goburrow/serial v0.1.0 17:02:21 go: downloading github.com/gorilla/mux v1.7.1 17:02:21 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:02:21 go: downloading github.com/google/uuid v1.1.1 17:02:21 go: downloading github.com/go-kit/kit v0.8.0 17:02:21 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 17:02:21 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:02:21 go: downloading github.com/OneOfOne/xxhash v1.2.6 17:02:21 go: downloading github.com/pkg/errors v0.8.1 17:02:21 go: downloading gopkg.in/yaml.v2 v2.2.8 17:02:21 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 17:02:21 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 17:02:21 go: downloading github.com/hashicorp/consul/api v1.1.0 17:02:21 go: downloading github.com/BurntSushi/toml v0.3.1 17:02:21 go: downloading github.com/pelletier/go-toml v1.2.0 17:02:21 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:02:21 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:02:21 go: downloading github.com/mitchellh/copystructure v1.0.0 17:02:21 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:02:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:02:21 go: downloading github.com/x448/float16 v0.8.4 17:02:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:02:21 go: downloading github.com/hashicorp/serf v0.8.2 17:02:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:02:22 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:02:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:02:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:02:23 go: downloading github.com/hashicorp/golang-lru v0.5.1 17:02:26 # github.com/fxamacker/cbor/v2 17:02:26 /root/go/pkg/mod/github.com/fxamacker/cbor/v2@v2.2.0/encode.go:832:11: v.MapRange undefined (type reflect.Value has no field or method MapRange) 17:02:26 /root/go/pkg/mod/github.com/fxamacker/cbor/v2@v2.2.0/encode.go:913:11: v.MapRange undefined (type reflect.Value has no field or method MapRange) 17:02:41 note: module requires Go 1.12make: *** [cmd/device-modbus] Error 2 17:02:41 Makefile:21: recipe for target 'cmd/device-modbus' failed 17:02:41 Failed to run 'override-build': Exit code was 2. [Pipeline] } 17:02:43 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] } 17:02:44 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:02:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:02:46 ---> package-listing.sh 17:02:46 ++ tr '[:upper:]' '[:lower:]' 17:02:46 ++ facter osfamily 17:02:46 + OS_FAMILY=redhat 17:02:46 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 17:02:46 + START_PACKAGES=/tmp/packages_start.txt 17:02:46 + END_PACKAGES=/tmp/packages_end.txt 17:02:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:02:46 + PACKAGES=/tmp/packages_start.txt 17:02:46 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 17:02:46 + PACKAGES=/tmp/packages_end.txt 17:02:46 + case "${OS_FAMILY}" in 17:02:46 + rpm -qa 17:02:46 + sort 17:02:55 + '[' -f /tmp/packages_start.txt ']' 17:02:55 + '[' -f /tmp/packages_end.txt ']' 17:02:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:02:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 17:02:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ 17:02:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh 17:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:02:55 17:02:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:02:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:02:56 alpine: Pulling from edgex-lftools-log-publisher 17:02:56 c9b1b535fdd9: Pulling fs layer 17:02:56 2cc5ad85d9ab: Pulling fs layer 17:02:56 756a868c4378: Pulling fs layer 17:02:56 444b2fc9a129: Pulling fs layer 17:02:56 ea15f1150254: Pulling fs layer 17:02:56 41b27a9f41bf: Pulling fs layer 17:02:56 28c525ee5125: Pulling fs layer 17:02:56 094b1ea09ed8: Pulling fs layer 17:02:56 138eaada9080: Pulling fs layer 17:02:56 0622d0fa9048: Pulling fs layer 17:02:56 444b2fc9a129: Waiting 17:02:56 41b27a9f41bf: Waiting 17:02:56 28c525ee5125: Waiting 17:02:56 ea15f1150254: Waiting 17:02:56 094b1ea09ed8: Waiting 17:02:56 0622d0fa9048: Waiting 17:02:56 138eaada9080: Waiting 17:02:56 2cc5ad85d9ab: Verifying Checksum 17:02:56 2cc5ad85d9ab: Download complete 17:02:56 444b2fc9a129: Download complete 17:02:56 c9b1b535fdd9: Verifying Checksum 17:02:56 ea15f1150254: Verifying Checksum 17:02:56 ea15f1150254: Download complete 17:02:56 28c525ee5125: Verifying Checksum 17:02:56 28c525ee5125: Download complete 17:02:57 756a868c4378: Verifying Checksum 17:02:57 756a868c4378: Download complete 17:02:57 c9b1b535fdd9: Pull complete 17:02:57 138eaada9080: Verifying Checksum 17:02:57 138eaada9080: Download complete 17:02:57 0622d0fa9048: Verifying Checksum 17:02:57 0622d0fa9048: Download complete 17:02:57 094b1ea09ed8: Verifying Checksum 17:02:57 094b1ea09ed8: Download complete 17:02:58 41b27a9f41bf: Verifying Checksum 17:02:58 41b27a9f41bf: Download complete 17:02:58 2cc5ad85d9ab: Pull complete 17:03:01 756a868c4378: Pull complete 17:03:01 444b2fc9a129: Pull complete 17:03:01 ea15f1150254: Pull complete 17:03:08 41b27a9f41bf: Pull complete 17:03:08 28c525ee5125: Pull complete 17:03:11 094b1ea09ed8: Pull complete 17:03:11 138eaada9080: Pull complete 17:03:13 0622d0fa9048: Pull complete 17:03:13 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:03:13 prd-centos7-docker-4c-2g-5292 does not seem to be running inside a container 17:03:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:03:15 $ docker top 07f81dd00bd0efec46b409f037252d21357e13932d327cbaa550c586b8163a8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:15 provisioning config files... 17:03:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config1596297306231674670tmp [Pipeline] { [Pipeline] echo 17:03:15 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:03:16 ---> create-netrc.sh [Pipeline] echo 17:03:16 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:03:16 ---> logs-deploy.sh 17:03:16 + ARCHIVE_ARTIFACTS= 17:03:16 + LOGS_SERVER=https://logs.edgexfoundry.org 17:03:16 + '[' https://logs.edgexfoundry.org == None ']' 17:03:16 + NEXUS_URL=https://nexus.edgexfoundry.org 17:03:16 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/5 17:03:16 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/5/ 17:03:16 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/5 /w/workspace/xfoundry_device-modbus-go_PR-139 17:03:19 Archives upload complete. 17:03:19 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/5 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/5/