Pull request #153 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 tonyespy for edgexfoundry/device-modbus-go Loading trusted files from base branch master at a219397901d2c5688805132d00f2acfc9627e1bf rather than d854ea6d8a140c5bf000509f6a6e3e056a00f7df Obtained Jenkinsfile from a219397901d2c5688805132d00f2acfc9627e1bf Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-153/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1883 in /w/workspace/xfoundry_device-modbus-go_PR-153 [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-153 # 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/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a219397901d2c5688805132d00f2acfc9627e1bf into PR head commit d854ea6d8a140c5bf000509f6a6e3e056a00f7df Merge succeeded, producing d854ea6d8a140c5bf000509f6a6e3e056a00f7df Checking out Revision d854ea6d8a140c5bf000509f6a6e3e056a00f7df (PR-153) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/153/head:refs/remotes/origin/PR-153 # 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/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # 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 a219397901d2c5688805132d00f2acfc9627e1bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # timeout=10 Commit message: "snap: add env override for ProfilesDir" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:08:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:08:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:08:45 ========================================================= 16:08:45 EdgeX Global Pipelines Version Info 16:08:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:08:46 ------------------- 16:08:46 stable info: 16:08:46 ------------------- 16:08:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:46 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 16:08:46 Message: update stable to v1.0.89 16:08:47 ------------------- 16:08:47 experimental info: 16:08:47 ------------------- 16:08:47 Commited By: **** collab-it+edgex@linuxfoundation.org 16:08:47 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 16:08:47 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:49 16:08:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:08:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:49 latest: Pulling from edgex-devops/git-semver 16:08:49 9123ac7c32f7: Pulling fs layer 16:08:49 b8cc5d1170e3: Pulling fs layer 16:08:49 2924cbbf6a41: Pulling fs layer 16:08:49 93b08a4f1073: Pulling fs layer 16:08:49 93b08a4f1073: Waiting 16:08:49 b8cc5d1170e3: Verifying Checksum 16:08:49 b8cc5d1170e3: Download complete 16:08:49 9123ac7c32f7: Verifying Checksum 16:08:49 9123ac7c32f7: Download complete 16:08:49 93b08a4f1073: Verifying Checksum 16:08:49 93b08a4f1073: Download complete 16:08:49 2924cbbf6a41: Verifying Checksum 16:08:49 2924cbbf6a41: Download complete 16:08:49 9123ac7c32f7: Pull complete 16:08:50 b8cc5d1170e3: Pull complete 16:08:50 2924cbbf6a41: Pull complete 16:08:51 93b08a4f1073: Pull complete 16:08:51 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:08:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:08:51 prd-centos7-docker-4c-2g-1883 does not seem to be running inside a container 16:08:51 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-153 -v /w/workspace/xfoundry_device-modbus-go_PR-153:/w/workspace/xfoundry_device-modbus-go_PR-153:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-153@tmp:/w/workspace/xfoundry_device-modbus-go_PR-153@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 16:08:51 $ docker top 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:52 [ssh-agent] Looking for ssh-agent implementation... 16:08:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:52 $ docker exec 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 ssh-agent 16:08:52 SSH_AUTH_SOCK=/tmp/ssh-UXTiIIElYVyL/agent.15 16:08:52 SSH_AGENT_PID=22 16:08:52 Running ssh-add (command line suppressed) 16:08:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-153@tmp/private_key_3389115736640678766.key (/w/workspace/xfoundry_device-modbus-go_PR-153@tmp/private_key_3389115736640678766.key) 16:08:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:53 + git describe --exact-match --tags HEAD 16:08:53 fatal: No names found, cannot describe anything. [Pipeline] } 16:08:53 $ docker exec --env ******** --env ******** 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 ssh-agent -k 16:08:53 unset SSH_AUTH_SOCK; 16:08:53 unset SSH_AGENT_PID; 16:08:53 echo Agent pid 22 killed; 16:08:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:08:53 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:08:53 This usually means this commit has not been tagged. [Pipeline] sshagent 16:08:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:53 [ssh-agent] Looking for ssh-agent implementation... 16:08:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:53 $ docker exec 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 ssh-agent 16:08:53 SSH_AUTH_SOCK=/tmp/ssh-CmncI24RRoZq/agent.57 16:08:53 SSH_AGENT_PID=63 16:08:53 Running ssh-add (command line suppressed) 16:08:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-153@tmp/private_key_8701272394349827501.key (/w/workspace/xfoundry_device-modbus-go_PR-153@tmp/private_key_8701272394349827501.key) 16:08:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:54 + git semver init 16:08:54 # -> Open(): unable to determine branch for HEAD 16:08:54 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-153/.git 16:08:54 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-153 16:08:54 # $SEMVER_REMOTE_NAME = origin 16:08:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:08:54 # $SEMVER_USER_NAME = edgex-jenkins 16:08:54 # $SEMVER_BRANCH = PR-153 16:08:54 # $SEMVER_TEMP = /tmp/semver-190769080 16:08:54 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:08:54 # '/tmp/semver-190769080' -> '/w/workspace/xfoundry_device-modbus-go_PR-153/.semver' 16:08:54 # -> Force: false 16:08:54 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-153/.semver [Pipeline] } 16:08:54 $ docker exec --env ******** --env ******** 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 ssh-agent -k 16:08:55 unset SSH_AUTH_SOCK; 16:08:55 unset SSH_AGENT_PID; 16:08:55 echo Agent pid 63 killed; 16:08:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:55 + git semver [Pipeline] } 16:08:55 $ docker stop --time=1 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 16:08:56 $ docker rm -f 078ba9f6371d518672e337565fb8d3be5068a3da14a32004d410696e1a6abe34 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:08:57 Stashed 29 file(s) [Pipeline] echo 16:08:57 [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 16:09:13 Still waiting to schedule task 16:09:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:09:13 Still waiting to schedule task 16:09:13 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1882’ 16:11:24 Running on prd-centos7-docker-4c-2g-1884 in /w/workspace/xfoundry_device-modbus-go_PR-153 [Pipeline] { [Pipeline] ws 16:11:24 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 16:11:26 using credential edgex-jenkins-ssh 16:11:26 Cloning the remote Git repository 16:11:26 Cloning with configured refspecs honoured and without tags 16:11:26 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:11:26 > git init /w/workspace/device-modbus-go/1 # timeout=10 16:11:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:11:26 > git --version # timeout=10 16:11:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:11:27 Fetching without tags 16:11:27 Merging remotes/origin/master commit a219397901d2c5688805132d00f2acfc9627e1bf into PR head commit d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:11:27 Merge succeeded, producing d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:11:27 Checking out Revision d854ea6d8a140c5bf000509f6a6e3e056a00f7df (PR-153) 16:11:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:11:27 > git config --add remote.origin.fetch +refs/pull/153/head:refs/remotes/origin/PR-153 # timeout=10 16:11:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:11:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:11:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:11:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:11:27 > git config core.sparsecheckout # timeout=10 16:11:27 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # timeout=10 16:11:27 > git remote # timeout=10 16:11:27 > git config --get remote.origin.url # timeout=10 16:11:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:27 > git merge a219397901d2c5688805132d00f2acfc9627e1bf # timeout=10 16:11:27 > git rev-parse HEAD^{commit} # timeout=10 16:11:27 > git config core.sparsecheckout # timeout=10 16:11:27 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # timeout=10 16:11:31 Commit message: "snap: add env override for ProfilesDir" 16:11:31 > git --version # timeout=10 16:11:31 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:11:32 ========================================================= 16:11:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:11:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:11:33 + 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 . 16:11:33 Sending build context to Docker daemon 595.5kB 16:11:33 Step 1/8 : ARG BASE=golang:1.13-alpine 16:11:33 Step 2/8 : FROM ${BASE} 16:11:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:33 e6b0cf9c0882: Pulling fs layer 16:11:33 2848faf0eed1: Pulling fs layer 16:11:33 0f37312ad70f: Pulling fs layer 16:11:33 5788d62ee057: Pulling fs layer 16:11:33 0e6b1d234666: Pulling fs layer 16:11:33 bf5d7aec512f: Pulling fs layer 16:11:33 34c802a77dc8: Pulling fs layer 16:11:33 9eb99e56ec68: Pulling fs layer 16:11:33 27c7a5d97fbd: Pulling fs layer 16:11:33 5c102a31e300: Pulling fs layer 16:11:33 dcfb455df0a1: Pulling fs layer 16:11:33 34c802a77dc8: Waiting 16:11:33 9eb99e56ec68: Waiting 16:11:33 27c7a5d97fbd: Waiting 16:11:33 5c102a31e300: Waiting 16:11:33 dcfb455df0a1: Waiting 16:11:33 5788d62ee057: Waiting 16:11:33 0e6b1d234666: Waiting 16:11:33 bf5d7aec512f: Waiting 16:11:33 0f37312ad70f: Download complete 16:11:33 2848faf0eed1: Verifying Checksum 16:11:33 2848faf0eed1: Download complete 16:11:33 0e6b1d234666: Verifying Checksum 16:11:33 0e6b1d234666: Download complete 16:11:33 e6b0cf9c0882: Verifying Checksum 16:11:33 e6b0cf9c0882: Download complete 16:11:33 bf5d7aec512f: Verifying Checksum 16:11:33 bf5d7aec512f: Download complete 16:11:33 e6b0cf9c0882: Pull complete 16:11:33 2848faf0eed1: Pull complete 16:11:33 0f37312ad70f: Pull complete 16:11:34 34c802a77dc8: Verifying Checksum 16:11:34 34c802a77dc8: Download complete 16:11:34 27c7a5d97fbd: Verifying Checksum 16:11:34 27c7a5d97fbd: Download complete 16:11:34 9eb99e56ec68: Verifying Checksum 16:11:34 9eb99e56ec68: Download complete 16:11:34 dcfb455df0a1: Verifying Checksum 16:11:34 dcfb455df0a1: Download complete 16:11:35 5c102a31e300: Verifying Checksum 16:11:35 5c102a31e300: Download complete 16:11:35 5788d62ee057: Verifying Checksum 16:11:35 5788d62ee057: Download complete 16:11:40 5788d62ee057: Pull complete 16:11:40 0e6b1d234666: Pull complete 16:11:40 bf5d7aec512f: Pull complete 16:11:47 34c802a77dc8: Pull complete 16:11:50 9eb99e56ec68: Pull complete 16:11:50 27c7a5d97fbd: Pull complete 16:11:51 5c102a31e300: Pull complete 16:11:51 dcfb455df0a1: Pull complete 16:11:51 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:11:51 ---> 7c70fe431013 16:11:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:11:51 ---> Running in 4a5bac5973f3 16:11:51 Removing intermediate container 4a5bac5973f3 16:11:51 ---> 75989e97c3ca 16:11:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:11:51 ---> Running in e619ebe27450 16:11:52 Removing intermediate container e619ebe27450 16:11:52 ---> 6986b2443921 16:11:52 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:11:52 ---> Running in a33c773a45f0 16:11:53 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:11:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:11:57 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:11:57 (2/17) Installing libmagic (5.37-r1) 16:11:57 (3/17) Installing file (5.37-r1) 16:11:57 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:11:57 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:11:57 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:12:15 (7/17) Installing libc-dev (0.7.2-r0) 16:12:15 (8/17) Installing g++ (9.2.0-r4) 16:12:23 (9/17) Installing fortify-headers (1.1-r0) 16:12:23 (10/17) Installing build-base (0.5-r1) 16:12:23 (11/17) Installing openssh-keygen (8.1_p1-r0) 16:12:23 (12/17) Installing libedit (20191211.3.1-r0) 16:12:23 (13/17) Installing openssh-client (8.1_p1-r0) 16:12:23 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 16:12:23 (15/17) Installing openssh-server-common (8.1_p1-r0) 16:12:24 (16/17) Installing openssh-server (8.1_p1-r0) 16:12:24 (17/17) Installing openssh (8.1_p1-r0) 16:12:24 Executing busybox-1.31.1-r8.trigger 16:12:24 OK: 214 MiB in 52 packages 16:12:28 Removing intermediate container a33c773a45f0 16:12:28 ---> 60712e63bcd1 16:12:28 Step 6/8 : WORKDIR /device-modbus-go 16:12:28 ---> Running in 87ac75035b54 16:12:28 Removing intermediate container 87ac75035b54 16:12:28 ---> 7370c4311e98 16:12:28 Step 7/8 : COPY . . 16:12:28 ---> 425ad2a1427f 16:12:28 Step 8/8 : RUN go mod download 16:12:28 ---> Running in 4a8f3da40283 16:12:29 go: finding github.com/BurntSushi/toml v0.3.1 16:12:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1885 in /w/workspace/xfoundry_device-modbus-go_PR-153 [Pipeline] { 16:12:30 go: finding github.com/OneOfOne/xxhash v1.2.6 16:12:30 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:12:30 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:12:30 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:12:30 go: finding github.com/bgentry/speakeasy v0.1.0 16:12:30 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:12:30 go: finding github.com/davecgh/go-spew v1.1.1 16:12:30 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 16:12:30 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:12:30 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:12:30 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:12:30 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:12:30 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:12:30 go: finding github.com/fatih/color v1.7.0 16:12:30 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:12:30 go: finding github.com/go-kit/kit v0.8.0 16:12:30 go: finding github.com/go-logfmt/logfmt v0.4.0 16:12:30 go: finding github.com/go-stack/stack v1.8.0 16:12:30 go: finding github.com/goburrow/modbus v0.1.0 16:12:30 go: finding github.com/goburrow/serial v0.1.0 16:12:30 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:12:30 go: finding github.com/google/uuid v1.1.1 16:12:30 go: finding github.com/gorilla/mux v1.7.1 16:12:30 go: finding github.com/hashicorp/consul/api v1.1.0 16:12:30 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:12:30 go: finding github.com/hashicorp/errwrap v1.0.0 16:12:30 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:12:30 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:12:30 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:12:30 go: finding github.com/hashicorp/go-multierror v1.0.0 16:12:30 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:12:30 go: finding github.com/hashicorp/go-sockaddr v1.0.1 [Pipeline] ws 16:12:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 16:12:30 go: finding github.com/hashicorp/go-syslog v1.0.0 16:12:30 go: finding github.com/hashicorp/go-uuid v1.0.1 16:12:30 go: finding github.com/hashicorp/go.net v0.0.1 16:12:30 go: finding github.com/hashicorp/golang-lru v0.5.1 16:12:30 go: finding github.com/hashicorp/logutils v1.0.0 16:12:30 go: finding github.com/hashicorp/mdns v1.0.0 16:12:30 go: finding github.com/hashicorp/memberlist v0.1.3 16:12:30 go: finding github.com/hashicorp/serf v0.8.2 16:12:30 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:12:30 go: finding github.com/mattn/go-colorable v0.0.9 16:12:30 go: finding github.com/mattn/go-isatty v0.0.3 16:12:30 go: finding github.com/miekg/dns v1.1.4 16:12:30 go: finding github.com/mitchellh/cli v1.0.0 16:12:30 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:12:30 go: finding github.com/mitchellh/copystructure v1.0.0 16:12:30 go: finding github.com/mitchellh/go-homedir v1.1.0 16:12:30 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:12:30 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:12:30 go: finding github.com/mitchellh/gox v0.4.0 16:12:30 go: finding github.com/mitchellh/iochan v1.0.0 16:12:30 go: finding github.com/mitchellh/mapstructure v1.1.2 16:12:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:12:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:12:30 go: finding github.com/pelletier/go-toml v1.2.0 16:12:30 go: finding github.com/pkg/errors v0.8.1 16:12:30 go: finding github.com/pmezard/go-difflib v1.0.0 16:12:30 go: finding github.com/posener/complete v1.1.1 16:12:30 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:12:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:12:30 go: finding github.com/stretchr/objx v0.1.0 16:12:30 go: finding github.com/stretchr/testify v1.5.1 16:12:30 go: finding github.com/ugorji/go v1.1.4 16:12:30 go: finding github.com/x448/float16 v0.8.4 16:12:30 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:12:30 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:12:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:12:30 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:12:30 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:12:30 go: finding gopkg.in/yaml.v2 v2.2.8 16:12:34 Removing intermediate container 4a8f3da40283 16:12:34 ---> 7fbc31f304bb 16:12:34 Successfully built 7fbc31f304bb 16:12:34 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 16:12:35 + docker inspect -f . ci-base-image-x86_64 16:12:35 . [Pipeline] withDockerContainer 16:12:35 prd-centos7-docker-4c-2g-1884 does not seem to be running inside a container 16:12:35 $ 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 ******** ci-base-image-x86_64 cat 16:12:36 $ docker top 3c96fc0fcb19bdfe3a0f81e1d0d7a64c7d8f7b81a9f6380ecbf73ae3ffba4ec9 -eo pid,comm 16:12:36 using credential edgex-jenkins-ssh 16:12:36 Cloning the remote Git repository 16:12:36 Cloning with configured refspecs honoured and without tags [Pipeline] { [Pipeline] sh 16:12:36 + go version 16:12:36 go version go1.13.5 linux/amd64 [Pipeline] sh 16:12:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:12:36 > git init /w/workspace/device-modbus-go/1 # timeout=10 16:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:12:36 > git --version # timeout=10 16:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:36 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:37 + make test 16:12:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:12:37 Fetching without tags 16:12:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:12:37 > git config --add remote.origin.fetch +refs/pull/153/head:refs/remotes/origin/PR-153 # timeout=10 16:12:37 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:12:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:37 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:38 Merging remotes/origin/master commit a219397901d2c5688805132d00f2acfc9627e1bf into PR head commit d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:12:38 Merge succeeded, producing d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:12:38 Checking out Revision d854ea6d8a140c5bf000509f6a6e3e056a00f7df (PR-153) 16:12:38 > git config core.sparsecheckout # timeout=10 16:12:38 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # timeout=10 16:12:38 > git remote # timeout=10 16:12:38 > git config --get remote.origin.url # timeout=10 16:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:38 > git merge a219397901d2c5688805132d00f2acfc9627e1bf # timeout=10 16:12:38 > git rev-parse HEAD^{commit} # timeout=10 16:12:38 > git config core.sparsecheckout # timeout=10 16:12:38 > git checkout -f d854ea6d8a140c5bf000509f6a6e3e056a00f7df # timeout=10 16:12:43 Commit message: "snap: add env override for ProfilesDir" 16:12:43 > git --version # timeout=10 16:12:43 fatal: bad object 370697454611dc68c0596e0d0a50477a8de841a8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:12:44 ========================================================= 16:12:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:12:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:12:46 + 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 . 16:12:47 Sending build context to Docker daemon 595.5kB 16:12:47 Step 1/8 : ARG BASE=golang:1.13-alpine 16:12:47 Step 2/8 : FROM ${BASE} 16:12:47 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:12:47 cde5963f3b93: Pulling fs layer 16:12:47 2a23fa8c16f7: Pulling fs layer 16:12:47 777b28850792: Pulling fs layer 16:12:47 8a11ddd9e578: Pulling fs layer 16:12:47 4cf88f913ddb: Pulling fs layer 16:12:47 1df406cf5192: Pulling fs layer 16:12:47 cd6300453558: Pulling fs layer 16:12:47 b9c365052c96: Pulling fs layer 16:12:47 a2d8cc88f415: Pulling fs layer 16:12:47 ea1d1ca13537: Pulling fs layer 16:12:47 3750a50a1c5e: Pulling fs layer 16:12:47 8a11ddd9e578: Waiting 16:12:47 4cf88f913ddb: Waiting 16:12:47 1df406cf5192: Waiting 16:12:47 cd6300453558: Waiting 16:12:47 b9c365052c96: Waiting 16:12:47 ea1d1ca13537: Waiting 16:12:47 a2d8cc88f415: Waiting 16:12:47 2a23fa8c16f7: Verifying Checksum 16:12:47 2a23fa8c16f7: Download complete 16:12:47 cde5963f3b93: Verifying Checksum 16:12:47 cde5963f3b93: Download complete 16:12:47 4cf88f913ddb: Verifying Checksum 16:12:47 4cf88f913ddb: Download complete 16:12:47 1df406cf5192: Download complete 16:12:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:12:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.143s coverage: 50.3% of statements 16:12:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:12:48 cde5963f3b93: Pull complete 16:12:48 777b28850792: Verifying Checksum 16:12:48 777b28850792: Download complete 16:12:48 gofmt -l . 16:12:48 [ "`gofmt -l .`" = "" ] 16:12:48 ./bin/test-attribution-txt.sh 16:12:49 2a23fa8c16f7: Pull complete 16:12:49 ./bin/test-go-mod-tidy.sh 16:12:49 777b28850792: Pull complete [Pipeline] stash 16:12:49 Stashed 1 file(s) [Pipeline] } 16:12:49 $ docker stop --time=1 3c96fc0fcb19bdfe3a0f81e1d0d7a64c7d8f7b81a9f6380ecbf73ae3ffba4ec9 16:12:51 $ docker rm -f 3c96fc0fcb19bdfe3a0f81e1d0d7a64c7d8f7b81a9f6380ecbf73ae3ffba4ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:12:51 cd6300453558: Verifying Checksum 16:12:51 cd6300453558: Download complete 16:12:51 a2d8cc88f415: Verifying Checksum 16:12:51 a2d8cc88f415: Download complete [Pipeline] sh 16:12:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:53 + ls -al . 16:12:53 total 104 16:12:53 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 4 16:12 . 16:12:53 drwxrwxr-x. 4 jenkins jenkins 28 Jun 4 16:11 .. 16:12:53 -rw-rw-r--. 1 jenkins jenkins 5049 Jun 4 16:11 Attribution.txt 16:12:53 drwxrwxr-x. 2 jenkins jenkins 87 Jun 4 16:11 bin 16:12:53 drwxrwxr-x. 3 jenkins jenkins 32 Jun 4 16:11 cmd 16:12:53 -rw-r--r--. 1 jenkins jenkins 22123 Jun 4 16:12 coverage.out 16:12:53 -rw-rw-r--. 1 jenkins jenkins 1422 Jun 4 16:11 Dockerfile 16:12:53 -rw-rw-r--. 1 jenkins jenkins 954 Jun 4 16:11 Dockerfile.build 16:12:53 -rw-rw-r--. 1 jenkins jenkins 140 Jun 4 16:11 .dockerignore 16:12:53 drwxrwxr-x. 8 jenkins jenkins 179 Jun 4 16:11 .git 16:12:53 -rw-rw-r--. 1 jenkins jenkins 330 Jun 4 16:11 .gitignore 16:12:53 -rw-r--r--. 1 jenkins jenkins 559 Jun 4 16:12 go.mod 16:12:53 -rw-r--r--. 1 jenkins jenkins 13471 Jun 4 16:12 go.sum 16:12:53 drwxrwxr-x. 3 jenkins jenkins 20 Jun 4 16:11 internal 16:12:53 -rw-rw-r--. 1 jenkins jenkins 702 Jun 4 16:11 Jenkinsfile 16:12:53 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 4 16:11 LICENSE 16:12:53 -rw-rw-r--. 1 jenkins jenkins 880 Jun 4 16:11 Makefile 16:12:53 -rw-rw-r--. 1 jenkins jenkins 591 Jun 4 16:11 README.md 16:12:53 drwxrwxr-x. 3 jenkins jenkins 58 Jun 4 16:11 .semver 16:12:53 drwxrwxr-x. 2 jenkins jenkins 35 Jun 4 16:11 simulator 16:12:53 drwxrwxr-x. 4 jenkins jenkins 54 Jun 4 16:11 snap 16:12:53 -rw-rw-r--. 1 jenkins jenkins 5 Jun 4 16:08 VERSION 16:12:53 -rw-rw-r--. 1 jenkins jenkins 229 Jun 4 16:11 version.go [Pipeline] isUnix [Pipeline] sh 16:12:53 + 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=d854ea6d8a140c5bf000509f6a6e3e056a00f7df --label arch=amd64 --label version=0.0.0 . 16:12:53 Sending build context to Docker daemon 624.1kB 16:12:53 Step 1/19 : ARG BASE=golang:1.13-alpine 16:12:53 Step 2/19 : FROM ${BASE} AS builder 16:12:53 ---> 7fbc31f304bb 16:12:53 Step 3/19 : ARG MAKE='make build' 16:12:53 ---> Running in fa58ac8d8704 16:12:54 Removing intermediate container fa58ac8d8704 16:12:54 ---> be86b22ba350 16:12:54 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:12:54 ---> Running in a7819a30c2b1 16:12:54 ea1d1ca13537: Verifying Checksum 16:12:54 ea1d1ca13537: Download complete 16:12:54 3750a50a1c5e: Verifying Checksum 16:12:54 3750a50a1c5e: Download complete 16:12:54 Removing intermediate container a7819a30c2b1 16:12:54 ---> 626fe3d2bf16 16:12:54 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:12:54 ---> Running in f3e8745584b7 16:12:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:12:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:12:56 OK: 214 MiB in 52 packages 16:12:57 Removing intermediate container f3e8745584b7 16:12:57 ---> 7298ea3cacee 16:12:57 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:12:57 ---> Running in 7df550554abf 16:12:57 Removing intermediate container 7df550554abf 16:12:57 ---> 13da1c778a6d 16:12:57 Step 7/19 : COPY . . 16:12:57 ---> 4df9e36ab63a 16:12:57 Step 8/19 : RUN ${MAKE} 16:12:57 ---> Running in dfcc7c8e7051 16:12:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:12:57 b9c365052c96: Verifying Checksum 16:12:57 b9c365052c96: Download complete 16:12:58 8a11ddd9e578: Verifying Checksum 16:12:58 8a11ddd9e578: Download complete 16:13:06 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:13:08 Removing intermediate container dfcc7c8e7051 16:13:08 ---> 96f225ef1569 16:13:08 Step 9/19 : FROM scratch 16:13:08 ---> 16:13:08 Step 10/19 : ENV APP_PORT=49991 16:13:08 ---> Running in fb518425b73d 16:13:08 Removing intermediate container fb518425b73d 16:13:08 ---> 7c731dfcf379 16:13:08 Step 11/19 : EXPOSE $APP_PORT 16:13:08 ---> Running in 6ec01fb409ef 16:13:08 Removing intermediate container 6ec01fb409ef 16:13:08 ---> 7f47a53b3dc1 16:13:08 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:13:08 ---> ba27cf9f1d45 16:13:08 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:13:09 ---> 294bab1f3d7f 16:13:09 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:13:09 ---> f6ef4cde91fd 16:13:09 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:13:09 ---> Running in 2b364591e534 16:13:09 Removing intermediate container 2b364591e534 16:13:09 ---> b53682128505 16:13:09 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:13:09 ---> Running in 6c4f874952ab 16:13:09 Removing intermediate container 6c4f874952ab 16:13:09 ---> 5be81da6c3fd 16:13:09 Step 17/19 : LABEL arch=amd64 16:13:09 ---> Running in 9a29b62a3b4a 16:13:10 Removing intermediate container 9a29b62a3b4a 16:13:10 ---> 7d9e190a7c16 16:13:10 Step 18/19 : LABEL git_sha=d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:13:10 ---> Running in 7b4784ccc6b5 16:13:11 8a11ddd9e578: Pull complete 16:13:11 4cf88f913ddb: Pull complete 16:13:11 1df406cf5192: Pull complete 16:13:11 Removing intermediate container 7b4784ccc6b5 16:13:11 ---> 55838002a636 16:13:11 Step 19/19 : LABEL version=0.0.0 16:13:11 ---> Running in 84440b3f5b2b 16:13:12 Removing intermediate container 84440b3f5b2b 16:13:12 ---> b96df80ee9c9 16:13:12 [Warning] One or more build-args [ARCH] were not consumed 16:13:12 Successfully built b96df80ee9c9 16:13:12 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) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:13 ++ find /w/workspace/device-modbus-go/1 16:13:13 ++ grep snapcraft.yaml 16:13:13 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:13 provisioning config files... 16:13:13 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3072273309664520070tmp [Pipeline] { [Pipeline] sh 16:13:13 + cp /w/workspace/device-modbus-go/1@tmp/config3072273309664520070tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 16:13:14 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:13:14 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 16:13:14 latest: Pulling from edgex-devops/edgex-snap-builder 16:13:14 5bed26d33875: Pulling fs layer 16:13:14 f11b29a9c730: Pulling fs layer 16:13:14 930bda195c84: Pulling fs layer 16:13:14 78bf9a5ad49e: Pulling fs layer 16:13:14 e5fbee5a4b0d: Pulling fs layer 16:13:14 f452fca78f88: Pulling fs layer 16:13:14 7417ef92027a: Pulling fs layer 16:13:14 2af5c49d270b: Pulling fs layer 16:13:14 df9c3bdbc40a: Pulling fs layer 16:13:14 f452fca78f88: Waiting 16:13:14 7417ef92027a: Waiting 16:13:14 2af5c49d270b: Waiting 16:13:14 df9c3bdbc40a: Waiting 16:13:14 78bf9a5ad49e: Waiting 16:13:14 e5fbee5a4b0d: Waiting 16:13:14 930bda195c84: Download complete 16:13:14 f11b29a9c730: Verifying Checksum 16:13:14 f11b29a9c730: Download complete 16:13:14 78bf9a5ad49e: Verifying Checksum 16:13:14 78bf9a5ad49e: Download complete 16:13:14 f452fca78f88: Verifying Checksum 16:13:14 f452fca78f88: Download complete 16:13:14 7417ef92027a: Verifying Checksum 16:13:14 7417ef92027a: Download complete 16:13:14 2af5c49d270b: Verifying Checksum 16:13:14 2af5c49d270b: Download complete 16:13:14 df9c3bdbc40a: Verifying Checksum 16:13:14 df9c3bdbc40a: Download complete 16:13:14 5bed26d33875: Verifying Checksum 16:13:14 5bed26d33875: Download complete 16:13:15 cd6300453558: Pull complete 16:13:17 e5fbee5a4b0d: Verifying Checksum 16:13:17 e5fbee5a4b0d: Download complete 16:13:19 5bed26d33875: Pull complete 16:13:19 f11b29a9c730: Pull complete 16:13:19 930bda195c84: Pull complete 16:13:19 78bf9a5ad49e: Pull complete 16:13:21 b9c365052c96: Pull complete 16:13:21 a2d8cc88f415: Pull complete 16:13:23 ea1d1ca13537: Pull complete 16:13:23 3750a50a1c5e: Pull complete 16:13:23 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:13:23 ---> 78745c68409d 16:13:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:13:28 ---> Running in 968e9c13f608 16:13:28 Removing intermediate container 968e9c13f608 16:13:28 ---> c7f05d46bb20 16:13:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:13:28 ---> Running in b9280a09177f 16:13:31 Removing intermediate container b9280a09177f 16:13:31 ---> 7ab125cbc764 16:13:31 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:13:31 ---> Running in 95e826ebb5be 16:13:31 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:13:32 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:13:33 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 16:13:33 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:13:33 (3/18) Installing libmagic (5.37-r1) 16:13:33 (4/18) Installing file (5.37-r1) 16:13:33 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:13:33 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:13:33 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:13:37 (8/18) Installing libc-dev (0.7.2-r0) 16:13:37 (9/18) Installing g++ (9.2.0-r4) 16:13:39 (10/18) Installing fortify-headers (1.1-r0) 16:13:39 (11/18) Installing build-base (0.5-r1) 16:13:39 (12/18) Installing openssh-keygen (8.1_p1-r0) 16:13:39 (13/18) Installing libedit (20191211.3.1-r0) 16:13:40 (14/18) Installing openssh-client (8.1_p1-r0) 16:13:40 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 16:13:40 (16/18) Installing openssh-server-common (8.1_p1-r0) 16:13:40 (17/18) Installing openssh-server (8.1_p1-r0) 16:13:41 (18/18) Installing openssh (8.1_p1-r0) 16:13:41 Executing busybox-1.31.1-r8.trigger 16:13:41 OK: 203 MiB in 52 packages 16:13:45 e5fbee5a4b0d: Pull complete 16:13:45 f452fca78f88: Pull complete 16:13:45 7417ef92027a: Pull complete 16:13:45 2af5c49d270b: Pull complete 16:13:45 df9c3bdbc40a: Pull complete 16:13:45 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 16:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:13:45 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 16:13:45 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 16:13:45 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 16:13:45 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 16:13:45 Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8815 B] 16:13:45 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.1 kB] 16:13:45 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1387 kB] 16:13:45 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [933 kB] 16:13:45 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1230 kB] 16:13:45 Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [856 kB] 16:13:45 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [73.6 kB] 16:13:45 Get:12 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 16:13:45 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 16:13:45 Get:14 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [59.3 kB] 16:13:46 Fetched 4836 kB in 2s (2226 kB/s) 16:13:47 Reading package lists... 16:13:49 Removing intermediate container 95e826ebb5be 16:13:49 ---> 884a00bb46f1 16:13:49 Step 6/8 : WORKDIR /device-modbus-go 16:13:49 ---> Running in 40eda4c6076a 16:13:49 Removing intermediate container 40eda4c6076a 16:13:49 ---> a8f5b89c1598 16:13:49 Step 7/8 : COPY . . 16:13:49 ---> 76d17f9067fa 16:13:49 Step 8/8 : RUN go mod download 16:13:49 ---> Running in 84fec7fb3a93 16:13:51 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 16:13:51 go: finding github.com/BurntSushi/toml v0.3.1 16:13:51 go: finding github.com/OneOfOne/xxhash v1.2.6 16:13:51 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:13:51 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:13:51 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:13:51 go: finding github.com/bgentry/speakeasy v0.1.0 16:13:51 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:13:51 go: finding github.com/davecgh/go-spew v1.1.1 16:13:51 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 16:13:51 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:13:51 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:13:51 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:13:51 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:13:51 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:13:51 go: finding github.com/fatih/color v1.7.0 16:13:51 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:13:51 go: finding github.com/go-kit/kit v0.8.0 16:13:51 go: finding github.com/go-logfmt/logfmt v0.4.0 16:13:51 go: finding github.com/go-stack/stack v1.8.0 16:13:51 go: finding github.com/goburrow/modbus v0.1.0 16:13:51 go: finding github.com/goburrow/serial v0.1.0 16:13:51 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:13:51 go: finding github.com/google/uuid v1.1.1 16:13:51 go: finding github.com/gorilla/mux v1.7.1 16:13:51 go: finding github.com/hashicorp/consul/api v1.1.0 16:13:51 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:13:51 go: finding github.com/hashicorp/errwrap v1.0.0 16:13:51 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:13:51 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:13:51 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:13:51 go: finding github.com/hashicorp/go-multierror v1.0.0 16:13:51 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:13:51 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:13:51 go: finding github.com/hashicorp/go-syslog v1.0.0 16:13:51 go: finding github.com/hashicorp/go-uuid v1.0.1 16:13:51 go: finding github.com/hashicorp/go.net v0.0.1 16:13:51 go: finding github.com/hashicorp/golang-lru v0.5.1 16:13:51 go: finding github.com/hashicorp/logutils v1.0.0 16:13:51 go: finding github.com/hashicorp/mdns v1.0.0 16:13:51 go: finding github.com/hashicorp/memberlist v0.1.3 16:13:51 go: finding github.com/hashicorp/serf v0.8.2 16:13:51 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:13:51 go: finding github.com/mattn/go-colorable v0.0.9 16:13:51 go: finding github.com/mattn/go-isatty v0.0.3 16:13:51 go: finding github.com/miekg/dns v1.1.4 16:13:51 go: finding github.com/mitchellh/cli v1.0.0 16:13:51 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:13:51 go: finding github.com/mitchellh/copystructure v1.0.0 16:13:51 go: finding github.com/mitchellh/go-homedir v1.1.0 16:13:51 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:13:51 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:13:52 go: finding github.com/mitchellh/gox v0.4.0 16:13:52 go: finding github.com/mitchellh/iochan v1.0.0 16:13:52 go: finding github.com/mitchellh/mapstructure v1.1.2 16:13:52 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:13:52 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:13:52 go: finding github.com/pelletier/go-toml v1.2.0 16:13:52 go: finding github.com/pkg/errors v0.8.1 16:13:52 go: finding github.com/pmezard/go-difflib v1.0.0 16:13:52 go: finding github.com/posener/complete v1.1.1 16:13:52 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:13:52 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:13:52 go: finding github.com/stretchr/objx v0.1.0 16:13:52 go: finding github.com/stretchr/testify v1.5.1 16:13:52 go: finding github.com/ugorji/go v1.1.4 16:13:52 go: finding github.com/x448/float16 v0.8.4 16:13:52 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:13:52 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:13:52 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:13:52 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:13:52 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:13:52 go: finding gopkg.in/yaml.v2 v2.2.8 16:13:52 Reading package lists... 16:13:52 Building dependency tree... 16:13:52 Reading state information... 16:13:53 The following packages were automatically installed and are no longer required: 16:13:53 libjq1 liblzo2-2 libonig4 16:13:53 Use 'sudo apt autoremove' to remove them. 16:13:53 Suggested packages: 16:13:53 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:13:53 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 16:13:53 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 16:13:53 libterm-readline-gnu-perl | libterm-readline-perl-perl 16:13:53 The following NEW packages will be installed: 16:13:53 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 16:13:53 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 16:13:53 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 16:13:53 openssh-client patch perl perl-modules-5.26 xauth 16:13:53 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 16:13:53 Need to get 14.7 MB of archives. 16:13:53 After this operation, 89.5 MB of additional disk space will be used. 16:13:53 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 16:13:53 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 16:13:53 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 16:13:53 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 16:13:53 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 16:13:54 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 16:13:54 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 16:13:54 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:13:54 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 16:13:54 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 16:13:54 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 16:13:54 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 16:13:54 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 16:13:54 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 16:13:54 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 16:13:54 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 16:13:54 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 16:13:54 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 16:13:54 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 16:13:54 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 16:13:55 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 16:13:55 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 16:13:55 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 16:13:55 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:13:55 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 16:13:55 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 16:13:55 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 16:13:56 debconf: delaying package configuration, since apt-utils is not installed 16:13:56 Fetched 14.7 MB in 2s (6000 kB/s) 16:13:56 Selecting previously unselected package libxau6:amd64. 16:13:56 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4637 files and directories currently installed.) 16:13:56 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 16:13:56 Unpacking libxau6:amd64 (1:1.0.8-1) ... 16:13:56 Selecting previously unselected package libbsd0:amd64. 16:13:56 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 16:13:56 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:13:56 Selecting previously unselected package libxdmcp6:amd64. 16:13:56 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 16:13:56 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 16:13:56 Selecting previously unselected package libxcb1:amd64. 16:13:56 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 16:13:56 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:13:56 Selecting previously unselected package libx11-data. 16:13:56 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 16:13:56 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 16:13:57 Selecting previously unselected package libx11-6:amd64. 16:13:57 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 16:13:57 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:13:57 Selecting previously unselected package libxext6:amd64. 16:13:57 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 16:13:57 Unpacking libxext6:amd64 (2:1.3.3-1) ... 16:13:57 Selecting previously unselected package perl-modules-5.26. 16:13:57 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:13:57 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:14:00 Selecting previously unselected package libgdbm5:amd64. 16:14:00 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 16:14:00 Unpacking libgdbm5:amd64 (1.14.1-6) ... 16:14:00 Selecting previously unselected package libgdbm-compat4:amd64. 16:14:00 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 16:14:00 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 16:14:00 Selecting previously unselected package libperl5.26:amd64. 16:14:00 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 16:14:00 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:14:02 Selecting previously unselected package perl. 16:14:02 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 16:14:02 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:14:02 Selecting previously unselected package less. 16:14:02 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 16:14:02 Unpacking less (487-0.1) ... 16:14:02 Selecting previously unselected package libexpat1:amd64. 16:14:02 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 16:14:02 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:14:02 Selecting previously unselected package netbase. 16:14:02 Preparing to unpack .../14-netbase_5.4_all.deb ... 16:14:02 Unpacking netbase (5.4) ... 16:14:02 Removing intermediate container 84fec7fb3a93 16:14:02 ---> 7460946568ab 16:14:02 Successfully built 7460946568ab 16:14:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:14:02 Selecting previously unselected package libedit2:amd64. 16:14:02 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 16:14:02 Unpacking libedit2:amd64 (3.1-20170329-1) ... 16:14:02 Selecting previously unselected package libssl1.0.0:amd64. 16:14:02 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 16:14:02 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:14:03 Selecting previously unselected package libxmuu1:amd64. 16:14:03 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 16:14:03 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 16:14:03 Selecting previously unselected package openssh-client. 16:14:03 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 16:14:03 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 16:14:03 Selecting previously unselected package xauth. 16:14:03 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 16:14:03 Unpacking xauth (1:1.0.10-1) ... 16:14:03 Selecting previously unselected package curl. 16:14:03 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 16:14:03 Unpacking curl (7.58.0-2ubuntu3.8) ... 16:14:03 Selecting previously unselected package libcurl3-gnutls:amd64. 16:14:03 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 16:14:03 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:14:03 + docker inspect -f . ci-base-image-arm64 16:14:03 Selecting previously unselected package liberror-perl. 16:14:03 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 16:14:03 Unpacking liberror-perl (0.17025-1) ... 16:14:03 Selecting previously unselected package git-man. 16:14:03 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:14:03 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:14:03 Selecting previously unselected package git. 16:14:03 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 16:14:03 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:14:03 . [Pipeline] withDockerContainer 16:14:03 prd-ubuntu18.04-docker-arm64-4c-16g-1885 does not seem to be running inside a container 16:14:04 $ 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 16:14:04 Selecting previously unselected package make. 16:14:04 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 16:14:04 Unpacking make (4.1-9.1ubuntu1) ... 16:14:04 Selecting previously unselected package patch. 16:14:04 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 16:14:04 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:14:04 Setting up libedit2:amd64 (3.1-20170329-1) ... 16:14:04 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:14:04 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:14:04 Setting up less (487-0.1) ... 16:14:04 Setting up make (4.1-9.1ubuntu1) ... 16:14:04 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 16:14:04 Setting up curl (7.58.0-2ubuntu3.8) ... 16:14:04 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:14:04 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:14:04 Setting up libgdbm5:amd64 (1.14.1-6) ... 16:14:04 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:14:04 Setting up patch (2.7.6-2ubuntu1.1) ... 16:14:04 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 16:14:04 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 16:14:04 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 16:14:05 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 16:14:05 Setting up libxau6:amd64 (1:1.0.8-1) ... 16:14:05 Setting up netbase (5.4) ... 16:14:05 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:14:05 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:14:05 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:14:05 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 16:14:05 Setting up perl (5.26.1-6ubuntu0.3) ... 16:14:05 Setting up libxext6:amd64 (2:1.3.3-1) ... 16:14:05 Setting up liberror-perl (0.17025-1) ... 16:14:05 Setting up xauth (1:1.0.10-1) ... 16:14:05 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:14:05 $ docker top d56af0a6fcee2317e6e96b9f107a6c9b90cd0b37926c4eea8b02e39187cd0531 -eo pid,comm 16:14:05 Processing triggers for libc-bin (2.27-3ubuntu1) ... [Pipeline] { [Pipeline] sh 16:14:06 + go version 16:14:06 go version go1.13.5 linux/arm64 [Pipeline] sh 16:14:07 + make test 16:14:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:14:07 curl set to automatically installed. 16:14:07 git set to automatically installed. 16:14:07 git-man set to automatically installed. 16:14:07 less set to automatically installed. 16:14:07 libbsd0 set to automatically installed. 16:14:07 libcurl3-gnutls set to automatically installed. 16:14:07 libedit2 set to automatically installed. 16:14:07 liberror-perl set to automatically installed. 16:14:07 libexpat1 set to automatically installed. 16:14:07 libgdbm-compat4 set to automatically installed. 16:14:07 libgdbm5 set to automatically installed. 16:14:07 libperl5.26 set to automatically installed. 16:14:07 libssl1.0.0 set to automatically installed. 16:14:07 libx11-6 set to automatically installed. 16:14:07 libx11-data set to automatically installed. 16:14:07 libxau6 set to automatically installed. 16:14:07 libxcb1 set to automatically installed. 16:14:07 libxdmcp6 set to automatically installed. 16:14:07 libxext6 set to automatically installed. 16:14:07 libxmuu1 set to automatically installed. 16:14:07 make set to automatically installed. 16:14:07 netbase set to automatically installed. 16:14:07 openssh-client set to automatically installed. 16:14:07 patch set to automatically installed. 16:14:07 perl set to automatically installed. 16:14:07 perl-modules-5.26 set to automatically installed. 16:14:07 xauth set to automatically installed. 16:14:07 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:14:07 Please ensure the environment is properly setup before continuing. 16:14:07 Ignore this message if the appropriate measures have already been taken 16:14:08 Pulling go 16:14:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:14:09 'device-modbus' has dependencies that need to be staged: go 16:14:09 Skipping pull go (already ran) 16:14:09 Building go 16:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:14:09 Dload Upload Total Spent Left Speed 16:14:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 114M 2 3039k 0 0 28.8M 0 0:00:03 --:--:-- 0:00:03 28.5M 75 114M 75 87.0M 0 0 78.1M 0 0:00:01 0:00:01 --:--:-- 78.0M 100 114M 100 114M 0 0 73.5M 0 0:00:01 0:00:01 --:--:-- 73.4M 16:14:11 go1.13.5.linux-amd64.tar.gz: OK 16:14:19 Staging go 16:14:20 Pulling device-modbus 16:14:21 Skipping build go (already ran) 16:14:21 Building device-modbus 16:14:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:14:22 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 16:14:22 go: downloading github.com/goburrow/modbus v0.1.0 16:14:22 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:14:22 go: extracting github.com/goburrow/modbus v0.1.0 16:14:22 go: downloading github.com/goburrow/serial v0.1.0 16:14:22 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:14:22 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 16:14:22 go: downloading github.com/gorilla/mux v1.7.1 16:14:22 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:14:22 go: downloading github.com/pkg/errors v0.8.1 16:14:22 go: extracting github.com/goburrow/serial v0.1.0 16:14:22 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:14:22 go: extracting github.com/pkg/errors v0.8.1 16:14:22 go: downloading github.com/google/uuid v1.1.1 16:14:22 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:14:22 go: extracting github.com/gorilla/mux v1.7.1 16:14:22 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:14:22 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:14:22 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:14:22 go: downloading github.com/go-kit/kit v0.8.0 16:14:22 go: downloading github.com/BurntSushi/toml v0.3.1 16:14:22 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:14:22 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:14:22 go: downloading github.com/pelletier/go-toml v1.2.0 16:14:22 go: downloading github.com/x448/float16 v0.8.4 16:14:22 go: extracting github.com/google/uuid v1.1.1 16:14:22 go: downloading gopkg.in/yaml.v2 v2.2.8 16:14:22 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:14:22 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:14:22 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:14:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:14:22 go: downloading github.com/hashicorp/consul/api v1.1.0 16:14:22 go: extracting github.com/x448/float16 v0.8.4 16:14:22 go: extracting github.com/pelletier/go-toml v1.2.0 16:14:22 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:14:22 go: extracting github.com/BurntSushi/toml v0.3.1 16:14:22 go: extracting gopkg.in/yaml.v2 v2.2.8 16:14:22 go: extracting github.com/go-kit/kit v0.8.0 16:14:22 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:14:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:14:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:14:22 go: downloading github.com/mitchellh/copystructure v1.0.0 16:14:22 go: extracting github.com/hashicorp/consul/api v1.1.0 16:14:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:14:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:14:22 go: downloading github.com/hashicorp/serf v0.8.2 16:14:22 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:14:22 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:14:22 go: extracting github.com/mitchellh/copystructure v1.0.0 16:14:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:14:22 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:14:22 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:14:22 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:14:22 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:14:22 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:14:22 go: extracting github.com/hashicorp/serf v0.8.2 16:14:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:14:22 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:14:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:14:22 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:14:22 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:14:22 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:14:22 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 16:14:22 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:14:22 go: finding github.com/goburrow/modbus v0.1.0 16:14:22 go: finding github.com/gorilla/mux v1.7.1 16:14:22 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:14:22 go: finding github.com/go-kit/kit v0.8.0 16:14:22 go: finding github.com/google/uuid v1.1.1 16:14:22 go: finding github.com/OneOfOne/xxhash v1.2.6 16:14:22 go: finding github.com/goburrow/serial v0.1.0 16:14:22 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:14:22 go: finding github.com/x448/float16 v0.8.4 16:14:22 go: finding github.com/go-logfmt/logfmt v0.4.0 16:14:22 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:14:22 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:14:22 go: finding gopkg.in/yaml.v2 v2.2.8 16:14:22 go: finding github.com/BurntSushi/toml v0.3.1 16:14:22 go: finding github.com/pkg/errors v0.8.1 16:14:22 go: finding github.com/hashicorp/consul/api v1.1.0 16:14:22 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:14:22 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:14:22 go: finding github.com/pelletier/go-toml v1.2.0 16:14:22 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:14:22 go: finding github.com/hashicorp/serf v0.8.2 16:14:22 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:14:22 go: finding github.com/mitchellh/mapstructure v1.1.2 16:14:22 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:14:22 go: finding github.com/mitchellh/copystructure v1.0.0 16:14:22 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:14:22 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:14:22 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:14:22 go: finding github.com/hashicorp/golang-lru v0.5.1 16:14:32 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:14:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:14:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.223s coverage: 50.3% of statements 16:14:36 Skipping stage go (already ran) 16:14:36 Staging device-modbus 16:14:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:14:37 Priming go 16:14:38 Priming device-modbus 16:14:39 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:14:39 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:14:39 Determining the version from the project repo (version-script). 16:14:39 The version has been set to '0.0.0-20200604+d854ea6' 16:14:39 Snapping 'edgex-device-modbus' ... 16:14:40 16:14:40 Snapped edgex-device-modbus_0.0.0-20200604+d854ea6_amd64.snap [Pipeline] } 16:14:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:14:42 gofmt -l . 16:14:42 [ "`gofmt -l .`" = "" ] 16:14:42 ./bin/test-attribution-txt.sh 16:14:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:14:43 Warning: overwriting stash ‘coverage-report’ 16:14:44 Stashed 1 file(s) [Pipeline] } 16:14:44 $ docker stop --time=1 d56af0a6fcee2317e6e96b9f107a6c9b90cd0b37926c4eea8b02e39187cd0531 16:14:46 $ docker rm -f d56af0a6fcee2317e6e96b9f107a6c9b90cd0b37926c4eea8b02e39187cd0531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:47 + ls -al . 16:14:47 total 136 16:14:47 drwxrwxr-x 9 jenkins jenkins 4096 Jun 4 16:14 . 16:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 16:12 .. 16:14:47 -rw-rw-r-- 1 jenkins jenkins 140 Jun 4 16:12 .dockerignore 16:14:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 16:12 .git 16:14:47 -rw-rw-r-- 1 jenkins jenkins 330 Jun 4 16:12 .gitignore 16:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 16:12 .semver 16:14:47 -rw-rw-r-- 1 jenkins jenkins 5049 Jun 4 16:12 Attribution.txt 16:14:47 -rw-rw-r-- 1 jenkins jenkins 1422 Jun 4 16:12 Dockerfile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 954 Jun 4 16:12 Dockerfile.build 16:14:47 -rw-rw-r-- 1 jenkins jenkins 702 Jun 4 16:12 Jenkinsfile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 4 16:12 LICENSE 16:14:47 -rw-rw-r-- 1 jenkins jenkins 880 Jun 4 16:12 Makefile 16:14:47 -rw-rw-r-- 1 jenkins jenkins 591 Jun 4 16:12 README.md 16:14:47 -rw-rw-r-- 1 jenkins jenkins 5 Jun 4 16:08 VERSION 16:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 16:12 bin 16:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 16:12 cmd 16:14:47 -rw-r--r-- 1 jenkins jenkins 22123 Jun 4 16:14 coverage.out 16:14:47 -rw-r--r-- 1 jenkins jenkins 559 Jun 4 16:14 go.mod 16:14:47 -rw-r--r-- 1 jenkins jenkins 13471 Jun 4 16:14 go.sum 16:14:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 16:12 internal 16:14:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 16:12 simulator 16:14:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 16:12 snap 16:14:47 -rw-rw-r-- 1 jenkins jenkins 229 Jun 4 16:12 version.go [Pipeline] isUnix [Pipeline] sh 16:14:48 + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d854ea6d8a140c5bf000509f6a6e3e056a00f7df --label arch=arm64 --label version=0.0.0 . 16:14:48 Sending build context to Docker daemon 624.1kB 16:14:48 Step 1/19 : ARG BASE=golang:1.13-alpine 16:14:48 Step 2/19 : FROM ${BASE} AS builder 16:14:48 ---> 7460946568ab 16:14:48 Step 3/19 : ARG MAKE='make build' 16:14:48 ---> Running in d96b7467940a 16:14:49 Removing intermediate container d96b7467940a 16:14:49 ---> 13c353373201 16:14:49 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:49 ---> Running in 91c689786ff3 16:14:51 Removing intermediate container 91c689786ff3 16:14:51 ---> a44d9b602ac8 16:14:51 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:14:51 ---> Running in 1ef0e24e426a 16:14:51 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:14:52 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:14:53 OK: 203 MiB in 52 packages 16:14:54 Removing intermediate container 1ef0e24e426a 16:14:54 ---> 39f9ec81447f 16:14:54 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:14:54 ---> Running in 8465534ae37b 16:14:54 Removing intermediate container 8465534ae37b 16:14:54 ---> f55a6f8c3475 16:14:54 Step 7/19 : COPY . . 16:14:55 ---> 4d09063fe987 16:14:55 Step 8/19 : RUN ${MAKE} 16:14:55 ---> Running in 4ed1e7505a25 16:14:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:15:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:15:27 Removing intermediate container 4ed1e7505a25 16:15:27 ---> 74357b9c2191 16:15:27 Step 9/19 : FROM scratch 16:15:27 ---> 16:15:27 Step 10/19 : ENV APP_PORT=49991 16:15:27 ---> Running in ab6deadbb239 16:15:27 Removing intermediate container ab6deadbb239 16:15:27 ---> 854f1939ef92 16:15:27 Step 11/19 : EXPOSE $APP_PORT 16:15:27 ---> Running in 748a9a83437d 16:15:27 Removing intermediate container 748a9a83437d 16:15:27 ---> a9cb8a8a6009 16:15:27 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:15:28 ---> 82552a24d878 16:15:28 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:15:29 ---> 6b98ba750b2c 16:15:29 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:15:29 ---> 5de19f6ab8c8 16:15:29 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:15:29 ---> Running in 7f44f32dab8d 16:15:30 Removing intermediate container 7f44f32dab8d 16:15:30 ---> 9a380f2d2b89 16:15:30 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:15:30 ---> Running in 1ffd44713ffc 16:15:30 Removing intermediate container 1ffd44713ffc 16:15:30 ---> 9f1523cf850c 16:15:30 Step 17/19 : LABEL arch=arm64 16:15:30 ---> Running in d66c1025e410 16:15:31 Removing intermediate container d66c1025e410 16:15:31 ---> b31534f0697f 16:15:31 Step 18/19 : LABEL git_sha=d854ea6d8a140c5bf000509f6a6e3e056a00f7df 16:15:31 ---> Running in 42c91721cc3d 16:15:31 Removing intermediate container 42c91721cc3d 16:15:31 ---> dabb93430c9c 16:15:31 Step 19/19 : LABEL version=0.0.0 16:15:31 ---> Running in 35cc470e7d90 16:15:31 Removing intermediate container 35cc470e7d90 16:15:31 ---> e00908c20cd3 16:15:31 [Warning] One or more build-args [ARCH] were not consumed 16:15:31 Successfully built e00908c20cd3 16:15:31 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) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:32 + find /w/workspace/device-modbus-go/1 16:15:32 + grep snapcraft.yaml 16:15:32 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:33 provisioning config files... 16:15:33 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config8992304295089007174tmp [Pipeline] { [Pipeline] sh 16:15:33 + cp /w/workspace/device-modbus-go/1@tmp/config8992304295089007174tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 16:15:33 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:15:34 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 16:15:34 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 16:15:34 b2f61026a351: Pulling fs layer 16:15:34 5538fb30c42c: Pulling fs layer 16:15:34 f0b05810781a: Pulling fs layer 16:15:34 0180a33352d6: Pulling fs layer 16:15:34 e7604b0c0f53: Pulling fs layer 16:15:34 db689cb83ae0: Pulling fs layer 16:15:34 6138af208834: Pulling fs layer 16:15:34 007c8e8c5d63: Pulling fs layer 16:15:34 4f7a387c642f: Pulling fs layer 16:15:34 db689cb83ae0: Waiting 16:15:34 6138af208834: Waiting 16:15:34 007c8e8c5d63: Waiting 16:15:34 4f7a387c642f: Waiting 16:15:34 e7604b0c0f53: Waiting 16:15:34 0180a33352d6: Waiting 16:15:34 f0b05810781a: Verifying Checksum 16:15:34 f0b05810781a: Download complete 16:15:34 5538fb30c42c: Verifying Checksum 16:15:34 5538fb30c42c: Download complete 16:15:34 0180a33352d6: Download complete 16:15:34 db689cb83ae0: Download complete 16:15:34 6138af208834: Verifying Checksum 16:15:34 6138af208834: Download complete 16:15:34 007c8e8c5d63: Verifying Checksum 16:15:34 007c8e8c5d63: Download complete 16:15:34 4f7a387c642f: Download complete 16:15:36 b2f61026a351: Verifying Checksum 16:15:36 b2f61026a351: Download complete 16:15:38 b2f61026a351: Pull complete 16:15:39 5538fb30c42c: Pull complete 16:15:39 f0b05810781a: Pull complete 16:15:39 0180a33352d6: Pull complete 16:16:01 e7604b0c0f53: Verifying Checksum 16:16:01 e7604b0c0f53: Download complete 16:16:33 e7604b0c0f53: Pull complete 16:16:33 db689cb83ae0: Pull complete 16:16:33 6138af208834: Pull complete 16:16:33 007c8e8c5d63: Pull complete 16:16:33 4f7a387c642f: Pull complete 16:16:33 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 16:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:16:36 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:16:36 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 16:16:37 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 16:16:37 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 16:16:37 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 16:16:37 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1231 kB] 16:16:37 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 16:16:37 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [869 kB] 16:16:38 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 16:16:38 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 16:16:38 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [594 kB] 16:16:38 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [754 kB] 16:16:38 Fetched 3720 kB in 2s (1555 kB/s) 16:16:43 Reading package lists... 16:16:55 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 16:16:59 Reading package lists... 16:17:00 Building dependency tree... 16:17:00 Reading state information... 16:17:00 The following packages were automatically installed and are no longer required: 16:17:00 libjq1 liblzo2-2 libonig4 16:17:00 Use 'sudo apt autoremove' to remove them. 16:17:00 Suggested packages: 16:17:00 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:17:00 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 16:17:00 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 16:17:00 libterm-readline-gnu-perl | libterm-readline-perl-perl 16:17:01 The following NEW packages will be installed: 16:17:01 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 16:17:01 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 16:17:01 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 16:17:01 openssh-client patch perl perl-modules-5.26 xauth 16:17:01 0 upgraded, 27 newly installed, 0 to remove and 9 not upgraded. 16:17:01 Need to get 12.9 MB of archives. 16:17:01 After this operation, 84.2 MB of additional disk space will be used. 16:17:01 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 16:17:01 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 16:17:02 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 16:17:02 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 16:17:02 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 16:17:02 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 16:17:02 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 16:17:02 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:17:02 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 16:17:02 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 16:17:02 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 16:17:03 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 16:17:03 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 16:17:03 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 16:17:03 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 16:17:03 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 16:17:03 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 16:17:03 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 16:17:03 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 16:17:03 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 16:17:03 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 16:17:03 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 16:17:03 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 16:17:03 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:17:03 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 16:17:03 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 16:17:03 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 16:17:04 debconf: delaying package configuration, since apt-utils is not installed 16:17:04 Fetched 12.9 MB in 2s (6152 kB/s) 16:17:04 Selecting previously unselected package libxau6:arm64. 16:17:04 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4630 files and directories currently installed.) 16:17:04 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 16:17:04 Unpacking libxau6:arm64 (1:1.0.8-1) ... 16:17:04 Selecting previously unselected package libbsd0:arm64. 16:17:04 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 16:17:04 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 16:17:04 Selecting previously unselected package libxdmcp6:arm64. 16:17:04 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 16:17:04 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 16:17:04 Selecting previously unselected package libxcb1:arm64. 16:17:04 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 16:17:04 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 16:17:04 Selecting previously unselected package libx11-data. 16:17:04 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 16:17:04 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 16:17:05 Selecting previously unselected package libx11-6:arm64. 16:17:05 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 16:17:05 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 16:17:05 Selecting previously unselected package libxext6:arm64. 16:17:05 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 16:17:05 Unpacking libxext6:arm64 (2:1.3.3-1) ... 16:17:05 Selecting previously unselected package perl-modules-5.26. 16:17:05 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:17:05 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:17:06 Selecting previously unselected package libgdbm5:arm64. 16:17:06 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 16:17:06 Unpacking libgdbm5:arm64 (1.14.1-6) ... 16:17:07 Selecting previously unselected package libgdbm-compat4:arm64. 16:17:07 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 16:17:07 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 16:17:07 Selecting previously unselected package libperl5.26:arm64. 16:17:07 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 16:17:07 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:17:08 Selecting previously unselected package perl. 16:17:08 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 16:17:08 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:17:08 Selecting previously unselected package less. 16:17:08 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 16:17:08 Unpacking less (487-0.1) ... 16:17:08 Selecting previously unselected package libexpat1:arm64. 16:17:08 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 16:17:08 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 16:17:08 Selecting previously unselected package netbase. 16:17:09 Preparing to unpack .../14-netbase_5.4_all.deb ... 16:17:09 Unpacking netbase (5.4) ... 16:17:09 Selecting previously unselected package libedit2:arm64. 16:17:09 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 16:17:09 Unpacking libedit2:arm64 (3.1-20170329-1) ... 16:17:09 Selecting previously unselected package libssl1.0.0:arm64. 16:17:09 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 16:17:09 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 16:17:09 Selecting previously unselected package libxmuu1:arm64. 16:17:09 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 16:17:09 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 16:17:09 Selecting previously unselected package openssh-client. 16:17:09 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 16:17:09 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 16:17:09 Selecting previously unselected package xauth. 16:17:09 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 16:17:09 Unpacking xauth (1:1.0.10-1) ... 16:17:09 Selecting previously unselected package curl. 16:17:10 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 16:17:10 Unpacking curl (7.58.0-2ubuntu3.8) ... 16:17:10 Selecting previously unselected package libcurl3-gnutls:arm64. 16:17:10 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 16:17:10 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 16:17:10 Selecting previously unselected package liberror-perl. 16:17:10 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 16:17:10 Unpacking liberror-perl (0.17025-1) ... 16:17:10 Selecting previously unselected package git-man. 16:17:10 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:17:10 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:17:10 Selecting previously unselected package git. 16:17:10 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 16:17:10 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:17:12 Selecting previously unselected package make. 16:17:12 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 16:17:12 Unpacking make (4.1-9.1ubuntu1) ... 16:17:12 Selecting previously unselected package patch. 16:17:12 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 16:17:12 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:17:12 Setting up libedit2:arm64 (3.1-20170329-1) ... 16:17:12 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:17:12 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 16:17:12 Setting up less (487-0.1) ... 16:17:12 Setting up make (4.1-9.1ubuntu1) ... 16:17:12 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 16:17:13 Setting up curl (7.58.0-2ubuntu3.8) ... 16:17:13 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 16:17:13 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:17:13 Setting up libgdbm5:arm64 (1.14.1-6) ... 16:17:13 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 16:17:13 Setting up patch (2.7.6-2ubuntu1.1) ... 16:17:13 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 16:17:13 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 16:17:13 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 16:17:13 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 16:17:13 Setting up libxau6:arm64 (1:1.0.8-1) ... 16:17:13 Setting up netbase (5.4) ... 16:17:14 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:17:14 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 16:17:14 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 16:17:14 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 16:17:14 Setting up perl (5.26.1-6ubuntu0.3) ... 16:17:14 Setting up libxext6:arm64 (2:1.3.3-1) ... 16:17:14 Setting up liberror-perl (0.17025-1) ... 16:17:14 Setting up xauth (1:1.0.10-1) ... 16:17:14 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:17:14 Processing triggers for libc-bin (2.27-3ubuntu1) ... 16:17:21 curl set to automatically installed. 16:17:21 git set to automatically installed. 16:17:21 git-man set to automatically installed. 16:17:21 less set to automatically installed. 16:17:21 libbsd0 set to automatically installed. 16:17:21 libcurl3-gnutls set to automatically installed. 16:17:21 libedit2 set to automatically installed. 16:17:21 liberror-perl set to automatically installed. 16:17:21 libexpat1 set to automatically installed. 16:17:21 libgdbm-compat4 set to automatically installed. 16:17:21 libgdbm5 set to automatically installed. 16:17:21 libperl5.26 set to automatically installed. 16:17:21 libssl1.0.0 set to automatically installed. 16:17:21 libx11-6 set to automatically installed. 16:17:21 libx11-data set to automatically installed. 16:17:21 libxau6 set to automatically installed. 16:17:21 libxcb1 set to automatically installed. 16:17:21 libxdmcp6 set to automatically installed. 16:17:21 libxext6 set to automatically installed. 16:17:21 libxmuu1 set to automatically installed. 16:17:21 make set to automatically installed. 16:17:21 netbase set to automatically installed. 16:17:21 openssh-client set to automatically installed. 16:17:21 patch set to automatically installed. 16:17:21 perl set to automatically installed. 16:17:21 perl-modules-5.26 set to automatically installed. 16:17:21 xauth set to automatically installed. 16:17:21 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:17:21 Please ensure the environment is properly setup before continuing. 16:17:21 Ignore this message if the appropriate measures have already been taken 16:17:21 Pulling go 16:17:25 'device-modbus' has dependencies that need to be staged: go 16:17:25 Skipping pull go (already ran) 16:17:25 Building go 16:17:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:17:25 Dload Upload Total Spent Left Speed 16:17:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 20 93.0M 20 19.2M 0 0 28.6M 0 0:00:03 --:--:-- 0:00:03 28.6M 65 93.0M 65 60.8M 0 0 36.3M 0 0:00:02 0:00:01 0:00:01 36.3M 100 93.0M 100 93.0M 0 0 40.3M 0 0:00:02 0:00:02 --:--:-- 40.3M 16:17:28 go1.13.5.linux-arm64.tar.gz: OK 16:17:46 Staging go 16:17:48 Pulling device-modbus 16:17:52 Skipping build go (already ran) 16:17:52 Building device-modbus 16:17:52 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:17:52 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.1 16:17:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:17:52 go: downloading github.com/goburrow/modbus v0.1.0 16:17:52 go: extracting github.com/goburrow/modbus v0.1.0 16:17:52 go: downloading github.com/goburrow/serial v0.1.0 16:17:52 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.1 16:17:52 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:17:52 go: extracting github.com/goburrow/serial v0.1.0 16:17:52 go: downloading github.com/gorilla/mux v1.7.1 16:17:52 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:17:52 go: downloading gopkg.in/yaml.v2 v2.2.8 16:17:52 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:17:52 go: downloading github.com/google/uuid v1.1.1 16:17:52 go: downloading github.com/go-kit/kit v0.8.0 16:17:52 go: extracting github.com/gorilla/mux v1.7.1 16:17:53 go: extracting github.com/google/uuid v1.1.1 16:17:53 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:17:53 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:17:53 go: extracting gopkg.in/yaml.v2 v2.2.8 16:17:53 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:17:53 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:17:53 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:17:53 go: downloading github.com/BurntSushi/toml v0.3.1 16:17:53 go: downloading github.com/hashicorp/consul/api v1.1.0 16:17:53 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:17:53 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:17:53 go: downloading github.com/pelletier/go-toml v1.2.0 16:17:53 go: downloading github.com/pkg/errors v0.8.1 16:17:53 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:17:53 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:17:53 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:17:53 go: extracting github.com/BurntSushi/toml v0.3.1 16:17:53 go: extracting github.com/hashicorp/consul/api v1.1.0 16:17:53 go: extracting github.com/pkg/errors v0.8.1 16:17:53 go: extracting github.com/pelletier/go-toml v1.2.0 16:17:53 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:17:53 go: extracting github.com/go-kit/kit v0.8.0 16:17:53 go: downloading github.com/x448/float16 v0.8.4 16:17:53 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:17:53 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:17:53 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:17:53 go: downloading github.com/mitchellh/copystructure v1.0.0 16:17:53 go: extracting github.com/x448/float16 v0.8.4 16:17:53 go: downloading github.com/hashicorp/serf v0.8.2 16:17:53 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:17:53 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:17:53 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:17:53 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:17:53 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:17:53 go: extracting github.com/mitchellh/copystructure v1.0.0 16:17:53 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:17:53 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:17:53 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:17:53 go: extracting github.com/hashicorp/serf v0.8.2 16:17:53 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:17:53 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:17:53 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:17:53 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:17:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:17:53 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:17:53 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:17:53 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:17:53 go: finding github.com/edgexfoundry/device-sdk-go v1.2.1 16:17:53 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:17:53 go: finding github.com/goburrow/modbus v0.1.0 16:17:53 go: finding github.com/gorilla/mux v1.7.1 16:17:53 go: finding github.com/go-kit/kit v0.8.0 16:17:53 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:17:53 go: finding github.com/goburrow/serial v0.1.0 16:17:53 go: finding github.com/google/uuid v1.1.1 16:17:53 go: finding github.com/OneOfOne/xxhash v1.2.6 16:17:53 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.31 16:17:53 go: finding github.com/go-logfmt/logfmt v0.4.0 16:17:53 go: finding github.com/x448/float16 v0.8.4 16:17:53 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:17:53 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:17:53 go: finding gopkg.in/yaml.v2 v2.2.8 16:17:53 go: finding github.com/BurntSushi/toml v0.3.1 16:17:53 go: finding github.com/pkg/errors v0.8.1 16:17:53 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:17:53 go: finding github.com/hashicorp/consul/api v1.1.0 16:17:53 go: finding github.com/pelletier/go-toml v1.2.0 16:17:53 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:17:53 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:17:53 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:17:53 go: finding github.com/hashicorp/serf v0.8.2 16:17:53 go: finding github.com/mitchellh/mapstructure v1.1.2 16:17:53 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:17:53 go: finding github.com/mitchellh/copystructure v1.0.0 16:17:53 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:17:53 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:17:53 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:17:53 go: finding github.com/hashicorp/golang-lru v0.5.1 16:18:15 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:18:34 Skipping stage go (already ran) 16:18:34 Staging device-modbus 16:18:34 Priming go 16:18:37 Priming device-modbus 16:18:40 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:18:40 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:18:40 Determining the version from the project repo (version-script). 16:18:40 The version has been set to '0.0.0-20200604+d854ea6' 16:18:40 Snapping 'edgex-device-modbus' ... 16:18:43 16:18:43 Snapped edgex-device-modbus_0.0.0-20200604+d854ea6_arm64.snap [Pipeline] } 16:18:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 16:18:47 provisioning config files... 16:18:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-153@tmp/config1825034887886501980tmp [Pipeline] { [Pipeline] sh 16:18:47 + curl -s https://codecov.io/bash 16:18:47 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-153@tmp/config1825034887886501980tmp 16:18:47 16:18:47 _____ _ 16:18:47 / ____| | | 16:18:47 | | ___ __| | ___ ___ _____ __ 16:18:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:18:47 | |___| (_) | (_| | __/ (_| (_) \ V / 16:18:47 \_____\___/ \__,_|\___|\___\___/ \_/ 16:18:47 Bash-20200602-f809a24 16:18:47 16:18:47 16:18:47 ==> Jenkins CI detected. 16:18:47 project root: . 16:18:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:18:47 ==> Running gcov in . (disable via -X gcov) 16:18:47 ==> Python coveragepy not found 16:18:47 ==> Searching for coverage reports in: 16:18:47 + . 16:18:47 -> Found 1 reports 16:18:47 ==> Detecting git/mercurial file structure 16:18:47 ==> Reading reports 16:18:47 + ./coverage.out bytes=22123 16:18:47 ==> Appending adjustments 16:18:47 https://docs.codecov.io/docs/fixing-reports 16:18:47 + Found adjustments 16:18:47 ==> Gzipping contents 16:18:47 ==> Uploading reports 16:18:47 url: https://codecov.io 16:18:47 query: branch=PR-153&commit=d854ea6d8a140c5bf000509f6a6e3e056a00f7df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=153&job= 16:18:47 -> Pinging Codecov 16:18:47 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=PR-153&commit=d854ea6d8a140c5bf000509f6a6e3e056a00f7df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=153&job= 16:18:48 -> Uploading 16:18:48 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d854ea6d8a140c5bf000509f6a6e3e056a00f7df [Pipeline] } 16:18:48 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 16:18:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:18:50 ---> package-listing.sh 16:18:50 ++ facter osfamily 16:18:50 ++ tr '[:upper:]' '[:lower:]' 16:18:50 + OS_FAMILY=redhat 16:18:50 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-153 16:18:50 + START_PACKAGES=/tmp/packages_start.txt 16:18:50 + END_PACKAGES=/tmp/packages_end.txt 16:18:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:18:50 + PACKAGES=/tmp/packages_start.txt 16:18:50 + '[' /w/workspace/xfoundry_device-modbus-go_PR-153 ']' 16:18:50 + PACKAGES=/tmp/packages_end.txt 16:18:50 + case "${OS_FAMILY}" in 16:18:50 + rpm -qa 16:18:50 + sort 16:18:55 + '[' -f /tmp/packages_start.txt ']' 16:18:55 + '[' -f /tmp/packages_end.txt ']' 16:18:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:18:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-153 ']' 16:18:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-153/archives/ 16:18:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-153/archives/ [Pipeline] isUnix [Pipeline] sh 16:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:18:55 16:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:18:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:18:56 alpine: Pulling from edgex-lftools-log-publisher 16:18:56 c9b1b535fdd9: Pulling fs layer 16:18:56 2cc5ad85d9ab: Pulling fs layer 16:18:56 756a868c4378: Pulling fs layer 16:18:56 444b2fc9a129: Pulling fs layer 16:18:56 ea15f1150254: Pulling fs layer 16:18:56 41b27a9f41bf: Pulling fs layer 16:18:56 28c525ee5125: Pulling fs layer 16:18:56 094b1ea09ed8: Pulling fs layer 16:18:56 138eaada9080: Pulling fs layer 16:18:56 0622d0fa9048: Pulling fs layer 16:18:56 ea15f1150254: Waiting 16:18:56 41b27a9f41bf: Waiting 16:18:56 28c525ee5125: Waiting 16:18:56 094b1ea09ed8: Waiting 16:18:56 138eaada9080: Waiting 16:18:56 0622d0fa9048: Waiting 16:18:56 444b2fc9a129: Waiting 16:18:56 2cc5ad85d9ab: Verifying Checksum 16:18:56 2cc5ad85d9ab: Download complete 16:18:56 444b2fc9a129: Verifying Checksum 16:18:56 444b2fc9a129: Download complete 16:18:56 c9b1b535fdd9: Verifying Checksum 16:18:56 c9b1b535fdd9: Download complete 16:18:56 ea15f1150254: Verifying Checksum 16:18:56 ea15f1150254: Download complete 16:18:56 28c525ee5125: Verifying Checksum 16:18:56 28c525ee5125: Download complete 16:18:56 756a868c4378: Verifying Checksum 16:18:56 756a868c4378: Download complete 16:18:56 c9b1b535fdd9: Pull complete 16:18:56 138eaada9080: Download complete 16:18:56 094b1ea09ed8: Verifying Checksum 16:18:56 094b1ea09ed8: Download complete 16:18:56 0622d0fa9048: Verifying Checksum 16:18:56 0622d0fa9048: Download complete 16:18:56 2cc5ad85d9ab: Pull complete 16:18:57 41b27a9f41bf: Verifying Checksum 16:18:57 41b27a9f41bf: Download complete 16:18:59 756a868c4378: Pull complete 16:18:59 444b2fc9a129: Pull complete 16:18:59 ea15f1150254: Pull complete 16:19:02 41b27a9f41bf: Pull complete 16:19:02 28c525ee5125: Pull complete 16:19:04 094b1ea09ed8: Pull complete 16:19:04 138eaada9080: Pull complete 16:19:04 0622d0fa9048: Pull complete 16:19:04 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:19:04 prd-centos7-docker-4c-2g-1883 does not seem to be running inside a container 16:19:04 $ 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-153 -v /w/workspace/xfoundry_device-modbus-go_PR-153:/w/workspace/xfoundry_device-modbus-go_PR-153:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-153@tmp:/w/workspace/xfoundry_device-modbus-go_PR-153@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 16:19:05 $ docker top e14c6bf7a9a42db0b47d950d120c3c88298fceaeb32ea64c77b14f358ac1899e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:06 provisioning config files... 16:19:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-153@tmp/config2426910475009035748tmp [Pipeline] { [Pipeline] echo 16:19:06 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:19:06 ---> create-netrc.sh [Pipeline] echo 16:19:06 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:19:06 ---> logs-deploy.sh 16:19:06 + ARCHIVE_ARTIFACTS= 16:19:06 + LOGS_SERVER=https://logs.edgexfoundry.org 16:19:06 + '[' https://logs.edgexfoundry.org == None ']' 16:19:06 + NEXUS_URL=https://nexus.edgexfoundry.org 16:19:06 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-153/1 16:19:06 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-153/1/ 16:19:06 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-153/1 /w/workspace/xfoundry_device-modbus-go_PR-153 16:19:08 Archives upload complete. 16:19:08 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-153/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-153/1/ 16:19:08 ---> uname -a: 16:19:08 Linux e14c6bf7a9a4 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 16:19:08 16:19:08 16:19:08 ---> lscpu: 16:19:08 Architecture: x86_64 16:19:08 CPU op-mode(s): 32-bit, 64-bit 16:19:08 Byte Order: Little Endian 16:19:08 Address sizes: 40 bits physical, 48 bits virtual 16:19:08 CPU(s): 4 16:19:08 On-line CPU(s) list: 0-3 16:19:08 Thread(s) per core: 1 16:19:08 Core(s) per socket: 1 16:19:08 Socket(s): 4 16:19:08 NUMA node(s): 1 16:19:08 Vendor ID: GenuineIntel 16:19:08 CPU family: 6 16:19:08 Model: 44 16:19:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:19:08 Stepping: 1 16:19:08 CPU MHz: 2933.442 16:19:08 BogoMIPS: 5866.88 16:19:08 Virtualization: VT-x 16:19:08 Hypervisor vendor: KVM 16:19:08 Virtualization type: full 16:19:08 L1d cache: 128 KiB 16:19:08 L1i cache: 128 KiB 16:19:08 L2 cache: 16 MiB 16:19:08 L3 cache: 64 MiB 16:19:08 NUMA node0 CPU(s): 0-3 16:19:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 16:19:08 Vulnerability Meltdown: Mitigation; PTI 16:19:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:19:08 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 16:19:08 Vulnerability Spectre v2: Mitigation; Full retpoline 16:19:08 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 16:19:08 16:19:08 16:19:08 ---> nproc: 16:19:08 4 16:19:08 16:19:08 16:19:08 ---> df -h: 16:19:08 Filesystem Size Used Available Use% Mounted on 16:19:08 overlay 50.0G 6.4G 43.6G 13% / 16:19:08 tmpfs 64.0M 0 64.0M 0% /dev 16:19:08 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 16:19:08 shm 64.0M 0 64.0M 0% /dev/shm 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/resolv.conf 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hostname 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /etc/hosts 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-153@tmp 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /var/log/sa 16:19:08 /dev/vda1 50.0G 6.4G 43.6G 13% /w/workspace/xfoundry_device-modbus-go_PR-153 16:19:08 16:19:08 16:19:08 ---> free -m: 16:19:08 total used free shared buff/cache available 16:19:08 Mem: 1838 615 64 0 1158 1119 16:19:08 Swap: 1023 0 1023 16:19:08 16:19:08 16:19:08 ---> ip addr: 16:19:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:19:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:19:08 inet 127.0.0.1/8 scope host lo 16:19:08 valid_lft forever preferred_lft forever 16:19:08 6: eth0@if7: mtu 1458 qdisc noqueue state UP 16:19:08 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 16:19:08 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 16:19:08 valid_lft forever preferred_lft forever 16:19:08 16:19:08 16:19:08 ---> sar -b -r -n DEV: 16:19:08 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/04/20 _x86_64_ (4 CPU) 16:19:08 16:19:08 16:08:04 LINUX RESTART 16:19:08 16:19:08 16:09:02 tps rtps wtps bread/s bwrtn/s 16:19:08 16:10:01 10.99 0.02 10.97 0.54 2069.40 16:19:08 16:11:01 2.51 0.00 2.51 0.00 78.47 16:19:08 16:12:01 0.58 0.00 0.58 0.00 6.66 16:19:08 16:13:01 0.50 0.00 0.50 0.00 6.89 16:19:08 16:14:01 0.25 0.00 0.25 0.00 3.36 16:19:08 16:15:01 0.75 0.00 0.75 0.00 8.48 16:19:08 16:16:01 0.63 0.00 0.63 0.00 7.81 16:19:08 16:17:01 0.68 0.00 0.68 0.00 7.73 16:19:08 16:18:01 0.57 0.00 0.57 0.00 6.13 16:19:08 16:19:01 84.01 55.02 29.00 3649.98 10175.24 16:19:08 Average: 10.16 5.52 4.64 366.38 1237.61 16:19:08 16:19:08 16:09:02 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:19:08 16:10:01 112764 1769540 94.01 2620 1224280 919264 31.36 436324 1170716 20 16:19:08 16:11:01 114132 1768172 93.94 2620 1224284 896808 30.60 435460 1170036 8 16:19:08 16:12:01 113548 1768756 93.97 2620 1224296 896904 30.60 436268 1170036 8 16:19:08 16:13:01 114224 1768080 93.93 2620 1224296 896880 30.60 435976 1170036 8 16:19:08 16:14:01 114604 1767700 93.91 2620 1224304 896784 30.60 435476 1170036 8 16:19:08 16:15:01 114988 1767316 93.89 2620 1224308 896712 30.60 435224 1170036 8 16:19:08 16:16:01 123000 1759304 93.47 2620 1224312 896712 30.60 426884 1169896 8 16:19:08 16:17:01 123380 1758924 93.45 2620 1224316 896712 30.60 426808 1169896 8 16:19:08 16:18:01 123480 1758824 93.44 2620 1224324 896748 30.60 427156 1169900 8 16:19:08 16:19:01 74596 1807708 96.04 2620 1203264 1106092 37.74 513480 1108608 105640 16:19:08 Average: 112872 1769432 94.00 2620 1222198 919962 31.39 440906 1163920 10572 16:19:08 16:19:08 16:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 16:19:08 16:10:01 eth0 0.52 0.30 0.27 0.20 0.00 0.00 0.00 16:19:08 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:11:01 eth0 7.13 2.83 7.06 0.19 0.00 0.00 0.00 16:19:08 16:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:12:01 eth0 1.28 0.43 0.34 0.21 0.00 0.00 0.00 16:19:08 16:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:13:01 eth0 0.50 0.27 0.27 0.19 0.00 0.00 0.00 16:19:08 16:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:14:01 eth0 0.17 0.10 0.08 0.06 0.00 0.00 0.00 16:19:08 16:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:15:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 16:19:08 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:16:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 16:19:08 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:17:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 16:19:08 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:18:01 eth0 0.17 0.13 0.07 0.01 0.00 0.00 0.00 16:19:08 16:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:19:01 eth0 108.62 87.22 2325.26 11.26 0.00 0.00 0.00 16:19:08 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 Average: eth0 11.91 9.19 234.19 1.22 0.00 0.00 0.00 16:19:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:08 16:19:08 16:19:08 ---> sar -P ALL: 16:19:08 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 06/04/20 _x86_64_ (4 CPU) 16:19:08 16:19:08 16:08:04 LINUX RESTART 16:19:08 16:19:08 16:09:02 CPU %user %nice %system %iowait %steal %idle 16:19:08 16:10:01 all 0.22 0.00 0.09 0.00 0.00 99.68 16:19:08 16:10:01 0 0.42 0.00 0.05 0.00 0.02 99.51 16:19:08 16:10:01 1 0.12 0.00 0.10 0.00 0.00 99.78 16:19:08 16:10:01 2 0.08 0.00 0.07 0.00 0.00 99.85 16:19:08 16:10:01 3 0.22 0.00 0.14 0.00 0.00 99.64 16:19:08 16:11:01 all 0.22 0.00 0.08 0.00 0.00 99.70 16:19:08 16:11:01 0 0.53 0.00 0.12 0.00 0.00 99.35 16:19:08 16:11:01 1 0.10 0.00 0.07 0.00 0.00 99.83 16:19:08 16:11:01 2 0.12 0.00 0.05 0.00 0.00 99.83 16:19:08 16:11:01 3 0.15 0.00 0.08 0.00 0.00 99.77 16:19:08 16:12:01 all 0.11 0.00 0.04 0.00 0.00 99.85 16:19:08 16:12:01 0 0.25 0.00 0.05 0.00 0.00 99.70 16:19:08 16:12:01 1 0.05 0.00 0.05 0.00 0.00 99.90 16:19:08 16:12:01 2 0.07 0.00 0.05 0.00 0.00 99.88 16:19:08 16:12:01 3 0.07 0.00 0.05 0.00 0.00 99.88 16:19:08 16:13:01 all 0.20 0.00 0.04 0.00 0.00 99.75 16:19:08 16:13:01 0 0.57 0.00 0.02 0.00 0.00 99.42 16:19:08 16:13:01 1 0.10 0.00 0.05 0.00 0.02 99.83 16:19:08 16:13:01 2 0.05 0.00 0.03 0.00 0.00 99.92 16:19:08 16:13:01 3 0.08 0.00 0.05 0.00 0.00 99.87 16:19:08 16:14:01 all 0.19 0.00 0.05 0.00 0.00 99.77 16:19:08 16:14:01 0 0.52 0.00 0.03 0.00 0.00 99.45 16:19:08 16:14:01 1 0.08 0.00 0.07 0.00 0.00 99.85 16:19:08 16:14:01 2 0.07 0.00 0.03 0.00 0.00 99.90 16:19:08 16:14:01 3 0.10 0.00 0.05 0.00 0.00 99.85 16:19:08 16:15:01 all 0.18 0.00 0.04 0.00 0.00 99.77 16:19:08 16:15:01 0 0.03 0.00 0.03 0.00 0.00 99.93 16:19:08 16:15:01 1 0.07 0.00 0.03 0.00 0.00 99.90 16:19:08 16:15:01 2 0.55 0.00 0.05 0.00 0.02 99.38 16:19:08 16:15:01 3 0.08 0.00 0.05 0.00 0.00 99.87 16:19:08 16:16:01 all 0.18 0.00 0.04 0.00 0.00 99.78 16:19:08 16:16:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:19:08 16:16:01 1 0.03 0.00 0.03 0.00 0.00 99.93 16:19:08 16:16:01 2 0.55 0.00 0.05 0.00 0.00 99.40 16:19:08 16:16:01 3 0.05 0.00 0.03 0.00 0.02 99.90 16:19:08 16:17:01 all 0.19 0.00 0.05 0.00 0.00 99.75 16:19:08 16:17:01 0 0.05 0.00 0.05 0.00 0.00 99.90 16:19:08 16:17:01 1 0.10 0.00 0.05 0.00 0.00 99.85 16:19:08 16:17:01 2 0.53 0.00 0.05 0.00 0.00 99.42 16:19:08 16:17:01 3 0.10 0.00 0.08 0.00 0.00 99.82 16:19:08 16:18:01 all 0.18 0.00 0.03 0.00 0.00 99.80 16:19:08 16:18:01 0 0.07 0.00 0.02 0.00 0.00 99.92 16:19:08 16:18:01 1 0.48 0.00 0.03 0.00 0.00 99.48 16:19:08 16:18:01 2 0.08 0.00 0.03 0.00 0.00 99.88 16:19:08 16:18:01 3 0.08 0.00 0.02 0.00 0.00 99.90 16:19:08 16:19:01 all 3.71 0.00 1.88 1.31 0.02 93.08 16:19:08 16:19:01 0 3.79 0.00 1.97 0.83 0.00 93.40 16:19:08 16:19:01 1 3.79 0.00 1.58 0.43 0.02 94.18 16:19:08 16:19:01 2 3.57 0.00 2.19 1.85 0.03 92.36 16:19:08 16:19:01 3 3.70 0.00 1.74 2.11 0.03 92.43 16:19:08 Average: all 0.54 0.00 0.23 0.13 0.00 99.09 16:19:08 Average: 0 0.63 0.00 0.24 0.08 0.00 99.05 16:19:08 Average: 1 0.49 0.00 0.21 0.04 0.00 99.25 16:19:08 Average: 2 0.57 0.00 0.26 0.19 0.01 98.98 16:19:08 Average: 3 0.46 0.00 0.23 0.21 0.01 99.09 16:19:08 16:19:08 16:19:08