Pull request #142 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 80aac72c7aced93e264b61889b1ed9c403c30da0+251ac84f7228ae0fb6e27216846c283c9f5cee26 (7d78f6f389728e7bd328f0189ce8f3553be256f3) 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 e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 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-142/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 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 > 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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4488 in /w/workspace/xfoundry_device-modbus-go_PR-142 [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-142 # 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/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 80aac72c7aced93e264b61889b1ed9c403c30da0 Merge succeeded, producing 80aac72c7aced93e264b61889b1ed9c403c30da0 Checking out Revision 80aac72c7aced93e264b61889b1ed9c403c30da0 (PR-142) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # 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/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80aac72c7aced93e264b61889b1ed9c403c30da0 # 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 80aac72c7aced93e264b61889b1ed9c403c30da0 # timeout=10 Commit message: "Upgrade to the latest SDK" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:50:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:50:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:50:09 ========================================================= 10:50:09 EdgeX Global Pipelines Version Info 10:50:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:50:10 ------------------- 10:50:10 stable info: 10:50:10 ------------------- 10:50:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:50:10 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 10:50:10 Message: update stable to v1.0.73 10:50:11 ------------------- 10:50:11 experimental info: 10:50:11 ------------------- 10:50:11 Commited By: **** collab-it+edgex@linuxfoundation.org 10:50:11 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 10:50:11 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 10:50:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:50:13 10:50:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:50:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:50:13 latest: Pulling from edgex-devops/git-semver 10:50:13 9123ac7c32f7: Pulling fs layer 10:50:13 b8cc5d1170e3: Pulling fs layer 10:50:13 2924cbbf6a41: Pulling fs layer 10:50:13 93b08a4f1073: Pulling fs layer 10:50:13 93b08a4f1073: Waiting 10:50:13 b8cc5d1170e3: Verifying Checksum 10:50:13 b8cc5d1170e3: Download complete 10:50:13 9123ac7c32f7: Verifying Checksum 10:50:13 9123ac7c32f7: Download complete 10:50:13 93b08a4f1073: Verifying Checksum 10:50:13 93b08a4f1073: Download complete 10:50:13 2924cbbf6a41: Verifying Checksum 10:50:13 2924cbbf6a41: Download complete 10:50:14 9123ac7c32f7: Pull complete 10:50:14 b8cc5d1170e3: Pull complete 10:50:15 2924cbbf6a41: Pull complete 10:50:15 93b08a4f1073: Pull complete 10:50:15 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 10:50:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:50:15 prd-centos7-docker-4c-2g-4488 does not seem to be running inside a container 10:50:15 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-142 -v /w/workspace/xfoundry_device-modbus-go_PR-142:/w/workspace/xfoundry_device-modbus-go_PR-142:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-142@tmp:/w/workspace/xfoundry_device-modbus-go_PR-142@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:50:15 $ docker top b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:50:16 [ssh-agent] Looking for ssh-agent implementation... 10:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:50:16 $ docker exec b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 ssh-agent 10:50:16 SSH_AUTH_SOCK=/tmp/ssh-dQofmnFs3WaF/agent.14 10:50:16 SSH_AGENT_PID=20 10:50:16 Running ssh-add (command line suppressed) 10:50:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-142@tmp/private_key_1795831588214037502.key (/w/workspace/xfoundry_device-modbus-go_PR-142@tmp/private_key_1795831588214037502.key) 10:50:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:50:17 + git describe --exact-match --tags HEAD 10:50:17 fatal: No names found, cannot describe anything. [Pipeline] } 10:50:17 $ docker exec --env ******** --env ******** b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 ssh-agent -k 10:50:17 unset SSH_AUTH_SOCK; 10:50:17 unset SSH_AGENT_PID; 10:50:17 echo Agent pid 20 killed; 10:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 10:50:17 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 10:50:17 This usually means this commit has not been tagged. [Pipeline] sshagent 10:50:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:50:17 [ssh-agent] Looking for ssh-agent implementation... 10:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:50:18 $ docker exec b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 ssh-agent 10:50:18 SSH_AUTH_SOCK=/tmp/ssh-epQJvnwH6TAN/agent.55 10:50:18 SSH_AGENT_PID=61 10:50:18 Running ssh-add (command line suppressed) 10:50:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-142@tmp/private_key_3903292320310802169.key (/w/workspace/xfoundry_device-modbus-go_PR-142@tmp/private_key_3903292320310802169.key) 10:50:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:50:18 + git semver init 10:50:18 # -> Open(): unable to determine branch for HEAD 10:50:18 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-142/.git 10:50:18 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-142 10:50:18 # $SEMVER_REMOTE_NAME = origin 10:50:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:50:18 # $SEMVER_USER_NAME = edgex-jenkins 10:50:18 # $SEMVER_BRANCH = PR-142 10:50:18 # $SEMVER_TEMP = /tmp/semver-605237537 10:50:18 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 10:50:19 # '/tmp/semver-605237537' -> '/w/workspace/xfoundry_device-modbus-go_PR-142/.semver' 10:50:19 # -> Force: false 10:50:19 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-142/.semver [Pipeline] } 10:50:19 $ docker exec --env ******** --env ******** b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 ssh-agent -k 10:50:19 unset SSH_AUTH_SOCK; 10:50:19 unset SSH_AGENT_PID; 10:50:19 echo Agent pid 61 killed; 10:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:50:20 + git semver [Pipeline] } 10:50:20 $ docker stop --time=1 b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 10:50:21 $ docker rm -f b6061f1cd48552e2f78fbcb8ca6d7a37b054e9f36f22caff84f6c73d9528da29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 10:50:22 Stashed 22 file(s) [Pipeline] echo 10:50:22 [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 10:50:38 Still waiting to schedule task 10:50:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4488’ 10:50:38 Still waiting to schedule task 10:50:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:52:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4489 in /w/workspace/xfoundry_device-modbus-go_PR-142 [Pipeline] { [Pipeline] ws 10:52:32 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 10:52:38 using credential edgex-jenkins-ssh 10:52:38 Cloning the remote Git repository 10:52:38 Cloning with configured refspecs honoured and without tags 10:52:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:52:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 10:52:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:52:38 > git --version # timeout=10 10:52:38 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:39 Fetching without tags 10:52:39 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 80aac72c7aced93e264b61889b1ed9c403c30da0 10:52:40 Merge succeeded, producing 80aac72c7aced93e264b61889b1ed9c403c30da0 10:52:40 Checking out Revision 80aac72c7aced93e264b61889b1ed9c403c30da0 (PR-142) 10:52:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:52:39 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # timeout=10 10:52:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:52:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:52:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:39 > git config core.sparsecheckout # timeout=10 10:52:39 > git checkout -f 80aac72c7aced93e264b61889b1ed9c403c30da0 # timeout=10 10:52:40 > git remote # timeout=10 10:52:40 > git config --get remote.origin.url # timeout=10 10:52:40 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:40 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 10:52:40 > git rev-parse HEAD^{commit} # timeout=10 10:52:40 > git config core.sparsecheckout # timeout=10 10:52:40 > git checkout -f 80aac72c7aced93e264b61889b1ed9c403c30da0 # timeout=10 10:52:44 Commit message: "Upgrade to the latest SDK" 10:52:44 > git --version # timeout=10 10:52:44 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:52:46 ========================================================= 10:52:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 10:52:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:52:47 + 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 . 10:52:48 Sending build context to Docker daemon 562.7kB 10:52:48 Step 1/8 : ARG BASE=golang:1.13-alpine 10:52:48 Step 2/8 : FROM ${BASE} 10:52:48 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:52:48 cde5963f3b93: Pulling fs layer 10:52:48 2a23fa8c16f7: Pulling fs layer 10:52:48 777b28850792: Pulling fs layer 10:52:48 8a11ddd9e578: Pulling fs layer 10:52:48 4cf88f913ddb: Pulling fs layer 10:52:48 1df406cf5192: Pulling fs layer 10:52:48 cd6300453558: Pulling fs layer 10:52:48 b9c365052c96: Pulling fs layer 10:52:48 a2d8cc88f415: Pulling fs layer 10:52:48 ea1d1ca13537: Pulling fs layer 10:52:48 3750a50a1c5e: Pulling fs layer 10:52:48 8a11ddd9e578: Waiting 10:52:48 4cf88f913ddb: Waiting 10:52:48 1df406cf5192: Waiting 10:52:48 cd6300453558: Waiting 10:52:48 ea1d1ca13537: Waiting 10:52:48 3750a50a1c5e: Waiting 10:52:48 b9c365052c96: Waiting 10:52:48 a2d8cc88f415: Waiting 10:52:48 777b28850792: Verifying Checksum 10:52:48 777b28850792: Download complete 10:52:48 2a23fa8c16f7: Verifying Checksum 10:52:48 2a23fa8c16f7: Download complete 10:52:48 4cf88f913ddb: Verifying Checksum 10:52:48 4cf88f913ddb: Download complete 10:52:48 1df406cf5192: Verifying Checksum 10:52:48 1df406cf5192: Download complete 10:52:48 cde5963f3b93: Download complete 10:52:49 cde5963f3b93: Pull complete 10:52:50 2a23fa8c16f7: Pull complete 10:52:50 777b28850792: Pull complete 10:52:53 cd6300453558: Verifying Checksum 10:52:53 cd6300453558: Download complete 10:52:53 a2d8cc88f415: Download complete 10:52:55 ea1d1ca13537: Verifying Checksum 10:52:55 ea1d1ca13537: Download complete 10:52:55 3750a50a1c5e: Verifying Checksum 10:52:55 3750a50a1c5e: Download complete 10:52:56 Running on prd-centos7-docker-4c-2g-4490 in /w/workspace/xfoundry_device-modbus-go_PR-142 [Pipeline] { [Pipeline] ws 10:52:56 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 10:52:58 b9c365052c96: Verifying Checksum 10:52:58 b9c365052c96: Download complete 10:52:58 using credential edgex-jenkins-ssh 10:52:59 Cloning the remote Git repository 10:52:59 Cloning with configured refspecs honoured and without tags 10:52:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:52:59 > git init /w/workspace/device-modbus-go/1 # timeout=10 10:52:59 Fetching without tags 10:53:00 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit 80aac72c7aced93e264b61889b1ed9c403c30da0 10:53:00 Merge succeeded, producing 80aac72c7aced93e264b61889b1ed9c403c30da0 10:53:00 Checking out Revision 80aac72c7aced93e264b61889b1ed9c403c30da0 (PR-142) 10:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:52:59 > git --version # timeout=10 10:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:52:59 > git config --add remote.origin.fetch +refs/pull/142/head:refs/remotes/origin/PR-142 # timeout=10 10:52:59 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 10:52:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:52:59 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/142/head:refs/remotes/origin/PR-142 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:53:00 > git config core.sparsecheckout # timeout=10 10:53:00 > git checkout -f 80aac72c7aced93e264b61889b1ed9c403c30da0 # timeout=10 10:53:00 > git remote # timeout=10 10:53:00 > git config --get remote.origin.url # timeout=10 10:53:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:53:00 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 10:53:00 > git rev-parse HEAD^{commit} # timeout=10 10:53:00 > git config core.sparsecheckout # timeout=10 10:53:00 > git checkout -f 80aac72c7aced93e264b61889b1ed9c403c30da0 # timeout=10 10:53:00 8a11ddd9e578: Verifying Checksum 10:53:00 8a11ddd9e578: Download complete 10:53:03 Commit message: "Upgrade to the latest SDK" 10:53:03 > git --version # timeout=10 10:53:03 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 10:53:04 ========================================================= 10:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 10:53:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:53:05 + 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 . 10:53:05 Sending build context to Docker daemon 562.7kB 10:53:05 Step 1/8 : ARG BASE=golang:1.13-alpine 10:53:05 Step 2/8 : FROM ${BASE} 10:53:05 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 10:53:05 e6b0cf9c0882: Pulling fs layer 10:53:05 2848faf0eed1: Pulling fs layer 10:53:05 0f37312ad70f: Pulling fs layer 10:53:05 5788d62ee057: Pulling fs layer 10:53:05 0e6b1d234666: Pulling fs layer 10:53:05 bf5d7aec512f: Pulling fs layer 10:53:05 34c802a77dc8: Pulling fs layer 10:53:05 9eb99e56ec68: Pulling fs layer 10:53:05 27c7a5d97fbd: Pulling fs layer 10:53:05 5c102a31e300: Pulling fs layer 10:53:05 dcfb455df0a1: Pulling fs layer 10:53:05 0e6b1d234666: Waiting 10:53:05 bf5d7aec512f: Waiting 10:53:05 34c802a77dc8: Waiting 10:53:05 9eb99e56ec68: Waiting 10:53:05 dcfb455df0a1: Waiting 10:53:05 27c7a5d97fbd: Waiting 10:53:05 5c102a31e300: Waiting 10:53:05 5788d62ee057: Waiting 10:53:05 0f37312ad70f: Download complete 10:53:05 2848faf0eed1: Download complete 10:53:05 0e6b1d234666: Verifying Checksum 10:53:05 0e6b1d234666: Download complete 10:53:05 bf5d7aec512f: Verifying Checksum 10:53:05 bf5d7aec512f: Download complete 10:53:05 e6b0cf9c0882: Verifying Checksum 10:53:05 e6b0cf9c0882: Download complete 10:53:05 e6b0cf9c0882: Pull complete 10:53:06 2848faf0eed1: Pull complete 10:53:06 0f37312ad70f: Pull complete 10:53:07 34c802a77dc8: Verifying Checksum 10:53:07 34c802a77dc8: Download complete 10:53:07 27c7a5d97fbd: Verifying Checksum 10:53:07 27c7a5d97fbd: Download complete 10:53:07 5788d62ee057: Verifying Checksum 10:53:07 5788d62ee057: Download complete 10:53:07 dcfb455df0a1: Verifying Checksum 10:53:07 dcfb455df0a1: Download complete 10:53:07 5c102a31e300: Verifying Checksum 10:53:07 5c102a31e300: Download complete 10:53:07 9eb99e56ec68: Verifying Checksum 10:53:07 9eb99e56ec68: Download complete 10:53:12 8a11ddd9e578: Pull complete 10:53:12 4cf88f913ddb: Pull complete 10:53:12 1df406cf5192: Pull complete 10:53:14 5788d62ee057: Pull complete 10:53:14 0e6b1d234666: Pull complete 10:53:14 bf5d7aec512f: Pull complete 10:53:16 cd6300453558: Pull complete 10:53:17 34c802a77dc8: Pull complete 10:53:20 9eb99e56ec68: Pull complete 10:53:20 27c7a5d97fbd: Pull complete 10:53:21 b9c365052c96: Pull complete 10:53:21 a2d8cc88f415: Pull complete 10:53:21 5c102a31e300: Pull complete 10:53:21 dcfb455df0a1: Pull complete 10:53:21 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 10:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 10:53:21 ---> 7c70fe431013 10:53:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 10:53:21 ---> Running in 37b2189c76d9 10:53:21 Removing intermediate container 37b2189c76d9 10:53:21 ---> 47a7235e42ae 10:53:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:53:21 ---> Running in 40504a889a79 10:53:22 Removing intermediate container 40504a889a79 10:53:22 ---> eb46e912b905 10:53:22 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 10:53:23 ---> Running in 84a2c88cd619 10:53:23 ea1d1ca13537: Pull complete 10:53:23 3750a50a1c5e: Pull complete 10:53:23 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 10:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 10:53:23 ---> 78745c68409d 10:53:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 10:53:24 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 10:53:24 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 10:53:24 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 10:53:24 (2/17) Installing libmagic (5.37-r1) 10:53:24 (3/17) Installing file (5.37-r1) 10:53:25 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 10:53:25 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 10:53:25 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 10:53:28 ---> Running in 32b75ad9a27d 10:53:28 Removing intermediate container 32b75ad9a27d 10:53:28 ---> 0d92c15abbb3 10:53:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:53:28 ---> Running in 73f77bbc82e6 10:53:29 (7/17) Installing libc-dev (0.7.2-r0) 10:53:29 (8/17) Installing g++ (9.2.0-r4) 10:53:31 Removing intermediate container 73f77bbc82e6 10:53:31 ---> d7bbe3d7eb0d 10:53:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 10:53:31 ---> Running in 3ffd40a46288 10:53:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 10:53:31 (9/17) Installing fortify-headers (1.1-r0) 10:53:31 (10/17) Installing build-base (0.5-r1) 10:53:31 (11/17) Installing openssh-keygen (8.1_p1-r0) 10:53:31 (12/17) Installing libedit (20191211.3.1-r0) 10:53:31 (13/17) Installing openssh-client (8.1_p1-r0) 10:53:31 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 10:53:32 (15/17) Installing openssh-server-common (8.1_p1-r0) 10:53:32 (16/17) Installing openssh-server (8.1_p1-r0) 10:53:32 (17/17) Installing openssh (8.1_p1-r0) 10:53:32 Executing busybox-1.31.1-r8.trigger 10:53:32 OK: 214 MiB in 52 packages 10:53:32 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 10:53:32 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 10:53:32 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 10:53:33 (3/18) Installing libmagic (5.37-r1) 10:53:33 (4/18) Installing file (5.37-r1) 10:53:33 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 10:53:33 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 10:53:33 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 10:53:35 Removing intermediate container 84a2c88cd619 10:53:35 ---> 43d169c05209 10:53:35 Step 6/8 : WORKDIR /device-modbus-go 10:53:35 ---> Running in fd1341b30d10 10:53:35 Removing intermediate container fd1341b30d10 10:53:35 ---> 2f7910797e68 10:53:35 Step 7/8 : COPY . . 10:53:36 ---> ac518f99ab09 10:53:36 Step 8/8 : RUN go mod download 10:53:36 ---> Running in 0ce52038793b 10:53:36 (8/18) Installing libc-dev (0.7.2-r0) 10:53:36 (9/18) Installing g++ (9.2.0-r4) 10:53:38 (10/18) Installing fortify-headers (1.1-r0) 10:53:38 (11/18) Installing build-base (0.5-r1) 10:53:38 (12/18) Installing openssh-keygen (8.1_p1-r0) 10:53:38 (13/18) Installing libedit (20191211.3.1-r0) 10:53:38 (14/18) Installing openssh-client (8.1_p1-r0) 10:53:38 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 10:53:38 (16/18) Installing openssh-server-common (8.1_p1-r0) 10:53:38 go: finding github.com/BurntSushi/toml v0.3.1 10:53:38 go: finding github.com/OneOfOne/xxhash v1.2.6 10:53:38 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:53:38 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:53:38 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:53:38 go: finding github.com/bgentry/speakeasy v0.1.0 10:53:38 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:53:38 go: finding github.com/davecgh/go-spew v1.1.1 10:53:38 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 10:53:38 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 10:53:38 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:53:38 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 10:53:38 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 10:53:38 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:53:38 go: finding github.com/fatih/color v1.7.0 10:53:38 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:53:38 go: finding github.com/go-kit/kit v0.8.0 10:53:38 go: finding github.com/go-logfmt/logfmt v0.4.0 10:53:38 go: finding github.com/go-stack/stack v1.8.0 10:53:38 go: finding github.com/goburrow/modbus v0.1.0 10:53:38 go: finding github.com/goburrow/serial v0.1.0 10:53:38 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:53:38 go: finding github.com/google/uuid v1.1.1 10:53:38 go: finding github.com/gorilla/mux v1.7.1 10:53:38 go: finding github.com/hashicorp/consul/api v1.1.0 10:53:38 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:53:38 go: finding github.com/hashicorp/errwrap v1.0.0 10:53:38 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:53:38 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:53:38 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:53:38 go: finding github.com/hashicorp/go-multierror v1.0.0 10:53:38 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:53:38 go: finding github.com/hashicorp/go-sockaddr v1.0.1 10:53:38 go: finding github.com/hashicorp/go-syslog v1.0.0 10:53:38 go: finding github.com/hashicorp/go-uuid v1.0.1 10:53:38 go: finding github.com/hashicorp/go.net v0.0.1 10:53:38 go: finding github.com/hashicorp/golang-lru v0.5.1 10:53:38 go: finding github.com/hashicorp/logutils v1.0.0 10:53:38 go: finding github.com/hashicorp/mdns v1.0.0 10:53:38 go: finding github.com/hashicorp/memberlist v0.1.3 10:53:38 go: finding github.com/hashicorp/serf v0.8.2 10:53:38 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:53:38 go: finding github.com/mattn/go-colorable v0.0.9 10:53:38 go: finding github.com/mattn/go-isatty v0.0.3 10:53:38 go: finding github.com/miekg/dns v1.1.4 10:53:38 go: finding github.com/mitchellh/cli v1.0.0 10:53:38 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:53:38 go: finding github.com/mitchellh/copystructure v1.0.0 10:53:38 go: finding github.com/mitchellh/go-homedir v1.1.0 10:53:38 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:53:38 go: finding github.com/mitchellh/go-wordwrap v1.0.0 10:53:38 go: finding github.com/mitchellh/gox v0.4.0 10:53:38 go: finding github.com/mitchellh/iochan v1.0.0 10:53:38 go: finding github.com/mitchellh/mapstructure v1.1.2 10:53:38 (17/18) Installing openssh-server (8.1_p1-r0) 10:53:38 (18/18) Installing openssh (8.1_p1-r0) 10:53:38 Executing busybox-1.31.1-r8.trigger 10:53:38 OK: 203 MiB in 52 packages 10:53:38 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:53:38 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:53:38 go: finding github.com/pelletier/go-toml v1.2.0 10:53:38 go: finding github.com/pkg/errors v0.8.1 10:53:38 go: finding github.com/pmezard/go-difflib v1.0.0 10:53:38 go: finding github.com/posener/complete v1.1.1 10:53:38 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 10:53:38 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:53:38 go: finding github.com/stretchr/objx v0.1.0 10:53:38 go: finding github.com/stretchr/testify v1.5.1 10:53:38 go: finding github.com/ugorji/go v1.1.4 10:53:38 go: finding github.com/x448/float16 v0.8.4 10:53:38 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:53:38 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 10:53:38 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:53:38 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:53:39 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:53:39 go: finding gopkg.in/yaml.v2 v2.2.8 10:53:43 Removing intermediate container 0ce52038793b 10:53:43 ---> c8373226947e 10:53:43 Successfully built c8373226947e 10:53:43 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 10:53:44 + docker inspect -f . ci-base-image-x86_64 10:53:44 . [Pipeline] withDockerContainer 10:53:44 prd-centos7-docker-4c-2g-4490 does not seem to be running inside a container 10:53:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:53:44 $ docker top fcb214f312319d2777b2f784f3bf4ae2dec9cd75f9ecee56697789350dd029d4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:45 + go version 10:53:45 go version go1.13.5 linux/amd64 [Pipeline] sh 10:53:45 + make test 10:53:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:53:46 Removing intermediate container 3ffd40a46288 10:53:46 ---> 5a792e79de68 10:53:46 Step 6/8 : WORKDIR /device-modbus-go 10:53:46 ---> Running in d1ee893a71d7 10:53:46 Removing intermediate container d1ee893a71d7 10:53:46 ---> 2b154b1b117a 10:53:46 Step 7/8 : COPY . . 10:53:46 ---> 1ef4db57336a 10:53:46 Step 8/8 : RUN go mod download 10:53:46 ---> Running in 16e33222abbb 10:53:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:53:48 go: finding github.com/BurntSushi/toml v0.3.1 10:53:48 go: finding github.com/OneOfOne/xxhash v1.2.6 10:53:48 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 10:53:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:53:48 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 10:53:48 go: finding github.com/bgentry/speakeasy v0.1.0 10:53:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 10:53:48 go: finding github.com/davecgh/go-spew v1.1.1 10:53:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.24 10:53:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 10:53:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 10:53:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 10:53:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 10:53:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 10:53:49 go: finding github.com/fatih/color v1.7.0 10:53:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 10:53:49 go: finding github.com/go-kit/kit v0.8.0 10:53:49 go: finding github.com/go-logfmt/logfmt v0.4.0 10:53:49 go: finding github.com/go-stack/stack v1.8.0 10:53:49 go: finding github.com/goburrow/modbus v0.1.0 10:53:49 go: finding github.com/goburrow/serial v0.1.0 10:53:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 10:53:49 go: finding github.com/google/uuid v1.1.1 10:53:49 go: finding github.com/gorilla/mux v1.7.1 10:53:49 go: finding github.com/hashicorp/consul/api v1.1.0 10:53:49 go: finding github.com/hashicorp/consul/sdk v0.1.1 10:53:49 go: finding github.com/hashicorp/errwrap v1.0.0 10:53:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 10:53:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 10:53:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 10:53:49 go: finding github.com/hashicorp/go-multierror v1.0.0 10:53:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 10:53:49 go: finding github.com/hashicorp/go-sockaddr v1.0.1 10:53:49 go: finding github.com/hashicorp/go-syslog v1.0.0 10:53:49 go: finding github.com/hashicorp/go-uuid v1.0.1 10:53:49 go: finding github.com/hashicorp/go.net v0.0.1 10:53:49 go: finding github.com/hashicorp/golang-lru v0.5.1 10:53:49 go: finding github.com/hashicorp/logutils v1.0.0 10:53:49 go: finding github.com/hashicorp/mdns v1.0.0 10:53:49 go: finding github.com/hashicorp/memberlist v0.1.3 10:53:49 go: finding github.com/hashicorp/serf v0.8.2 10:53:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 10:53:49 go: finding github.com/mattn/go-colorable v0.0.9 10:53:49 go: finding github.com/mattn/go-isatty v0.0.3 10:53:49 go: finding github.com/miekg/dns v1.1.4 10:53:49 go: finding github.com/mitchellh/cli v1.0.0 10:53:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:53:49 go: finding github.com/mitchellh/copystructure v1.0.0 10:53:49 go: finding github.com/mitchellh/go-homedir v1.1.0 10:53:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 10:53:49 go: finding github.com/mitchellh/go-wordwrap v1.0.0 10:53:49 go: finding github.com/mitchellh/gox v0.4.0 10:53:49 go: finding github.com/mitchellh/iochan v1.0.0 10:53:49 go: finding github.com/mitchellh/mapstructure v1.1.2 10:53:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 10:53:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 10:53:49 go: finding github.com/pelletier/go-toml v1.2.0 10:53:49 go: finding github.com/pkg/errors v0.8.1 10:53:49 go: finding github.com/pmezard/go-difflib v1.0.0 10:53:49 go: finding github.com/posener/complete v1.1.1 10:53:49 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 10:53:49 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 10:53:49 go: finding github.com/stretchr/objx v0.1.0 10:53:49 go: finding github.com/stretchr/testify v1.5.1 10:53:49 go: finding github.com/ugorji/go v1.1.4 10:53:49 go: finding github.com/x448/float16 v0.8.4 10:53:49 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 10:53:49 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 10:53:49 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 10:53:49 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 10:53:49 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 10:53:49 go: finding gopkg.in/yaml.v2 v2.2.8 10:53:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:53:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.160s coverage: 50.3% of statements 10:53:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:53:59 gofmt -l . 10:53:59 [ "`gofmt -l .`" = "" ] 10:53:59 ./bin/test-attribution-txt.sh 10:53:59 Removing intermediate container 16e33222abbb 10:53:59 ---> 7ef4918ad05e 10:53:59 Successfully built 7ef4918ad05e 10:53:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 10:53:59 ./bin/test-go-mod-tidy.sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] stash 10:54:00 Stashed 1 file(s) [Pipeline] } 10:54:00 + docker inspect -f . ci-base-image-arm64 10:54:00 $ docker stop --time=1 fcb214f312319d2777b2f784f3bf4ae2dec9cd75f9ecee56697789350dd029d4 10:54:00 . 10:54:02 $ docker rm -f fcb214f312319d2777b2f784f3bf4ae2dec9cd75f9ecee56697789350dd029d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 10:54:02 prd-ubuntu18.04-docker-arm64-4c-16g-4489 does not seem to be running inside a container 10:54:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:54:04 $ docker top 92ab50116988133b56ffdc94e66339f865299c36c361297745a77cb5f6a82da0 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 10:54:05 + go version 10:54:05 go version go1.13.5 linux/arm64 [Pipeline] sh [Pipeline] sh 10:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:54:06 + ls -al . 10:54:06 total 104 10:54:06 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 17 10:54 . 10:54:06 drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 10:52 .. 10:54:06 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 17 10:53 Attribution.txt 10:54:06 drwxrwxr-x. 2 jenkins jenkins 87 Apr 17 10:53 bin 10:54:06 drwxrwxr-x. 3 jenkins jenkins 55 Apr 17 10:53 cmd 10:54:06 -rw-r--r--. 1 jenkins jenkins 22122 Apr 17 10:53 coverage.out 10:54:06 -rw-rw-r--. 1 jenkins jenkins 1251 Apr 17 10:53 Dockerfile 10:54:06 -rw-rw-r--. 1 jenkins jenkins 954 Apr 17 10:53 Dockerfile.build 10:54:06 -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 10:53 .dockerignore 10:54:06 drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 10:53 .git 10:54:06 -rw-rw-r--. 1 jenkins jenkins 338 Apr 17 10:53 .gitignore 10:54:06 -rw-r--r--. 1 jenkins jenkins 566 Apr 17 10:53 go.mod 10:54:06 -rw-r--r--. 1 jenkins jenkins 13382 Apr 17 10:54 go.sum 10:54:06 drwxrwxr-x. 3 jenkins jenkins 20 Apr 17 10:53 internal 10:54:06 -rw-rw-r--. 1 jenkins jenkins 681 Apr 17 10:53 Jenkinsfile 10:54:06 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 17 10:53 LICENSE 10:54:06 -rw-rw-r--. 1 jenkins jenkins 880 Apr 17 10:53 Makefile 10:54:06 -rw-rw-r--. 1 jenkins jenkins 591 Apr 17 10:53 README.md 10:54:06 drwxrwxr-x. 3 jenkins jenkins 58 Apr 17 10:53 .semver 10:54:06 drwxrwxr-x. 2 jenkins jenkins 35 Apr 17 10:53 simulator 10:54:06 drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 10:53 snap 10:54:06 -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 10:50 VERSION 10:54:06 -rw-rw-r--. 1 jenkins jenkins 229 Apr 17 10:53 version.go [Pipeline] isUnix [Pipeline] sh 10:54:06 + make test 10:54:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:54:06 + 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=80aac72c7aced93e264b61889b1ed9c403c30da0 --label arch=amd64 --label version=0.0.0 . 10:54:06 Sending build context to Docker daemon 591.4kB 10:54:06 Step 1/17 : ARG BASE=golang:1.13-alpine 10:54:06 Step 2/17 : FROM ${BASE} AS builder 10:54:06 ---> c8373226947e 10:54:06 Step 3/17 : ARG MAKE='make build' 10:54:06 ---> Running in 4be526714151 10:54:06 Removing intermediate container 4be526714151 10:54:06 ---> dd8eca67c6a2 10:54:06 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:54:06 ---> Running in a36b48974746 10:54:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:54:07 Removing intermediate container a36b48974746 10:54:07 ---> dec5914ab87f 10:54:07 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 10:54:07 ---> Running in 5c01a67972c2 10:54:08 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 10:54:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 10:54:09 OK: 214 MiB in 52 packages 10:54:09 Removing intermediate container 5c01a67972c2 10:54:09 ---> 440faff66d8a 10:54:09 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 10:54:09 ---> Running in b90986202945 10:54:09 Removing intermediate container b90986202945 10:54:09 ---> 4fbba0f0ad92 10:54:09 Step 7/17 : COPY . . 10:54:09 ---> 002368fb9e8e 10:54:09 Step 8/17 : RUN ${MAKE} 10:54:09 ---> Running in 7fe9558cc73f 10:54:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 10:54:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:54:21 Removing intermediate container 7fe9558cc73f 10:54:21 ---> fd7e7acbeb8e 10:54:21 Step 9/17 : FROM scratch 10:54:21 ---> 10:54:21 Step 10/17 : ENV APP_PORT=49991 10:54:21 ---> Running in 656364a773cd 10:54:21 Removing intermediate container 656364a773cd 10:54:21 ---> 6e3d9a1e05c2 10:54:21 Step 11/17 : EXPOSE $APP_PORT 10:54:21 ---> Running in 76c5eb713a3e 10:54:21 Removing intermediate container 76c5eb713a3e 10:54:21 ---> c7fddd97822b 10:54:21 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 10:54:22 ---> b9d6a45eb801 10:54:22 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 10:54:22 ---> Running in 96497e462ffd 10:54:22 Removing intermediate container 96497e462ffd 10:54:22 ---> c16415cd0cfb 10:54:22 Step 14/17 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 10:54:22 ---> Running in 5206838995aa 10:54:22 Removing intermediate container 5206838995aa 10:54:22 ---> 431fc8002d5d 10:54:22 Step 15/17 : LABEL arch=amd64 10:54:22 ---> Running in d50a8876aafc 10:54:22 Removing intermediate container d50a8876aafc 10:54:22 ---> 395131fe62f6 10:54:22 Step 16/17 : LABEL git_sha=80aac72c7aced93e264b61889b1ed9c403c30da0 10:54:22 ---> Running in 0b4a81ed2c2d 10:54:23 Removing intermediate container 0b4a81ed2c2d 10:54:23 ---> 12ab5bcf8821 10:54:23 Step 17/17 : LABEL version=0.0.0 10:54:23 ---> Running in a06c288d4185 10:54:23 Removing intermediate container a06c288d4185 10:54:23 ---> c4c64b7ff83f 10:54:23 [Warning] One or more build-args [ARCH] were not consumed 10:54:23 Successfully built c4c64b7ff83f 10:54:23 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) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:54:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:54:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.240s coverage: 50.3% of statements 10:54:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 10:54:39 gofmt -l . 10:54:39 [ "`gofmt -l .`" = "" ] 10:54:39 ./bin/test-attribution-txt.sh 10:54:40 ./bin/test-go-mod-tidy.sh [Pipeline] stash 10:54:40 Warning: overwriting stash ‘coverage-report’ 10:54:41 Stashed 1 file(s) [Pipeline] } 10:54:41 $ docker stop --time=1 92ab50116988133b56ffdc94e66339f865299c36c361297745a77cb5f6a82da0 10:54:43 $ docker rm -f 92ab50116988133b56ffdc94e66339f865299c36c361297745a77cb5f6a82da0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:54:45 + ls -al . 10:54:45 total 136 10:54:45 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 10:54 . 10:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 10:52 .. 10:54:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 10:52 .dockerignore 10:54:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 10:52 .git 10:54:45 -rw-rw-r-- 1 jenkins jenkins 338 Apr 17 10:52 .gitignore 10:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 10:52 .semver 10:54:45 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 17 10:52 Attribution.txt 10:54:45 -rw-rw-r-- 1 jenkins jenkins 1251 Apr 17 10:52 Dockerfile 10:54:45 -rw-rw-r-- 1 jenkins jenkins 954 Apr 17 10:52 Dockerfile.build 10:54:45 -rw-rw-r-- 1 jenkins jenkins 681 Apr 17 10:52 Jenkinsfile 10:54:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 10:52 LICENSE 10:54:45 -rw-rw-r-- 1 jenkins jenkins 880 Apr 17 10:52 Makefile 10:54:45 -rw-rw-r-- 1 jenkins jenkins 591 Apr 17 10:52 README.md 10:54:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 10:50 VERSION 10:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 10:52 bin 10:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 10:52 cmd 10:54:45 -rw-r--r-- 1 jenkins jenkins 22122 Apr 17 10:54 coverage.out 10:54:45 -rw-r--r-- 1 jenkins jenkins 566 Apr 17 10:54 go.mod 10:54:45 -rw-r--r-- 1 jenkins jenkins 13382 Apr 17 10:54 go.sum 10:54:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 10:52 internal 10:54:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 10:52 simulator 10:54:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 10:52 snap 10:54:45 -rw-rw-r-- 1 jenkins jenkins 229 Apr 17 10:52 version.go [Pipeline] isUnix [Pipeline] sh 10:54:45 + 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=80aac72c7aced93e264b61889b1ed9c403c30da0 --label arch=arm64 --label version=0.0.0 . 10:54:45 Sending build context to Docker daemon 591.4kB 10:54:45 Step 1/17 : ARG BASE=golang:1.13-alpine 10:54:45 Step 2/17 : FROM ${BASE} AS builder 10:54:45 ---> 7ef4918ad05e 10:54:45 Step 3/17 : ARG MAKE='make build' 10:54:46 ---> Running in 2fb4cbdecfd8 10:54:46 Removing intermediate container 2fb4cbdecfd8 10:54:46 ---> 5df2994f90b7 10:54:46 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:54:46 ---> Running in 2236fc3bf5f0 10:54:48 Removing intermediate container 2236fc3bf5f0 10:54:48 ---> d79d3467035f 10:54:48 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 10:54:48 ---> Running in aba6396072c0 10:54:49 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 10:54:50 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 10:54:50 OK: 203 MiB in 52 packages 10:54:51 Removing intermediate container aba6396072c0 10:54:51 ---> ca3597870de4 10:54:51 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 10:54:51 ---> Running in f414ce79e806 10:54:52 Removing intermediate container f414ce79e806 10:54:52 ---> a19fe7d13fb3 10:54:52 Step 7/17 : COPY . . 10:54:52 ---> 1d08546f2696 10:54:52 Step 8/17 : RUN ${MAKE} 10:54:53 ---> Running in 4b7348109b7f 10:54:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 10:55:21 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:55:26 Removing intermediate container 4b7348109b7f 10:55:26 ---> 9c5946766670 10:55:26 Step 9/17 : FROM scratch 10:55:26 ---> 10:55:26 Step 10/17 : ENV APP_PORT=49991 10:55:26 ---> Running in 565b6741a667 10:55:26 Removing intermediate container 565b6741a667 10:55:26 ---> c4ee1e6c1b36 10:55:26 Step 11/17 : EXPOSE $APP_PORT 10:55:26 ---> Running in d4ce4f07e04f 10:55:26 Removing intermediate container d4ce4f07e04f 10:55:26 ---> 640653207cf1 10:55:26 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 10:55:27 ---> 0765f1c2afab 10:55:27 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 10:55:27 ---> Running in e3d1974754e4 10:55:28 Removing intermediate container e3d1974754e4 10:55:28 ---> 4530277f2e38 10:55:28 Step 14/17 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 10:55:28 ---> Running in d767fb3d58e7 10:55:28 Removing intermediate container d767fb3d58e7 10:55:28 ---> a26ca6af982d 10:55:28 Step 15/17 : LABEL arch=arm64 10:55:28 ---> Running in ed7f4117877c 10:55:28 Removing intermediate container ed7f4117877c 10:55:28 ---> 3c5831512392 10:55:28 Step 16/17 : LABEL git_sha=80aac72c7aced93e264b61889b1ed9c403c30da0 10:55:29 ---> Running in cbca3e38d7ec 10:55:29 Removing intermediate container cbca3e38d7ec 10:55:29 ---> 1cd4198d6e94 10:55:29 Step 17/17 : LABEL version=0.0.0 10:55:29 ---> Running in 5db5e78910f4 10:55:30 Removing intermediate container 5db5e78910f4 10:55:30 ---> 1252795fe332 10:55:30 [Warning] One or more build-args [ARCH] were not consumed 10:55:30 Successfully built 1252795fe332 10:55:30 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) Stage "Snap" 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 10:55:31 provisioning config files... 10:55:31 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-142@tmp/config6490480466116744892tmp [Pipeline] { [Pipeline] sh 10:55:32 + curl -s https://codecov.io/bash 10:55:32 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-142@tmp/config6490480466116744892tmp 10:55:32 10:55:32 _____ _ 10:55:32 / ____| | | 10:55:32 | | ___ __| | ___ ___ _____ __ 10:55:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:55:32 | |___| (_) | (_| | __/ (_| (_) \ V / 10:55:32 \_____\___/ \__,_|\___|\___\___/ \_/ 10:55:32 Bash-tbd 10:55:32 10:55:32 10:55:32 ==> Jenkins CI detected. 10:55:32 project root: . 10:55:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:55:32 ==> Running gcov in . (disable via -X gcov) 10:55:32 ==> Python coveragepy not found 10:55:32 ==> Searching for coverage reports in: 10:55:32 + . 10:55:32 -> Found 1 reports 10:55:32 ==> Detecting git/mercurial file structure 10:55:32 ==> Reading reports 10:55:32 + ./coverage.out bytes=22122 10:55:32 ==> Appending adjustments 10:55:32 http://docs.codecov.io/docs/fixing-reports 10:55:32 + Found adjustments 10:55:32 ==> Gzipping contents 10:55:32 ==> Uploading reports 10:55:32 url: https://codecov.io 10:55:32 query: branch=PR-142&commit=80aac72c7aced93e264b61889b1ed9c403c30da0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-142%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=142&job= 10:55:32 -> Pinging Codecov 10:55:32 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-142&commit=80aac72c7aced93e264b61889b1ed9c403c30da0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-142%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=142&job= 10:55:33 -> Sleeping for 30s and trying again... 10:56:05 -> Pinging Codecov 10:56:05 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-142&commit=80aac72c7aced93e264b61889b1ed9c403c30da0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-142%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=142&job= 10:56:05 -> Uploading 10:56:05 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/80aac72c7aced93e264b61889b1ed9c403c30da0 [Pipeline] } 10:56:05 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 10:56:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:56:07 ---> package-listing.sh 10:56:07 ++ facter osfamily 10:56:07 ++ tr '[:upper:]' '[:lower:]' 10:56:07 + OS_FAMILY=redhat 10:56:07 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-142 10:56:07 + START_PACKAGES=/tmp/packages_start.txt 10:56:07 + END_PACKAGES=/tmp/packages_end.txt 10:56:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:56:07 + PACKAGES=/tmp/packages_start.txt 10:56:07 + '[' /w/workspace/xfoundry_device-modbus-go_PR-142 ']' 10:56:07 + PACKAGES=/tmp/packages_end.txt 10:56:07 + case "${OS_FAMILY}" in 10:56:07 + rpm -qa 10:56:07 + sort 10:56:10 + '[' -f /tmp/packages_start.txt ']' 10:56:10 + '[' -f /tmp/packages_end.txt ']' 10:56:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:56:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-142 ']' 10:56:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-142/archives/ 10:56:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-142/archives/ [Pipeline] isUnix [Pipeline] sh 10:56:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:56:10 10:56:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:56:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:56:11 alpine: Pulling from edgex-lftools-log-publisher 10:56:11 c9b1b535fdd9: Pulling fs layer 10:56:11 2cc5ad85d9ab: Pulling fs layer 10:56:11 756a868c4378: Pulling fs layer 10:56:11 444b2fc9a129: Pulling fs layer 10:56:11 ea15f1150254: Pulling fs layer 10:56:11 41b27a9f41bf: Pulling fs layer 10:56:11 28c525ee5125: Pulling fs layer 10:56:11 094b1ea09ed8: Pulling fs layer 10:56:11 138eaada9080: Pulling fs layer 10:56:11 0622d0fa9048: Pulling fs layer 10:56:11 094b1ea09ed8: Waiting 10:56:11 444b2fc9a129: Waiting 10:56:11 138eaada9080: Waiting 10:56:11 ea15f1150254: Waiting 10:56:11 0622d0fa9048: Waiting 10:56:11 28c525ee5125: Waiting 10:56:11 41b27a9f41bf: Waiting 10:56:11 2cc5ad85d9ab: Download complete 10:56:11 444b2fc9a129: Verifying Checksum 10:56:11 444b2fc9a129: Download complete 10:56:11 c9b1b535fdd9: Verifying Checksum 10:56:11 c9b1b535fdd9: Download complete 10:56:11 ea15f1150254: Verifying Checksum 10:56:11 ea15f1150254: Download complete 10:56:11 28c525ee5125: Verifying Checksum 10:56:11 28c525ee5125: Download complete 10:56:11 756a868c4378: Verifying Checksum 10:56:11 756a868c4378: Download complete 10:56:11 c9b1b535fdd9: Pull complete 10:56:11 138eaada9080: Verifying Checksum 10:56:11 138eaada9080: Download complete 10:56:12 0622d0fa9048: Verifying Checksum 10:56:12 0622d0fa9048: Download complete 10:56:12 2cc5ad85d9ab: Pull complete 10:56:12 094b1ea09ed8: Verifying Checksum 10:56:12 094b1ea09ed8: Download complete 10:56:12 41b27a9f41bf: Verifying Checksum 10:56:12 41b27a9f41bf: Download complete 10:56:14 756a868c4378: Pull complete 10:56:14 444b2fc9a129: Pull complete 10:56:14 ea15f1150254: Pull complete 10:56:18 41b27a9f41bf: Pull complete 10:56:18 28c525ee5125: Pull complete 10:56:21 094b1ea09ed8: Pull complete 10:56:21 138eaada9080: Pull complete 10:56:22 0622d0fa9048: Pull complete 10:56:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 10:56:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:56:22 prd-centos7-docker-4c-2g-4488 does not seem to be running inside a container 10:56:23 $ 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-142 -v /w/workspace/xfoundry_device-modbus-go_PR-142:/w/workspace/xfoundry_device-modbus-go_PR-142:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-142@tmp:/w/workspace/xfoundry_device-modbus-go_PR-142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:56:23 $ docker top d9b766ec9ef5a84ec96fa22642bdee68579a7f0c3415f2abc4b4a9ae6b54c003 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:23 provisioning config files... 10:56:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-142@tmp/config1770522963524242935tmp [Pipeline] { [Pipeline] echo 10:56:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:56:24 ---> create-netrc.sh [Pipeline] echo 10:56:24 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:56:24 ---> logs-deploy.sh 10:56:24 + ARCHIVE_ARTIFACTS= 10:56:24 + LOGS_SERVER=https://logs.edgexfoundry.org 10:56:24 + '[' https://logs.edgexfoundry.org == None ']' 10:56:24 + NEXUS_URL=https://nexus.edgexfoundry.org 10:56:24 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-142/1 10:56:24 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-142/1/ 10:56:24 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-142/1 /w/workspace/xfoundry_device-modbus-go_PR-142 10:56:26 Archives upload complete. 10:56:26 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-142/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-142/1/