Started by user ernesto-ojeda 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 cbbbde00792c7bbfc516019c3707f440cae09b1c+251ac84f7228ae0fb6e27216846c283c9f5cee26 (dfa7012d9e1809478506442700cf3b70953a1038) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4350 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # 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 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 Commit message: "add buildSnap option to build migrate to new snap stage" > git rev-list --no-walk cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:15:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:15:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:15:40 ========================================================= 18:15:40 EdgeX Global Pipelines Version Info 18:15:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:15:41 ------------------- 18:15:41 stable info: 18:15:41 ------------------- 18:15:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:15:41 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:15:41 Message: update stable to v1.0.73 18:15:42 ------------------- 18:15:42 experimental info: 18:15:42 ------------------- 18:15:42 Commited By: **** collab-it+edgex@linuxfoundation.org 18:15:42 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 18:15:42 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 18:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:44 18:15:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:15:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:44 latest: Pulling from edgex-devops/git-semver 18:15:44 9123ac7c32f7: Pulling fs layer 18:15:44 b8cc5d1170e3: Pulling fs layer 18:15:44 2924cbbf6a41: Pulling fs layer 18:15:44 93b08a4f1073: Pulling fs layer 18:15:44 93b08a4f1073: Waiting 18:15:44 b8cc5d1170e3: Verifying Checksum 18:15:44 b8cc5d1170e3: Download complete 18:15:44 9123ac7c32f7: Verifying Checksum 18:15:44 9123ac7c32f7: Download complete 18:15:44 93b08a4f1073: Verifying Checksum 18:15:44 93b08a4f1073: Download complete 18:15:44 2924cbbf6a41: Download complete 18:15:44 9123ac7c32f7: Pull complete 18:15:45 b8cc5d1170e3: Pull complete 18:15:45 2924cbbf6a41: Pull complete 18:15:45 93b08a4f1073: Pull complete 18:15:45 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 18:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:15:45 prd-centos7-docker-4c-2g-4350 does not seem to be running inside a container 18:15:46 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:15:46 $ docker top 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:15:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:47 [ssh-agent] Looking for ssh-agent implementation... 18:15:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:47 $ docker exec 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent 18:15:47 SSH_AUTH_SOCK=/tmp/ssh-L0L88Tcr1gFy/agent.15 18:15:47 SSH_AGENT_PID=22 18:15:47 Running ssh-add (command line suppressed) 18:15:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_19098942243310700.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_19098942243310700.key) 18:15:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:47 + git describe --exact-match --tags HEAD 18:15:47 fatal: No names found, cannot describe anything. [Pipeline] } 18:15:48 $ docker exec --env ******** --env ******** 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent -k 18:15:48 unset SSH_AUTH_SOCK; 18:15:48 unset SSH_AGENT_PID; 18:15:48 echo Agent pid 22 killed; 18:15:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:15:48 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:15:48 This usually means this commit has not been tagged. [Pipeline] sshagent 18:15:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:48 [ssh-agent] Looking for ssh-agent implementation... 18:15:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:48 $ docker exec 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent 18:15:48 SSH_AUTH_SOCK=/tmp/ssh-Yotlm9VZNZvo/agent.55 18:15:48 SSH_AGENT_PID=62 18:15:48 Running ssh-add (command line suppressed) 18:15:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6301993976233992403.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6301993976233992403.key) 18:15:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:49 + git semver init 18:15:49 # -> Open(): unable to determine branch for HEAD 18:15:49 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git 18:15:49 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 18:15:49 # $SEMVER_REMOTE_NAME = origin 18:15:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:15:49 # $SEMVER_USER_NAME = edgex-jenkins 18:15:49 # $SEMVER_BRANCH = PR-139 18:15:49 # $SEMVER_TEMP = /tmp/semver-842722546 18:15:49 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 18:15:49 # '/tmp/semver-842722546' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' 18:15:49 # -> Force: false 18:15:49 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } 18:15:49 $ docker exec --env ******** --env ******** 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c ssh-agent -k 18:15:49 unset SSH_AUTH_SOCK; 18:15:49 unset SSH_AGENT_PID; 18:15:49 echo Agent pid 62 killed; 18:15:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:15:50 + git semver [Pipeline] } 18:15:50 $ docker stop --time=1 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c 18:15:51 $ docker rm -f 0dd7cdef08fcd5de550fcbf1b45232106168cd4786218e31068d1b7d7a232c3c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:15:52 Stashed 22 file(s) [Pipeline] echo 18:15:52 [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 18:16:07 Still waiting to schedule task 18:16:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:16:07 Still waiting to schedule task 18:16:07 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:18:32 Running on prd-centos7-docker-4c-2g-4351 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 18:18:32 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 18:18:35 using credential edgex-jenkins-ssh 18:18:35 Cloning the remote Git repository 18:18:35 Cloning with configured refspecs honoured and without tags 18:18:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:18:34 > git init /w/workspace/device-modbus-go/2 # timeout=10 18:18:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:18:34 > git --version # timeout=10 18:18:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:34 > 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 18:18:35 Fetching without tags 18:18:36 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c 18:18:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:18:35 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 18:18:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:18:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:18:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:18:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:35 > 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 18:18:35 > git config core.sparsecheckout # timeout=10 18:18:35 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 18:18:36 Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c 18:18:36 Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) 18:18:35 > git remote # timeout=10 18:18:35 > git config --get remote.origin.url # timeout=10 18:18:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:35 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 18:18:35 > git rev-parse HEAD^{commit} # timeout=10 18:18:35 > git config core.sparsecheckout # timeout=10 18:18:35 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 18:18:39 Commit message: "add buildSnap option to build migrate to new snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:18:40 ========================================================= 18:18:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 18:18:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:18:41 + 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 . 18:18:41 Sending build context to Docker daemon 562.2kB 18:18:41 Step 1/8 : ARG BASE=golang:1.13-alpine 18:18:41 Step 2/8 : FROM ${BASE} 18:18:41 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 18:18:41 e6b0cf9c0882: Pulling fs layer 18:18:41 2848faf0eed1: Pulling fs layer 18:18:41 0f37312ad70f: Pulling fs layer 18:18:41 5788d62ee057: Pulling fs layer 18:18:41 0e6b1d234666: Pulling fs layer 18:18:41 bf5d7aec512f: Pulling fs layer 18:18:41 34c802a77dc8: Pulling fs layer 18:18:41 9eb99e56ec68: Pulling fs layer 18:18:41 27c7a5d97fbd: Pulling fs layer 18:18:41 5c102a31e300: Pulling fs layer 18:18:41 dcfb455df0a1: Pulling fs layer 18:18:41 34c802a77dc8: Waiting 18:18:41 9eb99e56ec68: Waiting 18:18:41 27c7a5d97fbd: Waiting 18:18:41 5c102a31e300: Waiting 18:18:41 dcfb455df0a1: Waiting 18:18:41 5788d62ee057: Waiting 18:18:41 0e6b1d234666: Waiting 18:18:41 bf5d7aec512f: Waiting 18:18:41 0f37312ad70f: Verifying Checksum 18:18:41 0f37312ad70f: Download complete 18:18:41 2848faf0eed1: Verifying Checksum 18:18:41 2848faf0eed1: Download complete 18:18:41 0e6b1d234666: Verifying Checksum 18:18:41 0e6b1d234666: Download complete 18:18:41 e6b0cf9c0882: Download complete 18:18:41 bf5d7aec512f: Verifying Checksum 18:18:41 bf5d7aec512f: Download complete 18:18:41 e6b0cf9c0882: Pull complete 18:18:42 2848faf0eed1: Pull complete 18:18:42 34c802a77dc8: Verifying Checksum 18:18:42 34c802a77dc8: Download complete 18:18:42 27c7a5d97fbd: Verifying Checksum 18:18:42 27c7a5d97fbd: Download complete 18:18:43 5c102a31e300: Verifying Checksum 18:18:43 5c102a31e300: Download complete 18:18:43 dcfb455df0a1: Verifying Checksum 18:18:43 dcfb455df0a1: Download complete 18:18:43 9eb99e56ec68: Verifying Checksum 18:18:43 9eb99e56ec68: Download complete 18:18:43 5788d62ee057: Verifying Checksum 18:18:43 5788d62ee057: Download complete 18:18:44 0f37312ad70f: Pull complete 18:18:50 5788d62ee057: Pull complete 18:18:50 0e6b1d234666: Pull complete 18:18:50 bf5d7aec512f: Pull complete 18:18:56 34c802a77dc8: Pull complete 18:18:59 9eb99e56ec68: Pull complete 18:18:59 27c7a5d97fbd: Pull complete 18:19:00 5c102a31e300: Pull complete 18:19:00 dcfb455df0a1: Pull complete 18:19:00 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 18:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 18:19:00 ---> 7c70fe431013 18:19:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 18:19:00 ---> Running in 5a141385cf0a 18:19:00 Removing intermediate container 5a141385cf0a 18:19:00 ---> 53df461d58af 18:19:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:00 ---> Running in 5eceb6c870e9 18:19:02 Removing intermediate container 5eceb6c870e9 18:19:02 ---> 23d6033334c4 18:19:02 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 18:19:02 ---> Running in c77185d67408 18:19:02 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:19:03 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:19:03 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 18:19:03 (2/17) Installing libmagic (5.37-r1) 18:19:03 (3/17) Installing file (5.37-r1) 18:19:03 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 18:19:03 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 18:19:03 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 18:19:07 (7/17) Installing libc-dev (0.7.2-r0) 18:19:07 (8/17) Installing g++ (9.2.0-r4) 18:19:09 (9/17) Installing fortify-headers (1.1-r0) 18:19:09 (10/17) Installing build-base (0.5-r1) 18:19:09 (11/17) Installing openssh-keygen (8.1_p1-r0) 18:19:09 (12/17) Installing libedit (20191211.3.1-r0) 18:19:09 (13/17) Installing openssh-client (8.1_p1-r0) 18:19:09 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 18:19:09 (15/17) Installing openssh-server-common (8.1_p1-r0) 18:19:10 (16/17) Installing openssh-server (8.1_p1-r0) 18:19:10 (17/17) Installing openssh (8.1_p1-r0) 18:19:10 Executing busybox-1.31.1-r8.trigger 18:19:10 OK: 214 MiB in 52 packages 18:19:14 Removing intermediate container c77185d67408 18:19:14 ---> c8c5e9efdf37 18:19:14 Step 6/8 : WORKDIR /device-modbus-go 18:19:14 ---> Running in 09a2f0ab3dc3 18:19:14 Removing intermediate container 09a2f0ab3dc3 18:19:14 ---> 3770a68672c6 18:19:14 Step 7/8 : COPY . . 18:19:14 ---> b47b7bbbca18 18:19:14 Step 8/8 : RUN go mod download 18:19:14 ---> Running in 50400992967e 18:19:16 go: finding github.com/BurntSushi/toml v0.3.1 18:19:16 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:19:16 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:19:16 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:19:16 go: finding github.com/bgentry/speakeasy v0.1.0 18:19:16 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:19:16 go: finding github.com/davecgh/go-spew v1.1.1 18:19:16 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:19:16 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:19:16 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:19:16 go: finding github.com/fatih/color v1.7.0 18:19:16 go: finding github.com/go-kit/kit v0.8.0 18:19:16 go: finding github.com/go-logfmt/logfmt v0.4.0 18:19:16 go: finding github.com/go-stack/stack v1.8.0 18:19:16 go: finding github.com/goburrow/modbus v0.1.0 18:19:16 go: finding github.com/goburrow/serial v0.1.0 18:19:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:19:16 go: finding github.com/google/uuid v1.1.1 18:19:16 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:19:16 go: finding github.com/gorilla/mux v1.7.0 18:19:17 go: finding github.com/hashicorp/consul v1.4.2 18:19:17 go: finding github.com/hashicorp/errwrap v1.0.0 18:19:17 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:19:17 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:19:17 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:19:17 go: finding github.com/hashicorp/go-multierror v1.0.0 18:19:17 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:19:17 go: finding github.com/hashicorp/go-sockaddr v1.0.1 18:19:17 go: finding github.com/hashicorp/go-syslog v1.0.0 18:19:17 go: finding github.com/hashicorp/go-uuid v1.0.1 18:19:17 go: finding github.com/hashicorp/go.net v0.0.1 18:19:17 go: finding github.com/hashicorp/golang-lru v0.5.1 18:19:17 go: finding github.com/hashicorp/logutils v1.0.0 18:19:17 go: finding github.com/hashicorp/mdns v1.0.0 18:19:17 go: finding github.com/hashicorp/memberlist v0.1.3 18:19:17 go: finding github.com/hashicorp/serf v0.8.2 18:19:17 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:19:17 go: finding github.com/mattn/go-colorable v0.0.9 18:19:17 go: finding github.com/mattn/go-isatty v0.0.3 18:19:17 go: finding github.com/miekg/dns v1.1.4 18:19:17 go: finding github.com/mitchellh/cli v1.0.0 18:19:17 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:19:17 go: finding github.com/mitchellh/copystructure v1.0.0 18:19:17 go: finding github.com/mitchellh/go-homedir v1.1.0 18:19:17 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:19:17 go: finding github.com/mitchellh/go-wordwrap v1.0.0 18:19:17 go: finding github.com/mitchellh/gox v0.4.0 18:19:17 go: finding github.com/mitchellh/iochan v1.0.0 18:19:17 go: finding github.com/mitchellh/mapstructure v1.1.2 18:19:17 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:19:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:19:17 go: finding github.com/pelletier/go-toml v1.2.0 18:19:17 go: finding github.com/pkg/errors v0.8.1 18:19:17 go: finding github.com/pmezard/go-difflib v1.0.0 18:19:17 go: finding github.com/posener/complete v1.1.1 18:19:17 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 18:19:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:19:17 go: finding github.com/stretchr/objx v0.1.0 18:19:17 go: finding github.com/stretchr/testify v1.3.0 18:19:17 go: finding github.com/ugorji/go v1.1.4 18:19:17 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:19:17 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 18:19:17 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:19:17 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:19:17 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:19:17 go: finding gopkg.in/yaml.v2 v2.2.2 18:19:32 Removing intermediate container 50400992967e 18:19:32 ---> 6ee712cfce8b 18:19:32 Successfully built 6ee712cfce8b 18:19:32 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 18:19:33 + docker inspect -f . ci-base-image-x86_64 18:19:33 . [Pipeline] withDockerContainer 18:19:33 prd-centos7-docker-4c-2g-4351 does not seem to be running inside a container 18:19:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:19:33 $ docker top ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:34 + go version 18:19:34 go version go1.13.5 linux/amd64 [Pipeline] sh 18:19:34 + make test 18:19:34 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:19:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:19:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:19:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.140s coverage: 50.3% of statements 18:19:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:19:50 gofmt -l . 18:19:50 [ "`gofmt -l .`" = "" ] 18:19:51 ./bin/test-attribution-txt.sh 18:19:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:19:52 Stashed 1 file(s) [Pipeline] } 18:19:52 $ docker stop --time=1 ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd 18:19:53 $ docker rm -f ee15b70a04967837d5b45ae57bc300935f1edff42f6a52ce12d1dd5e562069bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:19:55 + ls -al . 18:19:55 total 100 18:19:55 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 16 18:19 . 18:19:55 drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 18:18 .. 18:19:55 -rw-rw-r--. 1 jenkins jenkins 4208 Apr 16 18:18 Attribution.txt 18:19:55 drwxrwxr-x. 2 jenkins jenkins 87 Apr 16 18:18 bin 18:19:55 drwxrwxr-x. 3 jenkins jenkins 55 Apr 16 18:18 cmd 18:19:55 -rw-r--r--. 1 jenkins jenkins 22122 Apr 16 18:19 coverage.out 18:19:55 -rw-rw-r--. 1 jenkins jenkins 1263 Apr 16 18:18 Dockerfile 18:19:55 -rw-rw-r--. 1 jenkins jenkins 954 Apr 16 18:18 Dockerfile.build 18:19:55 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 18:18 .dockerignore 18:19:55 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 18:18 .git 18:19:55 -rw-rw-r--. 1 jenkins jenkins 338 Apr 16 18:18 .gitignore 18:19:55 -rw-r--r--. 1 jenkins jenkins 630 Apr 16 18:19 go.mod 18:19:55 -rw-r--r--. 1 jenkins jenkins 12117 Apr 16 18:19 go.sum 18:19:55 drwxrwxr-x. 3 jenkins jenkins 20 Apr 16 18:18 internal 18:19:55 -rw-rw-r--. 1 jenkins jenkins 702 Apr 16 18:18 Jenkinsfile 18:19:55 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 16 18:18 LICENSE 18:19:55 -rw-rw-r--. 1 jenkins jenkins 880 Apr 16 18:18 Makefile 18:19:55 -rw-rw-r--. 1 jenkins jenkins 591 Apr 16 18:18 README.md 18:19:55 drwxrwxr-x. 3 jenkins jenkins 58 Apr 16 18:18 .semver 18:19:55 drwxrwxr-x. 2 jenkins jenkins 35 Apr 16 18:18 simulator 18:19:55 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 18:18 snap 18:19:55 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 18:15 VERSION 18:19:55 -rw-rw-r--. 1 jenkins jenkins 229 Apr 16 18:18 version.go [Pipeline] isUnix [Pipeline] sh 18:19:55 + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=amd64 --label version=0.0.0 . 18:19:55 Sending build context to Docker daemon 590.8kB 18:19:55 Step 1/17 : ARG BASE=golang:1.13-alpine 18:19:55 Step 2/17 : FROM ${BASE} AS builder 18:19:55 ---> 6ee712cfce8b 18:19:55 Step 3/17 : ARG MAKE='make build' 18:19:55 ---> Running in be8fa7d7f6a4 18:19:55 Removing intermediate container be8fa7d7f6a4 18:19:55 ---> 731e883bad0d 18:19:55 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:55 ---> Running in 543dbd08e051 18:19:56 Removing intermediate container 543dbd08e051 18:19:56 ---> ed003589da57 18:19:56 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 18:19:56 ---> Running in 62927a9bc55c 18:19:56 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 18:19:57 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 18:19:57 OK: 214 MiB in 52 packages 18:19:58 Removing intermediate container 62927a9bc55c 18:19:58 ---> cc76033197d0 18:19:58 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 18:19:58 ---> Running in 504f458b24a1 18:19:58 Removing intermediate container 504f458b24a1 18:19:58 ---> 5a11cc07849b 18:19:58 Step 7/17 : COPY . . 18:19:58 ---> e56682ba87c2 18:19:58 Step 8/17 : RUN ${MAKE} 18:19:58 ---> Running in b63ea4d100fd 18:19:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 18:20:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:20:13 Removing intermediate container b63ea4d100fd 18:20:13 ---> b7a231aa2921 18:20:13 Step 9/17 : FROM scratch 18:20:13 ---> 18:20:13 Step 10/17 : ENV APP_PORT=49991 18:20:13 ---> Running in c3fcaf9c54ec 18:20:13 Removing intermediate container c3fcaf9c54ec 18:20:13 ---> f9cc7ad7d91b 18:20:13 Step 11/17 : EXPOSE $APP_PORT 18:20:13 ---> Running in 2bac880bc4c0 18:20:13 Removing intermediate container 2bac880bc4c0 18:20:13 ---> dbc4ddecf6ec 18:20:13 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 18:20:14 ---> 63cccc84eba8 18:20:14 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 18:20:14 ---> Running in 17826a3e8774 18:20:14 Removing intermediate container 17826a3e8774 18:20:14 ---> aa8a3a20671c 18:20:14 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 18:20:14 ---> Running in 20c70c83ef89 18:20:14 Removing intermediate container 20c70c83ef89 18:20:14 ---> 03609309e31e 18:20:14 Step 15/17 : LABEL arch=amd64 18:20:14 ---> Running in 010df9c078a0 18:20:14 Removing intermediate container 010df9c078a0 18:20:14 ---> 234408105fb0 18:20:14 Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c 18:20:14 ---> Running in 1a24af1df612 18:20:15 Removing intermediate container 1a24af1df612 18:20:15 ---> 739457eb6ddf 18:20:15 Step 17/17 : LABEL version=0.0.0 18:20:15 ---> Running in 31957d805a90 18:20:15 Removing intermediate container 31957d805a90 18:20:15 ---> db917a039b15 18:20:15 [Warning] One or more build-args [ARCH] were not consumed 18:20:15 Successfully built db917a039b15 18:20:15 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:15 ++ find /w/workspace/device-modbus-go/2 18:20:15 ++ grep snapcraft.yaml 18:20:15 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:16 provisioning config files... 18:20:16 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config8836583740579680749tmp [Pipeline] { [Pipeline] sh 18:20:16 + cp /w/workspace/device-modbus-go/2@tmp/config8836583740579680749tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 18:20:16 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 18:20:16 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 18:20:16 latest: Pulling from edgex-devops/edgex-snap-builder 18:20:16 5bed26d33875: Pulling fs layer 18:20:16 f11b29a9c730: Pulling fs layer 18:20:16 930bda195c84: Pulling fs layer 18:20:16 78bf9a5ad49e: Pulling fs layer 18:20:16 e5fbee5a4b0d: Pulling fs layer 18:20:16 f452fca78f88: Pulling fs layer 18:20:16 7417ef92027a: Pulling fs layer 18:20:16 2af5c49d270b: Pulling fs layer 18:20:16 df9c3bdbc40a: Pulling fs layer 18:20:16 f452fca78f88: Waiting 18:20:16 7417ef92027a: Waiting 18:20:16 2af5c49d270b: Waiting 18:20:16 df9c3bdbc40a: Waiting 18:20:16 78bf9a5ad49e: Waiting 18:20:16 e5fbee5a4b0d: Waiting 18:20:16 930bda195c84: Verifying Checksum 18:20:16 930bda195c84: Download complete 18:20:16 f11b29a9c730: Verifying Checksum 18:20:16 f11b29a9c730: Download complete 18:20:16 78bf9a5ad49e: Verifying Checksum 18:20:16 78bf9a5ad49e: Download complete 18:20:16 f452fca78f88: Verifying Checksum 18:20:16 f452fca78f88: Download complete 18:20:16 7417ef92027a: Verifying Checksum 18:20:16 7417ef92027a: Download complete 18:20:16 2af5c49d270b: Verifying Checksum 18:20:16 2af5c49d270b: Download complete 18:20:16 df9c3bdbc40a: Verifying Checksum 18:20:16 df9c3bdbc40a: Download complete 18:20:16 5bed26d33875: Verifying Checksum 18:20:16 5bed26d33875: Download complete 18:20:20 e5fbee5a4b0d: Verifying Checksum 18:20:20 e5fbee5a4b0d: Download complete 18:20:21 5bed26d33875: Pull complete 18:20:21 f11b29a9c730: Pull complete 18:20:21 930bda195c84: Pull complete 18:20:21 78bf9a5ad49e: Pull complete 18:20:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4352 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 18:20:33 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 18:20:40 using credential edgex-jenkins-ssh 18:20:40 Cloning the remote Git repository 18:20:40 Cloning with configured refspecs honoured and without tags 18:20:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:20:41 > git init /w/workspace/device-modbus-go/2 # timeout=10 18:20:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:20:41 > git --version # timeout=10 18:20:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:41 > 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 18:20:42 Fetching without tags 18:20:42 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c 18:20:42 Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c 18:20:42 Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) 18:20:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:20:42 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 18:20:42 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:20:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:20:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:20:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:42 > 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 18:20:42 > git config core.sparsecheckout # timeout=10 18:20:42 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 18:20:42 > git remote # timeout=10 18:20:42 > git config --get remote.origin.url # timeout=10 18:20:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:42 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 18:20:42 > git rev-parse HEAD^{commit} # timeout=10 18:20:42 > git config core.sparsecheckout # timeout=10 18:20:42 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 18:20:47 Commit message: "add buildSnap option to build migrate to new snap stage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:20:48 e5fbee5a4b0d: Pull complete 18:20:48 f452fca78f88: Pull complete 18:20:48 7417ef92027a: Pull complete 18:20:48 2af5c49d270b: Pull complete 18:20:48 df9c3bdbc40a: Pull complete 18:20:48 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 18:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 18:20:48 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 18:20:48 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 18:20:48 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 18:20:48 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 18:20:48 Fetched 252 kB in 1s (315 kB/s) [Pipeline] echo 18:20:48 ========================================================= 18:20:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 18:20:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:20:49 Reading package lists... 18:20:49 + 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 . 18:20:50 Sending build context to Docker daemon 562.2kB 18:20:50 Step 1/8 : ARG BASE=golang:1.13-alpine 18:20:50 Step 2/8 : FROM ${BASE} 18:20:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:20:50 cde5963f3b93: Pulling fs layer 18:20:50 2a23fa8c16f7: Pulling fs layer 18:20:50 777b28850792: Pulling fs layer 18:20:50 8a11ddd9e578: Pulling fs layer 18:20:50 4cf88f913ddb: Pulling fs layer 18:20:50 1df406cf5192: Pulling fs layer 18:20:50 cd6300453558: Pulling fs layer 18:20:50 b9c365052c96: Pulling fs layer 18:20:50 a2d8cc88f415: Pulling fs layer 18:20:50 ea1d1ca13537: Pulling fs layer 18:20:50 3750a50a1c5e: Pulling fs layer 18:20:50 4cf88f913ddb: Waiting 18:20:50 1df406cf5192: Waiting 18:20:50 b9c365052c96: Waiting 18:20:50 cd6300453558: Waiting 18:20:50 a2d8cc88f415: Waiting 18:20:50 3750a50a1c5e: Waiting 18:20:50 ea1d1ca13537: Waiting 18:20:50 8a11ddd9e578: Waiting 18:20:50 777b28850792: Download complete 18:20:51 2a23fa8c16f7: Verifying Checksum 18:20:51 2a23fa8c16f7: Download complete 18:20:51 cde5963f3b93: Verifying Checksum 18:20:51 cde5963f3b93: Download complete 18:20:51 1df406cf5192: Verifying Checksum 18:20:51 1df406cf5192: Download complete 18:20:51 4cf88f913ddb: Verifying Checksum 18:20:51 4cf88f913ddb: Download complete 18:20:51 cde5963f3b93: Pull complete 18:20:52 2a23fa8c16f7: Pull complete 18:20:52 777b28850792: Pull complete 18:20:53 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 18:20:54 Reading package lists... 18:20:55 Building dependency tree... 18:20:55 Reading state information... 18:20:55 The following packages were automatically installed and are no longer required: 18:20:55 libjq1 liblzo2-2 libonig4 18:20:55 Use 'sudo apt autoremove' to remove them. 18:20:55 Suggested packages: 18:20:55 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 18:20:55 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 18:20:55 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 18:20:55 libterm-readline-gnu-perl | libterm-readline-perl-perl 18:20:55 cd6300453558: Verifying Checksum 18:20:55 cd6300453558: Download complete 18:20:55 a2d8cc88f415: Verifying Checksum 18:20:55 a2d8cc88f415: Download complete 18:20:55 The following NEW packages will be installed: 18:20:55 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 18:20:55 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 18:20:55 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 18:20:55 openssh-client patch perl perl-modules-5.26 xauth 18:20:55 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 18:20:55 Need to get 14.7 MB of archives. 18:20:55 After this operation, 89.5 MB of additional disk space will be used. 18:20:55 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 18:20:55 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 18:20:56 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 18:20:56 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 18:20:56 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 18:20:56 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 18:20:56 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 18:20:56 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 18:20:56 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 18:20:56 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 18:20:56 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 18:20:56 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 18:20:56 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 18:20:56 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 18:20:56 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 18:20:56 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 18:20:56 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 18:20:56 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 18:20:56 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 18:20:56 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 18:20:56 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 18:20:57 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 18:20:57 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 18:20:57 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.6 [803 kB] 18:20:57 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.6 [3912 kB] 18:20:57 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 18:20:57 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 18:20:57 debconf: delaying package configuration, since apt-utils is not installed 18:20:57 Fetched 14.7 MB in 2s (8058 kB/s) 18:20:57 Selecting previously unselected package libxau6:amd64. 18:20:57 (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.) 18:20:57 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 18:20:57 Unpacking libxau6:amd64 (1:1.0.8-1) ... 18:20:58 Selecting previously unselected package libbsd0:amd64. 18:20:58 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 18:20:58 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 18:20:58 Selecting previously unselected package libxdmcp6:amd64. 18:20:58 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 18:20:58 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 18:20:58 Selecting previously unselected package libxcb1:amd64. 18:20:58 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 18:20:58 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 18:20:58 Selecting previously unselected package libx11-data. 18:20:58 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 18:20:58 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 18:20:58 ea1d1ca13537: Verifying Checksum 18:20:58 ea1d1ca13537: Download complete 18:20:58 3750a50a1c5e: Verifying Checksum 18:20:59 Selecting previously unselected package libx11-6:amd64. 18:20:59 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 18:20:59 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 18:20:59 Selecting previously unselected package libxext6:amd64. 18:20:59 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 18:20:59 Unpacking libxext6:amd64 (2:1.3.3-1) ... 18:20:59 Selecting previously unselected package perl-modules-5.26. 18:20:59 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 18:20:59 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 18:21:00 b9c365052c96: Verifying Checksum 18:21:00 b9c365052c96: Download complete 18:21:02 8a11ddd9e578: Verifying Checksum 18:21:02 8a11ddd9e578: Download complete 18:21:03 Selecting previously unselected package libgdbm5:amd64. 18:21:03 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 18:21:03 Unpacking libgdbm5:amd64 (1.14.1-6) ... 18:21:03 Selecting previously unselected package libgdbm-compat4:amd64. 18:21:03 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 18:21:03 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 18:21:03 Selecting previously unselected package libperl5.26:amd64. 18:21:03 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 18:21:03 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 18:21:04 Selecting previously unselected package perl. 18:21:04 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 18:21:04 Unpacking perl (5.26.1-6ubuntu0.3) ... 18:21:04 Selecting previously unselected package less. 18:21:04 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 18:21:04 Unpacking less (487-0.1) ... 18:21:04 Selecting previously unselected package libexpat1:amd64. 18:21:04 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 18:21:04 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 18:21:04 Selecting previously unselected package netbase. 18:21:04 Preparing to unpack .../14-netbase_5.4_all.deb ... 18:21:04 Unpacking netbase (5.4) ... 18:21:04 Selecting previously unselected package libedit2:amd64. 18:21:04 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 18:21:04 Unpacking libedit2:amd64 (3.1-20170329-1) ... 18:21:04 Selecting previously unselected package libssl1.0.0:amd64. 18:21:04 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 18:21:04 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 18:21:05 Selecting previously unselected package libxmuu1:amd64. 18:21:05 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 18:21:05 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 18:21:05 Selecting previously unselected package openssh-client. 18:21:05 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 18:21:05 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 18:21:05 Selecting previously unselected package xauth. 18:21:05 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 18:21:05 Unpacking xauth (1:1.0.10-1) ... 18:21:05 Selecting previously unselected package curl. 18:21:05 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 18:21:05 Unpacking curl (7.58.0-2ubuntu3.8) ... 18:21:05 Selecting previously unselected package libcurl3-gnutls:amd64. 18:21:05 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 18:21:05 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 18:21:05 Selecting previously unselected package liberror-perl. 18:21:05 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 18:21:05 Unpacking liberror-perl (0.17025-1) ... 18:21:05 Selecting previously unselected package git-man. 18:21:05 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.6_all.deb ... 18:21:05 Unpacking git-man (1:2.17.1-1ubuntu0.6) ... 18:21:05 Selecting previously unselected package git. 18:21:05 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.6_amd64.deb ... 18:21:05 Unpacking git (1:2.17.1-1ubuntu0.6) ... 18:21:06 Selecting previously unselected package make. 18:21:06 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 18:21:06 Unpacking make (4.1-9.1ubuntu1) ... 18:21:06 Selecting previously unselected package patch. 18:21:06 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 18:21:06 Unpacking patch (2.7.6-2ubuntu1.1) ... 18:21:06 Setting up libedit2:amd64 (3.1-20170329-1) ... 18:21:06 Setting up git-man (1:2.17.1-1ubuntu0.6) ... 18:21:06 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 18:21:06 Setting up less (487-0.1) ... 18:21:06 Setting up make (4.1-9.1ubuntu1) ... 18:21:06 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 18:21:06 Setting up curl (7.58.0-2ubuntu3.8) ... 18:21:06 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 18:21:06 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 18:21:06 Setting up libgdbm5:amd64 (1.14.1-6) ... 18:21:06 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 18:21:06 Setting up patch (2.7.6-2ubuntu1.1) ... 18:21:06 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 18:21:07 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 18:21:07 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 18:21:07 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 18:21:07 Setting up libxau6:amd64 (1:1.0.8-1) ... 18:21:07 Setting up netbase (5.4) ... 18:21:07 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 18:21:07 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 18:21:07 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 18:21:07 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 18:21:07 Setting up perl (5.26.1-6ubuntu0.3) ... 18:21:07 Setting up libxext6:amd64 (2:1.3.3-1) ... 18:21:07 Setting up liberror-perl (0.17025-1) ... 18:21:07 Setting up xauth (1:1.0.10-1) ... 18:21:07 Setting up git (1:2.17.1-1ubuntu0.6) ... 18:21:07 Processing triggers for libc-bin (2.27-3ubuntu1) ... 18:21:09 curl set to automatically installed. 18:21:09 git set to automatically installed. 18:21:09 git-man set to automatically installed. 18:21:09 less set to automatically installed. 18:21:09 libbsd0 set to automatically installed. 18:21:09 libcurl3-gnutls set to automatically installed. 18:21:09 libedit2 set to automatically installed. 18:21:09 liberror-perl set to automatically installed. 18:21:09 libexpat1 set to automatically installed. 18:21:09 libgdbm-compat4 set to automatically installed. 18:21:09 libgdbm5 set to automatically installed. 18:21:09 libperl5.26 set to automatically installed. 18:21:09 libssl1.0.0 set to automatically installed. 18:21:09 libx11-6 set to automatically installed. 18:21:09 libx11-data set to automatically installed. 18:21:09 libxau6 set to automatically installed. 18:21:09 libxcb1 set to automatically installed. 18:21:09 libxdmcp6 set to automatically installed. 18:21:09 libxext6 set to automatically installed. 18:21:09 libxmuu1 set to automatically installed. 18:21:09 make set to automatically installed. 18:21:09 netbase set to automatically installed. 18:21:09 openssh-client set to automatically installed. 18:21:09 patch set to automatically installed. 18:21:09 perl set to automatically installed. 18:21:09 perl-modules-5.26 set to automatically installed. 18:21:09 xauth set to automatically installed. 18:21:09 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 18:21:09 Please ensure the environment is properly setup before continuing. 18:21:09 Ignore this message if the appropriate measures have already been taken 18:21:10 Pulling go 18:21:11 'device-modbus' has dependencies that need to be staged: go 18:21:11 Skipping pull go (already ran) 18:21:11 Building go 18:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:21:11 Dload Upload Total Spent Left Speed 18:21:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 115M 39 45.4M 0 0 67.4M 0 0:00:01 --:--:-- 0:00:01 67.3M 100 115M 100 115M 0 0 82.1M 0 0:00:01 0:00:01 --:--:-- 82.1M 18:21:13 go1.11.9.linux-amd64.tar.gz: OK 18:21:14 8a11ddd9e578: Pull complete 18:21:14 4cf88f913ddb: Pull complete 18:21:14 1df406cf5192: Pull complete 18:21:17 cd6300453558: Pull complete 18:21:21 Staging go 18:21:22 b9c365052c96: Pull complete 18:21:22 a2d8cc88f415: Pull complete 18:21:22 Pulling device-modbus 18:21:23 Skipping build go (already ran) 18:21:23 Building device-modbus 18:21:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 18:21:23 go: finding github.com/miekg/dns v1.1.4 18:21:23 go: finding github.com/goburrow/modbus v0.1.0 18:21:23 go: finding github.com/goburrow/serial v0.1.0 18:21:23 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:21:23 go: finding github.com/mitchellh/go-homedir v1.1.0 18:21:23 go: finding github.com/hashicorp/golang-lru v0.5.1 18:21:23 go: finding github.com/google/uuid v1.1.1 18:21:23 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:21:23 go: finding github.com/gorilla/mux v1.7.0 18:21:23 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 18:21:24 ea1d1ca13537: Pull complete 18:21:24 3750a50a1c5e: Pull complete 18:21:24 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 18:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 18:21:24 ---> 78745c68409d 18:21:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 18:21:24 go: finding github.com/hashicorp/go-sockaddr v1.0.1 18:21:24 go: finding github.com/google/uuid v1.1.0 18:21:24 go: finding github.com/stretchr/testify v1.3.0 18:21:24 go: finding github.com/ugorji/go v1.1.4 18:21:24 go: finding github.com/go-kit/kit v0.8.0 18:21:24 go: finding github.com/go-stack/stack v1.8.0 18:21:24 go: finding github.com/go-logfmt/logfmt v0.4.0 18:21:25 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 18:21:25 go: finding github.com/hashicorp/errwrap v1.0.0 18:21:25 go: finding github.com/mitchellh/go-wordwrap v1.0.0 18:21:25 go: finding github.com/mitchellh/cli v1.0.0 18:21:25 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:21:25 go: finding github.com/pmezard/go-difflib v1.0.0 18:21:25 go: finding github.com/stretchr/objx v0.1.0 18:21:25 go: finding github.com/davecgh/go-spew v1.1.0 18:21:25 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:21:26 go: finding github.com/pelletier/go-toml v1.2.0 18:21:26 go: finding github.com/gorilla/mux v1.6.2 18:21:26 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:21:26 go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc 18:21:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:21:26 go: finding github.com/pkg/errors v0.8.1 18:21:26 go: finding github.com/fatih/color v1.7.0 18:21:26 go: finding github.com/posener/complete v1.1.1 18:21:26 go: finding github.com/mitchellh/mapstructure v1.1.2 18:21:26 go: finding gopkg.in/yaml.v2 v2.2.2 18:21:26 go: finding github.com/hashicorp/go-multierror v1.0.0 18:21:26 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:21:26 go: finding github.com/BurntSushi/toml v0.3.1 18:21:27 go: finding github.com/mattn/go-colorable v0.0.9 18:21:27 go: finding github.com/mattn/go-isatty v0.0.3 18:21:27 go: finding github.com/hashicorp/consul v1.4.2 18:21:27 go: finding github.com/mitchellh/copystructure v1.0.0 18:21:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:21:27 go: finding github.com/hashicorp/serf v0.8.2 18:21:27 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:21:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:21:27 go: finding github.com/bgentry/speakeasy v0.1.0 18:21:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:21:27 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:21:28 go: finding github.com/mitchellh/go-homedir v1.0.0 18:21:28 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:21:28 go: finding github.com/hashicorp/mdns v1.0.0 18:21:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:21:28 go: finding github.com/hashicorp/logutils v1.0.0 18:21:28 go: finding github.com/mitchellh/gox v0.4.0 18:21:28 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:21:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:21:28 go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee 18:21:29 go: finding github.com/miekg/dns v1.0.14 18:21:29 go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 18:21:29 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:21:29 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:21:29 go: finding github.com/hashicorp/go.net v0.0.1 18:21:29 go: finding github.com/hashicorp/go-syslog v1.0.0 18:21:29 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:21:29 go: finding github.com/mitchellh/iochan v1.0.0 18:21:29 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:21:29 go: finding github.com/hashicorp/go-uuid v1.0.1 18:21:29 ---> Running in 692e24fb7276 18:21:29 Removing intermediate container 692e24fb7276 18:21:29 ---> 27aaa2b6a1e9 18:21:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:29 ---> Running in b4d8ec4f6bb6 18:21:30 go: finding github.com/hashicorp/memberlist v0.1.3 18:21:30 go: finding github.com/davecgh/go-spew v1.1.1 18:21:30 go: finding github.com/stretchr/testify v1.2.2 18:21:30 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:21:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:21:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:21:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:21:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:21:31 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:21:31 go: finding github.com/hashicorp/golang-lru v0.5.0 18:21:31 go: finding github.com/hashicorp/go-uuid v1.0.0 18:21:31 Removing intermediate container b4d8ec4f6bb6 18:21:31 ---> 43f911af423d 18:21:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 18:21:31 ---> Running in 80936c2212ae 18:21:32 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:21:33 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:21:34 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 18:21:34 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 18:21:34 (3/18) Installing libmagic (5.37-r1) 18:21:34 go: downloading github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:21:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:21:34 go: downloading github.com/goburrow/modbus v0.1.0 18:21:34 go: downloading github.com/goburrow/serial v0.1.0 18:21:34 (4/18) Installing file (5.37-r1) 18:21:34 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 18:21:34 go: downloading github.com/google/uuid v1.1.1 18:21:34 go: downloading github.com/ugorji/go v1.1.4 18:21:34 go: downloading github.com/gorilla/mux v1.7.0 18:21:34 go: downloading github.com/pkg/errors v0.8.1 18:21:34 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.0 18:21:34 go: downloading github.com/pelletier/go-toml v1.2.0 18:21:34 go: downloading github.com/go-kit/kit v0.8.0 18:21:34 go: downloading gopkg.in/yaml.v2 v2.2.2 18:21:34 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:21:34 go: downloading github.com/hashicorp/consul v1.4.2 18:21:34 go: downloading github.com/cenkalti/backoff v2.1.1+incompatible 18:21:34 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:21:34 go: downloading github.com/mitchellh/copystructure v1.0.0 18:21:34 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:21:34 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 18:21:34 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 18:21:34 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:21:42 (8/18) Installing libc-dev (0.7.2-r0) 18:21:42 (9/18) Installing g++ (9.2.0-r4) 18:21:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:21:42 go: downloading github.com/hashicorp/serf v0.8.2 18:21:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.0 18:21:42 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:21:42 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:21:42 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:21:47 (10/18) Installing fortify-headers (1.1-r0) 18:21:47 (11/18) Installing build-base (0.5-r1) 18:21:47 (12/18) Installing openssh-keygen (8.1_p1-r0) 18:21:47 (13/18) Installing libedit (20191211.3.1-r0) 18:21:47 (14/18) Installing openssh-client (8.1_p1-r0) 18:21:47 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 18:21:47 (16/18) Installing openssh-server-common (8.1_p1-r0) 18:21:47 (17/18) Installing openssh-server (8.1_p1-r0) 18:21:47 (18/18) Installing openssh (8.1_p1-r0) 18:21:47 Executing busybox-1.31.1-r8.trigger 18:21:47 OK: 203 MiB in 52 packages 18:21:54 Removing intermediate container 80936c2212ae 18:21:54 ---> 486ecbaf1158 18:21:54 Step 6/8 : WORKDIR /device-modbus-go 18:21:54 ---> Running in 1cf649d2bc6c 18:21:54 Removing intermediate container 1cf649d2bc6c 18:21:54 ---> fb6ab7c1106f 18:21:54 Step 7/8 : COPY . . 18:21:55 ---> 8eeedf68f689 18:21:55 Step 8/8 : RUN go mod download 18:21:55 ---> Running in 3d710f59f13f 18:21:57 go: finding github.com/BurntSushi/toml v0.3.1 18:21:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:21:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:21:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:21:57 go: finding github.com/bgentry/speakeasy v0.1.0 18:21:57 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:21:57 go: finding github.com/davecgh/go-spew v1.1.1 18:21:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:21:57 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:21:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:21:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:21:57 go: finding github.com/fatih/color v1.7.0 18:21:57 go: finding github.com/go-kit/kit v0.8.0 18:21:57 go: finding github.com/go-logfmt/logfmt v0.4.0 18:21:57 go: finding github.com/go-stack/stack v1.8.0 18:21:57 go: finding github.com/goburrow/modbus v0.1.0 18:21:57 go: finding github.com/goburrow/serial v0.1.0 18:21:57 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:21:57 go: finding github.com/google/uuid v1.1.1 18:21:57 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:21:57 go: finding github.com/gorilla/mux v1.7.0 18:21:57 go: finding github.com/hashicorp/consul v1.4.2 18:21:57 go: finding github.com/hashicorp/errwrap v1.0.0 18:21:57 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:21:57 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:21:57 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:21:58 go: finding github.com/hashicorp/go-multierror v1.0.0 18:21:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:21:58 go: finding github.com/hashicorp/go-sockaddr v1.0.1 18:21:58 go: finding github.com/hashicorp/go-syslog v1.0.0 18:21:58 go: finding github.com/hashicorp/go-uuid v1.0.1 18:21:58 go: finding github.com/hashicorp/go.net v0.0.1 18:21:58 go: finding github.com/hashicorp/golang-lru v0.5.1 18:21:58 go: finding github.com/hashicorp/logutils v1.0.0 18:21:58 go: finding github.com/hashicorp/mdns v1.0.0 18:21:58 go: finding github.com/hashicorp/memberlist v0.1.3 18:21:58 go: finding github.com/hashicorp/serf v0.8.2 18:21:58 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:21:58 go: finding github.com/mattn/go-colorable v0.0.9 18:21:58 go: finding github.com/mattn/go-isatty v0.0.3 18:21:58 go: finding github.com/miekg/dns v1.1.4 18:21:58 go: finding github.com/mitchellh/cli v1.0.0 18:21:58 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:21:58 go: finding github.com/mitchellh/copystructure v1.0.0 18:21:58 go: finding github.com/mitchellh/go-homedir v1.1.0 18:21:58 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:21:58 go: finding github.com/mitchellh/go-wordwrap v1.0.0 18:21:58 go: finding github.com/mitchellh/gox v0.4.0 18:21:58 go: finding github.com/mitchellh/iochan v1.0.0 18:21:58 go: finding github.com/mitchellh/mapstructure v1.1.2 18:21:58 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:21:58 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:21:58 go: finding github.com/pelletier/go-toml v1.2.0 18:21:58 go: finding github.com/pkg/errors v0.8.1 18:21:58 go: finding github.com/pmezard/go-difflib v1.0.0 18:21:58 go: finding github.com/posener/complete v1.1.1 18:21:58 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 18:21:58 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:21:58 go: finding github.com/stretchr/objx v0.1.0 18:21:58 go: finding github.com/stretchr/testify v1.3.0 18:21:58 go: finding github.com/ugorji/go v1.1.4 18:21:58 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:21:58 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 18:21:58 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:21:58 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:21:58 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:21:58 go: finding gopkg.in/yaml.v2 v2.2.2 18:22:01 Skipping stage go (already ran) 18:22:01 Staging device-modbus 18:22:02 Priming go 18:22:03 Priming device-modbus 18:22:03 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 18:22:03 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 18:22:03 Determining the version from the project repo (version-script). 18:22:03 The version has been set to '0.0.0-20200416+cbbbde0' 18:22:03 Snapping 'edgex-device-modbus' ... 18:22:05 18:22:05 Snapped edgex-device-modbus_0.0.0-20200416+cbbbde0_amd64.snap [Pipeline] } 18:22:06 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] } 18:22:16 Removing intermediate container 3d710f59f13f 18:22:16 ---> 82cf519c83a5 18:22:16 Successfully built 82cf519c83a5 18:22:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:22:17 + docker inspect -f . ci-base-image-arm64 18:22:17 . [Pipeline] withDockerContainer 18:22:18 prd-ubuntu18.04-docker-arm64-4c-16g-4352 does not seem to be running inside a container 18:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:22:19 $ docker top f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:20 + go version 18:22:20 go version go1.13.5 linux/arm64 [Pipeline] sh 18:22:21 + make test 18:22:21 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:22:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:23:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:23:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.294s coverage: 50.3% of statements 18:23:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:23:06 gofmt -l . 18:23:06 [ "`gofmt -l .`" = "" ] 18:23:06 ./bin/test-attribution-txt.sh 18:23:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:23:07 Warning: overwriting stash ‘coverage-report’ 18:23:08 Stashed 1 file(s) [Pipeline] } 18:23:08 $ docker stop --time=1 f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e 18:23:10 $ docker rm -f f0acc103c9e978daf0bea165a20b9fd93f07adcba206812fadb580b4da504e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:23:11 + ls -al . 18:23:11 total 132 18:23:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 18:23 . 18:23:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 18:20 .. 18:23:11 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 18:20 .dockerignore 18:23:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 18:20 .git 18:23:11 -rw-rw-r-- 1 jenkins jenkins 338 Apr 16 18:20 .gitignore 18:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 .semver 18:23:11 -rw-rw-r-- 1 jenkins jenkins 4208 Apr 16 18:20 Attribution.txt 18:23:11 -rw-rw-r-- 1 jenkins jenkins 1263 Apr 16 18:20 Dockerfile 18:23:11 -rw-rw-r-- 1 jenkins jenkins 954 Apr 16 18:20 Dockerfile.build 18:23:11 -rw-rw-r-- 1 jenkins jenkins 702 Apr 16 18:20 Jenkinsfile 18:23:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 16 18:20 LICENSE 18:23:11 -rw-rw-r-- 1 jenkins jenkins 880 Apr 16 18:20 Makefile 18:23:11 -rw-rw-r-- 1 jenkins jenkins 591 Apr 16 18:20 README.md 18:23:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 18:15 VERSION 18:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 18:20 bin 18:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 cmd 18:23:11 -rw-r--r-- 1 jenkins jenkins 22122 Apr 16 18:22 coverage.out 18:23:11 -rw-r--r-- 1 jenkins jenkins 630 Apr 16 18:23 go.mod 18:23:11 -rw-r--r-- 1 jenkins jenkins 12117 Apr 16 18:23 go.sum 18:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 18:20 internal 18:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 18:20 simulator 18:23:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 18:20 snap 18:23:11 -rw-rw-r-- 1 jenkins jenkins 229 Apr 16 18:20 version.go [Pipeline] isUnix [Pipeline] sh 18:23:12 + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=arm64 --label version=0.0.0 . 18:23:12 Sending build context to Docker daemon 590.8kB 18:23:12 Step 1/17 : ARG BASE=golang:1.13-alpine 18:23:12 Step 2/17 : FROM ${BASE} AS builder 18:23:12 ---> 82cf519c83a5 18:23:12 Step 3/17 : ARG MAKE='make build' 18:23:12 ---> Running in 743fa0ea82b7 18:23:13 Removing intermediate container 743fa0ea82b7 18:23:13 ---> 702c4663fe82 18:23:13 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:13 ---> Running in 85e8a776adc1 18:23:15 Removing intermediate container 85e8a776adc1 18:23:15 ---> f3e301fa5c89 18:23:15 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 18:23:15 ---> Running in 9ede2dcb4e00 18:23:15 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 18:23:16 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 18:23:17 OK: 203 MiB in 52 packages 18:23:18 Removing intermediate container 9ede2dcb4e00 18:23:18 ---> 5af59a47717c 18:23:18 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 18:23:18 ---> Running in 8769bd6e63af 18:23:19 Removing intermediate container 8769bd6e63af 18:23:19 ---> 4af8d7ec6041 18:23:19 Step 7/17 : COPY . . 18:23:20 ---> e57bba79af16 18:23:20 Step 8/17 : RUN ${MAKE} 18:23:20 ---> Running in 75f0f4ded2ee 18:23:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 18:23:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:24:01 Removing intermediate container 75f0f4ded2ee 18:24:01 ---> 58d2567ac597 18:24:01 Step 9/17 : FROM scratch 18:24:01 ---> 18:24:01 Step 10/17 : ENV APP_PORT=49991 18:24:01 ---> Running in 93081aaad935 18:24:01 Removing intermediate container 93081aaad935 18:24:01 ---> 157fad9bdafd 18:24:01 Step 11/17 : EXPOSE $APP_PORT 18:24:02 ---> Running in 5bf9636c080b 18:24:02 Removing intermediate container 5bf9636c080b 18:24:02 ---> 99b64dd1f019 18:24:02 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 18:24:03 ---> b923213d5024 18:24:03 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 18:24:03 ---> Running in 120d0ba5802a 18:24:03 Removing intermediate container 120d0ba5802a 18:24:03 ---> ae74227b571c 18:24:03 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 18:24:04 ---> Running in 32c0d8c1e7b1 18:24:04 Removing intermediate container 32c0d8c1e7b1 18:24:04 ---> 0c2f639e5e8a 18:24:04 Step 15/17 : LABEL arch=arm64 18:24:04 ---> Running in 4c39d5ebdca6 18:24:04 Removing intermediate container 4c39d5ebdca6 18:24:04 ---> 01d9c9418f16 18:24:04 Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c 18:24:04 ---> Running in d2ad7e93b2b9 18:24:05 Removing intermediate container d2ad7e93b2b9 18:24:05 ---> 2e802e3f3496 18:24:05 Step 17/17 : LABEL version=0.0.0 18:24:05 ---> Running in 451d653412c2 18:24:05 Removing intermediate container 451d653412c2 18:24:05 ---> e0efe49df0c2 18:24:05 [Warning] One or more build-args [ARCH] were not consumed 18:24:05 Successfully built e0efe49df0c2 18:24:05 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 18:24:06 + grep snapcraft.yaml 18:24:06 + find /w/workspace/device-modbus-go/2 18:24:06 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:06 provisioning config files... 18:24:06 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config7689699753906156120tmp [Pipeline] { [Pipeline] sh 18:24:06 + cp /w/workspace/device-modbus-go/2@tmp/config7689699753906156120tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 18:24:07 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 18:24:07 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 18:24:07 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 18:24:07 b2f61026a351: Pulling fs layer 18:24:07 5538fb30c42c: Pulling fs layer 18:24:07 f0b05810781a: Pulling fs layer 18:24:07 0180a33352d6: Pulling fs layer 18:24:07 e7604b0c0f53: Pulling fs layer 18:24:07 db689cb83ae0: Pulling fs layer 18:24:07 6138af208834: Pulling fs layer 18:24:07 007c8e8c5d63: Pulling fs layer 18:24:07 4f7a387c642f: Pulling fs layer 18:24:07 db689cb83ae0: Waiting 18:24:07 6138af208834: Waiting 18:24:07 007c8e8c5d63: Waiting 18:24:07 4f7a387c642f: Waiting 18:24:07 0180a33352d6: Waiting 18:24:07 e7604b0c0f53: Waiting 18:24:07 f0b05810781a: Download complete 18:24:07 5538fb30c42c: Download complete 18:24:07 0180a33352d6: Download complete 18:24:07 db689cb83ae0: Verifying Checksum 18:24:07 db689cb83ae0: Download complete 18:24:07 6138af208834: Verifying Checksum 18:24:07 6138af208834: Download complete 18:24:07 007c8e8c5d63: Verifying Checksum 18:24:07 007c8e8c5d63: Download complete 18:24:07 4f7a387c642f: Verifying Checksum 18:24:07 4f7a387c642f: Download complete 18:24:10 b2f61026a351: Verifying Checksum 18:24:10 b2f61026a351: Download complete 18:24:12 b2f61026a351: Pull complete 18:24:12 5538fb30c42c: Pull complete 18:24:13 f0b05810781a: Pull complete 18:24:13 0180a33352d6: Pull complete 18:24:35 e7604b0c0f53: Verifying Checksum 18:24:35 e7604b0c0f53: Download complete 18:25:02 e7604b0c0f53: Pull complete 18:25:02 db689cb83ae0: Pull complete 18:25:02 6138af208834: Pull complete 18:25:02 007c8e8c5d63: Pull complete 18:25:02 4f7a387c642f: Pull complete 18:25:02 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 18:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 18:25:07 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 18:25:07 Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 18:25:07 Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 18:25:07 Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 18:25:12 Reading package lists... 18:25: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 18:25:29 Reading package lists... 18:25:30 Building dependency tree... 18:25:30 Reading state information... 18:25:31 The following packages were automatically installed and are no longer required: 18:25:31 libjq1 liblzo2-2 libonig4 18:25:31 Use 'sudo apt autoremove' to remove them. 18:25:31 Suggested packages: 18:25:31 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 18:25:31 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 18:25:31 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 18:25:31 libterm-readline-gnu-perl | libterm-readline-perl-perl 18:25:31 The following NEW packages will be installed: 18:25:31 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 18:25:31 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 18:25:31 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 18:25:31 openssh-client patch perl perl-modules-5.26 xauth 18:25:31 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 18:25:31 Need to get 12.9 MB of archives. 18:25:31 After this operation, 84.2 MB of additional disk space will be used. 18:25:31 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 18:25:31 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 18:25:32 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 18:25:32 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 18:25:32 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 18:25:32 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 18:25:32 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 18:25:32 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 18:25:32 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 18:25:32 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 18:25:32 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 18:25:32 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 18:25:32 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 18:25:32 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 18:25:32 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 18:25:32 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 18:25:32 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 18:25:32 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 18:25:32 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 18:25:32 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 18:25:32 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 18:25:32 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 18:25:32 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 18:25:32 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.6 [803 kB] 18:25:33 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.6 [2950 kB] 18:25:33 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 18:25:33 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 18:25:33 debconf: delaying package configuration, since apt-utils is not installed 18:25:34 Fetched 12.9 MB in 2s (8221 kB/s) 18:25:34 Selecting previously unselected package libxau6:arm64. 18:25:34 (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.) 18:25:34 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 18:25:34 Unpacking libxau6:arm64 (1:1.0.8-1) ... 18:25:34 Selecting previously unselected package libbsd0:arm64. 18:25:34 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 18:25:34 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 18:25:34 Selecting previously unselected package libxdmcp6:arm64. 18:25:34 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 18:25:34 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 18:25:34 Selecting previously unselected package libxcb1:arm64. 18:25:34 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 18:25:34 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 18:25:34 Selecting previously unselected package libx11-data. 18:25:34 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 18:25:34 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 18:25:34 Selecting previously unselected package libx11-6:arm64. 18:25:34 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 18:25:34 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 18:25:35 Selecting previously unselected package libxext6:arm64. 18:25:35 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 18:25:35 Unpacking libxext6:arm64 (2:1.3.3-1) ... 18:25:35 Selecting previously unselected package perl-modules-5.26. 18:25:35 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 18:25:35 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 18:25:37 Selecting previously unselected package libgdbm5:arm64. 18:25:37 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 18:25:37 Unpacking libgdbm5:arm64 (1.14.1-6) ... 18:25:37 Selecting previously unselected package libgdbm-compat4:arm64. 18:25:37 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 18:25:37 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 18:25:37 Selecting previously unselected package libperl5.26:arm64. 18:25:37 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 18:25:37 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 18:25:38 Selecting previously unselected package perl. 18:25:38 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 18:25:38 Unpacking perl (5.26.1-6ubuntu0.3) ... 18:25:38 Selecting previously unselected package less. 18:25:38 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 18:25:38 Unpacking less (487-0.1) ... 18:25:38 Selecting previously unselected package libexpat1:arm64. 18:25:38 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 18:25:38 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 18:25:38 Selecting previously unselected package netbase. 18:25:38 Preparing to unpack .../14-netbase_5.4_all.deb ... 18:25:38 Unpacking netbase (5.4) ... 18:25:38 Selecting previously unselected package libedit2:arm64. 18:25:38 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 18:25:38 Unpacking libedit2:arm64 (3.1-20170329-1) ... 18:25:38 Selecting previously unselected package libssl1.0.0:arm64. 18:25:38 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 18:25:38 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 18:25:39 Selecting previously unselected package libxmuu1:arm64. 18:25:39 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 18:25:39 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 18:25:39 Selecting previously unselected package openssh-client. 18:25:39 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 18:25:39 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 18:25:39 Selecting previously unselected package xauth. 18:25:39 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 18:25:39 Unpacking xauth (1:1.0.10-1) ... 18:25:39 Selecting previously unselected package curl. 18:25:39 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 18:25:39 Unpacking curl (7.58.0-2ubuntu3.8) ... 18:25:39 Selecting previously unselected package libcurl3-gnutls:arm64. 18:25:39 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 18:25:39 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 18:25:40 Selecting previously unselected package liberror-perl. 18:25:40 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 18:25:40 Unpacking liberror-perl (0.17025-1) ... 18:25:40 Selecting previously unselected package git-man. 18:25:40 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.6_all.deb ... 18:25:40 Unpacking git-man (1:2.17.1-1ubuntu0.6) ... 18:25:40 Selecting previously unselected package git. 18:25:40 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.6_arm64.deb ... 18:25:40 Unpacking git (1:2.17.1-1ubuntu0.6) ... 18:25:41 Selecting previously unselected package make. 18:25:41 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 18:25:41 Unpacking make (4.1-9.1ubuntu1) ... 18:25:41 Selecting previously unselected package patch. 18:25:41 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 18:25:41 Unpacking patch (2.7.6-2ubuntu1.1) ... 18:25:41 Setting up libedit2:arm64 (3.1-20170329-1) ... 18:25:41 Setting up git-man (1:2.17.1-1ubuntu0.6) ... 18:25:41 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 18:25:41 Setting up less (487-0.1) ... 18:25:42 Setting up make (4.1-9.1ubuntu1) ... 18:25:42 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 18:25:42 Setting up curl (7.58.0-2ubuntu3.8) ... 18:25:42 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 18:25:42 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 18:25:42 Setting up libgdbm5:arm64 (1.14.1-6) ... 18:25:42 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 18:25:42 Setting up patch (2.7.6-2ubuntu1.1) ... 18:25:42 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 18:25:42 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 18:25:42 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 18:25:43 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 18:25:43 Setting up libxau6:arm64 (1:1.0.8-1) ... 18:25:43 Setting up netbase (5.4) ... 18:25:43 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 18:25:43 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 18:25:43 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 18:25:43 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 18:25:43 Setting up perl (5.26.1-6ubuntu0.3) ... 18:25:43 Setting up libxext6:arm64 (2:1.3.3-1) ... 18:25:43 Setting up liberror-perl (0.17025-1) ... 18:25:43 Setting up xauth (1:1.0.10-1) ... 18:25:43 Setting up git (1:2.17.1-1ubuntu0.6) ... 18:25:43 Processing triggers for libc-bin (2.27-3ubuntu1) ... 18:25:50 curl set to automatically installed. 18:25:50 git set to automatically installed. 18:25:50 git-man set to automatically installed. 18:25:50 less set to automatically installed. 18:25:50 libbsd0 set to automatically installed. 18:25:50 libcurl3-gnutls set to automatically installed. 18:25:50 libedit2 set to automatically installed. 18:25:50 liberror-perl set to automatically installed. 18:25:50 libexpat1 set to automatically installed. 18:25:50 libgdbm-compat4 set to automatically installed. 18:25:50 libgdbm5 set to automatically installed. 18:25:50 libperl5.26 set to automatically installed. 18:25:50 libssl1.0.0 set to automatically installed. 18:25:50 libx11-6 set to automatically installed. 18:25:50 libx11-data set to automatically installed. 18:25:50 libxau6 set to automatically installed. 18:25:50 libxcb1 set to automatically installed. 18:25:50 libxdmcp6 set to automatically installed. 18:25:50 libxext6 set to automatically installed. 18:25:50 libxmuu1 set to automatically installed. 18:25:50 make set to automatically installed. 18:25:50 netbase set to automatically installed. 18:25:50 openssh-client set to automatically installed. 18:25:50 patch set to automatically installed. 18:25:50 perl set to automatically installed. 18:25:50 perl-modules-5.26 set to automatically installed. 18:25:50 xauth set to automatically installed. 18:25:50 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 18:25:50 Please ensure the environment is properly setup before continuing. 18:25:50 Ignore this message if the appropriate measures have already been taken 18:25:51 Pulling go 18:25:54 'device-modbus' has dependencies that need to be staged: go 18:25:54 Skipping pull go (already ran) 18:25:54 Building go 18:25:54 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:54 Dload Upload Total Spent Left Speed 18:25:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 94.3M 1 1743k 0 0 9477k 0 0:00:10 --:--:-- 0:00:10 9426k 51 94.3M 51 48.4M 0 0 40.7M 0 0:00:02 0:00:01 0:00:01 40.7M 100 94.3M 100 94.3M 0 0 43.8M 0 0:00:02 0:00:02 --:--:-- 43.8M 18:25:57 go1.11.9.linux-arm64.tar.gz: OK 18:26:15 Staging go 18:26:18 Pulling device-modbus 18:26:21 Skipping build go (already ran) 18:26:21 Building device-modbus 18:26:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 18:26:21 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:26:21 go: finding github.com/hashicorp/golang-lru v0.5.1 18:26:21 go: finding github.com/mitchellh/go-homedir v1.1.0 18:26:21 go: finding github.com/gorilla/mux v1.7.0 18:26:21 go: finding github.com/google/uuid v1.1.1 18:26:21 go: finding github.com/goburrow/modbus v0.1.0 18:26:21 go: finding github.com/miekg/dns v1.1.4 18:26:21 go: finding github.com/goburrow/serial v0.1.0 18:26:21 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:26:22 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 18:26:23 go: finding github.com/hashicorp/go-sockaddr v1.0.1 18:26:23 go: finding github.com/google/uuid v1.1.0 18:26:23 go: finding github.com/ugorji/go v1.1.4 18:26:23 go: finding github.com/go-stack/stack v1.8.0 18:26:23 go: finding github.com/stretchr/testify v1.3.0 18:26:23 go: finding github.com/go-logfmt/logfmt v0.4.0 18:26:24 go: finding github.com/pkg/errors v0.8.1 18:26:25 go: finding github.com/gorilla/mux v1.6.2 18:26:25 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 18:26:25 go: finding github.com/pelletier/go-toml v1.2.0 18:26:26 go: finding gopkg.in/yaml.v2 v2.2.2 18:26:26 go: finding github.com/pmezard/go-difflib v1.0.0 18:26:26 go: finding github.com/hashicorp/errwrap v1.0.0 18:26:26 go: finding github.com/go-kit/kit v0.8.0 18:26:27 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 18:26:27 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 18:26:28 go: finding github.com/davecgh/go-spew v1.1.0 18:26:28 go: finding github.com/mitchellh/go-wordwrap v1.0.0 18:26:28 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:26:28 go: finding github.com/mitchellh/cli v1.0.0 18:26:28 go: finding github.com/stretchr/objx v0.1.0 18:26:29 go: finding github.com/bgentry/speakeasy v0.1.0 18:26:29 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 18:26:29 go: finding github.com/hashicorp/go-multierror v1.0.0 18:26:29 go: finding github.com/mattn/go-colorable v0.0.9 18:26:29 go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc 18:26:30 go: finding github.com/mattn/go-isatty v0.0.3 18:26:31 go: finding github.com/posener/complete v1.1.1 18:26:31 go: finding github.com/fatih/color v1.7.0 18:26:32 go: finding github.com/hashicorp/go-rootcerts v1.0.0 18:26:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 18:26:32 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 18:26:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:26:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 18:26:32 go: finding github.com/mitchellh/copystructure v1.0.0 18:26:32 go: finding github.com/mitchellh/mapstructure v1.1.2 18:26:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 18:26:34 go: finding github.com/hashicorp/serf v0.8.2 18:26:34 go: finding github.com/mitchellh/go-homedir v1.0.0 18:26:34 go: finding github.com/hashicorp/consul v1.4.2 18:26:34 go: finding github.com/BurntSushi/toml v0.3.1 18:26:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 18:26:37 go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f 18:26:37 go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee 18:26:37 go: finding github.com/mitchellh/gox v0.4.0 18:26:37 go: finding github.com/hashicorp/go-uuid v1.0.1 18:26:37 go: finding github.com/hashicorp/go-syslog v1.0.0 18:26:37 go: finding github.com/hashicorp/go-msgpack v0.5.3 18:26:37 go: finding github.com/hashicorp/logutils v1.0.0 18:26:37 go: finding github.com/mitchellh/iochan v1.0.0 18:26:37 go: finding github.com/hashicorp/memberlist v0.1.3 18:26:38 go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc 18:26:38 go: finding github.com/hashicorp/mdns v1.0.0 18:26:39 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:26:39 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 18:26:39 go: finding github.com/miekg/dns v1.0.14 18:26:39 go: finding github.com/stretchr/testify v1.2.2 18:26:39 go: finding github.com/davecgh/go-spew v1.1.1 18:26:39 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:26:39 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 18:26:39 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 18:26:40 go: finding github.com/hashicorp/go.net v0.0.1 18:26:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 18:26:40 go: finding github.com/hashicorp/go-sockaddr v1.0.0 18:26:41 go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 18:26:41 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 18:26:41 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:26:41 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:26:42 go: finding github.com/hashicorp/golang-lru v0.5.0 18:26:42 go: finding github.com/hashicorp/go-uuid v1.0.0 18:26:44 go: downloading github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 18:26:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.31 18:26:44 go: downloading github.com/goburrow/modbus v0.1.0 18:26:44 go: downloading github.com/goburrow/serial v0.1.0 18:26:44 go: downloading github.com/ugorji/go v1.1.4 18:26:44 go: downloading github.com/pkg/errors v0.8.1 18:26:44 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.0 18:26:44 go: downloading github.com/google/uuid v1.1.1 18:26:44 go: downloading github.com/pelletier/go-toml v1.2.0 18:26:44 go: downloading gopkg.in/yaml.v2 v2.2.2 18:26:44 go: downloading github.com/go-kit/kit v0.8.0 18:26:44 go: downloading github.com/gorilla/mux v1.7.0 18:26:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:26:44 go: downloading github.com/hashicorp/consul v1.4.2 18:26:44 go: downloading github.com/mitchellh/copystructure v1.0.0 18:26:44 go: downloading github.com/cenkalti/backoff v2.1.1+incompatible 18:26:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:26:45 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:26:45 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:27:12 go: downloading github.com/hashicorp/go-cleanhttp v0.5.0 18:27:12 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:27:12 go: downloading github.com/hashicorp/serf v0.8.2 18:27:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:27:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:27:13 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:27:52 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:28:07 Skipping stage go (already ran) 18:28:07 Staging device-modbus 18:28:10 Priming go 18:28:13 Priming device-modbus 18:28:16 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 18:28:16 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 18:28:16 Determining the version from the project repo (version-script). 18:28:16 The version has been set to '0.0.0-20200416+cbbbde0' 18:28:16 Snapping 'edgex-device-modbus' ... 18:28:20 18:28:20 Snapped edgex-device-modbus_0.0.0-20200416+cbbbde0_arm64.snap [Pipeline] } 18:28:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 18:28:25 provisioning config files... 18:28:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config8601589682541908173tmp [Pipeline] { [Pipeline] sh 18:28:25 + curl -s https://codecov.io/bash 18:28:25 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config8601589682541908173tmp 18:28:25 18:28:25 _____ _ 18:28:25 / ____| | | 18:28:25 | | ___ __| | ___ ___ _____ __ 18:28:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:28:25 | |___| (_) | (_| | __/ (_| (_) \ V / 18:28:25 \_____\___/ \__,_|\___|\___\___/ \_/ 18:28:25 Bash-tbd 18:28:25 18:28:25 18:28:25 ==> Jenkins CI detected. 18:28:25 project root: . 18:28:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:28:25 ==> Running gcov in . (disable via -X gcov) 18:28:25 ==> Python coveragepy not found 18:28:25 ==> Searching for coverage reports in: 18:28:25 + . 18:28:25 -> Found 1 reports 18:28:25 ==> Detecting git/mercurial file structure 18:28:25 ==> Reading reports 18:28:25 + ./coverage.out bytes=22122 18:28:25 ==> Appending adjustments 18:28:25 http://docs.codecov.io/docs/fixing-reports 18:28:25 + Found adjustments 18:28:25 ==> Gzipping contents 18:28:25 ==> Uploading reports 18:28:25 url: https://codecov.io 18:28:25 query: branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 18:28:25 -> Pinging Codecov 18:28:25 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 18:28:26 -> Uploading 18:28:26 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/cbbbde00792c7bbfc516019c3707f440cae09b1c [Pipeline] } 18:28:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:28:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:28:27 ---> package-listing.sh 18:28:27 ++ facter osfamily 18:28:27 ++ tr '[:upper:]' '[:lower:]' 18:28:27 + OS_FAMILY=redhat 18:28:27 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 18:28:27 + START_PACKAGES=/tmp/packages_start.txt 18:28:27 + END_PACKAGES=/tmp/packages_end.txt 18:28:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:28:27 + PACKAGES=/tmp/packages_start.txt 18:28:27 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 18:28:27 + PACKAGES=/tmp/packages_end.txt 18:28:27 + case "${OS_FAMILY}" in 18:28:27 + rpm -qa 18:28:27 + sort 18:28:32 + '[' -f /tmp/packages_start.txt ']' 18:28:32 + '[' -f /tmp/packages_end.txt ']' 18:28:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:28:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 18:28:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ 18:28:32 + 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 18:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:28:32 18:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:28:32 alpine: Pulling from edgex-lftools-log-publisher 18:28:32 c9b1b535fdd9: Pulling fs layer 18:28:32 2cc5ad85d9ab: Pulling fs layer 18:28:32 756a868c4378: Pulling fs layer 18:28:32 444b2fc9a129: Pulling fs layer 18:28:32 ea15f1150254: Pulling fs layer 18:28:32 41b27a9f41bf: Pulling fs layer 18:28:32 28c525ee5125: Pulling fs layer 18:28:32 094b1ea09ed8: Pulling fs layer 18:28:32 138eaada9080: Pulling fs layer 18:28:32 0622d0fa9048: Pulling fs layer 18:28:32 41b27a9f41bf: Waiting 18:28:32 28c525ee5125: Waiting 18:28:32 094b1ea09ed8: Waiting 18:28:32 138eaada9080: Waiting 18:28:32 444b2fc9a129: Waiting 18:28:32 0622d0fa9048: Waiting 18:28:32 ea15f1150254: Waiting 18:28:32 2cc5ad85d9ab: Download complete 18:28:32 444b2fc9a129: Verifying Checksum 18:28:32 444b2fc9a129: Download complete 18:28:32 c9b1b535fdd9: Verifying Checksum 18:28:33 ea15f1150254: Verifying Checksum 18:28:33 ea15f1150254: Download complete 18:28:33 28c525ee5125: Verifying Checksum 18:28:33 28c525ee5125: Download complete 18:28:33 756a868c4378: Verifying Checksum 18:28:33 756a868c4378: Download complete 18:28:33 c9b1b535fdd9: Pull complete 18:28:33 094b1ea09ed8: Verifying Checksum 18:28:33 094b1ea09ed8: Download complete 18:28:33 138eaada9080: Verifying Checksum 18:28:33 138eaada9080: Download complete 18:28:33 0622d0fa9048: Verifying Checksum 18:28:33 0622d0fa9048: Download complete 18:28:33 2cc5ad85d9ab: Pull complete 18:28:33 41b27a9f41bf: Verifying Checksum 18:28:33 41b27a9f41bf: Download complete 18:28:35 756a868c4378: Pull complete 18:28:35 444b2fc9a129: Pull complete 18:28:35 ea15f1150254: Pull complete 18:28:39 41b27a9f41bf: Pull complete 18:28:39 28c525ee5125: Pull complete 18:28:41 094b1ea09ed8: Pull complete 18:28:41 138eaada9080: Pull complete 18:28:41 0622d0fa9048: Pull complete 18:28:41 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 18:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:28:41 prd-centos7-docker-4c-2g-4350 does not seem to be running inside a container 18:28:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:28:41 $ docker top 97b0579edb802f504817641ffe79f5bea10c360aa7595c08209f1c9d202cbeef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:42 provisioning config files... 18:28:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config6010819792008898005tmp [Pipeline] { [Pipeline] echo 18:28:42 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:28:42 ---> create-netrc.sh [Pipeline] echo 18:28:42 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:28:42 ---> logs-deploy.sh 18:28:42 + ARCHIVE_ARTIFACTS= 18:28:42 + LOGS_SERVER=https://logs.edgexfoundry.org 18:28:42 + '[' https://logs.edgexfoundry.org == None ']' 18:28:42 + NEXUS_URL=https://nexus.edgexfoundry.org 18:28:42 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 18:28:42 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/2/ 18:28:42 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 /w/workspace/xfoundry_device-modbus-go_PR-139 18:28:44 Archives upload complete. 18:28:44 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/2/