Pull request #139 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 ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from cbbbde00792c7bbfc516019c3707f440cae09b1c+251ac84f7228ae0fb6e27216846c283c9f5cee26 (dfa7012d9e1809478506442700cf3b70953a1038) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision c26106ffa7303c9cfaed1787c18b3b6a39928acb using credential edgex-jenkins-access-pat Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository https://github.com/edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-139/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/tags/stable:refs/tags/stable # timeout=10 > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision c26106ffa7303c9cfaed1787c18b3b6a39928acb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c26106ffa7303c9cfaed1787c18b3b6a39928acb # timeout=10 Commit message: "Merge pull request #139 from ernestojeda/use-cache-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4120 in /w/workspace/xfoundry_device-modbus-go_PR-139 [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 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # 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/139/head:refs/remotes/origin/PR-139 +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/139/head:refs/remotes/origin/PR-139 # 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/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 Commit message: "add buildSnap option to build migrate to new snap stage" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:26 22:42:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:26 latest: Pulling from edgex-devops/git-semver 22:42:26 9123ac7c32f7: Pulling fs layer 22:42:26 b8cc5d1170e3: Pulling fs layer 22:42:26 2924cbbf6a41: Pulling fs layer 22:42:26 93b08a4f1073: Pulling fs layer 22:42:26 93b08a4f1073: Waiting 22:42:26 b8cc5d1170e3: Verifying Checksum 22:42:26 b8cc5d1170e3: Download complete 22:42:26 9123ac7c32f7: Verifying Checksum 22:42:26 9123ac7c32f7: Download complete 22:42:26 2924cbbf6a41: Verifying Checksum 22:42:26 2924cbbf6a41: Download complete 22:42:26 93b08a4f1073: Verifying Checksum 22:42:26 93b08a4f1073: Download complete 22:42:27 9123ac7c32f7: Pull complete 22:42:27 b8cc5d1170e3: Pull complete 22:42:27 2924cbbf6a41: Pull complete 22:42:27 93b08a4f1073: Pull complete 22:42:27 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 22:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:28 prd-centos7-docker-4c-2g-4120 does not seem to be running inside a container 22:42:28 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:28 $ docker top ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:29 [ssh-agent] Looking for ssh-agent implementation... 22:42:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:29 $ docker exec ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee ssh-agent 22:42:29 SSH_AUTH_SOCK=/tmp/ssh-SMvKjnoY1pYK/agent.15 22:42:29 SSH_AGENT_PID=22 22:42:29 Running ssh-add (command line suppressed) 22:42:29 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6269841371057496539.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_6269841371057496539.key) 22:42:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:29 + git describe --exact-match --tags HEAD 22:42:29 fatal: No names found, cannot describe anything. [Pipeline] } 22:42:30 $ docker exec --env ******** --env ******** ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee ssh-agent -k 22:42:30 unset SSH_AUTH_SOCK; 22:42:30 unset SSH_AGENT_PID; 22:42:30 echo Agent pid 22 killed; 22:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:42:30 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:42:30 This usually means this commit has not been tagged. [Pipeline] sshagent 22:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:30 [ssh-agent] Looking for ssh-agent implementation... 22:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:30 $ docker exec ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee ssh-agent 22:42:30 SSH_AUTH_SOCK=/tmp/ssh-yro130uwxr11/agent.58 22:42:30 SSH_AGENT_PID=65 22:42:30 Running ssh-add (command line suppressed) 22:42:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8779414780071221661.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8779414780071221661.key) 22:42:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:31 + git semver init 22:42:31 # -> Open(): unable to determine branch for HEAD 22:42:31 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git 22:42:31 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 22:42:31 # $SEMVER_REMOTE_NAME = origin 22:42:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:31 # $SEMVER_USER_NAME = edgex-jenkins 22:42:31 # $SEMVER_BRANCH = PR-139 22:42:31 # $SEMVER_TEMP = /tmp/semver-287942303 22:42:31 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 22:42:31 # '/tmp/semver-287942303' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' 22:42:31 # -> Force: false 22:42:31 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } 22:42:31 $ docker exec --env ******** --env ******** ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee ssh-agent -k 22:42:32 unset SSH_AUTH_SOCK; 22:42:32 unset SSH_AGENT_PID; 22:42:32 echo Agent pid 65 killed; 22:42:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:32 + git semver [Pipeline] } 22:42:32 $ docker stop --time=1 ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee 22:42:34 $ docker rm -f ac1026979b239d9d2f2a88da202be6d167e093a504e86707dca1eea9a736d6ee [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:42:34 Stashed 22 file(s) [Pipeline] echo 22:42:34 [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 22:42:50 Still waiting to schedule task 22:42:50 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4120’ 22:42:50 Still waiting to schedule task 22:42:50 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:44:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4121 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 22:44:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:44:41 using credential edgex-jenkins-ssh 22:44:41 Cloning the remote Git repository 22:44:41 Cloning with configured refspecs honoured and without tags 22:44:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:44:41 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:44:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:44:41 > git --version # timeout=10 22:44:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:42 Fetching without tags 22:44:42 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c 22:44:43 Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c 22:44:43 Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) 22:44:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:44:42 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 22:44:42 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:44:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:44:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:42 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:42 > git config core.sparsecheckout # timeout=10 22:44:42 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 22:44:42 > git remote # timeout=10 22:44:42 > git config --get remote.origin.url # timeout=10 22:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:43 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 22:44:43 > git rev-parse HEAD^{commit} # timeout=10 22:44:43 > git config core.sparsecheckout # timeout=10 22:44:43 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 22:44:47 Commit message: "add buildSnap option to build migrate to new snap stage" 22:44:47 > git --version # timeout=10 22:44:47 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:44:49 ========================================================= 22:44:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 22:44:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:50 + 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 . 22:44:51 Sending build context to Docker daemon 562.2kB 22:44:51 Step 1/8 : ARG BASE=golang:1.13-alpine 22:44:51 Step 2/8 : FROM ${BASE} 22:44:51 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:51 cde5963f3b93: Pulling fs layer 22:44:51 2a23fa8c16f7: Pulling fs layer 22:44:51 777b28850792: Pulling fs layer 22:44:51 8a11ddd9e578: Pulling fs layer 22:44:51 4cf88f913ddb: Pulling fs layer 22:44:51 1df406cf5192: Pulling fs layer 22:44:51 cd6300453558: Pulling fs layer 22:44:51 b9c365052c96: Pulling fs layer 22:44:51 a2d8cc88f415: Pulling fs layer 22:44:51 ea1d1ca13537: Pulling fs layer 22:44:51 3750a50a1c5e: Pulling fs layer 22:44:51 4cf88f913ddb: Waiting 22:44:51 1df406cf5192: Waiting 22:44:51 cd6300453558: Waiting 22:44:51 b9c365052c96: Waiting 22:44:51 a2d8cc88f415: Waiting 22:44:51 ea1d1ca13537: Waiting 22:44:51 3750a50a1c5e: Waiting 22:44:51 8a11ddd9e578: Waiting 22:44:51 777b28850792: Download complete 22:44:51 2a23fa8c16f7: Verifying Checksum 22:44:51 2a23fa8c16f7: Download complete 22:44:51 4cf88f913ddb: Verifying Checksum 22:44:51 4cf88f913ddb: Download complete 22:44:51 1df406cf5192: Verifying Checksum 22:44:51 1df406cf5192: Download complete 22:44:51 cde5963f3b93: Download complete 22:44:52 cde5963f3b93: Pull complete 22:44:53 2a23fa8c16f7: Pull complete 22:44:53 777b28850792: Pull complete 22:44:55 cd6300453558: Verifying Checksum 22:44:55 cd6300453558: Download complete 22:44:55 a2d8cc88f415: Verifying Checksum 22:44:55 a2d8cc88f415: Download complete 22:44:58 ea1d1ca13537: Verifying Checksum 22:44:58 ea1d1ca13537: Download complete 22:44:58 3750a50a1c5e: Verifying Checksum 22:44:58 3750a50a1c5e: Download complete 22:45:00 b9c365052c96: Verifying Checksum 22:45:00 b9c365052c96: Download complete 22:45:02 8a11ddd9e578: Download complete 22:45:14 Running on prd-centos7-docker-4c-2g-4122 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 22:45:14 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:45:14 8a11ddd9e578: Pull complete 22:45:14 4cf88f913ddb: Pull complete 22:45:14 1df406cf5192: Pull complete 22:45:16 using credential edgex-jenkins-ssh 22:45:16 Cloning the remote Git repository 22:45:16 Cloning with configured refspecs honoured and without tags 22:45:16 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:45:16 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:45:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:45:16 > git --version # timeout=10 22:45:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:17 Fetching without tags 22:45:17 Merging remotes/origin/master commit 251ac84f7228ae0fb6e27216846c283c9f5cee26 into PR head commit cbbbde00792c7bbfc516019c3707f440cae09b1c 22:45:17 Merge succeeded, producing cbbbde00792c7bbfc516019c3707f440cae09b1c 22:45:17 Checking out Revision cbbbde00792c7bbfc516019c3707f440cae09b1c (PR-139) 22:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:45:16 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 22:45:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:45:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:45:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:17 > git config core.sparsecheckout # timeout=10 22:45:17 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 22:45:17 > git remote # timeout=10 22:45:17 > git config --get remote.origin.url # timeout=10 22:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:17 > git merge 251ac84f7228ae0fb6e27216846c283c9f5cee26 # timeout=10 22:45:17 > git rev-parse HEAD^{commit} # timeout=10 22:45:17 > git config core.sparsecheckout # timeout=10 22:45:17 > git checkout -f cbbbde00792c7bbfc516019c3707f440cae09b1c # timeout=10 22:45:20 cd6300453558: Pull complete 22:45:21 Commit message: "add buildSnap option to build migrate to new snap stage" 22:45:21 > git --version # timeout=10 22:45:21 fatal: bad object c26106ffa7303c9cfaed1787c18b3b6a39928acb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:45:22 ========================================================= 22:45:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 22:45:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:22 + 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 . 22:45:23 Sending build context to Docker daemon 562.2kB 22:45:23 Step 1/8 : ARG BASE=golang:1.13-alpine 22:45:23 Step 2/8 : FROM ${BASE} 22:45:23 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:23 e6b0cf9c0882: Pulling fs layer 22:45:23 2848faf0eed1: Pulling fs layer 22:45:23 0f37312ad70f: Pulling fs layer 22:45:23 5788d62ee057: Pulling fs layer 22:45:23 0e6b1d234666: Pulling fs layer 22:45:23 bf5d7aec512f: Pulling fs layer 22:45:23 34c802a77dc8: Pulling fs layer 22:45:23 9eb99e56ec68: Pulling fs layer 22:45:23 27c7a5d97fbd: Pulling fs layer 22:45:23 5c102a31e300: Pulling fs layer 22:45:23 dcfb455df0a1: Pulling fs layer 22:45:23 5788d62ee057: Waiting 22:45:23 0e6b1d234666: Waiting 22:45:23 bf5d7aec512f: Waiting 22:45:23 34c802a77dc8: Waiting 22:45:23 9eb99e56ec68: Waiting 22:45:23 27c7a5d97fbd: Waiting 22:45:23 5c102a31e300: Waiting 22:45:23 dcfb455df0a1: Waiting 22:45:23 0f37312ad70f: Verifying Checksum 22:45:23 2848faf0eed1: Verifying Checksum 22:45:23 2848faf0eed1: Download complete 22:45:23 0e6b1d234666: Verifying Checksum 22:45:23 0e6b1d234666: Download complete 22:45:23 e6b0cf9c0882: Verifying Checksum 22:45:23 e6b0cf9c0882: Download complete 22:45:23 bf5d7aec512f: Verifying Checksum 22:45:23 bf5d7aec512f: Download complete 22:45:23 e6b0cf9c0882: Pull complete 22:45:23 34c802a77dc8: Verifying Checksum 22:45:23 34c802a77dc8: Download complete 22:45:23 27c7a5d97fbd: Verifying Checksum 22:45:23 27c7a5d97fbd: Download complete 22:45:24 b9c365052c96: Pull complete 22:45:24 a2d8cc88f415: Pull complete 22:45:24 5c102a31e300: Verifying Checksum 22:45:24 5c102a31e300: Download complete 22:45:24 dcfb455df0a1: Verifying Checksum 22:45:24 dcfb455df0a1: Download complete 22:45:24 9eb99e56ec68: Verifying Checksum 22:45:24 9eb99e56ec68: Download complete 22:45:25 5788d62ee057: Verifying Checksum 22:45:25 5788d62ee057: Download complete 22:45:25 2848faf0eed1: Pull complete 22:45:25 0f37312ad70f: Pull complete 22:45:26 ea1d1ca13537: Pull complete 22:45:26 3750a50a1c5e: Pull complete 22:45:26 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 22:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 22:45:26 ---> 78745c68409d 22:45:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:45:30 5788d62ee057: Pull complete 22:45:30 0e6b1d234666: Pull complete 22:45:30 bf5d7aec512f: Pull complete 22:45:30 ---> Running in 729baea2c62b 22:45:31 Removing intermediate container 729baea2c62b 22:45:31 ---> 8640d488965f 22:45:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:31 ---> Running in 303b1f5232f6 22:45:33 Removing intermediate container 303b1f5232f6 22:45:33 ---> a92100e831a0 22:45:33 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:45:33 ---> Running in 04de869656fd 22:45:34 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:45:34 34c802a77dc8: Pull complete 22:45:35 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:45:35 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 22:45:35 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 22:45:35 (3/18) Installing libmagic (5.37-r1) 22:45:36 (4/18) Installing file (5.37-r1) 22:45:36 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 22:45:36 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 22:45:36 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 22:45:39 9eb99e56ec68: Pull complete 22:45:39 27c7a5d97fbd: Pull complete 22:45:39 5c102a31e300: Pull complete 22:45:39 dcfb455df0a1: Pull complete 22:45:39 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 22:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 22:45:39 ---> 7c70fe431013 22:45:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 22:45:39 ---> Running in d225fa0f937f 22:45:40 Removing intermediate container d225fa0f937f 22:45:40 ---> a59d17ccf847 22:45:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:40 ---> Running in 8e9f8231df14 22:45:41 Removing intermediate container 8e9f8231df14 22:45:41 ---> c1cbef24433b 22:45:41 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 22:45:41 ---> Running in 099375d614d4 22:45:42 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:45:42 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:45:42 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 22:45:43 (2/17) Installing libmagic (5.37-r1) 22:45:43 (3/17) Installing file (5.37-r1) 22:45:43 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 22:45:43 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 22:45:43 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 22:45:44 (8/18) Installing libc-dev (0.7.2-r0) 22:45:44 (9/18) Installing g++ (9.2.0-r4) 22:45:54 (10/18) Installing fortify-headers (1.1-r0) 22:45:54 (11/18) Installing build-base (0.5-r1) 22:45:54 (12/18) Installing openssh-keygen (8.1_p1-r0) 22:45:54 (13/18) Installing libedit (20191211.3.1-r0) 22:45:54 (14/18) Installing openssh-client (8.1_p1-r0) 22:45:55 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 22:45:55 (16/18) Installing openssh-server-common (8.1_p1-r0) 22:45:55 (17/18) Installing openssh-server (8.1_p1-r0) 22:45:55 (18/18) Installing openssh (8.1_p1-r0) 22:45:55 Executing busybox-1.31.1-r8.trigger 22:45:55 OK: 203 MiB in 52 packages 22:45:58 (7/17) Installing libc-dev (0.7.2-r0) 22:45:58 (8/17) Installing g++ (9.2.0-r4) 22:46:02 Removing intermediate container 04de869656fd 22:46:02 ---> 2f87ff46a2cf 22:46:02 Step 6/8 : WORKDIR /device-modbus-go 22:46:02 ---> Running in 4a441a241d2e 22:46:02 Removing intermediate container 4a441a241d2e 22:46:02 ---> 018c2aef5891 22:46:02 Step 7/8 : COPY . . 22:46:03 ---> 0e4ff12531b6 22:46:03 Step 8/8 : RUN go mod download 22:46:03 ---> Running in 45fd472719c6 22:46:05 go: finding github.com/BurntSushi/toml v0.3.1 22:46:05 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:46:05 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:46:05 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:46:05 go: finding github.com/bgentry/speakeasy v0.1.0 22:46:05 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 22:46:05 go: finding github.com/davecgh/go-spew v1.1.1 22:46:05 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 22:46:05 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 22:46:05 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 22:46:05 go: finding github.com/fatih/color v1.7.0 22:46:05 go: finding github.com/go-kit/kit v0.8.0 22:46:05 go: finding github.com/go-logfmt/logfmt v0.4.0 22:46:05 go: finding github.com/go-stack/stack v1.8.0 22:46:05 go: finding github.com/goburrow/modbus v0.1.0 22:46:06 go: finding github.com/goburrow/serial v0.1.0 22:46:06 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:46:06 go: finding github.com/google/uuid v1.1.1 22:46:06 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 22:46:06 go: finding github.com/gorilla/mux v1.7.0 22:46:06 go: finding github.com/hashicorp/consul v1.4.2 22:46:06 go: finding github.com/hashicorp/errwrap v1.0.0 22:46:06 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 22:46:06 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:46:06 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:46:06 go: finding github.com/hashicorp/go-multierror v1.0.0 22:46:06 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:46:06 go: finding github.com/hashicorp/go-sockaddr v1.0.1 22:46:06 go: finding github.com/hashicorp/go-syslog v1.0.0 22:46:06 go: finding github.com/hashicorp/go-uuid v1.0.1 22:46:06 go: finding github.com/hashicorp/go.net v0.0.1 22:46:06 go: finding github.com/hashicorp/golang-lru v0.5.1 22:46:06 go: finding github.com/hashicorp/logutils v1.0.0 22:46:06 go: finding github.com/hashicorp/mdns v1.0.0 22:46:06 go: finding github.com/hashicorp/memberlist v0.1.3 22:46:06 go: finding github.com/hashicorp/serf v0.8.2 22:46:06 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:46:06 go: finding github.com/mattn/go-colorable v0.0.9 22:46:06 go: finding github.com/mattn/go-isatty v0.0.3 22:46:06 go: finding github.com/miekg/dns v1.1.4 22:46:06 go: finding github.com/mitchellh/cli v1.0.0 22:46:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:46:06 go: finding github.com/mitchellh/copystructure v1.0.0 22:46:06 go: finding github.com/mitchellh/go-homedir v1.1.0 22:46:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:46:06 go: finding github.com/mitchellh/go-wordwrap v1.0.0 22:46:06 go: finding github.com/mitchellh/gox v0.4.0 22:46:06 go: finding github.com/mitchellh/iochan v1.0.0 22:46:06 go: finding github.com/mitchellh/mapstructure v1.1.2 22:46:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:46:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:46:06 go: finding github.com/pelletier/go-toml v1.2.0 22:46:06 go: finding github.com/pkg/errors v0.8.1 22:46:06 go: finding github.com/pmezard/go-difflib v1.0.0 22:46:06 go: finding github.com/posener/complete v1.1.1 22:46:06 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 22:46:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:46:06 go: finding github.com/stretchr/objx v0.1.0 22:46:06 go: finding github.com/stretchr/testify v1.3.0 22:46:06 go: finding github.com/ugorji/go v1.1.4 22:46:06 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:46:06 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 22:46:06 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:46:06 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:46:06 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:46:06 go: finding gopkg.in/yaml.v2 v2.2.2 22:46:16 (9/17) Installing fortify-headers (1.1-r0) 22:46:16 (10/17) Installing build-base (0.5-r1) 22:46:16 (11/17) Installing openssh-keygen (8.1_p1-r0) 22:46:16 (12/17) Installing libedit (20191211.3.1-r0) 22:46:16 (13/17) Installing openssh-client (8.1_p1-r0) 22:46:19 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 22:46:19 (15/17) Installing openssh-server-common (8.1_p1-r0) 22:46:19 (16/17) Installing openssh-server (8.1_p1-r0) 22:46:19 (17/17) Installing openssh (8.1_p1-r0) 22:46:20 Executing busybox-1.31.1-r8.trigger 22:46:20 OK: 214 MiB in 52 packages 22:46:24 Removing intermediate container 099375d614d4 22:46:24 ---> 39c9bf9a9483 22:46:24 Step 6/8 : WORKDIR /device-modbus-go 22:46:24 ---> Running in 09c43123ce67 22:46:24 Removing intermediate container 09c43123ce67 22:46:24 ---> c269f69de9a5 22:46:24 Step 7/8 : COPY . . 22:46:24 ---> 22b37cc6426a 22:46:24 Step 8/8 : RUN go mod download 22:46:24 ---> Running in 94fe5e4c2216 22:46:25 Removing intermediate container 45fd472719c6 22:46:25 ---> 0f1e4742fac3 22:46:25 Successfully built 0f1e4742fac3 22:46:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:25 + docker inspect -f . ci-base-image-arm64 22:46:26 . [Pipeline] withDockerContainer 22:46:26 go: finding github.com/BurntSushi/toml v0.3.1 22:46:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 22:46:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:46:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 22:46:26 go: finding github.com/bgentry/speakeasy v0.1.0 22:46:26 go: finding github.com/cenkalti/backoff v2.1.1+incompatible 22:46:26 go: finding github.com/davecgh/go-spew v1.1.1 22:46:26 go: finding github.com/edgexfoundry/device-sdk-go v0.0.0-20191023171807-49a95f741ef7 22:46:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.31 22:46:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.0 22:46:26 go: finding github.com/fatih/color v1.7.0 22:46:26 go: finding github.com/go-kit/kit v0.8.0 22:46:26 go: finding github.com/go-logfmt/logfmt v0.4.0 22:46:26 go: finding github.com/go-stack/stack v1.8.0 22:46:26 go: finding github.com/goburrow/modbus v0.1.0 22:46:26 go: finding github.com/goburrow/serial v0.1.0 22:46:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 22:46:26 go: finding github.com/google/uuid v1.1.1 22:46:26 go: finding github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd 22:46:26 go: finding github.com/gorilla/mux v1.7.0 22:46:26 go: finding github.com/hashicorp/consul v1.4.2 22:46:26 go: finding github.com/hashicorp/errwrap v1.0.0 22:46:26 go: finding github.com/hashicorp/go-cleanhttp v0.5.0 22:46:26 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 22:46:26 go: finding github.com/hashicorp/go-msgpack v0.5.3 22:46:26 go: finding github.com/hashicorp/go-multierror v1.0.0 22:46:26 go: finding github.com/hashicorp/go-rootcerts v1.0.0 22:46:26 go: finding github.com/hashicorp/go-sockaddr v1.0.1 22:46:26 go: finding github.com/hashicorp/go-syslog v1.0.0 22:46:26 go: finding github.com/hashicorp/go-uuid v1.0.1 22:46:26 go: finding github.com/hashicorp/go.net v0.0.1 22:46:26 go: finding github.com/hashicorp/golang-lru v0.5.1 22:46:26 go: finding github.com/hashicorp/logutils v1.0.0 22:46:26 go: finding github.com/hashicorp/mdns v1.0.0 22:46:26 go: finding github.com/hashicorp/memberlist v0.1.3 22:46:26 go: finding github.com/hashicorp/serf v0.8.2 22:46:26 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:46:26 go: finding github.com/mattn/go-colorable v0.0.9 22:46:26 go: finding github.com/mattn/go-isatty v0.0.3 22:46:26 go: finding github.com/miekg/dns v1.1.4 22:46:26 go: finding github.com/mitchellh/cli v1.0.0 22:46:26 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:46:26 go: finding github.com/mitchellh/copystructure v1.0.0 22:46:26 go: finding github.com/mitchellh/go-homedir v1.1.0 22:46:26 go: finding github.com/mitchellh/go-testing-interface v1.0.0 22:46:26 go: finding github.com/mitchellh/go-wordwrap v1.0.0 22:46:26 go: finding github.com/mitchellh/gox v0.4.0 22:46:26 prd-ubuntu18.04-docker-arm64-4c-16g-4121 does not seem to be running inside a container 22:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:46:26 go: finding github.com/mitchellh/iochan v1.0.0 22:46:26 go: finding github.com/mitchellh/mapstructure v1.1.2 22:46:26 go: finding github.com/mitchellh/reflectwalk v1.0.0 22:46:26 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:46:26 go: finding github.com/pelletier/go-toml v1.2.0 22:46:26 go: finding github.com/pkg/errors v0.8.1 22:46:26 go: finding github.com/pmezard/go-difflib v1.0.0 22:46:26 go: finding github.com/posener/complete v1.1.1 22:46:26 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 22:46:26 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:46:26 go: finding github.com/stretchr/objx v0.1.0 22:46:26 go: finding github.com/stretchr/testify v1.3.0 22:46:26 go: finding github.com/ugorji/go v1.1.4 22:46:26 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 22:46:26 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 22:46:26 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 22:46:26 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 22:46:26 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 22:46:26 go: finding gopkg.in/yaml.v2 v2.2.2 22:46:27 $ docker top e5385b3b3a4c6bc4346dc52fb84445632559313d55c414ace4e8d69d3ad151ab -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:29 + go version 22:46:29 go version go1.13.5 linux/arm64 [Pipeline] sh 22:46:29 + make test 22:46:29 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:46:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:46:41 Removing intermediate container 94fe5e4c2216 22:46:41 ---> 97c6b964a6c3 22:46:41 Successfully built 97c6b964a6c3 22:46:41 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 22:46:42 + docker inspect -f . ci-base-image-x86_64 22:46:42 . [Pipeline] withDockerContainer 22:46:42 prd-centos7-docker-4c-2g-4122 does not seem to be running inside a container 22:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:46:43 $ docker top 8f66619e2ef037da96a37d540eff031d760dda67b6228461c43c537539a728e9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:43 + go version 22:46:43 go version go1.13.5 linux/amd64 [Pipeline] sh 22:46:44 + make test 22:46:44 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:46:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:46:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:46:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.156s coverage: 50.3% of statements 22:46:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:47:01 gofmt -l . 22:47:01 [ "`gofmt -l .`" = "" ] 22:47:01 ./bin/test-attribution-txt.sh 22:47:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:47:02 Stashed 1 file(s) [Pipeline] } 22:47:02 $ docker stop --time=1 8f66619e2ef037da96a37d540eff031d760dda67b6228461c43c537539a728e9 22:47:03 $ docker rm -f 8f66619e2ef037da96a37d540eff031d760dda67b6228461c43c537539a728e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:05 + ls -al . 22:47:05 total 100 22:47:05 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 15 22:47 . 22:47:05 drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 22:45 .. 22:47:05 -rw-rw-r--. 1 jenkins jenkins 4208 Apr 15 22:45 Attribution.txt 22:47:05 drwxrwxr-x. 2 jenkins jenkins 87 Apr 15 22:45 bin 22:47:05 drwxrwxr-x. 3 jenkins jenkins 55 Apr 15 22:45 cmd 22:47:05 -rw-r--r--. 1 jenkins jenkins 22122 Apr 15 22:46 coverage.out 22:47:05 -rw-rw-r--. 1 jenkins jenkins 1263 Apr 15 22:45 Dockerfile 22:47:05 -rw-rw-r--. 1 jenkins jenkins 954 Apr 15 22:45 Dockerfile.build 22:47:05 -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 22:45 .dockerignore 22:47:05 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 22:45 .git 22:47:05 -rw-rw-r--. 1 jenkins jenkins 338 Apr 15 22:45 .gitignore 22:47:05 -rw-r--r--. 1 jenkins jenkins 630 Apr 15 22:47 go.mod 22:47:05 -rw-r--r--. 1 jenkins jenkins 12117 Apr 15 22:47 go.sum 22:47:05 drwxrwxr-x. 3 jenkins jenkins 20 Apr 15 22:45 internal 22:47:05 -rw-rw-r--. 1 jenkins jenkins 702 Apr 15 22:45 Jenkinsfile 22:47:05 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 15 22:45 LICENSE 22:47:05 -rw-rw-r--. 1 jenkins jenkins 880 Apr 15 22:45 Makefile 22:47:05 -rw-rw-r--. 1 jenkins jenkins 591 Apr 15 22:45 README.md 22:47:05 drwxrwxr-x. 3 jenkins jenkins 58 Apr 15 22:45 .semver 22:47:05 drwxrwxr-x. 2 jenkins jenkins 35 Apr 15 22:45 simulator 22:47:05 drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 22:45 snap 22:47:05 -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 22:42 VERSION 22:47:05 -rw-rw-r--. 1 jenkins jenkins 229 Apr 15 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:47:05 + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=amd64 --label version=0.0.0 . 22:47:05 Sending build context to Docker daemon 590.8kB 22:47:06 Step 1/17 : ARG BASE=golang:1.13-alpine 22:47:06 Step 2/17 : FROM ${BASE} AS builder 22:47:06 ---> 97c6b964a6c3 22:47:06 Step 3/17 : ARG MAKE='make build' 22:47:06 ---> Running in fd4d1ae3dcfc 22:47:06 Removing intermediate container fd4d1ae3dcfc 22:47:06 ---> 9beca83ae398 22:47:06 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:06 ---> Running in a8408afad5a4 22:47:07 Removing intermediate container a8408afad5a4 22:47:07 ---> f8872979ad6b 22:47:07 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 22:47:07 ---> Running in 895bc3630ebc 22:47:07 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 22:47:08 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 22:47:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:47:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.277s coverage: 50.3% of statements 22:47:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:47:10 OK: 214 MiB in 52 packages 22:47:10 Removing intermediate container 895bc3630ebc 22:47:10 ---> 097ad0b668aa 22:47:10 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 22:47:10 ---> Running in 5a0407c4b2c8 22:47:10 Removing intermediate container 5a0407c4b2c8 22:47:10 ---> 8fd7b36b6030 22:47:10 Step 7/17 : COPY . . 22:47:10 ---> 412b50314f93 22:47:10 Step 8/17 : RUN ${MAKE} 22:47:10 ---> Running in f5e720adc863 22:47:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 22:47:15 gofmt -l . 22:47:15 [ "`gofmt -l .`" = "" ] 22:47:15 ./bin/test-attribution-txt.sh 22:47:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 22:47:16 Warning: overwriting stash ‘coverage-report’ 22:47:16 Stashed 1 file(s) [Pipeline] } 22:47:16 $ docker stop --time=1 e5385b3b3a4c6bc4346dc52fb84445632559313d55c414ace4e8d69d3ad151ab 22:47:19 $ docker rm -f e5385b3b3a4c6bc4346dc52fb84445632559313d55c414ace4e8d69d3ad151ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:21 + ls -al . 22:47:21 total 132 22:47:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 22:47 . 22:47:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 22:44 .. 22:47:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 22:44 .dockerignore 22:47:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 22:44 .git 22:47:21 -rw-rw-r-- 1 jenkins jenkins 338 Apr 15 22:44 .gitignore 22:47:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 22:44 .semver 22:47:21 -rw-rw-r-- 1 jenkins jenkins 4208 Apr 15 22:44 Attribution.txt 22:47:21 -rw-rw-r-- 1 jenkins jenkins 1263 Apr 15 22:44 Dockerfile 22:47:21 -rw-rw-r-- 1 jenkins jenkins 954 Apr 15 22:44 Dockerfile.build 22:47:21 -rw-rw-r-- 1 jenkins jenkins 702 Apr 15 22:44 Jenkinsfile 22:47:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 22:44 LICENSE 22:47:21 -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 22:44 Makefile 22:47:21 -rw-rw-r-- 1 jenkins jenkins 591 Apr 15 22:44 README.md 22:47:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 22:42 VERSION 22:47:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 22:44 bin 22:47:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 22:44 cmd 22:47:21 -rw-r--r-- 1 jenkins jenkins 22122 Apr 15 22:47 coverage.out 22:47:21 -rw-r--r-- 1 jenkins jenkins 630 Apr 15 22:47 go.mod 22:47:21 -rw-r--r-- 1 jenkins jenkins 12117 Apr 15 22:47 go.sum 22:47:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 22:44 internal 22:47:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 22:44 simulator 22:47:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 22:44 snap 22:47:21 -rw-rw-r-- 1 jenkins jenkins 229 Apr 15 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:47:21 + 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=cbbbde00792c7bbfc516019c3707f440cae09b1c --label arch=arm64 --label version=0.0.0 . 22:47:21 Sending build context to Docker daemon 590.8kB 22:47:22 Step 1/17 : ARG BASE=golang:1.13-alpine 22:47:22 Step 2/17 : FROM ${BASE} AS builder 22:47:22 ---> 0f1e4742fac3 22:47:22 Step 3/17 : ARG MAKE='make build' 22:47:22 ---> Running in efa9b559b637 22:47:22 Removing intermediate container efa9b559b637 22:47:22 ---> 15607f5e19a6 22:47:22 Step 4/17 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:22 ---> Running in 2ccb137e0cdf 22:47:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:47:24 Removing intermediate container 2ccb137e0cdf 22:47:24 ---> 9556cf9c17b4 22:47:24 Step 5/17 : RUN apk add --update --no-cache make git openssh build-base 22:47:24 ---> Running in dd853f995f81 22:47:25 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 22:47:26 Removing intermediate container f5e720adc863 22:47:26 ---> 1620f94b4bcb 22:47:26 Step 9/17 : FROM scratch 22:47:26 ---> 22:47:26 Step 10/17 : ENV APP_PORT=49991 22:47:26 ---> Running in 6b8af586b010 22:47:26 Removing intermediate container 6b8af586b010 22:47:26 ---> 48a398920863 22:47:26 Step 11/17 : EXPOSE $APP_PORT 22:47:26 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 22:47:26 ---> Running in 35e1ee8d8068 22:47:26 Removing intermediate container 35e1ee8d8068 22:47:26 ---> 21b749780ce5 22:47:26 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 22:47:27 ---> e4536553a996 22:47:27 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 22:47:27 ---> Running in 4191974109b6 22:47:27 Removing intermediate container 4191974109b6 22:47:27 ---> 169618849776 22:47:27 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 22:47:27 ---> Running in 3f9b90f60f11 22:47:27 Removing intermediate container 3f9b90f60f11 22:47:27 ---> 5abe5566ccad 22:47:27 Step 15/17 : LABEL arch=amd64 22:47:27 ---> Running in de2ca16bb103 22:47:27 OK: 203 MiB in 52 packages 22:47:27 Removing intermediate container de2ca16bb103 22:47:27 ---> c5780f097b2c 22:47:27 Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c 22:47:27 ---> Running in d35b8ed7f685 22:47:27 Removing intermediate container d35b8ed7f685 22:47:27 ---> 2394e01e90c9 22:47:27 Step 17/17 : LABEL version=0.0.0 22:47:27 ---> Running in b28fe09c0604 22:47:27 Removing intermediate container b28fe09c0604 22:47:27 ---> 2a47de57a7cb 22:47:27 [Warning] One or more build-args [ARCH] were not consumed 22:47:27 Successfully built 2a47de57a7cb 22:47:27 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] } 22:47:28 Removing intermediate container dd853f995f81 22:47:28 ---> 34ab710a06bd 22:47:28 Step 6/17 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 22:47:28 ---> Running in bfbe00b17c48 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:47:28 Removing intermediate container bfbe00b17c48 22:47:28 ---> 36a55b6cc335 22:47:28 Step 7/17 : COPY . . 22:47:29 ---> 9618e650e3c1 22:47:29 Step 8/17 : RUN ${MAKE} 22:47:29 ---> Running in 0550cc2fa776 22:47:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 22:48:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:48:13 Removing intermediate container 0550cc2fa776 22:48:13 ---> 9bde9cbaafb0 22:48:13 Step 9/17 : FROM scratch 22:48:13 ---> 22:48:13 Step 10/17 : ENV APP_PORT=49991 22:48:13 ---> Running in a8b73b8da2fd 22:48:13 Removing intermediate container a8b73b8da2fd 22:48:13 ---> 4d8fdfa5b8e9 22:48:13 Step 11/17 : EXPOSE $APP_PORT 22:48:13 ---> Running in 998ae6785d97 22:48:13 Removing intermediate container 998ae6785d97 22:48:13 ---> 53b8b0141327 22:48:13 Step 12/17 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 22:48:14 ---> 3e52c615696f 22:48:14 Step 13/17 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: IoTech Ltd' 22:48:14 ---> Running in 25ab23877c87 22:48:15 Removing intermediate container 25ab23877c87 22:48:15 ---> 3ecce43fb978 22:48:15 Step 14/17 : ENTRYPOINT ["/device-modbus","--profile=docker","--confdir=/res","--registry=consul://edgex-core-consul:8500"] 22:48:15 ---> Running in 21c8189dcbee 22:48:15 Removing intermediate container 21c8189dcbee 22:48:15 ---> a67bd5948c57 22:48:15 Step 15/17 : LABEL arch=arm64 22:48:15 ---> Running in 0340f6c3f826 22:48:16 Removing intermediate container 0340f6c3f826 22:48:16 ---> 85a5527a596e 22:48:16 Step 16/17 : LABEL git_sha=cbbbde00792c7bbfc516019c3707f440cae09b1c 22:48:16 ---> Running in 7cae3ef94889 22:48:16 Removing intermediate container 7cae3ef94889 22:48:16 ---> cae2c46285bf 22:48:16 Step 17/17 : LABEL version=0.0.0 22:48:16 ---> Running in 1660482cb975 22:48:17 Removing intermediate container 1660482cb975 22:48:17 ---> 66fa503ea1a3 22:48:17 [Warning] One or more build-args [ARCH] were not consumed 22:48:17 Successfully built 66fa503ea1a3 22:48:17 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 22:48:18 provisioning config files... 22:48:18 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config2348876589360474955tmp [Pipeline] { [Pipeline] sh 22:48:19 + curl -s https://codecov.io/bash 22:48:19 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config2348876589360474955tmp 22:48:22 22:48:22 _____ _ 22:48:22 / ____| | | 22:48:22 | | ___ __| | ___ ___ _____ __ 22:48:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:48:22 | |___| (_) | (_| | __/ (_| (_) \ V / 22:48:22 \_____\___/ \__,_|\___|\___\___/ \_/ 22:48:22 Bash-20200410-0786dee 22:48:22 22:48:22 22:48:22 ==> Jenkins CI detected. 22:48:22 project root: . 22:48:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:48:22 ==> Running gcov in . (disable via -X gcov) 22:48:22 ==> Python coveragepy not found 22:48:22 ==> Searching for coverage reports in: 22:48:22 + . 22:48:22 -> Found 1 reports 22:48:22 ==> Detecting git/mercurial file structure 22:48:22 ==> Reading reports 22:48:22 + ./coverage.out bytes=22122 22:48:22 ==> Appending adjustments 22:48:22 http://docs.codecov.io/docs/fixing-reports 22:48:22 + Found adjustments 22:48:22 ==> Gzipping contents 22:48:22 ==> Uploading reports 22:48:22 url: https://codecov.io 22:48:22 query: branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 22:48:22 -> Pinging Codecov 22:48:22 https://codecov.io/upload/v4?package=bash-20200410-0786dee&token=secret&branch=PR-139&commit=cbbbde00792c7bbfc516019c3707f440cae09b1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-139%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=139&job= 22:48:23 -> Uploading 22:48:23 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/cbbbde00792c7bbfc516019c3707f440cae09b1c [Pipeline] } 22:48:23 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 22:48:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:48:25 ---> package-listing.sh 22:48:25 ++ facter osfamily 22:48:25 ++ tr '[:upper:]' '[:lower:]' 22:48:25 + OS_FAMILY=redhat 22:48:25 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 22:48:25 + START_PACKAGES=/tmp/packages_start.txt 22:48:25 + END_PACKAGES=/tmp/packages_end.txt 22:48:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:48:25 + PACKAGES=/tmp/packages_start.txt 22:48:25 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 22:48:25 + PACKAGES=/tmp/packages_end.txt 22:48:25 + case "${OS_FAMILY}" in 22:48:25 + rpm -qa 22:48:25 + sort 22:48:29 + '[' -f /tmp/packages_start.txt ']' 22:48:29 + '[' -f /tmp/packages_end.txt ']' 22:48:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:48:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 22:48:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ 22:48:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh 22:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:30 22:48:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:48:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:48:30 alpine: Pulling from edgex-lftools-log-publisher 22:48:30 c9b1b535fdd9: Pulling fs layer 22:48:30 2cc5ad85d9ab: Pulling fs layer 22:48:30 756a868c4378: Pulling fs layer 22:48:30 444b2fc9a129: Pulling fs layer 22:48:30 ea15f1150254: Pulling fs layer 22:48:30 41b27a9f41bf: Pulling fs layer 22:48:30 28c525ee5125: Pulling fs layer 22:48:30 094b1ea09ed8: Pulling fs layer 22:48:30 138eaada9080: Pulling fs layer 22:48:30 0622d0fa9048: Pulling fs layer 22:48:30 28c525ee5125: Waiting 22:48:30 094b1ea09ed8: Waiting 22:48:30 444b2fc9a129: Waiting 22:48:30 ea15f1150254: Waiting 22:48:30 138eaada9080: Waiting 22:48:30 41b27a9f41bf: Waiting 22:48:30 0622d0fa9048: Waiting 22:48:30 2cc5ad85d9ab: Verifying Checksum 22:48:30 2cc5ad85d9ab: Download complete 22:48:30 444b2fc9a129: Verifying Checksum 22:48:30 444b2fc9a129: Download complete 22:48:30 c9b1b535fdd9: Verifying Checksum 22:48:30 ea15f1150254: Verifying Checksum 22:48:30 ea15f1150254: Download complete 22:48:30 28c525ee5125: Verifying Checksum 22:48:30 28c525ee5125: Download complete 22:48:31 c9b1b535fdd9: Pull complete 22:48:31 756a868c4378: Verifying Checksum 22:48:31 756a868c4378: Download complete 22:48:31 138eaada9080: Verifying Checksum 22:48:31 138eaada9080: Download complete 22:48:31 0622d0fa9048: Verifying Checksum 22:48:31 0622d0fa9048: Download complete 22:48:31 2cc5ad85d9ab: Pull complete 22:48:31 094b1ea09ed8: Verifying Checksum 22:48:31 094b1ea09ed8: Download complete 22:48:32 41b27a9f41bf: Verifying Checksum 22:48:32 41b27a9f41bf: Download complete 22:48:32 756a868c4378: Pull complete 22:48:32 444b2fc9a129: Pull complete 22:48:33 ea15f1150254: Pull complete 22:48:37 41b27a9f41bf: Pull complete 22:48:37 28c525ee5125: Pull complete 22:48:39 094b1ea09ed8: Pull complete 22:48:39 138eaada9080: Pull complete 22:48:39 0622d0fa9048: Pull complete 22:48:39 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 22:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:48:39 prd-centos7-docker-4c-2g-4120 does not seem to be running inside a container 22:48:39 $ 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-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:48:40 $ docker top 53bc3e2e0a7153fbc0baaf35785dba6435423b76b35af172400af0931ea60d53 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:40 provisioning config files... 22:48:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config1726332770951884957tmp [Pipeline] { [Pipeline] echo 22:48:41 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:48:41 ---> create-netrc.sh [Pipeline] echo 22:48:41 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:48:41 ---> logs-deploy.sh 22:48:41 + ARCHIVE_ARTIFACTS= 22:48:41 + LOGS_SERVER=https://logs.edgexfoundry.org 22:48:41 + '[' https://logs.edgexfoundry.org == None ']' 22:48:41 + NEXUS_URL=https://nexus.edgexfoundry.org 22:48:41 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/1 22:48:41 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/1/ 22:48:41 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/1 /w/workspace/xfoundry_device-modbus-go_PR-139 22:48:42 Archives upload complete. 22:48:42 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/1/