Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 62371f17efb88eab1d7e88a8351d26992f7f5366+ac842be5e75fcd5e4c012862374abb44191cceb5 (9dd9b145937c334032d573980a847fa67ea12bd0) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 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 --version # 'git version 2.16.6' > 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-208 in /w/workspace/xfoundry_device-modbus-go_PR-165 [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-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' 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/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # 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/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 Merge succeeded, producing 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 Checking out Revision 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # 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 ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 # timeout=10 Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" > git rev-list --no-walk 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:38 ========================================================= 16:52:38 EdgeX Global Pipelines Version Info 16:52:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:52:40 ------------------- 16:52:40 stable info: 16:52:40 ------------------- 16:52:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:40 Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 16:52:40 Message: update stable to v1.0.106 16:52:40 ------------------- 16:52:40 experimental info: 16:52:40 ------------------- 16:52:40 Commited By: **** collab-it+edgex@linuxfoundation.org 16:52:40 Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b 16:52:40 Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:43 + git log --format=format:%s -1 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 [Pipeline] echo 16:52:43 GIT_COMMIT: 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06, Commit Message: Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD [Pipeline] echo 16:52:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:44 16:52:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:52:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:45 latest: Pulling from edgex-devops/git-semver 16:52:45 31603596830f: Pulling fs layer 16:52:45 2a8b12db71e7: Pulling fs layer 16:52:45 6ca5941a6612: Pulling fs layer 16:52:45 ecc8261a40a4: Pulling fs layer 16:52:45 ecc8261a40a4: Waiting 16:52:45 2a8b12db71e7: Verifying Checksum 16:52:45 2a8b12db71e7: Download complete 16:52:45 31603596830f: Download complete 16:52:45 ecc8261a40a4: Verifying Checksum 16:52:45 ecc8261a40a4: Download complete 16:52:45 6ca5941a6612: Verifying Checksum 16:52:45 6ca5941a6612: Download complete 16:52:45 31603596830f: Pull complete 16:52:45 2a8b12db71e7: Pull complete 16:52:46 6ca5941a6612: Pull complete 16:52:46 ecc8261a40a4: Pull complete 16:52:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:52:46 prd-centos7-docker-4c-2g-208 does not seem to be running inside a container 16:52:46 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:52:49 $ docker top 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:52:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:49 [ssh-agent] Looking for ssh-agent implementation... 16:52:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:49 $ docker exec 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf ssh-agent 16:52:49 SSH_AUTH_SOCK=/tmp/ssh-hwzvn6UKUoay/agent.12 16:52:49 SSH_AGENT_PID=17 16:52:50 Running ssh-add (command line suppressed) 16:52:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_7430028055247896962.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_7430028055247896962.key) 16:52:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:50 + git describe --exact-match --tags HEAD 16:52:50 fatal: No names found, cannot describe anything. [Pipeline] } 16:52:50 $ docker exec --env ******** --env ******** 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf ssh-agent -k 16:52:50 unset SSH_AUTH_SOCK; 16:52:50 unset SSH_AGENT_PID; 16:52:50 echo Agent pid 17 killed; 16:52:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:52:50 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:52:50 This usually means this commit has not been tagged. [Pipeline] sshagent 16:52:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:50 [ssh-agent] Looking for ssh-agent implementation... 16:52:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:51 $ docker exec 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf ssh-agent 16:52:51 SSH_AUTH_SOCK=/tmp/ssh-HnYEVAPwiWJ8/agent.47 16:52:51 SSH_AGENT_PID=53 16:52:51 Running ssh-add (command line suppressed) 16:52:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_4205668351113808377.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_4205668351113808377.key) 16:52:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:51 + git semver init 16:52:51 # -> Open(): unable to determine branch for HEAD 16:52:51 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.git 16:52:51 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-165 16:52:51 # $SEMVER_REMOTE_NAME = origin 16:52:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:52:51 # $SEMVER_USER_NAME = edgex-jenkins 16:52:51 # $SEMVER_BRANCH = PR-165 16:52:51 # $SEMVER_TEMP = /tmp/semver-729310501 16:52:51 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:52:52 # '/tmp/semver-729310501' -> '/w/workspace/xfoundry_device-modbus-go_PR-165/.semver' 16:52:52 # -> Force: false 16:52:52 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.semver [Pipeline] } 16:52:52 $ docker exec --env ******** --env ******** 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf ssh-agent -k 16:52:52 unset SSH_AUTH_SOCK; 16:52:52 unset SSH_AGENT_PID; 16:52:52 echo Agent pid 53 killed; 16:52:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:52:53 + git semver [Pipeline] } 16:52:53 $ docker stop --time=1 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf 16:52:54 $ docker rm -f 3761ae85f836cf8e8e05fd45324360eb49c3e57d0e956128a8b5348601f7acbf [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:52:55 Stashed 25 file(s) [Pipeline] echo 16:52:55 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo 16:52:55 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [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:53:10 Still waiting to schedule task 16:53:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:53:10 Still waiting to schedule task 16:53:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:54:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-210 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 16:54:58 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 16:55:03 using credential edgex-jenkins-ssh 16:55:03 Cloning the remote Git repository 16:55:03 Cloning with configured refspecs honoured and without tags 16:55:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:55:03 > git init /w/workspace/device-modbus-go/2 # timeout=10 16:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:03 > git --version # timeout=10 16:55:03 > git --version # 'git version 2.17.1' 16:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:05 Fetching without tags 16:55:05 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 16:55:05 Merge succeeded, producing 3ef2ad40c7b82d4d7a01fc9947dfcdeeb676976d 16:55:05 Checking out Revision 3ef2ad40c7b82d4d7a01fc9947dfcdeeb676976d (PR-165) 16:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:05 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 16:55:05 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:05 > git config core.sparsecheckout # timeout=10 16:55:05 > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 16:55:05 > git remote # timeout=10 16:55:05 > git config --get remote.origin.url # timeout=10 16:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:05 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 16:55:05 > git rev-parse HEAD^{commit} # timeout=10 16:55:05 > git config core.sparsecheckout # timeout=10 16:55:05 > git checkout -f 3ef2ad40c7b82d4d7a01fc9947dfcdeeb676976d # timeout=10 16:55:10 Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" 16:55:10 > git rev-list --no-walk 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:55:11 ========================================================= 16:55:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:55:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:55:12 + 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:55:13 Running on prd-centos7-docker-4c-2g-211 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 16:55:13 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 16:55:13 Sending build context to Docker daemon 654.3kB 16:55:13 Step 1/8 : ARG BASE=golang:1.13-alpine 16:55:13 Step 2/8 : FROM ${BASE} 16:55:13 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:55:13 b538f80385f9: Pulling fs layer 16:55:13 74f711af9a0d: Pulling fs layer 16:55:13 99f96fe45779: Pulling fs layer 16:55:13 fd7a069fd194: Pulling fs layer 16:55:13 66aa3694b03b: Pulling fs layer 16:55:13 170f70906a0f: Pulling fs layer 16:55:13 ad7c5574e4b9: Pulling fs layer 16:55:13 e772456be8f7: Pulling fs layer 16:55:13 c890913d741a: Pulling fs layer 16:55:13 2480fcc9aa5a: Pulling fs layer 16:55:13 09adf4765672: Pulling fs layer 16:55:13 170f70906a0f: Waiting 16:55:13 ad7c5574e4b9: Waiting 16:55:13 e772456be8f7: Waiting 16:55:13 c890913d741a: Waiting 16:55:13 2480fcc9aa5a: Waiting 16:55:13 09adf4765672: Waiting 16:55:13 fd7a069fd194: Waiting 16:55:13 66aa3694b03b: Waiting 16:55:13 99f96fe45779: Verifying Checksum 16:55:13 99f96fe45779: Download complete 16:55:13 74f711af9a0d: Download complete 16:55:13 66aa3694b03b: Verifying Checksum 16:55:13 66aa3694b03b: Download complete 16:55:13 170f70906a0f: Download complete 16:55:14 b538f80385f9: Verifying Checksum 16:55:14 b538f80385f9: Download complete 16:55:15 b538f80385f9: Pull complete 16:55:15 74f711af9a0d: Pull complete 16:55:15 using credential edgex-jenkins-ssh 16:55:15 Cloning the remote Git repository 16:55:15 Cloning with configured refspecs honoured and without tags 16:55:16 99f96fe45779: Pull complete 16:55:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:55:15 > git init /w/workspace/device-modbus-go/2 # timeout=10 16:55:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:15 > git --version # timeout=10 16:55:15 > git --version # 'git version 2.16.5' 16:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:16 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 16:55:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:16 Fetching without tags 16:55:16 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 16:55:16 Merge succeeded, producing 7daddfdddf2801d8ffbe6d84cec22db5863d47f9 16:55:16 Checking out Revision 7daddfdddf2801d8ffbe6d84cec22db5863d47f9 (PR-165) 16:55:17 ad7c5574e4b9: Verifying Checksum 16:55:17 ad7c5574e4b9: Download complete 16:55:17 c890913d741a: Verifying Checksum 16:55:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:16 > git config core.sparsecheckout # timeout=10 16:55:16 > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 16:55:16 > git remote # timeout=10 16:55:16 > git config --get remote.origin.url # timeout=10 16:55:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:16 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 16:55:16 > git rev-parse HEAD^{commit} # timeout=10 16:55:16 > git config core.sparsecheckout # timeout=10 16:55:16 > git checkout -f 7daddfdddf2801d8ffbe6d84cec22db5863d47f9 # timeout=10 16:55:18 2480fcc9aa5a: Verifying Checksum 16:55:18 2480fcc9aa5a: Download complete 16:55:18 09adf4765672: Download complete 16:55:19 e772456be8f7: Verifying Checksum 16:55:19 e772456be8f7: Download complete 16:55:19 fd7a069fd194: Verifying Checksum 16:55:19 fd7a069fd194: Download complete 16:55:20 Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" 16:55:20 > git rev-list --no-walk 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:55:21 ========================================================= 16:55:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:55:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:55:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 16:55:22 Sending build context to Docker daemon 654.8kB 16:55:22 Step 1/8 : ARG BASE=golang:1.13-alpine 16:55:22 Step 2/8 : FROM ${BASE} 16:55:22 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:55:22 df20fa9351a1: Pulling fs layer 16:55:22 ed8968b2872e: Pulling fs layer 16:55:22 a92cc7c5fd73: Pulling fs layer 16:55:22 2dd03ba5bac4: Pulling fs layer 16:55:22 1e091d79d1de: Pulling fs layer 16:55:22 481702a1767f: Pulling fs layer 16:55:22 f64a6f60c768: Pulling fs layer 16:55:22 e78d2573fc39: Pulling fs layer 16:55:22 e876d2f968b6: Pulling fs layer 16:55:22 ce8a83651883: Pulling fs layer 16:55:22 07967f4d0e4b: Pulling fs layer 16:55:22 f64a6f60c768: Waiting 16:55:22 e78d2573fc39: Waiting 16:55:22 2dd03ba5bac4: Waiting 16:55:22 e876d2f968b6: Waiting 16:55:22 1e091d79d1de: Waiting 16:55:22 ce8a83651883: Waiting 16:55:22 07967f4d0e4b: Waiting 16:55:22 481702a1767f: Waiting 16:55:22 a92cc7c5fd73: Verifying Checksum 16:55:22 a92cc7c5fd73: Download complete 16:55:22 ed8968b2872e: Download complete 16:55:22 1e091d79d1de: Verifying Checksum 16:55:22 1e091d79d1de: Download complete 16:55:22 481702a1767f: Verifying Checksum 16:55:22 481702a1767f: Download complete 16:55:22 df20fa9351a1: Download complete 16:55:23 df20fa9351a1: Pull complete 16:55:23 f64a6f60c768: Verifying Checksum 16:55:23 f64a6f60c768: Download complete 16:55:23 e876d2f968b6: Verifying Checksum 16:55:23 e876d2f968b6: Download complete 16:55:24 2dd03ba5bac4: Verifying Checksum 16:55:24 2dd03ba5bac4: Download complete 16:55:24 ce8a83651883: Verifying Checksum 16:55:24 ce8a83651883: Download complete 16:55:24 e78d2573fc39: Verifying Checksum 16:55:24 e78d2573fc39: Download complete 16:55:24 07967f4d0e4b: Verifying Checksum 16:55:24 07967f4d0e4b: Download complete 16:55:25 ed8968b2872e: Pull complete 16:55:25 a92cc7c5fd73: Pull complete 16:55:32 fd7a069fd194: Pull complete 16:55:32 66aa3694b03b: Pull complete 16:55:32 170f70906a0f: Pull complete 16:55:32 2dd03ba5bac4: Pull complete 16:55:32 1e091d79d1de: Pull complete 16:55:32 481702a1767f: Pull complete 16:55:35 ad7c5574e4b9: Pull complete 16:55:36 f64a6f60c768: Pull complete 16:55:39 e78d2573fc39: Pull complete 16:55:39 e876d2f968b6: Pull complete 16:55:39 e772456be8f7: Pull complete 16:55:40 c890913d741a: Pull complete 16:55:40 ce8a83651883: Pull complete 16:55:40 07967f4d0e4b: Pull complete 16:55:40 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 16:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:55:40 ---> 5d7c900382c6 16:55:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:55:41 ---> Running in 1570c1756275 16:55:41 Removing intermediate container 1570c1756275 16:55:41 ---> 2bae09c57425 16:55:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:41 ---> Running in 8f6333071abd 16:55:42 2480fcc9aa5a: Pull complete 16:55:43 09adf4765672: Pull complete 16:55:43 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 16:55:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:55:43 ---> 2248a725d1cf 16:55:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:55:43 Removing intermediate container 8f6333071abd 16:55:43 ---> 4c3d54cf21cb 16:55:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:55:43 ---> Running in d9c3a2e2be49 16:55:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:55:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:55:45 (1/14) Installing libmagic (5.38-r0) 16:55:45 (2/14) Installing file (5.38-r0) 16:55:45 (3/14) Installing libc-dev (0.7.2-r3) 16:55:45 (4/14) Installing g++ (9.3.0-r2) 16:55:48 ---> Running in 5d7c271b91cf 16:55:48 Removing intermediate container 5d7c271b91cf 16:55:48 ---> d7574ff7b080 16:55:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:48 ---> Running in 8cae00a5b5a3 16:55:49 (5/14) Installing fortify-headers (1.1-r0) 16:55:49 (6/14) Installing patch (2.7.6-r6) 16:55:49 (7/14) Installing build-base (0.5-r2) 16:55:49 (8/14) Installing openssh-keygen (8.3_p1-r0) 16:55:49 (9/14) Installing libedit (20191231.3.1-r0) 16:55:49 (10/14) Installing openssh-client (8.3_p1-r0) 16:55:50 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 16:55:50 (12/14) Installing openssh-server-common (8.3_p1-r0) 16:55:50 (13/14) Installing openssh-server (8.3_p1-r0) 16:55:50 (14/14) Installing openssh (8.3_p1-r0) 16:55:50 Executing busybox-1.31.1-r16.trigger 16:55:50 OK: 237 MiB in 53 packages 16:55:51 Removing intermediate container 8cae00a5b5a3 16:55:51 ---> f28be97ea46c 16:55:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:55:51 ---> Running in 3074d37e6c70 16:55:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:55:53 Removing intermediate container d9c3a2e2be49 16:55:53 ---> 136bb5a52ac6 16:55:53 Step 6/8 : WORKDIR /device-modbus-go 16:55:53 ---> Running in a4a6274b664e 16:55:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:55:54 Removing intermediate container a4a6274b664e 16:55:54 ---> fc084a9b27ef 16:55:54 Step 7/8 : COPY . . 16:55:54 (1/14) Installing libmagic (5.38-r0) 16:55:54 (2/14) Installing file (5.38-r0) 16:55:54 (3/14) Installing libc-dev (0.7.2-r3) 16:55:54 (4/14) Installing g++ (9.3.0-r2) 16:55:54 ---> 86a28d18ab40 16:55:54 Step 8/8 : RUN go mod download 16:55:54 ---> Running in f49b3e4c8e06 16:55:57 go: finding github.com/BurntSushi/toml v0.3.1 16:55:57 go: finding github.com/OneOfOne/xxhash v1.2.6 16:55:57 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:55:57 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:55:57 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:55:57 go: finding github.com/bgentry/speakeasy v0.1.0 16:55:57 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:55:57 go: finding github.com/davecgh/go-spew v1.1.1 16:55:57 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:55:57 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:55:57 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:55:57 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:55:57 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:55:57 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:55:57 go: finding github.com/fatih/color v1.7.0 16:55:57 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:55:58 go: finding github.com/go-kit/kit v0.8.0 16:55:58 go: finding github.com/go-logfmt/logfmt v0.4.0 16:55:58 go: finding github.com/go-stack/stack v1.8.0 16:55:58 go: finding github.com/goburrow/modbus v0.1.0 16:55:58 go: finding github.com/goburrow/serial v0.1.0 16:55:58 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:55:58 go: finding github.com/google/uuid v1.1.1 16:55:58 go: finding github.com/gorilla/mux v1.7.1 16:55:58 go: finding github.com/hashicorp/consul/api v1.1.0 16:55:58 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:55:58 go: finding github.com/hashicorp/errwrap v1.0.0 16:55:58 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:55:58 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:55:58 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:55:58 go: finding github.com/hashicorp/go-multierror v1.0.0 16:55:58 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:55:58 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:55:58 go: finding github.com/hashicorp/go-syslog v1.0.0 16:55:58 go: finding github.com/hashicorp/go-uuid v1.0.1 16:55:58 go: finding github.com/hashicorp/go.net v0.0.1 16:55:58 go: finding github.com/hashicorp/golang-lru v0.5.1 16:55:58 go: finding github.com/hashicorp/logutils v1.0.0 16:55:58 go: finding github.com/hashicorp/mdns v1.0.0 16:55:58 go: finding github.com/hashicorp/memberlist v0.1.3 16:55:59 go: finding github.com/hashicorp/serf v0.8.2 16:55:59 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:55:59 go: finding github.com/mattn/go-colorable v0.0.9 16:55:59 go: finding github.com/mattn/go-isatty v0.0.3 16:55:59 go: finding github.com/miekg/dns v1.1.4 16:55:59 go: finding github.com/mitchellh/cli v1.0.0 16:55:59 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:55:59 go: finding github.com/mitchellh/copystructure v1.0.0 16:55:59 go: finding github.com/mitchellh/go-homedir v1.1.0 16:55:59 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:55:59 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:55:59 go: finding github.com/mitchellh/gox v0.4.0 16:55:59 go: finding github.com/mitchellh/iochan v1.0.0 16:55:59 go: finding github.com/mitchellh/mapstructure v1.1.2 16:55:59 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:55:59 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:55:59 go: finding github.com/pelletier/go-toml v1.2.0 16:55:59 go: finding github.com/pkg/errors v0.8.1 16:55:59 go: finding github.com/pmezard/go-difflib v1.0.0 16:55:59 go: finding github.com/posener/complete v1.1.1 16:55:59 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:55:59 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:55:59 go: finding github.com/stretchr/objx v0.1.0 16:55:59 go: finding github.com/stretchr/testify v1.5.1 16:55:59 go: finding github.com/ugorji/go v1.1.4 16:56:00 go: finding github.com/x448/float16 v0.8.4 16:56:00 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:56:00 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:56:00 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:56:00 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:56:00 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:56:00 (5/14) Installing fortify-headers (1.1-r0) 16:56:00 (6/14) Installing patch (2.7.6-r6) 16:56:00 (7/14) Installing build-base (0.5-r2) 16:56:00 (8/14) Installing openssh-keygen (8.3_p1-r0) 16:56:00 (9/14) Installing libedit (20191231.3.1-r0) 16:56:00 (10/14) Installing openssh-client (8.3_p1-r0) 16:56:00 go: finding gopkg.in/yaml.v2 v2.2.8 16:56:00 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 16:56:00 (12/14) Installing openssh-server-common (8.3_p1-r0) 16:56:00 (13/14) Installing openssh-server (8.3_p1-r0) 16:56:00 (14/14) Installing openssh (8.3_p1-r0) 16:56:01 Executing busybox-1.31.1-r16.trigger 16:56:01 OK: 221 MiB in 53 packages 16:56:05 Removing intermediate container 3074d37e6c70 16:56:05 ---> e6953bdabaed 16:56:05 Step 6/8 : WORKDIR /device-modbus-go 16:56:05 ---> Running in 3d250934706d 16:56:06 Removing intermediate container 3d250934706d 16:56:06 ---> 82c422a1b664 16:56:06 Step 7/8 : COPY . . 16:56:07 ---> 40c1a144cacc 16:56:07 Step 8/8 : RUN go mod download 16:56:07 ---> Running in 531ccf85d25f 16:56:10 Removing intermediate container f49b3e4c8e06 16:56:10 ---> 78734a703b6c 16:56:10 Successfully built 78734a703b6c 16:56:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 16:56:10 go: finding github.com/BurntSushi/toml v0.3.1 16:56:10 go: finding github.com/OneOfOne/xxhash v1.2.6 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:56:11 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:56:11 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:56:11 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:56:11 go: finding github.com/bgentry/speakeasy v0.1.0 16:56:11 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:56:11 go: finding github.com/davecgh/go-spew v1.1.1 16:56:11 + docker inspect -f . ci-base-image-x86_64 16:56:11 . [Pipeline] withDockerContainer 16:56:11 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:56:11 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:56:11 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:56:11 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:56:11 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:56:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:56:11 go: finding github.com/fatih/color v1.7.0 16:56:11 prd-centos7-docker-4c-2g-211 does not seem to be running inside a container 16:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:56:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:56:11 go: finding github.com/go-kit/kit v0.8.0 16:56:11 go: finding github.com/go-logfmt/logfmt v0.4.0 16:56:11 go: finding github.com/go-stack/stack v1.8.0 16:56:11 go: finding github.com/goburrow/modbus v0.1.0 16:56:11 go: finding github.com/goburrow/serial v0.1.0 16:56:11 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:56:11 go: finding github.com/google/uuid v1.1.1 16:56:11 go: finding github.com/gorilla/mux v1.7.1 16:56:11 go: finding github.com/hashicorp/consul/api v1.1.0 16:56:11 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:56:11 go: finding github.com/hashicorp/errwrap v1.0.0 16:56:12 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:56:12 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:56:12 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:56:12 go: finding github.com/hashicorp/go-multierror v1.0.0 16:56:12 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:56:12 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:56:12 go: finding github.com/hashicorp/go-syslog v1.0.0 16:56:12 go: finding github.com/hashicorp/go-uuid v1.0.1 16:56:12 go: finding github.com/hashicorp/go.net v0.0.1 16:56:12 go: finding github.com/hashicorp/golang-lru v0.5.1 16:56:12 go: finding github.com/hashicorp/logutils v1.0.0 16:56:12 go: finding github.com/hashicorp/mdns v1.0.0 16:56:12 go: finding github.com/hashicorp/memberlist v0.1.3 16:56:12 go: finding github.com/hashicorp/serf v0.8.2 16:56:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:56:12 go: finding github.com/mattn/go-colorable v0.0.9 16:56:12 go: finding github.com/mattn/go-isatty v0.0.3 16:56:12 go: finding github.com/miekg/dns v1.1.4 16:56:12 go: finding github.com/mitchellh/cli v1.0.0 16:56:12 $ docker top 18172ca6817e8de261c7cadbae146baafdd14f65c32603538d016a0cdb30b045 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:56:12 go: finding github.com/mitchellh/copystructure v1.0.0 16:56:12 go: finding github.com/mitchellh/go-homedir v1.1.0 16:56:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:56:12 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:56:12 go: finding github.com/mitchellh/gox v0.4.0 16:56:13 go: finding github.com/mitchellh/iochan v1.0.0 16:56:13 go: finding github.com/mitchellh/mapstructure v1.1.2 16:56:13 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:56:13 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:56:13 go: finding github.com/pelletier/go-toml v1.2.0 16:56:13 go: finding github.com/pkg/errors v0.8.1 16:56:13 go: finding github.com/pmezard/go-difflib v1.0.0 16:56:13 + go version 16:56:13 go version go1.13.13 linux/amd64 [Pipeline] sh 16:56:13 go: finding github.com/posener/complete v1.1.1 16:56:13 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:56:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:56:13 go: finding github.com/stretchr/objx v0.1.0 16:56:13 go: finding github.com/stretchr/testify v1.5.1 16:56:13 go: finding github.com/ugorji/go v1.1.4 16:56:13 + make test 16:56:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:56:13 go: finding github.com/x448/float16 v0.8.4 16:56:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:56:13 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:56:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:56:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:56:14 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:56:14 go: finding gopkg.in/yaml.v2 v2.2.8 16:56:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:56:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:56:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.244s coverage: 50.3% of statements 16:56:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:56:24 Removing intermediate container 531ccf85d25f 16:56:24 ---> abe156601111 16:56:24 Successfully built abe156601111 16:56:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:56:24 + docker inspect -f . ci-base-image-arm64 16:56:24 . [Pipeline] withDockerContainer 16:56:25 prd-ubuntu18.04-docker-arm64-4c-16g-210 does not seem to be running inside a container 16:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:56:25 gofmt -l . 16:56:25 [ "`gofmt -l .`" = "" ] 16:56:25 ./bin/test-attribution-txt.sh 16:56:26 ./bin/test-go-mod-tidy.sh 16:56:27 $ docker top 85cdf1d029e84fa0d10e9e4eb1b229d4d9b305f94f1fe59f8a8c9295f39eece9 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 16:56:27 Stashed 1 file(s) [Pipeline] } 16:56:27 $ docker stop --time=1 18172ca6817e8de261c7cadbae146baafdd14f65c32603538d016a0cdb30b045 16:56:28 + go version 16:56:28 go version go1.13.13 linux/arm64 16:56:29 $ docker rm -f 18172ca6817e8de261c7cadbae146baafdd14f65c32603538d016a0cdb30b045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:56:31 + make test 16:56:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:56:32 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] sh 16:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:56:33 + ls -al . 16:56:33 total 104 16:56:33 drwxrwxr-x. 10 jenkins jenkins 4096 Aug 24 16:56 . 16:56:33 drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 16:55 .. 16:56:33 -rw-rw-r--. 1 jenkins jenkins 4434 Aug 24 16:55 Attribution.txt 16:56:33 drwxrwxr-x. 2 jenkins jenkins 87 Aug 24 16:55 bin 16:56:33 drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 16:55 cmd 16:56:33 -rw-r--r--. 1 jenkins jenkins 22364 Aug 24 16:56 coverage.out 16:56:33 -rw-rw-r--. 1 jenkins jenkins 1422 Aug 24 16:55 Dockerfile 16:56:33 -rw-rw-r--. 1 jenkins jenkins 954 Aug 24 16:55 Dockerfile.build 16:56:33 -rw-rw-r--. 1 jenkins jenkins 140 Aug 24 16:55 .dockerignore 16:56:33 drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 16:55 .git 16:56:33 drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 16:55 .github 16:56:33 -rw-rw-r--. 1 jenkins jenkins 330 Aug 24 16:55 .gitignore 16:56:33 -rw-r--r--. 1 jenkins jenkins 559 Aug 24 16:56 go.mod 16:56:33 -rw-r--r--. 1 jenkins jenkins 13471 Aug 24 16:56 go.sum 16:56:33 drwxrwxr-x. 3 jenkins jenkins 20 Aug 24 16:55 internal 16:56:33 -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 16:55 Jenkinsfile 16:56:33 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 16:55 LICENSE 16:56:33 -rw-rw-r--. 1 jenkins jenkins 880 Aug 24 16:55 Makefile 16:56:33 -rw-rw-r--. 1 jenkins jenkins 591 Aug 24 16:55 README.md 16:56:33 drwxrwxr-x. 3 jenkins jenkins 58 Aug 24 16:55 .semver 16:56:33 drwxrwxr-x. 2 jenkins jenkins 35 Aug 24 16:55 simulator 16:56:33 drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 16:55 snap 16:56:33 -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 16:52 VERSION 16:56:33 -rw-rw-r--. 1 jenkins jenkins 229 Aug 24 16:55 version.go [Pipeline] isUnix [Pipeline] sh 16:56:33 + 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=4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 --label arch=amd64 --label version=0.0.0 . 16:56:33 Sending build context to Docker daemon 686.1kB 16:56:33 Step 1/19 : ARG BASE=golang:1.13-alpine 16:56:33 Step 2/19 : FROM ${BASE} AS builder 16:56:33 ---> 78734a703b6c 16:56:33 Step 3/19 : ARG MAKE='make build' 16:56:33 ---> Running in be5cc3409d1e 16:56:34 Removing intermediate container be5cc3409d1e 16:56:34 ---> 4c04c7808060 16:56:34 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:34 ---> Running in 689d448cd6de 16:56:35 Removing intermediate container 689d448cd6de 16:56:35 ---> eaa323ca2a4a 16:56:35 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:56:35 ---> Running in 937a7b209c88 16:56:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:56:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:56:37 OK: 237 MiB in 53 packages 16:56:37 Removing intermediate container 937a7b209c88 16:56:37 ---> cbb83ed06129 16:56:37 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:56:37 ---> Running in 4c309152fd48 16:56:37 Removing intermediate container 4c309152fd48 16:56:37 ---> 23490960b4e9 16:56:37 Step 7/19 : COPY . . 16:56:38 ---> 3aa6aa5a45b0 16:56:38 Step 8/19 : RUN ${MAKE} 16:56:38 ---> Running in 8f6003f550c2 16:56:39 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:56:47 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:56:50 Removing intermediate container 8f6003f550c2 16:56:50 ---> af5e89db0036 16:56:50 Step 9/19 : FROM scratch 16:56:50 ---> 16:56:50 Step 10/19 : ENV APP_PORT=49991 16:56:50 ---> Running in 0f089e70905f 16:56:50 Removing intermediate container 0f089e70905f 16:56:50 ---> 3f822c481138 16:56:50 Step 11/19 : EXPOSE $APP_PORT 16:56:50 ---> Running in effa267e66f4 16:56:50 Removing intermediate container effa267e66f4 16:56:50 ---> 02cc5fff4bb7 16:56:50 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:56:51 ---> 616fe23a9fdc 16:56:51 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:56:51 ---> 01d54b8f5bb9 16:56:51 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:56:51 ---> dfaacb0cd793 16:56:51 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:56:51 ---> Running in 240c9c2658f4 16:56:51 Removing intermediate container 240c9c2658f4 16:56:51 ---> 95f5e9df1896 16:56:51 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:56:52 ---> Running in 8f47495281ca 16:56:52 Removing intermediate container 8f47495281ca 16:56:52 ---> 455f47645d51 16:56:52 Step 17/19 : LABEL arch=amd64 16:56:52 ---> Running in d34a85523e22 16:56:52 Removing intermediate container d34a85523e22 16:56:52 ---> 11099c44899c 16:56:52 Step 18/19 : LABEL git_sha=4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 16:56:52 ---> Running in 7b24adac1962 16:56:52 Removing intermediate container 7b24adac1962 16:56:52 ---> 788470550573 16:56:52 Step 19/19 : LABEL version=0.0.0 16:56:52 ---> Running in 3ceae70201c4 16:56:53 Removing intermediate container 3ceae70201c4 16:56:53 ---> d78c60df350e 16:56:53 [Warning] One or more build-args [ARCH] were not consumed 16:56:53 Successfully built d78c60df350e 16:56:53 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:56:54 ++ find /w/workspace/device-modbus-go/2 16:56:54 ++ grep snapcraft.yaml 16:56:54 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:54 provisioning config files... 16:56:54 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config4687499338777041718tmp [Pipeline] { [Pipeline] sh 16:56:54 + cp /w/workspace/device-modbus-go/2@tmp/config4687499338777041718tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 16:56:55 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/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:56:55 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 16:56:55 latest: Pulling from edgex-devops/edgex-snap-builder 16:56:55 f08d8e2a3ba1: Pulling fs layer 16:56:55 3baa9cb2483b: Pulling fs layer 16:56:55 94e5ff4c0b15: Pulling fs layer 16:56:55 1860925334f9: Pulling fs layer 16:56:55 59c17e3da0e4: Pulling fs layer 16:56:55 7daec384fcf6: Pulling fs layer 16:56:55 7a29a85643c4: Pulling fs layer 16:56:55 94438e9460a9: Pulling fs layer 16:56:55 812cffafd64f: Pulling fs layer 16:56:55 7daec384fcf6: Waiting 16:56:55 7a29a85643c4: Waiting 16:56:55 94438e9460a9: Waiting 16:56:55 812cffafd64f: Waiting 16:56:55 1860925334f9: Waiting 16:56:55 59c17e3da0e4: Waiting 16:56:55 94e5ff4c0b15: Verifying Checksum 16:56:55 94e5ff4c0b15: Download complete 16:56:55 3baa9cb2483b: Verifying Checksum 16:56:55 3baa9cb2483b: Download complete 16:56:55 1860925334f9: Verifying Checksum 16:56:55 1860925334f9: Download complete 16:56:55 7daec384fcf6: Verifying Checksum 16:56:55 7daec384fcf6: Download complete 16:56:55 7a29a85643c4: Verifying Checksum 16:56:55 7a29a85643c4: Download complete 16:56:55 94438e9460a9: Verifying Checksum 16:56:55 94438e9460a9: Download complete 16:56:55 812cffafd64f: Verifying Checksum 16:56:55 812cffafd64f: Download complete 16:56:55 f08d8e2a3ba1: Verifying Checksum 16:56:55 f08d8e2a3ba1: Download complete 16:56:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:57:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.312s coverage: 50.3% of statements 16:57:00 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:57:00 59c17e3da0e4: Download complete 16:57:00 f08d8e2a3ba1: Pull complete 16:57:01 3baa9cb2483b: Pull complete 16:57:01 94e5ff4c0b15: Pull complete 16:57:01 1860925334f9: Pull complete 16:57:07 gofmt -l . 16:57:07 [ "`gofmt -l .`" = "" ] 16:57:07 ./bin/test-attribution-txt.sh 16:57:07 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:57:07 Warning: overwriting stash ‘coverage-report’ 16:57:08 Stashed 1 file(s) [Pipeline] } 16:57:08 $ docker stop --time=1 85cdf1d029e84fa0d10e9e4eb1b229d4d9b305f94f1fe59f8a8c9295f39eece9 16:57:10 $ docker rm -f 85cdf1d029e84fa0d10e9e4eb1b229d4d9b305f94f1fe59f8a8c9295f39eece9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:12 + ls -al . 16:57:12 total 140 16:57:12 drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 16:57 . 16:57:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 16:55 .. 16:57:12 -rw-rw-r-- 1 jenkins jenkins 140 Aug 24 16:55 .dockerignore 16:57:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 16:55 .git 16:57:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:55 .github 16:57:12 -rw-rw-r-- 1 jenkins jenkins 330 Aug 24 16:55 .gitignore 16:57:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:55 .semver 16:57:12 -rw-rw-r-- 1 jenkins jenkins 4434 Aug 24 16:55 Attribution.txt 16:57:12 -rw-rw-r-- 1 jenkins jenkins 1422 Aug 24 16:55 Dockerfile 16:57:12 -rw-rw-r-- 1 jenkins jenkins 954 Aug 24 16:55 Dockerfile.build 16:57:12 -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 16:55 Jenkinsfile 16:57:12 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 16:55 LICENSE 16:57:12 -rw-rw-r-- 1 jenkins jenkins 880 Aug 24 16:55 Makefile 16:57:12 -rw-rw-r-- 1 jenkins jenkins 591 Aug 24 16:55 README.md 16:57:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 16:52 VERSION 16:57:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:55 bin 16:57:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:55 cmd 16:57:12 -rw-r--r-- 1 jenkins jenkins 22364 Aug 24 16:57 coverage.out 16:57:12 -rw-r--r-- 1 jenkins jenkins 559 Aug 24 16:57 go.mod 16:57:12 -rw-r--r-- 1 jenkins jenkins 13471 Aug 24 16:57 go.sum 16:57:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:55 internal 16:57:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:55 simulator 16:57:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 16:55 snap 16:57:12 -rw-rw-r-- 1 jenkins jenkins 229 Aug 24 16:55 version.go [Pipeline] isUnix [Pipeline] sh 16:57:12 + 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=4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 --label arch=arm64 --label version=0.0.0 . 16:57:12 Sending build context to Docker daemon 685.6kB 16:57:12 Step 1/19 : ARG BASE=golang:1.13-alpine 16:57:12 Step 2/19 : FROM ${BASE} AS builder 16:57:12 ---> abe156601111 16:57:12 Step 3/19 : ARG MAKE='make build' 16:57:13 ---> Running in 403af71c3279 16:57:13 Removing intermediate container 403af71c3279 16:57:13 ---> 02f9308dd26a 16:57:13 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:13 ---> Running in a2ed7f5ae408 16:57:16 Removing intermediate container a2ed7f5ae408 16:57:16 ---> dbba9793326f 16:57:16 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:57:16 ---> Running in 9d727a1b4f6d 16:57:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:57:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:57:19 OK: 221 MiB in 53 packages 16:57:20 Removing intermediate container 9d727a1b4f6d 16:57:20 ---> 31d8467b0dbb 16:57:20 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:57:20 ---> Running in 3c215e0ef79a 16:57:21 Removing intermediate container 3c215e0ef79a 16:57:21 ---> f60c3a661c5a 16:57:21 Step 7/19 : COPY . . 16:57:22 ---> 4f489781802e 16:57:22 Step 8/19 : RUN ${MAKE} 16:57:22 ---> Running in 067cf2a5bac7 16:57:23 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:57:33 59c17e3da0e4: Pull complete 16:57:33 7daec384fcf6: Pull complete 16:57:33 7a29a85643c4: Pull complete 16:57:33 94438e9460a9: Pull complete 16:57:33 812cffafd64f: Pull complete 16:57:33 Digest: sha256:af8a54c7bc77af20a24fc779da6a179edb230b027a9915447f6ddb0093e77608 16:57:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:57:35 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 16:57:35 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 16:57:35 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 16:57:36 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 16:57:36 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1044 kB] 16:57:36 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1417 kB] 16:57:36 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1341 kB] 16:57:37 Fetched 4054 kB in 1s (2859 kB/s) 16:57:38 Reading package lists... 16:57:42 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 16:57:42 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 16:57:42 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 16:57:42 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 16:57:44 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 52% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:57:46 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 16:57:48 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 51% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:57:48 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 60% Building dependency tree 16:57:48 Reading state information... 0% Reading state information... 0% Reading state information... Done 16:57:48 The following packages were automatically installed and are no longer required: 16:57:48 libjq1 libonig4 16:57:48 Use 'sudo apt autoremove' to remove them. 16:57:48 Suggested packages: 16:57:48 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:57:48 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 16:57:48 diffutils-doc perl-doc libterm-readline-gnu-perl 16:57:48 | libterm-readline-perl-perl 16:57:48 The following NEW packages will be installed: 16:57:48 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 16:57:48 libperl5.26 make netbase patch perl perl-modules-5.26 16:57:48 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 16:57:48 Need to get 12.0 MB of archives. 16:57:48 After this operation, 77.5 MB of additional disk space will be used. 16:57:49 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:57:49 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 658 kB/2763 kB 24%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 16:57:49 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 16:57:49 21% [3 libgdbm-compat4 6084 B/6084 B 100%] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 16:57:49 23% [4 libperl5.26 41.0 kB/3527 kB 1%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 16:57:49 48% [5 perl 60.4 kB/201 kB 30%] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 16:57:49 51% [6 less 65.5 kB/112 kB 59%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 16:57:49 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 16:57:49 55% [8 curl 58.5 kB/159 kB 37%] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 16:57:49 57% [9 libcurl3-gnutls 36.9 kB/213 kB 17%] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 16:57:49 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:57:50 61% [11 git-man 29.5 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 16:57:50 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 16:57:50 96% [13 make 31.0 kB/154 kB 20%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 16:57:50 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9054 kB/s) 16:57:50 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:57:50 debconf: delaying package configuration, since apt-utils is not installed 16:57:50 Selecting previously unselected package perl-modules-5.26. 16:57:50 (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 ... 9889 files and directories currently installed.) 16:57:50 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:57:50 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:57:52 Removing intermediate container 067cf2a5bac7 16:57:52 ---> 9bb1d23b71c5 16:57:52 Step 9/19 : FROM scratch 16:57:52 ---> 16:57:52 Step 10/19 : ENV APP_PORT=49991 16:57:53 ---> Running in b28d54c110ce 16:57:53 Removing intermediate container b28d54c110ce 16:57:53 ---> 0bbe529e887b 16:57:53 Step 11/19 : EXPOSE $APP_PORT 16:57:53 ---> Running in 22e88ce547e5 16:57:54 Removing intermediate container 22e88ce547e5 16:57:54 ---> aaf187ef02bf 16:57:54 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:57:54 Selecting previously unselected package libgdbm5:amd64. 16:57:54 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 16:57:54 Unpacking libgdbm5:amd64 (1.14.1-6) ... 16:57:54 Selecting previously unselected package libgdbm-compat4:amd64. 16:57:54 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 16:57:54 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 16:57:54 Selecting previously unselected package libperl5.26:amd64. 16:57:54 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 16:57:54 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:57:55 ---> 1e1a3a591c45 16:57:55 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:57:55 Selecting previously unselected package perl. 16:57:55 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 16:57:55 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:57:55 Selecting previously unselected package less. 16:57:55 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 16:57:55 Unpacking less (487-0.1) ... 16:57:55 Selecting previously unselected package netbase. 16:57:55 Preparing to unpack .../06-netbase_5.4_all.deb ... 16:57:55 Unpacking netbase (5.4) ... 16:57:55 Selecting previously unselected package curl. 16:57:55 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 16:57:55 Unpacking curl (7.58.0-2ubuntu3.10) ... 16:57:55 Selecting previously unselected package libcurl3-gnutls:amd64. 16:57:55 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 16:57:55 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 16:57:55 Selecting previously unselected package liberror-perl. 16:57:55 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 16:57:55 Unpacking liberror-perl (0.17025-1) ... 16:57:56 Selecting previously unselected package git-man. 16:57:56 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:57:56 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:57:56 Selecting previously unselected package git. 16:57:56 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 16:57:56 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:57:56 ---> f0d0eb752d66 16:57:56 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:57:56 ---> de82d2b3e2af 16:57:56 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:57:56 ---> Running in 2b6b15fe8cba 16:57:56 Selecting previously unselected package make. 16:57:56 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 16:57:56 Unpacking make (4.1-9.1ubuntu1) ... 16:57:56 Selecting previously unselected package patch. 16:57:56 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 16:57:56 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:57:56 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:57:56 Setting up less (487-0.1) ... 16:57:57 Setting up make (4.1-9.1ubuntu1) ... 16:57:57 Setting up curl (7.58.0-2ubuntu3.10) ... 16:57:57 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 16:57:57 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:57:57 Setting up libgdbm5:amd64 (1.14.1-6) ... 16:57:57 Setting up patch (2.7.6-2ubuntu1.1) ... 16:57:57 Removing intermediate container 2b6b15fe8cba 16:57:57 ---> 709d71b71520 16:57:57 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:57:57 ---> Running in ea1a64db096b 16:57:57 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 16:57:57 Setting up netbase (5.4) ... 16:57:57 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:57:57 Setting up perl (5.26.1-6ubuntu0.3) ... 16:57:57 Setting up liberror-perl (0.17025-1) ... 16:57:57 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:57:57 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 16:57:57 Processing triggers for mime-support (3.60ubuntu1) ... 16:57:57 Removing intermediate container ea1a64db096b 16:57:57 ---> db043f7ba267 16:57:57 Step 17/19 : LABEL arch=arm64 16:57:57 ---> Running in c7f48347831b 16:57:58 Removing intermediate container c7f48347831b 16:57:58 ---> 9a0e2de4cc8d 16:57:58 Step 18/19 : LABEL git_sha=4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 16:57:58 ---> Running in 1dc8fbb6a3ee 16:57:58 Removing intermediate container 1dc8fbb6a3ee 16:57:58 ---> a0ef108545d9 16:57:58 Step 19/19 : LABEL version=0.0.0 16:57:58 ---> Running in 533340140b1a 16:57:59 Removing intermediate container 533340140b1a 16:57:59 ---> 2f7596129235 16:57:59 [Warning] One or more build-args [ARCH] were not consumed 16:57:59 Successfully built 2f7596129235 16:57:59 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:57:59 curl set to automatically installed. 16:57:59 git set to automatically installed. 16:57:59 git-man set to automatically installed. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 16:57:59 less set to automatically installed. 16:57:59 libcurl3-gnutls set to automatically installed. 16:57:59 liberror-perl set to automatically installed. 16:57:59 libgdbm-compat4 set to automatically installed. 16:57:59 libgdbm5 set to automatically installed. 16:57:59 libperl5.26 set to automatically installed. 16:57:59 make set to automatically installed. 16:57:59 netbase set to automatically installed. 16:57:59 patch set to automatically installed. 16:57:59 perl set to automatically installed. 16:57:59 perl-modules-5.26 set to automatically installed. 16:57:59 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:57:59 Please ensure the environment is properly setup before continuing. 16:57:59 Ignore this message if the appropriate measures have already been taken [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:00 + find /w/workspace/device-modbus-go/2 16:58:00 + grep snapcraft.yaml 16:58:00 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:00 provisioning config files... 16:58:00 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config3915921891311880493tmp [Pipeline] { [Pipeline] sh 16:58:00 Pulling go  16:58:01 + cp /w/workspace/device-modbus-go/2@tmp/config3915921891311880493tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 16:58:01 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/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:58:01 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 16:58:01 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 16:58:01 237528ba509b: Pulling fs layer 16:58:01 393b96f31d8b: Pulling fs layer 16:58:01 4d82b0e39008: Pulling fs layer 16:58:01 e7ca375b8d34: Pulling fs layer 16:58:01 07392d479177: Pulling fs layer 16:58:01 e7ca375b8d34: Waiting 16:58:01 8324981f6117: Pulling fs layer 16:58:01 07392d479177: Waiting 16:58:01 c3105ce2227d: Pulling fs layer 16:58:01 92aa0e4ab508: Pulling fs layer 16:58:01 ae419ce1c302: Pulling fs layer 16:58:01 c3105ce2227d: Waiting 16:58:01 92aa0e4ab508: Waiting 16:58:01 4d82b0e39008: Verifying Checksum 16:58:01 4d82b0e39008: Download complete 16:58:01 393b96f31d8b: Verifying Checksum 16:58:01 393b96f31d8b: Download complete 16:58:01 'device-modbus' has dependencies that need to be staged: go 16:58:01 Skipping pull go (already ran) 16:58:01 Building go  16:58:01 % Total % Received % Xferd Average Speed Time Time Time Current 16:58:01 Dload Upload Total Spent Left Speed 16:58:01 e7ca375b8d34: Download complete 16:58:01 8324981f6117: Verifying Checksum 16:58:01 8324981f6117: Download complete 16:58:01 c3105ce2227d: Verifying Checksum 16:58:01 c3105ce2227d: Download complete 16:58:01 92aa0e4ab508: Verifying Checksum 16:58:01 92aa0e4ab508: Download complete 16:58:01 ae419ce1c302: Verifying Checksum 16:58:01 ae419ce1c302: Download complete 16:58:02 237528ba509b: Verifying Checksum 16:58:02 237528ba509b: Download complete 16:58:06 237528ba509b: Pull complete 16:58:06 393b96f31d8b: Pull complete 16:58:06 4d82b0e39008: Pull complete 16:58:06 e7ca375b8d34: Pull complete 16:58:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 67771 0 0 210k 0 0:09:18 --:--:-- 0:09:18 209k 21 114M 21 24.4M 0 0 17.8M 0 0:00:06 0:00:01 0:00:05 17.8M 45 114M 45 52.5M 0 0 22.6M 0 0:00:05 0:00:02 0:00:03 22.6M 67 114M 67 77.7M 0 0 23.2M 0 0:00:04 0:00:03 0:00:01 23.2M 88 114M 88 101M 0 0 23.4M 0 0:00:04 0:00:04 --:--:-- 23.4M 100 114M 100 114M 0 0 23.8M 0 0:00:04 0:00:04 --:--:-- 25.5M 16:58:07 go1.13.5.linux-amd64.tar.gz: OK 16:58:11 07392d479177: Verifying Checksum 16:58:11 07392d479177: Download complete 16:58:15 Staging go  16:58:16 Pulling device-modbus  16:58:17 Skipping build go (already ran) 16:58:17 Building device-modbus  16:58:17 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:58:18 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 16:58:18 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:58:18 go: downloading github.com/goburrow/modbus v0.1.0 16:58:18 go: extracting github.com/goburrow/modbus v0.1.0 16:58:18 go: downloading github.com/goburrow/serial v0.1.0 16:58:18 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:58:18 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 16:58:18 go: downloading github.com/go-kit/kit v0.8.0 16:58:18 go: downloading github.com/google/uuid v1.1.1 16:58:18 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:58:18 go: downloading github.com/gorilla/mux v1.7.1 16:58:18 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:58:18 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:58:18 go: extracting github.com/goburrow/serial v0.1.0 16:58:18 go: downloading github.com/pkg/errors v0.8.1 16:58:18 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:58:18 go: extracting github.com/google/uuid v1.1.1 16:58:18 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:58:18 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:58:18 go: downloading gopkg.in/yaml.v2 v2.2.8 16:58:18 go: extracting github.com/pkg/errors v0.8.1 16:58:18 go: extracting github.com/gorilla/mux v1.7.1 16:58:18 go: downloading github.com/x448/float16 v0.8.4 16:58:18 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:58:18 go: downloading github.com/hashicorp/consul/api v1.1.0 16:58:18 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:58:18 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:58:18 go: downloading github.com/BurntSushi/toml v0.3.1 16:58:18 go: extracting github.com/go-kit/kit v0.8.0 16:58:18 go: extracting gopkg.in/yaml.v2 v2.2.8 16:58:18 go: downloading github.com/pelletier/go-toml v1.2.0 16:58:18 go: extracting github.com/x448/float16 v0.8.4 16:58:18 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:58:18 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:58:18 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:58:18 go: extracting github.com/BurntSushi/toml v0.3.1 16:58:18 go: extracting github.com/hashicorp/consul/api v1.1.0 16:58:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:58:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:58:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:58:18 go: downloading github.com/hashicorp/serf v0.8.2 16:58:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:58:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:58:18 go: extracting github.com/pelletier/go-toml v1.2.0 16:58:19 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:58:19 go: downloading github.com/mitchellh/copystructure v1.0.0 16:58:19 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:58:19 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:58:19 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:58:19 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:58:19 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:58:19 go: extracting github.com/hashicorp/serf v0.8.2 16:58:19 go: extracting github.com/mitchellh/copystructure v1.0.0 16:58:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:58:19 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:58:19 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:58:19 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:58:19 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:58:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:58:19 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:58:19 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:58:19 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:58:19 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:58:19 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:58:19 go: finding github.com/goburrow/modbus v0.1.0 16:58:19 go: finding github.com/gorilla/mux v1.7.1 16:58:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:58:19 go: finding github.com/go-kit/kit v0.8.0 16:58:19 go: finding github.com/google/uuid v1.1.1 16:58:19 go: finding github.com/OneOfOne/xxhash v1.2.6 16:58:19 go: finding github.com/goburrow/serial v0.1.0 16:58:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:58:19 go: finding github.com/x448/float16 v0.8.4 16:58:19 go: finding github.com/go-logfmt/logfmt v0.4.0 16:58:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:58:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:58:19 go: finding gopkg.in/yaml.v2 v2.2.8 16:58:19 go: finding github.com/BurntSushi/toml v0.3.1 16:58:19 go: finding github.com/pkg/errors v0.8.1 16:58:19 go: finding github.com/hashicorp/consul/api v1.1.0 16:58:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:58:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:58:19 go: finding github.com/pelletier/go-toml v1.2.0 16:58:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:58:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:58:19 go: finding github.com/mitchellh/copystructure v1.0.0 16:58:19 go: finding github.com/mitchellh/mapstructure v1.1.2 16:58:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:58:20 go: finding github.com/hashicorp/serf v0.8.2 16:58:20 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:58:20 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:58:20 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:58:20 go: finding github.com/hashicorp/golang-lru v0.5.1 16:58:30 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:58:35 Skipping stage go (already ran) 16:58:35 Staging device-modbus  16:58:35 Priming go  16:58:37 Priming device-modbus  16:58:37 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:58:37 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:58:37 Determining the version from the project repo (version-script). 16:58:37 The version has been set to '0.0.0-20200824+7daddfd' 16:58:39 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | 16:58:39 Snapped edgex-device-modbus_0.0.0-20200824+7daddfd_amd64.snap [Pipeline] } 16:58:40 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:58:50 07392d479177: Pull complete 16:58:50 8324981f6117: Pull complete 16:58:50 c3105ce2227d: Pull complete 16:58:50 92aa0e4ab508: Pull complete 16:58:51 ae419ce1c302: Pull complete 16:58:51 Digest: sha256:6e406ae1453d9e8d8e9e409efff2bb31ab6f017c918e683fbe291fd96f16a4ed 16:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:58:58 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:58:58 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 16:58:58 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 16:58:58 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 16:58:58 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [922 kB] 16:58:59 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1253 kB] 16:58:59 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [777 kB] 16:58:59 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [649 kB] 16:59:00 Fetched 3853 kB in 3s (1503 kB/s) 16:59:04 Reading package lists... 16:59:17 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:59:17 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 16:59:17 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 16:59:17 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 16:59:22 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:29 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 16:59:33 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:34 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 60% Building dependency tree 16:59:34 Reading state information... 0% Reading state information... 0% Reading state information... Done 16:59:35 The following packages were automatically installed and are no longer required: 16:59:35 libjq1 libonig4 16:59:35 Use 'sudo apt autoremove' to remove them. 16:59:35 Suggested packages: 16:59:35 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:59:35 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 16:59:35 diffutils-doc perl-doc libterm-readline-gnu-perl 16:59:35 | libterm-readline-perl-perl 16:59:35 The following NEW packages will be installed: 16:59:35 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 16:59:35 libperl5.26 make netbase patch perl perl-modules-5.26 16:59:35 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 16:59:35 Need to get 10.8 MB of archives. 16:59:35 After this operation, 73.6 MB of additional disk space will be used. 16:59:36 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:59:36 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 663 kB/2763 kB 24%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 16:59:36 22% [2 libgdbm5 4096 B/23.1 kB 18%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 16:59:36 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 16:59:36 26% [4 libperl5.26 65.5 kB/3326 kB 2%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 16:59:36 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 16:59:36 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 16:59:36 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Waiting for headers] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 16:59:36 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 16:59:36 60% [9 libcurl3-gnutls 4069 B/179 kB 2%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 16:59:36 63% [10 liberror-perl 0 B/22.8 kB 0%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:59:36 65% [11 git-man 0 B/804 kB 0%] 72% [Waiting for headers] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 16:59:37 72% [12 git 11.2 kB/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 16:59:37 95% [13 make 0 B/139 kB 0%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 16:59:37 98% [14 patch 36.9 kB/91.8 kB 40%] 100% [Working] Fetched 10.8 MB in 1s (7954 kB/s) 16:59:37 debconf: delaying package configuration, since apt-utils is not installed 16:59:37 Selecting previously unselected package perl-modules-5.26. 16:59:37 (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 ... 9882 files and directories currently installed.) 16:59:38 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:59:38 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:39 Selecting previously unselected package libgdbm5:arm64. 16:59:39 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 16:59:39 Unpacking libgdbm5:arm64 (1.14.1-6) ... 16:59:39 Selecting previously unselected package libgdbm-compat4:arm64. 16:59:39 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 16:59:39 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 16:59:39 Selecting previously unselected package libperl5.26:arm64. 16:59:39 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 16:59:39 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:59:41 Selecting previously unselected package perl. 16:59:41 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 16:59:41 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:59:41 Selecting previously unselected package less. 16:59:41 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 16:59:41 Unpacking less (487-0.1) ... 16:59:41 Selecting previously unselected package netbase. 16:59:41 Preparing to unpack .../06-netbase_5.4_all.deb ... 16:59:41 Unpacking netbase (5.4) ... 16:59:41 Selecting previously unselected package curl. 16:59:41 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 16:59:41 Unpacking curl (7.58.0-2ubuntu3.10) ... 16:59:41 Selecting previously unselected package libcurl3-gnutls:arm64. 16:59:41 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 16:59:41 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 16:59:41 Selecting previously unselected package liberror-perl. 16:59:41 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 16:59:41 Unpacking liberror-perl (0.17025-1) ... 16:59:41 Selecting previously unselected package git-man. 16:59:41 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:59:41 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:59:42 Selecting previously unselected package git. 16:59:42 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 16:59:42 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:59:43 Selecting previously unselected package make. 16:59:43 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 16:59:43 Unpacking make (4.1-9.1ubuntu1) ... 16:59:43 Selecting previously unselected package patch. 16:59:43 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 16:59:43 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:59:43 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:59:43 Setting up less (487-0.1) ... 16:59:44 Setting up make (4.1-9.1ubuntu1) ... 16:59:44 Setting up curl (7.58.0-2ubuntu3.10) ... 16:59:44 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 16:59:44 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:44 Setting up libgdbm5:arm64 (1.14.1-6) ... 16:59:44 Setting up patch (2.7.6-2ubuntu1.1) ... 16:59:44 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 16:59:44 Setting up netbase (5.4) ... 16:59:44 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:59:44 Setting up perl (5.26.1-6ubuntu0.3) ... 16:59:44 Setting up liberror-perl (0.17025-1) ... 16:59:44 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:59:45 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 16:59:45 Processing triggers for mime-support (3.60ubuntu1) ... 16:59:50 curl set to automatically installed. 16:59:50 git set to automatically installed. 16:59:50 git-man set to automatically installed. 16:59:50 less set to automatically installed. 16:59:50 libcurl3-gnutls set to automatically installed. 16:59:50 liberror-perl set to automatically installed. 16:59:50 libgdbm-compat4 set to automatically installed. 16:59:50 libgdbm5 set to automatically installed. 16:59:50 libperl5.26 set to automatically installed. 16:59:50 make set to automatically installed. 16:59:50 netbase set to automatically installed. 16:59:50 patch set to automatically installed. 16:59:50 perl set to automatically installed. 16:59:50 perl-modules-5.26 set to automatically installed. 16:59:50 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:59:50 Please ensure the environment is properly setup before continuing. 16:59:50 Ignore this message if the appropriate measures have already been taken 16:59:51 Pulling go  16:59:54 'device-modbus' has dependencies that need to be staged: go 16:59:54 Skipping pull go (already ran) 16:59:54 Building go  16:59:54 % Total % Received % Xferd Average Speed Time Time Time Current 16:59:54 Dload Upload Total Spent Left Speed 16:59:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 6 93.0M 6 5935k 0 0 8755k 0 0:00:10 --:--:-- 0:00:10 8742k 52 93.0M 52 48.4M 0 0 29.0M 0 0:00:03 0:00:01 0:00:02 29.0M 100 93.0M 100 93.0M 0 0 37.2M 0 0:00:02 0:00:02 --:--:-- 37.2M 16:59:58 go1.13.5.linux-arm64.tar.gz: OK 17:00:17 Staging go  17:00:19 Pulling device-modbus  17:00:22 Skipping build go (already ran) 17:00:22 Building device-modbus  17:00:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:00:23 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:23 go: downloading github.com/goburrow/modbus v0.1.0 17:00:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:23 go: extracting github.com/goburrow/modbus v0.1.0 17:00:23 go: downloading github.com/goburrow/serial v0.1.0 17:00:23 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:23 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:23 go: extracting github.com/goburrow/serial v0.1.0 17:00:23 go: downloading github.com/gorilla/mux v1.7.1 17:00:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:23 go: downloading github.com/google/uuid v1.1.1 17:00:23 go: downloading gopkg.in/yaml.v2 v2.2.8 17:00:23 go: downloading github.com/go-kit/kit v0.8.0 17:00:23 go: extracting github.com/gorilla/mux v1.7.1 17:00:23 go: extracting github.com/google/uuid v1.1.1 17:00:23 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:23 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:00:23 go: downloading github.com/OneOfOne/xxhash v1.2.6 17:00:23 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:23 go: extracting gopkg.in/yaml.v2 v2.2.8 17:00:23 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:23 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:23 go: downloading github.com/pelletier/go-toml v1.2.0 17:00:23 go: downloading github.com/BurntSushi/toml v0.3.1 17:00:23 go: downloading github.com/pkg/errors v0.8.1 17:00:23 go: extracting github.com/OneOfOne/xxhash v1.2.6 17:00:23 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 17:00:23 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:23 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:23 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:23 go: downloading github.com/hashicorp/consul/api v1.1.0 17:00:23 go: downloading github.com/x448/float16 v0.8.4 17:00:23 go: extracting github.com/pelletier/go-toml v1.2.0 17:00:23 go: extracting github.com/pkg/errors v0.8.1 17:00:23 go: extracting github.com/BurntSushi/toml v0.3.1 17:00:23 go: extracting github.com/go-kit/kit v0.8.0 17:00:23 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:00:23 go: downloading github.com/mitchellh/copystructure v1.0.0 17:00:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:00:23 go: extracting github.com/x448/float16 v0.8.4 17:00:23 go: extracting github.com/hashicorp/consul/api v1.1.0 17:00:23 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 17:00:23 go: extracting github.com/mitchellh/mapstructure v1.1.2 17:00:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:00:23 go: extracting github.com/mitchellh/copystructure v1.0.0 17:00:23 go: downloading github.com/hashicorp/serf v0.8.2 17:00:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:00:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:00:23 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 17:00:23 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 17:00:23 go: extracting github.com/mitchellh/reflectwalk v1.0.0 17:00:23 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:00:24 go: extracting github.com/hashicorp/serf v0.8.2 17:00:24 go: extracting github.com/go-logfmt/logfmt v0.4.0 17:00:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:24 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:00:24 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 17:00:24 go: downloading github.com/hashicorp/golang-lru v0.5.1 17:00:24 go: extracting github.com/hashicorp/golang-lru v0.5.1 17:00:24 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:24 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:24 go: finding github.com/goburrow/modbus v0.1.0 17:00:24 go: finding github.com/gorilla/mux v1.7.1 17:00:24 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:00:24 go: finding github.com/go-kit/kit v0.8.0 17:00:24 go: finding github.com/OneOfOne/xxhash v1.2.6 17:00:24 go: finding github.com/goburrow/serial v0.1.0 17:00:24 go: finding github.com/google/uuid v1.1.1 17:00:24 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:24 go: finding github.com/x448/float16 v0.8.4 17:00:24 go: finding github.com/go-logfmt/logfmt v0.4.0 17:00:24 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:24 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:24 go: finding gopkg.in/yaml.v2 v2.2.8 17:00:24 go: finding github.com/BurntSushi/toml v0.3.1 17:00:24 go: finding github.com/pkg/errors v0.8.1 17:00:24 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:24 go: finding github.com/hashicorp/consul/api v1.1.0 17:00:24 go: finding github.com/pelletier/go-toml v1.2.0 17:00:24 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:24 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:00:25 go: finding github.com/mitchellh/copystructure v1.0.0 17:00:25 go: finding github.com/mitchellh/mapstructure v1.1.2 17:00:25 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:00:25 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:00:25 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:00:25 go: finding github.com/hashicorp/serf v0.8.2 17:00:25 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:25 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:00:25 go: finding github.com/hashicorp/golang-lru v0.5.1 17:00:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:01:04 Skipping stage go (already ran) 17:01:04 Staging device-modbus  17:01:06 Priming go  17:01:10 Priming device-modbus  17:01:13 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 17:01:13 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 17:01:13 Determining the version from the project repo (version-script). 17:01:13 The version has been set to '0.0.0-20200824+3ef2ad4' 17:01:16 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 17:01:16 Snapped edgex-device-modbus_0.0.0-20200824+3ef2ad4_arm64.snap [Pipeline] } 17:01:18 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 17:01:20 provisioning config files... 17:01:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config7237936969978888021tmp [Pipeline] { [Pipeline] sh 17:01:20 + curl -s https://codecov.io/bash 17:01:20 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config7237936969978888021tmp [Pipeline] } 17:01:21 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] { (Publish Swagger) Stage "Publish Swagger" 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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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 17:01:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:01:23 ---> package-listing.sh 17:01:23 ++ facter osfamily 17:01:23 ++ tr '[:upper:]' '[:lower:]' 17:01:23 + OS_FAMILY=redhat 17:01:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-165 17:01:23 + START_PACKAGES=/tmp/packages_start.txt 17:01:23 + END_PACKAGES=/tmp/packages_end.txt 17:01:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:01:23 + PACKAGES=/tmp/packages_start.txt 17:01:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' 17:01:23 + PACKAGES=/tmp/packages_end.txt 17:01:23 + case "${OS_FAMILY}" in 17:01:23 + rpm -qa 17:01:23 + sort 17:01:28 + '[' -f /tmp/packages_start.txt ']' 17:01:28 + '[' -f /tmp/packages_end.txt ']' 17:01:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:01:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' 17:01:28 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ 17:01:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [Pipeline] isUnix [Pipeline] sh 17:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:28 17:01:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:01:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:29 alpine: Pulling from edgex-lftools-log-publisher 17:01:29 c9b1b535fdd9: Pulling fs layer 17:01:29 2cc5ad85d9ab: Pulling fs layer 17:01:29 756a868c4378: Pulling fs layer 17:01:29 444b2fc9a129: Pulling fs layer 17:01:29 ea15f1150254: Pulling fs layer 17:01:29 41b27a9f41bf: Pulling fs layer 17:01:29 28c525ee5125: Pulling fs layer 17:01:29 094b1ea09ed8: Pulling fs layer 17:01:29 138eaada9080: Pulling fs layer 17:01:29 0622d0fa9048: Pulling fs layer 17:01:29 ea15f1150254: Waiting 17:01:29 41b27a9f41bf: Waiting 17:01:29 28c525ee5125: Waiting 17:01:29 094b1ea09ed8: Waiting 17:01:29 138eaada9080: Waiting 17:01:29 0622d0fa9048: Waiting 17:01:29 444b2fc9a129: Waiting 17:01:29 2cc5ad85d9ab: Verifying Checksum 17:01:29 2cc5ad85d9ab: Download complete 17:01:29 444b2fc9a129: Verifying Checksum 17:01:29 444b2fc9a129: Download complete 17:01:29 c9b1b535fdd9: Download complete 17:01:29 ea15f1150254: Verifying Checksum 17:01:29 ea15f1150254: Download complete 17:01:29 28c525ee5125: Verifying Checksum 17:01:29 28c525ee5125: Download complete 17:01:29 756a868c4378: Verifying Checksum 17:01:29 756a868c4378: Download complete 17:01:29 c9b1b535fdd9: Pull complete 17:01:29 138eaada9080: Verifying Checksum 17:01:29 138eaada9080: Download complete 17:01:29 0622d0fa9048: Verifying Checksum 17:01:29 0622d0fa9048: Download complete 17:01:29 2cc5ad85d9ab: Pull complete 17:01:29 094b1ea09ed8: Verifying Checksum 17:01:29 094b1ea09ed8: Download complete 17:01:30 41b27a9f41bf: Verifying Checksum 17:01:30 41b27a9f41bf: Download complete 17:01:31 756a868c4378: Pull complete 17:01:31 444b2fc9a129: Pull complete 17:01:31 ea15f1150254: Pull complete 17:01:35 41b27a9f41bf: Pull complete 17:01:35 28c525ee5125: Pull complete 17:01:38 094b1ea09ed8: Pull complete 17:01:38 138eaada9080: Pull complete 17:01:38 0622d0fa9048: Pull complete 17:01:38 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:01:39 prd-centos7-docker-4c-2g-208 does not seem to be running inside a container 17:01:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:01:42 $ docker top 3f6bc7f029eb9daf6a862ef72c61192f57c8d871d0c80f626584b4ce826d68dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:43 provisioning config files... 17:01:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config3615053559341141624tmp [Pipeline] { [Pipeline] echo 17:01:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:01:43 ---> create-netrc.sh [Pipeline] echo 17:01:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:01:43 ---> logs-deploy.sh 17:01:43 + ARCHIVE_ARTIFACTS= 17:01:43 + LOGS_SERVER=https://logs.edgexfoundry.org 17:01:43 + '[' https://logs.edgexfoundry.org == None ']' 17:01:43 + NEXUS_URL=https://nexus.edgexfoundry.org 17:01:43 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/2 17:01:43 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-165/2/ 17:01:43 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/2 /w/workspace/xfoundry_device-modbus-go_PR-165 17:01:45 Archives upload complete. 17:01:45 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/2 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-165/2/