Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d9dcf3dd08f488906d53c6efd799967b99372fa Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 370697454611dc68c0596e0d0a50477a8de841a8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 370697454611dc68c0596e0d0a50477a8de841a8 using credential edgex-jenkins-ssh > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 370697454611dc68c0596e0d0a50477a8de841a8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 370697454611dc68c0596e0d0a50477a8de841a8 # timeout=10 Commit message: "Merge pull request #181 from jamesrgregg/us6584/update-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3879 in /w/workspace/xfoundry_device-modbus-go_master [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_master # timeout=10 Fetching without tags Checking out Revision 0d9dcf3dd08f488906d53c6efd799967b99372fa (master) Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 Commit message: "Merge pull request #155 from jamesrgregg/update-pr-template" > git rev-list --no-walk fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:39:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:39:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:39:49 ========================================================= 16:39:49 EdgeX Global Pipelines Version Info 16:39:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:39:51 ------------------- 16:39:51 stable info: 16:39:51 ------------------- 16:39:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:39:51 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 16:39:51 Message: update stable to v1.0.89 16:39:52 ------------------- 16:39:52 experimental info: 16:39:52 ------------------- 16:39:52 Commited By: **** collab-it+edgex@linuxfoundation.org 16:39:52 Commit SHA: aa323fb5dfebb31640c35badf05a5a9beff52318 16:39:52 Message: update experimental to v1.0.90 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 16:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:39:53 16:39:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:39:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:39:54 latest: Pulling from edgex-devops/git-semver 16:39:54 9123ac7c32f7: Pulling fs layer 16:39:54 b8cc5d1170e3: Pulling fs layer 16:39:54 2924cbbf6a41: Pulling fs layer 16:39:54 93b08a4f1073: Pulling fs layer 16:39:54 93b08a4f1073: Waiting 16:39:54 b8cc5d1170e3: Verifying Checksum 16:39:54 b8cc5d1170e3: Download complete 16:39:54 9123ac7c32f7: Verifying Checksum 16:39:54 9123ac7c32f7: Download complete 16:39:54 93b08a4f1073: Verifying Checksum 16:39:54 93b08a4f1073: Download complete 16:39:54 2924cbbf6a41: Verifying Checksum 16:39:54 9123ac7c32f7: Pull complete 16:39:54 b8cc5d1170e3: Pull complete 16:39:55 2924cbbf6a41: Pull complete 16:39:55 93b08a4f1073: Pull complete 16:39:55 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 16:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:39:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:39:55 prd-centos7-docker-4c-2g-3879 does not seem to be running inside a container 16:39:55 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:39:57 $ docker top edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:39:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:58 [ssh-agent] Looking for ssh-agent implementation... 16:39:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:58 $ docker exec edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff ssh-agent 16:39:58 SSH_AUTH_SOCK=/tmp/ssh-a80wyBGOghEt/agent.11 16:39:58 SSH_AGENT_PID=16 16:39:58 Running ssh-add (command line suppressed) 16:39:58 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_705763449639550326.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_705763449639550326.key) 16:39:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:58 + git describe --exact-match --tags HEAD 16:39:58 fatal: No names found, cannot describe anything. [Pipeline] } 16:39:58 $ docker exec --env ******** --env ******** edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff ssh-agent -k 16:39:59 unset SSH_AUTH_SOCK; 16:39:59 unset SSH_AGENT_PID; 16:39:59 echo Agent pid 16 killed; 16:39:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:39:59 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:39:59 This usually means this commit has not been tagged. [Pipeline] sshagent 16:39:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:59 [ssh-agent] Looking for ssh-agent implementation... 16:39:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:59 $ docker exec edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff ssh-agent 16:39:59 SSH_AUTH_SOCK=/tmp/ssh-UsRcz3deBmcZ/agent.44 16:39:59 SSH_AGENT_PID=49 16:39:59 Running ssh-add (command line suppressed) 16:39:59 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8103315375699534717.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_8103315375699534717.key) 16:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:00 + git semver init 16:40:00 # -> Open(): unable to determine branch for HEAD 16:40:00 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 16:40:00 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 16:40:00 # $SEMVER_REMOTE_NAME = origin 16:40:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:40:00 # $SEMVER_USER_NAME = edgex-jenkins 16:40:00 # $SEMVER_BRANCH = master 16:40:00 # $SEMVER_TEMP = /tmp/semver-494539688 16:40:00 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:40:00 # '/tmp/semver-494539688' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 16:40:00 # -> Force: false 16:40:00 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 16:40:00 $ docker exec --env ******** --env ******** edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff ssh-agent -k 16:40:00 unset SSH_AUTH_SOCK; 16:40:00 unset SSH_AGENT_PID; 16:40:00 echo Agent pid 49 killed; 16:40:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:00 + git semver [Pipeline] } 16:40:00 $ docker stop --time=1 edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff 16:40:02 $ docker rm -f edb765721ac86272dbf22248bfea74485df6d4325f3b0508546344c8fe6249ff [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:40:02 Stashed 28 file(s) [Pipeline] echo 16:40:02 [edgeXSemver] initialized semver on version 1.2.2-dev.1 [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:40:17 Still waiting to schedule task 16:40:17 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3879’ 16:40:17 Still waiting to schedule task 16:40:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:42:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3880 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 16:42:02 Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout 16:42:08 using credential edgex-jenkins-ssh 16:42:08 Cloning the remote Git repository 16:42:08 Cloning with configured refspecs honoured and without tags 16:42:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:42:08 > git init /w/workspace/device-modbus-go/14 # timeout=10 16:42:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:42:08 > git --version # timeout=10 16:42:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:42:09 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:42:09 Fetching without tags 16:42:09 Checking out Revision 0d9dcf3dd08f488906d53c6efd799967b99372fa (master) 16:42:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:42:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:09 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:09 > git config core.sparsecheckout # timeout=10 16:42:09 > git checkout -f 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 16:42:14 Commit message: "Merge pull request #155 from jamesrgregg/update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:42:15 ========================================================= 16:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:42:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:42:16 + 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:42:17 Sending build context to Docker daemon 608.3kB 16:42:17 Step 1/8 : ARG BASE=golang:1.13-alpine 16:42:17 Step 2/8 : FROM ${BASE} 16:42:17 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:42:17 cde5963f3b93: Pulling fs layer 16:42:17 2a23fa8c16f7: Pulling fs layer 16:42:17 777b28850792: Pulling fs layer 16:42:17 8a11ddd9e578: Pulling fs layer 16:42:17 4cf88f913ddb: Pulling fs layer 16:42:17 1df406cf5192: Pulling fs layer 16:42:17 cd6300453558: Pulling fs layer 16:42:17 b9c365052c96: Pulling fs layer 16:42:17 a2d8cc88f415: Pulling fs layer 16:42:17 ea1d1ca13537: Pulling fs layer 16:42:17 3750a50a1c5e: Pulling fs layer 16:42:17 cd6300453558: Waiting 16:42:17 b9c365052c96: Waiting 16:42:17 a2d8cc88f415: Waiting 16:42:17 ea1d1ca13537: Waiting 16:42:17 3750a50a1c5e: Waiting 16:42:17 8a11ddd9e578: Waiting 16:42:17 1df406cf5192: Waiting 16:42:17 4cf88f913ddb: Waiting 16:42:17 777b28850792: Verifying Checksum 16:42:17 777b28850792: Download complete 16:42:17 2a23fa8c16f7: Verifying Checksum 16:42:17 2a23fa8c16f7: Download complete 16:42:17 4cf88f913ddb: Verifying Checksum 16:42:17 4cf88f913ddb: Download complete 16:42:17 1df406cf5192: Verifying Checksum 16:42:17 1df406cf5192: Download complete 16:42:17 cde5963f3b93: Verifying Checksum 16:42:17 cde5963f3b93: Download complete 16:42:18 cde5963f3b93: Pull complete 16:42:19 2a23fa8c16f7: Pull complete 16:42:19 cd6300453558: Verifying Checksum 16:42:19 cd6300453558: Download complete 16:42:19 a2d8cc88f415: Verifying Checksum 16:42:19 a2d8cc88f415: Download complete 16:42:19 777b28850792: Pull complete 16:42:21 ea1d1ca13537: Verifying Checksum 16:42:21 ea1d1ca13537: Download complete 16:42:21 3750a50a1c5e: Verifying Checksum 16:42:21 3750a50a1c5e: Download complete 16:42:22 b9c365052c96: Download complete 16:42:22 8a11ddd9e578: Download complete 16:42:35 8a11ddd9e578: Pull complete 16:42:35 4cf88f913ddb: Pull complete 16:42:35 1df406cf5192: Pull complete 16:42:39 cd6300453558: Pull complete 16:42:41 Running on prd-centos7-docker-4c-2g-3881 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 16:42:41 Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout 16:42:43 b9c365052c96: Pull complete 16:42:44 using credential edgex-jenkins-ssh 16:42:44 Cloning the remote Git repository 16:42:44 Cloning with configured refspecs honoured and without tags 16:42:44 a2d8cc88f415: Pull complete 16:42:44 Fetching without tags 16:42:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:42:44 > git init /w/workspace/device-modbus-go/14 # timeout=10 16:42:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:42:44 > git --version # timeout=10 16:42:44 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:42:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:42:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:42:44 using GIT_SSH to set credentials SSH Credentials for GitHub 16:42:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:42:45 Checking out Revision 0d9dcf3dd08f488906d53c6efd799967b99372fa (master) 16:42:46 ea1d1ca13537: Pull complete 16:42:45 > git config core.sparsecheckout # timeout=10 16:42:45 > git checkout -f 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 16:42:46 3750a50a1c5e: Pull complete 16:42:46 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 16:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:42:46 ---> 78745c68409d 16:42:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:42:48 Commit message: "Merge pull request #155 from jamesrgregg/update-pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:42:49 ========================================================= 16:42:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:42:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:42:50 + 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:42:50 Sending build context to Docker daemon 608.3kB 16:42:50 Step 1/8 : ARG BASE=golang:1.13-alpine 16:42:50 Step 2/8 : FROM ${BASE} 16:42:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:42:50 e6b0cf9c0882: Pulling fs layer 16:42:50 2848faf0eed1: Pulling fs layer 16:42:50 0f37312ad70f: Pulling fs layer 16:42:50 5788d62ee057: Pulling fs layer 16:42:50 0e6b1d234666: Pulling fs layer 16:42:50 bf5d7aec512f: Pulling fs layer 16:42:50 34c802a77dc8: Pulling fs layer 16:42:50 9eb99e56ec68: Pulling fs layer 16:42:50 27c7a5d97fbd: Pulling fs layer 16:42:50 5c102a31e300: Pulling fs layer 16:42:50 dcfb455df0a1: Pulling fs layer 16:42:50 5788d62ee057: Waiting 16:42:50 0e6b1d234666: Waiting 16:42:50 bf5d7aec512f: Waiting 16:42:50 34c802a77dc8: Waiting 16:42:50 9eb99e56ec68: Waiting 16:42:50 27c7a5d97fbd: Waiting 16:42:50 5c102a31e300: Waiting 16:42:50 dcfb455df0a1: Waiting 16:42:50 0f37312ad70f: Verifying Checksum 16:42:50 0f37312ad70f: Download complete 16:42:50 2848faf0eed1: Verifying Checksum 16:42:50 2848faf0eed1: Download complete 16:42:50 0e6b1d234666: Verifying Checksum 16:42:50 0e6b1d234666: Download complete 16:42:50 bf5d7aec512f: Verifying Checksum 16:42:50 bf5d7aec512f: Download complete 16:42:50 e6b0cf9c0882: Verifying Checksum 16:42:50 e6b0cf9c0882: Download complete 16:42:51 e6b0cf9c0882: Pull complete 16:42:51 34c802a77dc8: Download complete 16:42:51 27c7a5d97fbd: Verifying Checksum 16:42:51 27c7a5d97fbd: Download complete 16:42:52 5c102a31e300: Verifying Checksum 16:42:52 5c102a31e300: Download complete 16:42:52 ---> Running in de84f290bd61 16:42:52 Removing intermediate container de84f290bd61 16:42:52 ---> adf31f595183 16:42:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:42:52 ---> Running in 5af4c5e501a6 16:42:52 9eb99e56ec68: Verifying Checksum 16:42:52 9eb99e56ec68: Download complete 16:42:52 5788d62ee057: Verifying Checksum 16:42:52 5788d62ee057: Download complete 16:42:53 dcfb455df0a1: Verifying Checksum 16:42:53 dcfb455df0a1: Download complete 16:42:53 2848faf0eed1: Pull complete 16:42:53 0f37312ad70f: Pull complete 16:42:54 Removing intermediate container 5af4c5e501a6 16:42:54 ---> f548353cb85d 16:42:54 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:42:54 ---> Running in b350ccd509ca 16:42:55 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:42:56 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:42:57 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 16:42:57 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:42:57 (3/18) Installing libmagic (5.37-r1) 16:42:58 (4/18) Installing file (5.37-r1) 16:42:58 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:42:58 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:42:58 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:42:58 5788d62ee057: Pull complete 16:42:59 0e6b1d234666: Pull complete 16:42:59 bf5d7aec512f: Pull complete 16:43:04 34c802a77dc8: Pull complete 16:43:06 9eb99e56ec68: Pull complete 16:43:06 27c7a5d97fbd: Pull complete 16:43:07 5c102a31e300: Pull complete 16:43:07 dcfb455df0a1: Pull complete 16:43:07 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 16:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:43:07 ---> 7c70fe431013 16:43:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:43:09 ---> Running in caa7e26b63f4 16:43:09 Removing intermediate container caa7e26b63f4 16:43:09 ---> 44e89e890220 16:43:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:43:09 ---> Running in 3f0fb9029844 16:43:10 (8/18) Installing libc-dev (0.7.2-r0) 16:43:10 (9/18) Installing g++ (9.2.0-r4) 16:43:11 Removing intermediate container 3f0fb9029844 16:43:11 ---> a13991e6e75b 16:43:11 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:43:11 ---> Running in d24e13816400 16:43:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:43:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:43:13 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 16:43:13 (2/17) Installing libmagic (5.37-r1) 16:43:13 (3/17) Installing file (5.37-r1) 16:43:13 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 16:43:13 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 16:43:13 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 16:43:14 (10/18) Installing fortify-headers (1.1-r0) 16:43:14 (11/18) Installing build-base (0.5-r1) 16:43:14 (12/18) Installing openssh-keygen (8.1_p1-r0) 16:43:14 (13/18) Installing libedit (20191211.3.1-r0) 16:43:14 (14/18) Installing openssh-client (8.1_p1-r0) 16:43:14 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 16:43:14 (16/18) Installing openssh-server-common (8.1_p1-r0) 16:43:14 (17/18) Installing openssh-server (8.1_p1-r0) 16:43:14 (18/18) Installing openssh (8.1_p1-r0) 16:43:14 Executing busybox-1.31.1-r8.trigger 16:43:14 OK: 203 MiB in 52 packages 16:43:20 (7/17) Installing libc-dev (0.7.2-r0) 16:43:20 (8/17) Installing g++ (9.2.0-r4) 16:43:23 Removing intermediate container b350ccd509ca 16:43:23 ---> bfcfdbb2f11e 16:43:23 Step 6/8 : WORKDIR /device-modbus-go 16:43:23 ---> Running in 65919382fd07 16:43:23 Removing intermediate container 65919382fd07 16:43:23 ---> e5aaff2459d9 16:43:23 Step 7/8 : COPY . . 16:43:23 ---> d89ad65da1d3 16:43:23 Step 8/8 : RUN go mod download 16:43:23 ---> Running in cf9ad8781a50 16:43:25 (9/17) Installing fortify-headers (1.1-r0) 16:43:25 (10/17) Installing build-base (0.5-r1) 16:43:25 (11/17) Installing openssh-keygen (8.1_p1-r0) 16:43:25 (12/17) Installing libedit (20191211.3.1-r0) 16:43:25 (13/17) Installing openssh-client (8.1_p1-r0) 16:43:25 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 16:43:25 (15/17) Installing openssh-server-common (8.1_p1-r0) 16:43:25 (16/17) Installing openssh-server (8.1_p1-r0) 16:43:25 (17/17) Installing openssh (8.1_p1-r0) 16:43:25 Executing busybox-1.31.1-r8.trigger 16:43:25 OK: 214 MiB in 52 packages 16:43:28 go: finding github.com/BurntSushi/toml v0.3.1 16:43:28 go: finding github.com/OneOfOne/xxhash v1.2.6 16:43:28 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:43:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:43:28 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:43:28 go: finding github.com/bgentry/speakeasy v0.1.0 16:43:28 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:43:28 go: finding github.com/davecgh/go-spew v1.1.1 16:43:28 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 16:43:28 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:43:28 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:43:28 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:43:28 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:43:28 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:43:28 go: finding github.com/fatih/color v1.7.0 16:43:28 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:43:28 go: finding github.com/go-kit/kit v0.8.0 16:43:28 go: finding github.com/go-logfmt/logfmt v0.4.0 16:43:28 go: finding github.com/go-stack/stack v1.8.0 16:43:28 go: finding github.com/goburrow/modbus v0.1.0 16:43:28 go: finding github.com/goburrow/serial v0.1.0 16:43:28 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:43:28 go: finding github.com/google/uuid v1.1.1 16:43:28 go: finding github.com/gorilla/mux v1.7.1 16:43:28 go: finding github.com/hashicorp/consul/api v1.1.0 16:43:28 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:43:29 go: finding github.com/hashicorp/errwrap v1.0.0 16:43:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:43:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:43:29 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:43:29 go: finding github.com/hashicorp/go-multierror v1.0.0 16:43:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:43:29 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:43:29 Removing intermediate container d24e13816400 16:43:29 ---> 37ee01d3eda9 16:43:29 Step 6/8 : WORKDIR /device-modbus-go 16:43:29 ---> Running in 562467ed8b89 16:43:29 Removing intermediate container 562467ed8b89 16:43:29 ---> caf78c6298f4 16:43:29 Step 7/8 : COPY . . 16:43:29 go: finding github.com/hashicorp/go-syslog v1.0.0 16:43:29 go: finding github.com/hashicorp/go-uuid v1.0.1 16:43:29 go: finding github.com/hashicorp/go.net v0.0.1 16:43:29 go: finding github.com/hashicorp/golang-lru v0.5.1 16:43:29 go: finding github.com/hashicorp/logutils v1.0.0 16:43:29 go: finding github.com/hashicorp/mdns v1.0.0 16:43:29 go: finding github.com/hashicorp/memberlist v0.1.3 16:43:29 go: finding github.com/hashicorp/serf v0.8.2 16:43:29 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:43:29 go: finding github.com/mattn/go-colorable v0.0.9 16:43:29 go: finding github.com/mattn/go-isatty v0.0.3 16:43:29 go: finding github.com/miekg/dns v1.1.4 16:43:29 go: finding github.com/mitchellh/cli v1.0.0 16:43:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:43:29 go: finding github.com/mitchellh/copystructure v1.0.0 16:43:29 go: finding github.com/mitchellh/go-homedir v1.1.0 16:43:29 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:43:29 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:43:29 go: finding github.com/mitchellh/gox v0.4.0 16:43:29 go: finding github.com/mitchellh/iochan v1.0.0 16:43:30 ---> 11194d188e81 16:43:30 Step 8/8 : RUN go mod download 16:43:30 ---> Running in eef6fab92b66 16:43:30 go: finding github.com/mitchellh/mapstructure v1.1.2 16:43:30 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:43:30 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:43:30 go: finding github.com/pelletier/go-toml v1.2.0 16:43:30 go: finding github.com/pkg/errors v0.8.1 16:43:30 go: finding github.com/pmezard/go-difflib v1.0.0 16:43:30 go: finding github.com/posener/complete v1.1.1 16:43:30 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:43:30 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:43:30 go: finding github.com/stretchr/objx v0.1.0 16:43:30 go: finding github.com/stretchr/testify v1.5.1 16:43:30 go: finding github.com/ugorji/go v1.1.4 16:43:30 go: finding github.com/x448/float16 v0.8.4 16:43:30 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:43:30 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:43:30 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:43:30 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:43:30 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:43:30 go: finding gopkg.in/yaml.v2 v2.2.8 16:43:31 go: finding github.com/BurntSushi/toml v0.3.1 16:43:31 go: finding github.com/OneOfOne/xxhash v1.2.6 16:43:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:43:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:43:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:43:31 go: finding github.com/bgentry/speakeasy v0.1.0 16:43:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:43:31 go: finding github.com/davecgh/go-spew v1.1.1 16:43:31 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 16:43:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:43:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:43:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:43:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:43:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:43:31 go: finding github.com/fatih/color v1.7.0 16:43:31 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:43:31 go: finding github.com/go-kit/kit v0.8.0 16:43:31 go: finding github.com/go-logfmt/logfmt v0.4.0 16:43:31 go: finding github.com/go-stack/stack v1.8.0 16:43:31 go: finding github.com/goburrow/modbus v0.1.0 16:43:31 go: finding github.com/goburrow/serial v0.1.0 16:43:31 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:43:31 go: finding github.com/google/uuid v1.1.1 16:43:31 go: finding github.com/gorilla/mux v1.7.1 16:43:31 go: finding github.com/hashicorp/consul/api v1.1.0 16:43:31 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:43:31 go: finding github.com/hashicorp/errwrap v1.0.0 16:43:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:43:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:43:31 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:43:31 go: finding github.com/hashicorp/go-multierror v1.0.0 16:43:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:43:31 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:43:31 go: finding github.com/hashicorp/go-syslog v1.0.0 16:43:31 go: finding github.com/hashicorp/go-uuid v1.0.1 16:43:31 go: finding github.com/hashicorp/go.net v0.0.1 16:43:31 go: finding github.com/hashicorp/golang-lru v0.5.1 16:43:32 go: finding github.com/hashicorp/logutils v1.0.0 16:43:32 go: finding github.com/hashicorp/mdns v1.0.0 16:43:32 go: finding github.com/hashicorp/memberlist v0.1.3 16:43:32 go: finding github.com/hashicorp/serf v0.8.2 16:43:32 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:43:32 go: finding github.com/mattn/go-colorable v0.0.9 16:43:32 go: finding github.com/mattn/go-isatty v0.0.3 16:43:32 go: finding github.com/miekg/dns v1.1.4 16:43:32 go: finding github.com/mitchellh/cli v1.0.0 16:43:32 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:43:32 go: finding github.com/mitchellh/copystructure v1.0.0 16:43:32 go: finding github.com/mitchellh/go-homedir v1.1.0 16:43:32 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:43:32 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:43:32 go: finding github.com/mitchellh/gox v0.4.0 16:43:32 go: finding github.com/mitchellh/iochan v1.0.0 16:43:32 go: finding github.com/mitchellh/mapstructure v1.1.2 16:43:32 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:43:32 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:43:32 go: finding github.com/pelletier/go-toml v1.2.0 16:43:32 go: finding github.com/pkg/errors v0.8.1 16:43:32 go: finding github.com/pmezard/go-difflib v1.0.0 16:43:32 go: finding github.com/posener/complete v1.1.1 16:43:32 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:43:32 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:43:32 go: finding github.com/stretchr/objx v0.1.0 16:43:32 go: finding github.com/stretchr/testify v1.5.1 16:43:32 go: finding github.com/ugorji/go v1.1.4 16:43:32 go: finding github.com/x448/float16 v0.8.4 16:43:32 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:43:32 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:43:32 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:43:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:43:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:43:32 go: finding gopkg.in/yaml.v2 v2.2.8 16:43:40 Removing intermediate container cf9ad8781a50 16:43:40 ---> 5c024321723b 16:43:40 Successfully built 5c024321723b 16:43:40 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:43:41 + docker inspect -f . ci-base-image-arm64 16:43:41 . [Pipeline] withDockerContainer 16:43:41 prd-ubuntu18.04-docker-arm64-4c-16g-3880 does not seem to be running inside a container 16:43:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 ******** ci-base-image-arm64 cat 16:43:42 Removing intermediate container eef6fab92b66 16:43:42 ---> 196ee59f7889 16:43:42 Successfully built 196ee59f7889 16:43:42 Successfully tagged ci-base-image-x86_64:latest 16:43:43 $ docker top 7a17bf826b0c94421092bfeb766ca0912f0921ac5e91b5c9de2f3014c54f8dfb -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:43:44 + docker inspect -f . ci-base-image-x86_64 16:43:44 . [Pipeline] withDockerContainer 16:43:44 prd-centos7-docker-4c-2g-3881 does not seem to be running inside a container 16:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@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 ******** ci-base-image-x86_64 cat 16:43:45 + go version 16:43:45 go version go1.13.5 linux/arm64 16:43:45 $ docker top a7b83c33955a143be66934803e3a98bd8d07c1bea334bbac0c906b9a403d8595 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 16:43:46 + go version 16:43:46 go version go1.13.5 linux/amd64 [Pipeline] sh 16:43:46 + make test 16:43:46 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:43:47 + make test 16:43:47 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:43:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:43:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:43:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:43:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.150s coverage: 50.3% of statements 16:43:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:43:58 gofmt -l . 16:43:58 [ "`gofmt -l .`" = "" ] 16:43:58 ./bin/test-attribution-txt.sh 16:43:58 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:43:59 Stashed 1 file(s) [Pipeline] } 16:43:59 $ docker stop --time=1 a7b83c33955a143be66934803e3a98bd8d07c1bea334bbac0c906b9a403d8595 16:44:01 $ docker rm -f a7b83c33955a143be66934803e3a98bd8d07c1bea334bbac0c906b9a403d8595 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:03 + ls -al . 16:44:03 total 104 16:44:03 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 21 16:43 . 16:44:03 drwxrwxr-x. 4 jenkins jenkins 30 Jun 21 16:42 .. 16:44:03 -rw-rw-r--. 1 jenkins jenkins 5049 Jun 21 16:42 Attribution.txt 16:44:03 drwxrwxr-x. 2 jenkins jenkins 87 Jun 21 16:42 bin 16:44:03 drwxrwxr-x. 3 jenkins jenkins 32 Jun 21 16:42 cmd 16:44:03 -rw-r--r--. 1 jenkins jenkins 22123 Jun 21 16:43 coverage.out 16:44:03 -rw-rw-r--. 1 jenkins jenkins 1422 Jun 21 16:42 Dockerfile 16:44:03 -rw-rw-r--. 1 jenkins jenkins 954 Jun 21 16:42 Dockerfile.build 16:44:03 -rw-rw-r--. 1 jenkins jenkins 140 Jun 21 16:42 .dockerignore 16:44:03 drwxrwxr-x. 8 jenkins jenkins 162 Jun 21 16:42 .git 16:44:03 drwxrwxr-x. 2 jenkins jenkins 38 Jun 21 16:42 .github 16:44:03 -rw-rw-r--. 1 jenkins jenkins 330 Jun 21 16:42 .gitignore 16:44:03 -rw-r--r--. 1 jenkins jenkins 559 Jun 21 16:43 go.mod 16:44:03 -rw-r--r--. 1 jenkins jenkins 13471 Jun 21 16:43 go.sum 16:44:03 drwxrwxr-x. 3 jenkins jenkins 20 Jun 21 16:42 internal 16:44:03 -rw-rw-r--. 1 jenkins jenkins 702 Jun 21 16:42 Jenkinsfile 16:44:03 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 21 16:42 LICENSE 16:44:03 -rw-rw-r--. 1 jenkins jenkins 880 Jun 21 16:42 Makefile 16:44:03 -rw-rw-r--. 1 jenkins jenkins 591 Jun 21 16:42 README.md 16:44:03 drwxrwxr-x. 3 jenkins jenkins 44 Jun 21 16:42 .semver 16:44:03 drwxrwxr-x. 2 jenkins jenkins 35 Jun 21 16:42 simulator 16:44:03 drwxrwxr-x. 4 jenkins jenkins 54 Jun 21 16:42 snap 16:44:03 -rw-rw-r--. 1 jenkins jenkins 11 Jun 21 16:40 VERSION 16:44:03 -rw-rw-r--. 1 jenkins jenkins 229 Jun 21 16:42 version.go [Pipeline] isUnix [Pipeline] sh 16:44:03 + 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=0d9dcf3dd08f488906d53c6efd799967b99372fa --label arch=amd64 --label version=1.2.2-dev.1 . 16:44:03 Sending build context to Docker daemon 636.9kB 16:44:03 Step 1/19 : ARG BASE=golang:1.13-alpine 16:44:03 Step 2/19 : FROM ${BASE} AS builder 16:44:03 ---> 196ee59f7889 16:44:03 Step 3/19 : ARG MAKE='make build' 16:44:04 ---> Running in 16c130b9558c 16:44:04 Removing intermediate container 16c130b9558c 16:44:04 ---> ee0aa39cfc71 16:44:04 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:04 ---> Running in aadb6c61bcfd 16:44:05 Removing intermediate container aadb6c61bcfd 16:44:05 ---> e20b053b6333 16:44:05 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:44:05 ---> Running in c8ce4af6f421 16:44:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 16:44:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 16:44:06 OK: 214 MiB in 52 packages 16:44:07 Removing intermediate container c8ce4af6f421 16:44:07 ---> 58a16f98cce4 16:44:07 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:44:07 ---> Running in 914353fc8c3c 16:44:07 Removing intermediate container 914353fc8c3c 16:44:07 ---> 564eec0631fe 16:44:07 Step 7/19 : COPY . . 16:44:08 ---> c0204e766c35 16:44:08 Step 8/19 : RUN ${MAKE} 16:44:08 ---> Running in 02034753835a 16:44:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.2-dev.1" -o cmd/device-modbus ./cmd 16:44:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:44:16 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:44:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.214s coverage: 50.3% of statements 16:44:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:44:20 Removing intermediate container 02034753835a 16:44:20 ---> 177994e30c35 16:44:20 Step 9/19 : FROM scratch 16:44:20 ---> 16:44:20 Step 10/19 : ENV APP_PORT=49991 16:44:20 ---> Running in c940ec63b505 16:44:20 Removing intermediate container c940ec63b505 16:44:20 ---> b3034edfbf34 16:44:20 Step 11/19 : EXPOSE $APP_PORT 16:44:20 ---> Running in 4de74534c34e 16:44:20 Removing intermediate container 4de74534c34e 16:44:20 ---> 814996a95f77 16:44:20 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:44:20 ---> 9e7ed451b6f8 16:44:20 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:44:20 ---> b2152a5cbb25 16:44:20 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:44:20 ---> ecf3c7112bfa 16:44:20 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:44:20 ---> Running in 91d39c348524 16:44:21 Removing intermediate container 91d39c348524 16:44:21 ---> fa04b77ac8a1 16:44:21 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:44:21 ---> Running in c0313ca81e39 16:44:21 Removing intermediate container c0313ca81e39 16:44:21 ---> 23827728bc9d 16:44:21 Step 17/19 : LABEL arch=amd64 16:44:21 ---> Running in 2fe05439a0e4 16:44:21 Removing intermediate container 2fe05439a0e4 16:44:21 ---> fe87f7257531 16:44:21 Step 18/19 : LABEL git_sha=0d9dcf3dd08f488906d53c6efd799967b99372fa 16:44:21 ---> Running in b1cd796ec5ec 16:44:21 Removing intermediate container b1cd796ec5ec 16:44:21 ---> fbeb90bf9ad6 16:44:21 Step 19/19 : LABEL version=1.2.2-dev.1 16:44:21 ---> Running in e6c4586533b2 16:44:21 Removing intermediate container e6c4586533b2 16:44:21 ---> 19a51cebab49 16:44:21 [Warning] One or more build-args [ARCH] were not consumed 16:44:21 Successfully built 19a51cebab49 16:44:21 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:44:22 provisioning config files... 16:44:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config4763379923706410929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:22 nexus3.edgexfoundry.org:10001 16:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:22 Configure a credential helper to remove this warning. See 16:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:22 16:44:22 Login Succeeded 16:44:22 nexus3.edgexfoundry.org:10002 16:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:22 Configure a credential helper to remove this warning. See 16:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:22 16:44:22 Login Succeeded 16:44:22 nexus3.edgexfoundry.org:10003 16:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:23 Configure a credential helper to remove this warning. See 16:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:23 16:44:23 Login Succeeded 16:44:23 nexus3.edgexfoundry.org:10004 16:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:23 Configure a credential helper to remove this warning. See 16:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:23 16:44:23 Login Succeeded 16:44:23 docker.io 16:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:23 Configure a credential helper to remove this warning. See 16:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:23 16:44:23 Login Succeeded [Pipeline] } 16:44:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:44:23 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 16:44:23 0d9dcf3dd08f488906d53c6efd799967b99372fa 16:44:23 latest 16:44:23 1.2.2-dev.1 16:44:23 0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 16:44:23 master 16:44:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:44:23 gofmt -l . 16:44:23 [ "`gofmt -l .`" = "" ] 16:44:23 ./bin/test-attribution-txt.sh 16:44:23 ./bin/test-go-mod-tidy.sh 16:44:24 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0d9dcf3dd08f488906d53c6efd799967b99372fa [Pipeline] isUnix [Pipeline] sh [Pipeline] stash 16:44:24 Warning: overwriting stash ‘coverage-report’ 16:44:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0d9dcf3dd08f488906d53c6efd799967b99372fa 16:44:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 16:44:24 e3a72035ca9b: Preparing 16:44:24 f987788d619e: Preparing 16:44:24 184a79e585dc: Preparing 16:44:24 e3a72035ca9b: Pushed 16:44:24 f987788d619e: Pushed 16:44:24 Stashed 1 file(s) [Pipeline] } 16:44:24 $ docker stop --time=1 7a17bf826b0c94421092bfeb766ca0912f0921ac5e91b5c9de2f3014c54f8dfb 16:44:25 184a79e585dc: Pushed 16:44:25 0d9dcf3dd08f488906d53c6efd799967b99372fa: digest: sha256:8f5932d71c9a5e3873650b6491ac01a04fc352ca08a3ea456591f5361bdb0c8a size: 944 16:44:26 $ docker rm -f 7a17bf826b0c94421092bfeb766ca0912f0921ac5e91b5c9de2f3014c54f8dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:27 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 16:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:27 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 16:44:27 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 16:44:27 e3a72035ca9b: Preparing 16:44:27 f987788d619e: Preparing 16:44:27 184a79e585dc: Preparing 16:44:27 f987788d619e: Layer already exists 16:44:27 e3a72035ca9b: Layer already exists 16:44:27 184a79e585dc: Layer already exists 16:44:27 latest: digest: sha256:8f5932d71c9a5e3873650b6491ac01a04fc352ca08a3ea456591f5361bdb0c8a size: 944 [Pipeline] isUnix [Pipeline] sh 16:44:28 + ls -al . 16:44:28 total 140 16:44:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 16:44 . 16:44:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:42 .. 16:44:28 -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 16:42 .dockerignore 16:44:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 16:42 .git 16:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:42 .github 16:44:28 -rw-rw-r-- 1 jenkins jenkins 330 Jun 21 16:42 .gitignore 16:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 16:42 .semver 16:44:28 -rw-rw-r-- 1 jenkins jenkins 5049 Jun 21 16:42 Attribution.txt 16:44:28 -rw-rw-r-- 1 jenkins jenkins 1422 Jun 21 16:42 Dockerfile 16:44:28 -rw-rw-r-- 1 jenkins jenkins 954 Jun 21 16:42 Dockerfile.build 16:44:28 -rw-rw-r-- 1 jenkins jenkins 702 Jun 21 16:42 Jenkinsfile 16:44:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 21 16:42 LICENSE 16:44:28 -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 16:42 Makefile 16:44:28 -rw-rw-r-- 1 jenkins jenkins 591 Jun 21 16:42 README.md 16:44:28 -rw-rw-r-- 1 jenkins jenkins 11 Jun 21 16:40 VERSION 16:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:42 bin 16:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 16:42 cmd 16:44:28 -rw-r--r-- 1 jenkins jenkins 22123 Jun 21 16:44 coverage.out 16:44:28 -rw-r--r-- 1 jenkins jenkins 559 Jun 21 16:44 go.mod 16:44:28 -rw-r--r-- 1 jenkins jenkins 13471 Jun 21 16:44 go.sum 16:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 16:42 internal 16:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 16:42 simulator 16:44:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 16:42 snap 16:44:28 -rw-rw-r-- 1 jenkins jenkins 229 Jun 21 16:42 version.go [Pipeline] isUnix [Pipeline] sh 16:44:28 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 16:44:28 + 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=0d9dcf3dd08f488906d53c6efd799967b99372fa --label arch=arm64 --label version=1.2.2-dev.1 . 16:44:28 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.2-dev.1 16:44:28 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 16:44:28 e3a72035ca9b: Preparing 16:44:28 f987788d619e: Preparing 16:44:28 184a79e585dc: Preparing 16:44:28 f987788d619e: Layer already exists 16:44:28 184a79e585dc: Layer already exists 16:44:28 e3a72035ca9b: Layer already exists 16:44:28 1.2.2-dev.1: digest: sha256:8f5932d71c9a5e3873650b6491ac01a04fc352ca08a3ea456591f5361bdb0c8a size: 944 [Pipeline] isUnix [Pipeline] sh 16:44:28 Sending build context to Docker daemon 636.9kB 16:44:28 Step 1/19 : ARG BASE=golang:1.13-alpine 16:44:28 Step 2/19 : FROM ${BASE} AS builder 16:44:28 ---> 5c024321723b 16:44:28 Step 3/19 : ARG MAKE='make build' 16:44:28 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 16:44:28 ---> Running in 12b950b0c7e6 16:44:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 16:44:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 16:44:29 e3a72035ca9b: Preparing 16:44:29 f987788d619e: Preparing 16:44:29 184a79e585dc: Preparing 16:44:29 f987788d619e: Layer already exists 16:44:29 184a79e585dc: Layer already exists 16:44:29 e3a72035ca9b: Layer already exists 16:44:29 0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1: digest: sha256:8f5932d71c9a5e3873650b6491ac01a04fc352ca08a3ea456591f5361bdb0c8a size: 944 [Pipeline] isUnix [Pipeline] sh 16:44:29 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 16:44:29 Removing intermediate container 12b950b0c7e6 16:44:29 ---> 664b618788fa 16:44:29 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:29 ---> Running in 7819c517d108 16:44:29 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 16:44:29 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 16:44:29 e3a72035ca9b: Preparing 16:44:29 f987788d619e: Preparing 16:44:29 184a79e585dc: Preparing 16:44:29 184a79e585dc: Layer already exists 16:44:29 e3a72035ca9b: Layer already exists 16:44:29 f987788d619e: Layer already exists 16:44:29 master: digest: sha256:8f5932d71c9a5e3873650b6491ac01a04fc352ca08a3ea456591f5361bdb0c8a size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:30 ++ find /w/workspace/device-modbus-go/14 16:44:30 ++ grep snapcraft.yaml 16:44:30 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/14/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:44:30 provisioning config files... 16:44:30 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/14@tmp/config1547602784367380253tmp [Pipeline] { [Pipeline] sh 16:44:30 + cp /w/workspace/device-modbus-go/14@tmp/config1547602784367380253tmp /w/workspace/device-modbus-go/14/edgex-snap-store-login [Pipeline] sh 16:44:31 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/14:/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:44:31 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 16:44:31 latest: Pulling from edgex-devops/edgex-snap-builder 16:44:31 5bed26d33875: Pulling fs layer 16:44:31 f11b29a9c730: Pulling fs layer 16:44:31 930bda195c84: Pulling fs layer 16:44:31 78bf9a5ad49e: Pulling fs layer 16:44:31 e5fbee5a4b0d: Pulling fs layer 16:44:31 f452fca78f88: Pulling fs layer 16:44:31 7417ef92027a: Pulling fs layer 16:44:31 2af5c49d270b: Pulling fs layer 16:44:31 df9c3bdbc40a: Pulling fs layer 16:44:31 f452fca78f88: Waiting 16:44:31 7417ef92027a: Waiting 16:44:31 2af5c49d270b: Waiting 16:44:31 df9c3bdbc40a: Waiting 16:44:31 78bf9a5ad49e: Waiting 16:44:31 e5fbee5a4b0d: Waiting 16:44:31 930bda195c84: Verifying Checksum 16:44:31 930bda195c84: Download complete 16:44:31 f11b29a9c730: Download complete 16:44:31 78bf9a5ad49e: Verifying Checksum 16:44:31 78bf9a5ad49e: Download complete 16:44:31 f452fca78f88: Download complete 16:44:31 7417ef92027a: Verifying Checksum 16:44:31 7417ef92027a: Download complete 16:44:31 2af5c49d270b: Verifying Checksum 16:44:31 2af5c49d270b: Download complete 16:44:31 df9c3bdbc40a: Verifying Checksum 16:44:31 df9c3bdbc40a: Download complete 16:44:31 5bed26d33875: Verifying Checksum 16:44:31 5bed26d33875: Download complete 16:44:32 Removing intermediate container 7819c517d108 16:44:32 ---> afc6e24889ae 16:44:32 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 16:44:32 ---> Running in 763c5e3f36d1 16:44:33 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 16:44:34 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 16:44:34 OK: 203 MiB in 52 packages 16:44:35 e5fbee5a4b0d: Download complete 16:44:35 5bed26d33875: Pull complete 16:44:35 Removing intermediate container 763c5e3f36d1 16:44:35 ---> 007074e0aa12 16:44:35 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:44:36 ---> Running in 31c94a4c4ffb 16:44:36 Removing intermediate container 31c94a4c4ffb 16:44:36 ---> 3d719b9546f1 16:44:36 Step 7/19 : COPY . . 16:44:36 f11b29a9c730: Pull complete 16:44:36 930bda195c84: Pull complete 16:44:36 78bf9a5ad49e: Pull complete 16:44:37 ---> 112282a11c0a 16:44:37 Step 8/19 : RUN ${MAKE} 16:44:37 ---> Running in 8e5b3a923957 16:44:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.2-dev.1" -o cmd/device-modbus ./cmd 16:45:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:45:03 e5fbee5a4b0d: Pull complete 16:45:03 f452fca78f88: Pull complete 16:45:03 7417ef92027a: Pull complete 16:45:03 2af5c49d270b: Pull complete 16:45:03 df9c3bdbc40a: Pull complete 16:45:03 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 16:45:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:45:03 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 16:45:03 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 16:45:03 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 16:45:03 Get:4 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] 16:45:03 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [960 kB] 16:45:03 Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 16:45:03 Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] 16:45:03 Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] 16:45:03 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] 16:45:03 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] 16:45:04 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] 16:45:04 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1397 kB] 16:45:04 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 16:45:04 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 16:45:04 Fetched 4917 kB in 2s (2205 kB/s) 16:45:05 Reading package lists... 16:45:09 Removing intermediate container 8e5b3a923957 16:45:09 ---> 5c9060a9a1e6 16:45:09 Step 9/19 : FROM scratch 16:45:09 ---> 16:45:09 Step 10/19 : ENV APP_PORT=49991 16:45:09 ---> Running in 92cbba37fdd0 16:45:09 Removing intermediate container 92cbba37fdd0 16:45:09 ---> 3b47b8ae666d 16:45:09 Step 11/19 : EXPOSE $APP_PORT 16:45:09 ---> Running in fcb56bee8e85 16:45:09 Removing intermediate container fcb56bee8e85 16:45:09 ---> be586c1fecbc 16:45:09 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:45:10 ---> 6f49f0f00029 16:45:10 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:45:11 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 16:45:11 ---> 8ec63dc54a36 16:45:11 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:45:11 Reading package lists... 16:45:11 Building dependency tree... 16:45:11 Reading state information... 16:45:11 ---> 05f40b60776f 16:45:11 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:45:11 ---> Running in 3d59e6d038c7 16:45:12 The following packages were automatically installed and are no longer required: 16:45:12 libjq1 liblzo2-2 libonig4 16:45:12 Use 'sudo apt autoremove' to remove them. 16:45:12 Suggested packages: 16:45:12 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:45:12 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 16:45:12 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 16:45:12 libterm-readline-gnu-perl | libterm-readline-perl-perl 16:45:12 The following NEW packages will be installed: 16:45:12 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 16:45:12 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 16:45:12 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 16:45:12 openssh-client patch perl perl-modules-5.26 xauth 16:45:12 Removing intermediate container 3d59e6d038c7 16:45:12 ---> df2a7bd5bf11 16:45:12 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 16:45:12 ---> Running in 95052f0ef6b0 16:45:12 Removing intermediate container 95052f0ef6b0 16:45:12 ---> c55d8bac0e36 16:45:12 Step 17/19 : LABEL arch=arm64 16:45:12 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 16:45:12 Need to get 14.7 MB of archives. 16:45:12 After this operation, 89.5 MB of additional disk space will be used. 16:45:12 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 16:45:12 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 16:45:13 ---> Running in 765f6c0f4e53 16:45:13 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 16:45:13 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 16:45:13 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 16:45:13 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 16:45:13 Removing intermediate container 765f6c0f4e53 16:45:13 ---> fbfca98bbdc8 16:45:13 Step 18/19 : LABEL git_sha=0d9dcf3dd08f488906d53c6efd799967b99372fa 16:45:13 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 16:45:13 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:45:13 ---> Running in 6adea102e2da 16:45:13 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 16:45:13 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 16:45:13 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 16:45:13 Removing intermediate container 6adea102e2da 16:45:13 ---> 75c439e1bfd4 16:45:13 Step 19/19 : LABEL version=1.2.2-dev.1 16:45:14 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 16:45:14 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 16:45:14 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 16:45:14 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 16:45:14 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 16:45:14 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 16:45:14 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 16:45:14 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 16:45:14 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 16:45:14 ---> Running in f63a84aabf53 16:45:14 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 16:45:14 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 16:45:14 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 16:45:14 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:45:14 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 16:45:14 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 16:45:14 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 16:45:14 Removing intermediate container f63a84aabf53 16:45:14 ---> 37ef91b94074 16:45:14 [Warning] One or more build-args [ARCH] were not consumed 16:45:14 Successfully built 37ef91b94074 16:45:14 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:45:14 provisioning config files... 16:45:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config7380632509543304441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:14 debconf: delaying package configuration, since apt-utils is not installed 16:45:14 Fetched 14.7 MB in 2s (6899 kB/s) 16:45:14 Selecting previously unselected package libxau6:amd64. 16:45:14 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4637 files and directories currently installed.) 16:45:14 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 16:45:14 Unpacking libxau6:amd64 (1:1.0.8-1) ... 16:45:15 nexus3.edgexfoundry.org:10001 16:45:15 Selecting previously unselected package libbsd0:amd64. 16:45:15 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 16:45:15 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:45:15 Selecting previously unselected package libxdmcp6:amd64. 16:45:15 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 16:45:15 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 16:45:15 Selecting previously unselected package libxcb1:amd64. 16:45:15 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 16:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:15 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:45:15 Selecting previously unselected package libx11-data. 16:45:15 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 16:45:15 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 16:45:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:15 Configure a credential helper to remove this warning. See 16:45:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:15 16:45:15 Login Succeeded 16:45:15 nexus3.edgexfoundry.org:10002 16:45:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:16 Selecting previously unselected package libx11-6:amd64. 16:45:16 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 16:45:16 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:16 Configure a credential helper to remove this warning. See 16:45:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:16 16:45:16 Login Succeeded 16:45:16 nexus3.edgexfoundry.org:10003 16:45:16 Selecting previously unselected package libxext6:amd64. 16:45:16 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 16:45:16 Unpacking libxext6:amd64 (2:1.3.3-1) ... 16:45:16 Selecting previously unselected package perl-modules-5.26. 16:45:16 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:45:16 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:45:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:16 Configure a credential helper to remove this warning. See 16:45:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:16 16:45:16 Login Succeeded 16:45:16 nexus3.edgexfoundry.org:10004 16:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:17 Configure a credential helper to remove this warning. See 16:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:17 16:45:17 Login Succeeded 16:45:17 docker.io 16:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:18 Configure a credential helper to remove this warning. See 16:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:18 16:45:18 Login Succeeded [Pipeline] } 16:45:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:45:18 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 16:45:18 0d9dcf3dd08f488906d53c6efd799967b99372fa 16:45:18 latest 16:45:18 1.2.2-dev.1 16:45:18 0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 16:45:18 master 16:45:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:45:18 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0d9dcf3dd08f488906d53c6efd799967b99372fa [Pipeline] isUnix [Pipeline] sh 16:45:18 Selecting previously unselected package libgdbm5:amd64. 16:45:18 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 16:45:18 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0d9dcf3dd08f488906d53c6efd799967b99372fa 16:45:18 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 16:45:18 64c63c3bdde2: Preparing 16:45:18 0bfaf596cf42: Preparing 16:45:18 73899ffc0496: Preparing 16:45:19 Unpacking libgdbm5:amd64 (1.14.1-6) ... 16:45:19 Selecting previously unselected package libgdbm-compat4:amd64. 16:45:19 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 16:45:19 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 16:45:19 Selecting previously unselected package libperl5.26:amd64. 16:45:19 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 16:45:19 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:45:19 64c63c3bdde2: Pushed 16:45:19 0bfaf596cf42: Pushed 16:45:20 Selecting previously unselected package perl. 16:45:20 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 16:45:20 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:45:20 Selecting previously unselected package less. 16:45:20 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 16:45:20 Unpacking less (487-0.1) ... 16:45:20 Selecting previously unselected package libexpat1:amd64. 16:45:20 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 16:45:20 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:45:20 Selecting previously unselected package netbase. 16:45:20 Preparing to unpack .../14-netbase_5.4_all.deb ... 16:45:20 Unpacking netbase (5.4) ... 16:45:21 Selecting previously unselected package libedit2:amd64. 16:45:21 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 16:45:21 Unpacking libedit2:amd64 (3.1-20170329-1) ... 16:45:21 Selecting previously unselected package libssl1.0.0:amd64. 16:45:21 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 16:45:21 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 16:45:21 Selecting previously unselected package libxmuu1:amd64. 16:45:21 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 16:45:21 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 16:45:21 Selecting previously unselected package openssh-client. 16:45:21 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 16:45:21 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 16:45:21 Selecting previously unselected package xauth. 16:45:21 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 16:45:21 Unpacking xauth (1:1.0.10-1) ... 16:45:21 Selecting previously unselected package curl. 16:45:21 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 16:45:21 Unpacking curl (7.58.0-2ubuntu3.8) ... 16:45:21 Selecting previously unselected package libcurl3-gnutls:amd64. 16:45:21 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 16:45:21 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:45:21 Selecting previously unselected package liberror-perl. 16:45:21 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 16:45:21 73899ffc0496: Pushed 16:45:21 0d9dcf3dd08f488906d53c6efd799967b99372fa: digest: sha256:7e83edff312672b1b8f121dafa7e5d1933785322021d1c6fd249dfb652f44e91 size: 944 [Pipeline] isUnix [Pipeline] sh 16:45:21 Unpacking liberror-perl (0.17025-1) ... 16:45:21 Selecting previously unselected package git-man. 16:45:21 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:45:21 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:45:21 Selecting previously unselected package git. 16:45:21 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 16:45:21 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:45:22 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:45:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 16:45:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 16:45:22 64c63c3bdde2: Preparing 16:45:22 0bfaf596cf42: Preparing 16:45:22 73899ffc0496: Preparing 16:45:22 73899ffc0496: Layer already exists 16:45:22 64c63c3bdde2: Layer already exists 16:45:22 0bfaf596cf42: Layer already exists 16:45:22 latest: digest: sha256:7e83edff312672b1b8f121dafa7e5d1933785322021d1c6fd249dfb652f44e91 size: 944 [Pipeline] isUnix [Pipeline] sh 16:45:23 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 16:45:23 Selecting previously unselected package make. 16:45:23 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 16:45:23 Unpacking make (4.1-9.1ubuntu1) ... 16:45:23 Selecting previously unselected package patch. 16:45:23 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 16:45:23 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:45:23 Setting up libedit2:amd64 (3.1-20170329-1) ... 16:45:23 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:45:23 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 16:45:23 Setting up less (487-0.1) ... 16:45:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.2-dev.1 16:45:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 16:45:23 64c63c3bdde2: Preparing 16:45:23 0bfaf596cf42: Preparing 16:45:23 73899ffc0496: Preparing 16:45:23 0bfaf596cf42: Layer already exists 16:45:23 64c63c3bdde2: Layer already exists 16:45:23 73899ffc0496: Layer already exists 16:45:23 1.2.2-dev.1: digest: sha256:7e83edff312672b1b8f121dafa7e5d1933785322021d1c6fd249dfb652f44e91 size: 944 16:45:23 Setting up make (4.1-9.1ubuntu1) ... 16:45:23 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 16:45:23 Setting up curl (7.58.0-2ubuntu3.8) ... 16:45:23 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 16:45:23 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:45:23 Setting up libgdbm5:amd64 (1.14.1-6) ... [Pipeline] isUnix [Pipeline] sh 16:45:23 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 16:45:23 Setting up patch (2.7.6-2ubuntu1.1) ... 16:45:23 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 16:45:23 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 16:45:23 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 16:45:24 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 [Pipeline] isUnix [Pipeline] sh 16:45:24 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 16:45:24 Setting up libxau6:amd64 (1:1.0.8-1) ... 16:45:24 Setting up netbase (5.4) ... 16:45:24 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:45:24 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 16:45:24 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 16:45:24 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 16:45:24 Setting up perl (5.26.1-6ubuntu0.3) ... 16:45:24 Setting up libxext6:amd64 (2:1.3.3-1) ... 16:45:24 Setting up liberror-perl (0.17025-1) ... 16:45:24 Setting up xauth (1:1.0.10-1) ... 16:45:24 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:45:24 Processing triggers for libc-bin (2.27-3ubuntu1) ... 16:45:24 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1 16:45:24 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 16:45:24 64c63c3bdde2: Preparing 16:45:24 0bfaf596cf42: Preparing 16:45:24 73899ffc0496: Preparing 16:45:24 73899ffc0496: Layer already exists 16:45:24 0bfaf596cf42: Layer already exists 16:45:24 64c63c3bdde2: Layer already exists 16:45:24 0d9dcf3dd08f488906d53c6efd799967b99372fa-1.2.2-dev.1: digest: sha256:7e83edff312672b1b8f121dafa7e5d1933785322021d1c6fd249dfb652f44e91 size: 944 [Pipeline] isUnix [Pipeline] sh 16:45:25 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 16:45:25 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 16:45:25 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 16:45:25 64c63c3bdde2: Preparing 16:45:25 0bfaf596cf42: Preparing 16:45:25 73899ffc0496: Preparing 16:45:25 64c63c3bdde2: Layer already exists 16:45:25 73899ffc0496: Layer already exists 16:45:25 0bfaf596cf42: Layer already exists 16:45:25 master: digest: sha256:7e83edff312672b1b8f121dafa7e5d1933785322021d1c6fd249dfb652f44e91 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:26 + + findgrep /w/workspace/device-modbus-go/14 snapcraft.yaml 16:45:26 16:45:26 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/14/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:26 provisioning config files... 16:45:26 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/14@tmp/config5646742693262355290tmp [Pipeline] { [Pipeline] sh 16:45:26 + cp /w/workspace/device-modbus-go/14@tmp/config5646742693262355290tmp /w/workspace/device-modbus-go/14/edgex-snap-store-login [Pipeline] sh 16:45:26 curl set to automatically installed. 16:45:26 git set to automatically installed. 16:45:26 git-man set to automatically installed. 16:45:26 less set to automatically installed. 16:45:26 libbsd0 set to automatically installed. 16:45:26 libcurl3-gnutls set to automatically installed. 16:45:26 libedit2 set to automatically installed. 16:45:26 liberror-perl set to automatically installed. 16:45:26 libexpat1 set to automatically installed. 16:45:26 libgdbm-compat4 set to automatically installed. 16:45:26 libgdbm5 set to automatically installed. 16:45:26 libperl5.26 set to automatically installed. 16:45:26 libssl1.0.0 set to automatically installed. 16:45:26 libx11-6 set to automatically installed. 16:45:26 libx11-data set to automatically installed. 16:45:26 libxau6 set to automatically installed. 16:45:26 libxcb1 set to automatically installed. 16:45:26 libxdmcp6 set to automatically installed. 16:45:26 libxext6 set to automatically installed. 16:45:26 libxmuu1 set to automatically installed. 16:45:26 make set to automatically installed. 16:45:26 netbase set to automatically installed. 16:45:26 openssh-client set to automatically installed. 16:45:26 patch set to automatically installed. 16:45:26 perl set to automatically installed. 16:45:26 perl-modules-5.26 set to automatically installed. 16:45:26 xauth set to automatically installed. 16:45:26 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:45:26 Please ensure the environment is properly setup before continuing. 16:45:26 Ignore this message if the appropriate measures have already been taken 16:45:27 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/14:/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:45:27 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 16:45:27 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 16:45:27 b2f61026a351: Pulling fs layer 16:45:27 5538fb30c42c: Pulling fs layer 16:45:27 f0b05810781a: Pulling fs layer 16:45:27 0180a33352d6: Pulling fs layer 16:45:27 e7604b0c0f53: Pulling fs layer 16:45:27 db689cb83ae0: Pulling fs layer 16:45:27 6138af208834: Pulling fs layer 16:45:27 007c8e8c5d63: Pulling fs layer 16:45:27 4f7a387c642f: Pulling fs layer 16:45:27 0180a33352d6: Waiting 16:45:27 db689cb83ae0: Waiting 16:45:27 4f7a387c642f: Waiting 16:45:27 6138af208834: Waiting 16:45:27 e7604b0c0f53: Waiting 16:45:27 007c8e8c5d63: Waiting 16:45:27 f0b05810781a: Download complete 16:45:27 5538fb30c42c: Verifying Checksum 16:45:27 5538fb30c42c: Download complete 16:45:27 0180a33352d6: Verifying Checksum 16:45:27 0180a33352d6: Download complete 16:45:27 Pulling go 16:45:27 db689cb83ae0: Verifying Checksum 16:45:27 db689cb83ae0: Download complete 16:45:27 6138af208834: Verifying Checksum 16:45:27 6138af208834: Download complete 16:45:27 007c8e8c5d63: Download complete 16:45:27 4f7a387c642f: Download complete 16:45:28 'device-modbus' has dependencies that need to be staged: go 16:45:28 Skipping pull go (already ran) 16:45:28 Building go 16:45:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:28 Dload Upload Total Spent Left Speed 16:45:28 b2f61026a351: Verifying Checksum 16:45:28 b2f61026a351: Download complete 16:45:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 114M 13 15.6M 0 0 22.3M 0 0:00:05 --:--:-- 0:00:05 22.3M 74 114M 74 85.4M 0 0 50.1M 0 0:00:02 0:00:01 0:00:01 50.1M 100 114M 100 114M 0 0 56.8M 0 0:00:02 0:00:02 --:--:-- 56.8M 16:45:30 go1.13.5.linux-amd64.tar.gz: OK 16:45:31 b2f61026a351: Pull complete 16:45:31 5538fb30c42c: Pull complete 16:45:31 f0b05810781a: Pull complete 16:45:31 0180a33352d6: Pull complete 16:45:36 e7604b0c0f53: Verifying Checksum 16:45:36 e7604b0c0f53: Download complete 16:45:40 Staging go 16:45:40 Pulling device-modbus 16:45:41 Skipping build go (already ran) 16:45:41 Building device-modbus 16:45:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.2-dev.1" -o cmd/device-modbus ./cmd 16:45:43 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.2 16:45:43 go: downloading github.com/goburrow/modbus v0.1.0 16:45:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:45:43 go: extracting github.com/goburrow/modbus v0.1.0 16:45:43 go: downloading github.com/goburrow/serial v0.1.0 16:45:43 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.2 16:45:43 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:45:43 go: extracting github.com/goburrow/serial v0.1.0 16:45:43 go: downloading github.com/gorilla/mux v1.7.1 16:45:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:45:43 go: downloading github.com/pkg/errors v0.8.1 16:45:43 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:45:43 go: extracting github.com/pkg/errors v0.8.1 16:45:43 go: extracting github.com/gorilla/mux v1.7.1 16:45:43 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:45:43 go: downloading github.com/google/uuid v1.1.1 16:45:43 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:45:43 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:45:43 go: downloading github.com/go-kit/kit v0.8.0 16:45:43 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:45:43 go: downloading gopkg.in/yaml.v2 v2.2.8 16:45:43 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:45:43 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:45:43 go: downloading github.com/BurntSushi/toml v0.3.1 16:45:43 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:45:43 go: extracting github.com/google/uuid v1.1.1 16:45:43 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:45:43 go: downloading github.com/pelletier/go-toml v1.2.0 16:45:43 go: downloading github.com/hashicorp/consul/api v1.1.0 16:45:43 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:45:43 go: downloading github.com/x448/float16 v0.8.4 16:45:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:45:43 go: extracting github.com/BurntSushi/toml v0.3.1 16:45:43 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:45:43 go: extracting gopkg.in/yaml.v2 v2.2.8 16:45:43 go: extracting github.com/hashicorp/consul/api v1.1.0 16:45:43 go: extracting github.com/go-kit/kit v0.8.0 16:45:43 go: downloading github.com/hashicorp/serf v0.8.2 16:45:43 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:45:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:45:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:45:43 go: extracting github.com/x448/float16 v0.8.4 16:45:43 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:45:43 go: extracting github.com/pelletier/go-toml v1.2.0 16:45:43 go: downloading github.com/mitchellh/copystructure v1.0.0 16:45:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:45:43 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:45:43 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:45:43 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:45:43 go: extracting github.com/mitchellh/copystructure v1.0.0 16:45:43 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:45:43 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:45:43 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:45:43 go: extracting github.com/hashicorp/serf v0.8.2 16:45:43 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:45:43 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:45:43 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:45:43 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:45:43 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:45:43 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:45:43 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:45:43 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:45:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 16:45:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:45:43 go: finding github.com/goburrow/modbus v0.1.0 16:45:43 go: finding github.com/gorilla/mux v1.7.1 16:45:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:45:43 go: finding github.com/goburrow/serial v0.1.0 16:45:43 go: finding github.com/go-kit/kit v0.8.0 16:45:43 go: finding github.com/OneOfOne/xxhash v1.2.6 16:45:43 go: finding github.com/google/uuid v1.1.1 16:45:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:45:43 go: finding github.com/x448/float16 v0.8.4 16:45:43 go: finding github.com/go-logfmt/logfmt v0.4.0 16:45:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:45:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:45:43 go: finding gopkg.in/yaml.v2 v2.2.8 16:45:43 go: finding github.com/BurntSushi/toml v0.3.1 16:45:43 go: finding github.com/pkg/errors v0.8.1 16:45:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:45:43 go: finding github.com/hashicorp/consul/api v1.1.0 16:45:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:45:43 go: finding github.com/pelletier/go-toml v1.2.0 16:45:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:45:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:45:43 go: finding github.com/mitchellh/mapstructure v1.1.2 16:45:43 go: finding github.com/hashicorp/serf v0.8.2 16:45:43 go: finding github.com/mitchellh/copystructure v1.0.0 16:45:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:45:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:45:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:45:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:45:43 go: finding github.com/hashicorp/golang-lru v0.5.1 16:45:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:45:56 Skipping stage go (already ran) 16:45:56 Staging device-modbus 16:45:58 Priming go 16:45:58 Priming device-modbus 16:45:59 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:45:59 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:45:59 Determining the version from the project repo (version-script). 16:45:59 The version has been set to '1.2.2-dev.1-20200621+0d9dcf3' 16:45:59 Snapping 'edgex-device-modbus' ... 16:46:00 16:46:00 Snapped edgex-device-modbus_1.2.2-dev.1-20200621+0d9dcf3_amd64.snap 16:46:02 Unexpected error when obtaining your account information. 16:46:02 Login failed. [Pipeline] } 16:46:04 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:46:05 Failed in branch amd64 16:46:08 e7604b0c0f53: Pull complete 16:46:08 db689cb83ae0: Pull complete 16:46:08 6138af208834: Pull complete 16:46:08 007c8e8c5d63: Pull complete 16:46:08 4f7a387c642f: Pull complete 16:46:08 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 16:46:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:46:13 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:46:13 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 16:46:13 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 16:46:13 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 16:46:14 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1239 kB] 16:46:14 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 16:46:14 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [880 kB] 16:46:14 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 16:46:14 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 16:46:14 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 16:46:14 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [608 kB] 16:46:14 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [756 kB] 16:46:15 Fetched 3755 kB in 2s (1507 kB/s) 16:46:19 Reading package lists... 16:46:32 Installing build dependencies: curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase openssh-client patch perl perl-modules-5.26 xauth 16:46:35 Reading package lists... 16:46:35 Building dependency tree... 16:46:35 Reading state information... 16:46:36 The following packages were automatically installed and are no longer required: 16:46:36 libjq1 liblzo2-2 libonig4 16:46:36 Use 'sudo apt autoremove' to remove them. 16:46:36 Suggested packages: 16:46:36 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:46:36 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 16:46:36 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 16:46:36 libterm-readline-gnu-perl | libterm-readline-perl-perl 16:46:37 The following NEW packages will be installed: 16:46:37 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 16:46:37 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 16:46:37 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 16:46:37 openssh-client patch perl perl-modules-5.26 xauth 16:46:37 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 16:46:37 Need to get 12.9 MB of archives. 16:46:37 After this operation, 84.2 MB of additional disk space will be used. 16:46:37 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 16:46:37 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 16:46:37 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 16:46:37 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 16:46:37 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 16:46:37 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 16:46:38 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 16:46:38 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:46:38 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 16:46:38 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 16:46:38 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 16:46:39 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 16:46:39 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 16:46:39 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 16:46:39 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 16:46:39 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 16:46:39 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 16:46:39 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 16:46:39 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 16:46:39 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 16:46:39 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 16:46:39 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 16:46:39 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 16:46:39 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:46:39 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 16:46:39 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 16:46:39 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 16:46:40 debconf: delaying package configuration, since apt-utils is not installed 16:46:40 Fetched 12.9 MB in 3s (4772 kB/s) 16:46:40 Selecting previously unselected package libxau6:arm64. 16:46:40 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4630 files and directories currently installed.) 16:46:40 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 16:46:40 Unpacking libxau6:arm64 (1:1.0.8-1) ... 16:46:40 Selecting previously unselected package libbsd0:arm64. 16:46:40 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 16:46:40 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 16:46:41 Selecting previously unselected package libxdmcp6:arm64. 16:46:41 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 16:46:41 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 16:46:41 Selecting previously unselected package libxcb1:arm64. 16:46:41 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 16:46:41 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 16:46:41 Selecting previously unselected package libx11-data. 16:46:41 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 16:46:41 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 16:46:41 Selecting previously unselected package libx11-6:arm64. 16:46:41 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 16:46:41 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 16:46:41 Selecting previously unselected package libxext6:arm64. 16:46:41 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 16:46:41 Unpacking libxext6:arm64 (2:1.3.3-1) ... 16:46:41 Selecting previously unselected package perl-modules-5.26. 16:46:41 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:46:41 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:46:43 Selecting previously unselected package libgdbm5:arm64. 16:46:43 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 16:46:43 Unpacking libgdbm5:arm64 (1.14.1-6) ... 16:46:43 Selecting previously unselected package libgdbm-compat4:arm64. 16:46:43 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 16:46:43 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 16:46:43 Selecting previously unselected package libperl5.26:arm64. 16:46:43 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 16:46:43 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:46:45 Selecting previously unselected package perl. 16:46:45 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 16:46:45 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:46:45 Selecting previously unselected package less. 16:46:45 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 16:46:45 Unpacking less (487-0.1) ... 16:46:45 Selecting previously unselected package libexpat1:arm64. 16:46:45 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 16:46:45 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 16:46:45 Selecting previously unselected package netbase. 16:46:45 Preparing to unpack .../14-netbase_5.4_all.deb ... 16:46:45 Unpacking netbase (5.4) ... 16:46:45 Selecting previously unselected package libedit2:arm64. 16:46:45 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 16:46:45 Unpacking libedit2:arm64 (3.1-20170329-1) ... 16:46:45 Selecting previously unselected package libssl1.0.0:arm64. 16:46:45 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 16:46:45 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 16:46:46 Selecting previously unselected package libxmuu1:arm64. 16:46:46 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 16:46:46 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 16:46:46 Selecting previously unselected package openssh-client. 16:46:46 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 16:46:46 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 16:46:46 Selecting previously unselected package xauth. 16:46:46 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 16:46:46 Unpacking xauth (1:1.0.10-1) ... 16:46:46 Selecting previously unselected package curl. 16:46:46 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 16:46:46 Unpacking curl (7.58.0-2ubuntu3.8) ... 16:46:46 Selecting previously unselected package libcurl3-gnutls:arm64. 16:46:46 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 16:46:46 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 16:46:46 Selecting previously unselected package liberror-perl. 16:46:46 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 16:46:46 Unpacking liberror-perl (0.17025-1) ... 16:46:46 Selecting previously unselected package git-man. 16:46:46 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:46:46 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:46:47 Selecting previously unselected package git. 16:46:47 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 16:46:47 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:46:48 Selecting previously unselected package make. 16:46:48 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 16:46:48 Unpacking make (4.1-9.1ubuntu1) ... 16:46:48 Selecting previously unselected package patch. 16:46:48 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 16:46:48 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:46:49 Setting up libedit2:arm64 (3.1-20170329-1) ... 16:46:49 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:46:49 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 16:46:49 Setting up less (487-0.1) ... 16:46:49 Setting up make (4.1-9.1ubuntu1) ... 16:46:49 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 16:46:50 Setting up curl (7.58.0-2ubuntu3.8) ... 16:46:50 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 16:46:50 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:46:50 Setting up libgdbm5:arm64 (1.14.1-6) ... 16:46:50 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 16:46:50 Setting up patch (2.7.6-2ubuntu1.1) ... 16:46:50 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 16:46:50 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 16:46:50 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 16:46:50 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 16:46:50 Setting up libxau6:arm64 (1:1.0.8-1) ... 16:46:50 Setting up netbase (5.4) ... 16:46:50 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:46:51 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 16:46:51 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 16:46:51 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 16:46:51 Setting up perl (5.26.1-6ubuntu0.3) ... 16:46:51 Setting up libxext6:arm64 (2:1.3.3-1) ... 16:46:51 Setting up liberror-perl (0.17025-1) ... 16:46:51 Setting up xauth (1:1.0.10-1) ... 16:46:51 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:46:51 Processing triggers for libc-bin (2.27-3ubuntu1) ... 16:46:58 curl set to automatically installed. 16:46:58 git set to automatically installed. 16:46:58 git-man set to automatically installed. 16:46:58 less set to automatically installed. 16:46:58 libbsd0 set to automatically installed. 16:46:58 libcurl3-gnutls set to automatically installed. 16:46:58 libedit2 set to automatically installed. 16:46:58 liberror-perl set to automatically installed. 16:46:58 libexpat1 set to automatically installed. 16:46:58 libgdbm-compat4 set to automatically installed. 16:46:58 libgdbm5 set to automatically installed. 16:46:58 libperl5.26 set to automatically installed. 16:46:58 libssl1.0.0 set to automatically installed. 16:46:58 libx11-6 set to automatically installed. 16:46:58 libx11-data set to automatically installed. 16:46:58 libxau6 set to automatically installed. 16:46:58 libxcb1 set to automatically installed. 16:46:58 libxdmcp6 set to automatically installed. 16:46:58 libxext6 set to automatically installed. 16:46:58 libxmuu1 set to automatically installed. 16:46:58 make set to automatically installed. 16:46:58 netbase set to automatically installed. 16:46:58 openssh-client set to automatically installed. 16:46:58 patch set to automatically installed. 16:46:58 perl set to automatically installed. 16:46:58 perl-modules-5.26 set to automatically installed. 16:46:58 xauth set to automatically installed. 16:46:58 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:46:58 Please ensure the environment is properly setup before continuing. 16:46:58 Ignore this message if the appropriate measures have already been taken 16:46:58 Pulling go 16:47:01 'device-modbus' has dependencies that need to be staged: go 16:47:01 Skipping pull go (already ran) 16:47:01 Building go 16:47:01 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:01 Dload Upload Total Spent Left Speed 16:47:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 14 93.0M 14 13.9M 0 0 32.8M 0 0:00:02 --:--:-- 0:00:02 32.7M 64 93.0M 64 59.9M 0 0 42.1M 0 0:00:02 0:00:01 0:00:01 42.1M 100 93.0M 100 93.0M 0 0 43.4M 0 0:00:02 0:00:02 --:--:-- 43.4M 16:47:05 go1.13.5.linux-arm64.tar.gz: OK 16:47:23 Staging go 16:47:24 Pulling device-modbus 16:47:27 Skipping build go (already ran) 16:47:27 Building device-modbus 16:47:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.2-dev.1" -o cmd/device-modbus ./cmd 16:47:27 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.2 16:47:27 go: downloading github.com/goburrow/modbus v0.1.0 16:47:27 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:47:28 go: extracting github.com/goburrow/modbus v0.1.0 16:47:28 go: downloading github.com/goburrow/serial v0.1.0 16:47:28 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.2 16:47:28 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:47:28 go: extracting github.com/goburrow/serial v0.1.0 16:47:28 go: downloading github.com/gorilla/mux v1.7.1 16:47:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:47:28 go: downloading github.com/google/uuid v1.1.1 16:47:28 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:47:28 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:47:28 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:47:28 go: extracting github.com/gorilla/mux v1.7.1 16:47:28 go: downloading github.com/go-kit/kit v0.8.0 16:47:28 go: extracting github.com/google/uuid v1.1.1 16:47:28 go: downloading github.com/pkg/errors v0.8.1 16:47:28 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:47:28 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:47:28 go: downloading gopkg.in/yaml.v2 v2.2.8 16:47:28 go: downloading github.com/hashicorp/consul/api v1.1.0 16:47:28 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:47:28 go: downloading github.com/pelletier/go-toml v1.2.0 16:47:28 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:47:28 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:47:28 go: extracting github.com/pkg/errors v0.8.1 16:47:28 go: extracting gopkg.in/yaml.v2 v2.2.8 16:47:28 go: downloading github.com/BurntSushi/toml v0.3.1 16:47:28 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:47:28 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:47:28 go: extracting github.com/hashicorp/consul/api v1.1.0 16:47:28 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:47:28 go: extracting github.com/go-kit/kit v0.8.0 16:47:28 go: extracting github.com/pelletier/go-toml v1.2.0 16:47:28 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:47:28 go: extracting github.com/BurntSushi/toml v0.3.1 16:47:28 go: downloading github.com/x448/float16 v0.8.4 16:47:28 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:47:28 go: downloading github.com/mitchellh/copystructure v1.0.0 16:47:28 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:47:28 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:47:28 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:47:28 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:47:28 go: downloading github.com/hashicorp/serf v0.8.2 16:47:28 go: extracting github.com/mitchellh/copystructure v1.0.0 16:47:28 go: extracting github.com/x448/float16 v0.8.4 16:47:28 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:47:28 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:47:28 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:47:28 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:47:28 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:47:28 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:47:28 go: extracting github.com/hashicorp/serf v0.8.2 16:47:28 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:47:28 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:47:29 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:47:29 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:47:29 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:47:29 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:47:29 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:47:29 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:47:29 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 16:47:29 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:47:29 go: finding github.com/goburrow/modbus v0.1.0 16:47:29 go: finding github.com/gorilla/mux v1.7.1 16:47:29 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:47:29 go: finding github.com/go-kit/kit v0.8.0 16:47:29 go: finding github.com/goburrow/serial v0.1.0 16:47:29 go: finding github.com/OneOfOne/xxhash v1.2.6 16:47:29 go: finding github.com/google/uuid v1.1.1 16:47:29 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 16:47:29 go: finding github.com/x448/float16 v0.8.4 16:47:29 go: finding github.com/go-logfmt/logfmt v0.4.0 16:47:29 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:47:29 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:47:29 go: finding gopkg.in/yaml.v2 v2.2.8 16:47:29 go: finding github.com/BurntSushi/toml v0.3.1 16:47:29 go: finding github.com/pkg/errors v0.8.1 16:47:29 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:47:29 go: finding github.com/hashicorp/consul/api v1.1.0 16:47:29 go: finding github.com/pelletier/go-toml v1.2.0 16:47:29 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:47:29 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:47:29 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:47:29 go: finding github.com/hashicorp/serf v0.8.2 16:47:29 go: finding github.com/mitchellh/mapstructure v1.1.2 16:47:29 go: finding github.com/mitchellh/copystructure v1.0.0 16:47:29 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:47:29 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:47:29 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:47:29 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:47:29 go: finding github.com/hashicorp/golang-lru v0.5.1 16:47:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:48:10 Skipping stage go (already ran) 16:48:10 Staging device-modbus 16:48:11 Priming go 16:48:13 Priming device-modbus 16:48:16 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:48:16 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:48:16 Determining the version from the project repo (version-script). 16:48:16 The version has been set to '1.2.2-dev.1-20200621+0d9dcf3' 16:48:16 Snapping 'edgex-device-modbus' ... 16:48:19 16:48:19 Snapped edgex-device-modbus_1.2.2-dev.1-20200621+0d9dcf3_arm64.snap 16:48:23 Unexpected error when obtaining your account information. 16:48:23 Login failed. [Pipeline] } 16:48:25 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:48:26 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:48:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:48:28 ---> package-listing.sh 16:48:28 ++ facter osfamily 16:48:28 ++ tr '[:upper:]' '[:lower:]' 16:48:28 + OS_FAMILY=redhat 16:48:28 + workspace=/w/workspace/xfoundry_device-modbus-go_master 16:48:28 + START_PACKAGES=/tmp/packages_start.txt 16:48:28 + END_PACKAGES=/tmp/packages_end.txt 16:48:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:48:28 + PACKAGES=/tmp/packages_start.txt 16:48:28 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 16:48:28 + PACKAGES=/tmp/packages_end.txt 16:48:28 + case "${OS_FAMILY}" in 16:48:28 + rpm -qa 16:48:28 + sort 16:48:31 + '[' -f /tmp/packages_start.txt ']' 16:48:31 + '[' -f /tmp/packages_end.txt ']' 16:48:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:48:31 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 16:48:31 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 16:48:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] isUnix [Pipeline] sh 16:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:48:32 16:48:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:48:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:48:32 alpine: Pulling from edgex-lftools-log-publisher 16:48:32 c9b1b535fdd9: Pulling fs layer 16:48:32 2cc5ad85d9ab: Pulling fs layer 16:48:32 756a868c4378: Pulling fs layer 16:48:32 444b2fc9a129: Pulling fs layer 16:48:32 ea15f1150254: Pulling fs layer 16:48:32 41b27a9f41bf: Pulling fs layer 16:48:32 28c525ee5125: Pulling fs layer 16:48:32 094b1ea09ed8: Pulling fs layer 16:48:32 138eaada9080: Pulling fs layer 16:48:32 0622d0fa9048: Pulling fs layer 16:48:32 094b1ea09ed8: Waiting 16:48:32 138eaada9080: Waiting 16:48:32 0622d0fa9048: Waiting 16:48:32 41b27a9f41bf: Waiting 16:48:32 28c525ee5125: Waiting 16:48:32 ea15f1150254: Waiting 16:48:32 2cc5ad85d9ab: Download complete 16:48:32 444b2fc9a129: Download complete 16:48:32 c9b1b535fdd9: Verifying Checksum 16:48:32 c9b1b535fdd9: Download complete 16:48:32 ea15f1150254: Verifying Checksum 16:48:32 ea15f1150254: Download complete 16:48:32 28c525ee5125: Verifying Checksum 16:48:32 28c525ee5125: Download complete 16:48:32 756a868c4378: Verifying Checksum 16:48:32 756a868c4378: Download complete 16:48:32 c9b1b535fdd9: Pull complete 16:48:32 138eaada9080: Verifying Checksum 16:48:32 138eaada9080: Download complete 16:48:32 0622d0fa9048: Download complete 16:48:32 094b1ea09ed8: Verifying Checksum 16:48:32 094b1ea09ed8: Download complete 16:48:32 2cc5ad85d9ab: Pull complete 16:48:33 41b27a9f41bf: Verifying Checksum 16:48:33 41b27a9f41bf: Download complete 16:48:34 756a868c4378: Pull complete 16:48:34 444b2fc9a129: Pull complete 16:48:35 ea15f1150254: Pull complete 16:48:39 41b27a9f41bf: Pull complete 16:48:39 28c525ee5125: Pull complete 16:48:42 094b1ea09ed8: Pull complete 16:48:42 138eaada9080: Pull complete 16:48:42 0622d0fa9048: Pull complete 16:48:42 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 16:48:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:48:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:48:42 prd-centos7-docker-4c-2g-3879 does not seem to be running inside a container 16:48:42 $ 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_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:48:45 $ docker top ee3a28bca3879120f115fb4841e531fb7015acf291b234f79ce93788b5b63031 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:46 provisioning config files... 16:48:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config5746835662364893148tmp [Pipeline] { [Pipeline] echo 16:48:46 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:48:46 ---> create-netrc.sh [Pipeline] echo 16:48:46 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:48:46 ---> logs-deploy.sh 16:48:46 + ARCHIVE_ARTIFACTS= 16:48:46 + LOGS_SERVER=https://logs.edgexfoundry.org 16:48:46 + '[' https://logs.edgexfoundry.org == None ']' 16:48:46 + NEXUS_URL=https://nexus.edgexfoundry.org 16:48:46 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/14 16:48:46 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/14/ 16:48:46 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/14 /w/workspace/xfoundry_device-modbus-go_master 16:48:48 Archives upload complete. 16:48:48 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/14 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/14/