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 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa+30534e99e394efc00c176be032a98ac6c7eba5ce (6d5c167d5b631390e57200ea2fedf4ac37034404) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2504 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 > 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 Fetching without tags Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # 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 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # 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 rev-list --no-walk f89f38928718284bb6d85e2d507de27c5cb72ae0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-07T04:46:18.720Z] 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 [2020-04-07T04:46:20.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-07T04:46:20.941Z] [2020-04-07T04:46:20.941Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:46:21.298Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-07T04:46:21.298Z] latest: Pulling from edgex-devops/git-semver [2020-04-07T04:46:21.298Z] 9123ac7c32f7: Pulling fs layer [2020-04-07T04:46:21.298Z] b8cc5d1170e3: Pulling fs layer [2020-04-07T04:46:21.298Z] 2924cbbf6a41: Pulling fs layer [2020-04-07T04:46:21.298Z] 93b08a4f1073: Pulling fs layer [2020-04-07T04:46:21.298Z] 93b08a4f1073: Waiting [2020-04-07T04:46:21.298Z] b8cc5d1170e3: Verifying Checksum [2020-04-07T04:46:21.298Z] b8cc5d1170e3: Download complete [2020-04-07T04:46:21.561Z] 9123ac7c32f7: Verifying Checksum [2020-04-07T04:46:21.561Z] 9123ac7c32f7: Download complete [2020-04-07T04:46:21.561Z] 93b08a4f1073: Verifying Checksum [2020-04-07T04:46:21.561Z] 93b08a4f1073: Download complete [2020-04-07T04:46:21.561Z] 2924cbbf6a41: Verifying Checksum [2020-04-07T04:46:21.822Z] 9123ac7c32f7: Pull complete [2020-04-07T04:46:21.822Z] b8cc5d1170e3: Pull complete [2020-04-07T04:46:22.767Z] 2924cbbf6a41: Pull complete [2020-04-07T04:46:22.767Z] 93b08a4f1073: Pull complete [2020-04-07T04:46:22.767Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-07T04:46:22.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-07T04:46:22.903Z] prd-centos7-docker-4c-2g-2504 does not seem to be running inside a container [2020-04-07T04:46:22.948Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-04-07T04:46:23.617Z] $ docker top 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-07T04:46:23.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-07T04:46:23.962Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-07T04:46:24.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-07T04:46:24.213Z] $ docker exec 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent [2020-04-07T04:46:24.399Z] SSH_AUTH_SOCK=/tmp/ssh-JF20q10PoCCn/agent.15 [2020-04-07T04:46:24.399Z] SSH_AGENT_PID=22 [2020-04-07T04:46:24.413Z] Running ssh-add (command line suppressed) [2020-04-07T04:46:24.557Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_1898934493762235105.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_1898934493762235105.key) [2020-04-07T04:46:24.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-07T04:46:24.920Z] + git describe --exact-match --tags HEAD [2020-04-07T04:46:24.920Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-07T04:46:24.981Z] $ docker exec --env ******** --env ******** 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent -k [2020-04-07T04:46:25.119Z] unset SSH_AUTH_SOCK; [2020-04-07T04:46:25.119Z] unset SSH_AGENT_PID; [2020-04-07T04:46:25.119Z] echo Agent pid 22 killed; [2020-04-07T04:46:25.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-07T04:46:25.215Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-07T04:46:25.215Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-07T04:46:25.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-07T04:46:25.318Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-07T04:46:25.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-07T04:46:25.507Z] $ docker exec 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent [2020-04-07T04:46:25.690Z] SSH_AUTH_SOCK=/tmp/ssh-8bZsjZ0Z63wO/agent.57 [2020-04-07T04:46:25.690Z] SSH_AGENT_PID=64 [2020-04-07T04:46:25.697Z] Running ssh-add (command line suppressed) [2020-04-07T04:46:25.845Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_3153322536847195777.key (/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/private_key_3153322536847195777.key) [2020-04-07T04:46:25.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-07T04:46:26.214Z] + git semver init [2020-04-07T04:46:26.214Z] # -> Open(): unable to determine branch for HEAD [2020-04-07T04:46:26.214Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.git [2020-04-07T04:46:26.214Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T04:46:26.214Z] # $SEMVER_REMOTE_NAME = origin [2020-04-07T04:46:26.214Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-07T04:46:26.214Z] # $SEMVER_USER_NAME = jenkins [2020-04-07T04:46:26.214Z] # $SEMVER_BRANCH = PR-134 [2020-04-07T04:46:26.214Z] # $SEMVER_TEMP = /tmp/semver-608431673 [2020-04-07T04:46:26.214Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-07T04:46:26.475Z] # '/tmp/semver-608431673' -> '/w/workspace/xfoundry_device-modbus-go_PR-134/.semver' [2020-04-07T04:46:26.475Z] # -> Force: false [2020-04-07T04:46:26.475Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.semver [Pipeline] } [2020-04-07T04:46:26.488Z] $ docker exec --env ******** --env ******** 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 ssh-agent -k [2020-04-07T04:46:26.624Z] unset SSH_AUTH_SOCK; [2020-04-07T04:46:26.624Z] unset SSH_AGENT_PID; [2020-04-07T04:46:26.624Z] echo Agent pid 64 killed; [2020-04-07T04:46:26.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-07T04:46:27.108Z] + git semver [Pipeline] } [2020-04-07T04:46:27.124Z] $ docker stop --time=1 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 [2020-04-07T04:46:28.433Z] $ docker rm -f 1a553c84defd3cb4916084e4702809d908fa834c7e0329d3c46bb25419379b29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-07T04:46:29.074Z] Stashed 21 file(s) [Pipeline] echo [2020-04-07T04:46:29.076Z] [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 [2020-04-07T04:46:44.338Z] Still waiting to schedule task [2020-04-07T04:46:44.339Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2504’ [2020-04-07T04:46:44.340Z] Still waiting to schedule task [2020-04-07T04:46:44.340Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-07T04:48:52.118Z] Running on prd-centos7-docker-4c-2g-2507 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws [2020-04-07T04:48:52.162Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-04-07T04:48:54.760Z] using credential edgex-jenkins-ssh [2020-04-07T04:48:54.801Z] Cloning the remote Git repository [2020-04-07T04:48:54.801Z] Cloning with configured refspecs honoured and without tags [2020-04-07T04:48:53.496Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:48:55.407Z] Fetching without tags [2020-04-07T04:48:55.767Z] Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:48:55.854Z] Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:48:55.855Z] Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) [2020-04-07T04:48:53.533Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-04-07T04:48:53.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:48:53.576Z] > git --version # timeout=10 [2020-04-07T04:48:53.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:48:53.611Z] > 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 [2020-04-07T04:48:54.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T04:48:54.046Z] > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 [2020-04-07T04:48:54.052Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-07T04:48:54.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T04:48:54.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:48:54.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:48:54.082Z] > 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 [2020-04-07T04:48:54.442Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T04:48:54.448Z] > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 [2020-04-07T04:48:54.486Z] > git remote # timeout=10 [2020-04-07T04:48:54.493Z] > git config --get remote.origin.url # timeout=10 [2020-04-07T04:48:54.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:48:54.505Z] > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 [2020-04-07T04:48:54.515Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-07T04:48:54.524Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T04:48:54.529Z] > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 [2020-04-07T04:48:58.469Z] Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-07T04:48:59.318Z] ========================================================= [2020-04-07T04:48:59.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-07T04:48:59.318Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:49:00.061Z] + 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 . [2020-04-07T04:49:00.323Z] Sending build context to Docker daemon 554kB [2020-04-07T04:49:00.323Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-07T04:49:00.323Z] Step 2/8 : FROM ${BASE} [2020-04-07T04:49:00.323Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-07T04:49:00.323Z] e6b0cf9c0882: Pulling fs layer [2020-04-07T04:49:00.323Z] 2848faf0eed1: Pulling fs layer [2020-04-07T04:49:00.323Z] 0f37312ad70f: Pulling fs layer [2020-04-07T04:49:00.323Z] 5788d62ee057: Pulling fs layer [2020-04-07T04:49:00.323Z] 0e6b1d234666: Pulling fs layer [2020-04-07T04:49:00.323Z] bf5d7aec512f: Pulling fs layer [2020-04-07T04:49:00.323Z] 34c802a77dc8: Pulling fs layer [2020-04-07T04:49:00.323Z] 9eb99e56ec68: Pulling fs layer [2020-04-07T04:49:00.323Z] 27c7a5d97fbd: Pulling fs layer [2020-04-07T04:49:00.323Z] 5c102a31e300: Pulling fs layer [2020-04-07T04:49:00.323Z] dcfb455df0a1: Pulling fs layer [2020-04-07T04:49:00.323Z] 34c802a77dc8: Waiting [2020-04-07T04:49:00.323Z] 9eb99e56ec68: Waiting [2020-04-07T04:49:00.323Z] 5788d62ee057: Waiting [2020-04-07T04:49:00.323Z] 27c7a5d97fbd: Waiting [2020-04-07T04:49:00.323Z] 5c102a31e300: Waiting [2020-04-07T04:49:00.323Z] dcfb455df0a1: Waiting [2020-04-07T04:49:00.323Z] 0e6b1d234666: Waiting [2020-04-07T04:49:00.323Z] bf5d7aec512f: Waiting [2020-04-07T04:49:00.323Z] 0f37312ad70f: Download complete [2020-04-07T04:49:00.323Z] 2848faf0eed1: Verifying Checksum [2020-04-07T04:49:00.323Z] 2848faf0eed1: Download complete [2020-04-07T04:49:00.585Z] 0e6b1d234666: Verifying Checksum [2020-04-07T04:49:00.585Z] 0e6b1d234666: Download complete [2020-04-07T04:49:00.585Z] bf5d7aec512f: Verifying Checksum [2020-04-07T04:49:00.585Z] bf5d7aec512f: Download complete [2020-04-07T04:49:00.585Z] e6b0cf9c0882: Verifying Checksum [2020-04-07T04:49:00.585Z] e6b0cf9c0882: Download complete [2020-04-07T04:49:00.852Z] e6b0cf9c0882: Pull complete [2020-04-07T04:49:01.115Z] 2848faf0eed1: Pull complete [2020-04-07T04:49:01.380Z] 34c802a77dc8: Verifying Checksum [2020-04-07T04:49:01.380Z] 34c802a77dc8: Download complete [2020-04-07T04:49:01.380Z] 27c7a5d97fbd: Verifying Checksum [2020-04-07T04:49:01.380Z] 27c7a5d97fbd: Download complete [2020-04-07T04:49:02.337Z] 5c102a31e300: Verifying Checksum [2020-04-07T04:49:02.337Z] 5c102a31e300: Download complete [2020-04-07T04:49:02.337Z] 5788d62ee057: Verifying Checksum [2020-04-07T04:49:02.337Z] 5788d62ee057: Download complete [2020-04-07T04:49:02.337Z] dcfb455df0a1: Verifying Checksum [2020-04-07T04:49:02.337Z] dcfb455df0a1: Download complete [2020-04-07T04:49:02.337Z] 9eb99e56ec68: Verifying Checksum [2020-04-07T04:49:02.337Z] 9eb99e56ec68: Download complete [2020-04-07T04:49:03.713Z] 0f37312ad70f: Pull complete [2020-04-07T04:49:10.336Z] 5788d62ee057: Pull complete [2020-04-07T04:49:10.336Z] 0e6b1d234666: Pull complete [2020-04-07T04:49:10.336Z] bf5d7aec512f: Pull complete [2020-04-07T04:49:14.555Z] 34c802a77dc8: Pull complete [2020-04-07T04:49:18.768Z] 9eb99e56ec68: Pull complete [2020-04-07T04:49:18.768Z] 27c7a5d97fbd: Pull complete [2020-04-07T04:49:19.711Z] 5c102a31e300: Pull complete [2020-04-07T04:49:19.711Z] dcfb455df0a1: Pull complete [2020-04-07T04:49:19.711Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-07T04:49:19.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-07T04:49:19.711Z] ---> 7c70fe431013 [2020-04-07T04:49:19.711Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-07T04:49:19.711Z] ---> Running in 5f36706d87e1 [2020-04-07T04:49:19.971Z] Removing intermediate container 5f36706d87e1 [2020-04-07T04:49:19.971Z] ---> 4854182fef04 [2020-04-07T04:49:19.971Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T04:49:19.971Z] ---> Running in afdcff52aced [2020-04-07T04:49:20.913Z] Removing intermediate container afdcff52aced [2020-04-07T04:49:20.913Z] ---> 3d6ee21e7e15 [2020-04-07T04:49:20.913Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T04:49:20.913Z] ---> Running in 202b530269b6 [2020-04-07T04:49:21.481Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-07T04:49:22.050Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-07T04:49:22.310Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:49:22.310Z] (2/17) Installing libmagic (5.37-r1) [2020-04-07T04:49:22.569Z] (3/17) Installing file (5.37-r1) [2020-04-07T04:49:22.569Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:49:22.828Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:49:22.828Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:49:25.376Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-07T04:49:25.635Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-07T04:49:27.540Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-07T04:49:27.540Z] (10/17) Installing build-base (0.5-r1) [2020-04-07T04:49:27.540Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-07T04:49:27.540Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-07T04:49:27.540Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-07T04:49:27.799Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-07T04:49:27.799Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-07T04:49:28.059Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-07T04:49:28.059Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-07T04:49:28.059Z] Executing busybox-1.31.1-r8.trigger [2020-04-07T04:49:28.059Z] OK: 214 MiB in 52 packages [2020-04-07T04:49:32.273Z] Removing intermediate container 202b530269b6 [2020-04-07T04:49:32.273Z] ---> 16936705cbd2 [2020-04-07T04:49:32.273Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-07T04:49:32.273Z] ---> Running in d4a4e585e9ec [2020-04-07T04:49:32.534Z] Removing intermediate container d4a4e585e9ec [2020-04-07T04:49:32.534Z] ---> 1196d3f8194a [2020-04-07T04:49:32.534Z] Step 7/8 : COPY . . [2020-04-07T04:49:32.794Z] ---> 6700a5f85101 [2020-04-07T04:49:32.794Z] Step 8/8 : RUN go mod download [2020-04-07T04:49:32.794Z] ---> Running in c50e4dadb98a [2020-04-07T04:49:34.701Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-07T04:49:34.702Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-07T04:49:34.702Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-07T04:49:34.702Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-07T04:49:34.702Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-07T04:49:34.702Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-07T04:49:34.702Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-07T04:49:34.702Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-07T04:49:34.702Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-07T04:49:34.702Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-07T04:49:34.702Z] go: finding github.com/fatih/color v1.7.0 [2020-04-07T04:49:34.702Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-07T04:49:34.702Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-07T04:49:34.702Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-07T04:49:34.702Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-07T04:49:34.702Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-07T04:49:34.702Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-07T04:49:34.702Z] go: finding github.com/google/uuid v1.1.1 [2020-04-07T04:49:34.702Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-07T04:49:34.702Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-07T04:49:34.702Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-07T04:49:34.961Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-07T04:49:34.961Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-07T04:49:34.961Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-07T04:49:34.961Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-07T04:49:34.961Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-07T04:49:34.961Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-07T04:49:34.961Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-07T04:49:34.961Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-07T04:49:34.961Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-07T04:49:34.961Z] go: finding github.com/posener/complete v1.1.1 [2020-04-07T04:49:34.961Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-07T04:49:34.961Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-07T04:49:34.961Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-07T04:49:34.961Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-07T04:49:34.961Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-07T04:49:34.961Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-07T04:49:34.961Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-07T04:49:34.961Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-07T04:49:34.961Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-07T04:49:34.961Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-07T04:49:34.961Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-07T04:49:43.085Z] Removing intermediate container c50e4dadb98a [2020-04-07T04:49:43.085Z] ---> 8da74b47b811 [2020-04-07T04:49:43.085Z] Successfully built 8da74b47b811 [2020-04-07T04:49:43.085Z] 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 [2020-04-07T04:49:43.705Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-07T04:49:43.705Z] . [Pipeline] withDockerContainer [2020-04-07T04:49:43.834Z] prd-centos7-docker-4c-2g-2507 does not seem to be running inside a container [2020-04-07T04:49:43.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-07T04:49:44.497Z] $ docker top 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-07T04:49:44.984Z] + go version [2020-04-07T04:49:44.985Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-07T04:49:45.290Z] + make test [2020-04-07T04:49:45.290Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-07T04:49:47.211Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-07T04:50:02.348Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-07T04:50:02.348Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.295s coverage: 50.3% of statements [2020-04-07T04:50:02.348Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-07T04:50:04.264Z] gofmt -l . [2020-04-07T04:50:04.264Z] [ "`gofmt -l .`" = "" ] [2020-04-07T04:50:04.264Z] ./bin/test-attribution-txt.sh [2020-04-07T04:50:04.835Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-07T04:50:05.469Z] Stashed 1 file(s) [Pipeline] } [2020-04-07T04:50:05.478Z] $ docker stop --time=1 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 [2020-04-07T04:50:06.963Z] $ docker rm -f 8d5ee95b2022731147f8418708494b78e7007a2aeba811aa4339c0a5646e2d90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-07T04:50:08.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-07T04:50:08.540Z] + ls -al . [2020-04-07T04:50:08.540Z] total 100 [2020-04-07T04:50:08.540Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 7 04:50 . [2020-04-07T04:50:08.540Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 04:48 .. [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 4208 Apr 7 04:48 Attribution.txt [2020-04-07T04:50:08.540Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 7 04:48 bin [2020-04-07T04:50:08.540Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 7 04:48 cmd [2020-04-07T04:50:08.540Z] -rw-r--r--. 1 jenkins jenkins 22122 Apr 7 04:50 coverage.out [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 1263 Apr 7 04:48 Dockerfile [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 7 04:48 Dockerfile.build [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 04:48 .dockerignore [2020-04-07T04:50:08.540Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 04:48 .git [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 7 04:48 .gitignore [2020-04-07T04:50:08.540Z] -rw-r--r--. 1 jenkins jenkins 630 Apr 7 04:50 go.mod [2020-04-07T04:50:08.540Z] -rw-r--r--. 1 jenkins jenkins 12117 Apr 7 04:50 go.sum [2020-04-07T04:50:08.540Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 04:48 internal [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 681 Apr 7 04:48 Jenkinsfile [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 04:48 LICENSE [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 7 04:48 Makefile [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 7 04:48 README.md [2020-04-07T04:50:08.540Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 7 04:48 .semver [2020-04-07T04:50:08.540Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 7 04:48 simulator [2020-04-07T04:50:08.540Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 04:48 snap [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 04:46 VERSION [2020-04-07T04:50:08.540Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 7 04:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:50:08.839Z] + 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=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa --label arch=amd64 --label version=0.0.0 . [2020-04-07T04:50:08.839Z] Sending build context to Docker daemon 582.7kB [2020-04-07T04:50:09.099Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-07T04:50:09.099Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-07T04:50:09.099Z] ---> 8da74b47b811 [2020-04-07T04:50:09.099Z] Step 3/17 : ARG MAKE='make build' [2020-04-07T04:50:09.099Z] ---> Running in 77e6d298fce5 [2020-04-07T04:50:09.099Z] Removing intermediate container 77e6d298fce5 [2020-04-07T04:50:09.099Z] ---> 077c2d3710b0 [2020-04-07T04:50:09.099Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T04:50:09.359Z] ---> Running in 5a6e1ecdb037 [2020-04-07T04:50:09.932Z] Removing intermediate container 5a6e1ecdb037 [2020-04-07T04:50:09.932Z] ---> aaccf6b3c397 [2020-04-07T04:50:09.932Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T04:50:09.932Z] ---> Running in 4bb76f01685c [2020-04-07T04:50:10.501Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-07T04:50:11.073Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-07T04:50:11.338Z] OK: 214 MiB in 52 packages [2020-04-07T04:50:11.599Z] Removing intermediate container 4bb76f01685c [2020-04-07T04:50:11.599Z] ---> 9d6e2b8ab2fc [2020-04-07T04:50:11.599Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-07T04:50:11.860Z] ---> Running in d028c1fd5e64 [2020-04-07T04:50:11.860Z] Removing intermediate container d028c1fd5e64 [2020-04-07T04:50:11.860Z] ---> c173c83678da [2020-04-07T04:50:11.860Z] Step 7/17 : COPY . . [2020-04-07T04:50:12.119Z] ---> fba50d22bd45 [2020-04-07T04:50:12.119Z] Step 8/17 : RUN ${MAKE} [2020-04-07T04:50:12.119Z] ---> Running in f3f263b34110 [2020-04-07T04:50:12.692Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-07T04:50:17.236Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2508 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws [2020-04-07T04:50:17.272Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2020-04-07T04:50:22.864Z] using credential edgex-jenkins-ssh [2020-04-07T04:50:22.960Z] Cloning the remote Git repository [2020-04-07T04:50:22.960Z] Cloning with configured refspecs honoured and without tags [2020-04-07T04:50:23.020Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:50:23.113Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2020-04-07T04:50:23.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:50:23.196Z] > git --version # timeout=10 [2020-04-07T04:50:23.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:50:23.340Z] > 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 [2020-04-07T04:50:24.149Z] Fetching without tags [2020-04-07T04:50:24.711Z] Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:50:24.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T04:50:24.079Z] > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 [2020-04-07T04:50:24.099Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-07T04:50:24.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T04:50:24.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T04:50:24.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:50:24.172Z] > 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 [2020-04-07T04:50:24.727Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T04:50:24.754Z] > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 [2020-04-07T04:50:25.001Z] > git remote # timeout=10 [2020-04-07T04:50:25.044Z] > git config --get remote.origin.url # timeout=10 [2020-04-07T04:50:25.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T04:50:25.183Z] Merge succeeded, producing 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:50:25.184Z] Checking out Revision 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa (PR-134) [2020-04-07T04:50:25.111Z] > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 [2020-04-07T04:50:25.142Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-07T04:50:25.188Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T04:50:25.226Z] > git checkout -f 7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa # timeout=10 [2020-04-07T04:50:27.684Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-07T04:50:28.623Z] Removing intermediate container f3f263b34110 [2020-04-07T04:50:28.623Z] ---> c0e8a12524bf [2020-04-07T04:50:28.623Z] Step 9/17 : FROM scratch [2020-04-07T04:50:28.623Z] ---> [2020-04-07T04:50:28.623Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-07T04:50:28.623Z] ---> Running in 113b4cf9748f [2020-04-07T04:50:28.623Z] Removing intermediate container 113b4cf9748f [2020-04-07T04:50:28.623Z] ---> ddcc9067df08 [2020-04-07T04:50:28.623Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-07T04:50:28.883Z] ---> Running in 68718d02f0c8 [2020-04-07T04:50:28.883Z] Removing intermediate container 68718d02f0c8 [2020-04-07T04:50:28.883Z] ---> 443b1a200b31 [2020-04-07T04:50:28.883Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-07T04:50:29.450Z] ---> e0fc7019caf2 [2020-04-07T04:50:29.450Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-07T04:50:29.450Z] ---> Running in f7391e74135b [2020-04-07T04:50:29.450Z] Removing intermediate container f7391e74135b [2020-04-07T04:50:29.450Z] ---> cca2e76aff98 [2020-04-07T04:50:29.450Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-07T04:50:29.556Z] Commit message: "Refactor source code for building the Modbus simulator image Use protocol, port as parameters to run Modbus TCP or Modbus RTU simulator." [2020-04-07T04:50:29.709Z] ---> Running in 72766388c9b6 [2020-04-07T04:50:29.709Z] Removing intermediate container 72766388c9b6 [2020-04-07T04:50:29.709Z] ---> 3c71a392a00d [2020-04-07T04:50:29.709Z] Step 15/17 : LABEL arch=amd64 [2020-04-07T04:50:29.709Z] ---> Running in e6f1529c3cf1 [2020-04-07T04:50:29.968Z] Removing intermediate container e6f1529c3cf1 [2020-04-07T04:50:29.968Z] ---> 9259381bc941 [2020-04-07T04:50:29.968Z] Step 16/17 : LABEL git_sha=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:50:29.968Z] ---> Running in 56953f369050 [2020-04-07T04:50:29.968Z] Removing intermediate container 56953f369050 [2020-04-07T04:50:29.968Z] ---> b63b9c261f29 [2020-04-07T04:50:29.968Z] Step 17/17 : LABEL version=0.0.0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-04-07T04:50:30.226Z] ---> Running in fc25731584d4 [2020-04-07T04:50:30.227Z] Removing intermediate container fc25731584d4 [2020-04-07T04:50:30.227Z] ---> 9d78a6347e66 [2020-04-07T04:50:30.227Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-07T04:50:30.227Z] Successfully built 9d78a6347e66 [2020-04-07T04:50:30.227Z] 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] echo [2020-04-07T04:50:30.682Z] ========================================================= [2020-04-07T04:50:30.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-07T04:50:30.682Z] ========================================================= [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } [2020-04-07T04:50:31.882Z] + 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 . [2020-04-07T04:50:32.849Z] Sending build context to Docker daemon 554kB [2020-04-07T04:50:32.849Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-07T04:50:32.849Z] Step 2/8 : FROM ${BASE} [2020-04-07T04:50:33.117Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-07T04:50:33.117Z] cde5963f3b93: Pulling fs layer [2020-04-07T04:50:33.117Z] 2a23fa8c16f7: Pulling fs layer [2020-04-07T04:50:33.117Z] 777b28850792: Pulling fs layer [2020-04-07T04:50:33.117Z] 8a11ddd9e578: Pulling fs layer [2020-04-07T04:50:33.117Z] 4cf88f913ddb: Pulling fs layer [2020-04-07T04:50:33.117Z] 1df406cf5192: Pulling fs layer [2020-04-07T04:50:33.117Z] cd6300453558: Pulling fs layer [2020-04-07T04:50:33.117Z] b9c365052c96: Pulling fs layer [2020-04-07T04:50:33.117Z] a2d8cc88f415: Pulling fs layer [2020-04-07T04:50:33.117Z] ea1d1ca13537: Pulling fs layer [2020-04-07T04:50:33.117Z] 3750a50a1c5e: Pulling fs layer [2020-04-07T04:50:33.117Z] cd6300453558: Waiting [2020-04-07T04:50:33.117Z] b9c365052c96: Waiting [2020-04-07T04:50:33.117Z] a2d8cc88f415: Waiting [2020-04-07T04:50:33.117Z] ea1d1ca13537: Waiting [2020-04-07T04:50:33.117Z] 8a11ddd9e578: Waiting [2020-04-07T04:50:33.117Z] 4cf88f913ddb: Waiting [2020-04-07T04:50:33.117Z] 3750a50a1c5e: Waiting [2020-04-07T04:50:33.117Z] 1df406cf5192: Waiting [2020-04-07T04:50:33.117Z] 777b28850792: Verifying Checksum [2020-04-07T04:50:33.117Z] 777b28850792: Download complete [2020-04-07T04:50:33.117Z] 2a23fa8c16f7: Verifying Checksum [2020-04-07T04:50:33.117Z] 2a23fa8c16f7: Download complete [2020-04-07T04:50:33.117Z] 4cf88f913ddb: Verifying Checksum [2020-04-07T04:50:33.117Z] 4cf88f913ddb: Download complete [2020-04-07T04:50:33.117Z] 1df406cf5192: Verifying Checksum [2020-04-07T04:50:33.117Z] 1df406cf5192: Download complete [2020-04-07T04:50:33.386Z] cde5963f3b93: Download complete [2020-04-07T04:50:33.992Z] cde5963f3b93: Pull complete [2020-04-07T04:50:34.989Z] 2a23fa8c16f7: Pull complete [2020-04-07T04:50:34.989Z] 777b28850792: Pull complete [2020-04-07T04:50:37.593Z] cd6300453558: Verifying Checksum [2020-04-07T04:50:37.593Z] cd6300453558: Download complete [2020-04-07T04:50:37.593Z] a2d8cc88f415: Download complete [2020-04-07T04:50:40.988Z] ea1d1ca13537: Verifying Checksum [2020-04-07T04:50:40.988Z] ea1d1ca13537: Download complete [2020-04-07T04:50:40.988Z] 3750a50a1c5e: Verifying Checksum [2020-04-07T04:50:40.988Z] 3750a50a1c5e: Download complete [2020-04-07T04:50:43.581Z] b9c365052c96: Verifying Checksum [2020-04-07T04:50:43.581Z] b9c365052c96: Download complete [2020-04-07T04:50:44.549Z] 8a11ddd9e578: Verifying Checksum [2020-04-07T04:50:44.549Z] 8a11ddd9e578: Download complete [2020-04-07T04:50:56.901Z] 8a11ddd9e578: Pull complete [2020-04-07T04:50:56.901Z] 4cf88f913ddb: Pull complete [2020-04-07T04:50:56.901Z] 1df406cf5192: Pull complete [2020-04-07T04:51:02.265Z] cd6300453558: Pull complete [2020-04-07T04:51:06.542Z] b9c365052c96: Pull complete [2020-04-07T04:51:07.129Z] a2d8cc88f415: Pull complete [2020-04-07T04:51:09.098Z] ea1d1ca13537: Pull complete [2020-04-07T04:51:09.688Z] 3750a50a1c5e: Pull complete [2020-04-07T04:51:09.688Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-07T04:51:09.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-07T04:51:09.688Z] ---> 78745c68409d [2020-04-07T04:51:09.688Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-07T04:51:13.979Z] ---> Running in c7644accab20 [2020-04-07T04:51:14.247Z] Removing intermediate container c7644accab20 [2020-04-07T04:51:14.247Z] ---> fe5acd48f928 [2020-04-07T04:51:14.247Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T04:51:14.516Z] ---> Running in bfabc85a277b [2020-04-07T04:51:16.493Z] Removing intermediate container bfabc85a277b [2020-04-07T04:51:16.493Z] ---> 156bddd359f1 [2020-04-07T04:51:16.493Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T04:51:16.766Z] ---> Running in ffa0703cc934 [2020-04-07T04:51:17.730Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-07T04:51:18.312Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-07T04:51:18.893Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:51:18.893Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:51:18.893Z] (3/18) Installing libmagic (5.37-r1) [2020-04-07T04:51:19.157Z] (4/18) Installing file (5.37-r1) [2020-04-07T04:51:19.157Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:51:19.424Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:51:19.424Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T04:51:21.998Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-07T04:51:21.998Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-07T04:51:27.335Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-07T04:51:27.335Z] (11/18) Installing build-base (0.5-r1) [2020-04-07T04:51:27.335Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-07T04:51:27.335Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-07T04:51:27.335Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-07T04:51:27.335Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-07T04:51:27.335Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-07T04:51:27.335Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-07T04:51:27.603Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-07T04:51:27.603Z] Executing busybox-1.31.1-r8.trigger [2020-04-07T04:51:27.876Z] OK: 203 MiB in 52 packages [2020-04-07T04:51:34.538Z] Removing intermediate container ffa0703cc934 [2020-04-07T04:51:34.538Z] ---> 49385904902f [2020-04-07T04:51:34.538Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-07T04:51:34.538Z] ---> Running in 98827825f083 [2020-04-07T04:51:34.538Z] Removing intermediate container 98827825f083 [2020-04-07T04:51:34.538Z] ---> 025dfa0422ff [2020-04-07T04:51:34.538Z] Step 7/8 : COPY . . [2020-04-07T04:51:35.124Z] ---> 4a1f656cd0c2 [2020-04-07T04:51:35.124Z] Step 8/8 : RUN go mod download [2020-04-07T04:51:35.392Z] ---> Running in 8d181e8f3506 [2020-04-07T04:51:37.340Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-07T04:51:37.340Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-07T04:51:37.340Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-07T04:51:37.340Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-07T04:51:37.340Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-07T04:51:37.340Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-07T04:51:37.340Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-07T04:51:37.340Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-07T04:51:37.340Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-07T04:51:37.340Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-07T04:51:37.340Z] go: finding github.com/fatih/color v1.7.0 [2020-04-07T04:51:37.340Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-07T04:51:37.340Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-07T04:51:37.340Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-07T04:51:37.606Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-07T04:51:37.606Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-07T04:51:37.606Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-07T04:51:37.606Z] go: finding github.com/google/uuid v1.1.1 [2020-04-07T04:51:37.606Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-07T04:51:37.606Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-07T04:51:37.606Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-07T04:51:37.872Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-07T04:51:37.872Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-07T04:51:37.872Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-07T04:51:37.872Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-07T04:51:37.872Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-07T04:51:37.872Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-07T04:51:37.872Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-07T04:51:37.872Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-07T04:51:37.872Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-07T04:51:38.139Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-07T04:51:38.139Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-07T04:51:38.139Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-07T04:51:38.139Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-07T04:51:38.139Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-07T04:51:38.139Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-07T04:51:38.139Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-07T04:51:38.139Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-07T04:51:38.139Z] go: finding github.com/posener/complete v1.1.1 [2020-04-07T04:51:38.139Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-07T04:51:38.139Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-07T04:51:38.139Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-07T04:51:38.139Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-07T04:51:38.407Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-07T04:51:38.407Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-07T04:51:38.407Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-07T04:51:38.407Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-07T04:51:38.407Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-07T04:51:38.407Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-07T04:51:38.407Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-07T04:51:56.633Z] Removing intermediate container 8d181e8f3506 [2020-04-07T04:51:56.634Z] ---> c83077301f34 [2020-04-07T04:51:56.634Z] Successfully built c83077301f34 [2020-04-07T04:51:56.634Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:51:57.252Z] + docker inspect -f . ci-base-image-arm64 [2020-04-07T04:51:57.521Z] . [Pipeline] withDockerContainer [2020-04-07T04:51:57.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-2508 does not seem to be running inside a container [2020-04-07T04:51:57.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-07T04:51:59.345Z] $ docker top da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-07T04:52:00.420Z] + go version [2020-04-07T04:52:00.420Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-07T04:52:01.092Z] + make test [2020-04-07T04:52:01.092Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-07T04:52:02.064Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-07T04:52:41.019Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-07T04:52:41.019Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.238s coverage: 50.3% of statements [2020-04-07T04:52:41.019Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-07T04:52:46.388Z] gofmt -l . [2020-04-07T04:52:46.388Z] [ "`gofmt -l .`" = "" ] [2020-04-07T04:52:46.388Z] ./bin/test-attribution-txt.sh [2020-04-07T04:52:46.665Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-07T04:52:46.948Z] Warning: overwriting stash ‘coverage-report’ [2020-04-07T04:52:47.342Z] Stashed 1 file(s) [Pipeline] } [2020-04-07T04:52:47.344Z] $ docker stop --time=1 da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 [2020-04-07T04:52:49.579Z] $ docker rm -f da881bd0b0a74e4096f1274144896bdc3d74953508e57f27eecc6a7efee82020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-07T04:52:50.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-07T04:52:51.191Z] + ls -al . [2020-04-07T04:52:51.191Z] total 132 [2020-04-07T04:52:51.191Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 04:52 . [2020-04-07T04:52:51.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:50 .. [2020-04-07T04:52:51.191Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 04:50 .dockerignore [2020-04-07T04:52:51.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 04:50 .git [2020-04-07T04:52:51.191Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 7 04:50 .gitignore [2020-04-07T04:52:51.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 .semver [2020-04-07T04:52:51.191Z] -rw-rw-r-- 1 jenkins jenkins 4208 Apr 7 04:50 Attribution.txt [2020-04-07T04:52:51.191Z] -rw-rw-r-- 1 jenkins jenkins 1263 Apr 7 04:50 Dockerfile [2020-04-07T04:52:51.191Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 7 04:50 Dockerfile.build [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 681 Apr 7 04:50 Jenkinsfile [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 04:50 LICENSE [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 7 04:50 Makefile [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 7 04:50 README.md [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 04:46 VERSION [2020-04-07T04:52:51.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:50 bin [2020-04-07T04:52:51.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 cmd [2020-04-07T04:52:51.192Z] -rw-r--r-- 1 jenkins jenkins 22122 Apr 7 04:52 coverage.out [2020-04-07T04:52:51.192Z] -rw-r--r-- 1 jenkins jenkins 630 Apr 7 04:52 go.mod [2020-04-07T04:52:51.192Z] -rw-r--r-- 1 jenkins jenkins 12117 Apr 7 04:52 go.sum [2020-04-07T04:52:51.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 04:50 internal [2020-04-07T04:52:51.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:50 simulator [2020-04-07T04:52:51.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:50 snap [2020-04-07T04:52:51.192Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 04:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:52:51.519Z] + 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=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa --label arch=arm64 --label version=0.0.0 . [2020-04-07T04:52:51.788Z] Sending build context to Docker daemon 582.7kB [2020-04-07T04:52:52.054Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-07T04:52:52.054Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-07T04:52:52.054Z] ---> c83077301f34 [2020-04-07T04:52:52.054Z] Step 3/17 : ARG MAKE='make build' [2020-04-07T04:52:52.054Z] ---> Running in 21773b11d0f5 [2020-04-07T04:52:52.321Z] Removing intermediate container 21773b11d0f5 [2020-04-07T04:52:52.321Z] ---> 740d73b0e809 [2020-04-07T04:52:52.321Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T04:52:52.587Z] ---> Running in 7dc1eacd4dff [2020-04-07T04:52:54.621Z] Removing intermediate container 7dc1eacd4dff [2020-04-07T04:52:54.621Z] ---> 73164a903c12 [2020-04-07T04:52:54.621Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T04:52:54.621Z] ---> Running in b55e25f59436 [2020-04-07T04:52:55.605Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-07T04:52:56.564Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-07T04:52:57.151Z] OK: 203 MiB in 52 packages [2020-04-07T04:52:58.114Z] Removing intermediate container b55e25f59436 [2020-04-07T04:52:58.114Z] ---> 621093051312 [2020-04-07T04:52:58.114Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-07T04:52:58.384Z] ---> Running in e362aef13498 [2020-04-07T04:52:58.653Z] Removing intermediate container e362aef13498 [2020-04-07T04:52:58.653Z] ---> 0400758298d3 [2020-04-07T04:52:58.653Z] Step 7/17 : COPY . . [2020-04-07T04:52:59.621Z] ---> 0a7de761366a [2020-04-07T04:52:59.621Z] Step 8/17 : RUN ${MAKE} [2020-04-07T04:52:59.621Z] ---> Running in 84a6a0b838a7 [2020-04-07T04:53:00.605Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-04-07T04:53:39.519Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-07T04:53:42.863Z] Removing intermediate container 84a6a0b838a7 [2020-04-07T04:53:42.863Z] ---> 8e7cae71607b [2020-04-07T04:53:42.863Z] Step 9/17 : FROM scratch [2020-04-07T04:53:42.863Z] ---> [2020-04-07T04:53:42.863Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-07T04:53:42.863Z] ---> Running in 5de6012f5143 [2020-04-07T04:53:42.863Z] Removing intermediate container 5de6012f5143 [2020-04-07T04:53:42.863Z] ---> f2b36885f89d [2020-04-07T04:53:42.863Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-07T04:53:42.863Z] ---> Running in 00d9041e8853 [2020-04-07T04:53:43.132Z] Removing intermediate container 00d9041e8853 [2020-04-07T04:53:43.132Z] ---> 52fa47a3cfa6 [2020-04-07T04:53:43.132Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-07T04:53:44.544Z] ---> cbe6d45639ff [2020-04-07T04:53:44.544Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-07T04:53:44.544Z] ---> Running in 2eae97c22d0e [2020-04-07T04:53:44.813Z] Removing intermediate container 2eae97c22d0e [2020-04-07T04:53:44.813Z] ---> bc59e0fb23eb [2020-04-07T04:53:44.813Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-07T04:53:45.080Z] ---> Running in 47b2b1d5dfd9 [2020-04-07T04:53:45.348Z] Removing intermediate container 47b2b1d5dfd9 [2020-04-07T04:53:45.348Z] ---> 3abe477a1d47 [2020-04-07T04:53:45.348Z] Step 15/17 : LABEL arch=arm64 [2020-04-07T04:53:45.348Z] ---> Running in 10b37a8d0b50 [2020-04-07T04:53:45.614Z] Removing intermediate container 10b37a8d0b50 [2020-04-07T04:53:45.614Z] ---> a7dd41ca7df9 [2020-04-07T04:53:45.614Z] Step 16/17 : LABEL git_sha=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [2020-04-07T04:53:45.883Z] ---> Running in f7acfc313af1 [2020-04-07T04:53:46.150Z] Removing intermediate container f7acfc313af1 [2020-04-07T04:53:46.150Z] ---> 28a1c7df36fc [2020-04-07T04:53:46.150Z] Step 17/17 : LABEL version=0.0.0 [2020-04-07T04:53:46.417Z] ---> Running in 27c7eb52520b [2020-04-07T04:53:46.683Z] Removing intermediate container 27c7eb52520b [2020-04-07T04:53:46.683Z] ---> 93777504e50b [2020-04-07T04:53:46.683Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-07T04:53:46.683Z] Successfully built 93777504e50b [2020-04-07T04:53:46.683Z] 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 [2020-04-07T04:53:47.632Z] provisioning config files... [2020-04-07T04:53:47.643Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config9080286371548465547tmp [Pipeline] { [Pipeline] sh [2020-04-07T04:53:48.002Z] + curl -s https://codecov.io/bash [2020-04-07T04:53:48.002Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config9080286371548465547tmp [2020-04-07T04:53:48.264Z] [2020-04-07T04:53:48.264Z] _____ _ [2020-04-07T04:53:48.264Z] / ____| | | [2020-04-07T04:53:48.264Z] | | ___ __| | ___ ___ _____ __ [2020-04-07T04:53:48.264Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-07T04:53:48.264Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-07T04:53:48.264Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-07T04:53:48.264Z] Bash-tbd [2020-04-07T04:53:48.264Z] [2020-04-07T04:53:48.264Z] [2020-04-07T04:53:48.264Z] ==> Jenkins CI detected. [2020-04-07T04:53:48.264Z] project root: . [2020-04-07T04:53:48.264Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-07T04:53:48.264Z] ==> Running gcov in . (disable via -X gcov) [2020-04-07T04:53:48.264Z] ==> Python coveragepy not found [2020-04-07T04:53:48.264Z] ==> Searching for coverage reports in: [2020-04-07T04:53:48.264Z] + . [2020-04-07T04:53:48.264Z] -> Found 1 reports [2020-04-07T04:53:48.264Z] ==> Detecting git/mercurial file structure [2020-04-07T04:53:48.264Z] ==> Reading reports [2020-04-07T04:53:48.264Z] + ./coverage.out bytes=22122 [2020-04-07T04:53:48.264Z] ==> Appending adjustments [2020-04-07T04:53:48.264Z] http://docs.codecov.io/docs/fixing-reports [2020-04-07T04:53:48.523Z] + Found adjustments [2020-04-07T04:53:48.523Z] ==> Gzipping contents [2020-04-07T04:53:48.523Z] ==> Uploading reports [2020-04-07T04:53:48.523Z] url: https://codecov.io [2020-04-07T04:53:48.523Z] query: branch=PR-134&commit=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= [2020-04-07T04:53:48.523Z] -> Pinging Codecov [2020-04-07T04:53:48.523Z] https://codecov.io/upload/v4?package=bash-tbd&token=secret&branch=PR-134&commit=7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-134%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=134&job= [2020-04-07T04:53:49.092Z] -> Uploading [2020-04-07T04:53:49.351Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7c6cdba8d777f217c64fb31bb3cd4b4c4cd1ddfa [Pipeline] } [2020-04-07T04:53:49.358Z] 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 [2020-04-07T04:53:50.535Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T04:53:50.833Z] ---> package-listing.sh [2020-04-07T04:53:50.833Z] ++ facter osfamily [2020-04-07T04:53:50.833Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-07T04:53:50.833Z] + OS_FAMILY=redhat [2020-04-07T04:53:50.833Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T04:53:50.833Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-07T04:53:50.833Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-07T04:53:50.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-07T04:53:50.833Z] + PACKAGES=/tmp/packages_start.txt [2020-04-07T04:53:50.833Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' [2020-04-07T04:53:50.833Z] + PACKAGES=/tmp/packages_end.txt [2020-04-07T04:53:50.833Z] + case "${OS_FAMILY}" in [2020-04-07T04:53:50.833Z] + rpm -qa [2020-04-07T04:53:50.833Z] + sort [2020-04-07T04:53:55.030Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-07T04:53:55.030Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-07T04:53:55.030Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-07T04:53:55.030Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' [2020-04-07T04:53:55.030Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ [2020-04-07T04:53:55.030Z] + 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 [2020-04-07T04:53:55.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-07T04:53:55.489Z] [2020-04-07T04:53:55.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-07T04:53:55.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-07T04:53:55.819Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-07T04:53:55.819Z] c9b1b535fdd9: Pulling fs layer [2020-04-07T04:53:55.819Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-07T04:53:55.819Z] 756a868c4378: Pulling fs layer [2020-04-07T04:53:55.819Z] 444b2fc9a129: Pulling fs layer [2020-04-07T04:53:55.819Z] ea15f1150254: Pulling fs layer [2020-04-07T04:53:55.819Z] 41b27a9f41bf: Pulling fs layer [2020-04-07T04:53:55.819Z] 28c525ee5125: Pulling fs layer [2020-04-07T04:53:55.819Z] 094b1ea09ed8: Pulling fs layer [2020-04-07T04:53:55.819Z] 138eaada9080: Pulling fs layer [2020-04-07T04:53:55.819Z] 0622d0fa9048: Pulling fs layer [2020-04-07T04:53:55.819Z] 28c525ee5125: Waiting [2020-04-07T04:53:55.819Z] 094b1ea09ed8: Waiting [2020-04-07T04:53:55.819Z] 138eaada9080: Waiting [2020-04-07T04:53:55.819Z] 444b2fc9a129: Waiting [2020-04-07T04:53:55.819Z] 0622d0fa9048: Waiting [2020-04-07T04:53:55.819Z] 41b27a9f41bf: Waiting [2020-04-07T04:53:55.819Z] ea15f1150254: Waiting [2020-04-07T04:53:55.819Z] 2cc5ad85d9ab: Download complete [2020-04-07T04:53:55.819Z] 444b2fc9a129: Verifying Checksum [2020-04-07T04:53:55.819Z] 444b2fc9a129: Download complete [2020-04-07T04:53:55.819Z] c9b1b535fdd9: Verifying Checksum [2020-04-07T04:53:55.819Z] c9b1b535fdd9: Download complete [2020-04-07T04:53:56.093Z] ea15f1150254: Verifying Checksum [2020-04-07T04:53:56.094Z] ea15f1150254: Download complete [2020-04-07T04:53:56.094Z] 28c525ee5125: Verifying Checksum [2020-04-07T04:53:56.094Z] 28c525ee5125: Download complete [2020-04-07T04:53:56.363Z] 756a868c4378: Verifying Checksum [2020-04-07T04:53:56.363Z] 756a868c4378: Download complete [2020-04-07T04:53:56.363Z] c9b1b535fdd9: Pull complete [2020-04-07T04:53:56.363Z] 138eaada9080: Verifying Checksum [2020-04-07T04:53:56.363Z] 138eaada9080: Download complete [2020-04-07T04:53:56.363Z] 0622d0fa9048: Verifying Checksum [2020-04-07T04:53:56.363Z] 0622d0fa9048: Download complete [2020-04-07T04:53:56.643Z] 094b1ea09ed8: Verifying Checksum [2020-04-07T04:53:56.643Z] 094b1ea09ed8: Download complete [2020-04-07T04:53:56.643Z] 2cc5ad85d9ab: Pull complete [2020-04-07T04:53:57.215Z] 41b27a9f41bf: Verifying Checksum [2020-04-07T04:53:57.215Z] 41b27a9f41bf: Download complete [2020-04-07T04:53:58.157Z] 756a868c4378: Pull complete [2020-04-07T04:53:58.157Z] 444b2fc9a129: Pull complete [2020-04-07T04:53:58.416Z] ea15f1150254: Pull complete [2020-04-07T04:54:01.717Z] 41b27a9f41bf: Pull complete [2020-04-07T04:54:01.717Z] 28c525ee5125: Pull complete [2020-04-07T04:54:03.630Z] 094b1ea09ed8: Pull complete [2020-04-07T04:54:03.893Z] 138eaada9080: Pull complete [2020-04-07T04:54:03.893Z] 0622d0fa9048: Pull complete [2020-04-07T04:54:03.893Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-07T04:54:03.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-07T04:54:04.066Z] prd-centos7-docker-4c-2g-2504 does not seem to be running inside a container [2020-04-07T04:54:04.118Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-04-07T04:54:05.116Z] $ docker top 2a14aa4cd9fe04f0dc786b67d15838bdf38d56a1b98da5e99bf1dbc822adf23a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-07T04:54:05.336Z] provisioning config files... [2020-04-07T04:54:05.351Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config5238381893236576523tmp [Pipeline] { [Pipeline] echo [2020-04-07T04:54:05.397Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T04:54:05.688Z] ---> create-netrc.sh [Pipeline] echo [2020-04-07T04:54:05.696Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T04:54:05.994Z] ---> logs-deploy.sh [2020-04-07T04:54:05.994Z] + ARCHIVE_ARTIFACTS= [2020-04-07T04:54:05.994Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-07T04:54:05.994Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-07T04:54:05.994Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-07T04:54:05.994Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 [2020-04-07T04:54:05.994Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/2/ [2020-04-07T04:54:05.994Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 /w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T04:54:07.371Z] Archives upload complete. [2020-04-07T04:54:07.371Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/2/