Pull request #132 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from cbfe5d353e9dbf01d6ba48944b1e5d411a394830+f8002f62c93448ac56f9126a539844123f9002c7 (28c806ec0bbe0a14505a85147f32c58266f2bd5f) Running in Durability level: MAX_SURVIVABILITY 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 b810438aec07f555226556e3b59abf2bab733840 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-132/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > 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 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 b810438aec07f555226556e3b59abf2bab733840 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b810438aec07f555226556e3b59abf2bab733840 # timeout=10 Commit message: "Merge pull request #114 from lranjbar/release-kraken" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13] ========================================================= [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/ [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-643’ Running on prd-centos7-docker-4c-2g-644 in /w/workspace/xfoundry_device-modbus-go_PR-132 [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-132 # 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/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit f8002f62c93448ac56f9126a539844123f9002c7 into PR head commit cbfe5d353e9dbf01d6ba48944b1e5d411a394830 Merge succeeded, producing cbfe5d353e9dbf01d6ba48944b1e5d411a394830 Checking out Revision cbfe5d353e9dbf01d6ba48944b1e5d411a394830 (PR-132) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # 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/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # 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 f8002f62c93448ac56f9126a539844123f9002c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # timeout=10 Commit message: "Fix doc link" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:04:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 02:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:04:17 02:04:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:04:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:04:18 latest: Pulling from edgex-devops/git-semver 02:04:18 9123ac7c32f7: Pulling fs layer 02:04:18 b8cc5d1170e3: Pulling fs layer 02:04:18 2924cbbf6a41: Pulling fs layer 02:04:18 93b08a4f1073: Pulling fs layer 02:04:18 93b08a4f1073: Waiting 02:04:18 b8cc5d1170e3: Download complete 02:04:18 9123ac7c32f7: Verifying Checksum 02:04:18 9123ac7c32f7: Download complete 02:04:18 93b08a4f1073: Verifying Checksum 02:04:18 93b08a4f1073: Download complete 02:04:18 2924cbbf6a41: Verifying Checksum 02:04:18 2924cbbf6a41: Download complete 02:04:18 9123ac7c32f7: Pull complete 02:04:18 b8cc5d1170e3: Pull complete 02:04:19 2924cbbf6a41: Pull complete 02:04:19 93b08a4f1073: Pull complete 02:04:19 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 02:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:04:19 prd-centos7-docker-4c-2g-644 does not seem to be running inside a container 02:04:20 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-132 -v /w/workspace/xfoundry_device-modbus-go_PR-132:/w/workspace/xfoundry_device-modbus-go_PR-132:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-132@tmp:/w/workspace/xfoundry_device-modbus-go_PR-132@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:04:20 $ docker top 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:21 [ssh-agent] Looking for ssh-agent implementation... 02:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:21 $ docker exec 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 ssh-agent 02:04:21 SSH_AUTH_SOCK=/tmp/ssh-25f7Bxs7LWNQ/agent.15 02:04:21 SSH_AGENT_PID=22 02:04:21 Running ssh-add (command line suppressed) 02:04:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-132@tmp/private_key_5468175302211388743.key (/w/workspace/xfoundry_device-modbus-go_PR-132@tmp/private_key_5468175302211388743.key) 02:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:22 + git describe --exact-match --tags HEAD 02:04:22 fatal: No names found, cannot describe anything. [Pipeline] } 02:04:22 $ docker exec --env ******** --env ******** 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 ssh-agent -k 02:04:22 unset SSH_AUTH_SOCK; 02:04:22 unset SSH_AGENT_PID; 02:04:22 echo Agent pid 22 killed; 02:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:04:22 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:04:22 This usually means this commit has not been tagged. [Pipeline] sshagent 02:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:22 [ssh-agent] Looking for ssh-agent implementation... 02:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:22 $ docker exec 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 ssh-agent 02:04:22 SSH_AUTH_SOCK=/tmp/ssh-erS3OUqZOfEh/agent.58 02:04:22 SSH_AGENT_PID=65 02:04:22 Running ssh-add (command line suppressed) 02:04:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-132@tmp/private_key_2771061283440452465.key (/w/workspace/xfoundry_device-modbus-go_PR-132@tmp/private_key_2771061283440452465.key) 02:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:23 + git semver init 02:04:23 # -> Open(): unable to determine branch for HEAD 02:04:23 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-132/.git 02:04:23 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-132 02:04:23 # $SEMVER_REMOTE_NAME = origin 02:04:23 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 02:04:23 # $SEMVER_USER_NAME = jenkins 02:04:23 # $SEMVER_BRANCH = PR-132 02:04:23 # $SEMVER_TEMP = /tmp/semver-256378930 02:04:23 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 02:04:24 # '/tmp/semver-256378930' -> '/w/workspace/xfoundry_device-modbus-go_PR-132/.semver' 02:04:24 # -> Force: false 02:04:24 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-132/.semver [Pipeline] } 02:04:24 $ docker exec --env ******** --env ******** 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 ssh-agent -k 02:04:24 unset SSH_AUTH_SOCK; 02:04:24 unset SSH_AGENT_PID; 02:04:24 echo Agent pid 65 killed; 02:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:24 + git semver [Pipeline] } 02:04:24 $ docker stop --time=1 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 02:04:26 $ docker rm -f 72c02933d8ef8a6780d5d305fd03d5b24420e0bf8d973ea40993ba6697649bf5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:04:26 Stashed 20 file(s) [Pipeline] echo 02:04:26 [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 02:04:42 Still waiting to schedule task 02:04:42 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:04:42 Still waiting to schedule task 02:04:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:06:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-646 in /w/workspace/xfoundry_device-modbus-go_PR-132 [Pipeline] { [Pipeline] ws 02:06:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 02:06:41 using credential edgex-jenkins-ssh 02:06:41 Cloning the remote Git repository 02:06:41 Cloning with configured refspecs honoured and without tags 02:06:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:06:41 > git init /w/workspace/device-modbus-go/1 # timeout=10 02:06:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:06:41 > git --version # timeout=10 02:06:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:06:42 Fetching without tags 02:06:42 Merging remotes/origin/master commit f8002f62c93448ac56f9126a539844123f9002c7 into PR head commit cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:06:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:06:42 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 02:06:42 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:06:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:06:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:06:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:06:42 > git config core.sparsecheckout # timeout=10 02:06:43 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # timeout=10 02:06:43 Merge succeeded, producing cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:06:43 Checking out Revision cbfe5d353e9dbf01d6ba48944b1e5d411a394830 (PR-132) 02:06:43 > git remote # timeout=10 02:06:43 > git config --get remote.origin.url # timeout=10 02:06:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:43 > git merge f8002f62c93448ac56f9126a539844123f9002c7 # timeout=10 02:06:43 > git rev-parse HEAD^{commit} # timeout=10 02:06:43 > git config core.sparsecheckout # timeout=10 02:06:43 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # timeout=10 02:06:47 Commit message: "Fix doc link" 02:06:48 > git --version # timeout=10 02:06:48 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:06:49 ========================================================= 02:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 02:06:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:06:50 + 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 . 02:06:51 Sending build context to Docker daemon 545.3kB 02:06:51 Step 1/8 : ARG BASE=golang:1.13-alpine 02:06:51 Step 2/8 : FROM ${BASE} 02:06:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:06:51 cde5963f3b93: Pulling fs layer 02:06:51 2a23fa8c16f7: Pulling fs layer 02:06:51 777b28850792: Pulling fs layer 02:06:51 8a11ddd9e578: Pulling fs layer 02:06:51 4cf88f913ddb: Pulling fs layer 02:06:51 1df406cf5192: Pulling fs layer 02:06:51 cd6300453558: Pulling fs layer 02:06:51 b9c365052c96: Pulling fs layer 02:06:51 a2d8cc88f415: Pulling fs layer 02:06:51 ea1d1ca13537: Pulling fs layer 02:06:51 3750a50a1c5e: Pulling fs layer 02:06:51 8a11ddd9e578: Waiting 02:06:51 4cf88f913ddb: Waiting 02:06:51 1df406cf5192: Waiting 02:06:51 cd6300453558: Waiting 02:06:51 b9c365052c96: Waiting 02:06:51 a2d8cc88f415: Waiting 02:06:51 ea1d1ca13537: Waiting 02:06:51 3750a50a1c5e: Waiting 02:06:51 777b28850792: Verifying Checksum 02:06:51 777b28850792: Download complete 02:06:51 2a23fa8c16f7: Verifying Checksum 02:06:51 2a23fa8c16f7: Download complete 02:06:51 4cf88f913ddb: Verifying Checksum 02:06:51 4cf88f913ddb: Download complete 02:06:51 1df406cf5192: Verifying Checksum 02:06:51 1df406cf5192: Download complete 02:06:51 cde5963f3b93: Verifying Checksum 02:06:51 cde5963f3b93: Download complete 02:06:52 cde5963f3b93: Pull complete 02:06:53 2a23fa8c16f7: Pull complete 02:06:53 777b28850792: Pull complete 02:06:56 cd6300453558: Verifying Checksum 02:06:56 cd6300453558: Download complete 02:06:57 a2d8cc88f415: Download complete 02:06:59 ea1d1ca13537: Verifying Checksum 02:06:59 ea1d1ca13537: Download complete 02:06:59 3750a50a1c5e: Verifying Checksum 02:06:59 3750a50a1c5e: Download complete 02:07:01 b9c365052c96: Download complete 02:07:04 8a11ddd9e578: Verifying Checksum 02:07:04 8a11ddd9e578: Download complete 02:07:16 8a11ddd9e578: Pull complete 02:07:16 4cf88f913ddb: Pull complete 02:07:16 1df406cf5192: Pull complete 02:07:20 cd6300453558: Pull complete 02:07:26 b9c365052c96: Pull complete 02:07:26 a2d8cc88f415: Pull complete 02:07:28 ea1d1ca13537: Pull complete 02:07:28 3750a50a1c5e: Pull complete 02:07:28 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 02:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 02:07:28 ---> 78745c68409d 02:07:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:07:32 ---> Running in e591a41a7b27 02:07:32 Removing intermediate container e591a41a7b27 02:07:32 ---> 9722c4b66695 02:07:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:07:32 ---> Running in deb753019b16 02:07:34 Removing intermediate container deb753019b16 02:07:34 ---> 4bd780738733 02:07:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:07:35 ---> Running in 7222dd52f822 02:07:36 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:07:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:07:39 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 02:07:39 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 02:07:40 (3/18) Installing libmagic (5.37-r1) 02:07:40 (4/18) Installing file (5.37-r1) 02:07:40 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 02:07:41 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 02:07:41 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 02:07:48 Running on prd-centos7-docker-4c-2g-648 in /w/workspace/xfoundry_device-modbus-go_PR-132 [Pipeline] { [Pipeline] ws 02:07:48 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 02:07:50 using credential edgex-jenkins-ssh 02:07:50 Cloning the remote Git repository 02:07:50 Cloning with configured refspecs honoured and without tags 02:07:51 Fetching without tags 02:07:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:07:50 > git init /w/workspace/device-modbus-go/1 # timeout=10 02:07:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:07:51 > git --version # timeout=10 02:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:07:51 > git config --add remote.origin.fetch +refs/pull/132/head:refs/remotes/origin/PR-132 # timeout=10 02:07:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:07:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:07:51 Merging remotes/origin/master commit f8002f62c93448ac56f9126a539844123f9002c7 into PR head commit cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:07:51 Merge succeeded, producing cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:07:51 Checking out Revision cbfe5d353e9dbf01d6ba48944b1e5d411a394830 (PR-132) 02:07:51 > git config core.sparsecheckout # timeout=10 02:07:51 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # timeout=10 02:07:51 > git remote # timeout=10 02:07:51 > git config --get remote.origin.url # timeout=10 02:07:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:51 > git merge f8002f62c93448ac56f9126a539844123f9002c7 # timeout=10 02:07:51 > git rev-parse HEAD^{commit} # timeout=10 02:07:51 > git config core.sparsecheckout # timeout=10 02:07:51 > git checkout -f cbfe5d353e9dbf01d6ba48944b1e5d411a394830 # timeout=10 02:07:55 Commit message: "Fix doc link" 02:07:55 > git --version # timeout=10 02:07:55 fatal: bad object b810438aec07f555226556e3b59abf2bab733840 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:07:56 ========================================================= 02:07:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 02:07:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:07:57 + 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 . 02:07:57 Sending build context to Docker daemon 545.3kB 02:07:57 Step 1/8 : ARG BASE=golang:1.13-alpine 02:07:57 Step 2/8 : FROM ${BASE} 02:07:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 02:07:57 e6b0cf9c0882: Pulling fs layer 02:07:57 2848faf0eed1: Pulling fs layer 02:07:57 0f37312ad70f: Pulling fs layer 02:07:57 5788d62ee057: Pulling fs layer 02:07:57 0e6b1d234666: Pulling fs layer 02:07:57 bf5d7aec512f: Pulling fs layer 02:07:57 34c802a77dc8: Pulling fs layer 02:07:57 9eb99e56ec68: Pulling fs layer 02:07:57 27c7a5d97fbd: Pulling fs layer 02:07:57 5c102a31e300: Pulling fs layer 02:07:57 dcfb455df0a1: Pulling fs layer 02:07:57 5788d62ee057: Waiting 02:07:57 0e6b1d234666: Waiting 02:07:57 bf5d7aec512f: Waiting 02:07:57 9eb99e56ec68: Waiting 02:07:57 34c802a77dc8: Waiting 02:07:57 27c7a5d97fbd: Waiting 02:07:57 dcfb455df0a1: Waiting 02:07:57 5c102a31e300: Waiting 02:07:57 0f37312ad70f: Verifying Checksum 02:07:57 0f37312ad70f: Download complete 02:07:57 2848faf0eed1: Verifying Checksum 02:07:57 2848faf0eed1: Download complete 02:07:57 0e6b1d234666: Verifying Checksum 02:07:57 0e6b1d234666: Download complete 02:07:57 e6b0cf9c0882: Verifying Checksum 02:07:57 bf5d7aec512f: Verifying Checksum 02:07:57 bf5d7aec512f: Download complete 02:07:57 e6b0cf9c0882: Pull complete 02:07:58 2848faf0eed1: Pull complete 02:07:58 0f37312ad70f: Pull complete 02:07:58 34c802a77dc8: Verifying Checksum 02:07:58 34c802a77dc8: Download complete 02:07:58 27c7a5d97fbd: Verifying Checksum 02:07:58 27c7a5d97fbd: Download complete 02:07:58 5c102a31e300: Verifying Checksum 02:07:58 5c102a31e300: Download complete 02:07:58 dcfb455df0a1: Verifying Checksum 02:07:58 dcfb455df0a1: Download complete 02:07:59 9eb99e56ec68: Verifying Checksum 02:07:59 9eb99e56ec68: Download complete 02:07:59 5788d62ee057: Verifying Checksum 02:07:59 5788d62ee057: Download complete 02:08:05 5788d62ee057: Pull complete 02:08:05 0e6b1d234666: Pull complete 02:08:05 bf5d7aec512f: Pull complete 02:08:07 (8/18) Installing libc-dev (0.7.2-r0) 02:08:07 (9/18) Installing g++ (9.2.0-r4) 02:08:11 34c802a77dc8: Pull complete 02:08:15 9eb99e56ec68: Pull complete 02:08:15 27c7a5d97fbd: Pull complete 02:08:15 5c102a31e300: Pull complete 02:08:15 dcfb455df0a1: Pull complete 02:08:15 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 02:08:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 02:08:15 ---> 7c70fe431013 02:08:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 02:08:15 ---> Running in 62bb020ae04b 02:08:15 Removing intermediate container 62bb020ae04b 02:08:15 ---> 84192f84d72a 02:08:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:08:15 ---> Running in 07a3a4a80947 02:08:16 Removing intermediate container 07a3a4a80947 02:08:16 ---> 5c65769fb3c1 02:08:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 02:08:16 ---> Running in 8f503f47d37e 02:08:17 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:08:19 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:08:21 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 02:08:22 (2/17) Installing libmagic (5.37-r1) 02:08:22 (3/17) Installing file (5.37-r1) 02:08:23 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 02:08:23 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 02:08:23 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 02:08:34 (10/18) Installing fortify-headers (1.1-r0) 02:08:34 (11/18) Installing build-base (0.5-r1) 02:08:34 (12/18) Installing openssh-keygen (8.1_p1-r0) 02:08:34 (13/18) Installing libedit (20191211.3.1-r0) 02:08:34 (14/18) Installing openssh-client (8.1_p1-r0) 02:08:34 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 02:08:34 (16/18) Installing openssh-server-common (8.1_p1-r0) 02:08:34 (17/18) Installing openssh-server (8.1_p1-r0) 02:08:34 (18/18) Installing openssh (8.1_p1-r0) 02:08:34 Executing busybox-1.31.1-r8.trigger 02:08:34 OK: 203 MiB in 52 packages 02:08:41 Removing intermediate container 7222dd52f822 02:08:41 ---> e19f944437c2 02:08:41 Step 6/8 : WORKDIR /device-modbus-go 02:08:41 ---> Running in c68aac73777b 02:08:41 Removing intermediate container c68aac73777b 02:08:41 ---> 1b0e64ded882 02:08:41 Step 7/8 : COPY . . 02:08:41 ---> e4e77471dff8 02:08:41 Step 8/8 : RUN go mod download 02:08:42 ---> Running in b6d4a132e24e 02:08:45 go: finding github.com/BurntSushi/toml v0.3.1 02:08:45 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:08:45 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:08:45 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:08:45 go: finding github.com/bgentry/speakeasy v0.1.0 02:08:45 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:08:45 go: finding github.com/davecgh/go-spew v1.1.1 02:08:45 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 02:08:45 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 02:08:45 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:08:45 go: finding github.com/fatih/color v1.7.0 02:08:45 go: finding github.com/go-kit/kit v0.8.0 02:08:45 go: finding github.com/go-logfmt/logfmt v0.4.0 02:08:45 go: finding github.com/go-stack/stack v1.8.0 02:08:45 go: finding github.com/goburrow/modbus v0.1.0 02:08:45 go: finding github.com/goburrow/serial v0.1.0 02:08:45 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:08:45 go: finding github.com/google/uuid v1.1.1 02:08:45 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:08:45 go: finding github.com/gorilla/mux v1.7.0 02:08:45 go: finding github.com/hashicorp/consul v1.4.2 02:08:45 go: finding github.com/hashicorp/errwrap v1.0.0 02:08:45 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:08:45 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:08:45 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:08:46 go: finding github.com/hashicorp/go-multierror v1.0.0 02:08:46 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:08:46 go: finding github.com/hashicorp/go-sockaddr v1.0.1 02:08:46 go: finding github.com/hashicorp/go-syslog v1.0.0 02:08:46 go: finding github.com/hashicorp/go-uuid v1.0.1 02:08:46 go: finding github.com/hashicorp/go.net v0.0.1 02:08:46 go: finding github.com/hashicorp/golang-lru v0.5.1 02:08:46 go: finding github.com/hashicorp/logutils v1.0.0 02:08:46 go: finding github.com/hashicorp/mdns v1.0.0 02:08:46 go: finding github.com/hashicorp/memberlist v0.1.3 02:08:46 go: finding github.com/hashicorp/serf v0.8.2 02:08:46 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:08:46 go: finding github.com/mattn/go-colorable v0.0.9 02:08:46 go: finding github.com/mattn/go-isatty v0.0.3 02:08:46 go: finding github.com/miekg/dns v1.1.4 02:08:46 go: finding github.com/mitchellh/cli v1.0.0 02:08:46 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:08:46 go: finding github.com/mitchellh/copystructure v1.0.0 02:08:46 go: finding github.com/mitchellh/go-homedir v1.1.0 02:08:46 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:08:46 go: finding github.com/mitchellh/go-wordwrap v1.0.0 02:08:46 go: finding github.com/mitchellh/gox v0.4.0 02:08:46 go: finding github.com/mitchellh/iochan v1.0.0 02:08:46 go: finding github.com/mitchellh/mapstructure v1.1.2 02:08:46 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:08:46 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:08:46 go: finding github.com/pelletier/go-toml v1.2.0 02:08:47 go: finding github.com/pkg/errors v0.8.1 02:08:47 go: finding github.com/pmezard/go-difflib v1.0.0 02:08:47 go: finding github.com/posener/complete v1.1.1 02:08:47 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 02:08:47 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:08:47 go: finding github.com/stretchr/objx v0.1.0 02:08:47 go: finding github.com/stretchr/testify v1.3.0 02:08:47 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:08:47 go: finding github.com/ugorji/go v1.1.4 02:08:47 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:08:47 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 02:08:47 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:08:47 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:08:47 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:08:47 go: finding gopkg.in/yaml.v2 v2.2.2 02:09:02 Removing intermediate container b6d4a132e24e 02:09:02 ---> f2907603b099 02:09:02 Successfully built f2907603b099 02:09:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:09:03 + docker inspect -f . ci-base-image-arm64 02:09:03 . [Pipeline] withDockerContainer 02:09:04 prd-ubuntu18.04-docker-arm64-4c-16g-646 does not seem to be running inside a container 02:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:09:05 $ docker top 736a13f6b77a60047015cb3c8c207fef0438ac56eabc2b78a5c520d771faf937 -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:06 + go version 02:09:06 go version go1.13.5 linux/arm64 [Pipeline] sh 02:09:07 + make test 02:09:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:09:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:09:09 (7/17) Installing libc-dev (0.7.2-r0) 02:09:09 (8/17) Installing g++ (9.2.0-r4) 02:09:36 (9/17) Installing fortify-headers (1.1-r0) 02:09:36 (10/17) Installing build-base (0.5-r1) 02:09:36 (11/17) Installing openssh-keygen (8.1_p1-r0) 02:09:36 (12/17) Installing libedit (20191211.3.1-r0) 02:09:36 (13/17) Installing openssh-client (8.1_p1-r0) 02:09:37 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 02:09:37 (15/17) Installing openssh-server-common (8.1_p1-r0) 02:09:37 (16/17) Installing openssh-server (8.1_p1-r0) 02:09:38 (17/17) Installing openssh (8.1_p1-r0) 02:09:38 Executing busybox-1.31.1-r8.trigger 02:09:38 OK: 214 MiB in 52 packages 02:09:41 Removing intermediate container 8f503f47d37e 02:09:41 ---> 086c73d7eed2 02:09:41 Step 6/8 : WORKDIR /device-modbus-go 02:09:41 ---> Running in 861883ac2f8d 02:09:41 Removing intermediate container 861883ac2f8d 02:09:41 ---> 263cacb80d20 02:09:41 Step 7/8 : COPY . . 02:09:41 ---> 94e62bc189a1 02:09:41 Step 8/8 : RUN go mod download 02:09:41 ---> Running in 00844b278c46 02:09:43 go: finding github.com/BurntSushi/toml v0.3.1 02:09:43 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 02:09:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:09:43 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 02:09:43 go: finding github.com/bgentry/speakeasy v0.1.0 02:09:43 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 02:09:43 go: finding github.com/davecgh/go-spew v1.1.1 02:09:43 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 02:09:44 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 02:09:44 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 02:09:44 go: finding github.com/fatih/color v1.7.0 02:09:44 go: finding github.com/go-kit/kit v0.8.0 02:09:44 go: finding github.com/go-logfmt/logfmt v0.4.0 02:09:44 go: finding github.com/go-stack/stack v1.8.0 02:09:44 go: finding github.com/goburrow/modbus v0.1.0 02:09:44 go: finding github.com/goburrow/serial v0.1.0 02:09:44 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:09:44 go: finding github.com/google/uuid v1.1.1 02:09:44 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 02:09:44 go: finding github.com/gorilla/mux v1.7.0 02:09:44 go: finding github.com/hashicorp/consul v1.4.2 02:09:44 go: finding github.com/hashicorp/errwrap v1.0.0 02:09:44 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 02:09:44 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 02:09:44 go: finding github.com/hashicorp/go-msgpack v0.5.3 02:09:44 go: finding github.com/hashicorp/go-multierror v1.0.0 02:09:44 go: finding github.com/hashicorp/go-rootcerts v1.0.0 02:09:44 go: finding github.com/hashicorp/go-sockaddr v1.0.1 02:09:44 go: finding github.com/hashicorp/go-syslog v1.0.0 02:09:44 go: finding github.com/hashicorp/go-uuid v1.0.1 02:09:45 go: finding github.com/hashicorp/go.net v0.0.1 02:09:45 go: finding github.com/hashicorp/golang-lru v0.5.1 02:09:45 go: finding github.com/hashicorp/logutils v1.0.0 02:09:45 go: finding github.com/hashicorp/mdns v1.0.0 02:09:45 go: finding github.com/hashicorp/memberlist v0.1.3 02:09:45 go: finding github.com/hashicorp/serf v0.8.2 02:09:45 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 02:09:45 go: finding github.com/mattn/go-colorable v0.0.9 02:09:45 go: finding github.com/mattn/go-isatty v0.0.3 02:09:45 go: finding github.com/miekg/dns v1.1.4 02:09:45 go: finding github.com/mitchellh/cli v1.0.0 02:09:45 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:09:45 go: finding github.com/mitchellh/copystructure v1.0.0 02:09:45 go: finding github.com/mitchellh/go-homedir v1.1.0 02:09:45 go: finding github.com/mitchellh/go-testing-interface v1.0.0 02:09:45 go: finding github.com/mitchellh/go-wordwrap v1.0.0 02:09:45 go: finding github.com/mitchellh/gox v0.4.0 02:09:45 go: finding github.com/mitchellh/iochan v1.0.0 02:09:45 go: finding github.com/mitchellh/mapstructure v1.1.2 02:09:45 go: finding github.com/mitchellh/reflectwalk v1.0.0 02:09:45 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:09:45 go: finding github.com/pelletier/go-toml v1.2.0 02:09:45 go: finding github.com/pkg/errors v0.8.1 02:09:45 go: finding github.com/pmezard/go-difflib v1.0.0 02:09:45 go: finding github.com/posener/complete v1.1.1 02:09:45 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 02:09:45 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:09:45 go: finding github.com/stretchr/objx v0.1.0 02:09:45 go: finding github.com/stretchr/testify v1.3.0 02:09:45 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 02:09:46 go: finding github.com/ugorji/go v1.1.4 02:09:46 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 02:09:46 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 02:09:46 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 02:09:46 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 02:09:46 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 02:09:46 go: finding gopkg.in/yaml.v2 v2.2.2 02:09:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:09:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.219s coverage: 50.3% of statements 02:09:47 ? github.com/edgexfoundry/device-modbus-go/mock [no test files] 02:09:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:09:52 gofmt -l . 02:09:52 [ "`gofmt -l .`" = "" ] 02:09:52 ./bin/test-attribution-txt.sh 02:09:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:09:54 Stashed 1 file(s) [Pipeline] } 02:09:54 $ docker stop --time=1 736a13f6b77a60047015cb3c8c207fef0438ac56eabc2b78a5c520d771faf937 02:09:56 Removing intermediate container 00844b278c46 02:09:56 ---> 52b0f34a534f 02:09:56 Successfully built 52b0f34a534f 02:09:56 Successfully tagged ci-base-image-x86_64:latest 02:09:56 $ docker rm -f 736a13f6b77a60047015cb3c8c207fef0438ac56eabc2b78a5c520d771faf937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:09:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:09:58 + docker inspect -f . ci-base-image-x86_64 02:09:58 . [Pipeline] withDockerContainer 02:09:58 prd-centos7-docker-4c-2g-648 does not seem to be running inside a container 02:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:09:58 + ls -al . 02:09:58 total 136 02:09:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 02:09 . 02:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 02:06 .. 02:09:58 -rw-rw-r-- 1 jenkins jenkins 140 Mar 25 02:06 .dockerignore 02:09:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 02:06 .git 02:09:58 -rw-rw-r-- 1 jenkins jenkins 338 Mar 25 02:06 .gitignore 02:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:06 .semver 02:09:58 -rw-rw-r-- 1 jenkins jenkins 4208 Mar 25 02:06 Attribution.txt 02:09:58 -rw-rw-r-- 1 jenkins jenkins 1263 Mar 25 02:06 Dockerfile 02:09:58 -rw-rw-r-- 1 jenkins jenkins 954 Mar 25 02:06 Dockerfile.build 02:09:58 -rw-rw-r-- 1 jenkins jenkins 681 Mar 25 02:06 Jenkinsfile 02:09:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 25 02:06 LICENSE 02:09:58 -rw-rw-r-- 1 jenkins jenkins 880 Mar 25 02:06 Makefile 02:09:58 -rw-rw-r-- 1 jenkins jenkins 416 Mar 25 02:06 README.md 02:09:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 02:04 VERSION 02:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 02:06 bin 02:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:06 cmd 02:09:58 -rw-r--r-- 1 jenkins jenkins 22122 Mar 25 02:09 coverage.out 02:09:58 -rw-r--r-- 1 jenkins jenkins 683 Mar 25 02:09 go.mod 02:09:58 -rw-r--r-- 1 jenkins jenkins 12348 Mar 25 02:09 go.sum 02:09:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 02:06 internal 02:09:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 02:06 mock 02:09:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 02:06 snap 02:09:58 -rw-rw-r-- 1 jenkins jenkins 229 Mar 25 02:06 version.go 02:09:59 $ docker top 485c2b7fe70e025841a6a5025798f523bb9cbd0b3cc2df73dd799fffc825f94d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:10:00 + 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=cbfe5d353e9dbf01d6ba48944b1e5d411a394830 --label arch=arm64 --label version=0.0.0 . 02:10:00 + go version 02:10:00 Sending build context to Docker daemon 574kB 02:10:00 go version go1.13.5 linux/amd64 [Pipeline] sh 02:10:00 Step 1/17 : ARG BASE=golang:1.13-alpine 02:10:00 Step 2/17 : FROM ${BASE} AS builder 02:10:00 ---> f2907603b099 02:10:00 Step 3/17 : ARG MAKE='make build' 02:10:00 ---> Running in 2573cca1dd06 02:10:01 + make test 02:10:01 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:10:01 Removing intermediate container 2573cca1dd06 02:10:01 ---> 8303ed15230a 02:10:01 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:01 ---> Running in 8bea56e8e6b9 02:10:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:10:03 Removing intermediate container 8bea56e8e6b9 02:10:03 ---> e590b7ddb9de 02:10:03 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 02:10:03 ---> Running in f2070ad3f455 02:10:04 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 02:10:05 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 02:10:08 OK: 203 MiB in 52 packages 02:10:08 Removing intermediate container f2070ad3f455 02:10:08 ---> 07585200172a 02:10:08 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 02:10:09 ---> Running in 0041706e0ffd 02:10:09 Removing intermediate container 0041706e0ffd 02:10:09 ---> 7ecd998200b4 02:10:09 Step 7/17 : COPY . . 02:10:10 ---> 0e5c010b24e2 02:10:10 Step 8/17 : RUN ${MAKE} 02:10:10 ---> Running in f507ac6d84e1 02:10:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 02:10:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:10:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.169s coverage: 50.3% of statements 02:10:16 ? github.com/edgexfoundry/device-modbus-go/mock [no test files] 02:10:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 02:10:19 gofmt -l . 02:10:19 [ "`gofmt -l .`" = "" ] 02:10:19 ./bin/test-attribution-txt.sh 02:10:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:10:19 Warning: overwriting stash ‘coverage-report’ 02:10:19 Stashed 1 file(s) [Pipeline] } 02:10:20 $ docker stop --time=1 485c2b7fe70e025841a6a5025798f523bb9cbd0b3cc2df73dd799fffc825f94d 02:10:21 $ docker rm -f 485c2b7fe70e025841a6a5025798f523bb9cbd0b3cc2df73dd799fffc825f94d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:22 + ls -al . 02:10:22 total 104 02:10:22 drwxrwxr-x. 9 jenkins jenkins 4096 Mar 25 02:10 . 02:10:22 drwxrwxr-x. 4 jenkins jenkins 28 Mar 25 02:07 .. 02:10:22 -rw-rw-r--. 1 jenkins jenkins 4208 Mar 25 02:07 Attribution.txt 02:10:22 drwxrwxr-x. 2 jenkins jenkins 87 Mar 25 02:07 bin 02:10:22 drwxrwxr-x. 3 jenkins jenkins 55 Mar 25 02:07 cmd 02:10:22 -rw-r--r--. 1 jenkins jenkins 22122 Mar 25 02:10 coverage.out 02:10:22 -rw-rw-r--. 1 jenkins jenkins 1263 Mar 25 02:07 Dockerfile 02:10:22 -rw-rw-r--. 1 jenkins jenkins 954 Mar 25 02:07 Dockerfile.build 02:10:22 -rw-rw-r--. 1 jenkins jenkins 140 Mar 25 02:07 .dockerignore 02:10:22 drwxrwxr-x. 8 jenkins jenkins 179 Mar 25 02:07 .git 02:10:22 -rw-rw-r--. 1 jenkins jenkins 338 Mar 25 02:07 .gitignore 02:10:22 -rw-r--r--. 1 jenkins jenkins 683 Mar 25 02:10 go.mod 02:10:22 -rw-r--r--. 1 jenkins jenkins 12348 Mar 25 02:10 go.sum 02:10:22 drwxrwxr-x. 3 jenkins jenkins 20 Mar 25 02:07 internal 02:10:22 -rw-rw-r--. 1 jenkins jenkins 681 Mar 25 02:07 Jenkinsfile 02:10:22 -rw-rw-r--. 1 jenkins jenkins 11340 Mar 25 02:07 LICENSE 02:10:22 -rw-rw-r--. 1 jenkins jenkins 880 Mar 25 02:07 Makefile 02:10:22 drwxrwxr-x. 2 jenkins jenkins 25 Mar 25 02:07 mock 02:10:22 -rw-rw-r--. 1 jenkins jenkins 416 Mar 25 02:07 README.md 02:10:22 drwxrwxr-x. 3 jenkins jenkins 58 Mar 25 02:07 .semver 02:10:22 drwxrwxr-x. 4 jenkins jenkins 54 Mar 25 02:07 snap 02:10:22 -rw-rw-r--. 1 jenkins jenkins 5 Mar 25 02:04 VERSION 02:10:22 -rw-rw-r--. 1 jenkins jenkins 229 Mar 25 02:07 version.go [Pipeline] isUnix [Pipeline] sh 02:10:23 + 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=cbfe5d353e9dbf01d6ba48944b1e5d411a394830 --label arch=amd64 --label version=0.0.0 . 02:10:23 Sending build context to Docker daemon 574kB 02:10:23 Step 1/17 : ARG BASE=golang:1.13-alpine 02:10:23 Step 2/17 : FROM ${BASE} AS builder 02:10:23 ---> 52b0f34a534f 02:10:23 Step 3/17 : ARG MAKE='make build' 02:10:23 ---> Running in d141ac55861c 02:10:23 Removing intermediate container d141ac55861c 02:10:23 ---> dcc5051ed6c8 02:10:23 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:23 ---> Running in 1e3c99f08180 02:10:24 Removing intermediate container 1e3c99f08180 02:10:24 ---> 3c25e193c556 02:10:24 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 02:10:24 ---> Running in c157d3440984 02:10:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 02:10:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 02:10:28 OK: 214 MiB in 52 packages 02:10:28 Removing intermediate container c157d3440984 02:10:28 ---> cfb6bfdc0d8e 02:10:28 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 02:10:28 ---> Running in ddc4db90819b 02:10:28 Removing intermediate container ddc4db90819b 02:10:28 ---> e86a9698c6f6 02:10:28 Step 7/17 : COPY . . 02:10:29 ---> a6acfe5e4494 02:10:29 Step 8/17 : RUN ${MAKE} 02:10:29 ---> Running in 3f2db9269ed2 02:10:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 02:10:41 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:10:43 CGO_ENABLED=0 GO111MODULE=on go build ./... 02:10:44 Removing intermediate container 3f2db9269ed2 02:10:44 ---> 2a156c931d23 02:10:44 Step 9/17 : FROM scratch 02:10:44 ---> 02:10:44 Step 10/17 : ENV APP_PORT=49991 02:10:44 ---> Running in 2a5e515cf4c8 02:10:44 Removing intermediate container 2a5e515cf4c8 02:10:44 ---> b8b68098d648 02:10:44 Step 11/17 : EXPOSE $APP_PORT 02:10:44 ---> Running in d4bb870aff2b 02:10:44 Removing intermediate container d4bb870aff2b 02:10:44 ---> 015d0ac1daaa 02:10:44 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 02:10:45 ---> f97f20c53e5d 02:10:45 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 02:10:45 ---> Running in a33f8d00d500 02:10:45 Removing intermediate container a33f8d00d500 02:10:45 ---> 28ef58aff302 02:10:45 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 02:10:45 ---> Running in b6e1411c5f52 02:10:45 Removing intermediate container b6e1411c5f52 02:10:45 ---> aa5fe2598ffa 02:10:45 Step 15/17 : LABEL arch=amd64 02:10:45 ---> Running in 190b7b2e710d 02:10:46 Removing intermediate container 190b7b2e710d 02:10:46 ---> ce1e78654f38 02:10:46 Step 16/17 : LABEL git_sha=cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:10:46 ---> Running in 4fc9d7ddaad0 02:10:46 Removing intermediate container 4fc9d7ddaad0 02:10:46 ---> 590a61a003f7 02:10:46 Step 17/17 : LABEL version=0.0.0 02:10:46 ---> Running in d02cea9eef9f 02:10:46 Removing intermediate container d02cea9eef9f 02:10:46 ---> 62dcb35a8423 02:10:46 [Warning] One or more build-args [ARCH] were not consumed 02:10:46 Successfully built 62dcb35a8423 02:10:46 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:10:53 Removing intermediate container f507ac6d84e1 02:10:53 ---> 294f371374b7 02:10:53 Step 9/17 : FROM scratch 02:10:53 ---> 02:10:53 Step 10/17 : ENV APP_PORT=49991 02:10:53 ---> Running in 844eb0f47d94 02:10:53 Removing intermediate container 844eb0f47d94 02:10:53 ---> 64d9dbe3c4c2 02:10:53 Step 11/17 : EXPOSE $APP_PORT 02:10:53 ---> Running in e3d9c9acd10a 02:10:53 Removing intermediate container e3d9c9acd10a 02:10:53 ---> e9c8409407fc 02:10:53 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 02:10:54 ---> 0874a8106819 02:10:54 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 02:10:54 ---> Running in 10bd866f2c55 02:10:55 Removing intermediate container 10bd866f2c55 02:10:55 ---> 3b5fa47dead6 02:10:55 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 02:10:55 ---> Running in 19fb62a15e7b 02:10:55 Removing intermediate container 19fb62a15e7b 02:10:55 ---> 7f136d136101 02:10:55 Step 15/17 : LABEL arch=arm64 02:10:55 ---> Running in 5d9824299ef7 02:10:56 Removing intermediate container 5d9824299ef7 02:10:56 ---> 345478082aec 02:10:56 Step 16/17 : LABEL git_sha=cbfe5d353e9dbf01d6ba48944b1e5d411a394830 02:10:56 ---> Running in 6b74d9378c59 02:10:56 Removing intermediate container 6b74d9378c59 02:10:56 ---> 00b79db1331e 02:10:56 Step 17/17 : LABEL version=0.0.0 02:10:56 ---> Running in fcf851261cdb 02:10:57 Removing intermediate container fcf851261cdb 02:10:57 ---> afdf141a792f 02:10:57 [Warning] One or more build-args [ARCH] were not consumed 02:10:57 Successfully built afdf141a792f 02:10:57 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] } [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 02:10:58 provisioning config files... 02:10:58 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-132@tmp/config6143804881559058628tmp [Pipeline] { [Pipeline] sh 02:10:58 + curl -s https://codecov.io/bash 02:10:58 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-132@tmp/config6143804881559058628tmp 02:10:59 02:10:59 _____ _ 02:10:59 / ____| | | 02:10:59 | | ___ __| | ___ ___ _____ __ 02:10:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:10:59 | |___| (_) | (_| | __/ (_| (_) \ V / 02:10:59 \_____\___/ \__,_|\___|\___\___/ \_/ 02:10:59 Bash-tbd 02:10:59 02:10:59 02:10:59 ==> Jenkins CI detected. 02:10:59 project root: . 02:10:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:10:59 ==> Running gcov in . (disable via -X gcov) 02:10:59 ==> Python coveragepy not found 02:10:59 ==> Searching for coverage reports in: 02:10:59 + . 02:10:59 -> Found 1 reports 02:10:59 ==> Detecting git/mercurial file structure 02:10:59 ==> Reading reports 02:10:59 + ./coverage.out bytes=22122 02:10:59 ==> Appending adjustments 02:10:59 http://docs.codecov.io/docs/fixing-reports 02:10:59 + Found adjustments 02:10:59 ==> Gzipping contents 02:10:59 ==> Uploading reports 02:10:59 url: https://codecov.io 02:10:59 query: branch=PR-132&commit=cbfe5d353e9dbf01d6ba48944b1e5d411a394830&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=132&job= 02:10:59 -> Pinging Codecov 02:10:59 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-132&commit=cbfe5d353e9dbf01d6ba48944b1e5d411a394830&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=132&job= 02:10:59 -> Uploading 02:11:00 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/cbfe5d353e9dbf01d6ba48944b1e5d411a394830 [Pipeline] } 02:11:00 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 02:11:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:02 ---> package-listing.sh 02:11:02 ++ facter osfamily 02:11:02 ++ tr '[:upper:]' '[:lower:]' 02:11:02 + OS_FAMILY=redhat 02:11:02 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-132 02:11:02 + START_PACKAGES=/tmp/packages_start.txt 02:11:02 + END_PACKAGES=/tmp/packages_end.txt 02:11:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:02 + PACKAGES=/tmp/packages_start.txt 02:11:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-132 ']' 02:11:02 + PACKAGES=/tmp/packages_end.txt 02:11:02 + case "${OS_FAMILY}" in 02:11:02 + rpm -qa 02:11:02 + sort 02:11:06 + '[' -f /tmp/packages_start.txt ']' 02:11:06 + '[' -f /tmp/packages_end.txt ']' 02:11:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-132 ']' 02:11:06 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-132/archives/ 02:11:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-132/archives/ [Pipeline] isUnix [Pipeline] sh 02:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:11:06 02:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:11:07 alpine: Pulling from edgex-lftools-log-publisher 02:11:07 c9b1b535fdd9: Pulling fs layer 02:11:07 2cc5ad85d9ab: Pulling fs layer 02:11:07 756a868c4378: Pulling fs layer 02:11:07 444b2fc9a129: Pulling fs layer 02:11:07 ea15f1150254: Pulling fs layer 02:11:07 41b27a9f41bf: Pulling fs layer 02:11:07 28c525ee5125: Pulling fs layer 02:11:07 094b1ea09ed8: Pulling fs layer 02:11:07 138eaada9080: Pulling fs layer 02:11:07 0622d0fa9048: Pulling fs layer 02:11:07 444b2fc9a129: Waiting 02:11:07 ea15f1150254: Waiting 02:11:07 41b27a9f41bf: Waiting 02:11:07 28c525ee5125: Waiting 02:11:07 094b1ea09ed8: Waiting 02:11:07 138eaada9080: Waiting 02:11:07 0622d0fa9048: Waiting 02:11:07 2cc5ad85d9ab: Download complete 02:11:07 444b2fc9a129: Verifying Checksum 02:11:07 444b2fc9a129: Download complete 02:11:07 c9b1b535fdd9: Verifying Checksum 02:11:07 c9b1b535fdd9: Download complete 02:11:07 ea15f1150254: Verifying Checksum 02:11:07 ea15f1150254: Download complete 02:11:07 28c525ee5125: Verifying Checksum 02:11:07 28c525ee5125: Download complete 02:11:07 c9b1b535fdd9: Pull complete 02:11:07 756a868c4378: Verifying Checksum 02:11:07 756a868c4378: Download complete 02:11:07 138eaada9080: Verifying Checksum 02:11:07 138eaada9080: Download complete 02:11:07 094b1ea09ed8: Verifying Checksum 02:11:07 094b1ea09ed8: Download complete 02:11:08 2cc5ad85d9ab: Pull complete 02:11:08 0622d0fa9048: Verifying Checksum 02:11:08 0622d0fa9048: Download complete 02:11:08 41b27a9f41bf: Verifying Checksum 02:11:08 41b27a9f41bf: Download complete 02:11:09 756a868c4378: Pull complete 02:11:09 444b2fc9a129: Pull complete 02:11:09 ea15f1150254: Pull complete 02:11:14 41b27a9f41bf: Pull complete 02:11:14 28c525ee5125: Pull complete 02:11:15 094b1ea09ed8: Pull complete 02:11:15 138eaada9080: Pull complete 02:11:15 0622d0fa9048: Pull complete 02:11:15 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 02:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:11:16 prd-centos7-docker-4c-2g-644 does not seem to be running inside a container 02:11:16 $ 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-132 -v /w/workspace/xfoundry_device-modbus-go_PR-132:/w/workspace/xfoundry_device-modbus-go_PR-132:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-132@tmp:/w/workspace/xfoundry_device-modbus-go_PR-132@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:11:17 $ docker top 5eb82293a3f413208883310c24676a39741436df10427305a809d82568061b21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:11:17 provisioning config files... 02:11:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-132@tmp/config5213453265520356574tmp [Pipeline] { [Pipeline] echo 02:11:17 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:17 ---> create-netrc.sh [Pipeline] echo 02:11:17 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:18 ---> logs-deploy.sh 02:11:18 + ARCHIVE_ARTIFACTS= 02:11:18 + LOGS_SERVER=https://logs.edgexfoundry.org 02:11:18 + '[' https://logs.edgexfoundry.org == None ']' 02:11:18 + NEXUS_URL=https://nexus.edgexfoundry.org 02:11:18 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-132/1 02:11:18 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-132/1/ 02:11:18 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-132/1 /w/workspace/xfoundry_device-modbus-go_PR-132 02:11:19 Archives upload complete. 02:11:19 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-132/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-132/1/