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 [2020-04-07T23:38:57.524Z] 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 [2020-04-07T23:38:59.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-07T23:39:00.056Z] [2020-04-07T23:39:00.056Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:39:00.752Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-07T23:39:01.031Z] latest: Pulling from edgex-devops/git-semver [2020-04-07T23:39:01.031Z] 9123ac7c32f7: Pulling fs layer [2020-04-07T23:39:01.031Z] b8cc5d1170e3: Pulling fs layer [2020-04-07T23:39:01.031Z] 2924cbbf6a41: Pulling fs layer [2020-04-07T23:39:01.031Z] 93b08a4f1073: Pulling fs layer [2020-04-07T23:39:01.031Z] 93b08a4f1073: Waiting [2020-04-07T23:39:01.031Z] b8cc5d1170e3: Download complete [2020-04-07T23:39:01.367Z] 9123ac7c32f7: Verifying Checksum [2020-04-07T23:39:01.367Z] 9123ac7c32f7: Download complete [2020-04-07T23:39:01.636Z] 93b08a4f1073: Verifying Checksum [2020-04-07T23:39:01.636Z] 93b08a4f1073: Download complete [2020-04-07T23:39:01.636Z] 2924cbbf6a41: Verifying Checksum [2020-04-07T23:39:01.636Z] 2924cbbf6a41: Download complete [2020-04-07T23:39:02.215Z] 9123ac7c32f7: Pull complete [2020-04-07T23:39:02.215Z] b8cc5d1170e3: Pull complete [2020-04-07T23:39:03.615Z] 2924cbbf6a41: Pull complete [2020-04-07T23:39:03.885Z] 93b08a4f1073: Pull complete [2020-04-07T23:39:03.885Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-07T23:39:03.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-07T23:39:04.065Z] prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container [2020-04-07T23:39:04.136Z] $ 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 [2020-04-07T23:39:05.082Z] $ docker top e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-07T23:39:05.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-07T23:39:05.418Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-07T23:39:05.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-07T23:39:05.983Z] $ docker exec e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent [2020-04-07T23:39:06.327Z] SSH_AUTH_SOCK=/tmp/ssh-jDxXOi6sSs5f/agent.15 [2020-04-07T23:39:06.327Z] SSH_AGENT_PID=21 [2020-04-07T23:39:06.352Z] Running ssh-add (command line suppressed) [2020-04-07T23:39:06.648Z] 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) [2020-04-07T23:39:06.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-07T23:39:07.079Z] + git describe --exact-match --tags HEAD [2020-04-07T23:39:07.079Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-07T23:39:07.190Z] $ docker exec --env ******** --env ******** e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent -k [2020-04-07T23:39:07.720Z] unset SSH_AUTH_SOCK; [2020-04-07T23:39:07.721Z] unset SSH_AGENT_PID; [2020-04-07T23:39:07.721Z] echo Agent pid 21 killed; [2020-04-07T23:39:07.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-07T23:39:07.857Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-07T23:39:07.857Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-07T23:39:07.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-07T23:39:07.960Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-07T23:39:08.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-07T23:39:08.523Z] $ docker exec e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent [2020-04-07T23:39:08.943Z] SSH_AUTH_SOCK=/tmp/ssh-680mlAWFvZfc/agent.56 [2020-04-07T23:39:08.943Z] SSH_AGENT_PID=63 [2020-04-07T23:39:08.954Z] Running ssh-add (command line suppressed) [2020-04-07T23:39:09.311Z] 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) [2020-04-07T23:39:09.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-07T23:39:10.178Z] + git semver init [2020-04-07T23:39:10.178Z] # -> Open(): unable to determine branch for HEAD [2020-04-07T23:39:10.178Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.git [2020-04-07T23:39:10.178Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T23:39:10.178Z] # $SEMVER_REMOTE_NAME = origin [2020-04-07T23:39:10.178Z] # $SEMVER_USER_EMAIL = jenkins@edgexfoundry.org [2020-04-07T23:39:10.178Z] # $SEMVER_USER_NAME = jenkins [2020-04-07T23:39:10.178Z] # $SEMVER_BRANCH = PR-134 [2020-04-07T23:39:10.178Z] # $SEMVER_TEMP = /tmp/semver-278854571 [2020-04-07T23:39:10.178Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-07T23:39:10.466Z] # '/tmp/semver-278854571' -> '/w/workspace/xfoundry_device-modbus-go_PR-134/.semver' [2020-04-07T23:39:10.466Z] # -> Force: false [2020-04-07T23:39:10.466Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-134/.semver [Pipeline] } [2020-04-07T23:39:10.491Z] $ docker exec --env ******** --env ******** e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 ssh-agent -k [2020-04-07T23:39:10.827Z] unset SSH_AUTH_SOCK; [2020-04-07T23:39:10.827Z] unset SSH_AGENT_PID; [2020-04-07T23:39:10.828Z] echo Agent pid 63 killed; [2020-04-07T23:39:10.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-07T23:39:12.179Z] + git semver [Pipeline] } [2020-04-07T23:39:12.227Z] $ docker stop --time=1 e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 [2020-04-07T23:39:14.063Z] $ docker rm -f e40cd5b1e77ea4689a8fa3e8592f9c58bd0f0bb15cab5ea77883977369f027f9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-07T23:39:15.542Z] Stashed 21 file(s) [Pipeline] echo [2020-04-07T23:39:15.544Z] [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-07T23:39:30.788Z] Still waiting to schedule task [2020-04-07T23:39:30.788Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-07T23:39:30.790Z] Still waiting to schedule task [2020-04-07T23:39:30.790Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-04-07T23:41:17.729Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2708 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws [2020-04-07T23:41:17.777Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-04-07T23:41:23.958Z] using credential edgex-jenkins-ssh [2020-04-07T23:41:24.005Z] Cloning the remote Git repository [2020-04-07T23:41:24.005Z] Cloning with configured refspecs honoured and without tags [2020-04-07T23:41:24.138Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:24.231Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-04-07T23:41:24.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:24.349Z] > git --version # timeout=10 [2020-04-07T23:41:24.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:24.446Z] > 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-07T23:41:25.245Z] Fetching without tags [2020-04-07T23:41:25.739Z] Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:41:25.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T23:41:25.205Z] > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 [2020-04-07T23:41:25.231Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-07T23:41:25.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T23:41:25.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:25.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:25.328Z] > 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-07T23:41:25.813Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T23:41:25.865Z] > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 [2020-04-07T23:41:26.073Z] Merge succeeded, producing ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:41:26.073Z] Checking out Revision ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 (PR-134) [2020-04-07T23:41:25.952Z] > git remote # timeout=10 [2020-04-07T23:41:25.971Z] > git config --get remote.origin.url # timeout=10 [2020-04-07T23:41:25.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:26.010Z] > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 [2020-04-07T23:41:26.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-07T23:41:26.136Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T23:41:26.157Z] > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 [2020-04-07T23:41:27.226Z] Running on prd-centos7-docker-4c-2g-2709 in /w/workspace/xfoundry_device-modbus-go_PR-134 [Pipeline] { [Pipeline] ws [2020-04-07T23:41:27.260Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-04-07T23:41:29.715Z] using credential edgex-jenkins-ssh [2020-04-07T23:41:29.764Z] Cloning the remote Git repository [2020-04-07T23:41:29.764Z] Cloning with configured refspecs honoured and without tags [2020-04-07T23:41:30.431Z] Fetching without tags [2020-04-07T23:41:30.459Z] 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-07T23:41:30.796Z] Merging remotes/origin/master commit 30534e99e394efc00c176be032a98ac6c7eba5ce into PR head commit ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:41:29.796Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:29.839Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-04-07T23:41:29.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:29.886Z] > git --version # timeout=10 [2020-04-07T23:41:29.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:29.922Z] > 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-07T23:41:30.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T23:41:30.408Z] > git config --add remote.origin.fetch +refs/pull/134/head:refs/remotes/origin/PR-134 # timeout=10 [2020-04-07T23:41:30.413Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-07T23:41:30.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-07T23:41:30.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-07T23:41:30.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:30.438Z] > 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-07T23:41:30.803Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T23:41:30.809Z] > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 [2020-04-07T23:41:30.874Z] Merge succeeded, producing ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:41:30.875Z] Checking out Revision ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 (PR-134) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-07T23:41:31.540Z] ========================================================= [2020-04-07T23:41:31.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-07T23:41:31.540Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:41:30.841Z] > git remote # timeout=10 [2020-04-07T23:41:30.851Z] > git config --get remote.origin.url # timeout=10 [2020-04-07T23:41:30.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-07T23:41:30.860Z] > git merge 30534e99e394efc00c176be032a98ac6c7eba5ce # timeout=10 [2020-04-07T23:41:30.869Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-07T23:41:30.882Z] > git config core.sparsecheckout # timeout=10 [2020-04-07T23:41:30.890Z] > git checkout -f ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 # timeout=10 [2020-04-07T23:41:32.732Z] + 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-07T23:41:33.321Z] Sending build context to Docker daemon 554kB [2020-04-07T23:41:33.587Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-07T23:41:33.587Z] Step 2/8 : FROM ${BASE} [2020-04-07T23:41:33.856Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-07T23:41:33.856Z] cde5963f3b93: Pulling fs layer [2020-04-07T23:41:33.856Z] 2a23fa8c16f7: Pulling fs layer [2020-04-07T23:41:33.856Z] 777b28850792: Pulling fs layer [2020-04-07T23:41:33.856Z] 8a11ddd9e578: Pulling fs layer [2020-04-07T23:41:33.856Z] 4cf88f913ddb: Pulling fs layer [2020-04-07T23:41:33.856Z] 1df406cf5192: Pulling fs layer [2020-04-07T23:41:33.856Z] cd6300453558: Pulling fs layer [2020-04-07T23:41:33.856Z] b9c365052c96: Pulling fs layer [2020-04-07T23:41:33.856Z] a2d8cc88f415: Pulling fs layer [2020-04-07T23:41:33.856Z] ea1d1ca13537: Pulling fs layer [2020-04-07T23:41:33.856Z] 3750a50a1c5e: Pulling fs layer [2020-04-07T23:41:33.856Z] 8a11ddd9e578: Waiting [2020-04-07T23:41:33.856Z] 4cf88f913ddb: Waiting [2020-04-07T23:41:33.856Z] b9c365052c96: Waiting [2020-04-07T23:41:33.856Z] a2d8cc88f415: Waiting [2020-04-07T23:41:33.856Z] ea1d1ca13537: Waiting [2020-04-07T23:41:33.856Z] 3750a50a1c5e: Waiting [2020-04-07T23:41:33.856Z] cd6300453558: Waiting [2020-04-07T23:41:33.857Z] 1df406cf5192: Waiting [2020-04-07T23:41:33.857Z] 777b28850792: Verifying Checksum [2020-04-07T23:41:33.857Z] 777b28850792: Download complete [2020-04-07T23:41:33.857Z] 2a23fa8c16f7: Verifying Checksum [2020-04-07T23:41:33.857Z] 2a23fa8c16f7: Download complete [2020-04-07T23:41:33.857Z] 4cf88f913ddb: Verifying Checksum [2020-04-07T23:41:33.857Z] 4cf88f913ddb: Download complete [2020-04-07T23:41:33.857Z] 1df406cf5192: Download complete [2020-04-07T23:41:34.126Z] cde5963f3b93: Verifying Checksum [2020-04-07T23:41:34.126Z] cde5963f3b93: Download complete [2020-04-07T23:41:35.098Z] cde5963f3b93: Pull complete [2020-04-07T23:41:35.101Z] 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-07T23:41:35.369Z] 2a23fa8c16f7: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-04-07T23:41:35.638Z] 777b28850792: Pull complete [Pipeline] unstash [Pipeline] echo [2020-04-07T23:41:35.831Z] ========================================================= [2020-04-07T23:41:35.831Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-07T23:41:35.831Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:41:36.501Z] + 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-07T23:41:36.765Z] Sending build context to Docker daemon 554kB [2020-04-07T23:41:36.765Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-07T23:41:36.765Z] Step 2/8 : FROM ${BASE} [2020-04-07T23:41:36.765Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-07T23:41:36.765Z] e6b0cf9c0882: Pulling fs layer [2020-04-07T23:41:36.765Z] 2848faf0eed1: Pulling fs layer [2020-04-07T23:41:36.765Z] 0f37312ad70f: Pulling fs layer [2020-04-07T23:41:36.765Z] 5788d62ee057: Pulling fs layer [2020-04-07T23:41:36.765Z] 0e6b1d234666: Pulling fs layer [2020-04-07T23:41:36.765Z] bf5d7aec512f: Pulling fs layer [2020-04-07T23:41:36.765Z] 34c802a77dc8: Pulling fs layer [2020-04-07T23:41:36.765Z] 9eb99e56ec68: Pulling fs layer [2020-04-07T23:41:36.765Z] 27c7a5d97fbd: Pulling fs layer [2020-04-07T23:41:36.765Z] 5c102a31e300: Pulling fs layer [2020-04-07T23:41:36.765Z] dcfb455df0a1: Pulling fs layer [2020-04-07T23:41:36.765Z] 34c802a77dc8: Waiting [2020-04-07T23:41:36.765Z] 9eb99e56ec68: Waiting [2020-04-07T23:41:36.765Z] 5788d62ee057: Waiting [2020-04-07T23:41:36.765Z] 0e6b1d234666: Waiting [2020-04-07T23:41:36.765Z] 5c102a31e300: Waiting [2020-04-07T23:41:36.765Z] dcfb455df0a1: Waiting [2020-04-07T23:41:36.765Z] bf5d7aec512f: Waiting [2020-04-07T23:41:36.765Z] 27c7a5d97fbd: Waiting [2020-04-07T23:41:37.029Z] 0f37312ad70f: Verifying Checksum [2020-04-07T23:41:37.029Z] 0f37312ad70f: Download complete [2020-04-07T23:41:37.029Z] 2848faf0eed1: Download complete [2020-04-07T23:41:37.029Z] 0e6b1d234666: Verifying Checksum [2020-04-07T23:41:37.029Z] 0e6b1d234666: Download complete [2020-04-07T23:41:37.029Z] bf5d7aec512f: Verifying Checksum [2020-04-07T23:41:37.029Z] bf5d7aec512f: Download complete [2020-04-07T23:41:37.029Z] e6b0cf9c0882: Verifying Checksum [2020-04-07T23:41:37.029Z] e6b0cf9c0882: Download complete [2020-04-07T23:41:37.300Z] e6b0cf9c0882: Pull complete [2020-04-07T23:41:37.574Z] 2848faf0eed1: Pull complete [2020-04-07T23:41:38.160Z] 34c802a77dc8: Verifying Checksum [2020-04-07T23:41:38.160Z] 34c802a77dc8: Download complete [2020-04-07T23:41:38.160Z] 27c7a5d97fbd: Verifying Checksum [2020-04-07T23:41:38.160Z] 27c7a5d97fbd: Download complete [2020-04-07T23:41:38.230Z] cd6300453558: Verifying Checksum [2020-04-07T23:41:38.230Z] cd6300453558: Download complete [2020-04-07T23:41:38.230Z] a2d8cc88f415: Verifying Checksum [2020-04-07T23:41:38.230Z] a2d8cc88f415: Download complete [2020-04-07T23:41:38.735Z] 5c102a31e300: Verifying Checksum [2020-04-07T23:41:38.735Z] 5c102a31e300: Download complete [2020-04-07T23:41:38.735Z] dcfb455df0a1: Verifying Checksum [2020-04-07T23:41:38.735Z] dcfb455df0a1: Download complete [2020-04-07T23:41:38.994Z] 9eb99e56ec68: Verifying Checksum [2020-04-07T23:41:38.994Z] 9eb99e56ec68: Download complete [2020-04-07T23:41:38.994Z] 5788d62ee057: Verifying Checksum [2020-04-07T23:41:38.994Z] 5788d62ee057: Download complete [2020-04-07T23:41:39.935Z] 0f37312ad70f: Pull complete [2020-04-07T23:41:40.830Z] ea1d1ca13537: Verifying Checksum [2020-04-07T23:41:40.830Z] ea1d1ca13537: Download complete [2020-04-07T23:41:40.830Z] 3750a50a1c5e: Verifying Checksum [2020-04-07T23:41:40.830Z] 3750a50a1c5e: Download complete [2020-04-07T23:41:43.440Z] b9c365052c96: Verifying Checksum [2020-04-07T23:41:43.440Z] b9c365052c96: Download complete [2020-04-07T23:41:45.388Z] 8a11ddd9e578: Verifying Checksum [2020-04-07T23:41:45.388Z] 8a11ddd9e578: Download complete [2020-04-07T23:41:46.510Z] 5788d62ee057: Pull complete [2020-04-07T23:41:46.510Z] 0e6b1d234666: Pull complete [2020-04-07T23:41:46.510Z] bf5d7aec512f: Pull complete [2020-04-07T23:41:51.796Z] 34c802a77dc8: Pull complete [2020-04-07T23:41:55.101Z] 9eb99e56ec68: Pull complete [2020-04-07T23:41:55.363Z] 27c7a5d97fbd: Pull complete [2020-04-07T23:41:56.306Z] 5c102a31e300: Pull complete [2020-04-07T23:41:56.306Z] dcfb455df0a1: Pull complete [2020-04-07T23:41:56.306Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-07T23:41:56.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-07T23:41:56.306Z] ---> 7c70fe431013 [2020-04-07T23:41:56.306Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-07T23:41:56.306Z] ---> Running in ed77ec3ca3ac [2020-04-07T23:41:56.565Z] Removing intermediate container ed77ec3ca3ac [2020-04-07T23:41:56.565Z] ---> 7583c27105e3 [2020-04-07T23:41:56.565Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T23:41:56.565Z] ---> Running in 3f958c2c8274 [2020-04-07T23:41:57.504Z] Removing intermediate container 3f958c2c8274 [2020-04-07T23:41:57.504Z] ---> dc90428ae3b2 [2020-04-07T23:41:57.504Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T23:41:57.504Z] ---> Running in f469051c8aa8 [2020-04-07T23:41:57.734Z] 8a11ddd9e578: Pull complete [2020-04-07T23:41:57.734Z] 4cf88f913ddb: Pull complete [2020-04-07T23:41:57.734Z] 1df406cf5192: Pull complete [2020-04-07T23:41:57.766Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-07T23:41:58.704Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-07T23:41:58.965Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:41:58.965Z] (2/17) Installing libmagic (5.37-r1) [2020-04-07T23:41:59.225Z] (3/17) Installing file (5.37-r1) [2020-04-07T23:41:59.225Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:41:59.225Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:41:59.483Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:02.008Z] cd6300453558: Pull complete [2020-04-07T23:42:02.775Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-07T23:42:02.776Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-07T23:42:04.687Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-07T23:42:04.687Z] (10/17) Installing build-base (0.5-r1) [2020-04-07T23:42:04.688Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-07T23:42:04.688Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-07T23:42:04.688Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-07T23:42:04.947Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-07T23:42:04.947Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-07T23:42:04.947Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-07T23:42:05.210Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-07T23:42:05.210Z] Executing busybox-1.31.1-r8.trigger [2020-04-07T23:42:05.210Z] OK: 214 MiB in 52 packages [2020-04-07T23:42:07.374Z] b9c365052c96: Pull complete [2020-04-07T23:42:07.374Z] a2d8cc88f415: Pull complete [2020-04-07T23:42:08.796Z] ea1d1ca13537: Pull complete [2020-04-07T23:42:09.065Z] 3750a50a1c5e: Pull complete [2020-04-07T23:42:09.065Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-07T23:42:09.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-07T23:42:09.065Z] ---> 78745c68409d [2020-04-07T23:42:09.065Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-07T23:42:10.496Z] Removing intermediate container f469051c8aa8 [2020-04-07T23:42:10.497Z] ---> b9ae53aab782 [2020-04-07T23:42:10.497Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-07T23:42:10.497Z] ---> Running in b95cb630806c [2020-04-07T23:42:10.497Z] Removing intermediate container b95cb630806c [2020-04-07T23:42:10.497Z] ---> 3139b0fc02e1 [2020-04-07T23:42:10.497Z] Step 7/8 : COPY . . [2020-04-07T23:42:10.497Z] ---> 8bba1b144b0d [2020-04-07T23:42:10.497Z] Step 8/8 : RUN go mod download [2020-04-07T23:42:10.497Z] ---> Running in 30b002d9849f [2020-04-07T23:42:12.403Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-07T23:42:12.403Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-07T23:42:12.403Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-07T23:42:12.403Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-07T23:42:12.403Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-07T23:42:12.403Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-07T23:42:12.403Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-07T23:42:12.403Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-07T23:42:12.403Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-07T23:42:12.403Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-07T23:42:12.403Z] go: finding github.com/fatih/color v1.7.0 [2020-04-07T23:42:12.403Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-07T23:42:12.403Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-07T23:42:12.403Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-07T23:42:12.403Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-07T23:42:12.403Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-07T23:42:12.403Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-07T23:42:12.403Z] go: finding github.com/google/uuid v1.1.1 [2020-04-07T23:42:12.403Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-07T23:42:12.403Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-07T23:42:12.403Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-07T23:42:12.403Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-07T23:42:12.661Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-07T23:42:12.661Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-07T23:42:12.661Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-07T23:42:12.661Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-07T23:42:12.920Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-07T23:42:12.920Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-07T23:42:12.920Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-07T23:42:12.920Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-07T23:42:12.920Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-07T23:42:12.920Z] go: finding github.com/posener/complete v1.1.1 [2020-04-07T23:42:12.920Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-07T23:42:13.179Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-07T23:42:13.179Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-07T23:42:13.179Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-07T23:42:13.179Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-07T23:42:13.179Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-07T23:42:13.179Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-07T23:42:13.179Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-07T23:42:13.179Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-07T23:42:13.179Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-07T23:42:13.330Z] ---> Running in ea8af53451d3 [2020-04-07T23:42:13.331Z] Removing intermediate container ea8af53451d3 [2020-04-07T23:42:13.331Z] ---> cf0b004e88d4 [2020-04-07T23:42:13.331Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T23:42:13.441Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-07T23:42:13.599Z] ---> Running in 0309136b666e [2020-04-07T23:42:16.196Z] Removing intermediate container 0309136b666e [2020-04-07T23:42:16.196Z] ---> b9588978147d [2020-04-07T23:42:16.196Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T23:42:16.196Z] ---> Running in ceb412533aae [2020-04-07T23:42:16.782Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-07T23:42:17.745Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-07T23:42:18.018Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:18.286Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:18.286Z] (3/18) Installing libmagic (5.37-r1) [2020-04-07T23:42:18.552Z] (4/18) Installing file (5.37-r1) [2020-04-07T23:42:18.552Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:18.552Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:18.820Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-07T23:42:20.764Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-07T23:42:20.764Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-07T23:42:22.171Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-07T23:42:22.171Z] (11/18) Installing build-base (0.5-r1) [2020-04-07T23:42:22.171Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-07T23:42:22.437Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-07T23:42:22.437Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-07T23:42:22.705Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-07T23:42:22.705Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-07T23:42:22.705Z] (17/18) Installing openssh-server (8.1_p1-r0) [2020-04-07T23:42:22.971Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-07T23:42:22.971Z] Executing busybox-1.31.1-r8.trigger [2020-04-07T23:42:22.971Z] OK: 203 MiB in 52 packages [2020-04-07T23:42:25.688Z] Removing intermediate container 30b002d9849f [2020-04-07T23:42:25.688Z] ---> 0b05d549bbcd [2020-04-07T23:42:25.689Z] Successfully built 0b05d549bbcd [2020-04-07T23:42:25.689Z] 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-07T23:42:26.287Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-07T23:42:26.288Z] . [Pipeline] withDockerContainer [2020-04-07T23:42:26.411Z] prd-centos7-docker-4c-2g-2709 does not seem to be running inside a container [2020-04-07T23:42:26.457Z] $ 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 [2020-04-07T23:42:27.003Z] $ docker top 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-07T23:42:27.523Z] + go version [2020-04-07T23:42:27.523Z] go version go1.13.5 linux/amd64 [Pipeline] sh [2020-04-07T23:42:27.825Z] + make test [2020-04-07T23:42:27.825Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-07T23:42:29.318Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-07T23:42:29.629Z] Removing intermediate container ceb412533aae [2020-04-07T23:42:29.629Z] ---> 2a440c33bf3e [2020-04-07T23:42:29.629Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-07T23:42:29.899Z] ---> Running in c8b9ad1be153 [2020-04-07T23:42:30.178Z] Removing intermediate container c8b9ad1be153 [2020-04-07T23:42:30.178Z] ---> e6747b83c09c [2020-04-07T23:42:30.178Z] Step 7/8 : COPY . . [2020-04-07T23:42:31.146Z] ---> d1bf8f70e576 [2020-04-07T23:42:31.146Z] Step 8/8 : RUN go mod download [2020-04-07T23:42:31.146Z] ---> Running in e266a79ed33a [2020-04-07T23:42:33.094Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-07T23:42:33.094Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-07T23:42:33.094Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-07T23:42:33.094Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-07T23:42:33.094Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-07T23:42:33.094Z] go: finding github.com/cenkalti/backoff v2.1.1+incompatible [2020-04-07T23:42:33.094Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-07T23:42:33.094Z] go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 [2020-04-07T23:42:33.361Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 [2020-04-07T23:42:33.361Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 [2020-04-07T23:42:33.361Z] go: finding github.com/fatih/color v1.7.0 [2020-04-07T23:42:33.628Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-07T23:42:33.628Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-07T23:42:33.628Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-07T23:42:33.628Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-07T23:42:33.628Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-07T23:42:33.628Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-07T23:42:33.628Z] go: finding github.com/google/uuid v1.1.1 [2020-04-07T23:42:33.628Z] go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd [2020-04-07T23:42:33.628Z] go: finding github.com/gorilla/mux v1.7.0 [2020-04-07T23:42:33.628Z] go: finding github.com/hashicorp/consul v1.4.2 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-07T23:42:33.896Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-07T23:42:34.163Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-07T23:42:34.163Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-07T23:42:34.163Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-07T23:42:34.163Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-07T23:42:34.163Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-07T23:42:34.163Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-07T23:42:34.163Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-07T23:42:34.163Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-07T23:42:34.163Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-07T23:42:34.163Z] go: finding github.com/posener/complete v1.1.1 [2020-04-07T23:42:34.163Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-07T23:42:34.430Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-07T23:42:34.430Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-07T23:42:34.430Z] go: finding github.com/stretchr/testify v1.3.0 [2020-04-07T23:42:34.430Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-07T23:42:34.430Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-07T23:42:34.430Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-07T23:42:34.430Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-07T23:42:34.698Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-07T23:42:34.698Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-07T23:42:34.698Z] go: finding gopkg.in/yaml.v2 v2.2.2 [2020-04-07T23:42:44.419Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-07T23:42:44.419Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.141s coverage: 50.3% of statements [2020-04-07T23:42:44.419Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-07T23:42:46.981Z] gofmt -l . [2020-04-07T23:42:46.981Z] [ "`gofmt -l .`" = "" ] [2020-04-07T23:42:46.981Z] ./bin/test-attribution-txt.sh [2020-04-07T23:42:47.240Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-07T23:42:47.859Z] Stashed 1 file(s) [Pipeline] } [2020-04-07T23:42:47.863Z] $ docker stop --time=1 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 [2020-04-07T23:42:49.312Z] $ docker rm -f 7facb2db9bbf5f613f1c0c105dd0c081347d254e57c3e9da3ff0a174e9ac1ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-07T23:42:50.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-07T23:42:50.902Z] + ls -al . [2020-04-07T23:42:50.903Z] total 100 [2020-04-07T23:42:50.903Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 7 23:42 . [2020-04-07T23:42:50.903Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 23:41 .. [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 4208 Apr 7 23:41 Attribution.txt [2020-04-07T23:42:50.903Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 7 23:41 bin [2020-04-07T23:42:50.903Z] drwxrwxr-x. 3 jenkins jenkins 55 Apr 7 23:41 cmd [2020-04-07T23:42:50.903Z] -rw-r--r--. 1 jenkins jenkins 22122 Apr 7 23:42 coverage.out [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 1263 Apr 7 23:41 Dockerfile [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 7 23:41 Dockerfile.build [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 23:41 .dockerignore [2020-04-07T23:42:50.903Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 23:41 .git [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 7 23:41 .gitignore [2020-04-07T23:42:50.903Z] -rw-r--r--. 1 jenkins jenkins 630 Apr 7 23:42 go.mod [2020-04-07T23:42:50.903Z] -rw-r--r--. 1 jenkins jenkins 12117 Apr 7 23:42 go.sum [2020-04-07T23:42:50.903Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 7 23:41 internal [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 681 Apr 7 23:41 Jenkinsfile [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 7 23:41 LICENSE [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 7 23:41 Makefile [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 7 23:41 README.md [2020-04-07T23:42:50.903Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 7 23:41 .semver [2020-04-07T23:42:50.903Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 7 23:41 simulator [2020-04-07T23:42:50.903Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 23:41 snap [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 23:39 VERSION [2020-04-07T23:42:50.903Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 7 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:42:51.198Z] + 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 . [2020-04-07T23:42:51.198Z] Sending build context to Docker daemon 582.7kB [2020-04-07T23:42:51.198Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-07T23:42:51.198Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-07T23:42:51.198Z] ---> 0b05d549bbcd [2020-04-07T23:42:51.198Z] Step 3/17 : ARG MAKE='make build' [2020-04-07T23:42:51.461Z] ---> Running in 19164d4b657a [2020-04-07T23:42:51.461Z] Removing intermediate container 19164d4b657a [2020-04-07T23:42:51.461Z] ---> ce1149068f1b [2020-04-07T23:42:51.461Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T23:42:51.461Z] ---> Running in 170a812a4258 [2020-04-07T23:42:52.417Z] Removing intermediate container 170a812a4258 [2020-04-07T23:42:52.417Z] ---> 1f8639d32e50 [2020-04-07T23:42:52.417Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T23:42:52.417Z] ---> Running in ff1943fb527f [2020-04-07T23:42:52.923Z] Removing intermediate container e266a79ed33a [2020-04-07T23:42:52.923Z] ---> b8eb45a02a8d [2020-04-07T23:42:52.923Z] Successfully built b8eb45a02a8d [2020-04-07T23:42:52.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [2020-04-07T23:42:52.991Z] 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 [2020-04-07T23:42:53.554Z] + docker inspect -f . ci-base-image-arm64 [2020-04-07T23:42:53.561Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-07T23:42:53.562Z] OK: 214 MiB in 52 packages [2020-04-07T23:42:53.823Z] . [Pipeline] withDockerContainer [2020-04-07T23:42:54.148Z] prd-ubuntu18.04-docker-arm64-4c-16g-2708 does not seem to be running inside a container [2020-04-07T23:42:54.209Z] $ 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 [2020-04-07T23:42:54.941Z] Removing intermediate container ff1943fb527f [2020-04-07T23:42:54.941Z] ---> 3acf3f035d2a [2020-04-07T23:42:54.941Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-07T23:42:54.941Z] ---> Running in 08712bf5181e [2020-04-07T23:42:54.941Z] Removing intermediate container 08712bf5181e [2020-04-07T23:42:54.941Z] ---> 2db13f77a980 [2020-04-07T23:42:54.941Z] Step 7/17 : COPY . . [2020-04-07T23:42:55.201Z] ---> 86d8312d1c5d [2020-04-07T23:42:55.201Z] Step 8/17 : RUN ${MAKE} [2020-04-07T23:42:55.460Z] ---> Running in a3040b29c790 [2020-04-07T23:42:55.656Z] $ docker top 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff -eo pid,comm [2020-04-07T23:42:55.724Z] 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 [2020-04-07T23:42:56.742Z] + go version [2020-04-07T23:42:56.742Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-07T23:42:57.390Z] + make test [2020-04-07T23:42:57.390Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-07T23:42:58.367Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-07T23:43:08.034Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-07T23:43:10.586Z] Removing intermediate container a3040b29c790 [2020-04-07T23:43:10.586Z] ---> 0f9e6f40e78a [2020-04-07T23:43:10.586Z] Step 9/17 : FROM scratch [2020-04-07T23:43:10.586Z] ---> [2020-04-07T23:43:10.586Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-07T23:43:10.586Z] ---> Running in f07ab7b63119 [2020-04-07T23:43:10.586Z] Removing intermediate container f07ab7b63119 [2020-04-07T23:43:10.586Z] ---> 4e6ac6e3c8c2 [2020-04-07T23:43:10.586Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-07T23:43:10.586Z] ---> Running in f516ba6e77c9 [2020-04-07T23:43:10.586Z] Removing intermediate container f516ba6e77c9 [2020-04-07T23:43:10.586Z] ---> a9ab03779853 [2020-04-07T23:43:10.586Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-07T23:43:10.845Z] ---> f1ea01de36cb [2020-04-07T23:43:10.845Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-07T23:43:10.845Z] ---> Running in 88760c42175c [2020-04-07T23:43:11.105Z] Removing intermediate container 88760c42175c [2020-04-07T23:43:11.105Z] ---> 63a7d85e3706 [2020-04-07T23:43:11.105Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-07T23:43:11.105Z] ---> Running in 756dba0df6bf [2020-04-07T23:43:11.364Z] Removing intermediate container 756dba0df6bf [2020-04-07T23:43:11.364Z] ---> e54b7176a597 [2020-04-07T23:43:11.364Z] Step 15/17 : LABEL arch=amd64 [2020-04-07T23:43:11.364Z] ---> Running in 87ca0b68fafa [2020-04-07T23:43:11.364Z] Removing intermediate container 87ca0b68fafa [2020-04-07T23:43:11.364Z] ---> 4ca05859e248 [2020-04-07T23:43:11.364Z] Step 16/17 : LABEL git_sha=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:43:11.628Z] ---> Running in 09df82cadf05 [2020-04-07T23:43:11.628Z] Removing intermediate container 09df82cadf05 [2020-04-07T23:43:11.628Z] ---> 590b3551e4cf [2020-04-07T23:43:11.628Z] Step 17/17 : LABEL version=0.0.0 [2020-04-07T23:43:11.628Z] ---> Running in c72d4ad0c908 [2020-04-07T23:43:11.889Z] Removing intermediate container c72d4ad0c908 [2020-04-07T23:43:11.889Z] ---> 5f03d01424aa [2020-04-07T23:43:11.889Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-07T23:43:11.889Z] Successfully built 5f03d01424aa [2020-04-07T23:43:11.889Z] 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] } [2020-04-07T23:43:37.274Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-07T23:43:37.274Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.227s coverage: 50.3% of statements [2020-04-07T23:43:37.274Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-07T23:43:42.646Z] gofmt -l . [2020-04-07T23:43:42.646Z] [ "`gofmt -l .`" = "" ] [2020-04-07T23:43:42.646Z] ./bin/test-attribution-txt.sh [2020-04-07T23:43:42.917Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-07T23:43:43.586Z] Warning: overwriting stash ‘coverage-report’ [2020-04-07T23:43:43.982Z] Stashed 1 file(s) [Pipeline] } [2020-04-07T23:43:43.947Z] $ docker stop --time=1 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff [2020-04-07T23:43:46.150Z] $ docker rm -f 62c7afbf4cdc5c3f60e50d4fd7122db5431ad6baab497102c7988a0591bb1eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-07T23:43:47.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-07T23:43:47.673Z] + ls -al . [2020-04-07T23:43:47.673Z] total 132 [2020-04-07T23:43:47.673Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:43 . [2020-04-07T23:43:47.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:41 .. [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 23:41 .dockerignore [2020-04-07T23:43:47.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:41 .git [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 7 23:41 .gitignore [2020-04-07T23:43:47.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 .semver [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 4208 Apr 7 23:41 Attribution.txt [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 1263 Apr 7 23:41 Dockerfile [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 7 23:41 Dockerfile.build [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 681 Apr 7 23:41 Jenkinsfile [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:41 LICENSE [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 7 23:41 Makefile [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 7 23:41 README.md [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:39 VERSION [2020-04-07T23:43:47.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 bin [2020-04-07T23:43:47.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 cmd [2020-04-07T23:43:47.673Z] -rw-r--r-- 1 jenkins jenkins 22122 Apr 7 23:43 coverage.out [2020-04-07T23:43:47.673Z] -rw-r--r-- 1 jenkins jenkins 630 Apr 7 23:43 go.mod [2020-04-07T23:43:47.673Z] -rw-r--r-- 1 jenkins jenkins 12117 Apr 7 23:43 go.sum [2020-04-07T23:43:47.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 internal [2020-04-07T23:43:47.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 simulator [2020-04-07T23:43:47.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:41 snap [2020-04-07T23:43:47.673Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:43:48.013Z] + 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 . [2020-04-07T23:43:48.280Z] Sending build context to Docker daemon 582.7kB [2020-04-07T23:43:48.280Z] Step 1/17 : ARG BASE=golang:1.13-alpine [2020-04-07T23:43:48.280Z] Step 2/17 : FROM ${BASE} AS builder [2020-04-07T23:43:48.280Z] ---> b8eb45a02a8d [2020-04-07T23:43:48.280Z] Step 3/17 : ARG MAKE='make build' [2020-04-07T23:43:48.547Z] ---> Running in 641d26a30d2e [2020-04-07T23:43:49.134Z] Removing intermediate container 641d26a30d2e [2020-04-07T23:43:49.134Z] ---> e205ff2b95df [2020-04-07T23:43:49.134Z] Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-07T23:43:49.134Z] ---> Running in 1fed4bfcae60 [2020-04-07T23:43:51.079Z] Removing intermediate container 1fed4bfcae60 [2020-04-07T23:43:51.079Z] ---> e6255da39832 [2020-04-07T23:43:51.079Z] Step 5/17 : RUN apk add --update --no-cache make git openssh build-base [2020-04-07T23:43:51.079Z] ---> Running in 84b146d045a7 [2020-04-07T23:43:52.039Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-07T23:43:52.997Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-07T23:43:53.263Z] OK: 203 MiB in 52 packages [2020-04-07T23:43:54.226Z] Removing intermediate container 84b146d045a7 [2020-04-07T23:43:54.226Z] ---> 4fd6ccf8dc3d [2020-04-07T23:43:54.226Z] Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-07T23:43:54.493Z] ---> Running in 90867202f60a [2020-04-07T23:43:54.761Z] Removing intermediate container 90867202f60a [2020-04-07T23:43:54.761Z] ---> 7be519e59899 [2020-04-07T23:43:54.761Z] Step 7/17 : COPY . . [2020-04-07T23:43:55.729Z] ---> 18217faddf8c [2020-04-07T23:43:55.729Z] Step 8/17 : RUN ${MAKE} [2020-04-07T23:43:55.729Z] ---> Running in 2a740f3adb0c [2020-04-07T23:43:56.690Z] 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-07T23:44:35.640Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-07T23:44:42.295Z] Removing intermediate container 2a740f3adb0c [2020-04-07T23:44:42.295Z] ---> 943241b878d5 [2020-04-07T23:44:42.295Z] Step 9/17 : FROM scratch [2020-04-07T23:44:42.295Z] ---> [2020-04-07T23:44:42.295Z] Step 10/17 : ENV APP_PORT=49991 [2020-04-07T23:44:42.295Z] ---> Running in 4860611cb292 [2020-04-07T23:44:42.295Z] Removing intermediate container 4860611cb292 [2020-04-07T23:44:42.295Z] ---> 43248b389bb5 [2020-04-07T23:44:42.295Z] Step 11/17 : EXPOSE $APP_PORT [2020-04-07T23:44:42.295Z] ---> Running in 3ad0617b07e8 [2020-04-07T23:44:42.562Z] Removing intermediate container 3ad0617b07e8 [2020-04-07T23:44:42.562Z] ---> ab1feb240111 [2020-04-07T23:44:42.562Z] Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-07T23:44:43.525Z] ---> ce2ea2f6ef2c [2020-04-07T23:44:43.525Z] Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' [2020-04-07T23:44:43.798Z] ---> Running in df3a522c882b [2020-04-07T23:44:44.384Z] Removing intermediate container df3a522c882b [2020-04-07T23:44:44.384Z] ---> 0800340909bf [2020-04-07T23:44:44.384Z] Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] [2020-04-07T23:44:44.384Z] ---> Running in 44f65777c098 [2020-04-07T23:44:44.971Z] Removing intermediate container 44f65777c098 [2020-04-07T23:44:44.971Z] ---> e98473688a87 [2020-04-07T23:44:44.971Z] Step 15/17 : LABEL arch=arm64 [2020-04-07T23:44:44.971Z] ---> Running in 6881b42c42c2 [2020-04-07T23:44:45.555Z] Removing intermediate container 6881b42c42c2 [2020-04-07T23:44:45.555Z] ---> 8e4cd521975a [2020-04-07T23:44:45.555Z] Step 16/17 : LABEL git_sha=ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [2020-04-07T23:44:45.822Z] ---> Running in 88c7e74ad2b5 [2020-04-07T23:44:46.089Z] Removing intermediate container 88c7e74ad2b5 [2020-04-07T23:44:46.089Z] ---> 9b5239ac9796 [2020-04-07T23:44:46.089Z] Step 17/17 : LABEL version=0.0.0 [2020-04-07T23:44:46.359Z] ---> Running in 6ffc7ab989f7 [2020-04-07T23:44:46.625Z] Removing intermediate container 6ffc7ab989f7 [2020-04-07T23:44:46.625Z] ---> 35d8ef5ffb14 [2020-04-07T23:44:46.625Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-07T23:44:46.625Z] Successfully built 35d8ef5ffb14 [2020-04-07T23:44:46.625Z] 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-07T23:44:47.625Z] provisioning config files... [2020-04-07T23:44:47.645Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config8024877644903091074tmp [Pipeline] { [Pipeline] sh [2020-04-07T23:44:48.039Z] + curl -s https://codecov.io/bash [2020-04-07T23:44:48.039Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config8024877644903091074tmp [2020-04-07T23:44:48.302Z] [2020-04-07T23:44:48.302Z] _____ _ [2020-04-07T23:44:48.302Z] / ____| | | [2020-04-07T23:44:48.302Z] | | ___ __| | ___ ___ _____ __ [2020-04-07T23:44:48.302Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-04-07T23:44:48.302Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-04-07T23:44:48.302Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-04-07T23:44:48.302Z] Bash-tbd [2020-04-07T23:44:48.302Z] [2020-04-07T23:44:48.302Z] [2020-04-07T23:44:48.302Z] ==> Jenkins CI detected. [2020-04-07T23:44:48.302Z] project root: . [2020-04-07T23:44:48.302Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-04-07T23:44:48.302Z] ==> Running gcov in . (disable via -X gcov) [2020-04-07T23:44:48.302Z] ==> Python coveragepy not found [2020-04-07T23:44:48.302Z] ==> Searching for coverage reports in: [2020-04-07T23:44:48.302Z] + . [2020-04-07T23:44:48.302Z] -> Found 1 reports [2020-04-07T23:44:48.302Z] ==> Detecting git/mercurial file structure [2020-04-07T23:44:48.302Z] ==> Reading reports [2020-04-07T23:44:48.565Z] + ./coverage.out bytes=22122 [2020-04-07T23:44:48.565Z] ==> Appending adjustments [2020-04-07T23:44:48.565Z] http://docs.codecov.io/docs/fixing-reports [2020-04-07T23:44:48.565Z] + Found adjustments [2020-04-07T23:44:48.565Z] ==> Gzipping contents [2020-04-07T23:44:48.565Z] ==> Uploading reports [2020-04-07T23:44:48.565Z] url: https://codecov.io [2020-04-07T23:44:48.565Z] 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= [2020-04-07T23:44:48.565Z] -> Pinging Codecov [2020-04-07T23:44:48.565Z] 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= [2020-04-07T23:44:49.154Z] -> Uploading [2020-04-07T23:44:49.741Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ba45ba450998f6a9186567ef6c0f0cb1bfdb9e30 [Pipeline] } [2020-04-07T23:44:49.757Z] 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-07T23:44:51.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T23:44:51.370Z] ---> package-listing.sh [2020-04-07T23:44:51.370Z] ++ facter osfamily [2020-04-07T23:44:51.370Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-07T23:44:51.370Z] + OS_FAMILY=redhat [2020-04-07T23:44:51.370Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T23:44:51.370Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-07T23:44:51.370Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-07T23:44:51.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-07T23:44:51.370Z] + PACKAGES=/tmp/packages_start.txt [2020-04-07T23:44:51.370Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' [2020-04-07T23:44:51.370Z] + PACKAGES=/tmp/packages_end.txt [2020-04-07T23:44:51.370Z] + case "${OS_FAMILY}" in [2020-04-07T23:44:51.370Z] + rpm -qa [2020-04-07T23:44:51.370Z] + sort [2020-04-07T23:44:56.705Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-07T23:44:56.705Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-07T23:44:56.705Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-07T23:44:56.705Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-134 ']' [2020-04-07T23:44:56.705Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-134/archives/ [2020-04-07T23:44:56.705Z] + 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-07T23:44:57.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-07T23:44:57.107Z] [2020-04-07T23:44:57.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-07T23:44:57.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-07T23:44:57.467Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-07T23:44:57.467Z] c9b1b535fdd9: Pulling fs layer [2020-04-07T23:44:57.467Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-07T23:44:57.467Z] 756a868c4378: Pulling fs layer [2020-04-07T23:44:57.467Z] 444b2fc9a129: Pulling fs layer [2020-04-07T23:44:57.467Z] ea15f1150254: Pulling fs layer [2020-04-07T23:44:57.467Z] 41b27a9f41bf: Pulling fs layer [2020-04-07T23:44:57.467Z] 28c525ee5125: Pulling fs layer [2020-04-07T23:44:57.467Z] 094b1ea09ed8: Pulling fs layer [2020-04-07T23:44:57.467Z] 138eaada9080: Pulling fs layer [2020-04-07T23:44:57.467Z] 0622d0fa9048: Pulling fs layer [2020-04-07T23:44:57.467Z] 444b2fc9a129: Waiting [2020-04-07T23:44:57.467Z] ea15f1150254: Waiting [2020-04-07T23:44:57.467Z] 28c525ee5125: Waiting [2020-04-07T23:44:57.467Z] 138eaada9080: Waiting [2020-04-07T23:44:57.467Z] 094b1ea09ed8: Waiting [2020-04-07T23:44:57.467Z] 0622d0fa9048: Waiting [2020-04-07T23:44:57.467Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-07T23:44:57.467Z] 2cc5ad85d9ab: Download complete [2020-04-07T23:44:57.790Z] 444b2fc9a129: Verifying Checksum [2020-04-07T23:44:57.790Z] 444b2fc9a129: Download complete [2020-04-07T23:44:57.790Z] c9b1b535fdd9: Verifying Checksum [2020-04-07T23:44:57.790Z] c9b1b535fdd9: Download complete [2020-04-07T23:44:57.790Z] ea15f1150254: Verifying Checksum [2020-04-07T23:44:57.790Z] ea15f1150254: Download complete [2020-04-07T23:44:58.136Z] 28c525ee5125: Verifying Checksum [2020-04-07T23:44:58.136Z] 28c525ee5125: Download complete [2020-04-07T23:44:58.515Z] c9b1b535fdd9: Pull complete [2020-04-07T23:44:58.820Z] 2cc5ad85d9ab: Pull complete [2020-04-07T23:44:58.820Z] 756a868c4378: Verifying Checksum [2020-04-07T23:44:58.820Z] 756a868c4378: Download complete [2020-04-07T23:44:59.100Z] 138eaada9080: Verifying Checksum [2020-04-07T23:44:59.100Z] 138eaada9080: Download complete [2020-04-07T23:44:59.100Z] 0622d0fa9048: Verifying Checksum [2020-04-07T23:44:59.100Z] 0622d0fa9048: Download complete [2020-04-07T23:44:59.100Z] 094b1ea09ed8: Verifying Checksum [2020-04-07T23:44:59.100Z] 094b1ea09ed8: Download complete [2020-04-07T23:45:00.113Z] 41b27a9f41bf: Verifying Checksum [2020-04-07T23:45:00.113Z] 41b27a9f41bf: Download complete [2020-04-07T23:45:02.065Z] 756a868c4378: Pull complete [2020-04-07T23:45:02.065Z] 444b2fc9a129: Pull complete [2020-04-07T23:45:02.641Z] ea15f1150254: Pull complete [2020-04-07T23:45:06.902Z] 41b27a9f41bf: Pull complete [2020-04-07T23:45:06.902Z] 28c525ee5125: Pull complete [2020-04-07T23:45:10.214Z] 094b1ea09ed8: Pull complete [2020-04-07T23:45:10.214Z] 138eaada9080: Pull complete [2020-04-07T23:45:10.214Z] 0622d0fa9048: Pull complete [2020-04-07T23:45:10.214Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-07T23:45:10.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-07T23:45:10.494Z] prd-centos7-docker-4c-2g-2707 does not seem to be running inside a container [2020-04-07T23:45:10.574Z] $ 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 [2020-04-07T23:45:12.001Z] $ docker top 6fd7f909922b5c24cadac153958370751b87ebb87f90b9aa716f6864ce3c907a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-04-07T23:45:12.442Z] provisioning config files... [2020-04-07T23:45:12.459Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-134@tmp/config1980215602606206885tmp [Pipeline] { [Pipeline] echo [2020-04-07T23:45:12.521Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T23:45:13.052Z] ---> create-netrc.sh [Pipeline] echo [2020-04-07T23:45:13.073Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-07T23:45:14.036Z] ---> logs-deploy.sh [2020-04-07T23:45:14.036Z] + ARCHIVE_ARTIFACTS= [2020-04-07T23:45:14.036Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-07T23:45:14.036Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-07T23:45:14.036Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-07T23:45:14.036Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-134/3 [2020-04-07T23:45:14.036Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-134/3/ [2020-04-07T23:45:14.036Z] + 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 [2020-04-07T23:45:16.162Z] Archives upload complete. [2020-04-07T23:45:16.579Z] + 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/ [2020-04-07T23:45:17.552Z] ---> uname -a: [2020-04-07T23:45:17.552Z] Linux 6fd7f909922b 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> lscpu: [2020-04-07T23:45:17.552Z] Architecture: x86_64 [2020-04-07T23:45:17.552Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-07T23:45:17.552Z] Byte Order: Little Endian [2020-04-07T23:45:17.552Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-07T23:45:17.552Z] CPU(s): 4 [2020-04-07T23:45:17.552Z] On-line CPU(s) list: 0-3 [2020-04-07T23:45:17.552Z] Thread(s) per core: 1 [2020-04-07T23:45:17.552Z] Core(s) per socket: 1 [2020-04-07T23:45:17.552Z] Socket(s): 4 [2020-04-07T23:45:17.552Z] NUMA node(s): 1 [2020-04-07T23:45:17.552Z] Vendor ID: GenuineIntel [2020-04-07T23:45:17.552Z] CPU family: 6 [2020-04-07T23:45:17.552Z] Model: 44 [2020-04-07T23:45:17.552Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-07T23:45:17.552Z] Stepping: 1 [2020-04-07T23:45:17.552Z] CPU MHz: 2933.438 [2020-04-07T23:45:17.552Z] BogoMIPS: 5866.87 [2020-04-07T23:45:17.552Z] Virtualization: VT-x [2020-04-07T23:45:17.552Z] Hypervisor vendor: KVM [2020-04-07T23:45:17.552Z] Virtualization type: full [2020-04-07T23:45:17.552Z] L1d cache: 128 KiB [2020-04-07T23:45:17.552Z] L1i cache: 128 KiB [2020-04-07T23:45:17.552Z] L2 cache: 16 MiB [2020-04-07T23:45:17.552Z] L3 cache: 64 MiB [2020-04-07T23:45:17.552Z] NUMA node0 CPU(s): 0-3 [2020-04-07T23:45:17.552Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-07T23:45:17.552Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-07T23:45:17.552Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-07T23:45:17.552Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-07T23:45:17.552Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-07T23:45:17.552Z] 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 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> nproc: [2020-04-07T23:45:17.552Z] 4 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> df -h: [2020-04-07T23:45:17.552Z] Filesystem Size Used Available Use% Mounted on [2020-04-07T23:45:17.552Z] overlay 50.0G 6.3G 43.7G 13% / [2020-04-07T23:45:17.552Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-07T23:45:17.552Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-07T23:45:17.552Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-134 [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-134@tmp [2020-04-07T23:45:17.552Z] /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> free -m: [2020-04-07T23:45:17.552Z] total used free shared buff/cache available [2020-04-07T23:45:17.552Z] Mem: 1838 599 76 0 1162 1133 [2020-04-07T23:45:17.552Z] Swap: 1023 0 1023 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> ip addr: [2020-04-07T23:45:17.552Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-04-07T23:45:17.552Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-04-07T23:45:17.552Z] inet 127.0.0.1/8 scope host lo [2020-04-07T23:45:17.552Z] valid_lft forever preferred_lft forever [2020-04-07T23:45:17.552Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-04-07T23:45:17.552Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-04-07T23:45:17.552Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-04-07T23:45:17.552Z] valid_lft forever preferred_lft forever [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] ---> sar -b -r -n DEV: [2020-04-07T23:45:17.552Z] 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) [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] 23:38:05 LINUX RESTART [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] 23:39:01 tps rtps wtps bread/s bwrtn/s [2020-04-07T23:45:17.552Z] 23:40:01 15.77 1.96 13.81 424.95 1906.32 [2020-04-07T23:45:17.552Z] 23:41:01 2.25 0.02 2.23 0.53 53.48 [2020-04-07T23:45:17.552Z] 23:42:02 0.40 0.00 0.40 0.00 5.85 [2020-04-07T23:45:17.552Z] 23:43:01 0.17 0.00 0.17 0.00 1.63 [2020-04-07T23:45:17.552Z] 23:44:01 0.28 0.00 0.28 0.00 3.66 [2020-04-07T23:45:17.552Z] 23:45:01 57.61 51.72 5.89 3504.34 4090.10 [2020-04-07T23:45:17.552Z] Average: 12.79 8.98 3.81 656.98 1013.33 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] 23:39:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-04-07T23:45:17.552Z] 23:40:01 107184 1775120 94.31 2620 1235460 981056 33.47 438316 1177664 16 [2020-04-07T23:45:17.552Z] 23:41:01 118624 1763680 93.70 2620 1235464 907232 30.95 430624 1175696 8 [2020-04-07T23:45:17.552Z] 23:42:02 117360 1764944 93.77 2620 1235472 907364 30.96 431580 1175696 8 [2020-04-07T23:45:17.552Z] 23:43:01 118876 1763428 93.68 2620 1235472 903120 30.81 430312 1175696 16 [2020-04-07T23:45:17.552Z] 23:44:01 118504 1763800 93.70 2620 1235484 903192 30.82 430580 1175696 16 [2020-04-07T23:45:17.552Z] 23:45:01 71000 1811304 96.23 2620 1241204 1113232 37.98 466308 1179224 103892 [2020-04-07T23:45:17.552Z] Average: 108591 1773713 94.23 2620 1236426 952533 32.50 437953 1176612 17326 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z] 23:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s [2020-04-07T23:45:17.552Z] 23:40:01 eth0 25.55 20.98 28.58 25.39 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:40:01 docker0 1.58 1.25 0.27 2.94 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:41:01 eth0 1.10 0.15 0.20 0.01 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:42:02 eth0 1.00 0.65 0.62 0.40 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:42:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:42:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:43:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:44:01 eth0 0.22 0.15 0.13 0.07 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:45:01 eth0 91.70 69.18 2326.76 9.48 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] 23:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] Average: eth0 20.00 15.24 393.91 5.91 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] Average: docker0 0.26 0.21 0.04 0.49 0.00 0.00 0.00 [2020-04-07T23:45:17.552Z] [2020-04-07T23:45:17.552Z]