Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 001f4726e63f8a98109bde2752933b06903fc96d+19fa6973f701ad94a11b5f6c391ca92bd197d7ff (a59056667aa82bccd4f963b17164eccd9120de89) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-144/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5146 in /w/workspace/xfoundry_device-modbus-go_PR-144 [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-144 # 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/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # 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/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # 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 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 Commit message: "Update SDK version and Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-04-21T05:40:28.420Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-04-21T05:40:28.705Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-04-21T05:40:28.895Z] ========================================================= [2020-04-21T05:40:28.895Z] EdgeX Global Pipelines Version Info [2020-04-21T05:40:28.895Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-04-21T05:40:30.381Z] ------------------- [2020-04-21T05:40:30.381Z] stable info: [2020-04-21T05:40:30.381Z] ------------------- [2020-04-21T05:40:30.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-04-21T05:40:30.381Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T05:40:30.381Z] Message: update stable to v1.0.73 [2020-04-21T05:40:30.948Z] ------------------- [2020-04-21T05:40:30.948Z] experimental info: [2020-04-21T05:40:30.948Z] ------------------- [2020-04-21T05:40:30.948Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-04-21T05:40:30.948Z] Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 [2020-04-21T05:40:30.948Z] Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:40:32.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T05:40:32.994Z] [2020-04-21T05:40:32.994Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:40:33.358Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-04-21T05:40:33.358Z] latest: Pulling from edgex-devops/git-semver [2020-04-21T05:40:33.358Z] 9123ac7c32f7: Pulling fs layer [2020-04-21T05:40:33.358Z] b8cc5d1170e3: Pulling fs layer [2020-04-21T05:40:33.358Z] 2924cbbf6a41: Pulling fs layer [2020-04-21T05:40:33.358Z] 93b08a4f1073: Pulling fs layer [2020-04-21T05:40:33.358Z] b8cc5d1170e3: Verifying Checksum [2020-04-21T05:40:33.358Z] b8cc5d1170e3: Download complete [2020-04-21T05:40:33.634Z] 9123ac7c32f7: Verifying Checksum [2020-04-21T05:40:33.634Z] 9123ac7c32f7: Download complete [2020-04-21T05:40:33.634Z] 93b08a4f1073: Verifying Checksum [2020-04-21T05:40:33.634Z] 93b08a4f1073: Download complete [2020-04-21T05:40:33.634Z] 2924cbbf6a41: Verifying Checksum [2020-04-21T05:40:33.634Z] 2924cbbf6a41: Download complete [2020-04-21T05:40:33.634Z] 9123ac7c32f7: Pull complete [2020-04-21T05:40:33.894Z] b8cc5d1170e3: Pull complete [2020-04-21T05:40:34.467Z] 2924cbbf6a41: Pull complete [2020-04-21T05:40:34.726Z] 93b08a4f1073: Pull complete [2020-04-21T05:40:34.726Z] Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 [2020-04-21T05:40:34.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-04-21T05:40:34.882Z] prd-centos7-docker-4c-2g-5146 does not seem to be running inside a container [2020-04-21T05:40:34.896Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-144 -v /w/workspace/xfoundry_device-modbus-go_PR-144:/w/workspace/xfoundry_device-modbus-go_PR-144:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-144@tmp:/w/workspace/xfoundry_device-modbus-go_PR-144@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-21T05:40:35.510Z] $ docker top 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-04-21T05:40:35.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T05:40:35.879Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T05:40:36.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T05:40:36.087Z] $ docker exec 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent [2020-04-21T05:40:36.277Z] SSH_AUTH_SOCK=/tmp/ssh-sp5XRufhSI21/agent.15 [2020-04-21T05:40:36.277Z] SSH_AGENT_PID=22 [2020-04-21T05:40:36.288Z] Running ssh-add (command line suppressed) [2020-04-21T05:40:36.433Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5002812014804111329.key (/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5002812014804111329.key) [2020-04-21T05:40:36.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T05:40:36.838Z] + git describe --exact-match --tags HEAD [2020-04-21T05:40:36.838Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-04-21T05:40:36.922Z] $ docker exec --env ******** --env ******** 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent -k [2020-04-21T05:40:37.058Z] unset SSH_AUTH_SOCK; [2020-04-21T05:40:37.058Z] unset SSH_AGENT_PID; [2020-04-21T05:40:37.058Z] echo Agent pid 22 killed; [2020-04-21T05:40:37.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-04-21T05:40:37.237Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-04-21T05:40:37.237Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-04-21T05:40:37.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-04-21T05:40:37.332Z] [ssh-agent] Looking for ssh-agent implementation... [2020-04-21T05:40:37.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-04-21T05:40:37.517Z] $ docker exec 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent [2020-04-21T05:40:37.709Z] SSH_AUTH_SOCK=/tmp/ssh-9tKES65gryNH/agent.58 [2020-04-21T05:40:37.709Z] SSH_AGENT_PID=65 [2020-04-21T05:40:37.716Z] Running ssh-add (command line suppressed) [2020-04-21T05:40:37.860Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5847965089855079627.key (/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/private_key_5847965089855079627.key) [2020-04-21T05:40:37.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-04-21T05:40:38.272Z] + git semver init [2020-04-21T05:40:38.272Z] # -> Open(): unable to determine branch for HEAD [2020-04-21T05:40:38.272Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-144/.git [2020-04-21T05:40:38.272Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-144 [2020-04-21T05:40:38.272Z] # $SEMVER_REMOTE_NAME = origin [2020-04-21T05:40:38.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-04-21T05:40:38.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-04-21T05:40:38.272Z] # $SEMVER_BRANCH = PR-144 [2020-04-21T05:40:38.272Z] # $SEMVER_TEMP = /tmp/semver-219249290 [2020-04-21T05:40:38.272Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-04-21T05:40:38.531Z] # '/tmp/semver-219249290' -> '/w/workspace/xfoundry_device-modbus-go_PR-144/.semver' [2020-04-21T05:40:38.531Z] # -> Force: false [2020-04-21T05:40:38.532Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-144/.semver [Pipeline] } [2020-04-21T05:40:38.565Z] $ docker exec --env ******** --env ******** 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb ssh-agent -k [2020-04-21T05:40:38.702Z] unset SSH_AUTH_SOCK; [2020-04-21T05:40:38.703Z] unset SSH_AGENT_PID; [2020-04-21T05:40:38.703Z] echo Agent pid 65 killed; [2020-04-21T05:40:38.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-04-21T05:40:39.251Z] + git semver [Pipeline] } [2020-04-21T05:40:39.277Z] $ docker stop --time=1 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb [2020-04-21T05:40:40.600Z] $ docker rm -f 7dd854ca502c4e2c064c4e7e6e601b883875f85e1de4f71ff17113c5fdff0bcb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-04-21T05:40:41.356Z] Stashed 23 file(s) [Pipeline] echo [2020-04-21T05:40:41.376Z] [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-21T05:40:56.840Z] Still waiting to schedule task [2020-04-21T05:40:56.840Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-04-21T05:40:56.878Z] Still waiting to schedule task [2020-04-21T05:40:56.879Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-04-21T05:43:48.243Z] Running on prd-centos7-docker-4c-2g-5147 in /w/workspace/xfoundry_device-modbus-go_PR-144 [Pipeline] { [Pipeline] ws [2020-04-21T05:43:48.371Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-21T05:43:55.404Z] using credential edgex-jenkins-ssh [2020-04-21T05:43:55.451Z] Cloning the remote Git repository [2020-04-21T05:43:55.451Z] Cloning with configured refspecs honoured and without tags [2020-04-21T05:43:55.498Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:43:55.558Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-21T05:43:55.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:43:55.623Z] > git --version # timeout=10 [2020-04-21T05:43:55.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:43:55.660Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:43:56.595Z] Fetching without tags [2020-04-21T05:43:57.059Z] Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:43:56.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T05:43:56.561Z] > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # timeout=10 [2020-04-21T05:43:56.573Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:43:56.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T05:43:56.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:43:56.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:43:56.609Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:43:57.078Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:43:57.086Z] > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 [2020-04-21T05:43:57.201Z] Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:43:57.201Z] Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) [2020-04-21T05:43:57.149Z] > git remote # timeout=10 [2020-04-21T05:43:57.156Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T05:43:57.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:43:57.180Z] > git merge 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 [2020-04-21T05:43:57.192Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T05:43:57.206Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:43:57.221Z] > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 [2020-04-21T05:44:01.259Z] Commit message: "Update SDK version and Dockerfile" [2020-04-21T05:44:01.306Z] > git --version # timeout=10 [2020-04-21T05:44:01.328Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-04-21T05:44:02.621Z] ========================================================= [2020-04-21T05:44:02.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-04-21T05:44:02.621Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:44:03.589Z] + 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-21T05:44:04.193Z] Sending build context to Docker daemon 568.8kB [2020-04-21T05:44:04.193Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T05:44:04.193Z] Step 2/8 : FROM ${BASE} [2020-04-21T05:44:04.193Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-04-21T05:44:04.193Z] e6b0cf9c0882: Pulling fs layer [2020-04-21T05:44:04.193Z] 2848faf0eed1: Pulling fs layer [2020-04-21T05:44:04.193Z] 0f37312ad70f: Pulling fs layer [2020-04-21T05:44:04.193Z] 5788d62ee057: Pulling fs layer [2020-04-21T05:44:04.193Z] 0e6b1d234666: Pulling fs layer [2020-04-21T05:44:04.193Z] bf5d7aec512f: Pulling fs layer [2020-04-21T05:44:04.193Z] 34c802a77dc8: Pulling fs layer [2020-04-21T05:44:04.193Z] 9eb99e56ec68: Pulling fs layer [2020-04-21T05:44:04.193Z] 27c7a5d97fbd: Pulling fs layer [2020-04-21T05:44:04.193Z] 5c102a31e300: Pulling fs layer [2020-04-21T05:44:04.193Z] dcfb455df0a1: Pulling fs layer [2020-04-21T05:44:04.193Z] 5788d62ee057: Waiting [2020-04-21T05:44:04.193Z] 0e6b1d234666: Waiting [2020-04-21T05:44:04.193Z] bf5d7aec512f: Waiting [2020-04-21T05:44:04.193Z] 34c802a77dc8: Waiting [2020-04-21T05:44:04.193Z] 9eb99e56ec68: Waiting [2020-04-21T05:44:04.193Z] 27c7a5d97fbd: Waiting [2020-04-21T05:44:04.193Z] 5c102a31e300: Waiting [2020-04-21T05:44:04.193Z] dcfb455df0a1: Waiting [2020-04-21T05:44:04.193Z] 0f37312ad70f: Download complete [2020-04-21T05:44:04.193Z] 2848faf0eed1: Verifying Checksum [2020-04-21T05:44:04.193Z] 2848faf0eed1: Download complete [2020-04-21T05:44:04.477Z] 0e6b1d234666: Verifying Checksum [2020-04-21T05:44:04.477Z] 0e6b1d234666: Download complete [2020-04-21T05:44:04.477Z] bf5d7aec512f: Verifying Checksum [2020-04-21T05:44:04.477Z] bf5d7aec512f: Download complete [2020-04-21T05:44:04.477Z] e6b0cf9c0882: Verifying Checksum [2020-04-21T05:44:04.477Z] e6b0cf9c0882: Download complete [2020-04-21T05:44:05.113Z] e6b0cf9c0882: Pull complete [2020-04-21T05:44:05.832Z] 2848faf0eed1: Pull complete [2020-04-21T05:44:06.688Z] 34c802a77dc8: Verifying Checksum [2020-04-21T05:44:06.688Z] 34c802a77dc8: Download complete [2020-04-21T05:44:06.688Z] 0f37312ad70f: Pull complete [2020-04-21T05:44:07.119Z] 27c7a5d97fbd: Verifying Checksum [2020-04-21T05:44:07.119Z] 27c7a5d97fbd: Download complete [2020-04-21T05:44:07.818Z] 5788d62ee057: Verifying Checksum [2020-04-21T05:44:07.818Z] 5788d62ee057: Download complete [2020-04-21T05:44:08.166Z] dcfb455df0a1: Verifying Checksum [2020-04-21T05:44:08.166Z] dcfb455df0a1: Download complete [2020-04-21T05:44:08.443Z] 9eb99e56ec68: Verifying Checksum [2020-04-21T05:44:08.443Z] 9eb99e56ec68: Download complete [2020-04-21T05:44:08.734Z] 5c102a31e300: Verifying Checksum [2020-04-21T05:44:08.734Z] 5c102a31e300: Download complete [2020-04-21T05:44:17.075Z] 5788d62ee057: Pull complete [2020-04-21T05:44:17.075Z] 0e6b1d234666: Pull complete [2020-04-21T05:44:17.075Z] bf5d7aec512f: Pull complete [2020-04-21T05:44:21.451Z] 34c802a77dc8: Pull complete [2020-04-21T05:44:27.311Z] 9eb99e56ec68: Pull complete [2020-04-21T05:44:27.311Z] 27c7a5d97fbd: Pull complete [2020-04-21T05:44:27.951Z] 5c102a31e300: Pull complete [2020-04-21T05:44:28.217Z] dcfb455df0a1: Pull complete [2020-04-21T05:44:28.217Z] Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 [2020-04-21T05:44:28.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-04-21T05:44:28.217Z] ---> 7c70fe431013 [2020-04-21T05:44:28.217Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T05:44:28.481Z] ---> Running in f45cad9b5bfe [2020-04-21T05:44:28.481Z] Removing intermediate container f45cad9b5bfe [2020-04-21T05:44:28.481Z] ---> dafb208b6d80 [2020-04-21T05:44:28.481Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:44:28.818Z] ---> Running in c2d5eadb189c [2020-04-21T05:44:30.804Z] Removing intermediate container c2d5eadb189c [2020-04-21T05:44:30.804Z] ---> 7600aaaf5cd5 [2020-04-21T05:44:30.804Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:44:30.804Z] ---> Running in 802afecb7aaa [2020-04-21T05:44:31.799Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T05:44:32.388Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T05:44:32.652Z] (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:44:32.928Z] (2/17) Installing libmagic (5.37-r1) [2020-04-21T05:44:32.928Z] (3/17) Installing file (5.37-r1) [2020-04-21T05:44:32.928Z] (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:44:33.226Z] (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:44:33.226Z] (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:44:41.537Z] (7/17) Installing libc-dev (0.7.2-r0) [2020-04-21T05:44:41.537Z] (8/17) Installing g++ (9.2.0-r4) [2020-04-21T05:44:47.519Z] (9/17) Installing fortify-headers (1.1-r0) [2020-04-21T05:44:47.519Z] (10/17) Installing build-base (0.5-r1) [2020-04-21T05:44:47.519Z] (11/17) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T05:44:47.519Z] (12/17) Installing libedit (20191211.3.1-r0) [2020-04-21T05:44:47.519Z] (13/17) Installing openssh-client (8.1_p1-r0) [2020-04-21T05:44:47.519Z] (14/17) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T05:44:47.519Z] (15/17) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T05:44:47.519Z] (16/17) Installing openssh-server (8.1_p1-r0) [2020-04-21T05:44:47.519Z] (17/17) Installing openssh (8.1_p1-r0) [2020-04-21T05:44:47.790Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T05:44:47.790Z] OK: 214 MiB in 52 packages [2020-04-21T05:44:52.163Z] Removing intermediate container 802afecb7aaa [2020-04-21T05:44:52.163Z] ---> ddda9b4a27bf [2020-04-21T05:44:52.163Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T05:44:52.163Z] ---> Running in 3b802c8ce9bc [2020-04-21T05:44:52.437Z] Removing intermediate container 3b802c8ce9bc [2020-04-21T05:44:52.437Z] ---> 4643a12a06a4 [2020-04-21T05:44:52.437Z] Step 7/8 : COPY . . [2020-04-21T05:44:52.709Z] ---> b68afc5ba10d [2020-04-21T05:44:52.709Z] Step 8/8 : RUN go mod download [2020-04-21T05:44:52.709Z] ---> Running in ded609b31751 [2020-04-21T05:44:53.464Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5148 in /w/workspace/xfoundry_device-modbus-go_PR-144 [Pipeline] { [Pipeline] ws [2020-04-21T05:44:53.535Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-04-21T05:44:56.152Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T05:44:56.152Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T05:44:56.152Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T05:44:56.152Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T05:44:56.152Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T05:44:56.152Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T05:44:56.152Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T05:44:56.152Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T05:44:56.152Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T05:44:56.152Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T05:44:56.152Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T05:44:56.152Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T05:44:56.152Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T05:44:56.413Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T05:44:56.413Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T05:44:56.413Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T05:44:56.413Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T05:44:56.413Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T05:44:56.413Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T05:44:56.413Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T05:44:56.413Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T05:44:56.678Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T05:44:56.678Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T05:44:56.678Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T05:44:56.678Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T05:44:56.678Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T05:44:56.678Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T05:44:56.678Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T05:44:56.971Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T05:44:57.240Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T05:44:57.240Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T05:44:57.501Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T05:44:57.501Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T05:44:57.501Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T05:44:57.501Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T05:44:57.501Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T05:44:57.501Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T05:44:57.775Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T05:44:58.037Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T05:44:58.037Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T05:44:58.037Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T05:44:58.037Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T05:44:58.037Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T05:44:58.037Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T05:44:58.037Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T05:44:58.037Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T05:44:58.037Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T05:44:58.037Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T05:44:58.305Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T05:44:58.305Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T05:44:58.305Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T05:44:58.305Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T05:44:58.305Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T05:44:58.305Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T05:44:58.305Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T05:44:59.506Z] using credential edgex-jenkins-ssh [2020-04-21T05:44:59.551Z] Cloning the remote Git repository [2020-04-21T05:44:59.551Z] Cloning with configured refspecs honoured and without tags [2020-04-21T05:44:59.636Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:44:59.731Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-04-21T05:44:59.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:44:59.814Z] > git --version # timeout=10 [2020-04-21T05:44:59.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:44:59.914Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:45:00.742Z] Fetching without tags [2020-04-21T05:45:01.316Z] Merging remotes/origin/master commit 19fa6973f701ad94a11b5f6c391ca92bd197d7ff into PR head commit 001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:45:01.635Z] Merge succeeded, producing 001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:45:01.635Z] Checking out Revision 001f4726e63f8a98109bde2752933b06903fc96d (PR-144) [2020-04-21T05:45:00.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T05:45:00.652Z] > git config --add remote.origin.fetch +refs/pull/144/head:refs/remotes/origin/PR-144 # timeout=10 [2020-04-21T05:45:00.676Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:45:00.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-04-21T05:45:00.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-04-21T05:45:00.761Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:45:00.774Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-04-21T05:45:01.345Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:45:01.393Z] > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 [2020-04-21T05:45:01.489Z] > git remote # timeout=10 [2020-04-21T05:45:01.521Z] > git config --get remote.origin.url # timeout=10 [2020-04-21T05:45:01.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-04-21T05:45:01.566Z] > git merge 19fa6973f701ad94a11b5f6c391ca92bd197d7ff # timeout=10 [2020-04-21T05:45:01.597Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-04-21T05:45:01.650Z] > git config core.sparsecheckout # timeout=10 [2020-04-21T05:45:01.675Z] > git checkout -f 001f4726e63f8a98109bde2752933b06903fc96d # timeout=10 [2020-04-21T05:45:05.251Z] Removing intermediate container ded609b31751 [2020-04-21T05:45:05.251Z] ---> 4382a9e46183 [2020-04-21T05:45:05.251Z] Successfully built 4382a9e46183 [2020-04-21T05:45:05.251Z] 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-21T05:45:06.194Z] + docker inspect -f . ci-base-image-x86_64 [2020-04-21T05:45:06.550Z] Commit message: "Update SDK version and Dockerfile" [2020-04-21T05:45:06.620Z] > git --version # timeout=10 [2020-04-21T05:45:06.640Z] fatal: bad object e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 [2020-04-21T05:45:06.820Z] . [Pipeline] withDockerContainer [2020-04-21T05:45:07.133Z] prd-centos7-docker-4c-2g-5147 does not seem to be running inside a container [2020-04-21T05:45:07.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-04-21T05:45:09.705Z] $ docker top 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-04-21T05:45:10.470Z] + go version [2020-04-21T05:45:10.470Z] go version go1.13.5 linux/amd64 [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] echo [2020-04-21T05:45:11.057Z] ========================================================= [2020-04-21T05:45:11.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-04-21T05:45:11.057Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:45:11.300Z] + make test [2020-04-21T05:45:11.300Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T05:45:12.198Z] + 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-21T05:45:13.180Z] Sending build context to Docker daemon 568.8kB [2020-04-21T05:45:13.180Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-04-21T05:45:13.180Z] Step 2/8 : FROM ${BASE} [2020-04-21T05:45:13.457Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-04-21T05:45:13.457Z] cde5963f3b93: Pulling fs layer [2020-04-21T05:45:13.457Z] 2a23fa8c16f7: Pulling fs layer [2020-04-21T05:45:13.457Z] 777b28850792: Pulling fs layer [2020-04-21T05:45:13.457Z] 8a11ddd9e578: Pulling fs layer [2020-04-21T05:45:13.457Z] 4cf88f913ddb: Pulling fs layer [2020-04-21T05:45:13.457Z] 1df406cf5192: Pulling fs layer [2020-04-21T05:45:13.457Z] cd6300453558: Pulling fs layer [2020-04-21T05:45:13.457Z] b9c365052c96: Pulling fs layer [2020-04-21T05:45:13.457Z] a2d8cc88f415: Pulling fs layer [2020-04-21T05:45:13.457Z] ea1d1ca13537: Pulling fs layer [2020-04-21T05:45:13.457Z] 3750a50a1c5e: Pulling fs layer [2020-04-21T05:45:13.457Z] 8a11ddd9e578: Waiting [2020-04-21T05:45:13.457Z] 4cf88f913ddb: Waiting [2020-04-21T05:45:13.457Z] 1df406cf5192: Waiting [2020-04-21T05:45:13.457Z] cd6300453558: Waiting [2020-04-21T05:45:13.457Z] b9c365052c96: Waiting [2020-04-21T05:45:13.457Z] ea1d1ca13537: Waiting [2020-04-21T05:45:13.457Z] a2d8cc88f415: Waiting [2020-04-21T05:45:13.457Z] 3750a50a1c5e: Waiting [2020-04-21T05:45:13.457Z] 777b28850792: Verifying Checksum [2020-04-21T05:45:13.457Z] 777b28850792: Download complete [2020-04-21T05:45:13.457Z] 2a23fa8c16f7: Verifying Checksum [2020-04-21T05:45:13.457Z] 2a23fa8c16f7: Download complete [2020-04-21T05:45:13.457Z] 4cf88f913ddb: Verifying Checksum [2020-04-21T05:45:13.457Z] 4cf88f913ddb: Download complete [2020-04-21T05:45:13.457Z] 1df406cf5192: Download complete [2020-04-21T05:45:13.605Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T05:45:13.727Z] cde5963f3b93: Download complete [2020-04-21T05:45:14.712Z] cde5963f3b93: Pull complete [2020-04-21T05:45:15.304Z] 2a23fa8c16f7: Pull complete [2020-04-21T05:45:15.896Z] 777b28850792: Pull complete [2020-04-21T05:45:17.857Z] cd6300453558: Verifying Checksum [2020-04-21T05:45:17.857Z] cd6300453558: Download complete [2020-04-21T05:45:17.857Z] a2d8cc88f415: Download complete [2020-04-21T05:45:20.462Z] ea1d1ca13537: Verifying Checksum [2020-04-21T05:45:20.462Z] ea1d1ca13537: Download complete [2020-04-21T05:45:20.462Z] 3750a50a1c5e: Verifying Checksum [2020-04-21T05:45:20.462Z] 3750a50a1c5e: Download complete [2020-04-21T05:45:23.080Z] b9c365052c96: Verifying Checksum [2020-04-21T05:45:23.080Z] b9c365052c96: Download complete [2020-04-21T05:45:24.492Z] 8a11ddd9e578: Verifying Checksum [2020-04-21T05:45:24.492Z] 8a11ddd9e578: Download complete [2020-04-21T05:45:36.300Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T05:45:36.300Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.373s coverage: 50.3% of statements [2020-04-21T05:45:36.300Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T05:45:36.831Z] 8a11ddd9e578: Pull complete [2020-04-21T05:45:36.831Z] 4cf88f913ddb: Pull complete [2020-04-21T05:45:36.831Z] 1df406cf5192: Pull complete [2020-04-21T05:45:39.856Z] gofmt -l . [2020-04-21T05:45:39.856Z] [ "`gofmt -l .`" = "" ] [2020-04-21T05:45:39.856Z] ./bin/test-attribution-txt.sh [2020-04-21T05:45:40.205Z] cd6300453558: Pull complete [2020-04-21T05:45:41.272Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T05:45:43.308Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T05:45:43.394Z] $ docker stop --time=1 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 [2020-04-21T05:45:45.193Z] $ docker rm -f 1abbaaf0c24bac2b6b332517ea3b98248c100a0fc9942f3cee3dc93be64fa322 [2020-04-21T05:45:45.580Z] b9c365052c96: Pull complete [2020-04-21T05:45:45.580Z] a2d8cc88f415: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T05:45:46.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T05:45:47.281Z] + ls -al . [2020-04-21T05:45:47.281Z] total 104 [2020-04-21T05:45:47.281Z] drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 05:45 . [2020-04-21T05:45:47.281Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:43 .. [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 05:43 Attribution.txt [2020-04-21T05:45:47.281Z] drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 05:43 bin [2020-04-21T05:45:47.281Z] drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 05:43 cmd [2020-04-21T05:45:47.281Z] -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 05:45 coverage.out [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 05:43 Dockerfile [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 05:43 Dockerfile.build [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 05:43 .dockerignore [2020-04-21T05:45:47.281Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:44 .git [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 05:43 .gitignore [2020-04-21T05:45:47.281Z] -rw-r--r--. 1 jenkins jenkins 566 Apr 21 05:45 go.mod [2020-04-21T05:45:47.281Z] -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 05:45 go.sum [2020-04-21T05:45:47.281Z] drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 05:43 internal [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 681 Apr 21 05:43 Jenkinsfile [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 05:43 LICENSE [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 05:43 Makefile [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 05:43 README.md [2020-04-21T05:45:47.281Z] drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 05:44 .semver [2020-04-21T05:45:47.281Z] drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 05:43 simulator [2020-04-21T05:45:47.281Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 05:43 snap [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:40 VERSION [2020-04-21T05:45:47.281Z] -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 05:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:45:47.545Z] ea1d1ca13537: Pull complete [2020-04-21T05:45:47.622Z] + 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=001f4726e63f8a98109bde2752933b06903fc96d --label arch=amd64 --label version=0.0.0 . [2020-04-21T05:45:47.816Z] 3750a50a1c5e: Pull complete [2020-04-21T05:45:47.816Z] Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 [2020-04-21T05:45:47.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-04-21T05:45:47.816Z] ---> 78745c68409d [2020-04-21T05:45:47.816Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-04-21T05:45:47.886Z] Sending build context to Docker daemon 597.5kB [2020-04-21T05:45:47.886Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T05:45:47.886Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T05:45:47.886Z] ---> 4382a9e46183 [2020-04-21T05:45:47.886Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T05:45:47.886Z] ---> Running in e535dd49b14f [2020-04-21T05:45:48.158Z] Removing intermediate container e535dd49b14f [2020-04-21T05:45:48.158Z] ---> 577798874b33 [2020-04-21T05:45:48.158Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:45:48.158Z] ---> Running in 405d686eb152 [2020-04-21T05:45:49.106Z] Removing intermediate container 405d686eb152 [2020-04-21T05:45:49.106Z] ---> 6d89477ef561 [2020-04-21T05:45:49.106Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:45:49.377Z] ---> Running in 4e0534fedb48 [2020-04-21T05:45:49.955Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz [2020-04-21T05:45:50.525Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz [2020-04-21T05:45:50.786Z] OK: 214 MiB in 52 packages [2020-04-21T05:45:51.360Z] Removing intermediate container 4e0534fedb48 [2020-04-21T05:45:51.360Z] ---> 736d0cc6d54f [2020-04-21T05:45:51.360Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T05:45:51.360Z] ---> Running in 3c3c20433227 [2020-04-21T05:45:51.623Z] Removing intermediate container 3c3c20433227 [2020-04-21T05:45:51.623Z] ---> 61de1e1ff5b5 [2020-04-21T05:45:51.623Z] Step 7/19 : COPY . . [2020-04-21T05:45:51.885Z] ---> b588359061dd [2020-04-21T05:45:51.885Z] Step 8/19 : RUN ${MAKE} [2020-04-21T05:45:51.885Z] ---> Running in bbe56b5b038f [2020-04-21T05:45:52.099Z] ---> Running in 924f2f3d4aae [2020-04-21T05:45:52.366Z] Removing intermediate container 924f2f3d4aae [2020-04-21T05:45:52.366Z] ---> 913b4928ea9d [2020-04-21T05:45:52.366Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:45:52.465Z] 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-21T05:45:52.636Z] ---> Running in e39e317f732a [2020-04-21T05:45:54.596Z] Removing intermediate container e39e317f732a [2020-04-21T05:45:54.596Z] ---> 3695c5e878e8 [2020-04-21T05:45:54.596Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:45:54.867Z] ---> Running in bcab11253fb1 [2020-04-21T05:45:55.830Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T05:45:56.414Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T05:45:57.377Z] (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:45:57.377Z] (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:45:57.645Z] (3/18) Installing libmagic (5.37-r1) [2020-04-21T05:45:57.912Z] (4/18) Installing file (5.37-r1) [2020-04-21T05:45:57.912Z] (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:45:57.912Z] (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:45:58.179Z] (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) [2020-04-21T05:46:08.251Z] (8/18) Installing libc-dev (0.7.2-r0) [2020-04-21T05:46:08.517Z] (9/18) Installing g++ (9.2.0-r4) [2020-04-21T05:46:20.378Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T05:46:22.364Z] Removing intermediate container bbe56b5b038f [2020-04-21T05:46:22.364Z] ---> b06061be0c34 [2020-04-21T05:46:22.364Z] Step 9/19 : FROM scratch [2020-04-21T05:46:22.364Z] ---> [2020-04-21T05:46:22.364Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T05:46:22.364Z] ---> Running in 527e22c14225 [2020-04-21T05:46:22.630Z] Removing intermediate container 527e22c14225 [2020-04-21T05:46:22.630Z] ---> 6f3bfad45bc8 [2020-04-21T05:46:22.630Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T05:46:22.630Z] ---> Running in c99ed5d8d371 [2020-04-21T05:46:22.969Z] Removing intermediate container c99ed5d8d371 [2020-04-21T05:46:22.969Z] ---> 9882a17cca6c [2020-04-21T05:46:22.969Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T05:46:23.642Z] ---> 4b93830048d2 [2020-04-21T05:46:23.642Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T05:46:24.268Z] ---> 7f54d348fe67 [2020-04-21T05:46:24.268Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T05:46:24.553Z] ---> f46bc4daead1 [2020-04-21T05:46:24.553Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T05:46:24.553Z] ---> Running in 8bdd4b0cdba6 [2020-04-21T05:46:24.848Z] Removing intermediate container 8bdd4b0cdba6 [2020-04-21T05:46:24.848Z] ---> 683f667f3b3e [2020-04-21T05:46:24.848Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T05:46:24.848Z] ---> Running in 3606fe15b2d1 [2020-04-21T05:46:25.119Z] Removing intermediate container 3606fe15b2d1 [2020-04-21T05:46:25.119Z] ---> 5fe75a828c3a [2020-04-21T05:46:25.119Z] Step 17/19 : LABEL arch=amd64 [2020-04-21T05:46:25.384Z] ---> Running in b376d4ee5988 [2020-04-21T05:46:25.384Z] Removing intermediate container b376d4ee5988 [2020-04-21T05:46:25.384Z] ---> 1c46de71e47d [2020-04-21T05:46:25.384Z] Step 18/19 : LABEL git_sha=001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:46:25.657Z] ---> Running in 09747bc0bf3c [2020-04-21T05:46:25.657Z] Removing intermediate container 09747bc0bf3c [2020-04-21T05:46:25.657Z] ---> 91e8c03359ac [2020-04-21T05:46:25.657Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T05:46:25.657Z] ---> Running in 86519333fa41 [2020-04-21T05:46:25.945Z] Removing intermediate container 86519333fa41 [2020-04-21T05:46:25.945Z] ---> b57c59355895 [2020-04-21T05:46:25.945Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T05:46:25.945Z] Successfully built b57c59355895 [2020-04-21T05:46:25.945Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T05:46:26.721Z] (10/18) Installing fortify-headers (1.1-r0) [2020-04-21T05:46:26.721Z] (11/18) Installing build-base (0.5-r1) [2020-04-21T05:46:26.721Z] (12/18) Installing openssh-keygen (8.1_p1-r0) [2020-04-21T05:46:26.721Z] (13/18) Installing libedit (20191211.3.1-r0) [2020-04-21T05:46:26.721Z] (14/18) Installing openssh-client (8.1_p1-r0) [2020-04-21T05:46:26.721Z] (15/18) Installing openssh-sftp-server (8.1_p1-r0) [2020-04-21T05:46:26.721Z] (16/18) Installing openssh-server-common (8.1_p1-r0) [2020-04-21T05:46:26.721Z] (17/18) Installing openssh-server (8.1_p1-r0) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-04-21T05:46:26.988Z] (18/18) Installing openssh (8.1_p1-r0) [2020-04-21T05:46:26.988Z] Executing busybox-1.31.1-r8.trigger [2020-04-21T05:46:26.988Z] OK: 203 MiB in 52 packages [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-04-21T05:46:33.642Z] Removing intermediate container bcab11253fb1 [2020-04-21T05:46:33.642Z] ---> 03d04a8966fc [2020-04-21T05:46:33.642Z] Step 6/8 : WORKDIR /device-modbus-go [2020-04-21T05:46:33.642Z] ---> Running in 97b1a304e740 [2020-04-21T05:46:33.910Z] Removing intermediate container 97b1a304e740 [2020-04-21T05:46:33.910Z] ---> d3ce2353204b [2020-04-21T05:46:33.910Z] Step 7/8 : COPY . . [2020-04-21T05:46:34.884Z] ---> 4da476abd7da [2020-04-21T05:46:34.884Z] Step 8/8 : RUN go mod download [2020-04-21T05:46:34.884Z] ---> Running in 64a45214bd3c [2020-04-21T05:46:36.827Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-04-21T05:46:36.827Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-04-21T05:46:36.827Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-04-21T05:46:36.827Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-04-21T05:46:36.827Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-04-21T05:46:36.827Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-04-21T05:46:36.827Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-04-21T05:46:36.827Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-04-21T05:46:36.827Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 [2020-04-21T05:46:36.827Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 [2020-04-21T05:46:36.827Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-04-21T05:46:37.099Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 [2020-04-21T05:46:37.099Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 [2020-04-21T05:46:37.099Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-04-21T05:46:37.099Z] go: finding github.com/fatih/color v1.7.0 [2020-04-21T05:46:37.099Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-04-21T05:46:37.099Z] go: finding github.com/go-kit/kit v0.8.0 [2020-04-21T05:46:37.099Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-04-21T05:46:37.099Z] go: finding github.com/go-stack/stack v1.8.0 [2020-04-21T05:46:37.099Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-04-21T05:46:37.099Z] go: finding github.com/goburrow/serial v0.1.0 [2020-04-21T05:46:37.099Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-04-21T05:46:37.099Z] go: finding github.com/google/uuid v1.1.1 [2020-04-21T05:46:37.099Z] go: finding github.com/gorilla/mux v1.7.1 [2020-04-21T05:46:37.099Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-04-21T05:46:37.099Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-04-21T05:46:37.099Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-04-21T05:46:37.099Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-04-21T05:46:37.099Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-04-21T05:46:37.366Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-04-21T05:46:37.366Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-04-21T05:46:37.366Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-04-21T05:46:37.366Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-04-21T05:46:37.366Z] go: finding github.com/miekg/dns v1.1.4 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-04-21T05:46:37.633Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-04-21T05:46:37.633Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-04-21T05:46:37.901Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-04-21T05:46:37.901Z] go: finding github.com/pkg/errors v0.8.1 [2020-04-21T05:46:37.901Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-04-21T05:46:37.901Z] go: finding github.com/posener/complete v1.1.1 [2020-04-21T05:46:37.901Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-04-21T05:46:37.901Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-04-21T05:46:37.901Z] go: finding github.com/stretchr/objx v0.1.0 [2020-04-21T05:46:37.901Z] go: finding github.com/stretchr/testify v1.5.1 [2020-04-21T05:46:37.901Z] go: finding github.com/ugorji/go v1.1.4 [2020-04-21T05:46:37.901Z] go: finding github.com/x448/float16 v0.8.4 [2020-04-21T05:46:37.901Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-04-21T05:46:37.901Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-04-21T05:46:37.901Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-04-21T05:46:37.901Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-04-21T05:46:37.901Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-04-21T05:46:37.901Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-04-21T05:46:48.020Z] Removing intermediate container 64a45214bd3c [2020-04-21T05:46:48.020Z] ---> 53f965a39d09 [2020-04-21T05:46:48.020Z] Successfully built 53f965a39d09 [2020-04-21T05:46:48.020Z] 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-21T05:46:48.861Z] + docker inspect -f . ci-base-image-arm64 [2020-04-21T05:46:49.134Z] . [Pipeline] withDockerContainer [2020-04-21T05:46:49.488Z] prd-ubuntu18.04-docker-arm64-4c-16g-5148 does not seem to be running inside a container [2020-04-21T05:46:49.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-04-21T05:46:50.900Z] $ docker top ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-04-21T05:46:52.017Z] + go version [2020-04-21T05:46:52.017Z] go version go1.13.5 linux/arm64 [Pipeline] sh [2020-04-21T05:46:52.679Z] + make test [2020-04-21T05:46:52.679Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-04-21T05:46:53.655Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-04-21T05:47:20.406Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-04-21T05:47:21.379Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.226s coverage: 50.3% of statements [2020-04-21T05:47:21.975Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-04-21T05:47:27.349Z] gofmt -l . [2020-04-21T05:47:27.349Z] [ "`gofmt -l .`" = "" ] [2020-04-21T05:47:27.349Z] ./bin/test-attribution-txt.sh [2020-04-21T05:47:27.936Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-04-21T05:47:28.551Z] Warning: overwriting stash ‘coverage-report’ [2020-04-21T05:47:28.912Z] Stashed 1 file(s) [Pipeline] } [2020-04-21T05:47:28.929Z] $ docker stop --time=1 ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 [2020-04-21T05:47:31.064Z] $ docker rm -f ed68a8fc63e781cf4805044e8a2a91f599b5988edfb327e6147186d32ac103d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-04-21T05:47:32.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-04-21T05:47:32.846Z] + ls -al . [2020-04-21T05:47:32.846Z] total 136 [2020-04-21T05:47:32.846Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 05:47 . [2020-04-21T05:47:32.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:44 .. [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 05:45 .dockerignore [2020-04-21T05:47:32.846Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:45 .git [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 05:45 .gitignore [2020-04-21T05:47:32.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 .semver [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 05:45 Attribution.txt [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 05:45 Dockerfile [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 05:45 Dockerfile.build [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 681 Apr 21 05:45 Jenkinsfile [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 05:45 LICENSE [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 05:45 Makefile [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 05:45 README.md [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:40 VERSION [2020-04-21T05:47:32.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:45 bin [2020-04-21T05:47:32.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 cmd [2020-04-21T05:47:32.846Z] -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 05:47 coverage.out [2020-04-21T05:47:32.846Z] -rw-r--r-- 1 jenkins jenkins 566 Apr 21 05:47 go.mod [2020-04-21T05:47:32.846Z] -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 05:47 go.sum [2020-04-21T05:47:32.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 05:45 internal [2020-04-21T05:47:32.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:45 simulator [2020-04-21T05:47:32.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:45 snap [2020-04-21T05:47:32.846Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 05:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:47:33.204Z] + 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=001f4726e63f8a98109bde2752933b06903fc96d --label arch=arm64 --label version=0.0.0 . [2020-04-21T05:47:33.472Z] Sending build context to Docker daemon 597.5kB [2020-04-21T05:47:33.472Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-04-21T05:47:33.472Z] Step 2/19 : FROM ${BASE} AS builder [2020-04-21T05:47:33.472Z] ---> 53f965a39d09 [2020-04-21T05:47:33.472Z] Step 3/19 : ARG MAKE='make build' [2020-04-21T05:47:33.743Z] ---> Running in 12865c853c3f [2020-04-21T05:47:34.011Z] Removing intermediate container 12865c853c3f [2020-04-21T05:47:34.011Z] ---> 3ef355625de4 [2020-04-21T05:47:34.011Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-04-21T05:47:34.280Z] ---> Running in 44143dc10631 [2020-04-21T05:47:36.233Z] Removing intermediate container 44143dc10631 [2020-04-21T05:47:36.233Z] ---> 69a6d5c9d17e [2020-04-21T05:47:36.233Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-04-21T05:47:36.233Z] ---> Running in 8e9e9c06b47e [2020-04-21T05:47:36.814Z] fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz [2020-04-21T05:47:37.767Z] fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [2020-04-21T05:47:38.722Z] OK: 203 MiB in 52 packages [2020-04-21T05:47:40.130Z] Removing intermediate container 8e9e9c06b47e [2020-04-21T05:47:40.130Z] ---> aecc680d077e [2020-04-21T05:47:40.130Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-04-21T05:47:40.130Z] ---> Running in 2caa36672625 [2020-04-21T05:47:40.397Z] Removing intermediate container 2caa36672625 [2020-04-21T05:47:40.397Z] ---> 17b42c8f672b [2020-04-21T05:47:40.397Z] Step 7/19 : COPY . . [2020-04-21T05:47:41.108Z] ---> 65b2e4177951 [2020-04-21T05:47:41.108Z] Step 8/19 : RUN ${MAKE} [2020-04-21T05:47:41.415Z] ---> Running in 786a314efc99 [2020-04-21T05:47:42.406Z] 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-21T05:48:04.519Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-04-21T05:48:12.743Z] Removing intermediate container 786a314efc99 [2020-04-21T05:48:12.743Z] ---> d0f19c456e1d [2020-04-21T05:48:12.743Z] Step 9/19 : FROM scratch [2020-04-21T05:48:12.743Z] ---> [2020-04-21T05:48:12.743Z] Step 10/19 : ENV APP_PORT=49991 [2020-04-21T05:48:12.743Z] ---> Running in a668b1a8af3d [2020-04-21T05:48:13.011Z] Removing intermediate container a668b1a8af3d [2020-04-21T05:48:13.011Z] ---> 445f6b1b9660 [2020-04-21T05:48:13.011Z] Step 11/19 : EXPOSE $APP_PORT [2020-04-21T05:48:13.281Z] ---> Running in 55567b95338b [2020-04-21T05:48:13.550Z] Removing intermediate container 55567b95338b [2020-04-21T05:48:13.550Z] ---> cd3ee515b361 [2020-04-21T05:48:13.550Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-04-21T05:48:14.512Z] ---> 23b620d340b6 [2020-04-21T05:48:14.512Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-04-21T05:48:15.099Z] ---> 644ae6ccade9 [2020-04-21T05:48:15.099Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-04-21T05:48:15.368Z] ---> 65782dc40fb4 [2020-04-21T05:48:15.368Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-04-21T05:48:15.638Z] ---> Running in b247d0b005c5 [2020-04-21T05:48:15.926Z] Removing intermediate container b247d0b005c5 [2020-04-21T05:48:15.926Z] ---> 78bb5186b7a2 [2020-04-21T05:48:15.926Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-04-21T05:48:15.926Z] ---> Running in 62d604eabc30 [2020-04-21T05:48:16.511Z] Removing intermediate container 62d604eabc30 [2020-04-21T05:48:16.511Z] ---> b585d1946821 [2020-04-21T05:48:16.511Z] Step 17/19 : LABEL arch=arm64 [2020-04-21T05:48:16.511Z] ---> Running in c3e0cb25b9a4 [2020-04-21T05:48:16.778Z] Removing intermediate container c3e0cb25b9a4 [2020-04-21T05:48:16.778Z] ---> 079c2d5de18f [2020-04-21T05:48:16.778Z] Step 18/19 : LABEL git_sha=001f4726e63f8a98109bde2752933b06903fc96d [2020-04-21T05:48:17.044Z] ---> Running in 801dd50f3f44 [2020-04-21T05:48:17.311Z] Removing intermediate container 801dd50f3f44 [2020-04-21T05:48:17.311Z] ---> eb3d15fc6f95 [2020-04-21T05:48:17.311Z] Step 19/19 : LABEL version=0.0.0 [2020-04-21T05:48:17.578Z] ---> Running in dc0fc8f86347 [2020-04-21T05:48:17.843Z] Removing intermediate container dc0fc8f86347 [2020-04-21T05:48:17.844Z] ---> 887e2c6a44bd [2020-04-21T05:48:17.844Z] [Warning] One or more build-args [ARCH] were not consumed [2020-04-21T05:48:17.844Z] Successfully built 887e2c6a44bd [2020-04-21T05:48:17.844Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-04-21T05:48:19.717Z] provisioning config files... [2020-04-21T05:48:19.731Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config7968492718828093245tmp [Pipeline] { [Pipeline] sh [2020-04-21T05:48:20.124Z] + curl -s https://codecov.io/bash [2020-04-21T05:48:20.124Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config7968492718828093245tmp [Pipeline] } [2020-04-21T05:50:41.648Z] 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-21T05:50:43.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T05:50:43.654Z] ---> package-listing.sh [2020-04-21T05:50:43.654Z] ++ facter osfamily [2020-04-21T05:50:43.654Z] ++ tr '[:upper:]' '[:lower:]' [2020-04-21T05:50:43.654Z] + OS_FAMILY=redhat [2020-04-21T05:50:43.654Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-144 [2020-04-21T05:50:43.654Z] + START_PACKAGES=/tmp/packages_start.txt [2020-04-21T05:50:43.654Z] + END_PACKAGES=/tmp/packages_end.txt [2020-04-21T05:50:43.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-04-21T05:50:43.654Z] + PACKAGES=/tmp/packages_start.txt [2020-04-21T05:50:43.654Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-144 ']' [2020-04-21T05:50:43.654Z] + PACKAGES=/tmp/packages_end.txt [2020-04-21T05:50:43.654Z] + case "${OS_FAMILY}" in [2020-04-21T05:50:43.654Z] + rpm -qa [2020-04-21T05:50:43.654Z] + sort [2020-04-21T05:50:47.851Z] + '[' -f /tmp/packages_start.txt ']' [2020-04-21T05:50:47.851Z] + '[' -f /tmp/packages_end.txt ']' [2020-04-21T05:50:47.851Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-04-21T05:50:47.851Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-144 ']' [2020-04-21T05:50:47.851Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-144/archives/ [2020-04-21T05:50:47.851Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-144/archives/ [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:50:48.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T05:50:48.230Z] [2020-04-21T05:50:48.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-04-21T05:50:48.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-04-21T05:50:48.593Z] alpine: Pulling from edgex-lftools-log-publisher [2020-04-21T05:50:48.593Z] c9b1b535fdd9: Pulling fs layer [2020-04-21T05:50:48.593Z] 2cc5ad85d9ab: Pulling fs layer [2020-04-21T05:50:48.593Z] 756a868c4378: Pulling fs layer [2020-04-21T05:50:48.593Z] 444b2fc9a129: Pulling fs layer [2020-04-21T05:50:48.593Z] ea15f1150254: Pulling fs layer [2020-04-21T05:50:48.593Z] 41b27a9f41bf: Pulling fs layer [2020-04-21T05:50:48.593Z] 28c525ee5125: Pulling fs layer [2020-04-21T05:50:48.593Z] 094b1ea09ed8: Pulling fs layer [2020-04-21T05:50:48.593Z] 138eaada9080: Pulling fs layer [2020-04-21T05:50:48.593Z] 0622d0fa9048: Pulling fs layer [2020-04-21T05:50:48.593Z] 28c525ee5125: Waiting [2020-04-21T05:50:48.593Z] 094b1ea09ed8: Waiting [2020-04-21T05:50:48.593Z] 138eaada9080: Waiting [2020-04-21T05:50:48.593Z] 0622d0fa9048: Waiting [2020-04-21T05:50:48.594Z] ea15f1150254: Waiting [2020-04-21T05:50:48.594Z] 41b27a9f41bf: Waiting [2020-04-21T05:50:48.594Z] 444b2fc9a129: Waiting [2020-04-21T05:50:48.594Z] 2cc5ad85d9ab: Verifying Checksum [2020-04-21T05:50:48.594Z] 2cc5ad85d9ab: Download complete [2020-04-21T05:50:48.594Z] 444b2fc9a129: Verifying Checksum [2020-04-21T05:50:48.594Z] 444b2fc9a129: Download complete [2020-04-21T05:50:48.594Z] c9b1b535fdd9: Verifying Checksum [2020-04-21T05:50:48.860Z] ea15f1150254: Verifying Checksum [2020-04-21T05:50:48.860Z] ea15f1150254: Download complete [2020-04-21T05:50:48.860Z] 28c525ee5125: Verifying Checksum [2020-04-21T05:50:48.860Z] 28c525ee5125: Download complete [2020-04-21T05:50:49.141Z] 756a868c4378: Verifying Checksum [2020-04-21T05:50:49.141Z] 756a868c4378: Download complete [2020-04-21T05:50:49.141Z] c9b1b535fdd9: Pull complete [2020-04-21T05:50:49.141Z] 094b1ea09ed8: Verifying Checksum [2020-04-21T05:50:49.141Z] 094b1ea09ed8: Download complete [2020-04-21T05:50:49.141Z] 138eaada9080: Verifying Checksum [2020-04-21T05:50:49.141Z] 138eaada9080: Download complete [2020-04-21T05:50:49.141Z] 0622d0fa9048: Download complete [2020-04-21T05:50:49.404Z] 2cc5ad85d9ab: Pull complete [2020-04-21T05:50:49.671Z] 41b27a9f41bf: Verifying Checksum [2020-04-21T05:50:49.671Z] 41b27a9f41bf: Download complete [2020-04-21T05:50:51.051Z] 756a868c4378: Pull complete [2020-04-21T05:50:51.312Z] 444b2fc9a129: Pull complete [2020-04-21T05:50:51.571Z] ea15f1150254: Pull complete [2020-04-21T05:50:54.862Z] 41b27a9f41bf: Pull complete [2020-04-21T05:50:54.862Z] 28c525ee5125: Pull complete [2020-04-21T05:50:56.769Z] 094b1ea09ed8: Pull complete [2020-04-21T05:50:57.027Z] 138eaada9080: Pull complete [2020-04-21T05:50:57.027Z] 0622d0fa9048: Pull complete [2020-04-21T05:50:57.027Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-04-21T05:50:57.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-04-21T05:50:57.201Z] prd-centos7-docker-4c-2g-5146 does not seem to be running inside a container [2020-04-21T05:50:57.243Z] $ 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-144 -v /w/workspace/xfoundry_device-modbus-go_PR-144:/w/workspace/xfoundry_device-modbus-go_PR-144:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-144@tmp:/w/workspace/xfoundry_device-modbus-go_PR-144@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-21T05:50:58.265Z] $ docker top f1656a4f686e72f6d8df063adc18b0d685ebe1d0eacbbdf944d35fbe79e6edb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-04-21T05:50:58.570Z] provisioning config files... [2020-04-21T05:50:58.583Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-144@tmp/config5890235988564378479tmp [Pipeline] { [Pipeline] echo [2020-04-21T05:50:58.669Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T05:50:59.007Z] ---> create-netrc.sh [Pipeline] echo [2020-04-21T05:50:59.035Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-04-21T05:50:59.356Z] ---> logs-deploy.sh [2020-04-21T05:50:59.356Z] + ARCHIVE_ARTIFACTS= [2020-04-21T05:50:59.356Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-04-21T05:50:59.356Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-04-21T05:50:59.356Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-04-21T05:50:59.356Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 [2020-04-21T05:50:59.356Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-144/1/ [2020-04-21T05:50:59.356Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 /w/workspace/xfoundry_device-modbus-go_PR-144 [2020-04-21T05:51:00.734Z] Archives upload complete. [2020-04-21T05:51:00.734Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-144/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-144/1/ [2020-04-21T05:51:01.302Z] ---> uname -a: [2020-04-21T05:51:01.302Z] Linux f1656a4f686e 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] ---> lscpu: [2020-04-21T05:51:01.302Z] Architecture: x86_64 [2020-04-21T05:51:01.302Z] CPU op-mode(s): 32-bit, 64-bit [2020-04-21T05:51:01.302Z] Byte Order: Little Endian [2020-04-21T05:51:01.302Z] Address sizes: 40 bits physical, 48 bits virtual [2020-04-21T05:51:01.302Z] CPU(s): 4 [2020-04-21T05:51:01.302Z] On-line CPU(s) list: 0-3 [2020-04-21T05:51:01.302Z] Thread(s) per core: 1 [2020-04-21T05:51:01.302Z] Core(s) per socket: 1 [2020-04-21T05:51:01.302Z] Socket(s): 4 [2020-04-21T05:51:01.302Z] NUMA node(s): 1 [2020-04-21T05:51:01.302Z] Vendor ID: GenuineIntel [2020-04-21T05:51:01.302Z] CPU family: 6 [2020-04-21T05:51:01.302Z] Model: 44 [2020-04-21T05:51:01.302Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-04-21T05:51:01.302Z] Stepping: 1 [2020-04-21T05:51:01.302Z] CPU MHz: 2933.442 [2020-04-21T05:51:01.302Z] BogoMIPS: 5866.88 [2020-04-21T05:51:01.302Z] Virtualization: VT-x [2020-04-21T05:51:01.302Z] Hypervisor vendor: KVM [2020-04-21T05:51:01.302Z] Virtualization type: full [2020-04-21T05:51:01.302Z] L1d cache: 128 KiB [2020-04-21T05:51:01.302Z] L1i cache: 128 KiB [2020-04-21T05:51:01.302Z] L2 cache: 16 MiB [2020-04-21T05:51:01.302Z] L3 cache: 64 MiB [2020-04-21T05:51:01.302Z] NUMA node0 CPU(s): 0-3 [2020-04-21T05:51:01.302Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes [2020-04-21T05:51:01.302Z] Vulnerability Meltdown: Mitigation; PTI [2020-04-21T05:51:01.302Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-04-21T05:51:01.302Z] Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization [2020-04-21T05:51:01.302Z] Vulnerability Spectre v2: Mitigation; Full retpoline [2020-04-21T05:51:01.302Z] 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-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] ---> nproc: [2020-04-21T05:51:01.302Z] 4 [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] ---> df -h: [2020-04-21T05:51:01.302Z] Filesystem Size Used Available Use% Mounted on [2020-04-21T05:51:01.302Z] overlay 50.0G 6.4G 43.6G 13% / [2020-04-21T05:51:01.302Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-04-21T05:51:01.302Z] tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup [2020-04-21T05:51:01.302Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-144@tmp [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa [2020-04-21T05:51:01.302Z] /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-144 [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] ---> free -m: [2020-04-21T05:51:01.302Z] total used free shared buff/cache available [2020-04-21T05:51:01.302Z] Mem: 1838 603 75 0 1159 1130 [2020-04-21T05:51:01.302Z] Swap: 1023 1 1022 [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] [2020-04-21T05:51:01.302Z] ---> ip addr: [2020-04-21T05:51:01.302Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-04-21T05:51:01.302Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-04-21T05:51:01.302Z] inet 127.0.0.1/8 scope host lo [2020-04-21T05:51:01.302Z] valid_lft forever preferred_lft forever [2020-04-21T05:51:01.303Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-04-21T05:51:01.303Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-04-21T05:51:01.303Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-04-21T05:51:01.303Z] valid_lft forever preferred_lft forever [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] ---> sar -b -r -n DEV: [2020-04-21T05:51:01.303Z] Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] 05:39:50 LINUX RESTART [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] 05:41:02 tps rtps wtps bread/s bwrtn/s [2020-04-21T05:51:01.303Z] 05:42:01 9.08 0.00 9.08 0.00 1777.71 [2020-04-21T05:51:01.303Z] 05:43:01 0.40 0.00 0.40 0.00 5.23 [2020-04-21T05:51:01.303Z] 05:44:01 0.28 0.00 0.28 0.00 3.61 [2020-04-21T05:51:01.303Z] 05:45:01 0.27 0.00 0.27 0.00 3.60 [2020-04-21T05:51:01.303Z] 05:46:01 0.28 0.00 0.28 0.00 4.41 [2020-04-21T05:51:01.303Z] 05:47:01 0.33 0.00 0.33 0.00 3.63 [2020-04-21T05:51:01.303Z] 05:48:01 0.28 0.00 0.28 0.00 3.46 [2020-04-21T05:51:01.303Z] 05:49:01 0.63 0.15 0.48 3.20 8.24 [2020-04-21T05:51:01.303Z] 05:50:01 0.43 0.00 0.43 0.00 6.78 [2020-04-21T05:51:01.303Z] Average: 1.32 0.02 1.30 0.36 198.92 [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] 05:41:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-04-21T05:51:01.303Z] 05:42:01 124940 1757364 93.36 2620 1219696 903304 30.82 427380 1168212 8 [2020-04-21T05:51:01.303Z] 05:43:01 124404 1757900 93.39 2620 1219700 903304 30.82 427628 1167912 12 [2020-04-21T05:51:01.303Z] 05:44:01 123656 1758648 93.43 2620 1219712 903524 30.83 428664 1167912 16 [2020-04-21T05:51:01.303Z] 05:45:01 123580 1758724 93.43 2620 1219712 903500 30.83 428544 1167912 20 [2020-04-21T05:51:01.303Z] 05:46:01 124172 1758132 93.40 2620 1219720 903440 30.82 428296 1167912 12 [2020-04-21T05:51:01.303Z] 05:47:01 124360 1757944 93.39 2620 1219724 903368 30.82 427904 1167908 12 [2020-04-21T05:51:01.303Z] 05:48:01 136288 1746016 92.76 2620 1219728 903368 30.82 416124 1167908 8 [2020-04-21T05:51:01.303Z] 05:49:01 132156 1750148 92.98 2620 1219864 915984 31.25 419188 1168024 20 [2020-04-21T05:51:01.303Z] 05:50:01 138928 1743376 92.62 2620 1219868 915908 31.25 412608 1168024 20 [2020-04-21T05:51:01.303Z] Average: 128054 1754250 93.20 2620 1219747 906189 30.92 424037 1167969 14 [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z] 05:41:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s [2020-04-21T05:51:01.303Z] 05:42:01 eth0 0.07 0.08 0.01 0.01 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:43:01 eth0 0.22 0.08 0.01 0.01 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:44:01 eth0 1.83 0.67 0.66 0.22 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:45:01 eth0 0.70 0.30 0.29 0.20 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:46:01 eth0 0.32 0.25 0.14 0.08 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:47:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:48:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:49:01 eth0 5.83 3.35 5.13 2.32 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:50:01 eth0 1.13 0.72 0.88 0.46 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] Average: eth0 1.14 0.62 0.80 0.37 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-04-21T05:51:01.303Z] [2020-04-21T05:51:01.303Z]