Pull request #134 updated 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 ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30+30534e99e394efc00c176be032a98ac6c7eba5ce (32f10d888a8c74c39f310db65de38e6a771f48bb) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision 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 [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 ‘prd-centos7-docker-4c-2g-2706’ is offline Running on prd-centos7-docker-4c-2g-2707 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 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git Fetching without tags > 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 > 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 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 Merge succeeded, producing ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 Checking out Revision ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 (PR-134) > git config core.sparsecheckout # timeout=10 > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # 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 ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # 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. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:38:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 23:38:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:00 23:39:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:39:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:01 latest: Pulling from edgex-devops/git-semver 23:39:01 9123ac7c32f7: Pulling fs layer 23:39:01 b8cc5d1170e3: Pulling fs layer 23:39:01 2924cbbf6a41: Pulling fs layer 23:39:01 93b08a4f1073: Pulling fs layer 23:39:01 93b08a4f1073: Waiting 23:39:01 b8cc5d1170e3: Download complete 23:39:01 9123ac7c32f7: Verifying Checksum 23:39:01 9123ac7c32f7: Download complete 23:39:01 93b08a4f1073: Verifying Checksum 23:39:01 93b08a4f1073: Download complete 23:39:01 2924cbbf6a41: Verifying Checksum 23:39:01 2924cbbf6a41: Download complete 23:39:02 9123ac7c32f7: Pull complete 23:39:02 b8cc5d1170e3: Pull complete 23:39:03 2924cbbf6a41: Pull complete 23:39:03 93b08a4f1073: Pull complete 23:39:03 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 23:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:39:04 prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container 23:39:04 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:39:05 $ docker top e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:39:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:05 [ssh-agent] Looking for ssh-agent implementation... 23:39:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:05 $ docker exec e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent 23:39:06 SSH_AUTH_SOCK=/tmp/ssh-jDxXOi6sSs5f/agent.15 23:39:06 SSH_AGENT_PID=21 23:39:06 Running ssh-add (command line suppressed) 23:39:06 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_7519335506846982920.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_7519335506846982920.key) 23:39:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:07 + git describe --exact-match --tags HEAD 23:39:07 fatal: No names found, cannot describe anything. [Pipeline] } 23:39:07 $ docker exec --env ******** --env ******** e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent -k 23:39:07 unset SSH_AUTH_SOCK; 23:39:07 unset SSH_AGENT_PID; 23:39:07 echo Agent pid 21 killed; 23:39:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:39:07 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 23:39:07 This usually means this commit has not been tagged. [Pipeline] sshagent 23:39:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:07 [ssh-agent] Looking for ssh-agent implementation... 23:39:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:08 $ docker exec e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent 23:39:08 SSH_AUTH_SOCK=/tmp/ssh-680mlAWFvZfc/agent.56 23:39:08 SSH_AGENT_PID=63 23:39:08 Running ssh-add (command line suppressed) 23:39:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4298814479107896554.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_4298814479107896554.key) 23:39:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:10 + git semver init 23:39:10 # -> Open(): unable to determine branch for HEAD 23:39:10 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.git 23:39:10 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-134 23:39:10 # $SEMVER_REMOTE_NAME = origin 23:39:10 # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org 23:39:10 # $SEMVER_USER_NAME = jenkins 23:39:10 # $SEMVER_BRANCH = PR-134 23:39:10 # $SEMVER_TEMP = /tmp/semver-278854571 23:39:10 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 23:39:10 # '/tmp/semver-278854571' -> '/w/workspace/xfoundry_device-modbus-go_PR-134/.semver' 23:39:10 # -> Force: false 23:39:10 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.semver [Pipeline] } 23:39:10 $ docker exec --env ******** --env ******** e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent -k 23:39:10 unset SSH_AUTH_SOCK; 23:39:10 unset SSH_AGENT_PID; 23:39:10 echo Agent pid 63 killed; 23:39:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:39:12 + git semver [Pipeline] } 23:39:12 $ docker stop --time=1 e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 23:39:14 $ docker rm -f e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 23:39:15 Stashed 21 file(s) [Pipeline] echo 23:39:15 [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 23:39:30 Still waiting to schedule task 23:39:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:39:30 Still waiting to schedule task 23:39:30 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:41:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2708 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 23:41:17 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 23:41:23 using credential edgex-jenkins-ssh 23:41:24 Cloning the remote Git repository 23:41:24 Cloning with configured refspecs honoured and without tags 23:41:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:41:24 > git init /w/workspace/device-modbus-go/3 # timeout=10 23:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:41:24 > git --version # timeout=10 23:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:24 > 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 23:41:25 Fetching without tags 23:41:25 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:41:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:41:25 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 23:41:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:41:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:41:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:41:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:25 > 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 23:41:25 > git config core.sparsecheckout # timeout=10 23:41:25 > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 23:41:26 Merge succeeded, producing ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:41:26 Checking out Revision ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 (PR-134) 23:41:25 > git remote # timeout=10 23:41:25 > git config --get remote.origin.url # timeout=10 23:41:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:26 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 23:41:26 > git rev-parse HEAD^{commit} # timeout=10 23:41:26 > git config core.sparsecheckout # timeout=10 23:41:26 > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 23:41:27 Running on prd-centos7-docker-4c-2g-2709 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws 23:41:27 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 23:41:29 using credential edgex-jenkins-ssh 23:41:29 Cloning the remote Git repository 23:41:29 Cloning with configured refspecs honoured and without tags 23:41:30 Fetching without tags 23:41:30 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." 23:41:30 Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:41:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:41:29 > git init /w/workspace/device-modbus-go/3 # timeout=10 23:41:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:41:29 > git --version # timeout=10 23:41:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:29 > 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 23:41:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:41:30 > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 23:41:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 23:41:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:41:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:30 > 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 23:41:30 > git config core.sparsecheckout # timeout=10 23:41:30 > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 23:41:30 Merge succeeded, producing ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:41:30 Checking out Revision ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 (PR-134) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:41:31 ========================================================= 23:41:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 23:41:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:41:30 > git remote # timeout=10 23:41:30 > git config --get remote.origin.url # timeout=10 23:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:30 > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 23:41:30 > git rev-parse HEAD^{commit} # timeout=10 23:41:30 > git config core.sparsecheckout # timeout=10 23:41:30 > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 23:41:32 + 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 . 23:41:33 Sending build context to Docker daemon 554kB 23:41:33 Step 1/8 : ARG BASE=golang:1.13-alpine 23:41:33 Step 2/8 : FROM ${BASE} 23:41:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:33 cde5963f3b93: Pulling fs layer 23:41:33 2a23fa8c16f7: Pulling fs layer 23:41:33 777b28850792: Pulling fs layer 23:41:33 8a11ddd9e578: Pulling fs layer 23:41:33 4cf88f913ddb: Pulling fs layer 23:41:33 1df406cf5192: Pulling fs layer 23:41:33 cd6300453558: Pulling fs layer 23:41:33 b9c365052c96: Pulling fs layer 23:41:33 a2d8cc88f415: Pulling fs layer 23:41:33 ea1d1ca13537: Pulling fs layer 23:41:33 3750a50a1c5e: Pulling fs layer 23:41:33 8a11ddd9e578: Waiting 23:41:33 4cf88f913ddb: Waiting 23:41:33 b9c365052c96: Waiting 23:41:33 a2d8cc88f415: Waiting 23:41:33 ea1d1ca13537: Waiting 23:41:33 3750a50a1c5e: Waiting 23:41:33 cd6300453558: Waiting 23:41:33 1df406cf5192: Waiting 23:41:33 777b28850792: Verifying Checksum 23:41:33 777b28850792: Download complete 23:41:33 2a23fa8c16f7: Verifying Checksum 23:41:33 2a23fa8c16f7: Download complete 23:41:33 4cf88f913ddb: Verifying Checksum 23:41:33 4cf88f913ddb: Download complete 23:41:33 1df406cf5192: Download complete 23:41:34 cde5963f3b93: Verifying Checksum 23:41:34 cde5963f3b93: Download complete 23:41:35 cde5963f3b93: Pull complete 23:41:35 Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." 23:41:35 2a23fa8c16f7: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 23:41:35 777b28850792: Pull complete [Pipeline] unstash [Pipeline] echo 23:41:35 ========================================================= 23:41:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 23:41:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:41:36 + 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 . 23:41:36 Sending build context to Docker daemon 554kB 23:41:36 Step 1/8 : ARG BASE=golang:1.13-alpine 23:41:36 Step 2/8 : FROM ${BASE} 23:41:36 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:36 e6b0cf9c0882: Pulling fs layer 23:41:36 2848faf0eed1: Pulling fs layer 23:41:36 0f37312ad70f: Pulling fs layer 23:41:36 5788d62ee057: Pulling fs layer 23:41:36 0e6b1d234666: Pulling fs layer 23:41:36 bf5d7aec512f: Pulling fs layer 23:41:36 34c802a77dc8: Pulling fs layer 23:41:36 9eb99e56ec68: Pulling fs layer 23:41:36 27c7a5d97fbd: Pulling fs layer 23:41:36 5c102a31e300: Pulling fs layer 23:41:36 dcfb455df0a1: Pulling fs layer 23:41:36 34c802a77dc8: Waiting 23:41:36 9eb99e56ec68: Waiting 23:41:36 5788d62ee057: Waiting 23:41:36 0e6b1d234666: Waiting 23:41:36 5c102a31e300: Waiting 23:41:36 dcfb455df0a1: Waiting 23:41:36 bf5d7aec512f: Waiting 23:41:36 27c7a5d97fbd: Waiting 23:41:37 0f37312ad70f: Verifying Checksum 23:41:37 0f37312ad70f: Download complete 23:41:37 2848faf0eed1: Download complete 23:41:37 0e6b1d234666: Verifying Checksum 23:41:37 0e6b1d234666: Download complete 23:41:37 bf5d7aec512f: Verifying Checksum 23:41:37 bf5d7aec512f: Download complete 23:41:37 e6b0cf9c0882: Verifying Checksum 23:41:37 e6b0cf9c0882: Download complete 23:41:37 e6b0cf9c0882: Pull complete 23:41:37 2848faf0eed1: Pull complete 23:41:38 34c802a77dc8: Verifying Checksum 23:41:38 34c802a77dc8: Download complete 23:41:38 27c7a5d97fbd: Verifying Checksum 23:41:38 27c7a5d97fbd: Download complete 23:41:38 cd6300453558: Verifying Checksum 23:41:38 cd6300453558: Download complete 23:41:38 a2d8cc88f415: Verifying Checksum 23:41:38 a2d8cc88f415: Download complete 23:41:38 5c102a31e300: Verifying Checksum 23:41:38 5c102a31e300: Download complete 23:41:38 dcfb455df0a1: Verifying Checksum 23:41:38 dcfb455df0a1: Download complete 23:41:38 9eb99e56ec68: Verifying Checksum 23:41:38 9eb99e56ec68: Download complete 23:41:38 5788d62ee057: Verifying Checksum 23:41:38 5788d62ee057: Download complete 23:41:39 0f37312ad70f: Pull complete 23:41:40 ea1d1ca13537: Verifying Checksum 23:41:40 ea1d1ca13537: Download complete 23:41:40 3750a50a1c5e: Verifying Checksum 23:41:40 3750a50a1c5e: Download complete 23:41:43 b9c365052c96: Verifying Checksum 23:41:43 b9c365052c96: Download complete 23:41:45 8a11ddd9e578: Verifying Checksum 23:41:45 8a11ddd9e578: Download complete 23:41:46 5788d62ee057: Pull complete 23:41:46 0e6b1d234666: Pull complete 23:41:46 bf5d7aec512f: Pull complete 23:41:51 34c802a77dc8: Pull complete 23:41:55 9eb99e56ec68: Pull complete 23:41:55 27c7a5d97fbd: Pull complete 23:41:56 5c102a31e300: Pull complete 23:41:56 dcfb455df0a1: Pull complete 23:41:56 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 23:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 23:41:56 ---> 7c70fe431013 23:41:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:41:56 ---> Running in ed77ec3ca3ac 23:41:56 Removing intermediate container ed77ec3ca3ac 23:41:56 ---> 7583c27105e3 23:41:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:56 ---> Running in 3f958c2c8274 23:41:57 Removing intermediate container 3f958c2c8274 23:41:57 ---> dc90428ae3b2 23:41:57 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:41:57 ---> Running in f469051c8aa8 23:41:57 8a11ddd9e578: Pull complete 23:41:57 4cf88f913ddb: Pull complete 23:41:57 1df406cf5192: Pull complete 23:41:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 23:41:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 23:41:58 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 23:41:58 (2/17) Installing libmagic (5.37-r1) 23:41:59 (3/17) Installing file (5.37-r1) 23:41:59 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 23:41:59 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 23:41:59 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 23:42:02 cd6300453558: Pull complete 23:42:02 (7/17) Installing libc-dev (0.7.2-r0) 23:42:02 (8/17) Installing g++ (9.2.0-r4) 23:42:04 (9/17) Installing fortify-headers (1.1-r0) 23:42:04 (10/17) Installing build-base (0.5-r1) 23:42:04 (11/17) Installing openssh-keygen (8.1_p1-r0) 23:42:04 (12/17) Installing libedit (20191211.3.1-r0) 23:42:04 (13/17) Installing openssh-client (8.1_p1-r0) 23:42:04 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 23:42:04 (15/17) Installing openssh-server-common (8.1_p1-r0) 23:42:04 (16/17) Installing openssh-server (8.1_p1-r0) 23:42:05 (17/17) Installing openssh (8.1_p1-r0) 23:42:05 Executing busybox-1.31.1-r8.trigger 23:42:05 OK: 214 MiB in 52 packages 23:42:07 b9c365052c96: Pull complete 23:42:07 a2d8cc88f415: Pull complete 23:42:08 ea1d1ca13537: Pull complete 23:42:09 3750a50a1c5e: Pull complete 23:42:09 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 23:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 23:42:09 ---> 78745c68409d 23:42:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:42:10 Removing intermediate container f469051c8aa8 23:42:10 ---> b9ae53aab782 23:42:10 Step 6/8 : WORKDIR /device-modbus-go 23:42:10 ---> Running in b95cb630806c 23:42:10 Removing intermediate container b95cb630806c 23:42:10 ---> 3139b0fc02e1 23:42:10 Step 7/8 : COPY . . 23:42:10 ---> 8bba1b144b0d 23:42:10 Step 8/8 : RUN go mod download 23:42:10 ---> Running in 30b002d9849f 23:42:12 go: finding github.com/BurntSushi/toml v0.3.1 23:42:12 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 23:42:12 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:42:12 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 23:42:12 go: finding github.com/bgentry/speakeasy v0.1.0 23:42:12 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 23:42:12 go: finding github.com/davecgh/go-spew v1.1.1 23:42:12 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 23:42:12 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 23:42:12 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 23:42:12 go: finding github.com/fatih/color v1.7.0 23:42:12 go: finding github.com/go-kit/kit v0.8.0 23:42:12 go: finding github.com/go-logfmt/logfmt v0.4.0 23:42:12 go: finding github.com/go-stack/stack v1.8.0 23:42:12 go: finding github.com/goburrow/modbus v0.1.0 23:42:12 go: finding github.com/goburrow/serial v0.1.0 23:42:12 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:42:12 go: finding github.com/google/uuid v1.1.1 23:42:12 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 23:42:12 go: finding github.com/gorilla/mux v1.7.0 23:42:12 go: finding github.com/hashicorp/consul v1.4.2 23:42:12 go: finding github.com/hashicorp/errwrap v1.0.0 23:42:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 23:42:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 23:42:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 23:42:12 go: finding github.com/hashicorp/go-multierror v1.0.0 23:42:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 23:42:12 go: finding github.com/hashicorp/go-sockaddr v1.0.1 23:42:12 go: finding github.com/hashicorp/go-syslog v1.0.0 23:42:12 go: finding github.com/hashicorp/go-uuid v1.0.1 23:42:12 go: finding github.com/hashicorp/go.net v0.0.1 23:42:12 go: finding github.com/hashicorp/golang-lru v0.5.1 23:42:12 go: finding github.com/hashicorp/logutils v1.0.0 23:42:12 go: finding github.com/hashicorp/mdns v1.0.0 23:42:12 go: finding github.com/hashicorp/memberlist v0.1.3 23:42:12 go: finding github.com/hashicorp/serf v0.8.2 23:42:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:42:12 go: finding github.com/mattn/go-colorable v0.0.9 23:42:12 go: finding github.com/mattn/go-isatty v0.0.3 23:42:12 go: finding github.com/miekg/dns v1.1.4 23:42:12 go: finding github.com/mitchellh/cli v1.0.0 23:42:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:42:12 go: finding github.com/mitchellh/copystructure v1.0.0 23:42:12 go: finding github.com/mitchellh/go-homedir v1.1.0 23:42:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 23:42:12 go: finding github.com/mitchellh/go-wordwrap v1.0.0 23:42:12 go: finding github.com/mitchellh/gox v0.4.0 23:42:12 go: finding github.com/mitchellh/iochan v1.0.0 23:42:12 go: finding github.com/mitchellh/mapstructure v1.1.2 23:42:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 23:42:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:42:12 go: finding github.com/pelletier/go-toml v1.2.0 23:42:12 go: finding github.com/pkg/errors v0.8.1 23:42:12 go: finding github.com/pmezard/go-difflib v1.0.0 23:42:12 go: finding github.com/posener/complete v1.1.1 23:42:12 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 23:42:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:42:13 go: finding github.com/stretchr/objx v0.1.0 23:42:13 go: finding github.com/stretchr/testify v1.3.0 23:42:13 go: finding github.com/ugorji/go v1.1.4 23:42:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 23:42:13 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 23:42:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 23:42:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 23:42:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 23:42:13 ---> Running in ea8af53451d3 23:42:13 Removing intermediate container ea8af53451d3 23:42:13 ---> cf0b004e88d4 23:42:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:13 go: finding gopkg.in/yaml.v2 v2.2.2 23:42:13 ---> Running in 0309136b666e 23:42:16 Removing intermediate container 0309136b666e 23:42:16 ---> b9588978147d 23:42:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:42:16 ---> Running in ceb412533aae 23:42:16 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 23:42:17 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 23:42:18 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 23:42:18 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 23:42:18 (3/18) Installing libmagic (5.37-r1) 23:42:18 (4/18) Installing file (5.37-r1) 23:42:18 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 23:42:18 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 23:42:18 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 23:42:20 (8/18) Installing libc-dev (0.7.2-r0) 23:42:20 (9/18) Installing g++ (9.2.0-r4) 23:42:22 (10/18) Installing fortify-headers (1.1-r0) 23:42:22 (11/18) Installing build-base (0.5-r1) 23:42:22 (12/18) Installing openssh-keygen (8.1_p1-r0) 23:42:22 (13/18) Installing libedit (20191211.3.1-r0) 23:42:22 (14/18) Installing openssh-client (8.1_p1-r0) 23:42:22 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 23:42:22 (16/18) Installing openssh-server-common (8.1_p1-r0) 23:42:22 (17/18) Installing openssh-server (8.1_p1-r0) 23:42:22 (18/18) Installing openssh (8.1_p1-r0) 23:42:22 Executing busybox-1.31.1-r8.trigger 23:42:22 OK: 203 MiB in 52 packages 23:42:25 Removing intermediate container 30b002d9849f 23:42:25 ---> 0b05d549bbcd 23:42:25 Successfully built 0b05d549bbcd 23:42:25 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 23:42:26 + docker inspect -f . ci-base-image-x86_64 23:42:26 . [Pipeline] withDockerContainer 23:42:26 prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container 23:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** ci-base-image-x86_64 cat 23:42:27 $ docker top 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:27 + go version 23:42:27 go version go1.13.5 linux/amd64 [Pipeline] sh 23:42:27 + make test 23:42:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:42:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:42:29 Removing intermediate container ceb412533aae 23:42:29 ---> 2a440c33bf3e 23:42:29 Step 6/8 : WORKDIR /device-modbus-go 23:42:29 ---> Running in c8b9ad1be153 23:42:30 Removing intermediate container c8b9ad1be153 23:42:30 ---> e6747b83c09c 23:42:30 Step 7/8 : COPY . . 23:42:31 ---> d1bf8f70e576 23:42:31 Step 8/8 : RUN go mod download 23:42:31 ---> Running in e266a79ed33a 23:42:33 go: finding github.com/BurntSushi/toml v0.3.1 23:42:33 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 23:42:33 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:42:33 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 23:42:33 go: finding github.com/bgentry/speakeasy v0.1.0 23:42:33 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 23:42:33 go: finding github.com/davecgh/go-spew v1.1.1 23:42:33 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 23:42:33 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 23:42:33 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 23:42:33 go: finding github.com/fatih/color v1.7.0 23:42:33 go: finding github.com/go-kit/kit v0.8.0 23:42:33 go: finding github.com/go-logfmt/logfmt v0.4.0 23:42:33 go: finding github.com/go-stack/stack v1.8.0 23:42:33 go: finding github.com/goburrow/modbus v0.1.0 23:42:33 go: finding github.com/goburrow/serial v0.1.0 23:42:33 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:42:33 go: finding github.com/google/uuid v1.1.1 23:42:33 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 23:42:33 go: finding github.com/gorilla/mux v1.7.0 23:42:33 go: finding github.com/hashicorp/consul v1.4.2 23:42:33 go: finding github.com/hashicorp/errwrap v1.0.0 23:42:33 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 23:42:33 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 23:42:33 go: finding github.com/hashicorp/go-msgpack v0.5.3 23:42:33 go: finding github.com/hashicorp/go-multierror v1.0.0 23:42:33 go: finding github.com/hashicorp/go-rootcerts v1.0.0 23:42:33 go: finding github.com/hashicorp/go-sockaddr v1.0.1 23:42:33 go: finding github.com/hashicorp/go-syslog v1.0.0 23:42:33 go: finding github.com/hashicorp/go-uuid v1.0.1 23:42:33 go: finding github.com/hashicorp/go.net v0.0.1 23:42:33 go: finding github.com/hashicorp/golang-lru v0.5.1 23:42:33 go: finding github.com/hashicorp/logutils v1.0.0 23:42:33 go: finding github.com/hashicorp/mdns v1.0.0 23:42:34 go: finding github.com/hashicorp/memberlist v0.1.3 23:42:34 go: finding github.com/hashicorp/serf v0.8.2 23:42:34 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:42:34 go: finding github.com/mattn/go-colorable v0.0.9 23:42:34 go: finding github.com/mattn/go-isatty v0.0.3 23:42:34 go: finding github.com/miekg/dns v1.1.4 23:42:34 go: finding github.com/mitchellh/cli v1.0.0 23:42:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:42:34 go: finding github.com/mitchellh/copystructure v1.0.0 23:42:34 go: finding github.com/mitchellh/go-homedir v1.1.0 23:42:34 go: finding github.com/mitchellh/go-testing-interface v1.0.0 23:42:34 go: finding github.com/mitchellh/go-wordwrap v1.0.0 23:42:34 go: finding github.com/mitchellh/gox v0.4.0 23:42:34 go: finding github.com/mitchellh/iochan v1.0.0 23:42:34 go: finding github.com/mitchellh/mapstructure v1.1.2 23:42:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 23:42:34 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:42:34 go: finding github.com/pelletier/go-toml v1.2.0 23:42:34 go: finding github.com/pkg/errors v0.8.1 23:42:34 go: finding github.com/pmezard/go-difflib v1.0.0 23:42:34 go: finding github.com/posener/complete v1.1.1 23:42:34 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 23:42:34 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:42:34 go: finding github.com/stretchr/objx v0.1.0 23:42:34 go: finding github.com/stretchr/testify v1.3.0 23:42:34 go: finding github.com/ugorji/go v1.1.4 23:42:34 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 23:42:34 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 23:42:34 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 23:42:34 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 23:42:34 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 23:42:34 go: finding gopkg.in/yaml.v2 v2.2.2 23:42:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:42:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.141s coverage: 50.3% of statements 23:42:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:42:46 gofmt -l . 23:42:46 [ "`gofmt -l .`" = "" ] 23:42:46 ./bin/test-attribution-txt.sh 23:42:47 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:42:47 Stashed 1 file(s) [Pipeline] } 23:42:47 $ docker stop --time=1 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 23:42:49 $ docker rm -f 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:50 + ls -al . 23:42:50 total 100 23:42:50 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 7 23:42 . 23:42:50 drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 23:41 .. 23:42:50 -rw-rw-r--. 1 jenkins jenkins 4208 Apr 7 23:41 Attribution.txt 23:42:50 drwxrwxr-x. 2 jenkins jenkins 87 Apr 7 23:41 bin 23:42:50 drwxrwxr-x. 3 jenkins jenkins 55 Apr 7 23:41 cmd 23:42:50 -rw-r--r--. 1 jenkins jenkins 22122 Apr 7 23:42 coverage.out 23:42:50 -rw-rw-r--. 1 jenkins jenkins 1263 Apr 7 23:41 Dockerfile 23:42:50 -rw-rw-r--. 1 jenkins jenkins 954 Apr 7 23:41 Dockerfile.build 23:42:50 -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 23:41 .dockerignore 23:42:50 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 23:41 .git 23:42:50 -rw-rw-r--. 1 jenkins jenkins 338 Apr 7 23:41 .gitignore 23:42:50 -rw-r--r--. 1 jenkins jenkins 630 Apr 7 23:42 go.mod 23:42:50 -rw-r--r--. 1 jenkins jenkins 12117 Apr 7 23:42 go.sum 23:42:50 drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 23:41 internal 23:42:50 -rw-rw-r--. 1 jenkins jenkins 681 Apr 7 23:41 Jenkinsfile 23:42:50 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 23:41 LICENSE 23:42:50 -rw-rw-r--. 1 jenkins jenkins 880 Apr 7 23:41 Makefile 23:42:50 -rw-rw-r--. 1 jenkins jenkins 591 Apr 7 23:41 README.md 23:42:50 drwxrwxr-x. 3 jenkins jenkins 58 Apr 7 23:41 .semver 23:42:50 drwxrwxr-x. 2 jenkins jenkins 35 Apr 7 23:41 simulator 23:42:50 drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 23:41 snap 23:42:50 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 23:39 VERSION 23:42:50 -rw-rw-r--. 1 jenkins jenkins 229 Apr 7 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:42:51 + 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=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 --label arch=amd64 --label version=0.0.0 . 23:42:51 Sending build context to Docker daemon 582.7kB 23:42:51 Step 1/17 : ARG BASE=golang:1.13-alpine 23:42:51 Step 2/17 : FROM ${BASE} AS builder 23:42:51 ---> 0b05d549bbcd 23:42:51 Step 3/17 : ARG MAKE='make build' 23:42:51 ---> Running in 19164d4b657a 23:42:51 Removing intermediate container 19164d4b657a 23:42:51 ---> ce1149068f1b 23:42:51 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:51 ---> Running in 170a812a4258 23:42:52 Removing intermediate container 170a812a4258 23:42:52 ---> 1f8639d32e50 23:42:52 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 23:42:52 ---> Running in ff1943fb527f 23:42:52 Removing intermediate container e266a79ed33a 23:42:52 ---> b8eb45a02a8d 23:42:52 Successfully built b8eb45a02a8d 23:42:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } 23:42:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:53 + docker inspect -f . ci-base-image-arm64 23:42:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 23:42:53 OK: 214 MiB in 52 packages 23:42:53 . [Pipeline] withDockerContainer 23:42:54 prd-ubuntu18.04-docker-arm64-4c-16g-2708 does not seem to be running inside a container 23:42:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 23:42:54 Removing intermediate container ff1943fb527f 23:42:54 ---> 3acf3f035d2a 23:42:54 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 23:42:54 ---> Running in 08712bf5181e 23:42:54 Removing intermediate container 08712bf5181e 23:42:54 ---> 2db13f77a980 23:42:54 Step 7/17 : COPY . . 23:42:55 ---> 86d8312d1c5d 23:42:55 Step 8/17 : RUN ${MAKE} 23:42:55 ---> Running in a3040b29c790 23:42:55 $ docker top 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff -eo pid,comm 23:42:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [Pipeline] { [Pipeline] sh 23:42:56 + go version 23:42:56 go version go1.13.5 linux/arm64 [Pipeline] sh 23:42:57 + make test 23:42:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:42:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:43:08 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:43:10 Removing intermediate container a3040b29c790 23:43:10 ---> 0f9e6f40e78a 23:43:10 Step 9/17 : FROM scratch 23:43:10 ---> 23:43:10 Step 10/17 : ENV APP_PORT=49991 23:43:10 ---> Running in f07ab7b63119 23:43:10 Removing intermediate container f07ab7b63119 23:43:10 ---> 4e6ac6e3c8c2 23:43:10 Step 11/17 : EXPOSE $APP_PORT 23:43:10 ---> Running in f516ba6e77c9 23:43:10 Removing intermediate container f516ba6e77c9 23:43:10 ---> a9ab03779853 23:43:10 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 23:43:10 ---> f1ea01de36cb 23:43:10 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 23:43:10 ---> Running in 88760c42175c 23:43:11 Removing intermediate container 88760c42175c 23:43:11 ---> 63a7d85e3706 23:43:11 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 23:43:11 ---> Running in 756dba0df6bf 23:43:11 Removing intermediate container 756dba0df6bf 23:43:11 ---> e54b7176a597 23:43:11 Step 15/17 : LABEL arch=amd64 23:43:11 ---> Running in 87ca0b68fafa 23:43:11 Removing intermediate container 87ca0b68fafa 23:43:11 ---> 4ca05859e248 23:43:11 Step 16/17 : LABEL git_sha=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:43:11 ---> Running in 09df82cadf05 23:43:11 Removing intermediate container 09df82cadf05 23:43:11 ---> 590b3551e4cf 23:43:11 Step 17/17 : LABEL version=0.0.0 23:43:11 ---> Running in c72d4ad0c908 23:43:11 Removing intermediate container c72d4ad0c908 23:43:11 ---> 5f03d01424aa 23:43:11 [Warning] One or more build-args [ARCH] were not consumed 23:43:11 Successfully built 5f03d01424aa 23:43:11 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:43:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:43:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.227s coverage: 50.3% of statements 23:43:37 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:43:42 gofmt -l . 23:43:42 [ "`gofmt -l .`" = "" ] 23:43:42 ./bin/test-attribution-txt.sh 23:43:42 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:43:43 Warning: overwriting stash ‘coverage-report’ 23:43:43 Stashed 1 file(s) [Pipeline] } 23:43:43 $ docker stop --time=1 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff 23:43:46 $ docker rm -f 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:43:47 + ls -al . 23:43:47 total 132 23:43:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:43 . 23:43:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:41 .. 23:43:47 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 23:41 .dockerignore 23:43:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:41 .git 23:43:47 -rw-rw-r-- 1 jenkins jenkins 338 Apr 7 23:41 .gitignore 23:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 .semver 23:43:47 -rw-rw-r-- 1 jenkins jenkins 4208 Apr 7 23:41 Attribution.txt 23:43:47 -rw-rw-r-- 1 jenkins jenkins 1263 Apr 7 23:41 Dockerfile 23:43:47 -rw-rw-r-- 1 jenkins jenkins 954 Apr 7 23:41 Dockerfile.build 23:43:47 -rw-rw-r-- 1 jenkins jenkins 681 Apr 7 23:41 Jenkinsfile 23:43:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:41 LICENSE 23:43:47 -rw-rw-r-- 1 jenkins jenkins 880 Apr 7 23:41 Makefile 23:43:47 -rw-rw-r-- 1 jenkins jenkins 591 Apr 7 23:41 README.md 23:43:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:39 VERSION 23:43:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 bin 23:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 cmd 23:43:47 -rw-r--r-- 1 jenkins jenkins 22122 Apr 7 23:43 coverage.out 23:43:47 -rw-r--r-- 1 jenkins jenkins 630 Apr 7 23:43 go.mod 23:43:47 -rw-r--r-- 1 jenkins jenkins 12117 Apr 7 23:43 go.sum 23:43:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 internal 23:43:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 simulator 23:43:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:41 snap 23:43:47 -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 23:41 version.go [Pipeline] isUnix [Pipeline] sh 23:43:48 + 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=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 --label arch=arm64 --label version=0.0.0 . 23:43:48 Sending build context to Docker daemon 582.7kB 23:43:48 Step 1/17 : ARG BASE=golang:1.13-alpine 23:43:48 Step 2/17 : FROM ${BASE} AS builder 23:43:48 ---> b8eb45a02a8d 23:43:48 Step 3/17 : ARG MAKE='make build' 23:43:48 ---> Running in 641d26a30d2e 23:43:49 Removing intermediate container 641d26a30d2e 23:43:49 ---> e205ff2b95df 23:43:49 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:43:49 ---> Running in 1fed4bfcae60 23:43:51 Removing intermediate container 1fed4bfcae60 23:43:51 ---> e6255da39832 23:43:51 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 23:43:51 ---> Running in 84b146d045a7 23:43:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 23:43:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 23:43:53 OK: 203 MiB in 52 packages 23:43:54 Removing intermediate container 84b146d045a7 23:43:54 ---> 4fd6ccf8dc3d 23:43:54 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 23:43:54 ---> Running in 90867202f60a 23:43:54 Removing intermediate container 90867202f60a 23:43:54 ---> 7be519e59899 23:43:54 Step 7/17 : COPY . . 23:43:55 ---> 18217faddf8c 23:43:55 Step 8/17 : RUN ${MAKE} 23:43:55 ---> Running in 2a740f3adb0c 23:43:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 23:44:35 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:44:42 Removing intermediate container 2a740f3adb0c 23:44:42 ---> 943241b878d5 23:44:42 Step 9/17 : FROM scratch 23:44:42 ---> 23:44:42 Step 10/17 : ENV APP_PORT=49991 23:44:42 ---> Running in 4860611cb292 23:44:42 Removing intermediate container 4860611cb292 23:44:42 ---> 43248b389bb5 23:44:42 Step 11/17 : EXPOSE $APP_PORT 23:44:42 ---> Running in 3ad0617b07e8 23:44:42 Removing intermediate container 3ad0617b07e8 23:44:42 ---> ab1feb240111 23:44:42 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 23:44:43 ---> ce2ea2f6ef2c 23:44:43 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 23:44:43 ---> Running in df3a522c882b 23:44:44 Removing intermediate container df3a522c882b 23:44:44 ---> 0800340909bf 23:44:44 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 23:44:44 ---> Running in 44f65777c098 23:44:44 Removing intermediate container 44f65777c098 23:44:44 ---> e98473688a87 23:44:44 Step 15/17 : LABEL arch=arm64 23:44:44 ---> Running in 6881b42c42c2 23:44:45 Removing intermediate container 6881b42c42c2 23:44:45 ---> 8e4cd521975a 23:44:45 Step 16/17 : LABEL git_sha=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 23:44:45 ---> Running in 88c7e74ad2b5 23:44:46 Removing intermediate container 88c7e74ad2b5 23:44:46 ---> 9b5239ac9796 23:44:46 Step 17/17 : LABEL version=0.0.0 23:44:46 ---> Running in 6ffc7ab989f7 23:44:46 Removing intermediate container 6ffc7ab989f7 23:44:46 ---> 35d8ef5ffb14 23:44:46 [Warning] One or more build-args [ARCH] were not consumed 23:44:46 Successfully built 35d8ef5ffb14 23:44:46 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 23:44:47 provisioning config files... 23:44:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config8024877644903091074tmp [Pipeline] { [Pipeline] sh 23:44:48 + curl -s https://codecov.io/bash 23:44:48 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config8024877644903091074tmp 23:44:48 23:44:48 _____ _ 23:44:48 / ____| | | 23:44:48 | | ___ __| | ___ ___ _____ __ 23:44:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:44:48 | |___| (_) | (_| | __/ (_| (_) \ V / 23:44:48 \_____\___/ \__,_|\___|\___\___/ \_/ 23:44:48 Bash-tbd 23:44:48 23:44:48 23:44:48 ==> Jenkins CI detected. 23:44:48 project root: . 23:44:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:44:48 ==> Running gcov in . (disable via -X gcov) 23:44:48 ==> Python coveragepy not found 23:44:48 ==> Searching for coverage reports in: 23:44:48 + . 23:44:48 -> Found 1 reports 23:44:48 ==> Detecting git/mercurial file structure 23:44:48 ==> Reading reports 23:44:48 + ./coverage.out bytes=22122 23:44:48 ==> Appending adjustments 23:44:48 http://docs.codecov.io/docs/fixing-reports 23:44:48 + Found adjustments 23:44:48 ==> Gzipping contents 23:44:48 ==> Uploading reports 23:44:48 url: https://codecov.io 23:44:48 query: branch=PR-134&commit=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= 23:44:48 -> Pinging Codecov 23:44:48 https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-134&commit=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= 23:44:49 -> Uploading 23:44:49 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [Pipeline] } 23:44:49 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 23:44:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:44:51 ---> package-listing.sh 23:44:51 ++ facter osfamily 23:44:51 ++ tr '[:upper:]' '[:lower:]' 23:44:51 + OS_FAMILY=redhat 23:44:51 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-134 23:44:51 + START_PACKAGES=/tmp/packages_start.txt 23:44:51 + END_PACKAGES=/tmp/packages_end.txt 23:44:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:44:51 + PACKAGES=/tmp/packages_start.txt 23:44:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 23:44:51 + PACKAGES=/tmp/packages_end.txt 23:44:51 + case "${OS_FAMILY}" in 23:44:51 + rpm -qa 23:44:51 + sort 23:44:56 + '[' -f /tmp/packages_start.txt ']' 23:44:56 + '[' -f /tmp/packages_end.txt ']' 23:44:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:44:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' 23:44:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ 23:44:56 + 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 23:44:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:44:57 23:44:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:44:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:44:57 alpine: Pulling from edgex-lftools-log-publisher 23:44:57 c9b1b535fdd9: Pulling fs layer 23:44:57 2cc5ad85d9ab: Pulling fs layer 23:44:57 756a868c4378: Pulling fs layer 23:44:57 444b2fc9a129: Pulling fs layer 23:44:57 ea15f1150254: Pulling fs layer 23:44:57 41b27a9f41bf: Pulling fs layer 23:44:57 28c525ee5125: Pulling fs layer 23:44:57 094b1ea09ed8: Pulling fs layer 23:44:57 138eaada9080: Pulling fs layer 23:44:57 0622d0fa9048: Pulling fs layer 23:44:57 444b2fc9a129: Waiting 23:44:57 ea15f1150254: Waiting 23:44:57 28c525ee5125: Waiting 23:44:57 138eaada9080: Waiting 23:44:57 094b1ea09ed8: Waiting 23:44:57 0622d0fa9048: Waiting 23:44:57 2cc5ad85d9ab: Verifying Checksum 23:44:57 2cc5ad85d9ab: Download complete 23:44:57 444b2fc9a129: Verifying Checksum 23:44:57 444b2fc9a129: Download complete 23:44:57 c9b1b535fdd9: Verifying Checksum 23:44:57 c9b1b535fdd9: Download complete 23:44:57 ea15f1150254: Verifying Checksum 23:44:57 ea15f1150254: Download complete 23:44:58 28c525ee5125: Verifying Checksum 23:44:58 28c525ee5125: Download complete 23:44:58 c9b1b535fdd9: Pull complete 23:44:58 2cc5ad85d9ab: Pull complete 23:44:58 756a868c4378: Verifying Checksum 23:44:58 756a868c4378: Download complete 23:44:59 138eaada9080: Verifying Checksum 23:44:59 138eaada9080: Download complete 23:44:59 0622d0fa9048: Verifying Checksum 23:44:59 0622d0fa9048: Download complete 23:44:59 094b1ea09ed8: Verifying Checksum 23:44:59 094b1ea09ed8: Download complete 23:45:00 41b27a9f41bf: Verifying Checksum 23:45:00 41b27a9f41bf: Download complete 23:45:02 756a868c4378: Pull complete 23:45:02 444b2fc9a129: Pull complete 23:45:02 ea15f1150254: Pull complete 23:45:06 41b27a9f41bf: Pull complete 23:45:06 28c525ee5125: Pull complete 23:45:10 094b1ea09ed8: Pull complete 23:45:10 138eaada9080: Pull complete 23:45:10 0622d0fa9048: Pull complete 23:45:10 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 23:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:45:10 prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container 23:45:10 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:45:12 $ docker top 6fd7f909922b5c24cadac153958370751b87ebb87f90b9aa716f6864ce3c907a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:45:12 provisioning config files... 23:45:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config1980215602606206885tmp [Pipeline] { [Pipeline] echo 23:45:12 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:45:13 ---> create-netrc.sh [Pipeline] echo 23:45:13 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:14 ---> logs-deploy.sh 23:45:14 + ARCHIVE_ARTIFACTS= 23:45:14 + LOGS_SERVER=https://logs.edgexfoundry.org 23:45:14 + '[' https://logs.edgexfoundry.org == None ']' 23:45:14 + NEXUS_URL=https://nexus.edgexfoundry.org 23:45:14 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/3 23:45:14 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/3/ 23:45:14 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/3 /w/workspace/xfoundry_device-modbus-go_PR-134 23:45:16 Archives upload complete. 23:45:16 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/3 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/3/ 23:45:17 ---> uname -a: 23:45:17 Linux 6fd7f909922b 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 23:45:17 23:45:17 23:45:17 ---> lscpu: 23:45:17 Architecture: x86_64 23:45:17 CPU op-mode(s): 32-bit, 64-bit 23:45:17 Byte Order: Little Endian 23:45:17 Address sizes: 40 bits physical, 48 bits virtual 23:45:17 CPU(s): 4 23:45:17 On-line CPU(s) list: 0-3 23:45:17 Thread(s) per core: 1 23:45:17 Core(s) per socket: 1 23:45:17 Socket(s): 4 23:45:17 NUMA node(s): 1 23:45:17 Vendor ID: GenuineIntel 23:45:17 CPU family: 6 23:45:17 Model: 44 23:45:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 23:45:17 Stepping: 1 23:45:17 CPU MHz: 2933.438 23:45:17 BogoMIPS: 5866.87 23:45:17 Virtualization: VT-x 23:45:17 Hypervisor vendor: KVM 23:45:17 Virtualization type: full 23:45:17 L1d cache: 128 KiB 23:45:17 L1i cache: 128 KiB 23:45:17 L2 cache: 16 MiB 23:45:17 L3 cache: 64 MiB 23:45:17 NUMA node0 CPU(s): 0-3 23:45:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 23:45:17 Vulnerability Meltdown: Mitigation; PTI 23:45:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:45:17 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 23:45:17 Vulnerability Spectre v2: Mitigation; Full retpoline 23:45:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 23:45:17 23:45:17 23:45:17 ---> nproc: 23:45:17 4 23:45:17 23:45:17 23:45:17 ---> df -h: 23:45:17 Filesystem Size Used Available Use% Mounted on 23:45:17 overlay 50.0G 6.3G 43.7G 13% / 23:45:17 tmpfs 64.0M 0 64.0M 0% /dev 23:45:17 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 23:45:17 shm 64.0M 0 64.0M 0% /dev/shm 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-134 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-134@tmp 23:45:17 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 23:45:17 23:45:17 23:45:17 ---> free -m: 23:45:17 total used free shared buff/cache available 23:45:17 Mem: 1838 599 76 0 1162 1133 23:45:17 Swap: 1023 0 1023 23:45:17 23:45:17 23:45:17 ---> ip addr: 23:45:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 23:45:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:45:17 inet 127.0.0.1/8 scope host lo 23:45:17 valid_lft forever preferred_lft forever 23:45:17 6: eth0@if7: mtu 1458 qdisc noqueue state UP 23:45:17 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 23:45:17 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 23:45:17 valid_lft forever preferred_lft forever 23:45:17 23:45:17 23:45:17 ---> sar -b -r -n DEV: 23:45:17 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/07/20 _x86_64_ (4 CPU) 23:45:17 23:45:17 23:38:05 LINUX RESTART 23:45:17 23:45:17 23:39:01 tps rtps wtps bread/s bwrtn/s 23:45:17 23:40:01 15.77 1.96 13.81 424.95 1906.32 23:45:17 23:41:01 2.25 0.02 2.23 0.53 53.48 23:45:17 23:42:02 0.40 0.00 0.40 0.00 5.85 23:45:17 23:43:01 0.17 0.00 0.17 0.00 1.63 23:45:17 23:44:01 0.28 0.00 0.28 0.00 3.66 23:45:17 23:45:01 57.61 51.72 5.89 3504.34 4090.10 23:45:17 Average: 12.79 8.98 3.81 656.98 1013.33 23:45:17 23:45:17 23:39:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:45:17 23:40:01 107184 1775120 94.31 2620 1235460 981056 33.47 438316 1177664 16 23:45:17 23:41:01 118624 1763680 93.70 2620 1235464 907232 30.95 430624 1175696 8 23:45:17 23:42:02 117360 1764944 93.77 2620 1235472 907364 30.96 431580 1175696 8 23:45:17 23:43:01 118876 1763428 93.68 2620 1235472 903120 30.81 430312 1175696 16 23:45:17 23:44:01 118504 1763800 93.70 2620 1235484 903192 30.82 430580 1175696 16 23:45:17 23:45:01 71000 1811304 96.23 2620 1241204 1113232 37.98 466308 1179224 103892 23:45:17 Average: 108591 1773713 94.23 2620 1236426 952533 32.50 437953 1176612 17326 23:45:17 23:45:17 23:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 23:45:17 23:40:01 eth0 25.55 20.98 28.58 25.39 0.00 0.00 0.00 23:45:17 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:40:01 docker0 1.58 1.25 0.27 2.94 0.00 0.00 0.00 23:45:17 23:41:01 eth0 1.10 0.15 0.20 0.01 0.00 0.00 0.00 23:45:17 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:42:02 eth0 1.00 0.65 0.62 0.40 0.00 0.00 0.00 23:45:17 23:42:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:42:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:43:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 23:45:17 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:44:01 eth0 0.22 0.15 0.13 0.07 0.00 0.00 0.00 23:45:17 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:45:01 eth0 91.70 69.18 2326.76 9.48 0.00 0.00 0.00 23:45:17 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 Average: eth0 20.00 15.24 393.91 5.91 0.00 0.00 0.00 23:45:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:45:17 Average: docker0 0.26 0.21 0.04 0.49 0.00 0.00 0.00 23:45:17 23:45:17