Pull request #134 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 f89f38928718284bb6d85e2d507de27c5cb72ae0+30534e99e394efc00c176be032a98ac6c7eba5ce (8e13a5b658ccc5109decfa29d9f801901a4251fc) 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 c26106ffa7303c9cfaed1787c18b3b6a39928acb 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-134/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 c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > 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-2483’ Running on prd-centos7-docker-4c-2g-2490 in /w/workspace/xfoundry_device-modbus-go_PR-134 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-134 # 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/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # 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 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit f89f38928718284bb6d85e2d507de27c5cb72ae0 Merge succeeded, producing f89f38928718284bb6d85e2d507de27c5cb72ae0 Checking out Revision f89f38928718284bb6d85e2d507de27c5cb72ae0 (PR-134) > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # 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 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:24:12 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 03:24:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:24:15 03:24:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:24:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:24:15 latest: Pulling from edgex-devops/git-semver 03:24:15 9123ac7c32f7: Pulling fs layer 03:24:15 b8cc5d1170e3: Pulling fs layer 03:24:15 2924cbbf6a41: Pulling fs layer 03:24:15 93b08a4f1073: Pulling fs layer 03:24:15 93b08a4f1073: Waiting 03:24:15 b8cc5d1170e3: Verifying Checksum 03:24:15 b8cc5d1170e3: Download complete 03:24:15 9123ac7c32f7: Verifying Checksum 03:24:15 9123ac7c32f7: Download complete 03:24:15 93b08a4f1073: Verifying Checksum 03:24:15 93b08a4f1073: Download complete 03:24:15 2924cbbf6a41: Verifying Checksum 03:24:15 2924cbbf6a41: Download complete 03:24:16 9123ac7c32f7: Pull complete 03:24:16 b8cc5d1170e3: Pull complete 03:24:16 2924cbbf6a41: Pull complete 03:24:17 93b08a4f1073: Pull complete 03:24:17 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 03:24:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:24:17 prd-centos7-docker-4c-2g-2490 does not seem to be running inside a container 03:24:17 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-134 -v /w/workspace/xfoundry_device-modbus-go_PR-134:/w/workspace/xfoundry_device-modbus-go_PR-134:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-134@tmp:/w/workspace/xfoundry_device-modbus-go_PR-134@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 03:24:18 $ docker top 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:18 [ssh-agent] Looking for ssh-agent implementation... 03:24:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:18 $ docker exec 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 ssh-agent 03:24:18 SSH_AUTH_SOCK=/tmp/ssh-Q7cDVi8vKuGS/agent.15 03:24:18 SSH_AGENT_PID=21 03:24:18 Running ssh-add (command line suppressed) 03:24:19 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4029851475571242856.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4029851475571242856.key) 03:24:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:19 + git describe --exact-match --tags HEAD 03:24:19 fatal: No names found, cannot describe anything. [Pipeline] } 03:24:19 $ docker exec --env ******** --env ******** 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 ssh-agent -k 03:24:19 unset SSH_AUTH_SOCK; 03:24:19 unset SSH_AGENT_PID; 03:24:19 echo Agent pid 21 killed; 03:24:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 03:24:20 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 03:24:20 This usually means this commit has not been tagged. [Pipeline] sshagent 03:24:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:20 [ssh-agent] Looking for ssh-agent implementation... 03:24:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:20 $ docker exec 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 ssh-agent 03:24:20 SSH_AUTH_SOCK=/tmp/ssh-zTGng7lHGmX6/agent.55 03:24:20 SSH_AGENT_PID=62 03:24:20 Running ssh-add (command line suppressed) 03:24:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4852466916061545421.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4852466916061545421.key) 03:24:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:21 + git semver init 03:24:21 # -> Open(): unable to determine branch for HEAD 03:24:21 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.git 03:24:21 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-134 03:24:21 # $SEMVER_REMOTE_NAME = origin 03:24:21 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 03:24:21 # $SEMVER_USER_NAME = jenkins 03:24:21 # $SEMVER_BRANCH = PR-134 03:24:21 # $SEMVER_TEMP = /tmp/semver-635619825 03:24:21 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 03:24:21 # '/tmp/semver-635619825' -> '/w/workspace/xfoundry_device-modbus-go_PR-134/.semver' 03:24:21 # -> Force: false 03:24:21 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.semver [Pipeline] } 03:24:21 $ docker exec --env ******** --env ******** 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 ssh-agent -k 03:24:22 unset SSH_AUTH_SOCK; 03:24:22 unset SSH_AGENT_PID; 03:24:22 echo Agent pid 62 killed; 03:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:22 + git semver [Pipeline] } 03:24:22 $ docker stop --time=1 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 03:24:24 $ docker rm -f 660054c38483f555c7e041e3b5a8122f26ba8b57f1ccf4d609fc3decc341eb28 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 03:24:25 Stashed 21 file(s) [Pipeline] echo 03:24:25 [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 03:24:40 Still waiting to schedule task 03:24:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:24:40 Still waiting to schedule task 03:24:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:26:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2491 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 03:26:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:26:36 using credential edgex-jenkins-ssh 03:26:36 Cloning the remote Git repository 03:26:36 Cloning with configured refspecs honoured and without tags 03:26:37 Fetching without tags 03:26:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:26:36 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:26:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:26:36 > git --version # timeout=10 03:26:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:26:37 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 03:26:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:26:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:26:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:37 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit f89f38928718284bb6d85e2d507de27c5cb72ae0 03:26:38 Merge succeeded, producing f89f38928718284bb6d85e2d507de27c5cb72ae0 03:26:38 Checking out Revision f89f38928718284bb6d85e2d507de27c5cb72ae0 (PR-134) 03:26:37 > git config core.sparsecheckout # timeout=10 03:26:37 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 03:26:37 > git remote # timeout=10 03:26:38 > git config --get remote.origin.url # timeout=10 03:26:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:38 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 03:26:38 > git rev-parse HEAD^{commit} # timeout=10 03:26:38 > git config core.sparsecheckout # timeout=10 03:26:38 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 03:26:42 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." 03:26:42 > git --version # timeout=10 03:26:42 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:26:44 ========================================================= 03:26:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 03:26:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:26:45 + 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 . 03:26:46 Sending build context to Docker daemon 553.5kB 03:26:46 Step 1/8 : ARG BASE=golang:1.13-alpine 03:26:46 Step 2/8 : FROM ${BASE} 03:26:46 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:26:46 cde5963f3b93: Pulling fs layer 03:26:46 2a23fa8c16f7: Pulling fs layer 03:26:46 777b28850792: Pulling fs layer 03:26:46 8a11ddd9e578: Pulling fs layer 03:26:46 4cf88f913ddb: Pulling fs layer 03:26:46 1df406cf5192: Pulling fs layer 03:26:46 cd6300453558: Pulling fs layer 03:26:46 b9c365052c96: Pulling fs layer 03:26:46 a2d8cc88f415: Pulling fs layer 03:26:46 ea1d1ca13537: Pulling fs layer 03:26:46 3750a50a1c5e: Pulling fs layer 03:26:46 8a11ddd9e578: Waiting 03:26:46 4cf88f913ddb: Waiting 03:26:46 b9c365052c96: Waiting 03:26:46 1df406cf5192: Waiting 03:26:46 a2d8cc88f415: Waiting 03:26:46 cd6300453558: Waiting 03:26:46 ea1d1ca13537: Waiting 03:26:46 3750a50a1c5e: Waiting 03:26:46 777b28850792: Verifying Checksum 03:26:46 777b28850792: Download complete 03:26:46 2a23fa8c16f7: Verifying Checksum 03:26:46 2a23fa8c16f7: Download complete 03:26:46 4cf88f913ddb: Verifying Checksum 03:26:46 4cf88f913ddb: Download complete 03:26:46 1df406cf5192: Verifying Checksum 03:26:46 1df406cf5192: Download complete 03:26:46 cde5963f3b93: Verifying Checksum 03:26:46 cde5963f3b93: Download complete 03:26:47 cde5963f3b93: Pull complete 03:26:48 2a23fa8c16f7: Pull complete 03:26:48 777b28850792: Pull complete 03:26:51 cd6300453558: Verifying Checksum 03:26:51 cd6300453558: Download complete 03:26:51 a2d8cc88f415: Verifying Checksum 03:26:51 a2d8cc88f415: Download complete 03:26:52 Running on prd-centos7-docker-4c-2g-2492 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 03:26:52 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 03:26:53 ea1d1ca13537: Verifying Checksum 03:26:53 ea1d1ca13537: Download complete 03:26:53 3750a50a1c5e: Verifying Checksum 03:26:53 3750a50a1c5e: Download complete 03:26:54 using credential edgex-jenkins-ssh 03:26:55 Cloning the remote Git repository 03:26:55 Cloning with configured refspecs honoured and without tags 03:26:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:26:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 03:26:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:26:54 > git --version # timeout=10 03:26:54 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:54 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:55 Fetching without tags 03:26:55 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit f89f38928718284bb6d85e2d507de27c5cb72ae0 03:26:56 Merge succeeded, producing f89f38928718284bb6d85e2d507de27c5cb72ae0 03:26:56 Checking out Revision f89f38928718284bb6d85e2d507de27c5cb72ae0 (PR-134) 03:26:56 b9c365052c96: Verifying Checksum 03:26:56 b9c365052c96: Download complete 03:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:26:55 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 03:26:55 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:26:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:26:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:55 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:26:55 > git config core.sparsecheckout # timeout=10 03:26:55 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 03:26:56 > git remote # timeout=10 03:26:56 > git config --get remote.origin.url # timeout=10 03:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:56 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 03:26:56 > git rev-parse HEAD^{commit} # timeout=10 03:26:56 > git config core.sparsecheckout # timeout=10 03:26:56 > git checkout -f f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 03:26:57 8a11ddd9e578: Download complete 03:26:59 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." 03:26:59 > git --version # timeout=10 03:26:59 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 03:27:01 ========================================================= 03:27:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 03:27:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:27:01 + 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 . 03:27:01 Sending build context to Docker daemon 553.5kB 03:27:01 Step 1/8 : ARG BASE=golang:1.13-alpine 03:27:01 Step 2/8 : FROM ${BASE} 03:27:02 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 03:27:02 e6b0cf9c0882: Pulling fs layer 03:27:02 2848faf0eed1: Pulling fs layer 03:27:02 0f37312ad70f: Pulling fs layer 03:27:02 5788d62ee057: Pulling fs layer 03:27:02 0e6b1d234666: Pulling fs layer 03:27:02 bf5d7aec512f: Pulling fs layer 03:27:02 34c802a77dc8: Pulling fs layer 03:27:02 9eb99e56ec68: Pulling fs layer 03:27:02 27c7a5d97fbd: Pulling fs layer 03:27:02 5c102a31e300: Pulling fs layer 03:27:02 dcfb455df0a1: Pulling fs layer 03:27:02 34c802a77dc8: Waiting 03:27:02 5788d62ee057: Waiting 03:27:02 9eb99e56ec68: Waiting 03:27:02 27c7a5d97fbd: Waiting 03:27:02 5c102a31e300: Waiting 03:27:02 dcfb455df0a1: Waiting 03:27:02 0e6b1d234666: Waiting 03:27:02 bf5d7aec512f: Waiting 03:27:02 0f37312ad70f: Verifying Checksum 03:27:02 0f37312ad70f: Download complete 03:27:02 2848faf0eed1: Download complete 03:27:02 0e6b1d234666: Verifying Checksum 03:27:02 0e6b1d234666: Download complete 03:27:02 bf5d7aec512f: Verifying Checksum 03:27:02 bf5d7aec512f: Download complete 03:27:02 e6b0cf9c0882: Verifying Checksum 03:27:02 e6b0cf9c0882: Download complete 03:27:02 e6b0cf9c0882: Pull complete 03:27:02 2848faf0eed1: Pull complete 03:27:02 34c802a77dc8: Verifying Checksum 03:27:02 34c802a77dc8: Download complete 03:27:02 27c7a5d97fbd: Verifying Checksum 03:27:02 27c7a5d97fbd: Download complete 03:27:03 9eb99e56ec68: Verifying Checksum 03:27:03 9eb99e56ec68: Download complete 03:27:03 5c102a31e300: Verifying Checksum 03:27:03 5c102a31e300: Download complete 03:27:03 dcfb455df0a1: Verifying Checksum 03:27:03 dcfb455df0a1: Download complete 03:27:03 5788d62ee057: Download complete 03:27:03 0f37312ad70f: Pull complete 03:27:08 8a11ddd9e578: Pull complete 03:27:08 4cf88f913ddb: Pull complete 03:27:08 1df406cf5192: Pull complete 03:27:09 5788d62ee057: Pull complete 03:27:09 0e6b1d234666: Pull complete 03:27:09 bf5d7aec512f: Pull complete 03:27:12 cd6300453558: Pull complete 03:27:16 34c802a77dc8: Pull complete 03:27:17 b9c365052c96: Pull complete 03:27:17 a2d8cc88f415: Pull complete 03:27:18 9eb99e56ec68: Pull complete 03:27:18 27c7a5d97fbd: Pull complete 03:27:19 5c102a31e300: Pull complete 03:27:19 ea1d1ca13537: Pull complete 03:27:19 dcfb455df0a1: Pull complete 03:27:19 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 03:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 03:27:19 ---> 7c70fe431013 03:27:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:27:19 ---> Running in f8770d5da0b7 03:27:19 3750a50a1c5e: Pull complete 03:27:19 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 03:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 03:27:19 ---> 78745c68409d 03:27:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 03:27:19 Removing intermediate container f8770d5da0b7 03:27:19 ---> c764fc1e58be 03:27:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:27:19 ---> Running in 76465a06f1ec 03:27:20 Removing intermediate container 76465a06f1ec 03:27:20 ---> 233b3673e63c 03:27:20 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:27:20 ---> Running in c1264ff4367c 03:27:21 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 03:27:22 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 03:27:22 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:27:23 (2/17) Installing libmagic (5.37-r1) 03:27:23 (3/17) Installing file (5.37-r1) 03:27:23 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:27:23 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:27:23 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:27:25 ---> Running in 81418495ccd5 03:27:25 Removing intermediate container 81418495ccd5 03:27:25 ---> 2ac6d685bbed 03:27:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:27:25 ---> Running in e785dd66bca3 03:27:27 Removing intermediate container e785dd66bca3 03:27:27 ---> 81b6b12f03b5 03:27:27 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 03:27:27 ---> Running in 60bb4456289c 03:27:27 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 03:27:28 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 03:27:29 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 03:27:29 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 03:27:29 (3/18) Installing libmagic (5.37-r1) 03:27:30 (4/18) Installing file (5.37-r1) 03:27:30 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 03:27:30 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 03:27:30 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 03:27:33 (7/17) Installing libc-dev (0.7.2-r0) 03:27:33 (8/17) Installing g++ (9.2.0-r4) 03:27:35 (9/17) Installing fortify-headers (1.1-r0) 03:27:35 (10/17) Installing build-base (0.5-r1) 03:27:35 (11/17) Installing openssh-keygen (8.1_p1-r0) 03:27:35 (12/17) Installing libedit (20191211.3.1-r0) 03:27:35 (8/18) Installing libc-dev (0.7.2-r0) 03:27:35 (9/18) Installing g++ (9.2.0-r4) 03:27:35 (13/17) Installing openssh-client (8.1_p1-r0) 03:27:35 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 03:27:36 (15/17) Installing openssh-server-common (8.1_p1-r0) 03:27:36 (16/17) Installing openssh-server (8.1_p1-r0) 03:27:36 (17/17) Installing openssh (8.1_p1-r0) 03:27:36 Executing busybox-1.31.1-r8.trigger 03:27:36 OK: 214 MiB in 52 packages 03:27:38 (10/18) Installing fortify-headers (1.1-r0) 03:27:38 (11/18) Installing build-base (0.5-r1) 03:27:38 (12/18) Installing openssh-keygen (8.1_p1-r0) 03:27:38 (13/18) Installing libedit (20191211.3.1-r0) 03:27:38 (14/18) Installing openssh-client (8.1_p1-r0) 03:27:38 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 03:27:38 (16/18) Installing openssh-server-common (8.1_p1-r0) 03:27:38 (17/18) Installing openssh-server (8.1_p1-r0) 03:27:38 (18/18) Installing openssh (8.1_p1-r0) 03:27:38 Executing busybox-1.31.1-r8.trigger 03:27:38 OK: 203 MiB in 52 packages 03:27:39 Removing intermediate container c1264ff4367c 03:27:39 ---> 6dbc453d8712 03:27:39 Step 6/8 : WORKDIR /device-modbus-go 03:27:39 ---> Running in 350bd417899d 03:27:39 Removing intermediate container 350bd417899d 03:27:39 ---> 238d032a3a9a 03:27:39 Step 7/8 : COPY . . 03:27:40 ---> 5f5ea9997373 03:27:40 Step 8/8 : RUN go mod download 03:27:40 ---> Running in 9a9a5c8e85e3 03:27:42 go: finding github.com/BurntSushi/toml v0.3.1 03:27:42 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:27:42 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:42 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:27:42 go: finding github.com/bgentry/speakeasy v0.1.0 03:27:42 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 03:27:42 go: finding github.com/davecgh/go-spew v1.1.1 03:27:42 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 03:27:42 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 03:27:42 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 03:27:42 go: finding github.com/fatih/color v1.7.0 03:27:42 go: finding github.com/go-kit/kit v0.8.0 03:27:43 go: finding github.com/go-logfmt/logfmt v0.4.0 03:27:43 go: finding github.com/go-stack/stack v1.8.0 03:27:43 go: finding github.com/goburrow/modbus v0.1.0 03:27:43 go: finding github.com/goburrow/serial v0.1.0 03:27:43 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:27:43 go: finding github.com/google/uuid v1.1.1 03:27:43 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 03:27:43 go: finding github.com/gorilla/mux v1.7.0 03:27:43 go: finding github.com/hashicorp/consul v1.4.2 03:27:43 go: finding github.com/hashicorp/errwrap v1.0.0 03:27:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 03:27:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:27:43 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:27:43 go: finding github.com/hashicorp/go-multierror v1.0.0 03:27:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:27:43 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:27:43 go: finding github.com/hashicorp/go-syslog v1.0.0 03:27:43 go: finding github.com/hashicorp/go-uuid v1.0.1 03:27:43 go: finding github.com/hashicorp/go.net v0.0.1 03:27:43 go: finding github.com/hashicorp/golang-lru v0.5.1 03:27:43 go: finding github.com/hashicorp/logutils v1.0.0 03:27:44 go: finding github.com/hashicorp/mdns v1.0.0 03:27:44 go: finding github.com/hashicorp/memberlist v0.1.3 03:27:44 go: finding github.com/hashicorp/serf v0.8.2 03:27:44 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:27:44 go: finding github.com/mattn/go-colorable v0.0.9 03:27:44 go: finding github.com/mattn/go-isatty v0.0.3 03:27:44 go: finding github.com/miekg/dns v1.1.4 03:27:44 go: finding github.com/mitchellh/cli v1.0.0 03:27:44 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:44 go: finding github.com/mitchellh/copystructure v1.0.0 03:27:44 go: finding github.com/mitchellh/go-homedir v1.1.0 03:27:44 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:27:44 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:27:44 go: finding github.com/mitchellh/gox v0.4.0 03:27:44 go: finding github.com/mitchellh/iochan v1.0.0 03:27:44 go: finding github.com/mitchellh/mapstructure v1.1.2 03:27:44 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:27:44 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:27:44 go: finding github.com/pelletier/go-toml v1.2.0 03:27:44 go: finding github.com/pkg/errors v0.8.1 03:27:44 go: finding github.com/pmezard/go-difflib v1.0.0 03:27:44 go: finding github.com/posener/complete v1.1.1 03:27:44 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:27:44 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:27:44 go: finding github.com/stretchr/objx v0.1.0 03:27:44 go: finding github.com/stretchr/testify v1.3.0 03:27:44 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 03:27:44 go: finding github.com/ugorji/go v1.1.4 03:27:44 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:27:45 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:27:45 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:27:45 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:27:45 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:27:45 go: finding gopkg.in/yaml.v2 v2.2.2 03:27:45 Removing intermediate container 60bb4456289c 03:27:45 ---> 9f78cec58d53 03:27:45 Step 6/8 : WORKDIR /device-modbus-go 03:27:45 ---> Running in 8f25781dbb54 03:27:45 Removing intermediate container 8f25781dbb54 03:27:45 ---> 91d6ac299bf8 03:27:45 Step 7/8 : COPY . . 03:27:46 ---> 02be2a5ab72c 03:27:46 Step 8/8 : RUN go mod download 03:27:46 ---> Running in 07dd7c339aca 03:27:49 go: finding github.com/BurntSushi/toml v0.3.1 03:27:49 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 03:27:49 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 03:27:49 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 03:27:49 go: finding github.com/bgentry/speakeasy v0.1.0 03:27:49 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 03:27:49 go: finding github.com/davecgh/go-spew v1.1.1 03:27:49 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 03:27:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 03:27:49 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 03:27:49 go: finding github.com/fatih/color v1.7.0 03:27:49 go: finding github.com/go-kit/kit v0.8.0 03:27:49 go: finding github.com/go-logfmt/logfmt v0.4.0 03:27:49 go: finding github.com/go-stack/stack v1.8.0 03:27:49 go: finding github.com/goburrow/modbus v0.1.0 03:27:49 go: finding github.com/goburrow/serial v0.1.0 03:27:49 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 03:27:49 go: finding github.com/google/uuid v1.1.1 03:27:49 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 03:27:49 go: finding github.com/gorilla/mux v1.7.0 03:27:49 go: finding github.com/hashicorp/consul v1.4.2 03:27:49 go: finding github.com/hashicorp/errwrap v1.0.0 03:27:49 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 03:27:49 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 03:27:49 go: finding github.com/hashicorp/go-msgpack v0.5.3 03:27:49 go: finding github.com/hashicorp/go-multierror v1.0.0 03:27:49 go: finding github.com/hashicorp/go-rootcerts v1.0.0 03:27:49 go: finding github.com/hashicorp/go-sockaddr v1.0.1 03:27:49 go: finding github.com/hashicorp/go-syslog v1.0.0 03:27:49 go: finding github.com/hashicorp/go-uuid v1.0.1 03:27:49 go: finding github.com/hashicorp/go.net v0.0.1 03:27:49 go: finding github.com/hashicorp/golang-lru v0.5.1 03:27:50 go: finding github.com/hashicorp/logutils v1.0.0 03:27:50 go: finding github.com/hashicorp/mdns v1.0.0 03:27:50 go: finding github.com/hashicorp/memberlist v0.1.3 03:27:50 go: finding github.com/hashicorp/serf v0.8.2 03:27:50 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 03:27:50 go: finding github.com/mattn/go-colorable v0.0.9 03:27:50 go: finding github.com/mattn/go-isatty v0.0.3 03:27:50 go: finding github.com/miekg/dns v1.1.4 03:27:50 go: finding github.com/mitchellh/cli v1.0.0 03:27:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 03:27:50 go: finding github.com/mitchellh/copystructure v1.0.0 03:27:50 go: finding github.com/mitchellh/go-homedir v1.1.0 03:27:50 go: finding github.com/mitchellh/go-testing-interface v1.0.0 03:27:50 go: finding github.com/mitchellh/go-wordwrap v1.0.0 03:27:50 go: finding github.com/mitchellh/gox v0.4.0 03:27:50 go: finding github.com/mitchellh/iochan v1.0.0 03:27:50 go: finding github.com/mitchellh/mapstructure v1.1.2 03:27:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 03:27:50 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 03:27:50 go: finding github.com/pelletier/go-toml v1.2.0 03:27:50 go: finding github.com/pkg/errors v0.8.1 03:27:50 go: finding github.com/pmezard/go-difflib v1.0.0 03:27:50 go: finding github.com/posener/complete v1.1.1 03:27:50 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 03:27:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 03:27:50 go: finding github.com/stretchr/objx v0.1.0 03:27:50 go: finding github.com/stretchr/testify v1.3.0 03:27:50 go: finding github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 03:27:51 go: finding github.com/ugorji/go v1.1.4 03:27:51 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 03:27:51 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 03:27:51 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 03:27:51 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 03:27:51 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 03:27:51 go: finding gopkg.in/yaml.v2 v2.2.2 03:27:53 Removing intermediate container 9a9a5c8e85e3 03:27:53 ---> 086c1566b760 03:27:53 Successfully built 086c1566b760 03:27:53 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 03:27:53 + docker inspect -f . ci-base-image-x86_64 03:27:53 . [Pipeline] withDockerContainer 03:27:54 prd-centos7-docker-4c-2g-2492 does not seem to be running inside a container 03:27:54 $ 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 03:27:54 $ docker top 95e4e464998fe41a25f1c5338be5a338c723af2a320023d415383e8cdb10728f -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:55 + go version 03:27:55 go version go1.13.5 linux/amd64 [Pipeline] sh 03:27:55 + make test 03:27:55 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:27:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:28:09 Removing intermediate container 07dd7c339aca 03:28:09 ---> 06ab36aca4c1 03:28:09 Successfully built 06ab36aca4c1 03:28:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:28:10 + docker inspect -f . ci-base-image-arm64 03:28:10 . [Pipeline] withDockerContainer 03:28:11 prd-ubuntu18.04-docker-arm64-4c-16g-2491 does not seem to be running inside a container 03:28:11 $ 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 ******** ci-base-image-arm64 cat 03:28:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:28:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.185s coverage: 50.3% of statements 03:28:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:28:12 gofmt -l . 03:28:12 [ "`gofmt -l .`" = "" ] 03:28:12 ./bin/test-attribution-txt.sh 03:28:12 $ docker top 444ce81f32035869a8845ca0fb03d69c672dc61f80dee7bb44afe84383f51259 -eo pid,comm [Pipeline] { 03:28:13 ./bin/test-go-mod-tidy.sh [Pipeline] sh 03:28:13 go.mod is not tidy, please run "go mod tidy" 03:28:13 changes from running "go mod tidy:" 03:28:13 --- go.mod 03:28:13 +++ go.mod.bk 03:28:13 @@ -11,6 +11,7 @@ 03:28:13 github.com/hashicorp/golang-lru v0.5.1 // indirect 03:28:13 github.com/miekg/dns v1.1.4 // indirect 03:28:13 github.com/mitchellh/go-homedir v1.1.0 // indirect 03:28:13 + github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 // indirect 03:28:13 golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 // indirect 03:28:13 ) 03:28:13 03:28:13 make: *** [Makefile:29: test] Error 1 [Pipeline] } 03:28:13 $ docker stop --time=1 95e4e464998fe41a25f1c5338be5a338c723af2a320023d415383e8cdb10728f 03:28:14 + go version 03:28:14 go version go1.13.5 linux/arm64 03:28:15 $ docker rm -f 95e4e464998fe41a25f1c5338be5a338c723af2a320023d415383e8cdb10728f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 03:28:16 + make test 03:28:16 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:28:16 Failed in branch amd64 03:28:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:28:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:28:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements 03:28:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:29:01 gofmt -l . 03:29:01 [ "`gofmt -l .`" = "" ] 03:29:01 ./bin/test-attribution-txt.sh 03:29:01 ./bin/test-go-mod-tidy.sh 03:29:02 go.mod is not tidy, please run "go mod tidy" 03:29:02 changes from running "go mod tidy:" 03:29:02 --- go.mod 03:29:02 +++ go.mod.bk 03:29:02 @@ -11,6 +11,7 @@ 03:29:02 github.com/hashicorp/golang-lru v0.5.1 // indirect 03:29:02 github.com/miekg/dns v1.1.4 // indirect 03:29:02 github.com/mitchellh/go-homedir v1.1.0 // indirect 03:29:02 + github.com/tbrandon/mbserver v0.0.0-20170611213546-993e1772cc62 // indirect 03:29:02 golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 // indirect 03:29:02 ) 03:29:02 03:29:02 make: *** [Makefile:29: test] Error 1 [Pipeline] } 03:29:02 $ docker stop --time=1 444ce81f32035869a8845ca0fb03d69c672dc61f80dee7bb44afe84383f51259 03:29:04 $ docker rm -f 444ce81f32035869a8845ca0fb03d69c672dc61f80dee7bb44afe84383f51259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:29:06 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 03:29:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:29:08 ---> package-listing.sh 03:29:08 ++ facter osfamily 03:29:08 ++ tr '[:upper:]' '[:lower:]' 03:29:08 + OS_FAMILY=redhat 03:29:08 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-134 03:29:08 + START_PACKAGES=/tmp/packages_start.txt 03:29:08 + END_PACKAGES=/tmp/packages_end.txt 03:29:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:29:08 + PACKAGES=/tmp/packages_start.txt 03:29:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 03:29:08 + PACKAGES=/tmp/packages_end.txt 03:29:08 + case "${OS_FAMILY}" in 03:29:08 + rpm -qa 03:29:08 + sort 03:29:12 + '[' -f /tmp/packages_start.txt ']' 03:29:12 + '[' -f /tmp/packages_end.txt ']' 03:29:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:29:12 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 03:29:12 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ 03:29:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ [Pipeline] isUnix [Pipeline] sh 03:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:29:12 03:29:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:29:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:29:13 alpine: Pulling from edgex-lftools-log-publisher 03:29:13 c9b1b535fdd9: Pulling fs layer 03:29:13 2cc5ad85d9ab: Pulling fs layer 03:29:13 756a868c4378: Pulling fs layer 03:29:13 444b2fc9a129: Pulling fs layer 03:29:13 ea15f1150254: Pulling fs layer 03:29:13 41b27a9f41bf: Pulling fs layer 03:29:13 28c525ee5125: Pulling fs layer 03:29:13 094b1ea09ed8: Pulling fs layer 03:29:13 138eaada9080: Pulling fs layer 03:29:13 0622d0fa9048: Pulling fs layer 03:29:13 444b2fc9a129: Waiting 03:29:13 ea15f1150254: Waiting 03:29:13 28c525ee5125: Waiting 03:29:13 138eaada9080: Waiting 03:29:13 0622d0fa9048: Waiting 03:29:13 2cc5ad85d9ab: Verifying Checksum 03:29:13 2cc5ad85d9ab: Download complete 03:29:13 444b2fc9a129: Verifying Checksum 03:29:13 444b2fc9a129: Download complete 03:29:13 c9b1b535fdd9: Verifying Checksum 03:29:13 c9b1b535fdd9: Download complete 03:29:13 ea15f1150254: Verifying Checksum 03:29:13 ea15f1150254: Download complete 03:29:13 28c525ee5125: Verifying Checksum 03:29:13 28c525ee5125: Download complete 03:29:13 756a868c4378: Download complete 03:29:13 c9b1b535fdd9: Pull complete 03:29:13 138eaada9080: Verifying Checksum 03:29:13 138eaada9080: Download complete 03:29:13 0622d0fa9048: Verifying Checksum 03:29:13 0622d0fa9048: Download complete 03:29:13 094b1ea09ed8: Verifying Checksum 03:29:13 094b1ea09ed8: Download complete 03:29:13 2cc5ad85d9ab: Pull complete 03:29:14 41b27a9f41bf: Verifying Checksum 03:29:14 41b27a9f41bf: Download complete 03:29:15 756a868c4378: Pull complete 03:29:15 444b2fc9a129: Pull complete 03:29:16 ea15f1150254: Pull complete 03:29:20 41b27a9f41bf: Pull complete 03:29:20 28c525ee5125: Pull complete 03:29:22 094b1ea09ed8: Pull complete 03:29:22 138eaada9080: Pull complete 03:29:22 0622d0fa9048: Pull complete 03:29:22 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 03:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:29:23 prd-centos7-docker-4c-2g-2490 does not seem to be running inside a container 03:29: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-134 -v /w/workspace/xfoundry_device-modbus-go_PR-134:/w/workspace/xfoundry_device-modbus-go_PR-134:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-134@tmp:/w/workspace/xfoundry_device-modbus-go_PR-134@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 03:29:24 $ docker top b3ab0b9779adb606b99199166c3b007c9b7101e1cd985c7ccb3948588f67e260 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:29:24 provisioning config files... 03:29:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config4985210105512277853tmp [Pipeline] { [Pipeline] echo 03:29:24 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:29:24 ---> create-netrc.sh [Pipeline] echo 03:29:24 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:29:25 ---> logs-deploy.sh 03:29:25 + ARCHIVE_ARTIFACTS= 03:29:25 + LOGS_SERVER=https://logs.edgexfoundry.org 03:29:25 + '[' https://logs.edgexfoundry.org == None ']' 03:29:25 + NEXUS_URL=https://nexus.edgexfoundry.org 03:29:25 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/1 03:29:25 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/1/ 03:29:25 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/1 /w/workspace/xfoundry_device-modbus-go_PR-134 03:29:26 Archives upload complete. 03:29:26 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/1/