Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fdf900d8a58188a2e8b2bc604c944c724a46cd8f 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2708 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 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 Fetching without tags Checking out Revision fdf900d8a58188a2e8b2bc604c944c724a46cd8f (master) > 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 fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 Commit message: "Merge pull request #154 from lranjbar/snap-rebuild" > git rev-list --no-walk f5c9d48415354775d5437a1ae29fce4498980850 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:40:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:40:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:40:25 ========================================================= 05:40:25 EdgeX Global Pipelines Version Info 05:40:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:40:27 ------------------- 05:40:27 stable info: 05:40:27 ------------------- 05:40:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:40:27 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:40:27 Message: update stable to v1.0.89 05:40:28 ------------------- 05:40:28 experimental info: 05:40:28 ------------------- 05:40:28 Commited By: **** collab-it+edgex@linuxfoundation.org 05:40:28 Commit SHA: 370697454611dc68c0596e0d0a50477a8de841a8 05:40:28 Message: update experimental to v1.0.89 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 05:40:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:30 05:40:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:40:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:30 latest: Pulling from edgex-devops/git-semver 05:40:30 9123ac7c32f7: Pulling fs layer 05:40:30 b8cc5d1170e3: Pulling fs layer 05:40:30 2924cbbf6a41: Pulling fs layer 05:40:30 93b08a4f1073: Pulling fs layer 05:40:30 93b08a4f1073: Waiting 05:40:30 b8cc5d1170e3: Verifying Checksum 05:40:30 b8cc5d1170e3: Download complete 05:40:30 9123ac7c32f7: Verifying Checksum 05:40:30 9123ac7c32f7: Download complete 05:40:30 93b08a4f1073: Verifying Checksum 05:40:30 93b08a4f1073: Download complete 05:40:30 2924cbbf6a41: Verifying Checksum 05:40:30 2924cbbf6a41: Download complete 05:40:31 9123ac7c32f7: Pull complete 05:40:31 b8cc5d1170e3: Pull complete 05:40:31 2924cbbf6a41: Pull complete 05:40:31 93b08a4f1073: Pull complete 05:40:31 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 05:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:40:32 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:40:32 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:40:34 $ docker top e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:34 [ssh-agent] Looking for ssh-agent implementation... 05:40:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:34 $ docker exec e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd ssh-agent 05:40:34 SSH_AUTH_SOCK=/tmp/ssh-Pz7e8ALqNr1y/agent.12 05:40:34 SSH_AGENT_PID=17 05:40:34 Running ssh-add (command line suppressed) 05:40:34 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2506973500529278944.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2506973500529278944.key) 05:40:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:35 + git describe --exact-match --tags HEAD 05:40:35 fatal: No names found, cannot describe anything. [Pipeline] } 05:40:35 $ docker exec --env ******** --env ******** e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd ssh-agent -k 05:40:35 unset SSH_AUTH_SOCK; 05:40:35 unset SSH_AGENT_PID; 05:40:35 echo Agent pid 17 killed; 05:40:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 05:40:35 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 05:40:35 This usually means this commit has not been tagged. [Pipeline] sshagent 05:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:35 [ssh-agent] Looking for ssh-agent implementation... 05:40:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:35 $ docker exec e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd ssh-agent 05:40:35 SSH_AUTH_SOCK=/tmp/ssh-OdzrEEUfcIfS/agent.46 05:40:35 SSH_AGENT_PID=51 05:40:35 Running ssh-add (command line suppressed) 05:40:36 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9032824611514022218.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_9032824611514022218.key) 05:40:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:36 + git semver init 05:40:36 # -> Open(): unable to determine branch for HEAD 05:40:36 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:40:36 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:40:36 # $SEMVER_REMOTE_NAME = origin 05:40:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:40:36 # $SEMVER_USER_NAME = edgex-jenkins 05:40:36 # $SEMVER_BRANCH = master 05:40:36 # $SEMVER_TEMP = /tmp/semver-290701728 05:40:36 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:40:36 # '/tmp/semver-290701728' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' 05:40:36 # -> Force: false 05:40:36 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 05:40:36 $ docker exec --env ******** --env ******** e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd ssh-agent -k 05:40:36 unset SSH_AUTH_SOCK; 05:40:36 unset SSH_AGENT_PID; 05:40:36 echo Agent pid 51 killed; 05:40:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:37 + git semver [Pipeline] } 05:40:37 $ docker stop --time=1 e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd 05:40:38 $ docker rm -f e3846bd9ccd804582b55e7a8d2233e456b09b2459c78243e114821710bab18cd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 05:40:39 Stashed 26 file(s) [Pipeline] echo 05:40:39 [edgeXSemver] initialized semver on version 1.2.1-dev.3 [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 05:40:54 Still waiting to schedule task 05:40:54 ‘prd-centos7-blackbox-4c-2g-2700’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-2709’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2075’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2706’ doesn’t have label ‘centos7-docker-4c-2g’ 05:40:54 Still waiting to schedule task 05:40:54 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:42:23 Running on prd-centos7-docker-4c-2g-2713 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 05:42:23 Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout 05:42:25 using credential edgex-jenkins-ssh 05:42:25 Cloning the remote Git repository 05:42:25 Cloning with configured refspecs honoured and without tags 05:42:26 Fetching without tags 05:42:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:42:25 > git init /w/workspace/device-modbus-go/12 # timeout=10 05:42:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:42:25 > git --version # timeout=10 05:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:42:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:42:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:42:26 Checking out Revision fdf900d8a58188a2e8b2bc604c944c724a46cd8f (master) 05:42:26 > git config core.sparsecheckout # timeout=10 05:42:26 > git checkout -f fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 05:42:30 Commit message: "Merge pull request #154 from lranjbar/snap-rebuild" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:42:31 ========================================================= 05:42:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 05:42:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:42:31 + 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 . 05:42:32 Sending build context to Docker daemon 594.4kB 05:42:32 Step 1/8 : ARG BASE=golang:1.13-alpine 05:42:32 Step 2/8 : FROM ${BASE} 05:42:32 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 05:42:32 e6b0cf9c0882: Pulling fs layer 05:42:32 2848faf0eed1: Pulling fs layer 05:42:32 0f37312ad70f: Pulling fs layer 05:42:32 5788d62ee057: Pulling fs layer 05:42:32 0e6b1d234666: Pulling fs layer 05:42:32 bf5d7aec512f: Pulling fs layer 05:42:32 34c802a77dc8: Pulling fs layer 05:42:32 9eb99e56ec68: Pulling fs layer 05:42:32 27c7a5d97fbd: Pulling fs layer 05:42:32 5c102a31e300: Pulling fs layer 05:42:32 dcfb455df0a1: Pulling fs layer 05:42:32 34c802a77dc8: Waiting 05:42:32 9eb99e56ec68: Waiting 05:42:32 27c7a5d97fbd: Waiting 05:42:32 5c102a31e300: Waiting 05:42:32 dcfb455df0a1: Waiting 05:42:32 5788d62ee057: Waiting 05:42:32 0e6b1d234666: Waiting 05:42:32 bf5d7aec512f: Waiting 05:42:32 0f37312ad70f: Verifying Checksum 05:42:32 0f37312ad70f: Download complete 05:42:32 2848faf0eed1: Verifying Checksum 05:42:32 2848faf0eed1: Download complete 05:42:32 0e6b1d234666: Verifying Checksum 05:42:32 0e6b1d234666: Download complete 05:42:32 bf5d7aec512f: Verifying Checksum 05:42:32 bf5d7aec512f: Download complete 05:42:32 e6b0cf9c0882: Verifying Checksum 05:42:32 e6b0cf9c0882: Pull complete 05:42:32 2848faf0eed1: Pull complete 05:42:32 0f37312ad70f: Pull complete 05:42:33 34c802a77dc8: Verifying Checksum 05:42:33 34c802a77dc8: Download complete 05:42:33 27c7a5d97fbd: Verifying Checksum 05:42:33 27c7a5d97fbd: Download complete 05:42:33 5788d62ee057: Verifying Checksum 05:42:33 5788d62ee057: Download complete 05:42:33 dcfb455df0a1: Verifying Checksum 05:42:33 dcfb455df0a1: Download complete 05:42:33 5c102a31e300: Verifying Checksum 05:42:33 5c102a31e300: Download complete 05:42:34 9eb99e56ec68: Verifying Checksum 05:42:34 9eb99e56ec68: Download complete 05:42:39 5788d62ee057: Pull complete 05:42:39 0e6b1d234666: Pull complete 05:42:39 bf5d7aec512f: Pull complete 05:42:46 34c802a77dc8: Pull complete 05:42:48 9eb99e56ec68: Pull complete 05:42:48 27c7a5d97fbd: Pull complete 05:42:49 5c102a31e300: Pull complete 05:42:49 dcfb455df0a1: Pull complete 05:42:49 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 05:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 05:42:49 ---> 7c70fe431013 05:42:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:42:51 ---> Running in 6a6fc80bacdc 05:42:51 Removing intermediate container 6a6fc80bacdc 05:42:51 ---> 94d8b8b355af 05:42:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:51 ---> Running in 79af774121ce 05:42:52 Removing intermediate container 79af774121ce 05:42:52 ---> a88463ac7be6 05:42:52 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:42:52 ---> Running in 5215ae146d80 05:42:52 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:42:53 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:42:53 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:42:53 (2/17) Installing libmagic (5.37-r1) 05:42:53 (3/17) Installing file (5.37-r1) 05:42:53 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:42:54 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:42:54 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:43:20 (7/17) Installing libc-dev (0.7.2-r0) 05:43:20 (8/17) Installing g++ (9.2.0-r4) 05:43:32 (9/17) Installing fortify-headers (1.1-r0) 05:43:32 (10/17) Installing build-base (0.5-r1) 05:43:32 (11/17) Installing openssh-keygen (8.1_p1-r0) 05:43:33 (12/17) Installing libedit (20191211.3.1-r0) 05:43:33 (13/17) Installing openssh-client (8.1_p1-r0) 05:43:33 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 05:43:33 (15/17) Installing openssh-server-common (8.1_p1-r0) 05:43:33 (16/17) Installing openssh-server (8.1_p1-r0) 05:43:34 (17/17) Installing openssh (8.1_p1-r0) 05:43:34 Executing busybox-1.31.1-r8.trigger 05:43:34 OK: 214 MiB in 52 packages 05:43:37 Removing intermediate container 5215ae146d80 05:43:37 ---> 214fd98dc323 05:43:37 Step 6/8 : WORKDIR /device-modbus-go 05:43:37 ---> Running in 4e832069e6c1 05:43:37 Removing intermediate container 4e832069e6c1 05:43:37 ---> 32455c060bca 05:43:37 Step 7/8 : COPY . . 05:43:38 ---> 6c6899087d57 05:43:38 Step 8/8 : RUN go mod download 05:43:38 ---> Running in 31ddd059083b 05:43:40 go: finding github.com/BurntSushi/toml v0.3.1 05:43:40 go: finding github.com/OneOfOne/xxhash v1.2.6 05:43:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:43:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:43:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:43:40 go: finding github.com/bgentry/speakeasy v0.1.0 05:43:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:43:40 go: finding github.com/davecgh/go-spew v1.1.1 05:43:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:43:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:43:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:43:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:43:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:43:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:43:40 go: finding github.com/fatih/color v1.7.0 05:43:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:43:40 go: finding github.com/go-kit/kit v0.8.0 05:43:40 go: finding github.com/go-logfmt/logfmt v0.4.0 05:43:40 go: finding github.com/go-stack/stack v1.8.0 05:43:40 go: finding github.com/goburrow/modbus v0.1.0 05:43:40 go: finding github.com/goburrow/serial v0.1.0 05:43:40 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:43:40 go: finding github.com/google/uuid v1.1.1 05:43:40 go: finding github.com/gorilla/mux v1.7.1 05:43:40 go: finding github.com/hashicorp/consul/api v1.1.0 05:43:40 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:43:40 go: finding github.com/hashicorp/errwrap v1.0.0 05:43:40 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:43:40 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:43:40 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:43:40 go: finding github.com/hashicorp/go-multierror v1.0.0 05:43:40 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:43:40 go: finding github.com/hashicorp/go-sockaddr v1.0.1 05:43:40 go: finding github.com/hashicorp/go-syslog v1.0.0 05:43:40 go: finding github.com/hashicorp/go-uuid v1.0.1 05:43:40 go: finding github.com/hashicorp/go.net v0.0.1 05:43:40 go: finding github.com/hashicorp/golang-lru v0.5.1 05:43:40 go: finding github.com/hashicorp/logutils v1.0.0 05:43:40 go: finding github.com/hashicorp/mdns v1.0.0 05:43:40 go: finding github.com/hashicorp/memberlist v0.1.3 05:43:40 go: finding github.com/hashicorp/serf v0.8.2 05:43:40 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:43:40 go: finding github.com/mattn/go-colorable v0.0.9 05:43:40 go: finding github.com/mattn/go-isatty v0.0.3 05:43:40 go: finding github.com/miekg/dns v1.1.4 05:43:40 go: finding github.com/mitchellh/cli v1.0.0 05:43:40 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:43:40 go: finding github.com/mitchellh/copystructure v1.0.0 05:43:40 go: finding github.com/mitchellh/go-homedir v1.1.0 05:43:40 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:43:40 go: finding github.com/mitchellh/go-wordwrap v1.0.0 05:43:40 go: finding github.com/mitchellh/gox v0.4.0 05:43:40 go: finding github.com/mitchellh/iochan v1.0.0 05:43:40 go: finding github.com/mitchellh/mapstructure v1.1.2 05:43:40 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:43:40 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:43:40 go: finding github.com/pelletier/go-toml v1.2.0 05:43:40 go: finding github.com/pkg/errors v0.8.1 05:43:40 go: finding github.com/pmezard/go-difflib v1.0.0 05:43:40 go: finding github.com/posener/complete v1.1.1 05:43:40 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 05:43:40 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:43:40 go: finding github.com/stretchr/objx v0.1.0 05:43:40 go: finding github.com/stretchr/testify v1.5.1 05:43:40 go: finding github.com/ugorji/go v1.1.4 05:43:40 go: finding github.com/x448/float16 v0.8.4 05:43:40 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:43:40 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 05:43:40 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:43:40 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:43:40 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:43:41 go: finding gopkg.in/yaml.v2 v2.2.8 05:43:49 Removing intermediate container 31ddd059083b 05:43:49 ---> 6254566705bc 05:43:49 Successfully built 6254566705bc 05:43:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:43:49 + docker inspect -f . ci-base-image-x86_64 05:43:49 . [Pipeline] withDockerContainer 05:43:49 prd-centos7-docker-4c-2g-2713 does not seem to be running inside a container 05:43:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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 05:43:51 $ docker top 8e2eb565f6052ece77f9b4d8287cc219cb380da47e432757ed32289798b4793b -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:51 + go version 05:43:51 go version go1.13.5 linux/amd64 [Pipeline] sh 05:43:51 + make test 05:43:51 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:43:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:43:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2715 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws 05:43:54 Running in /w/workspace/device-modbus-go/12 [Pipeline] { [Pipeline] checkout 05:43:59 using credential edgex-jenkins-ssh 05:43:59 Cloning the remote Git repository 05:43:59 Cloning with configured refspecs honoured and without tags 05:43:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:43:59 > git init /w/workspace/device-modbus-go/12 # timeout=10 05:44:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:44:00 > git --version # timeout=10 05:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:00 Fetching without tags 05:44:01 Checking out Revision fdf900d8a58188a2e8b2bc604c944c724a46cd8f (master) 05:44:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:44:00 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:00 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:44:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:44:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:00 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:44:01 > git config core.sparsecheckout # timeout=10 05:44:01 > git checkout -f fdf900d8a58188a2e8b2bc604c944c724a46cd8f # timeout=10 05:44:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:44:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.157s coverage: 50.3% of statements 05:44:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:44:03 gofmt -l . 05:44:03 [ "`gofmt -l .`" = "" ] 05:44:03 ./bin/test-attribution-txt.sh 05:44:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:44:04 Stashed 1 file(s) [Pipeline] } 05:44:04 $ docker stop --time=1 8e2eb565f6052ece77f9b4d8287cc219cb380da47e432757ed32289798b4793b 05:44:06 Commit message: "Merge pull request #154 from lranjbar/snap-rebuild" 05:44:07 $ docker rm -f 8e2eb565f6052ece77f9b4d8287cc219cb380da47e432757ed32289798b4793b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash 05:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] echo 05:44:08 ========================================================= 05:44:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 05:44:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:44:08 + ls -al . 05:44:08 total 104 05:44:08 drwxrwxr-x. 9 jenkins jenkins 4096 Jun 12 05:44 . 05:44:08 drwxrwxr-x. 4 jenkins jenkins 30 Jun 12 05:42 .. 05:44:08 -rw-rw-r--. 1 jenkins jenkins 5049 Jun 12 05:42 Attribution.txt 05:44:08 drwxrwxr-x. 2 jenkins jenkins 87 Jun 12 05:42 bin 05:44:08 drwxrwxr-x. 3 jenkins jenkins 32 Jun 12 05:42 cmd 05:44:08 -rw-r--r--. 1 jenkins jenkins 22123 Jun 12 05:44 coverage.out 05:44:08 -rw-rw-r--. 1 jenkins jenkins 1422 Jun 12 05:42 Dockerfile 05:44:08 -rw-rw-r--. 1 jenkins jenkins 954 Jun 12 05:42 Dockerfile.build 05:44:08 -rw-rw-r--. 1 jenkins jenkins 140 Jun 12 05:42 .dockerignore 05:44:08 drwxrwxr-x. 8 jenkins jenkins 162 Jun 12 05:42 .git 05:44:08 -rw-rw-r--. 1 jenkins jenkins 330 Jun 12 05:42 .gitignore 05:44:08 -rw-r--r--. 1 jenkins jenkins 559 Jun 12 05:44 go.mod 05:44:08 -rw-r--r--. 1 jenkins jenkins 13471 Jun 12 05:44 go.sum 05:44:08 drwxrwxr-x. 3 jenkins jenkins 20 Jun 12 05:42 internal 05:44:08 -rw-rw-r--. 1 jenkins jenkins 702 Jun 12 05:42 Jenkinsfile 05:44:08 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 12 05:42 LICENSE 05:44:08 -rw-rw-r--. 1 jenkins jenkins 880 Jun 12 05:42 Makefile 05:44:08 -rw-rw-r--. 1 jenkins jenkins 591 Jun 12 05:42 README.md 05:44:08 drwxrwxr-x. 3 jenkins jenkins 44 Jun 12 05:42 .semver 05:44:08 drwxrwxr-x. 2 jenkins jenkins 35 Jun 12 05:42 simulator 05:44:08 drwxrwxr-x. 4 jenkins jenkins 54 Jun 12 05:42 snap 05:44:08 -rw-rw-r--. 1 jenkins jenkins 11 Jun 12 05:40 VERSION 05:44:08 -rw-rw-r--. 1 jenkins jenkins 229 Jun 12 05:42 version.go [Pipeline] isUnix [Pipeline] sh 05:44:09 + 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=fdf900d8a58188a2e8b2bc604c944c724a46cd8f --label arch=amd64 --label version=1.2.1-dev.3 . 05:44:09 Sending build context to Docker daemon 623.1kB 05:44:09 Step 1/19 : ARG BASE=golang:1.13-alpine 05:44:09 Step 2/19 : FROM ${BASE} AS builder 05:44:09 ---> 6254566705bc 05:44:09 Step 3/19 : ARG MAKE='make build' 05:44:09 + 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 . 05:44:09 ---> Running in d33eb9383e80 05:44:09 Removing intermediate container d33eb9383e80 05:44:09 ---> 6bc16bd6d1b5 05:44:09 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:09 ---> Running in 1dba9739ce3a 05:44:10 Sending build context to Docker daemon 594.4kB 05:44:10 Step 1/8 : ARG BASE=golang:1.13-alpine 05:44:10 Step 2/8 : FROM ${BASE} 05:44:10 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:44:10 cde5963f3b93: Pulling fs layer 05:44:10 2a23fa8c16f7: Pulling fs layer 05:44:10 777b28850792: Pulling fs layer 05:44:10 8a11ddd9e578: Pulling fs layer 05:44:10 4cf88f913ddb: Pulling fs layer 05:44:10 1df406cf5192: Pulling fs layer 05:44:10 cd6300453558: Pulling fs layer 05:44:10 b9c365052c96: Pulling fs layer 05:44:10 a2d8cc88f415: Pulling fs layer 05:44:10 4cf88f913ddb: Waiting 05:44:10 1df406cf5192: Waiting 05:44:10 cd6300453558: Waiting 05:44:10 b9c365052c96: Waiting 05:44:10 a2d8cc88f415: Waiting 05:44:10 8a11ddd9e578: Waiting 05:44:10 ea1d1ca13537: Pulling fs layer 05:44:10 3750a50a1c5e: Pulling fs layer 05:44:10 ea1d1ca13537: Waiting 05:44:10 3750a50a1c5e: Waiting 05:44:10 777b28850792: Verifying Checksum 05:44:10 777b28850792: Download complete 05:44:10 2a23fa8c16f7: Download complete 05:44:10 4cf88f913ddb: Download complete 05:44:10 1df406cf5192: Verifying Checksum 05:44:10 1df406cf5192: Download complete 05:44:10 cde5963f3b93: Verifying Checksum 05:44:10 Removing intermediate container 1dba9739ce3a 05:44:10 ---> d20b41463140 05:44:10 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 05:44:10 ---> Running in 86a868144af2 05:44:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 05:44:11 cde5963f3b93: Pull complete 05:44:11 2a23fa8c16f7: Pull complete 05:44:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 05:44:12 777b28850792: Pull complete 05:44:12 cd6300453558: Verifying Checksum 05:44:12 cd6300453558: Download complete 05:44:12 a2d8cc88f415: Verifying Checksum 05:44:12 a2d8cc88f415: Download complete 05:44:13 OK: 214 MiB in 52 packages 05:44:13 Removing intermediate container 86a868144af2 05:44:13 ---> b6932feb4fcf 05:44:13 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 05:44:13 ---> Running in 016d60658957 05:44:13 Removing intermediate container 016d60658957 05:44:13 ---> 85f51114eabc 05:44:13 Step 7/19 : COPY . . 05:44:14 ---> 9260f3aaeb66 05:44:14 Step 8/19 : RUN ${MAKE} 05:44:14 ---> Running in fef4efbea987 05:44:14 ea1d1ca13537: Verifying Checksum 05:44:14 ea1d1ca13537: Download complete 05:44:14 3750a50a1c5e: Verifying Checksum 05:44:14 3750a50a1c5e: Download complete 05:44:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1-dev.3" -o cmd/device-modbus ./cmd 05:44:15 b9c365052c96: Verifying Checksum 05:44:15 b9c365052c96: Download complete 05:44:16 8a11ddd9e578: Verifying Checksum 05:44:16 8a11ddd9e578: Download complete 05:44:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:44:26 Removing intermediate container fef4efbea987 05:44:26 ---> 26cfcfbff80d 05:44:26 Step 9/19 : FROM scratch 05:44:26 ---> 05:44:26 Step 10/19 : ENV APP_PORT=49991 05:44:26 ---> Running in f5433594848f 05:44:26 Removing intermediate container f5433594848f 05:44:26 ---> ba17efae07ee 05:44:26 Step 11/19 : EXPOSE $APP_PORT 05:44:26 8a11ddd9e578: Pull complete 05:44:26 4cf88f913ddb: Pull complete 05:44:26 1df406cf5192: Pull complete 05:44:26 ---> Running in 46525a8cf213 05:44:26 Removing intermediate container 46525a8cf213 05:44:26 ---> 8425baf3197c 05:44:26 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 05:44:27 ---> e7b1692d4b46 05:44:27 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 05:44:27 ---> 6b6c88a691e1 05:44:27 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 05:44:27 ---> 36de4940b14c 05:44:27 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 05:44:27 ---> Running in 30c76d1da4dd 05:44:27 Removing intermediate container 30c76d1da4dd 05:44:27 ---> 246f9475f8a7 05:44:27 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 05:44:27 ---> Running in 9543d1af9324 05:44:28 Removing intermediate container 9543d1af9324 05:44:28 ---> e6264ed4f996 05:44:28 Step 17/19 : LABEL arch=amd64 05:44:28 ---> Running in a7b0a0a156fd 05:44:28 Removing intermediate container a7b0a0a156fd 05:44:28 ---> f7255b00410e 05:44:28 Step 18/19 : LABEL git_sha=fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:44:28 ---> Running in fc7183cbf8f0 05:44:28 Removing intermediate container fc7183cbf8f0 05:44:28 ---> e46abec4b375 05:44:28 Step 19/19 : LABEL version=1.2.1-dev.3 05:44:28 ---> Running in 85999894c680 05:44:28 Removing intermediate container 85999894c680 05:44:28 ---> 1d66d2afb336 05:44:28 [Warning] One or more build-args [ARCH] were not consumed 05:44:28 Successfully built 1d66d2afb336 05:44:28 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 05:44:28 provisioning config files... 05:44:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config1371299403672040887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:29 nexus3.edgexfoundry.org:10001 05:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:29 Configure a credential helper to remove this warning. See 05:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:29 05:44:29 Login Succeeded 05:44:29 nexus3.edgexfoundry.org:10002 05:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:29 Configure a credential helper to remove this warning. See 05:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:29 05:44:29 Login Succeeded 05:44:29 nexus3.edgexfoundry.org:10003 05:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:29 Configure a credential helper to remove this warning. See 05:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:29 05:44:29 Login Succeeded 05:44:29 nexus3.edgexfoundry.org:10004 05:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:29 Configure a credential helper to remove this warning. See 05:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:29 05:44:29 Login Succeeded 05:44:29 docker.io 05:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:30 Configure a credential helper to remove this warning. See 05:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:30 05:44:30 Login Succeeded [Pipeline] } 05:44:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:30 [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: 05:44:30 fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:44:30 latest 05:44:30 1.2.1-dev.3 05:44:30 fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 05:44:30 master 05:44:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:30 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f [Pipeline] isUnix [Pipeline] sh 05:44:30 cd6300453558: Pull complete 05:44:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:44:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 05:44:31 c97c3959f2af: Preparing 05:44:31 305834dabbcd: Preparing 05:44:31 cfddfda668f1: Preparing 05:44:31 305834dabbcd: Pushed 05:44:31 c97c3959f2af: Pushed 05:44:31 cfddfda668f1: Pushed 05:44:31 fdf900d8a58188a2e8b2bc604c944c724a46cd8f: digest: sha256:089a47e5ab069797c1cdf967aa3b2fec67a110e492ca7257a4b561a6bc499990 size: 944 [Pipeline] isUnix [Pipeline] sh 05:44:32 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh 05:44:32 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest 05:44:32 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 05:44:32 c97c3959f2af: Preparing 05:44:32 305834dabbcd: Preparing 05:44:32 cfddfda668f1: Preparing 05:44:32 c97c3959f2af: Layer already exists 05:44:32 305834dabbcd: Layer already exists 05:44:32 cfddfda668f1: Layer already exists 05:44:32 latest: digest: sha256:089a47e5ab069797c1cdf967aa3b2fec67a110e492ca7257a4b561a6bc499990 size: 944 [Pipeline] isUnix [Pipeline] sh 05:44:33 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh 05:44:33 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.2.1-dev.3 05:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 05:44:33 c97c3959f2af: Preparing 05:44:33 305834dabbcd: Preparing 05:44:33 cfddfda668f1: Preparing 05:44:33 c97c3959f2af: Layer already exists 05:44:33 305834dabbcd: Layer already exists 05:44:33 cfddfda668f1: Layer already exists 05:44:33 1.2.1-dev.3: digest: sha256:089a47e5ab069797c1cdf967aa3b2fec67a110e492ca7257a4b561a6bc499990 size: 944 [Pipeline] isUnix [Pipeline] sh 05:44:33 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh 05:44:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 05:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 05:44:34 c97c3959f2af: Preparing 05:44:34 305834dabbcd: Preparing 05:44:34 cfddfda668f1: Preparing 05:44:34 cfddfda668f1: Layer already exists 05:44:34 c97c3959f2af: Layer already exists 05:44:34 305834dabbcd: Layer already exists 05:44:34 fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3: digest: sha256:089a47e5ab069797c1cdf967aa3b2fec67a110e492ca7257a4b561a6bc499990 size: 944 [Pipeline] isUnix [Pipeline] sh 05:44:34 + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh 05:44:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master 05:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] 05:44:34 c97c3959f2af: Preparing 05:44:34 305834dabbcd: Preparing 05:44:34 cfddfda668f1: Preparing 05:44:34 c97c3959f2af: Layer already exists 05:44:34 cfddfda668f1: Layer already exists 05:44:34 305834dabbcd: Layer already exists 05:44:34 master: digest: sha256:089a47e5ab069797c1cdf967aa3b2fec67a110e492ca7257a4b561a6bc499990 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 05:44:35 b9c365052c96: Pull complete 05:44:35 ++ find /w/workspace/device-modbus-go/12 05:44:35 ++ grep snapcraft.yaml 05:44:35 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/12/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:35 provisioning config files... 05:44:35 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/12@tmp/config2323939262541542021tmp [Pipeline] { [Pipeline] sh 05:44:35 a2d8cc88f415: Pull complete 05:44:35 + cp /w/workspace/device-modbus-go/12@tmp/config2323939262541542021tmp /w/workspace/device-modbus-go/12/edgex-snap-store-login [Pipeline] sh 05:44:35 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/12:/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 05:44:35 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 05:44:35 latest: Pulling from edgex-devops/edgex-snap-builder 05:44:35 5bed26d33875: Pulling fs layer 05:44:35 f11b29a9c730: Pulling fs layer 05:44:35 930bda195c84: Pulling fs layer 05:44:35 78bf9a5ad49e: Pulling fs layer 05:44:35 e5fbee5a4b0d: Pulling fs layer 05:44:35 f452fca78f88: Pulling fs layer 05:44:35 7417ef92027a: Pulling fs layer 05:44:35 2af5c49d270b: Pulling fs layer 05:44:35 df9c3bdbc40a: Pulling fs layer 05:44:35 f452fca78f88: Waiting 05:44:35 7417ef92027a: Waiting 05:44:35 2af5c49d270b: Waiting 05:44:35 df9c3bdbc40a: Waiting 05:44:35 78bf9a5ad49e: Waiting 05:44:35 e5fbee5a4b0d: Waiting 05:44:35 930bda195c84: Verifying Checksum 05:44:35 930bda195c84: Download complete 05:44:35 f11b29a9c730: Verifying Checksum 05:44:35 f11b29a9c730: Download complete 05:44:35 78bf9a5ad49e: Download complete 05:44:35 f452fca78f88: Verifying Checksum 05:44:35 f452fca78f88: Download complete 05:44:35 7417ef92027a: Verifying Checksum 05:44:35 7417ef92027a: Download complete 05:44:35 2af5c49d270b: Download complete 05:44:36 df9c3bdbc40a: Verifying Checksum 05:44:36 df9c3bdbc40a: Download complete 05:44:36 5bed26d33875: Verifying Checksum 05:44:36 5bed26d33875: Download complete 05:44:37 ea1d1ca13537: Pull complete 05:44:38 3750a50a1c5e: Pull complete 05:44:38 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 05:44:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 05:44:38 ---> 78745c68409d 05:44:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 05:44:39 e5fbee5a4b0d: Verifying Checksum 05:44:39 e5fbee5a4b0d: Download complete 05:44:40 5bed26d33875: Pull complete 05:44:41 f11b29a9c730: Pull complete 05:44:41 930bda195c84: Pull complete 05:44:41 78bf9a5ad49e: Pull complete 05:44:43 ---> Running in 6c664d093437 05:44:43 Removing intermediate container 6c664d093437 05:44:43 ---> eede90176938 05:44:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:43 ---> Running in 46df881d56d4 05:44:46 Removing intermediate container 46df881d56d4 05:44:46 ---> 3041549ccd8d 05:44:46 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 05:44:46 ---> Running in ca2940048e66 05:44:47 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:44:48 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:44:49 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 05:44:49 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 05:44:50 (3/18) Installing libmagic (5.37-r1) 05:44:50 (4/18) Installing file (5.37-r1) 05:44:50 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 05:44:51 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 05:44:51 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 05:44:55 (8/18) Installing libc-dev (0.7.2-r0) 05:44:55 (9/18) Installing g++ (9.2.0-r4) 05:44:57 (10/18) Installing fortify-headers (1.1-r0) 05:44:57 (11/18) Installing build-base (0.5-r1) 05:44:58 (12/18) Installing openssh-keygen (8.1_p1-r0) 05:44:58 (13/18) Installing libedit (20191211.3.1-r0) 05:44:58 (14/18) Installing openssh-client (8.1_p1-r0) 05:44:58 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 05:44:58 (16/18) Installing openssh-server-common (8.1_p1-r0) 05:44:58 (17/18) Installing openssh-server (8.1_p1-r0) 05:44:58 (18/18) Installing openssh (8.1_p1-r0) 05:44:59 Executing busybox-1.31.1-r8.trigger 05:44:59 OK: 203 MiB in 52 packages 05:45:05 Removing intermediate container ca2940048e66 05:45:05 ---> e99b299e5adc 05:45:05 Step 6/8 : WORKDIR /device-modbus-go 05:45:05 ---> Running in 497ab22579c9 05:45:05 Removing intermediate container 497ab22579c9 05:45:05 ---> 513f27319a75 05:45:05 Step 7/8 : COPY . . 05:45:06 ---> 0acfb0cf53a2 05:45:06 Step 8/8 : RUN go mod download 05:45:06 ---> Running in fa845c7c5faf 05:45:08 e5fbee5a4b0d: Pull complete 05:45:08 f452fca78f88: Pull complete 05:45:08 7417ef92027a: Pull complete 05:45:08 2af5c49d270b: Pull complete 05:45:08 df9c3bdbc40a: Pull complete 05:45:08 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 05:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 05:45:09 go: finding github.com/BurntSushi/toml v0.3.1 05:45:09 go: finding github.com/OneOfOne/xxhash v1.2.6 05:45:09 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 05:45:09 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:45:09 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 05:45:09 go: finding github.com/bgentry/speakeasy v0.1.0 05:45:09 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:45:09 go: finding github.com/davecgh/go-spew v1.1.1 05:45:09 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:45:09 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:45:09 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:45:09 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:45:09 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:45:09 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:45:09 go: finding github.com/fatih/color v1.7.0 05:45:09 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:45:09 go: finding github.com/go-kit/kit v0.8.0 05:45:09 go: finding github.com/go-logfmt/logfmt v0.4.0 05:45:09 go: finding github.com/go-stack/stack v1.8.0 05:45:09 go: finding github.com/goburrow/modbus v0.1.0 05:45:09 go: finding github.com/goburrow/serial v0.1.0 05:45:09 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:45:09 go: finding github.com/google/uuid v1.1.1 05:45:09 go: finding github.com/gorilla/mux v1.7.1 05:45:09 go: finding github.com/hashicorp/consul/api v1.1.0 05:45:09 go: finding github.com/hashicorp/consul/sdk v0.1.1 05:45:09 go: finding github.com/hashicorp/errwrap v1.0.0 05:45:09 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:45:09 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:45:09 go: finding github.com/hashicorp/go-msgpack v0.5.3 05:45:09 go: finding github.com/hashicorp/go-multierror v1.0.0 05:45:09 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:45:09 go: finding github.com/hashicorp/go-sockaddr v1.0.1 05:45:09 go: finding github.com/hashicorp/go-syslog v1.0.0 05:45:09 go: finding github.com/hashicorp/go-uuid v1.0.1 05:45:09 go: finding github.com/hashicorp/go.net v0.0.1 05:45:09 go: finding github.com/hashicorp/golang-lru v0.5.1 05:45:09 go: finding github.com/hashicorp/logutils v1.0.0 05:45:09 go: finding github.com/hashicorp/mdns v1.0.0 05:45:09 go: finding github.com/hashicorp/memberlist v0.1.3 05:45:09 go: finding github.com/hashicorp/serf v0.8.2 05:45:09 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 05:45:09 go: finding github.com/mattn/go-colorable v0.0.9 05:45:09 go: finding github.com/mattn/go-isatty v0.0.3 05:45:09 go: finding github.com/miekg/dns v1.1.4 05:45:09 go: finding github.com/mitchellh/cli v1.0.0 05:45:09 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:45:09 go: finding github.com/mitchellh/copystructure v1.0.0 05:45:09 go: finding github.com/mitchellh/go-homedir v1.1.0 05:45:09 go: finding github.com/mitchellh/go-testing-interface v1.0.0 05:45:09 go: finding github.com/mitchellh/go-wordwrap v1.0.0 05:45:09 go: finding github.com/mitchellh/gox v0.4.0 05:45:09 go: finding github.com/mitchellh/iochan v1.0.0 05:45:09 go: finding github.com/mitchellh/mapstructure v1.1.2 05:45:09 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:45:09 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:45:09 go: finding github.com/pelletier/go-toml v1.2.0 05:45:09 go: finding github.com/pkg/errors v0.8.1 05:45:09 go: finding github.com/pmezard/go-difflib v1.0.0 05:45:09 go: finding github.com/posener/complete v1.1.1 05:45:09 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 05:45:09 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:45:09 go: finding github.com/stretchr/objx v0.1.0 05:45:09 go: finding github.com/stretchr/testify v1.5.1 05:45:09 go: finding github.com/ugorji/go v1.1.4 05:45:09 go: finding github.com/x448/float16 v0.8.4 05:45:09 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 05:45:09 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 05:45:09 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 05:45:09 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 05:45:09 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 05:45:09 go: finding gopkg.in/yaml.v2 v2.2.8 05:45:10 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 05:45:10 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 05:45:10 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 05:45:10 Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [958 kB] 05:45:10 Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 05:45:10 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [80.7 kB] 05:45:11 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.3 kB] 05:45:11 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1392 kB] 05:45:11 Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [861 kB] 05:45:11 Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9092 B] 05:45:11 Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [66.4 kB] 05:45:11 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1253 kB] 05:45:11 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 05:45:11 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [8158 B] 05:45:11 Fetched 4909 kB in 2s (2281 kB/s) 05:45:13 Reading package lists... 05:45:18 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 05:45:19 Reading package lists... 05:45:19 Building dependency tree... 05:45:19 Reading state information... 05:45:19 The following packages were automatically installed and are no longer required: 05:45:19 libjq1 liblzo2-2 libonig4 05:45:19 Use 'sudo apt autoremove' to remove them. 05:45:19 Suggested packages: 05:45:19 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 05:45:19 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 05:45:19 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 05:45:19 libterm-readline-gnu-perl | libterm-readline-perl-perl 05:45:19 Removing intermediate container fa845c7c5faf 05:45:19 ---> bfc9f69d234c 05:45:19 Successfully built bfc9f69d234c 05:45:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage 05:45:20 The following NEW packages will be installed: 05:45:20 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 05:45:20 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 05:45:20 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 05:45:20 openssh-client patch perl perl-modules-5.26 xauth [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:45:20 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 05:45:20 Need to get 14.7 MB of archives. 05:45:20 After this operation, 89.5 MB of additional disk space will be used. 05:45:20 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 05:45:20 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 05:45:20 + docker inspect -f . ci-base-image-arm64 05:45:20 . [Pipeline] withDockerContainer 05:45:20 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 05:45:20 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 05:45:20 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 05:45:20 prd-ubuntu18.04-docker-arm64-4c-16g-2715 does not seem to be running inside a container 05:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/12 -v /w/workspace/device-modbus-go/12:/w/workspace/device-modbus-go/12:rw,z -v /w/workspace/device-modbus-go/12@tmp:/w/workspace/device-modbus-go/12@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 05:45:20 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 05:45:21 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 05:45:21 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 05:45:21 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 05:45:21 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 05:45:21 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 05:45:21 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 05:45:21 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 05:45:21 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 05:45:21 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 05:45:21 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 05:45:21 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 05:45:21 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 05:45:21 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 05:45:21 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 05:45:21 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 05:45:21 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 05:45:21 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 05:45:21 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 05:45:21 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 05:45:22 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 05:45:22 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 05:45:22 debconf: delaying package configuration, since apt-utils is not installed 05:45:22 Fetched 14.7 MB in 2s (7012 kB/s) 05:45:22 Selecting previously unselected package libxau6:amd64. 05:45:22 (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.) 05:45:22 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 05:45:22 Unpacking libxau6:amd64 (1:1.0.8-1) ... 05:45:22 Selecting previously unselected package libbsd0:amd64. 05:45:22 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 05:45:22 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 05:45:22 Selecting previously unselected package libxdmcp6:amd64. 05:45:22 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 05:45:22 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 05:45:22 $ docker top ca212e6717b76f18772869481e5134fd55591c89c81424da7c6916040b93a2cf -eo pid,comm 05:45:22 Selecting previously unselected package libxcb1:amd64. 05:45:22 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 05:45:22 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 05:45:22 Selecting previously unselected package libx11-data. 05:45:22 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 05:45:22 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... [Pipeline] { [Pipeline] sh 05:45:23 Selecting previously unselected package libx11-6:amd64. 05:45:23 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 05:45:23 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 05:45:23 Selecting previously unselected package libxext6:amd64. 05:45:23 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 05:45:23 Unpacking libxext6:amd64 (2:1.3.3-1) ... 05:45:23 Selecting previously unselected package perl-modules-5.26. 05:45:23 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 05:45:23 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:45:24 + go version 05:45:24 go version go1.13.5 linux/arm64 [Pipeline] sh 05:45:25 + make test 05:45:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:45:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:45:26 Selecting previously unselected package libgdbm5:amd64. 05:45:26 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 05:45:26 Unpacking libgdbm5:amd64 (1.14.1-6) ... 05:45:26 Selecting previously unselected package libgdbm-compat4:amd64. 05:45:26 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 05:45:26 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 05:45:26 Selecting previously unselected package libperl5.26:amd64. 05:45:26 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 05:45:26 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 05:45:27 Selecting previously unselected package perl. 05:45:27 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 05:45:27 Unpacking perl (5.26.1-6ubuntu0.3) ... 05:45:28 Selecting previously unselected package less. 05:45:28 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 05:45:28 Unpacking less (487-0.1) ... 05:45:28 Selecting previously unselected package libexpat1:amd64. 05:45:28 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 05:45:28 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 05:45:28 Selecting previously unselected package netbase. 05:45:28 Preparing to unpack .../14-netbase_5.4_all.deb ... 05:45:28 Unpacking netbase (5.4) ... 05:45:28 Selecting previously unselected package libedit2:amd64. 05:45:28 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 05:45:28 Unpacking libedit2:amd64 (3.1-20170329-1) ... 05:45:28 Selecting previously unselected package libssl1.0.0:amd64. 05:45:28 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 05:45:28 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 05:45:28 Selecting previously unselected package libxmuu1:amd64. 05:45:28 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 05:45:28 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 05:45:28 Selecting previously unselected package openssh-client. 05:45:28 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 05:45:28 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 05:45:28 Selecting previously unselected package xauth. 05:45:28 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 05:45:28 Unpacking xauth (1:1.0.10-1) ... 05:45:28 Selecting previously unselected package curl. 05:45:28 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 05:45:28 Unpacking curl (7.58.0-2ubuntu3.8) ... 05:45:29 Selecting previously unselected package libcurl3-gnutls:amd64. 05:45:29 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 05:45:29 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 05:45:29 Selecting previously unselected package liberror-perl. 05:45:29 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 05:45:29 Unpacking liberror-perl (0.17025-1) ... 05:45:29 Selecting previously unselected package git-man. 05:45:29 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 05:45:29 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 05:45:29 Selecting previously unselected package git. 05:45:29 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 05:45:29 Unpacking git (1:2.17.1-1ubuntu0.7) ... 05:45:30 Selecting previously unselected package make. 05:45:30 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 05:45:30 Unpacking make (4.1-9.1ubuntu1) ... 05:45:30 Selecting previously unselected package patch. 05:45:30 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 05:45:30 Unpacking patch (2.7.6-2ubuntu1.1) ... 05:45:30 Setting up libedit2:amd64 (3.1-20170329-1) ... 05:45:30 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 05:45:30 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 05:45:30 Setting up less (487-0.1) ... 05:45:30 Setting up make (4.1-9.1ubuntu1) ... 05:45:31 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 05:45:31 Setting up curl (7.58.0-2ubuntu3.8) ... 05:45:31 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 05:45:31 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:45:31 Setting up libgdbm5:amd64 (1.14.1-6) ... 05:45:31 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 05:45:31 Setting up patch (2.7.6-2ubuntu1.1) ... 05:45:31 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 05:45:31 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 05:45:31 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 05:45:31 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 05:45:31 Setting up libxau6:amd64 (1:1.0.8-1) ... 05:45:31 Setting up netbase (5.4) ... 05:45:31 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 05:45:31 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 05:45:31 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 05:45:31 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 05:45:31 Setting up perl (5.26.1-6ubuntu0.3) ... 05:45:31 Setting up libxext6:amd64 (2:1.3.3-1) ... 05:45:31 Setting up liberror-perl (0.17025-1) ... 05:45:31 Setting up xauth (1:1.0.10-1) ... 05:45:31 Setting up git (1:2.17.1-1ubuntu0.7) ... 05:45:31 Processing triggers for libc-bin (2.27-3ubuntu1) ... 05:45:34 curl set to automatically installed. 05:45:34 git set to automatically installed. 05:45:34 git-man set to automatically installed. 05:45:34 less set to automatically installed. 05:45:34 libbsd0 set to automatically installed. 05:45:34 libcurl3-gnutls set to automatically installed. 05:45:34 libedit2 set to automatically installed. 05:45:34 liberror-perl set to automatically installed. 05:45:34 libexpat1 set to automatically installed. 05:45:34 libgdbm-compat4 set to automatically installed. 05:45:34 libgdbm5 set to automatically installed. 05:45:34 libperl5.26 set to automatically installed. 05:45:34 libssl1.0.0 set to automatically installed. 05:45:34 libx11-6 set to automatically installed. 05:45:34 libx11-data set to automatically installed. 05:45:34 libxau6 set to automatically installed. 05:45:34 libxcb1 set to automatically installed. 05:45:34 libxdmcp6 set to automatically installed. 05:45:34 libxext6 set to automatically installed. 05:45:34 libxmuu1 set to automatically installed. 05:45:34 make set to automatically installed. 05:45:34 netbase set to automatically installed. 05:45:34 openssh-client set to automatically installed. 05:45:34 patch set to automatically installed. 05:45:34 perl set to automatically installed. 05:45:34 perl-modules-5.26 set to automatically installed. 05:45:34 xauth set to automatically installed. 05:45:34 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 05:45:34 Please ensure the environment is properly setup before continuing. 05:45:34 Ignore this message if the appropriate measures have already been taken 05:45:34 Pulling go 05:45:35 'device-modbus' has dependencies that need to be staged: go 05:45:35 Skipping pull go (already ran) 05:45:35 Building go 05:45:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:35 Dload Upload Total Spent Left Speed 05:45:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 19 114M 19 22.8M 0 0 30.8M 0 0:00:03 --:--:-- 0:00:03 30.8M 65 114M 65 75.3M 0 0 48.1M 0 0:00:02 0:00:01 0:00:01 48.0M 100 114M 100 114M 0 0 51.6M 0 0:00:02 0:00:02 --:--:-- 51.6M 05:45:38 go1.13.5.linux-amd64.tar.gz: OK 05:45:46 Staging go 05:45:47 Pulling device-modbus 05:45:48 Skipping build go (already ran) 05:45:48 Building device-modbus 05:45:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1-dev.3" -o cmd/device-modbus ./cmd 05:45:49 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.2 05:45:49 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:45:49 go: downloading github.com/goburrow/modbus v0.1.0 05:45:49 go: extracting github.com/goburrow/modbus v0.1.0 05:45:49 go: downloading github.com/goburrow/serial v0.1.0 05:45:49 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.2 05:45:49 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:45:49 go: extracting github.com/goburrow/serial v0.1.0 05:45:49 go: downloading github.com/gorilla/mux v1.7.1 05:45:49 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:45:49 go: downloading github.com/google/uuid v1.1.1 05:45:49 go: downloading gopkg.in/yaml.v2 v2.2.8 05:45:49 go: extracting github.com/gorilla/mux v1.7.1 05:45:49 go: extracting gopkg.in/yaml.v2 v2.2.8 05:45:49 go: extracting github.com/google/uuid v1.1.1 05:45:49 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:45:49 go: downloading github.com/go-kit/kit v0.8.0 05:45:49 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 05:45:49 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 05:45:49 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 05:45:49 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 05:45:49 go: downloading github.com/OneOfOne/xxhash v1.2.6 05:45:49 go: downloading github.com/pelletier/go-toml v1.2.0 05:45:49 go: downloading github.com/BurntSushi/toml v0.3.1 05:45:49 go: downloading github.com/pkg/errors v0.8.1 05:45:49 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 05:45:49 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 05:45:49 go: downloading github.com/hashicorp/consul/api v1.1.0 05:45:49 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 05:45:49 go: downloading github.com/x448/float16 v0.8.4 05:45:49 go: extracting github.com/pkg/errors v0.8.1 05:45:49 go: extracting github.com/BurntSushi/toml v0.3.1 05:45:49 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 05:45:49 go: extracting github.com/OneOfOne/xxhash v1.2.6 05:45:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:45:49 go: extracting github.com/pelletier/go-toml v1.2.0 05:45:49 go: extracting github.com/go-kit/kit v0.8.0 05:45:49 go: extracting github.com/x448/float16 v0.8.4 05:45:49 go: extracting github.com/hashicorp/consul/api v1.1.0 05:45:49 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:45:49 go: downloading github.com/mitchellh/copystructure v1.0.0 05:45:49 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:45:49 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:45:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:45:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 05:45:49 go: downloading github.com/hashicorp/serf v0.8.2 05:45:49 go: downloading github.com/go-logfmt/logfmt v0.4.0 05:45:49 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 05:45:49 go: extracting github.com/mitchellh/copystructure v1.0.0 05:45:49 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 05:45:49 go: extracting github.com/mitchellh/mapstructure v1.1.2 05:45:49 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:45:49 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 05:45:49 go: extracting github.com/hashicorp/serf v0.8.2 05:45:49 go: extracting github.com/go-logfmt/logfmt v0.4.0 05:45:49 go: extracting github.com/mitchellh/reflectwalk v1.0.0 05:45:49 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:45:49 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:45:49 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:45:49 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 05:45:49 go: downloading github.com/hashicorp/golang-lru v0.5.1 05:45:49 go: extracting github.com/hashicorp/golang-lru v0.5.1 05:45:49 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:45:49 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:45:49 go: finding github.com/goburrow/modbus v0.1.0 05:45:49 go: finding github.com/gorilla/mux v1.7.1 05:45:49 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:45:49 go: finding github.com/go-kit/kit v0.8.0 05:45:49 go: finding github.com/goburrow/serial v0.1.0 05:45:49 go: finding github.com/google/uuid v1.1.1 05:45:49 go: finding github.com/OneOfOne/xxhash v1.2.6 05:45:49 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:45:50 go: finding github.com/x448/float16 v0.8.4 05:45:50 go: finding github.com/go-logfmt/logfmt v0.4.0 05:45:50 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:45:50 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:45:50 go: finding gopkg.in/yaml.v2 v2.2.8 05:45:50 go: finding github.com/BurntSushi/toml v0.3.1 05:45:50 go: finding github.com/pkg/errors v0.8.1 05:45:50 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:45:50 go: finding github.com/hashicorp/consul/api v1.1.0 05:45:50 go: finding github.com/pelletier/go-toml v1.2.0 05:45:50 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:45:50 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:45:50 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:45:50 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:45:50 go: finding github.com/mitchellh/copystructure v1.0.0 05:45:50 go: finding github.com/mitchellh/mapstructure v1.1.2 05:45:50 go: finding github.com/hashicorp/serf v0.8.2 05:45:50 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:45:50 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:45:50 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:45:50 go: finding github.com/hashicorp/golang-lru v0.5.1 05:45:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:45:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.233s coverage: 50.3% of statements 05:45:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:45:59 gofmt -l . 05:46:00 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:46:00 [ "`gofmt -l .`" = "" ] 05:46:00 ./bin/test-attribution-txt.sh 05:46:00 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:46:01 Warning: overwriting stash ‘coverage-report’ 05:46:01 Stashed 1 file(s) [Pipeline] } 05:46:01 $ docker stop --time=1 ca212e6717b76f18772869481e5134fd55591c89c81424da7c6916040b93a2cf 05:46:03 Skipping stage go (already ran) 05:46:03 Staging device-modbus 05:46:04 $ docker rm -f ca212e6717b76f18772869481e5134fd55591c89c81424da7c6916040b93a2cf 05:46:04 Priming go [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:46:05 Priming device-modbus 05:46:05 + ls -al . 05:46:05 total 136 05:46:05 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 05:46 . 05:46:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:44 .. 05:46:05 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 05:44 .dockerignore 05:46:05 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 05:44 .git 05:46:05 -rw-rw-r-- 1 jenkins jenkins 330 Jun 12 05:44 .gitignore 05:46:05 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 .semver 05:46:05 -rw-rw-r-- 1 jenkins jenkins 5049 Jun 12 05:44 Attribution.txt 05:46:05 -rw-rw-r-- 1 jenkins jenkins 1422 Jun 12 05:44 Dockerfile 05:46:05 -rw-rw-r-- 1 jenkins jenkins 954 Jun 12 05:44 Dockerfile.build 05:46:05 -rw-rw-r-- 1 jenkins jenkins 702 Jun 12 05:44 Jenkinsfile 05:46:05 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 05:44 LICENSE 05:46:05 -rw-rw-r-- 1 jenkins jenkins 880 Jun 12 05:44 Makefile 05:46:05 -rw-rw-r-- 1 jenkins jenkins 591 Jun 12 05:44 README.md 05:46:05 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 05:40 VERSION 05:46:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:44 bin 05:46:05 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 cmd 05:46:05 -rw-r--r-- 1 jenkins jenkins 22123 Jun 12 05:45 coverage.out 05:46:05 -rw-r--r-- 1 jenkins jenkins 559 Jun 12 05:46 go.mod 05:46:05 -rw-r--r-- 1 jenkins jenkins 13471 Jun 12 05:46 go.sum 05:46:05 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 05:44 internal 05:46:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 05:44 simulator 05:46:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 05:44 snap 05:46:05 -rw-rw-r-- 1 jenkins jenkins 229 Jun 12 05:44 version.go [Pipeline] isUnix [Pipeline] sh 05:46:05 + 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=fdf900d8a58188a2e8b2bc604c944c724a46cd8f --label arch=arm64 --label version=1.2.1-dev.3 . 05:46:05 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 05:46:05 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 05:46:05 Determining the version from the project repo (version-script). 05:46:05 The version has been set to '1.2.1-dev.3-20200612+fdf900d' 05:46:06 Sending build context to Docker daemon 623.1kB 05:46:06 Snapping 'edgex-device-modbus' ... 05:46:06 Step 1/19 : ARG BASE=golang:1.13-alpine 05:46:06 Step 2/19 : FROM ${BASE} AS builder 05:46:06 ---> bfc9f69d234c 05:46:06 Step 3/19 : ARG MAKE='make build' 05:46:06 ---> Running in a7dd1f1b88fd 05:46:07 Removing intermediate container a7dd1f1b88fd 05:46:07 ---> 1ca975d5d1f0 05:46:07 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:46:07 ---> Running in e9bab1b0af3a 05:46:07 05:46:07 Snapped edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap 05:46:09 Removing intermediate container e9bab1b0af3a 05:46:09 ---> 17a272b67e98 05:46:09 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 05:46:09 ---> Running in 22cc67a718bc 05:46:10 05:46:10 Login successful. You now have these capabilities: 05:46:10 05:46:10 snaps: No restriction 05:46:10 channels: No restriction 05:46:10 permissions: ['package_access', 'package_manage', 'package_push', 'package_register', 'package_release', 'package_update'] 05:46:10 expires: 2020-06-19T16:50:48.252993 05:46:10 05:46:11 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 05:46:11 Preparing to push 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap'. 05:46:11 After pushing, the resulting snap revision will be released to 'latest/edge' when it passes the Snap Store review. 05:46:11 Install the review-tools from the Snap Store for enhanced checks before uploading this snap. 05:46:12 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 05:46:12 OK: 203 MiB in 52 packages 05:46:13 Removing intermediate container 22cc67a718bc 05:46:13 ---> 7417048fd90c 05:46:13 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 05:46:14 ---> Running in 1001e7d1c051 05:46:14 Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 0% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 1% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 2% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 3% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 4% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 5% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 6% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 7% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 8% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 9% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 10% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 12% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 13% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 14% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 15% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 16% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 17% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 18% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 19% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 20% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 21% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 23% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 24% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 25% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 26% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 27% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 28% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 29% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 30% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 31% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 32% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 34% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 35% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 36% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 37% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 38% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 39% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 40% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 41% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 42% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 43% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 45% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 46% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 47% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 48% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [ ] 49% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 50% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 51% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 52% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 53% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 54% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 56% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 57% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 58% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 59% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 60% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 61% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 62% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 63% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 64% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 65% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 67% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 68% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 69% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 70% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 71% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 72% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 73% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 74% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 75% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 76% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 78% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 79% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 80% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 81% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 82% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 83% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 84% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 85% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 86% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 87% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 89% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 90% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 91% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 92% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 93% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 94% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 95% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 96% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 97% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [= ] 98% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [==] 100% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' [==] 100% 05:46:14 Removing intermediate container 1001e7d1c051 05:46:14 ---> eb0cefcf0a5b 05:46:14 Step 7/19 : COPY . . 05:46:15 ---> c35b2b83c681 05:46:15 Step 8/19 : RUN ${MAKE} 05:46:15 ---> Running in 2837d8f07357 05:46:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1-dev.3" -o cmd/device-modbus ./cmd 05:46:27 Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| released 05:46:27 Revision 1253 of 'edgex-device-modbus' created. 05:46:28 Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing...| 05:46:28 Track Arch Channel Version Revision Notes 05:46:28 edinburgh amd64 stable - - - 05:46:28 candidate - - - 05:46:28 beta 1.0.0-20190626+739f7ef 112 - 05:46:28 edge 1.0.0-20200103+c777f31 956 - 05:46:28 fuji amd64 stable 1.1.1-20200228+37c94ae 1087 - 05:46:28 candidate ^ ^ - 05:46:28 beta 1.1.1-20200228+37c94ae 1087 - 05:46:28 edge 1.1.1-20200422+37c94ae 1193 - 05:46:28 geneva amd64 stable 1.2.0-20200518+a219397 1203 - 05:46:28 candidate ^ ^ - 05:46:28 beta ^ ^ - 05:46:28 edge ^ ^ - 05:46:28 latest amd64 stable 1.2.0-20200518+a219397 1203 - 05:46:28 candidate 1.2.0-20200518+a219397 1203 - 05:46:28 beta 1.2.0-20200518+a219397 1203 - 05:46:28 edge 1.2.1-dev.3-20200612+fdf900d 1253 - 05:46:29 Pushing metadata from 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_amd64.snap' 05:46:32 The metadata has been pushed [Pipeline] } 05:46:33 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] } 05:46:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:46:49 Removing intermediate container 2837d8f07357 05:46:49 ---> 9d9061bda4d9 05:46:49 Step 9/19 : FROM scratch 05:46:49 ---> 05:46:49 Step 10/19 : ENV APP_PORT=49991 05:46:49 ---> Running in ec6641c9a9e6 05:46:49 Removing intermediate container ec6641c9a9e6 05:46:49 ---> 4f0491ce2089 05:46:49 Step 11/19 : EXPOSE $APP_PORT 05:46:49 ---> Running in 1168e76735dd 05:46:50 Removing intermediate container 1168e76735dd 05:46:50 ---> 5876c5ac6d78 05:46:50 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 05:46:51 ---> 5f8670fd4615 05:46:51 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 05:46:52 ---> 50902ec405f2 05:46:52 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 05:46:53 ---> 5c253f816e58 05:46:53 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 05:46:53 ---> Running in 753f8bc5bc42 05:46:53 Removing intermediate container 753f8bc5bc42 05:46:53 ---> 0579fb6f0f11 05:46:53 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 05:46:53 ---> Running in 264e791da454 05:46:54 Removing intermediate container 264e791da454 05:46:54 ---> 9ff8543c6e19 05:46:54 Step 17/19 : LABEL arch=arm64 05:46:54 ---> Running in bed18b114424 05:46:54 Removing intermediate container bed18b114424 05:46:54 ---> 07ccab250ac4 05:46:54 Step 18/19 : LABEL git_sha=fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:46:54 ---> Running in ecfef3a3e48f 05:46:55 Removing intermediate container ecfef3a3e48f 05:46:55 ---> cc18e75e7277 05:46:55 Step 19/19 : LABEL version=1.2.1-dev.3 05:46:55 ---> Running in 2dd559ffe9e0 05:46:56 Removing intermediate container 2dd559ffe9e0 05:46:56 ---> dac3e726041f 05:46:56 [Warning] One or more build-args [ARCH] were not consumed 05:46:56 Successfully built dac3e726041f 05:46:56 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 05:46:56 provisioning config files... 05:46:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/12@tmp/config1798777874407311349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:56 nexus3.edgexfoundry.org:10001 05:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:57 Configure a credential helper to remove this warning. See 05:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:57 05:46:57 Login Succeeded 05:46:57 nexus3.edgexfoundry.org:10002 05:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:57 Configure a credential helper to remove this warning. See 05:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:57 05:46:57 Login Succeeded 05:46:57 nexus3.edgexfoundry.org:10003 05:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:58 Configure a credential helper to remove this warning. See 05:46:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:58 05:46:58 Login Succeeded 05:46:58 nexus3.edgexfoundry.org:10004 05:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:59 Configure a credential helper to remove this warning. See 05:46:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:59 05:46:59 Login Succeeded 05:46:59 docker.io 05:46:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:00 Configure a credential helper to remove this warning. See 05:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:00 05:47:00 Login Succeeded [Pipeline] } 05:47:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:47:00 [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: 05:47:00 fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:47:00 latest 05:47:00 1.2.1-dev.3 05:47:00 fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 05:47:00 master 05:47:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:47:00 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f [Pipeline] isUnix [Pipeline] sh 05:47:00 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:47:00 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 05:47:00 2ceb9060e5f4: Preparing 05:47:00 a207f50f204e: Preparing 05:47:00 a935f02ff41a: Preparing 05:47:01 a207f50f204e: Pushed 05:47:01 2ceb9060e5f4: Pushed 05:47:03 a935f02ff41a: Pushed 05:47:03 fdf900d8a58188a2e8b2bc604c944c724a46cd8f: digest: sha256:d685b38eef81ea4456bfddf0cba99941dd67f282a7d5ff912a4e37197a1525ca size: 944 [Pipeline] isUnix [Pipeline] sh 05:47:04 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:47:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest 05:47:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 05:47:04 2ceb9060e5f4: Preparing 05:47:04 a207f50f204e: Preparing 05:47:04 a935f02ff41a: Preparing 05:47:04 a935f02ff41a: Layer already exists 05:47:04 2ceb9060e5f4: Layer already exists 05:47:04 a207f50f204e: Layer already exists 05:47:04 latest: digest: sha256:d685b38eef81ea4456bfddf0cba99941dd67f282a7d5ff912a4e37197a1525ca size: 944 [Pipeline] isUnix [Pipeline] sh 05:47:05 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh 05:47:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.2.1-dev.3 05:47:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 05:47:05 2ceb9060e5f4: Preparing 05:47:05 a207f50f204e: Preparing 05:47:05 a935f02ff41a: Preparing 05:47:05 a935f02ff41a: Layer already exists 05:47:05 2ceb9060e5f4: Layer already exists 05:47:05 a207f50f204e: Layer already exists 05:47:05 1.2.1-dev.3: digest: sha256:d685b38eef81ea4456bfddf0cba99941dd67f282a7d5ff912a4e37197a1525ca size: 944 [Pipeline] isUnix [Pipeline] sh 05:47:06 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 [Pipeline] isUnix [Pipeline] sh 05:47:06 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3 05:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 05:47:06 2ceb9060e5f4: Preparing 05:47:06 a207f50f204e: Preparing 05:47:06 a935f02ff41a: Preparing 05:47:06 a207f50f204e: Layer already exists 05:47:06 2ceb9060e5f4: Layer already exists 05:47:06 a935f02ff41a: Layer already exists 05:47:06 fdf900d8a58188a2e8b2bc604c944c724a46cd8f-1.2.1-dev.3: digest: sha256:d685b38eef81ea4456bfddf0cba99941dd67f282a7d5ff912a4e37197a1525ca size: 944 [Pipeline] isUnix [Pipeline] sh 05:47:07 + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh 05:47:07 + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master 05:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] 05:47:07 2ceb9060e5f4: Preparing 05:47:07 a207f50f204e: Preparing 05:47:07 a935f02ff41a: Preparing 05:47:07 2ceb9060e5f4: Layer already exists 05:47:07 a935f02ff41a: Layer already exists 05:47:07 a207f50f204e: Layer already exists 05:47:07 master: digest: sha256:d685b38eef81ea4456bfddf0cba99941dd67f282a7d5ff912a4e37197a1525ca 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 05:47:08 + find /w/workspace/device-modbus-go/12 05:47:08 + grep snapcraft.yaml 05:47:08 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/12/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:08 provisioning config files... 05:47:08 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/12@tmp/config5372008242103637688tmp [Pipeline] { [Pipeline] sh 05:47:09 + cp /w/workspace/device-modbus-go/12@tmp/config5372008242103637688tmp /w/workspace/device-modbus-go/12/edgex-snap-store-login [Pipeline] sh 05:47:09 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/12:/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 05:47:09 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 05:47:09 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 05:47:09 b2f61026a351: Pulling fs layer 05:47:09 5538fb30c42c: Pulling fs layer 05:47:09 f0b05810781a: Pulling fs layer 05:47:09 0180a33352d6: Pulling fs layer 05:47:09 e7604b0c0f53: Pulling fs layer 05:47:09 db689cb83ae0: Pulling fs layer 05:47:09 6138af208834: Pulling fs layer 05:47:09 007c8e8c5d63: Pulling fs layer 05:47:09 4f7a387c642f: Pulling fs layer 05:47:09 db689cb83ae0: Waiting 05:47:09 6138af208834: Waiting 05:47:09 007c8e8c5d63: Waiting 05:47:09 4f7a387c642f: Waiting 05:47:09 0180a33352d6: Waiting 05:47:09 e7604b0c0f53: Waiting 05:47:09 5538fb30c42c: Download complete 05:47:09 f0b05810781a: Verifying Checksum 05:47:09 f0b05810781a: Download complete 05:47:09 0180a33352d6: Verifying Checksum 05:47:09 0180a33352d6: Download complete 05:47:09 db689cb83ae0: Verifying Checksum 05:47:09 db689cb83ae0: Download complete 05:47:09 6138af208834: Verifying Checksum 05:47:09 6138af208834: Download complete 05:47:09 007c8e8c5d63: Verifying Checksum 05:47:09 007c8e8c5d63: Download complete 05:47:09 4f7a387c642f: Verifying Checksum 05:47:09 4f7a387c642f: Download complete 05:47:10 b2f61026a351: Verifying Checksum 05:47:10 b2f61026a351: Download complete 05:47:13 b2f61026a351: Pull complete 05:47:13 5538fb30c42c: Pull complete 05:47:13 f0b05810781a: Pull complete 05:47:14 0180a33352d6: Pull complete 05:47:17 e7604b0c0f53: Verifying Checksum 05:47:17 e7604b0c0f53: Download complete 05:47:49 e7604b0c0f53: Pull complete 05:47:49 db689cb83ae0: Pull complete 05:47:49 6138af208834: Pull complete 05:47:49 007c8e8c5d63: Pull complete 05:47:49 4f7a387c642f: Pull complete 05:47:49 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 05:47:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 05:47:52 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 05:47:52 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 05:47:52 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 05:47:53 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 05:47:53 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3737 B] 05:47:53 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [879 kB] 05:47:54 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [1192 B] 05:47:54 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1233 kB] 05:47:54 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7827 B] 05:47:54 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 05:47:54 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [606 kB] 05:47:54 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [756 kB] 05:47:54 Fetched 3747 kB in 3s (1362 kB/s) 05:48:00 Reading package lists... 05:48:12 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 05:48:17 Reading package lists... 05:48:18 Building dependency tree... 05:48:18 Reading state information... 05:48:19 The following packages were automatically installed and are no longer required: 05:48:19 libjq1 liblzo2-2 libonig4 05:48:19 Use 'sudo apt autoremove' to remove them. 05:48:19 Suggested packages: 05:48:19 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 05:48:19 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 05:48:19 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 05:48:19 libterm-readline-gnu-perl | libterm-readline-perl-perl 05:48:19 The following NEW packages will be installed: 05:48:19 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 05:48:19 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 05:48:19 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 05:48:19 openssh-client patch perl perl-modules-5.26 xauth 05:48:19 0 upgraded, 27 newly installed, 0 to remove and 10 not upgraded. 05:48:19 Need to get 12.9 MB of archives. 05:48:19 After this operation, 84.2 MB of additional disk space will be used. 05:48:19 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 05:48:19 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 05:48:20 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 05:48:20 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 05:48:20 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 05:48:20 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 05:48:20 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 05:48:20 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 05:48:21 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 05:48:21 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 05:48:21 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 05:48:22 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 05:48:22 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 05:48:22 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 05:48:22 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 05:48:22 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 05:48:22 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 05:48:22 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 05:48:22 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 05:48:22 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 05:48:22 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 05:48:22 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 05:48:22 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 05:48:22 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 05:48:22 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 05:48:23 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 05:48:23 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 05:48:24 debconf: delaying package configuration, since apt-utils is not installed 05:48:24 Fetched 12.9 MB in 4s (3332 kB/s) 05:48:24 Selecting previously unselected package libxau6:arm64. 05:48:24 (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.) 05:48:24 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 05:48:24 Unpacking libxau6:arm64 (1:1.0.8-1) ... 05:48:24 Selecting previously unselected package libbsd0:arm64. 05:48:24 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 05:48:24 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 05:48:24 Selecting previously unselected package libxdmcp6:arm64. 05:48:24 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 05:48:24 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 05:48:24 Selecting previously unselected package libxcb1:arm64. 05:48:24 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 05:48:24 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 05:48:24 Selecting previously unselected package libx11-data. 05:48:24 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 05:48:24 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 05:48:25 Selecting previously unselected package libx11-6:arm64. 05:48:25 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 05:48:25 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 05:48:25 Selecting previously unselected package libxext6:arm64. 05:48:25 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 05:48:25 Unpacking libxext6:arm64 (2:1.3.3-1) ... 05:48:25 Selecting previously unselected package perl-modules-5.26. 05:48:25 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 05:48:25 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:48:26 Selecting previously unselected package libgdbm5:arm64. 05:48:26 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 05:48:26 Unpacking libgdbm5:arm64 (1.14.1-6) ... 05:48:27 Selecting previously unselected package libgdbm-compat4:arm64. 05:48:27 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 05:48:27 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 05:48:27 Selecting previously unselected package libperl5.26:arm64. 05:48:27 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 05:48:27 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 05:48:28 Selecting previously unselected package perl. 05:48:28 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 05:48:28 Unpacking perl (5.26.1-6ubuntu0.3) ... 05:48:28 Selecting previously unselected package less. 05:48:28 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 05:48:28 Unpacking less (487-0.1) ... 05:48:28 Selecting previously unselected package libexpat1:arm64. 05:48:28 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 05:48:28 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 05:48:28 Selecting previously unselected package netbase. 05:48:28 Preparing to unpack .../14-netbase_5.4_all.deb ... 05:48:29 Unpacking netbase (5.4) ... 05:48:29 Selecting previously unselected package libedit2:arm64. 05:48:29 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 05:48:29 Unpacking libedit2:arm64 (3.1-20170329-1) ... 05:48:29 Selecting previously unselected package libssl1.0.0:arm64. 05:48:29 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 05:48:29 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 05:48:29 Selecting previously unselected package libxmuu1:arm64. 05:48:29 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 05:48:29 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 05:48:29 Selecting previously unselected package openssh-client. 05:48:29 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 05:48:29 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 05:48:30 Selecting previously unselected package xauth. 05:48:30 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 05:48:30 Unpacking xauth (1:1.0.10-1) ... 05:48:30 Selecting previously unselected package curl. 05:48:30 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 05:48:30 Unpacking curl (7.58.0-2ubuntu3.8) ... 05:48:30 Selecting previously unselected package libcurl3-gnutls:arm64. 05:48:30 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 05:48:30 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 05:48:30 Selecting previously unselected package liberror-perl. 05:48:30 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 05:48:30 Unpacking liberror-perl (0.17025-1) ... 05:48:30 Selecting previously unselected package git-man. 05:48:30 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 05:48:30 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 05:48:31 Selecting previously unselected package git. 05:48:31 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 05:48:31 Unpacking git (1:2.17.1-1ubuntu0.7) ... 05:48:32 Selecting previously unselected package make. 05:48:32 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 05:48:32 Unpacking make (4.1-9.1ubuntu1) ... 05:48:32 Selecting previously unselected package patch. 05:48:32 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 05:48:32 Unpacking patch (2.7.6-2ubuntu1.1) ... 05:48:32 Setting up libedit2:arm64 (3.1-20170329-1) ... 05:48:32 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 05:48:32 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 05:48:32 Setting up less (487-0.1) ... 05:48:33 Setting up make (4.1-9.1ubuntu1) ... 05:48:33 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 05:48:33 Setting up curl (7.58.0-2ubuntu3.8) ... 05:48:33 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 05:48:33 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 05:48:33 Setting up libgdbm5:arm64 (1.14.1-6) ... 05:48:33 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 05:48:33 Setting up patch (2.7.6-2ubuntu1.1) ... 05:48:33 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 05:48:33 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 05:48:33 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 05:48:34 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 05:48:34 Setting up libxau6:arm64 (1:1.0.8-1) ... 05:48:34 Setting up netbase (5.4) ... 05:48:34 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 05:48:34 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 05:48:34 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 05:48:34 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 05:48:34 Setting up perl (5.26.1-6ubuntu0.3) ... 05:48:34 Setting up libxext6:arm64 (2:1.3.3-1) ... 05:48:34 Setting up liberror-perl (0.17025-1) ... 05:48:34 Setting up xauth (1:1.0.10-1) ... 05:48:34 Setting up git (1:2.17.1-1ubuntu0.7) ... 05:48:34 Processing triggers for libc-bin (2.27-3ubuntu1) ... 05:48:43 curl set to automatically installed. 05:48:43 git set to automatically installed. 05:48:43 git-man set to automatically installed. 05:48:43 less set to automatically installed. 05:48:43 libbsd0 set to automatically installed. 05:48:43 libcurl3-gnutls set to automatically installed. 05:48:43 libedit2 set to automatically installed. 05:48:43 liberror-perl set to automatically installed. 05:48:43 libexpat1 set to automatically installed. 05:48:43 libgdbm-compat4 set to automatically installed. 05:48:43 libgdbm5 set to automatically installed. 05:48:43 libperl5.26 set to automatically installed. 05:48:43 libssl1.0.0 set to automatically installed. 05:48:43 libx11-6 set to automatically installed. 05:48:43 libx11-data set to automatically installed. 05:48:43 libxau6 set to automatically installed. 05:48:43 libxcb1 set to automatically installed. 05:48:43 libxdmcp6 set to automatically installed. 05:48:43 libxext6 set to automatically installed. 05:48:43 libxmuu1 set to automatically installed. 05:48:43 make set to automatically installed. 05:48:43 netbase set to automatically installed. 05:48:43 openssh-client set to automatically installed. 05:48:43 patch set to automatically installed. 05:48:43 perl set to automatically installed. 05:48:43 perl-modules-5.26 set to automatically installed. 05:48:43 xauth set to automatically installed. 05:48:43 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 05:48:43 Please ensure the environment is properly setup before continuing. 05:48:43 Ignore this message if the appropriate measures have already been taken 05:48:43 Pulling go 05:48:46 'device-modbus' has dependencies that need to be staged: go 05:48:46 Skipping pull go (already ran) 05:48:46 Building go 05:48:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:48:46 Dload Upload Total Spent Left Speed 05:48:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 45 93.0M 45 42.4M 0 0 39.0M 0 0:00:02 0:00:01 0:00:01 39.0M 94 93.0M 94 87.6M 0 0 42.0M 0 0:00:02 0:00:02 --:--:-- 41.9M 100 93.0M 100 93.0M 0 0 42.2M 0 0:00:02 0:00:02 --:--:-- 42.2M 05:48:50 go1.13.5.linux-arm64.tar.gz: OK 05:49:12 Staging go 05:49:13 Pulling device-modbus 05:49:16 Skipping build go (already ran) 05:49:16 Building device-modbus 05:49:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1-dev.3" -o cmd/device-modbus ./cmd 05:49:17 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.2 05:49:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:49:17 go: downloading github.com/goburrow/modbus v0.1.0 05:49:17 go: extracting github.com/goburrow/modbus v0.1.0 05:49:17 go: downloading github.com/goburrow/serial v0.1.0 05:49:17 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.2 05:49:17 go: extracting github.com/goburrow/serial v0.1.0 05:49:17 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:49:17 go: downloading github.com/gorilla/mux v1.7.1 05:49:17 go: downloading github.com/google/uuid v1.1.1 05:49:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:49:17 go: downloading github.com/go-kit/kit v0.8.0 05:49:17 go: extracting github.com/google/uuid v1.1.1 05:49:17 go: downloading gopkg.in/yaml.v2 v2.2.8 05:49:17 go: extracting github.com/gorilla/mux v1.7.1 05:49:17 go: downloading github.com/OneOfOne/xxhash v1.2.6 05:49:17 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:49:17 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 05:49:17 go: downloading github.com/pkg/errors v0.8.1 05:49:17 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 05:49:17 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 05:49:17 go: extracting gopkg.in/yaml.v2 v2.2.8 05:49:17 go: downloading github.com/pelletier/go-toml v1.2.0 05:49:17 go: extracting github.com/OneOfOne/xxhash v1.2.6 05:49:17 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 05:49:17 go: downloading github.com/BurntSushi/toml v0.3.1 05:49:17 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 05:49:17 go: extracting github.com/pkg/errors v0.8.1 05:49:17 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 05:49:17 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 05:49:17 go: extracting github.com/pelletier/go-toml v1.2.0 05:49:17 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 05:49:17 go: extracting github.com/BurntSushi/toml v0.3.1 05:49:17 go: downloading github.com/hashicorp/consul/api v1.1.0 05:49:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:49:17 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:49:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:49:17 go: downloading github.com/mitchellh/copystructure v1.0.0 05:49:17 go: downloading github.com/x448/float16 v0.8.4 05:49:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:49:17 go: extracting github.com/hashicorp/consul/api v1.1.0 05:49:17 go: extracting github.com/go-kit/kit v0.8.0 05:49:17 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 05:49:17 go: extracting github.com/mitchellh/mapstructure v1.1.2 05:49:17 go: extracting github.com/x448/float16 v0.8.4 05:49:17 go: extracting github.com/mitchellh/copystructure v1.0.0 05:49:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:49:17 go: downloading github.com/hashicorp/serf v0.8.2 05:49:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 05:49:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:49:17 go: extracting github.com/mitchellh/reflectwalk v1.0.0 05:49:17 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 05:49:17 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 05:49:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 05:49:18 go: extracting github.com/hashicorp/serf v0.8.2 05:49:18 go: extracting github.com/go-logfmt/logfmt v0.4.0 05:49:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:49:18 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:49:18 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:49:18 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 05:49:18 go: downloading github.com/hashicorp/golang-lru v0.5.1 05:49:18 go: extracting github.com/hashicorp/golang-lru v0.5.1 05:49:18 go: finding github.com/edgexfoundry/device-sdk-go v1.2.2 05:49:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 05:49:18 go: finding github.com/goburrow/modbus v0.1.0 05:49:18 go: finding github.com/gorilla/mux v1.7.1 05:49:18 go: finding github.com/fxamacker/cbor/v2 v2.2.0 05:49:18 go: finding github.com/go-kit/kit v0.8.0 05:49:18 go: finding github.com/goburrow/serial v0.1.0 05:49:18 go: finding github.com/OneOfOne/xxhash v1.2.6 05:49:18 go: finding github.com/google/uuid v1.1.1 05:49:18 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.33 05:49:18 go: finding github.com/x448/float16 v0.8.4 05:49:18 go: finding github.com/go-logfmt/logfmt v0.4.0 05:49:18 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 05:49:18 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 05:49:18 go: finding gopkg.in/yaml.v2 v2.2.8 05:49:18 go: finding github.com/BurntSushi/toml v0.3.1 05:49:18 go: finding github.com/pkg/errors v0.8.1 05:49:18 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 05:49:18 go: finding github.com/hashicorp/consul/api v1.1.0 05:49:18 go: finding github.com/pelletier/go-toml v1.2.0 05:49:18 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:49:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 05:49:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 05:49:19 go: finding github.com/hashicorp/serf v0.8.2 05:49:19 go: finding github.com/mitchellh/mapstructure v1.1.2 05:49:19 go: finding github.com/mitchellh/copystructure v1.0.0 05:49:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 05:49:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:49:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 05:49:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 05:49:19 go: finding github.com/hashicorp/golang-lru v0.5.1 05:49:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:50:04 Skipping stage go (already ran) 05:50:04 Staging device-modbus 05:50:06 Priming go 05:50:10 Priming device-modbus 05:50:13 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 05:50:13 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 05:50:13 Determining the version from the project repo (version-script). 05:50:13 The version has been set to '1.2.1-dev.3-20200612+fdf900d' 05:50:13 Snapping 'edgex-device-modbus' ... 05:50:17 05:50:17 Snapped edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap 05:50:22 05:50:22 Login successful. You now have these capabilities: 05:50:22 05:50:22 snaps: No restriction 05:50:22 channels: No restriction 05:50:22 permissions: ['package_access', 'package_manage', 'package_push', 'package_register', 'package_release', 'package_update'] 05:50:22 expires: 2020-06-19T16:50:48.252993 05:50:22 05:50:26 Preparing to push 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap'. 05:50:26 After pushing, the resulting snap revision will be released to 'latest/edge' when it passes the Snap Store review. 05:50:26 Install the review-tools from the Snap Store for enhanced checks before uploading this snap. 05:50:28 Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 0% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 1% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 2% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 3% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 4% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 5% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 6% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 7% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 8% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 9% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 10% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 11% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 12% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 13% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 14% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 15% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 16% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 17% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 18% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 19% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 20% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 21% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 22% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 23% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 24% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 25% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 26% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 27% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 29% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 30% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 31% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 32% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 33% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 34% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 35% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 36% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 37% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 38% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 39% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 40% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 41% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 42% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 43% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 44% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 45% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 46% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 47% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 48% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [ ] 49% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 50% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 51% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 52% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 53% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 54% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 55% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 56% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 58% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 59% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 60% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 61% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 62% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 63% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 64% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 65% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 66% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 67% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 68% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 69% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 70% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 71% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 72% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 73% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 74% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 75% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 76% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 77% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 78% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 79% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 80% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 81% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 82% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 83% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 84% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 86% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 87% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 88% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 89% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 90% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 91% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 92% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 93% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 94% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 95% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 96% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 97% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 98% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [= ] 99% Pushing 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' [==] 100% 05:50:37 Processing...| Processing.../ Processing...- Processing...\ Processing...| released 05:50:37 Revision 1254 of 'edgex-device-modbus' created. 05:50:37 Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| Processing.../ Processing...- Processing...\ Processing...| 05:50:37 Track Arch Channel Version Revision Notes 05:50:37 edinburgh arm64 stable - - - 05:50:37 candidate - - - 05:50:37 beta 1.0.0-20190627+739f7ef 113 - 05:50:37 edge 1.0.0-20200107+c777f31 958 - 05:50:37 fuji arm64 stable 1.1.1-20200311+37c94ae 1112 - 05:50:37 candidate ^ ^ - 05:50:37 beta 1.1.1-20200311+37c94ae 1112 - 05:50:37 edge 1.1.1-20200422+37c94ae 1194 - 05:50:37 geneva arm64 stable 1.2.0-20200519+a219397 1204 - 05:50:37 candidate ^ ^ - 05:50:37 beta ^ ^ - 05:50:37 edge ^ ^ - 05:50:37 latest arm64 stable 1.2.0-20200519+a219397 1204 - 05:50:37 candidate 1.2.0-20200519+a219397 1204 - 05:50:37 beta 1.2.0-20200519+a219397 1204 - 05:50:37 edge 1.2.1-dev.3-20200612+fdf900d 1254 - 05:50:40 Pushing metadata from 'edgex-device-modbus_1.2.1-dev.3-20200612+fdf900d_arm64.snap' 05:50:43 The metadata has been pushed [Pipeline] } 05:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:50:46 provisioning config files... 05:50:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7629017358993452839tmp [Pipeline] { [Pipeline] sh 05:50:46 + curl -s https://codecov.io/bash 05:50:46 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_master@tmp/config7629017358993452839tmp 05:50:46 05:50:46 _____ _ 05:50:46 / ____| | | 05:50:46 | | ___ __| | ___ ___ _____ __ 05:50:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:50:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:50:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:50:46 Bash-20200602-f809a24 05:50:46 05:50:46 05:50:46 ==> Jenkins CI detected. 05:50:46 project root: . 05:50:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:50:46 ==> Running gcov in . (disable via -X gcov) 05:50:46 ==> Python coveragepy not found 05:50:46 ==> Searching for coverage reports in: 05:50:46 + . 05:50:46 -> Found 1 reports 05:50:46 ==> Detecting git/mercurial file structure 05:50:46 ==> Reading reports 05:50:46 + ./coverage.out bytes=22123 05:50:46 ==> Appending adjustments 05:50:46 https://docs.codecov.io/docs/fixing-reports 05:50:46 + Found adjustments 05:50:46 ==> Gzipping contents 05:50:46 ==> Uploading reports 05:50:46 url: https://codecov.io 05:50:46 query: branch=master&commit=fdf900d8a58188a2e8b2bc604c944c724a46cd8f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= 05:50:46 -> Pinging Codecov 05:50:46 https://codecov.io/upload/v4?package=bash-20200602-f809a24&token=secret&branch=master&commit=fdf900d8a58188a2e8b2bc604c944c724a46cd8f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job= 05:50:47 -> Uploading 05:50:48 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/fdf900d8a58188a2e8b2bc604c944c724a46cd8f [Pipeline] } 05:50:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 05:50:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 05:50:48 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 05:50:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:50:49 05:50:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 05:50:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:50:49 1.317.0: Pulling from edgex-devops/edgex-snyk-go 05:50:49 cbdbe7a5bc2a: Pulling fs layer 05:50:49 408f87550127: Pulling fs layer 05:50:49 fe522b08c979: Pulling fs layer 05:50:49 221eaa008020: Pulling fs layer 05:50:49 2a4607e5d6b9: Pulling fs layer 05:50:49 8f79b27c4fd2: Pulling fs layer 05:50:49 e5c8dbe1645b: Pulling fs layer 05:50:49 23e8b3b47431: Pulling fs layer 05:50:49 5c568d65a230: Pulling fs layer 05:50:49 221eaa008020: Waiting 05:50:49 8f79b27c4fd2: Waiting 05:50:49 2a4607e5d6b9: Waiting 05:50:49 e5c8dbe1645b: Waiting 05:50:49 23e8b3b47431: Waiting 05:50:49 5c568d65a230: Waiting 05:50:49 fe522b08c979: Verifying Checksum 05:50:49 fe522b08c979: Download complete 05:50:49 408f87550127: Verifying Checksum 05:50:49 408f87550127: Download complete 05:50:49 2a4607e5d6b9: Download complete 05:50:49 cbdbe7a5bc2a: Download complete 05:50:49 8f79b27c4fd2: Verifying Checksum 05:50:49 8f79b27c4fd2: Download complete 05:50:49 e5c8dbe1645b: Verifying Checksum 05:50:49 e5c8dbe1645b: Download complete 05:50:50 23e8b3b47431: Verifying Checksum 05:50:50 23e8b3b47431: Download complete 05:50:50 cbdbe7a5bc2a: Pull complete 05:50:50 408f87550127: Pull complete 05:50:50 5c568d65a230: Verifying Checksum 05:50:50 5c568d65a230: Download complete 05:50:50 fe522b08c979: Pull complete 05:50:50 221eaa008020: Verifying Checksum 05:50:50 221eaa008020: Download complete 05:50:56 221eaa008020: Pull complete 05:50:56 2a4607e5d6b9: Pull complete 05:50:56 8f79b27c4fd2: Pull complete 05:50:58 e5c8dbe1645b: Pull complete 05:51:01 23e8b3b47431: Pull complete 05:51:02 5c568d65a230: Pull complete 05:51:02 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 05:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 05:51:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 05:51:03 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/xfoundry_device-modbus-go_master:/ws -w /ws --entrypoint= -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-devops/edgex-snyk-go:1.317.0 cat 05:51:03 $ docker top 9be3aba43ed42d6a9cac6b8bc30fdec390876cdebf4cc821387d751f34c7a1bb -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:04 + snyk monitor '--org=edgex-jenkins' 05:51:26 05:51:26 Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... 05:51:26 05:51:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/4903885f-d62a-4604-8d75-0d8c2d0179fb 05:51:26 05:51:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:51:26 05:51:26 [Pipeline] } 05:51:26 $ docker stop --time=1 9be3aba43ed42d6a9cac6b8bc30fdec390876cdebf4cc821387d751f34c7a1bb 05:51:28 $ docker rm -f 9be3aba43ed42d6a9cac6b8bc30fdec390876cdebf4cc821387d751f34c7a1bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:28 05:51:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] isUnix [Pipeline] sh 05:51:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:29 latest: Pulling from edgex-devops/edgex-klar 05:51:29 e7c96db7181b: Pulling fs layer 05:51:29 1868ca2cb446: Pulling fs layer 05:51:29 136be5d0fe8e: Pulling fs layer 05:51:29 894bfe63afcb: Pulling fs layer 05:51:29 894bfe63afcb: Waiting 05:51:29 1868ca2cb446: Download complete 05:51:29 136be5d0fe8e: Download complete 05:51:29 e7c96db7181b: Verifying Checksum 05:51:29 e7c96db7181b: Download complete 05:51:29 894bfe63afcb: Verifying Checksum 05:51:29 894bfe63afcb: Download complete 05:51:29 e7c96db7181b: Pull complete 05:51:29 1868ca2cb446: Pull complete 05:51:29 136be5d0fe8e: Pull complete 05:51:30 894bfe63afcb: Pull complete 05:51:30 Digest: sha256:65847297bc3009f35b6e5c043f8963ac510035bee459602d1799ced28fb971b0 05:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest [Pipeline] withDockerContainer 05:51:30 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:30 $ docker run -t -d -u 1001:1001 --entrypoint= -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:10003/edgex-devops/edgex-klar:latest cat 05:51:31 $ docker top 417d821aaf47ae38fdb71dff892fa230e415714b7b25cb36c551aeef69e9791e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:31 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:51:31 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:34 $ docker stop --time=1 417d821aaf47ae38fdb71dff892fa230e415714b7b25cb36c551aeef69e9791e 05:51:35 $ docker rm -f 417d821aaf47ae38fdb71dff892fa230e415714b7b25cb36c551aeef69e9791e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:36 . [Pipeline] withDockerContainer 05:51:36 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:36 $ docker run -t -d -u 1001:1001 --entrypoint= -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:10003/edgex-devops/edgex-klar:latest cat 05:51:36 $ docker top bd85f3ce0d49fdf651d03fd4462c47ed8877aec86819c591e283dcfddfbad1af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:37 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:51:37 + tee 05:51:37 clair timeout 1m0s 05:51:37 docker timeout: 1m0s 05:51:37 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:37 $ docker stop --time=1 bd85f3ce0d49fdf651d03fd4462c47ed8877aec86819c591e283dcfddfbad1af 05:51:39 $ docker rm -f bd85f3ce0d49fdf651d03fd4462c47ed8877aec86819c591e283dcfddfbad1af [Pipeline] // withDockerContainer [Pipeline] sh 05:51:39 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 05:51:39 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go_fdf900d8a58188a2e8b2bc604c944c724a46cd8f.html [Pipeline] writeFile [Pipeline] step 05:51:39 Archiving artifacts [Pipeline] isUnix [Pipeline] sh 05:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:40 . [Pipeline] withDockerContainer 05:51:40 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:40 $ docker run -t -d -u 1001:1001 --entrypoint= -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:10003/edgex-devops/edgex-klar:latest cat 05:51:40 $ docker top 94c2dbf27708f3244f2a1b2b3b67087bba6692f4b6fc947cf33e3a3c2d6d39f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:41 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:51:41 + tee [Pipeline] readJSON [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:44 $ docker stop --time=1 94c2dbf27708f3244f2a1b2b3b67087bba6692f4b6fc947cf33e3a3c2d6d39f2 05:51:45 $ docker rm -f 94c2dbf27708f3244f2a1b2b3b67087bba6692f4b6fc947cf33e3a3c2d6d39f2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:51:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-klar:latest 05:51:45 . [Pipeline] withDockerContainer 05:51:46 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:46 $ docker run -t -d -u 1001:1001 --entrypoint= -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:10003/edgex-devops/edgex-klar:latest cat 05:51:46 $ docker top deb54ebbe1ad35486ccd32b74ce8587a6a8272cf3d965d6392bb56900a853b5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:47 + /klar nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:fdf900d8a58188a2e8b2bc604c944c724a46cd8f 05:51:47 + tee 05:51:47 clair timeout 1m0s 05:51:47 docker timeout: 1m0s 05:51:47 no whitelist file [Pipeline] } [Pipeline] // withEnv [Pipeline] } 05:51:47 $ docker stop --time=1 deb54ebbe1ad35486ccd32b74ce8587a6a8272cf3d965d6392bb56900a853b5c 05:51:49 $ docker rm -f deb54ebbe1ad35486ccd32b74ce8587a6a8272cf3d965d6392bb56900a853b5c [Pipeline] // withDockerContainer [Pipeline] sh 05:51:49 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/clair-reports [Pipeline] echo 05:51:49 Generated HTML Table Report. Writing to /w/workspace/xfoundry_device-modbus-go_master/clair-reports/clair_results_docker-device-modbus-go-arm64_fdf900d8a58188a2e8b2bc604c944c724a46cd8f.html [Pipeline] writeFile [Pipeline] step 05:51:49 Archiving artifacts [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] isUnix [Pipeline] sh 05:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:51:50 . [Pipeline] withDockerContainer 05:51:50 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:51:50 $ 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 05:51:50 $ docker top d54bc8049fc908c7e59e37ace7ae130e6510535b19353caac625cc456ac0841d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:50 [ssh-agent] Looking for ssh-agent implementation... 05:51:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:51 $ docker exec d54bc8049fc908c7e59e37ace7ae130e6510535b19353caac625cc456ac0841d ssh-agent 05:51:51 SSH_AUTH_SOCK=/tmp/ssh-I6x9HbhmHx7F/agent.12 05:51:51 SSH_AGENT_PID=17 05:51:51 Running ssh-add (command line suppressed) 05:51:51 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2324954039163360204.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2324954039163360204.key) 05:51:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:51 + git semver tag 05:51:51 # -> Open(): unable to determine branch for HEAD 05:51:51 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:51:51 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:51:51 # $SEMVER_REMOTE_NAME = origin 05:51:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:51:51 # $SEMVER_USER_NAME = edgex-jenkins 05:51:51 # $SEMVER_BRANCH = master 05:51:51 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 05:51:51 # fdf900d8a58188a2e8b2bc604c944c724a46cd8f HEAD 05:51:51 # -> Force: false 05:51:51 # 205b310c831015ae993f2c2a3be2057fb8751497 refs/tags/v1.2.1-dev.3 [Pipeline] } 05:51:51 $ docker exec --env ******** --env ******** d54bc8049fc908c7e59e37ace7ae130e6510535b19353caac625cc456ac0841d ssh-agent -k 05:51:51 unset SSH_AUTH_SOCK; 05:51:51 unset SSH_AGENT_PID; 05:51:51 echo Agent pid 17 killed; 05:51:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:52 + git semver [Pipeline] } 05:51:52 $ docker stop --time=1 d54bc8049fc908c7e59e37ace7ae130e6510535b19353caac625cc456ac0841d 05:51:53 $ docker rm -f d54bc8049fc908c7e59e37ace7ae130e6510535b19353caac625cc456ac0841d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:51:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:51:54 05:51:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:51:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:51:54 0.23.1-centos7: Pulling from edgex-lftools 05:51:54 ab5ef0e58194: Pulling fs layer 05:51:54 9712f1f96733: Pulling fs layer 05:51:54 63f879dbbcfc: Pulling fs layer 05:51:54 0d9ebad4ef96: Pulling fs layer 05:51:54 e9a5061849ea: Pulling fs layer 05:51:54 d747dcd14b5f: Pulling fs layer 05:51:54 2de7ff778b66: Pulling fs layer 05:51:54 0d9ebad4ef96: Waiting 05:51:54 e9a5061849ea: Waiting 05:51:54 d747dcd14b5f: Waiting 05:51:54 2de7ff778b66: Waiting 05:51:54 9712f1f96733: Verifying Checksum 05:51:54 9712f1f96733: Download complete 05:51:55 63f879dbbcfc: Verifying Checksum 05:51:55 63f879dbbcfc: Download complete 05:51:55 e9a5061849ea: Verifying Checksum 05:51:55 e9a5061849ea: Download complete 05:51:55 ab5ef0e58194: Verifying Checksum 05:51:55 ab5ef0e58194: Download complete 05:51:55 0d9ebad4ef96: Verifying Checksum 05:51:55 0d9ebad4ef96: Download complete 05:51:55 d747dcd14b5f: Verifying Checksum 05:51:55 d747dcd14b5f: Download complete 05:51:55 2de7ff778b66: Verifying Checksum 05:51:55 2de7ff778b66: Download complete 05:52:00 ab5ef0e58194: Pull complete 05:52:00 9712f1f96733: Pull complete 05:52:02 63f879dbbcfc: Pull complete 05:52:08 0d9ebad4ef96: Pull complete 05:52:10 e9a5061849ea: Pull complete 05:52:10 d747dcd14b5f: Pull complete 05:52:12 2de7ff778b66: Pull complete 05:52:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:52:13 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 -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:10003/edgex-lftools:0.23.1-centos7 cat 05:52:17 $ docker top d9f62a8e5989844d15d2be9fe1c2adcc582bc58d7e11b4746f1ea100c082af79 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:52:17 provisioning config files... 05:52:17 copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2409612598455261719tmp 05:52:17 copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3049655212396236719tmp 05:52:17 copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config3029346374252605006tmp [Pipeline] { [Pipeline] echo 05:52:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:52:17 ---> sigul-configuration.sh 05:52:17 gpg: directory `/root/.gnupg' created 05:52:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:52:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:52:17 gpg: keyring `/root/.gnupg/secring.gpg' created 05:52:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:52:17 gpg: CAST5 encrypted data 05:52:18 gpg: encrypted with 1 passphrase 05:52:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:52:18 + mkdir /home/jenkins 05:52:18 + mkdir /home/jenkins/sigul [Pipeline] sh 05:52:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /home/jenkins/sigul/ [Pipeline] echo 05:52:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:52:18 ---> sigul-install.sh 05:52:24 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:52:24 + git tag --list 05:52:24 v1.2.1-dev.3 [Pipeline] sh 05:52:24 + lftools sign git-tag v1.2.1-dev.3 05:52:26 Signing Git tag with Sigul... 05:52:26 Signing v1.2.1-dev.3 [Pipeline] echo 05:52:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:52:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:52:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:52:27 $ docker stop --time=1 d9f62a8e5989844d15d2be9fe1c2adcc582bc58d7e11b4746f1ea100c082af79 05:52:29 $ docker rm -f d9f62a8e5989844d15d2be9fe1c2adcc582bc58d7e11b4746f1ea100c082af79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:29 . [Pipeline] withDockerContainer 05:52:30 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:52:30 $ 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 05:52:30 $ docker top 0a1ea0a5d7ac557b9a244c2a9f8ad12e5e3ab06d44beae9201a61b7c59f53038 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:30 [ssh-agent] Looking for ssh-agent implementation... 05:52:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:30 $ docker exec 0a1ea0a5d7ac557b9a244c2a9f8ad12e5e3ab06d44beae9201a61b7c59f53038 ssh-agent 05:52:31 SSH_AUTH_SOCK=/tmp/ssh-GV7rHw6mPp4C/agent.12 05:52:31 SSH_AGENT_PID=17 05:52:31 Running ssh-add (command line suppressed) 05:52:31 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4423818039529440253.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_4423818039529440253.key) 05:52:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:31 + git semver bump pre 05:52:31 # -> Open(): unable to determine branch for HEAD 05:52:31 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:52:31 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:52:31 # $SEMVER_REMOTE_NAME = origin 05:52:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:31 # $SEMVER_USER_NAME = edgex-jenkins 05:52:31 # $SEMVER_BRANCH = master 05:52:31 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver 05:52:31 1.2.1-dev.4 [Pipeline] } 05:52:31 $ docker exec --env ******** --env ******** 0a1ea0a5d7ac557b9a244c2a9f8ad12e5e3ab06d44beae9201a61b7c59f53038 ssh-agent -k 05:52:31 unset SSH_AUTH_SOCK; 05:52:31 unset SSH_AGENT_PID; 05:52:31 echo Agent pid 17 killed; 05:52:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:32 + git semver [Pipeline] } 05:52:32 $ docker stop --time=1 0a1ea0a5d7ac557b9a244c2a9f8ad12e5e3ab06d44beae9201a61b7c59f53038 05:52:33 $ docker rm -f 0a1ea0a5d7ac557b9a244c2a9f8ad12e5e3ab06d44beae9201a61b7c59f53038 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:52:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:33 . [Pipeline] withDockerContainer 05:52:34 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:52:34 $ 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 05:52:34 $ docker top 568efca551a26d000118a3f2c2570e0a6b9f415c61aae3a6a5a6fcfae5ead161 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:34 [ssh-agent] Looking for ssh-agent implementation... 05:52:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:35 $ docker exec 568efca551a26d000118a3f2c2570e0a6b9f415c61aae3a6a5a6fcfae5ead161 ssh-agent 05:52:35 SSH_AUTH_SOCK=/tmp/ssh-Lv4BybrPK20q/agent.13 05:52:35 SSH_AGENT_PID=19 05:52:35 Running ssh-add (command line suppressed) 05:52:35 Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5004820063682554590.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5004820063682554590.key) 05:52:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:35 + git semver push 05:52:35 # -> Open(): unable to determine branch for HEAD 05:52:35 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git 05:52:35 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master 05:52:35 # $SEMVER_REMOTE_NAME = origin 05:52:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:35 # $SEMVER_USER_NAME = edgex-jenkins 05:52:35 # $SEMVER_BRANCH = master 05:52:35 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } 05:52:42 $ docker exec --env ******** --env ******** 568efca551a26d000118a3f2c2570e0a6b9f415c61aae3a6a5a6fcfae5ead161 ssh-agent -k 05:52:42 unset SSH_AUTH_SOCK; 05:52:42 unset SSH_AGENT_PID; 05:52:42 echo Agent pid 19 killed; 05:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:42 + git semver [Pipeline] } 05:52:42 $ docker stop --time=1 568efca551a26d000118a3f2c2570e0a6b9f415c61aae3a6a5a6fcfae5ead161 05:52:44 $ docker rm -f 568efca551a26d000118a3f2c2570e0a6b9f415c61aae3a6a5a6fcfae5ead161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:52:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:45 ---> package-listing.sh 05:52:45 ++ facter osfamily 05:52:45 ++ tr '[:upper:]' '[:lower:]' 05:52:45 + OS_FAMILY=redhat 05:52:45 + workspace=/w/workspace/xfoundry_device-modbus-go_master 05:52:45 + START_PACKAGES=/tmp/packages_start.txt 05:52:45 + END_PACKAGES=/tmp/packages_end.txt 05:52:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:45 + PACKAGES=/tmp/packages_start.txt 05:52:45 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 05:52:45 + PACKAGES=/tmp/packages_end.txt 05:52:45 + case "${OS_FAMILY}" in 05:52:45 + rpm -qa 05:52:45 + sort 05:52:49 + '[' -f /tmp/packages_start.txt ']' 05:52:49 + '[' -f /tmp/packages_end.txt ']' 05:52:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:49 + '[' /w/workspace/xfoundry_device-modbus-go_master ']' 05:52:49 + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ 05:52:49 + 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 05:52:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:50 05:52:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:52:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:50 alpine: Pulling from edgex-lftools-log-publisher 05:52:50 c9b1b535fdd9: Pulling fs layer 05:52:50 2cc5ad85d9ab: Pulling fs layer 05:52:50 756a868c4378: Pulling fs layer 05:52:50 444b2fc9a129: Pulling fs layer 05:52:50 ea15f1150254: Pulling fs layer 05:52:50 41b27a9f41bf: Pulling fs layer 05:52:50 28c525ee5125: Pulling fs layer 05:52:50 094b1ea09ed8: Pulling fs layer 05:52:50 138eaada9080: Pulling fs layer 05:52:50 0622d0fa9048: Pulling fs layer 05:52:50 28c525ee5125: Waiting 05:52:50 138eaada9080: Waiting 05:52:50 0622d0fa9048: Waiting 05:52:50 094b1ea09ed8: Waiting 05:52:50 ea15f1150254: Waiting 05:52:50 444b2fc9a129: Waiting 05:52:50 41b27a9f41bf: Waiting 05:52:50 2cc5ad85d9ab: Verifying Checksum 05:52:50 2cc5ad85d9ab: Download complete 05:52:50 444b2fc9a129: Verifying Checksum 05:52:50 444b2fc9a129: Download complete 05:52:50 c9b1b535fdd9: Download complete 05:52:50 ea15f1150254: Verifying Checksum 05:52:50 ea15f1150254: Download complete 05:52:50 28c525ee5125: Verifying Checksum 05:52:50 28c525ee5125: Download complete 05:52:50 756a868c4378: Verifying Checksum 05:52:50 756a868c4378: Download complete 05:52:50 138eaada9080: Verifying Checksum 05:52:50 138eaada9080: Download complete 05:52:50 0622d0fa9048: Verifying Checksum 05:52:50 0622d0fa9048: Download complete 05:52:50 094b1ea09ed8: Verifying Checksum 05:52:50 094b1ea09ed8: Download complete 05:52:51 41b27a9f41bf: Verifying Checksum 05:52:51 41b27a9f41bf: Download complete 05:52:51 c9b1b535fdd9: Pull complete 05:52:51 2cc5ad85d9ab: Pull complete 05:52:52 756a868c4378: Pull complete 05:52:53 444b2fc9a129: Pull complete 05:52:53 ea15f1150254: Pull complete 05:52:56 41b27a9f41bf: Pull complete 05:52:56 28c525ee5125: Pull complete 05:52:59 094b1ea09ed8: Pull complete 05:52:59 138eaada9080: Pull complete 05:52:59 0622d0fa9048: Pull complete 05:52:59 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 05:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:52:59 prd-centos7-docker-4c-2g-2708 does not seem to be running inside a container 05:52:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:53:02 $ docker top 34b9d2412edaed87627b28a70f9608bc8cae662a6743024e11f9b67c6893e0f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:02 provisioning config files... 05:53:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config2869988290763468251tmp [Pipeline] { [Pipeline] echo 05:53:02 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:03 ---> create-netrc.sh [Pipeline] echo 05:53:03 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:03 ---> logs-deploy.sh 05:53:03 + ARCHIVE_ARTIFACTS= 05:53:03 + LOGS_SERVER=https://logs.edgexfoundry.org 05:53:03 + '[' https://logs.edgexfoundry.org == None ']' 05:53:03 + NEXUS_URL=https://nexus.edgexfoundry.org 05:53:03 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/12 05:53:03 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/12/ 05:53:03 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/12 /w/workspace/xfoundry_device-modbus-go_master 05:53:04 Archives upload complete. 05:53:04 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/12 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/master/12/