Pull request #139 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 128cef50bb66e15e2e4e8d33773d224acdac0653+cc6d90c40154bca37e23385c8e48fb0109b6b0d5 (7813595af167ba19ef3c00f4e91272364d00cd8f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Examining edgexfoundry/edgex-global-pipelines Attempting to resolve stable as a branch Attempting to resolve stable as a tag Resolved stable as tag stable at revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 using credential edgex-jenkins-access-pat > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from https://github.com/edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_ASKPASS to set credentials edgex-jenkins github PAT for ssh > git fetch --tags --progress -- https://github.com/edgexfoundry/edgex-global-pipelines.git +refs/tags/stable:refs/tags/stable # timeout=10 Checking out Revision e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e7e7c7fb44d8ca5be541bf88e0d3575ac65047a0 # timeout=10 Commit message: "Merge pull request #157 from ernestojeda/clean-snap-name" > 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 [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-5316 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-139 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 128cef50bb66e15e2e4e8d33773d224acdac0653 Merge succeeded, producing 128cef50bb66e15e2e4e8d33773d224acdac0653 Checking out Revision 128cef50bb66e15e2e4e8d33773d224acdac0653 (PR-139) > git config core.sparsecheckout # timeout=10 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 Commit message: "update checksum" > git rev-list --no-walk 4fc352aa2e5226d2b7bc08385ca5e741a07f1cf6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:41:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:41:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:41:45 ========================================================= 17:41:45 EdgeX Global Pipelines Version Info 17:41:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:41:47 ------------------- 17:41:47 stable info: 17:41:47 ------------------- 17:41:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:41:47 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 17:41:47 Message: update stable to v1.0.73 17:41:47 ------------------- 17:41:47 experimental info: 17:41:47 ------------------- 17:41:47 Commited By: **** collab-it+edgex@linuxfoundation.org 17:41:47 Commit SHA: 824d4d37602b19f8c5aab127669a8744686ab6c4 17:41:47 Message: update experimental to v1.0.73 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 17:41:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:41:49 17:41:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:41:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:41:50 latest: Pulling from edgex-devops/git-semver 17:41:50 9123ac7c32f7: Pulling fs layer 17:41:50 b8cc5d1170e3: Pulling fs layer 17:41:50 2924cbbf6a41: Pulling fs layer 17:41:50 93b08a4f1073: Pulling fs layer 17:41:50 93b08a4f1073: Waiting 17:41:50 b8cc5d1170e3: Download complete 17:41:50 9123ac7c32f7: Verifying Checksum 17:41:50 9123ac7c32f7: Download complete 17:41:50 93b08a4f1073: Verifying Checksum 17:41:50 93b08a4f1073: Download complete 17:41:50 2924cbbf6a41: Verifying Checksum 17:41:50 2924cbbf6a41: Download complete 17:41:50 9123ac7c32f7: Pull complete 17:41:50 b8cc5d1170e3: Pull complete 17:41:51 2924cbbf6a41: Pull complete 17:41:51 93b08a4f1073: Pull complete 17:41:51 Digest: sha256:4625bffe18d7e57a26110a192204e9d2df26dcfa88161a59d694ed3c08739905 17:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:41:51 prd-centos7-docker-4c-2g-5316 does not seem to be running inside a container 17:41:51 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:41:52 $ docker top 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:52 [ssh-agent] Looking for ssh-agent implementation... 17:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:53 $ docker exec 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb ssh-agent 17:41:53 SSH_AUTH_SOCK=/tmp/ssh-kSR2xfIAvsT5/agent.14 17:41:53 SSH_AGENT_PID=20 17:41:53 Running ssh-add (command line suppressed) 17:41:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8642716659991264789.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_8642716659991264789.key) 17:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:53 + git describe --exact-match --tags HEAD 17:41:53 fatal: No names found, cannot describe anything. [Pipeline] } 17:41:54 $ docker exec --env ******** --env ******** 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb ssh-agent -k 17:41:54 unset SSH_AUTH_SOCK; 17:41:54 unset SSH_AGENT_PID; 17:41:54 echo Agent pid 20 killed; 17:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:41:54 [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 17:41:54 This usually means this commit has not been tagged. [Pipeline] sshagent 17:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:54 [ssh-agent] Looking for ssh-agent implementation... 17:41:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:54 $ docker exec 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb ssh-agent 17:41:54 SSH_AUTH_SOCK=/tmp/ssh-fx93WLHmNoJo/agent.53 17:41:54 SSH_AGENT_PID=60 17:41:54 Running ssh-add (command line suppressed) 17:41:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_3615287017672413831.key (/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/private_key_3615287017672413831.key) 17:41:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:55 + git semver init 17:41:55 # -> Open(): unable to determine branch for HEAD 17:41:55 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.git 17:41:55 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-139 17:41:55 # $SEMVER_REMOTE_NAME = origin 17:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:41:55 # $SEMVER_USER_NAME = edgex-jenkins 17:41:55 # $SEMVER_BRANCH = PR-139 17:41:55 # $SEMVER_TEMP = /tmp/semver-270259350 17:41:55 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 17:41:55 # '/tmp/semver-270259350' -> '/w/workspace/xfoundry_device-modbus-go_PR-139/.semver' 17:41:55 # -> Force: false 17:41:55 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-139/.semver [Pipeline] } 17:41:55 $ docker exec --env ******** --env ******** 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb ssh-agent -k 17:41:56 unset SSH_AUTH_SOCK; 17:41:56 unset SSH_AGENT_PID; 17:41:56 echo Agent pid 60 killed; 17:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:56 + git semver [Pipeline] } 17:41:56 $ docker stop --time=1 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb 17:41:57 $ docker rm -f 3271d66db6aa9228e251a0e4ee2f47afe59bd2d16bb030bd3e6d4653582ebabb [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 17:41:58 Stashed 24 file(s) [Pipeline] echo 17:41:58 [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:42:13 Still waiting to schedule task 17:42:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:42:13 Still waiting to schedule task 17:42:13 ‘prd-centos7-blackbox-4c-2g-5289’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-4099’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-4592’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5275’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5278’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5281’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5317’ is offline 17:44:12 Running on prd-centos7-docker-4c-2g-5320 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 17:44:12 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 17:44:14 using credential edgex-jenkins-ssh 17:44:14 Cloning the remote Git repository 17:44:14 Cloning with configured refspecs honoured and without tags 17:44:15 Fetching without tags 17:44:15 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 128cef50bb66e15e2e4e8d33773d224acdac0653 17:44:15 Merge succeeded, producing 128cef50bb66e15e2e4e8d33773d224acdac0653 17:44:15 Checking out Revision 128cef50bb66e15e2e4e8d33773d224acdac0653 (PR-139) 17:44:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:44:14 > git init /w/workspace/device-modbus-go/8 # timeout=10 17:44:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:44:14 > git --version # timeout=10 17:44:14 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:14 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:44:15 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 17:44:15 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:44:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:44:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:15 > git config core.sparsecheckout # timeout=10 17:44:15 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 17:44:15 > git remote # timeout=10 17:44:15 > git config --get remote.origin.url # timeout=10 17:44:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:15 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 17:44:15 > git rev-parse HEAD^{commit} # timeout=10 17:44:15 > git config core.sparsecheckout # timeout=10 17:44:15 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 17:44:19 Commit message: "update checksum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:44:20 ========================================================= 17:44:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 17:44:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:44:21 + 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 . 17:44:21 Sending build context to Docker daemon 582.1kB 17:44:21 Step 1/8 : ARG BASE=golang:1.13-alpine 17:44:21 Step 2/8 : FROM ${BASE} 17:44:21 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 17:44:21 e6b0cf9c0882: Pulling fs layer 17:44:21 2848faf0eed1: Pulling fs layer 17:44:21 0f37312ad70f: Pulling fs layer 17:44:21 5788d62ee057: Pulling fs layer 17:44:21 0e6b1d234666: Pulling fs layer 17:44:21 bf5d7aec512f: Pulling fs layer 17:44:21 34c802a77dc8: Pulling fs layer 17:44:21 9eb99e56ec68: Pulling fs layer 17:44:21 27c7a5d97fbd: Pulling fs layer 17:44:21 5c102a31e300: Pulling fs layer 17:44:21 dcfb455df0a1: Pulling fs layer 17:44:21 5788d62ee057: Waiting 17:44:21 0e6b1d234666: Waiting 17:44:21 bf5d7aec512f: Waiting 17:44:21 34c802a77dc8: Waiting 17:44:21 9eb99e56ec68: Waiting 17:44:21 27c7a5d97fbd: Waiting 17:44:21 5c102a31e300: Waiting 17:44:21 dcfb455df0a1: Waiting 17:44:21 0f37312ad70f: Verifying Checksum 17:44:21 0f37312ad70f: Download complete 17:44:21 2848faf0eed1: Download complete 17:44:21 0e6b1d234666: Download complete 17:44:21 bf5d7aec512f: Verifying Checksum 17:44:21 bf5d7aec512f: Download complete 17:44:21 e6b0cf9c0882: Verifying Checksum 17:44:21 e6b0cf9c0882: Download complete 17:44:22 e6b0cf9c0882: Pull complete 17:44:22 34c802a77dc8: Verifying Checksum 17:44:22 34c802a77dc8: Download complete 17:44:22 27c7a5d97fbd: Verifying Checksum 17:44:22 27c7a5d97fbd: Download complete 17:44:23 5c102a31e300: Verifying Checksum 17:44:23 5c102a31e300: Download complete 17:44:23 9eb99e56ec68: Verifying Checksum 17:44:23 9eb99e56ec68: Download complete 17:44:23 dcfb455df0a1: Download complete 17:44:23 5788d62ee057: Verifying Checksum 17:44:23 5788d62ee057: Download complete 17:44:23 2848faf0eed1: Pull complete 17:44:24 0f37312ad70f: Pull complete 17:44:29 5788d62ee057: Pull complete 17:44:29 0e6b1d234666: Pull complete 17:44:29 bf5d7aec512f: Pull complete 17:44:33 34c802a77dc8: Pull complete 17:44:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5319 in /w/workspace/xfoundry_device-modbus-go_PR-139 [Pipeline] { [Pipeline] ws 17:44:37 Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout 17:44:38 9eb99e56ec68: Pull complete 17:44:38 27c7a5d97fbd: Pull complete 17:44:38 5c102a31e300: Pull complete 17:44:38 dcfb455df0a1: Pull complete 17:44:38 Digest: sha256:bf9b800d7ab6b241e21016b558127766659829ad41453f889f6c4db283117473 17:44:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 17:44:38 ---> 7c70fe431013 17:44:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:44:38 ---> Running in 04c656ef5b9f 17:44:38 Removing intermediate container 04c656ef5b9f 17:44:38 ---> 5579f357d247 17:44:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:44:38 ---> Running in 74dc75cd04b1 17:44:40 Removing intermediate container 74dc75cd04b1 17:44:40 ---> 32e8a74f8438 17:44:40 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:44:40 ---> Running in 366a9086f087 17:44:40 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:44:41 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:44:41 (1/17) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 17:44:42 (2/17) Installing libmagic (5.37-r1) 17:44:42 (3/17) Installing file (5.37-r1) 17:44:42 (4/17) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 17:44:42 (5/17) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 17:44:42 (6/17) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 17:44:43 using credential edgex-jenkins-ssh 17:44:43 Cloning the remote Git repository 17:44:43 Cloning with configured refspecs honoured and without tags 17:44:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:44:43 > git init /w/workspace/device-modbus-go/8 # timeout=10 17:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:44:43 > git --version # timeout=10 17:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:44 Fetching without tags 17:44:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:44:44 > git config --add remote.origin.fetch +refs/pull/139/head:refs/remotes/origin/PR-139 # timeout=10 17:44:44 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:44:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/139/head:refs/remotes/origin/PR-139 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:44:45 Merging remotes/origin/master commit cc6d90c40154bca37e23385c8e48fb0109b6b0d5 into PR head commit 128cef50bb66e15e2e4e8d33773d224acdac0653 17:44:45 Merge succeeded, producing 128cef50bb66e15e2e4e8d33773d224acdac0653 17:44:45 Checking out Revision 128cef50bb66e15e2e4e8d33773d224acdac0653 (PR-139) 17:44:45 > git config core.sparsecheckout # timeout=10 17:44:45 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 17:44:45 > git remote # timeout=10 17:44:45 > git config --get remote.origin.url # timeout=10 17:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:44:45 > git merge cc6d90c40154bca37e23385c8e48fb0109b6b0d5 # timeout=10 17:44:45 > git rev-parse HEAD^{commit} # timeout=10 17:44:45 > git config core.sparsecheckout # timeout=10 17:44:45 > git checkout -f 128cef50bb66e15e2e4e8d33773d224acdac0653 # timeout=10 17:44:50 Commit message: "update checksum" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 17:44:51 ========================================================= 17:44:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 17:44:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:44:52 + 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 . 17:44:53 Sending build context to Docker daemon 582.1kB 17:44:53 Step 1/8 : ARG BASE=golang:1.13-alpine 17:44:53 Step 2/8 : FROM ${BASE} 17:44:54 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:44:54 cde5963f3b93: Pulling fs layer 17:44:54 2a23fa8c16f7: Pulling fs layer 17:44:54 777b28850792: Pulling fs layer 17:44:54 8a11ddd9e578: Pulling fs layer 17:44:54 4cf88f913ddb: Pulling fs layer 17:44:54 1df406cf5192: Pulling fs layer 17:44:54 cd6300453558: Pulling fs layer 17:44:54 b9c365052c96: Pulling fs layer 17:44:54 a2d8cc88f415: Pulling fs layer 17:44:54 ea1d1ca13537: Pulling fs layer 17:44:54 3750a50a1c5e: Pulling fs layer 17:44:54 8a11ddd9e578: Waiting 17:44:54 4cf88f913ddb: Waiting 17:44:54 1df406cf5192: Waiting 17:44:54 cd6300453558: Waiting 17:44:54 b9c365052c96: Waiting 17:44:54 a2d8cc88f415: Waiting 17:44:54 ea1d1ca13537: Waiting 17:44:54 3750a50a1c5e: Waiting 17:44:54 777b28850792: Verifying Checksum 17:44:54 777b28850792: Download complete 17:44:54 2a23fa8c16f7: Verifying Checksum 17:44:54 2a23fa8c16f7: Download complete 17:44:54 4cf88f913ddb: Download complete 17:44:54 1df406cf5192: Verifying Checksum 17:44:54 1df406cf5192: Download complete 17:44:54 cde5963f3b93: Verifying Checksum 17:44:54 cde5963f3b93: Download complete 17:44:55 cde5963f3b93: Pull complete 17:44:55 2a23fa8c16f7: Pull complete 17:44:56 777b28850792: Pull complete 17:44:58 cd6300453558: Verifying Checksum 17:44:58 cd6300453558: Download complete 17:44:58 a2d8cc88f415: Verifying Checksum 17:44:58 a2d8cc88f415: Download complete 17:45:00 (7/17) Installing libc-dev (0.7.2-r0) 17:45:00 (8/17) Installing g++ (9.2.0-r4) 17:45:01 ea1d1ca13537: Verifying Checksum 17:45:01 ea1d1ca13537: Download complete 17:45:01 3750a50a1c5e: Download complete 17:45:03 b9c365052c96: Verifying Checksum 17:45:03 b9c365052c96: Download complete 17:45:05 8a11ddd9e578: Download complete 17:45:18 8a11ddd9e578: Pull complete 17:45:18 4cf88f913ddb: Pull complete 17:45:18 1df406cf5192: Pull complete 17:45:21 cd6300453558: Pull complete 17:45:26 b9c365052c96: Pull complete 17:45:26 a2d8cc88f415: Pull complete 17:45:27 (9/17) Installing fortify-headers (1.1-r0) 17:45:27 (10/17) Installing build-base (0.5-r1) 17:45:27 (11/17) Installing openssh-keygen (8.1_p1-r0) 17:45:27 (12/17) Installing libedit (20191211.3.1-r0) 17:45:27 (13/17) Installing openssh-client (8.1_p1-r0) 17:45:27 (14/17) Installing openssh-sftp-server (8.1_p1-r0) 17:45:27 (15/17) Installing openssh-server-common (8.1_p1-r0) 17:45:27 (16/17) Installing openssh-server (8.1_p1-r0) 17:45:27 (17/17) Installing openssh (8.1_p1-r0) 17:45:27 Executing busybox-1.31.1-r8.trigger 17:45:27 OK: 214 MiB in 52 packages 17:45:28 ea1d1ca13537: Pull complete 17:45:29 3750a50a1c5e: Pull complete 17:45:29 Digest: sha256:a3e491bd7756271d1e8fe1bff15cdb93064c35086ae9a2f64bafd3a981b9f581 17:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 17:45:29 ---> 78745c68409d 17:45:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 17:45:29 Removing intermediate container 366a9086f087 17:45:29 ---> be21a49286a8 17:45:29 Step 6/8 : WORKDIR /device-modbus-go 17:45:29 ---> Running in 390cf87f4870 17:45:29 Removing intermediate container 390cf87f4870 17:45:29 ---> 470ff2de96bc 17:45:29 Step 7/8 : COPY . . 17:45:29 ---> 5e780526b0a3 17:45:29 Step 8/8 : RUN go mod download 17:45:29 ---> Running in f87a4fd3ad0e 17:45:31 go: finding github.com/BurntSushi/toml v0.3.1 17:45:31 go: finding github.com/OneOfOne/xxhash v1.2.6 17:45:31 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:45:31 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:45:31 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:45:31 go: finding github.com/bgentry/speakeasy v0.1.0 17:45:31 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:45:31 go: finding github.com/davecgh/go-spew v1.1.1 17:45:31 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:45:31 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:45:31 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:45:31 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:45:31 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:45:31 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:45:31 go: finding github.com/fatih/color v1.7.0 17:45:31 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:45:31 go: finding github.com/go-kit/kit v0.8.0 17:45:31 go: finding github.com/go-logfmt/logfmt v0.4.0 17:45:31 go: finding github.com/go-stack/stack v1.8.0 17:45:31 go: finding github.com/goburrow/modbus v0.1.0 17:45:31 go: finding github.com/goburrow/serial v0.1.0 17:45:31 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:45:31 go: finding github.com/google/uuid v1.1.1 17:45:31 go: finding github.com/gorilla/mux v1.7.1 17:45:31 go: finding github.com/hashicorp/consul/api v1.1.0 17:45:31 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:45:31 go: finding github.com/hashicorp/errwrap v1.0.0 17:45:31 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:45:31 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:45:31 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:45:31 go: finding github.com/hashicorp/go-multierror v1.0.0 17:45:31 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:45:31 go: finding github.com/hashicorp/go-sockaddr v1.0.1 17:45:31 go: finding github.com/hashicorp/go-syslog v1.0.0 17:45:31 go: finding github.com/hashicorp/go-uuid v1.0.1 17:45:31 go: finding github.com/hashicorp/go.net v0.0.1 17:45:31 go: finding github.com/hashicorp/golang-lru v0.5.1 17:45:31 go: finding github.com/hashicorp/logutils v1.0.0 17:45:31 go: finding github.com/hashicorp/mdns v1.0.0 17:45:31 go: finding github.com/hashicorp/memberlist v0.1.3 17:45:31 go: finding github.com/hashicorp/serf v0.8.2 17:45:31 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:45:31 go: finding github.com/mattn/go-colorable v0.0.9 17:45:31 go: finding github.com/mattn/go-isatty v0.0.3 17:45:31 go: finding github.com/miekg/dns v1.1.4 17:45:31 go: finding github.com/mitchellh/cli v1.0.0 17:45:31 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:45:31 go: finding github.com/mitchellh/copystructure v1.0.0 17:45:31 go: finding github.com/mitchellh/go-homedir v1.1.0 17:45:31 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:45:31 go: finding github.com/mitchellh/go-wordwrap v1.0.0 17:45:31 go: finding github.com/mitchellh/gox v0.4.0 17:45:31 go: finding github.com/mitchellh/iochan v1.0.0 17:45:31 go: finding github.com/mitchellh/mapstructure v1.1.2 17:45:31 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:45:31 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:45:31 go: finding github.com/pelletier/go-toml v1.2.0 17:45:31 go: finding github.com/pkg/errors v0.8.1 17:45:31 go: finding github.com/pmezard/go-difflib v1.0.0 17:45:31 go: finding github.com/posener/complete v1.1.1 17:45:31 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 17:45:31 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:45:31 go: finding github.com/stretchr/objx v0.1.0 17:45:31 go: finding github.com/stretchr/testify v1.5.1 17:45:31 go: finding github.com/ugorji/go v1.1.4 17:45:31 go: finding github.com/x448/float16 v0.8.4 17:45:31 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:45:31 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 17:45:31 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:45:32 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:45:32 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:45:32 go: finding gopkg.in/yaml.v2 v2.2.8 17:45:34 ---> Running in c7a25e02ea42 17:45:34 Removing intermediate container c7a25e02ea42 17:45:34 ---> 2b7e6160bf75 17:45:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:34 ---> Running in 30ccf88b4ade 17:45:36 Removing intermediate container f87a4fd3ad0e 17:45:36 ---> e006efdba97d 17:45:36 Successfully built e006efdba97d 17:45:36 Removing intermediate container 30ccf88b4ade 17:45:36 ---> 7ee5e9f015ad 17:45:36 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 17:45:36 ---> Running in 28a830936cd8 17:45:36 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 17:45:37 + docker inspect -f . ci-base-image-x86_64 17:45:37 . [Pipeline] withDockerContainer 17:45:37 prd-centos7-docker-4c-2g-5320 does not seem to be running inside a container 17:45:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:45:37 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:45:37 $ docker top 6c19b42be0a9a7a348a89c9d4008daa4a8980197b73909eb9ae46b00565305e9 -eo pid,comm [Pipeline] { 17:45:38 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz [Pipeline] sh 17:45:38 + go version 17:45:38 go version go1.13.5 linux/amd64 [Pipeline] sh 17:45:38 (1/18) Upgrading libgcc (9.2.0-r3 -> 9.2.0-r4) 17:45:38 + make test 17:45:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:45:38 (2/18) Upgrading libstdc++ (9.2.0-r3 -> 9.2.0-r4) 17:45:39 (3/18) Installing libmagic (5.37-r1) 17:45:39 (4/18) Installing file (5.37-r1) 17:45:39 (5/18) Upgrading libgomp (9.2.0-r3 -> 9.2.0-r4) 17:45:39 (6/18) Upgrading libatomic (9.2.0-r3 -> 9.2.0-r4) 17:45:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:45:39 (7/18) Upgrading gcc (9.2.0-r3 -> 9.2.0-r4) 17:45:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:45:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.144s coverage: 50.3% of statements 17:45:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:45:49 (8/18) Installing libc-dev (0.7.2-r0) 17:45:49 (9/18) Installing g++ (9.2.0-r4) 17:45:51 gofmt -l . 17:45:51 [ "`gofmt -l .`" = "" ] 17:45:51 ./bin/test-attribution-txt.sh 17:45:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:45:52 Stashed 1 file(s) [Pipeline] } 17:45:52 $ docker stop --time=1 6c19b42be0a9a7a348a89c9d4008daa4a8980197b73909eb9ae46b00565305e9 17:45:53 $ docker rm -f 6c19b42be0a9a7a348a89c9d4008daa4a8980197b73909eb9ae46b00565305e9 [Pipeline] // withDockerContainer [Pipeline] } 17:45:54 (10/18) Installing fortify-headers (1.1-r0) 17:45:54 (11/18) Installing build-base (0.5-r1) 17:45:54 (12/18) Installing openssh-keygen (8.1_p1-r0) 17:45:54 (13/18) Installing libedit (20191211.3.1-r0) 17:45:54 (14/18) Installing openssh-client (8.1_p1-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:45:54 (15/18) Installing openssh-sftp-server (8.1_p1-r0) 17:45:54 (16/18) Installing openssh-server-common (8.1_p1-r0) 17:45:54 (17/18) Installing openssh-server (8.1_p1-r0) 17:45:54 (18/18) Installing openssh (8.1_p1-r0) 17:45:54 Executing busybox-1.31.1-r8.trigger 17:45:54 OK: 203 MiB in 52 packages [Pipeline] sh 17:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:45:55 + ls -al . 17:45:55 total 104 17:45:55 drwxrwxr-x. 9 jenkins jenkins 4096 Apr 21 17:45 . 17:45:55 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 17:44 .. 17:45:55 -rw-rw-r--. 1 jenkins jenkins 5146 Apr 21 17:44 Attribution.txt 17:45:55 drwxrwxr-x. 2 jenkins jenkins 87 Apr 21 17:44 bin 17:45:55 drwxrwxr-x. 3 jenkins jenkins 32 Apr 21 17:44 cmd 17:45:55 -rw-r--r--. 1 jenkins jenkins 22123 Apr 21 17:45 coverage.out 17:45:55 -rw-rw-r--. 1 jenkins jenkins 1422 Apr 21 17:44 Dockerfile 17:45:55 -rw-rw-r--. 1 jenkins jenkins 954 Apr 21 17:44 Dockerfile.build 17:45:55 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 17:44 .dockerignore 17:45:55 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 17:44 .git 17:45:55 -rw-rw-r--. 1 jenkins jenkins 338 Apr 21 17:44 .gitignore 17:45:55 -rw-r--r--. 1 jenkins jenkins 566 Apr 21 17:45 go.mod 17:45:55 -rw-r--r--. 1 jenkins jenkins 13382 Apr 21 17:45 go.sum 17:45:55 drwxrwxr-x. 3 jenkins jenkins 20 Apr 21 17:44 internal 17:45:55 -rw-rw-r--. 1 jenkins jenkins 702 Apr 21 17:44 Jenkinsfile 17:45:55 -rw-rw-r--. 1 jenkins jenkins 11340 Apr 21 17:44 LICENSE 17:45:55 -rw-rw-r--. 1 jenkins jenkins 880 Apr 21 17:44 Makefile 17:45:55 -rw-rw-r--. 1 jenkins jenkins 591 Apr 21 17:44 README.md 17:45:55 drwxrwxr-x. 3 jenkins jenkins 58 Apr 21 17:44 .semver 17:45:55 drwxrwxr-x. 2 jenkins jenkins 35 Apr 21 17:44 simulator 17:45:55 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 17:44 snap 17:45:55 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 17:41 VERSION 17:45:55 -rw-rw-r--. 1 jenkins jenkins 229 Apr 21 17:44 version.go [Pipeline] isUnix [Pipeline] sh 17:45:55 + 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=128cef50bb66e15e2e4e8d33773d224acdac0653 --label arch=amd64 --label version=0.0.0 . 17:45:55 Sending build context to Docker daemon 610.8kB 17:45:55 Step 1/19 : ARG BASE=golang:1.13-alpine 17:45:55 Step 2/19 : FROM ${BASE} AS builder 17:45:55 ---> e006efdba97d 17:45:55 Step 3/19 : ARG MAKE='make build' 17:45:55 ---> Running in 563f32cdffea 17:45:55 Removing intermediate container 563f32cdffea 17:45:55 ---> 9f3c463acd72 17:45:55 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:45:55 ---> Running in 988caba075c2 17:45:56 Removing intermediate container 988caba075c2 17:45:56 ---> d864f40d7fb9 17:45:56 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 17:45:56 ---> Running in 35f559433012 17:45:57 fetch http://nl.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz 17:45:58 fetch http://nl.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz 17:45:58 OK: 214 MiB in 52 packages 17:45:58 Removing intermediate container 35f559433012 17:45:58 ---> ec680423f9e0 17:45:58 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 17:45:58 ---> Running in 5bc24f090d1e 17:45:58 Removing intermediate container 5bc24f090d1e 17:45:58 ---> fde947985a5c 17:45:58 Step 7/19 : COPY . . 17:45:59 ---> 35ddd172fc6e 17:45:59 Step 8/19 : RUN ${MAKE} 17:45:59 ---> Running in 35001da65bb2 17:45:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:46:01 Removing intermediate container 28a830936cd8 17:46:01 ---> 738e2f744abe 17:46:01 Step 6/8 : WORKDIR /device-modbus-go 17:46:01 ---> Running in 4f6f93a2867c 17:46:01 Removing intermediate container 4f6f93a2867c 17:46:01 ---> 136bd3e3152a 17:46:01 Step 7/8 : COPY . . 17:46:02 ---> de337a28c874 17:46:02 Step 8/8 : RUN go mod download 17:46:02 ---> Running in 6447e5750004 17:46:04 go: finding github.com/BurntSushi/toml v0.3.1 17:46:04 go: finding github.com/OneOfOne/xxhash v1.2.6 17:46:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 17:46:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:46:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 17:46:04 go: finding github.com/bgentry/speakeasy v0.1.0 17:46:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:46:04 go: finding github.com/davecgh/go-spew v1.1.1 17:46:04 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:46:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:46:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:46:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:46:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:46:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:46:04 go: finding github.com/fatih/color v1.7.0 17:46:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:46:04 go: finding github.com/go-kit/kit v0.8.0 17:46:04 go: finding github.com/go-logfmt/logfmt v0.4.0 17:46:04 go: finding github.com/go-stack/stack v1.8.0 17:46:04 go: finding github.com/goburrow/modbus v0.1.0 17:46:04 go: finding github.com/goburrow/serial v0.1.0 17:46:04 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:46:04 go: finding github.com/google/uuid v1.1.1 17:46:04 go: finding github.com/gorilla/mux v1.7.1 17:46:04 go: finding github.com/hashicorp/consul/api v1.1.0 17:46:04 go: finding github.com/hashicorp/consul/sdk v0.1.1 17:46:04 go: finding github.com/hashicorp/errwrap v1.0.0 17:46:04 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:46:04 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:46:04 go: finding github.com/hashicorp/go-msgpack v0.5.3 17:46:04 go: finding github.com/hashicorp/go-multierror v1.0.0 17:46:04 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:46:04 go: finding github.com/hashicorp/go-sockaddr v1.0.1 17:46:04 go: finding github.com/hashicorp/go-syslog v1.0.0 17:46:04 go: finding github.com/hashicorp/go-uuid v1.0.1 17:46:04 go: finding github.com/hashicorp/go.net v0.0.1 17:46:04 go: finding github.com/hashicorp/golang-lru v0.5.1 17:46:04 go: finding github.com/hashicorp/logutils v1.0.0 17:46:04 go: finding github.com/hashicorp/mdns v1.0.0 17:46:04 go: finding github.com/hashicorp/memberlist v0.1.3 17:46:04 go: finding github.com/hashicorp/serf v0.8.2 17:46:04 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 17:46:04 go: finding github.com/mattn/go-colorable v0.0.9 17:46:04 go: finding github.com/mattn/go-isatty v0.0.3 17:46:04 go: finding github.com/miekg/dns v1.1.4 17:46:04 go: finding github.com/mitchellh/cli v1.0.0 17:46:04 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:46:04 go: finding github.com/mitchellh/copystructure v1.0.0 17:46:04 go: finding github.com/mitchellh/go-homedir v1.1.0 17:46:04 go: finding github.com/mitchellh/go-testing-interface v1.0.0 17:46:04 go: finding github.com/mitchellh/go-wordwrap v1.0.0 17:46:04 go: finding github.com/mitchellh/gox v0.4.0 17:46:04 go: finding github.com/mitchellh/iochan v1.0.0 17:46:04 go: finding github.com/mitchellh/mapstructure v1.1.2 17:46:04 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:46:04 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:46:04 go: finding github.com/pelletier/go-toml v1.2.0 17:46:04 go: finding github.com/pkg/errors v0.8.1 17:46:04 go: finding github.com/pmezard/go-difflib v1.0.0 17:46:04 go: finding github.com/posener/complete v1.1.1 17:46:04 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 17:46:04 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:46:04 go: finding github.com/stretchr/objx v0.1.0 17:46:05 go: finding github.com/stretchr/testify v1.5.1 17:46:05 go: finding github.com/ugorji/go v1.1.4 17:46:05 go: finding github.com/x448/float16 v0.8.4 17:46:05 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 17:46:05 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 17:46:05 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 17:46:05 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 17:46:05 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 17:46:05 go: finding gopkg.in/yaml.v2 v2.2.8 17:46:09 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:46:10 Removing intermediate container 35001da65bb2 17:46:10 ---> b956d940cdcb 17:46:10 Step 9/19 : FROM scratch 17:46:10 ---> 17:46:10 Step 10/19 : ENV APP_PORT=49991 17:46:10 ---> Running in cb4c65a079b8 17:46:10 Removing intermediate container cb4c65a079b8 17:46:10 ---> 76a709ad4773 17:46:10 Step 11/19 : EXPOSE $APP_PORT 17:46:10 ---> Running in cccd14edb4b2 17:46:10 Removing intermediate container cccd14edb4b2 17:46:10 ---> 54ef66f5b164 17:46:10 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 17:46:11 ---> a7ac6087f521 17:46:11 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 17:46:11 ---> 8dbea52f19c9 17:46:11 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 17:46:13 ---> eab27f76a863 17:46:13 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 17:46:13 ---> Running in ac9fafb34e1d 17:46:13 Removing intermediate container ac9fafb34e1d 17:46:13 ---> 2a7d6b1c1526 17:46:13 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 17:46:13 ---> Running in fb59c5fa8efe 17:46:13 Removing intermediate container fb59c5fa8efe 17:46:13 ---> d86f28ab707a 17:46:13 Step 17/19 : LABEL arch=amd64 17:46:13 ---> Running in 53f8a0fab368 17:46:14 Removing intermediate container 53f8a0fab368 17:46:14 ---> b60346f0add1 17:46:14 Step 18/19 : LABEL git_sha=128cef50bb66e15e2e4e8d33773d224acdac0653 17:46:14 ---> Running in 767b50c58993 17:46:14 Removing intermediate container 767b50c58993 17:46:14 ---> 02bbfccf7820 17:46:14 Step 19/19 : LABEL version=0.0.0 17:46:14 ---> Running in 279f4b6bc030 17:46:14 Removing intermediate container 279f4b6bc030 17:46:14 ---> 626d55a1ef1b 17:46:14 [Warning] One or more build-args [ARCH] were not consumed 17:46:14 Successfully built 626d55a1ef1b 17:46:14 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:15 Removing intermediate container 6447e5750004 17:46:15 ---> 9f651e7d55b7 17:46:15 Successfully built 9f651e7d55b7 17:46:15 Successfully tagged ci-base-image-arm64:latest 17:46:15 ++ find /w/workspace/device-modbus-go/8 17:46:15 ++ grep snapcraft.yaml 17:46:15 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/8/snap/snapcraft.yaml [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] configFileProvider 17:46:15 provisioning config files... 17:46:15 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/8@tmp/config7508153360766934393tmp [Pipeline] stage [Pipeline] { (Test) [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:46:15 + cp /w/workspace/device-modbus-go/8@tmp/config7508153360766934393tmp /w/workspace/device-modbus-go/8/edgex-snap-store-login [Pipeline] sh 17:46:16 + docker inspect -f . ci-base-image-arm64 17:46:16 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/8:/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 17:46:16 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 17:46:16 latest: Pulling from edgex-devops/edgex-snap-builder 17:46:16 5bed26d33875: Pulling fs layer 17:46:16 f11b29a9c730: Pulling fs layer 17:46:16 930bda195c84: Pulling fs layer 17:46:16 78bf9a5ad49e: Pulling fs layer 17:46:16 e5fbee5a4b0d: Pulling fs layer 17:46:16 f452fca78f88: Pulling fs layer 17:46:16 7417ef92027a: Pulling fs layer 17:46:16 2af5c49d270b: Pulling fs layer 17:46:16 df9c3bdbc40a: Pulling fs layer 17:46:16 f452fca78f88: Waiting 17:46:16 7417ef92027a: Waiting 17:46:16 2af5c49d270b: Waiting 17:46:16 df9c3bdbc40a: Waiting 17:46:16 78bf9a5ad49e: Waiting 17:46:16 e5fbee5a4b0d: Waiting 17:46:16 930bda195c84: Verifying Checksum 17:46:16 930bda195c84: Download complete 17:46:16 f11b29a9c730: Verifying Checksum 17:46:16 f11b29a9c730: Download complete 17:46:16 78bf9a5ad49e: Verifying Checksum 17:46:16 78bf9a5ad49e: Download complete 17:46:16 f452fca78f88: Verifying Checksum 17:46:16 f452fca78f88: Download complete 17:46:16 7417ef92027a: Verifying Checksum 17:46:16 7417ef92027a: Download complete 17:46:16 2af5c49d270b: Verifying Checksum 17:46:16 2af5c49d270b: Download complete 17:46:16 df9c3bdbc40a: Verifying Checksum 17:46:16 df9c3bdbc40a: Download complete 17:46:16 . [Pipeline] withDockerContainer 17:46:16 prd-ubuntu18.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 17:46:16 5bed26d33875: Verifying Checksum 17:46:16 5bed26d33875: Download complete 17:46:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:46:18 $ docker top f2d1f504b046f9c72088b8a03db580c49bfa05ef3a2db3c0d33b1d4c9bf2e3b7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:19 + go version 17:46:19 go version go1.13.5 linux/arm64 [Pipeline] sh 17:46:20 e5fbee5a4b0d: Verifying Checksum 17:46:20 e5fbee5a4b0d: Download complete 17:46:20 + make test 17:46:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:46:21 5bed26d33875: Pull complete 17:46:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:46:21 f11b29a9c730: Pull complete 17:46:21 930bda195c84: Pull complete 17:46:21 78bf9a5ad49e: Pull complete 17:46:43 e5fbee5a4b0d: Pull complete 17:46:43 f452fca78f88: Pull complete 17:46:43 7417ef92027a: Pull complete 17:46:43 2af5c49d270b: Pull complete 17:46:43 df9c3bdbc40a: Pull complete 17:46:43 Digest: sha256:329b7ca3c147263d7a6122d30aca7e6f18adc9017ce870f1638d2965d7494739 17:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 17:46:44 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 17:46:44 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 17:46:44 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 17:46:45 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 17:46:45 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [889 kB] 17:46:45 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1372 kB] 17:46:45 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [839 kB] 17:46:45 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1185 kB] 17:46:45 Get:9 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7674 B] 17:46:45 Get:10 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [8286 B] 17:46:46 Fetched 4553 kB in 1s (3042 kB/s) 17:46:47 Reading package lists... 17:46:50 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 17:46:52 Reading package lists... 17:46:52 Building dependency tree... 17:46:52 Reading state information... 17:46:52 The following packages were automatically installed and are no longer required: 17:46:52 libjq1 liblzo2-2 libonig4 17:46:52 Use 'sudo apt autoremove' to remove them. 17:46:52 Suggested packages: 17:46:52 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 17:46:52 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 17:46:52 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 17:46:52 libterm-readline-gnu-perl | libterm-readline-perl-perl 17:46:52 The following NEW packages will be installed: 17:46:52 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 17:46:52 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 17:46:52 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 17:46:52 openssh-client patch perl perl-modules-5.26 xauth 17:46:52 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 17:46:52 Need to get 14.7 MB of archives. 17:46:52 After this operation, 89.5 MB of additional disk space will be used. 17:46:52 Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau6 amd64 1:1.0.8-1 [8376 B] 17:46:52 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbsd0 amd64 0.8.7-1ubuntu0.1 [41.6 kB] 17:46:53 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp6 amd64 1:1.1.2-3 [10.7 kB] 17:46:53 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1 amd64 1.13-2~ubuntu18.04 [45.5 kB] 17:46:53 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 17:46:53 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-6 amd64 2:1.6.4-3ubuntu0.2 [569 kB] 17:46:53 Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext6 amd64 2:1.3.3-1 [29.4 kB] 17:46:53 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 17:46:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:46:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.207s coverage: 50.3% of statements 17:46:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:46:53 Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 17:46:53 Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 17:46:53 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 17:46:53 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 17:46:53 Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 17:46:53 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB] 17:46:53 Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 17:46:53 Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB] 17:46:53 Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1088 kB] 17:46:53 Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9674 B] 17:46:53 Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB] 17:46:53 Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB] 17:46:53 Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB] 17:46:54 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.8 [213 kB] 17:46:54 Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 17:46:54 Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 17:46:54 Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 17:46:54 Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 17:46:54 Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 17:46:54 debconf: delaying package configuration, since apt-utils is not installed 17:46:54 Fetched 14.7 MB in 2s (8823 kB/s) 17:46:54 Selecting previously unselected package libxau6:amd64. 17:46:54 (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.) 17:46:54 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_amd64.deb ... 17:46:54 Unpacking libxau6:amd64 (1:1.0.8-1) ... 17:46:55 Selecting previously unselected package libbsd0:amd64. 17:46:55 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ... 17:46:55 Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 17:46:55 Selecting previously unselected package libxdmcp6:amd64. 17:46:55 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ... 17:46:55 Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 17:46:55 Selecting previously unselected package libxcb1:amd64. 17:46:55 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ... 17:46:55 Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ... 17:46:55 Selecting previously unselected package libx11-data. 17:46:55 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 17:46:55 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 17:46:55 gofmt -l . 17:46:55 [ "`gofmt -l .`" = "" ] 17:46:55 ./bin/test-attribution-txt.sh 17:46:55 Selecting previously unselected package libx11-6:amd64. 17:46:55 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_amd64.deb ... 17:46:55 Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 17:46:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 17:46:56 Warning: overwriting stash ‘coverage-report’ 17:46:56 Selecting previously unselected package libxext6:amd64. 17:46:56 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ... 17:46:56 Unpacking libxext6:amd64 (2:1.3.3-1) ... 17:46:56 Selecting previously unselected package perl-modules-5.26. 17:46:56 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 17:46:56 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:46:56 Stashed 1 file(s) [Pipeline] } 17:46:56 $ docker stop --time=1 f2d1f504b046f9c72088b8a03db580c49bfa05ef3a2db3c0d33b1d4c9bf2e3b7 17:46:59 $ docker rm -f f2d1f504b046f9c72088b8a03db580c49bfa05ef3a2db3c0d33b1d4c9bf2e3b7 17:46:59 Selecting previously unselected package libgdbm5:amd64. 17:46:59 Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ... 17:46:59 Unpacking libgdbm5:amd64 (1.14.1-6) ... 17:46:59 Selecting previously unselected package libgdbm-compat4:amd64. 17:46:59 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ... 17:46:59 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 17:46:59 Selecting previously unselected package libperl5.26:amd64. 17:46:59 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 17:46:59 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:47:00 Selecting previously unselected package perl. 17:47:00 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_amd64.deb ... 17:47:00 Unpacking perl (5.26.1-6ubuntu0.3) ... 17:47:00 + ls -al . 17:47:00 total 136 17:47:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 17:46 . 17:47:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:44 .. 17:47:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 17:44 .dockerignore 17:47:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 17:44 .git 17:47:00 -rw-rw-r-- 1 jenkins jenkins 338 Apr 21 17:44 .gitignore 17:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:44 .semver 17:47:00 -rw-rw-r-- 1 jenkins jenkins 5146 Apr 21 17:44 Attribution.txt 17:47:00 -rw-rw-r-- 1 jenkins jenkins 1422 Apr 21 17:44 Dockerfile 17:47:00 -rw-rw-r-- 1 jenkins jenkins 954 Apr 21 17:44 Dockerfile.build 17:47:00 -rw-rw-r-- 1 jenkins jenkins 702 Apr 21 17:44 Jenkinsfile 17:47:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 17:44 LICENSE 17:47:00 -rw-rw-r-- 1 jenkins jenkins 880 Apr 21 17:44 Makefile 17:47:00 -rw-rw-r-- 1 jenkins jenkins 591 Apr 21 17:44 README.md 17:47:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 17:41 VERSION 17:47:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:44 bin 17:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:44 cmd 17:47:00 -rw-r--r-- 1 jenkins jenkins 22123 Apr 21 17:46 coverage.out 17:47:00 -rw-r--r-- 1 jenkins jenkins 566 Apr 21 17:46 go.mod 17:47:00 -rw-r--r-- 1 jenkins jenkins 13382 Apr 21 17:46 go.sum 17:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 17:44 internal 17:47:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 17:44 simulator 17:47:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 17:44 snap 17:47:00 -rw-rw-r-- 1 jenkins jenkins 229 Apr 21 17:44 version.go [Pipeline] isUnix [Pipeline] sh 17:47:01 + 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=128cef50bb66e15e2e4e8d33773d224acdac0653 --label arch=arm64 --label version=0.0.0 . 17:47:01 Selecting previously unselected package less. 17:47:01 Preparing to unpack .../12-less_487-0.1_amd64.deb ... 17:47:01 Unpacking less (487-0.1) ... 17:47:01 Selecting previously unselected package libexpat1:amd64. 17:47:01 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ... 17:47:01 Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 17:47:01 Selecting previously unselected package netbase. 17:47:01 Preparing to unpack .../14-netbase_5.4_all.deb ... 17:47:01 Unpacking netbase (5.4) ... 17:47:01 Selecting previously unselected package libedit2:amd64. 17:47:01 Preparing to unpack .../15-libedit2_3.1-20170329-1_amd64.deb ... 17:47:01 Unpacking libedit2:amd64 (3.1-20170329-1) ... 17:47:01 Sending build context to Docker daemon 610.8kB 17:47:01 Selecting previously unselected package libssl1.0.0:amd64. 17:47:01 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ... 17:47:01 Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 17:47:01 Selecting previously unselected package libxmuu1:amd64. 17:47:01 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_amd64.deb ... 17:47:01 Unpacking libxmuu1:amd64 (2:1.1.2-2) ... 17:47:01 Step 1/19 : ARG BASE=golang:1.13-alpine 17:47:01 Step 2/19 : FROM ${BASE} AS builder 17:47:01 ---> 9f651e7d55b7 17:47:01 Step 3/19 : ARG MAKE='make build' 17:47:01 Selecting previously unselected package openssh-client. 17:47:01 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ... 17:47:01 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 17:47:01 Selecting previously unselected package xauth. 17:47:01 Preparing to unpack .../19-xauth_1%3a1.0.10-1_amd64.deb ... 17:47:01 Unpacking xauth (1:1.0.10-1) ... 17:47:02 ---> Running in c7bd82868cab 17:47:02 Selecting previously unselected package curl. 17:47:02 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_amd64.deb ... 17:47:02 Unpacking curl (7.58.0-2ubuntu3.8) ... 17:47:02 Selecting previously unselected package libcurl3-gnutls:amd64. 17:47:02 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_amd64.deb ... 17:47:02 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 17:47:02 Selecting previously unselected package liberror-perl. 17:47:02 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 17:47:02 Unpacking liberror-perl (0.17025-1) ... 17:47:02 Selecting previously unselected package git-man. 17:47:02 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 17:47:02 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 17:47:02 Removing intermediate container c7bd82868cab 17:47:02 ---> 1ac22845d11f 17:47:02 Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:47:02 Selecting previously unselected package git. 17:47:02 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 17:47:02 Unpacking git (1:2.17.1-1ubuntu0.7) ... 17:47:02 ---> Running in 632a73f650c9 17:47:02 Selecting previously unselected package make. 17:47:02 Preparing to unpack .../25-make_4.1-9.1ubuntu1_amd64.deb ... 17:47:02 Unpacking make (4.1-9.1ubuntu1) ... 17:47:02 Selecting previously unselected package patch. 17:47:02 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_amd64.deb ... 17:47:02 Unpacking patch (2.7.6-2ubuntu1.1) ... 17:47:03 Setting up libedit2:amd64 (3.1-20170329-1) ... 17:47:03 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 17:47:03 Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ... 17:47:03 Setting up less (487-0.1) ... 17:47:03 Setting up make (4.1-9.1ubuntu1) ... 17:47:03 Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ... 17:47:03 Setting up curl (7.58.0-2ubuntu3.8) ... 17:47:03 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.8) ... 17:47:03 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:47:03 Setting up libgdbm5:amd64 (1.14.1-6) ... 17:47:03 Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ... 17:47:03 Setting up patch (2.7.6-2ubuntu1.1) ... 17:47:03 Setting up libxdmcp6:amd64 (1:1.1.2-3) ... 17:47:03 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 17:47:03 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 17:47:04 Removing intermediate container 632a73f650c9 17:47:04 ---> b14dbeb155ac 17:47:04 Step 5/19 : RUN apk add --update --no-cache make git openssh build-base 17:47:04 ---> Running in c8298b5d0037 17:47:05 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 17:47:05 Setting up libxau6:amd64 (1:1.0.8-1) ... 17:47:05 Setting up netbase (5.4) ... 17:47:05 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 17:47:05 Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ... 17:47:05 Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.2) ... 17:47:05 Setting up libxmuu1:amd64 (2:1.1.2-2) ... 17:47:05 Setting up perl (5.26.1-6ubuntu0.3) ... 17:47:05 Setting up libxext6:amd64 (2:1.3.3-1) ... 17:47:05 Setting up liberror-perl (0.17025-1) ... 17:47:05 fetch http://nl.alpinelinux.org/alpine/v3.11/main/aarch64/APKINDEX.tar.gz 17:47:05 Setting up xauth (1:1.0.10-1) ... 17:47:05 Setting up git (1:2.17.1-1ubuntu0.7) ... 17:47:05 Processing triggers for libc-bin (2.27-3ubuntu1) ... 17:47:06 fetch http://nl.alpinelinux.org/alpine/v3.11/community/aarch64/APKINDEX.tar.gz 17:47:06 OK: 203 MiB in 52 packages 17:47:07 curl set to automatically installed. 17:47:07 git set to automatically installed. 17:47:07 git-man set to automatically installed. 17:47:07 less set to automatically installed. 17:47:07 libbsd0 set to automatically installed. 17:47:07 libcurl3-gnutls set to automatically installed. 17:47:07 libedit2 set to automatically installed. 17:47:07 liberror-perl set to automatically installed. 17:47:07 libexpat1 set to automatically installed. 17:47:07 libgdbm-compat4 set to automatically installed. 17:47:07 libgdbm5 set to automatically installed. 17:47:07 libperl5.26 set to automatically installed. 17:47:07 libssl1.0.0 set to automatically installed. 17:47:07 libx11-6 set to automatically installed. 17:47:07 libx11-data set to automatically installed. 17:47:07 libxau6 set to automatically installed. 17:47:07 libxcb1 set to automatically installed. 17:47:07 libxdmcp6 set to automatically installed. 17:47:07 libxext6 set to automatically installed. 17:47:07 libxmuu1 set to automatically installed. 17:47:07 make set to automatically installed. 17:47:07 netbase set to automatically installed. 17:47:07 openssh-client set to automatically installed. 17:47:07 patch set to automatically installed. 17:47:07 perl set to automatically installed. 17:47:07 perl-modules-5.26 set to automatically installed. 17:47:07 xauth set to automatically installed. 17:47:07 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 17:47:07 Please ensure the environment is properly setup before continuing. 17:47:07 Ignore this message if the appropriate measures have already been taken 17:47:07 Removing intermediate container c8298b5d0037 17:47:07 ---> d35bdb3ac594 17:47:07 Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 17:47:07 ---> Running in dd38410dfc01 17:47:08 Removing intermediate container dd38410dfc01 17:47:08 ---> 06c1dc739f55 17:47:08 Step 7/19 : COPY . . 17:47:08 ---> 7c28cdcd7c79 17:47:08 Step 8/19 : RUN ${MAKE} 17:47:09 ---> Running in 3bfad07404a0 17:47:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:47:29 Pulling go 17:47:30 'device-modbus' has dependencies that need to be staged: go 17:47:30 Skipping pull go (already ran) 17:47:30 Building go 17:47:30 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:30 Dload Upload Total Spent Left Speed 17:47:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 29046 0 0 388k 0 0:05:01 --:--:-- 0:05:01 383k 88 114M 88 101M 0 0 94.1M 0 0:00:01 0:00:01 --:--:-- 94.1M 100 114M 100 114M 0 0 95.3M 0 0:00:01 0:00:01 --:--:-- 95.2M 17:47:31 go1.13.5.linux-amd64.tar.gz: OK 17:47:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:47:39 Staging go 17:47:39 Pulling device-modbus 17:47:40 Removing intermediate container 3bfad07404a0 17:47:40 ---> 1a1d92de902f 17:47:40 Step 9/19 : FROM scratch 17:47:40 ---> 17:47:40 Step 10/19 : ENV APP_PORT=49991 17:47:40 ---> Running in d27735a437c8 17:47:40 Removing intermediate container d27735a437c8 17:47:40 ---> 4ca2a49bf4a6 17:47:40 Step 11/19 : EXPOSE $APP_PORT 17:47:40 ---> Running in 1a9c6d56f149 17:47:40 Removing intermediate container 1a9c6d56f149 17:47:40 ---> 3fdd759bc03b 17:47:40 Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 17:47:41 Skipping build go (already ran) 17:47:41 Building device-modbus 17:47:41 ---> b01896b72ef3 17:47:41 Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 17:47:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:47:41 ---> 99e17f74b027 17:47:41 Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 17:47:42 ---> 7096b987985a 17:47:42 Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 17:47:42 ---> Running in d5518797ed24 17:47:42 Removing intermediate container d5518797ed24 17:47:42 ---> 7c0bf003a8d3 17:47:42 Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] 17:47:42 ---> Running in 266a7ae60e4c 17:47:43 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:47:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:47:43 go: downloading github.com/goburrow/modbus v0.1.0 17:47:43 go: extracting github.com/goburrow/modbus v0.1.0 17:47:43 go: downloading github.com/goburrow/serial v0.1.0 17:47:43 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:47:43 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:47:43 go: extracting github.com/goburrow/serial v0.1.0 17:47:43 go: downloading github.com/go-kit/kit v0.8.0 17:47:43 go: downloading github.com/google/uuid v1.1.1 17:47:43 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:47:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:47:43 go: downloading github.com/gorilla/mux v1.7.1 17:47:43 go: extracting github.com/google/uuid v1.1.1 17:47:43 go: downloading github.com/pkg/errors v0.8.1 17:47:43 go: extracting github.com/gorilla/mux v1.7.1 17:47:43 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:47:43 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 17:47:43 go: extracting github.com/pkg/errors v0.8.1 17:47:43 go: downloading github.com/OneOfOne/xxhash v1.2.6 17:47:43 go: extracting github.com/go-kit/kit v0.8.0 17:47:43 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 17:47:43 go: downloading gopkg.in/yaml.v2 v2.2.8 17:47:43 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 17:47:43 go: downloading github.com/x448/float16 v0.8.4 17:47:43 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 17:47:43 go: downloading github.com/BurntSushi/toml v0.3.1 17:47:43 go: extracting github.com/OneOfOne/xxhash v1.2.6 17:47:43 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 17:47:43 go: downloading github.com/pelletier/go-toml v1.2.0 17:47:43 go: extracting github.com/x448/float16 v0.8.4 17:47:43 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 17:47:43 go: downloading github.com/hashicorp/consul/api v1.1.0 17:47:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:47:43 go: extracting gopkg.in/yaml.v2 v2.2.8 17:47:43 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 17:47:43 go: extracting github.com/BurntSushi/toml v0.3.1 17:47:43 Removing intermediate container 266a7ae60e4c 17:47:43 ---> fc00e89b7457 17:47:43 Step 17/19 : LABEL arch=arm64 17:47:43 ---> Running in 5c3861a6f608 17:47:43 go: extracting github.com/pelletier/go-toml v1.2.0 17:47:43 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:47:43 go: extracting github.com/hashicorp/consul/api v1.1.0 17:47:43 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:47:43 go: downloading github.com/mitchellh/copystructure v1.0.0 17:47:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:47:43 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:47:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:47:43 go: downloading github.com/hashicorp/serf v0.8.2 17:47:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:47:43 go: extracting github.com/mitchellh/copystructure v1.0.0 17:47:43 go: extracting github.com/go-logfmt/logfmt v0.4.0 17:47:43 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:47:43 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 17:47:43 go: extracting github.com/mitchellh/mapstructure v1.1.2 17:47:43 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 17:47:43 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 17:47:43 go: extracting github.com/mitchellh/reflectwalk v1.0.0 17:47:43 go: extracting github.com/hashicorp/serf v0.8.2 17:47:43 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:47:43 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:47:43 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:47:43 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 17:47:43 go: downloading github.com/hashicorp/golang-lru v0.5.1 17:47:43 go: extracting github.com/hashicorp/golang-lru v0.5.1 17:47:43 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:47:43 go: finding github.com/gorilla/mux v1.7.1 17:47:43 go: finding github.com/OneOfOne/xxhash v1.2.6 17:47:43 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:47:43 go: finding github.com/google/uuid v1.1.1 17:47:43 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:47:43 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:47:43 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:47:43 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:47:43 go: finding gopkg.in/yaml.v2 v2.2.8 17:47:43 go: finding github.com/BurntSushi/toml v0.3.1 17:47:43 go: finding github.com/pkg/errors v0.8.1 17:47:43 go: finding github.com/x448/float16 v0.8.4 17:47:43 go: finding github.com/hashicorp/consul/api v1.1.0 17:47:43 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:47:43 go: finding github.com/pelletier/go-toml v1.2.0 17:47:43 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:47:43 go: finding github.com/go-kit/kit v0.8.0 17:47:43 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:47:43 go: finding github.com/hashicorp/serf v0.8.2 17:47:43 go: finding github.com/go-logfmt/logfmt v0.4.0 17:47:43 go: finding github.com/mitchellh/mapstructure v1.1.2 17:47:43 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:47:43 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:47:43 go: finding github.com/goburrow/modbus v0.1.0 17:47:43 go: finding github.com/mitchellh/copystructure v1.0.0 17:47:43 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:47:43 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:47:43 go: finding github.com/goburrow/serial v0.1.0 17:47:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:47:43 go: finding github.com/hashicorp/golang-lru v0.5.1 17:47:43 Removing intermediate container 5c3861a6f608 17:47:43 ---> 3cae231a9d10 17:47:43 Step 18/19 : LABEL git_sha=128cef50bb66e15e2e4e8d33773d224acdac0653 17:47:43 ---> Running in 288bb773e3e4 17:47:44 Removing intermediate container 288bb773e3e4 17:47:44 ---> 0adf4d2eb165 17:47:44 Step 19/19 : LABEL version=0.0.0 17:47:44 ---> Running in f30f491f4678 17:47:44 Removing intermediate container f30f491f4678 17:47:44 ---> 60b1c32fa8e3 17:47:44 [Warning] One or more build-args [ARCH] were not consumed 17:47:44 Successfully built 60b1c32fa8e3 17:47:44 Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:45 + find /w/workspace/device-modbus-go/8 17:47:45 + grep snapcraft.yaml 17:47:45 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/8/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:45 provisioning config files... 17:47:45 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/8@tmp/config3058632322749594361tmp [Pipeline] { [Pipeline] sh 17:47:45 + cp /w/workspace/device-modbus-go/8@tmp/config3058632322749594361tmp /w/workspace/device-modbus-go/8/edgex-snap-store-login [Pipeline] sh 17:47:46 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/8:/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 17:47:46 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 17:47:46 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 17:47:46 b2f61026a351: Pulling fs layer 17:47:46 5538fb30c42c: Pulling fs layer 17:47:46 f0b05810781a: Pulling fs layer 17:47:46 0180a33352d6: Pulling fs layer 17:47:46 e7604b0c0f53: Pulling fs layer 17:47:46 db689cb83ae0: Pulling fs layer 17:47:46 6138af208834: Pulling fs layer 17:47:46 007c8e8c5d63: Pulling fs layer 17:47:46 4f7a387c642f: Pulling fs layer 17:47:46 db689cb83ae0: Waiting 17:47:46 4f7a387c642f: Waiting 17:47:46 0180a33352d6: Waiting 17:47:46 6138af208834: Waiting 17:47:46 e7604b0c0f53: Waiting 17:47:46 f0b05810781a: Verifying Checksum 17:47:46 f0b05810781a: Download complete 17:47:46 5538fb30c42c: Verifying Checksum 17:47:46 5538fb30c42c: Download complete 17:47:46 0180a33352d6: Verifying Checksum 17:47:46 0180a33352d6: Download complete 17:47:46 db689cb83ae0: Verifying Checksum 17:47:46 db689cb83ae0: Download complete 17:47:46 6138af208834: Verifying Checksum 17:47:46 6138af208834: Download complete 17:47:46 007c8e8c5d63: Download complete 17:47:46 4f7a387c642f: Verifying Checksum 17:47:46 4f7a387c642f: Download complete 17:47:48 b2f61026a351: Verifying Checksum 17:47:48 b2f61026a351: Download complete 17:47:52 b2f61026a351: Pull complete 17:47:52 5538fb30c42c: Pull complete 17:47:52 f0b05810781a: Pull complete 17:47:52 0180a33352d6: Pull complete 17:47:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:47:53 install: cannot stat './cmd/Attribution.txt': No such file or directory 17:47:54 Failed to run 'override-build': Exit code was 1. [Pipeline] } 17:47:54 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] } 17:47:55 Failed in branch amd64 17:48:14 e7604b0c0f53: Verifying Checksum 17:48:14 e7604b0c0f53: Download complete 17:48:46 e7604b0c0f53: Pull complete 17:48:46 db689cb83ae0: Pull complete 17:48:46 6138af208834: Pull complete 17:48:46 007c8e8c5d63: Pull complete 17:48:46 4f7a387c642f: Pull complete 17:48:46 Digest: sha256:95de001a4645667c7ff44d03fa3a86afcf7622caf7559cdf0345329f515671b4 17:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 17:48:48 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 17:48:48 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 17:48:48 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 17:48:48 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 17:48:48 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [846 kB] 17:48:49 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1222 kB] 17:48:49 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [7336 B] 17:48:49 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [8260 B] 17:48:49 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [743 kB] 17:48:50 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [572 kB] 17:48:50 Fetched 3650 kB in 2s (1610 kB/s) 17:48:54 Reading package lists... 17:49:09 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 17:49:11 Reading package lists... 17:49:12 Building dependency tree... 17:49:12 Reading state information... 17:49:13 The following packages were automatically installed and are no longer required: 17:49:13 libjq1 liblzo2-2 libonig4 17:49:13 Use 'sudo apt autoremove' to remove them. 17:49:13 Suggested packages: 17:49:13 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 17:49:13 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc 17:49:13 keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc 17:49:13 libterm-readline-gnu-perl | libterm-readline-perl-perl 17:49:13 The following NEW packages will be installed: 17:49:13 curl git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl 17:49:13 libexpat1 libgdbm-compat4 libgdbm5 libperl5.26 libssl1.0.0 libx11-6 17:49:13 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make netbase 17:49:13 openssh-client patch perl perl-modules-5.26 xauth 17:49:13 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 17:49:13 Need to get 12.9 MB of archives. 17:49:13 After this operation, 84.2 MB of additional disk space will be used. 17:49:13 Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxau6 arm64 1:1.0.8-1 [7590 B] 17:49:13 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbsd0 arm64 0.8.7-1ubuntu0.1 [36.6 kB] 17:49:13 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxdmcp6 arm64 1:1.1.2-3 [9694 B] 17:49:13 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libxcb1 arm64 1.13-2~ubuntu18.04 [37.3 kB] 17:49:13 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-data all 2:1.6.4-3ubuntu0.2 [113 kB] 17:49:14 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libx11-6 arm64 2:1.6.4-3ubuntu0.2 [521 kB] 17:49:14 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxext6 arm64 2:1.3.3-1 [25.4 kB] 17:49:14 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 17:49:16 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 17:49:16 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 17:49:16 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 17:49:18 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 17:49:18 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 17:49:18 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.2 [69.3 kB] 17:49:18 Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 17:49:18 Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libedit2 arm64 3.1-20170329-1 [63.4 kB] 17:49:18 Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.3 [723 kB] 17:49:18 Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxmuu1 arm64 2:1.1.2-2 [9502 B] 17:49:18 Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssh-client arm64 1:7.6p1-4ubuntu0.3 [527 kB] 17:49:18 Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xauth arm64 1:1.0.10-1 [22.4 kB] 17:49:19 Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.8 [152 kB] 17:49:19 Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.8 [179 kB] 17:49:19 Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 17:49:19 Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 17:49:19 Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 17:49:21 Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 17:49:21 Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 17:49:21 debconf: delaying package configuration, since apt-utils is not installed 17:49:21 Fetched 12.9 MB in 8s (1649 kB/s) 17:49:21 Selecting previously unselected package libxau6:arm64. 17:49:21 (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.) 17:49:21 Preparing to unpack .../00-libxau6_1%3a1.0.8-1_arm64.deb ... 17:49:21 Unpacking libxau6:arm64 (1:1.0.8-1) ... 17:49:22 Selecting previously unselected package libbsd0:arm64. 17:49:22 Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_arm64.deb ... 17:49:22 Unpacking libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 17:49:22 Selecting previously unselected package libxdmcp6:arm64. 17:49:22 Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_arm64.deb ... 17:49:22 Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... 17:49:22 Selecting previously unselected package libxcb1:arm64. 17:49:22 Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_arm64.deb ... 17:49:22 Unpacking libxcb1:arm64 (1.13-2~ubuntu18.04) ... 17:49:22 Selecting previously unselected package libx11-data. 17:49:22 Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.2_all.deb ... 17:49:22 Unpacking libx11-data (2:1.6.4-3ubuntu0.2) ... 17:49:22 Selecting previously unselected package libx11-6:arm64. 17:49:22 Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.2_arm64.deb ... 17:49:22 Unpacking libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 17:49:22 Selecting previously unselected package libxext6:arm64. 17:49:22 Preparing to unpack .../06-libxext6_2%3a1.3.3-1_arm64.deb ... 17:49:22 Unpacking libxext6:arm64 (2:1.3.3-1) ... 17:49:23 Selecting previously unselected package perl-modules-5.26. 17:49:23 Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 17:49:23 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:49:24 Selecting previously unselected package libgdbm5:arm64. 17:49:24 Preparing to unpack .../08-libgdbm5_1.14.1-6_arm64.deb ... 17:49:24 Unpacking libgdbm5:arm64 (1.14.1-6) ... 17:49:24 Selecting previously unselected package libgdbm-compat4:arm64. 17:49:24 Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_arm64.deb ... 17:49:24 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 17:49:24 Selecting previously unselected package libperl5.26:arm64. 17:49:24 Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 17:49:24 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 17:49:26 Selecting previously unselected package perl. 17:49:26 Preparing to unpack .../11-perl_5.26.1-6ubuntu0.3_arm64.deb ... 17:49:26 Unpacking perl (5.26.1-6ubuntu0.3) ... 17:49:26 Selecting previously unselected package less. 17:49:26 Preparing to unpack .../12-less_487-0.1_arm64.deb ... 17:49:26 Unpacking less (487-0.1) ... 17:49:26 Selecting previously unselected package libexpat1:arm64. 17:49:26 Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.2_arm64.deb ... 17:49:26 Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 17:49:26 Selecting previously unselected package netbase. 17:49:26 Preparing to unpack .../14-netbase_5.4_all.deb ... 17:49:26 Unpacking netbase (5.4) ... 17:49:26 Selecting previously unselected package libedit2:arm64. 17:49:26 Preparing to unpack .../15-libedit2_3.1-20170329-1_arm64.deb ... 17:49:26 Unpacking libedit2:arm64 (3.1-20170329-1) ... 17:49:26 Selecting previously unselected package libssl1.0.0:arm64. 17:49:26 Preparing to unpack .../16-libssl1.0.0_1.0.2n-1ubuntu5.3_arm64.deb ... 17:49:26 Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 17:49:27 Selecting previously unselected package libxmuu1:arm64. 17:49:27 Preparing to unpack .../17-libxmuu1_2%3a1.1.2-2_arm64.deb ... 17:49:27 Unpacking libxmuu1:arm64 (2:1.1.2-2) ... 17:49:27 Selecting previously unselected package openssh-client. 17:49:27 Preparing to unpack .../18-openssh-client_1%3a7.6p1-4ubuntu0.3_arm64.deb ... 17:49:27 Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ... 17:49:27 Selecting previously unselected package xauth. 17:49:27 Preparing to unpack .../19-xauth_1%3a1.0.10-1_arm64.deb ... 17:49:27 Unpacking xauth (1:1.0.10-1) ... 17:49:27 Selecting previously unselected package curl. 17:49:27 Preparing to unpack .../20-curl_7.58.0-2ubuntu3.8_arm64.deb ... 17:49:27 Unpacking curl (7.58.0-2ubuntu3.8) ... 17:49:27 Selecting previously unselected package libcurl3-gnutls:arm64. 17:49:27 Preparing to unpack .../21-libcurl3-gnutls_7.58.0-2ubuntu3.8_arm64.deb ... 17:49:27 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 17:49:27 Selecting previously unselected package liberror-perl. 17:49:27 Preparing to unpack .../22-liberror-perl_0.17025-1_all.deb ... 17:49:27 Unpacking liberror-perl (0.17025-1) ... 17:49:28 Selecting previously unselected package git-man. 17:49:28 Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 17:49:28 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 17:49:28 Selecting previously unselected package git. 17:49:28 Preparing to unpack .../24-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 17:49:28 Unpacking git (1:2.17.1-1ubuntu0.7) ... 17:49:29 Selecting previously unselected package make. 17:49:29 Preparing to unpack .../25-make_4.1-9.1ubuntu1_arm64.deb ... 17:49:29 Unpacking make (4.1-9.1ubuntu1) ... 17:49:29 Selecting previously unselected package patch. 17:49:29 Preparing to unpack .../26-patch_2.7.6-2ubuntu1.1_arm64.deb ... 17:49:29 Unpacking patch (2.7.6-2ubuntu1.1) ... 17:49:29 Setting up libedit2:arm64 (3.1-20170329-1) ... 17:49:29 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 17:49:29 Setting up libexpat1:arm64 (2.2.5-3ubuntu0.2) ... 17:49:30 Setting up less (487-0.1) ... 17:49:30 Setting up make (4.1-9.1ubuntu1) ... 17:49:30 Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.3) ... 17:49:30 Setting up curl (7.58.0-2ubuntu3.8) ... 17:49:30 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.8) ... 17:49:30 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 17:49:30 Setting up libgdbm5:arm64 (1.14.1-6) ... 17:49:30 Setting up libbsd0:arm64 (0.8.7-1ubuntu0.1) ... 17:49:30 Setting up patch (2.7.6-2ubuntu1.1) ... 17:49:30 Setting up libxdmcp6:arm64 (1:1.1.2-3) ... 17:49:30 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 17:49:31 Setting up openssh-client (1:7.6p1-4ubuntu0.3) ... 17:49:31 Setting up libx11-data (2:1.6.4-3ubuntu0.2) ... 17:49:31 Setting up libxau6:arm64 (1:1.0.8-1) ... 17:49:31 Setting up netbase (5.4) ... 17:49:31 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 17:49:31 Setting up libxcb1:arm64 (1.13-2~ubuntu18.04) ... 17:49:31 Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.2) ... 17:49:31 Setting up libxmuu1:arm64 (2:1.1.2-2) ... 17:49:31 Setting up perl (5.26.1-6ubuntu0.3) ... 17:49:31 Setting up libxext6:arm64 (2:1.3.3-1) ... 17:49:31 Setting up liberror-perl (0.17025-1) ... 17:49:31 Setting up xauth (1:1.0.10-1) ... 17:49:32 Setting up git (1:2.17.1-1ubuntu0.7) ... 17:49:32 Processing triggers for libc-bin (2.27-3ubuntu1) ... 17:49:38 curl set to automatically installed. 17:49:38 git set to automatically installed. 17:49:38 git-man set to automatically installed. 17:49:38 less set to automatically installed. 17:49:38 libbsd0 set to automatically installed. 17:49:38 libcurl3-gnutls set to automatically installed. 17:49:38 libedit2 set to automatically installed. 17:49:38 liberror-perl set to automatically installed. 17:49:38 libexpat1 set to automatically installed. 17:49:38 libgdbm-compat4 set to automatically installed. 17:49:38 libgdbm5 set to automatically installed. 17:49:38 libperl5.26 set to automatically installed. 17:49:38 libssl1.0.0 set to automatically installed. 17:49:38 libx11-6 set to automatically installed. 17:49:38 libx11-data set to automatically installed. 17:49:38 libxau6 set to automatically installed. 17:49:38 libxcb1 set to automatically installed. 17:49:38 libxdmcp6 set to automatically installed. 17:49:38 libxext6 set to automatically installed. 17:49:38 libxmuu1 set to automatically installed. 17:49:38 make set to automatically installed. 17:49:38 netbase set to automatically installed. 17:49:38 openssh-client set to automatically installed. 17:49:38 patch set to automatically installed. 17:49:38 perl set to automatically installed. 17:49:38 perl-modules-5.26 set to automatically installed. 17:49:38 xauth set to automatically installed. 17:49:38 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 17:49:38 Please ensure the environment is properly setup before continuing. 17:49:38 Ignore this message if the appropriate measures have already been taken 17:49:49 Pulling go 17:49:51 'device-modbus' has dependencies that need to be staged: go 17:49:51 Skipping pull go (already ran) 17:49:51 Building go 17:49:51 % Total % Received % Xferd Average Speed Time Time Time Current 17:49:51 Dload Upload Total Spent Left Speed 17:49:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 93.0M 3 3279k 0 0 13.2M 0 0:00:07 --:--:-- 0:00:07 13.2M 58 93.0M 58 54.4M 0 0 43.8M 0 0:00:02 0:00:01 0:00:01 43.8M 100 93.0M 100 93.0M 0 0 44.3M 0 0:00:02 0:00:02 --:--:-- 44.3M 17:49:54 go1.13.5.linux-arm64.tar.gz: OK 17:50:12 Staging go 17:50:14 Pulling device-modbus 17:50:17 Skipping build go (already ran) 17:50:17 Building device-modbus 17:50:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 17:50:17 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:50:17 go: downloading github.com/goburrow/modbus v0.1.0 17:50:18 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:50:18 go: extracting github.com/goburrow/modbus v0.1.0 17:50:18 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:50:18 go: downloading github.com/goburrow/serial v0.1.0 17:50:18 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:50:18 go: extracting github.com/goburrow/serial v0.1.0 17:50:18 go: downloading github.com/gorilla/mux v1.7.1 17:50:18 go: downloading github.com/google/uuid v1.1.1 17:50:18 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:50:18 go: extracting github.com/google/uuid v1.1.1 17:50:18 go: downloading github.com/go-kit/kit v0.8.0 17:50:18 go: extracting github.com/gorilla/mux v1.7.1 17:50:18 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:50:18 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:50:18 go: downloading gopkg.in/yaml.v2 v2.2.8 17:50:18 go: downloading github.com/pkg/errors v0.8.1 17:50:18 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.17 17:50:18 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 17:50:18 go: downloading github.com/OneOfOne/xxhash v1.2.6 17:50:18 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 17:50:18 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 17:50:18 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.17 17:50:18 go: extracting gopkg.in/yaml.v2 v2.2.8 17:50:18 go: extracting github.com/pkg/errors v0.8.1 17:50:18 go: extracting github.com/OneOfOne/xxhash v1.2.6 17:50:18 go: downloading github.com/BurntSushi/toml v0.3.1 17:50:18 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 17:50:18 go: downloading github.com/x448/float16 v0.8.4 17:50:18 go: downloading github.com/hashicorp/consul/api v1.1.0 17:50:18 go: downloading github.com/pelletier/go-toml v1.2.0 17:50:18 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:50:18 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 17:50:18 go: extracting github.com/x448/float16 v0.8.4 17:50:18 go: extracting github.com/go-kit/kit v0.8.0 17:50:18 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:50:18 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:50:18 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:50:18 go: downloading github.com/mitchellh/copystructure v1.0.0 17:50:18 go: extracting github.com/pelletier/go-toml v1.2.0 17:50:18 go: extracting github.com/hashicorp/consul/api v1.1.0 17:50:18 go: extracting github.com/mitchellh/mapstructure v1.1.2 17:50:18 go: extracting github.com/BurntSushi/toml v0.3.1 17:50:18 go: extracting github.com/mitchellh/copystructure v1.0.0 17:50:18 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 17:50:18 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:50:18 go: extracting github.com/mitchellh/reflectwalk v1.0.0 17:50:18 go: downloading github.com/hashicorp/serf v0.8.2 17:50:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:50:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:50:18 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 17:50:18 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 17:50:18 go: extracting github.com/hashicorp/serf v0.8.2 17:50:18 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:50:18 go: extracting github.com/go-logfmt/logfmt v0.4.0 17:50:18 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:50:18 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:50:18 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:50:18 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 17:50:18 go: downloading github.com/hashicorp/golang-lru v0.5.1 17:50:18 go: extracting github.com/hashicorp/golang-lru v0.5.1 17:50:18 go: finding github.com/edgexfoundry/device-sdk-go v1.2.0-dev.27 17:50:18 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.54 17:50:18 go: finding github.com/goburrow/modbus v0.1.0 17:50:19 go: finding github.com/gorilla/mux v1.7.1 17:50:19 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:50:19 go: finding github.com/goburrow/serial v0.1.0 17:50:19 go: finding github.com/go-kit/kit v0.8.0 17:50:19 go: finding github.com/OneOfOne/xxhash v1.2.6 17:50:19 go: finding github.com/google/uuid v1.1.1 17:50:19 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.29 17:50:19 go: finding github.com/go-logfmt/logfmt v0.4.0 17:50:19 go: finding github.com/x448/float16 v0.8.4 17:50:19 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:50:19 go: finding github.com/edgexfoundry/go-mod-registry v0.1.17 17:50:19 go: finding gopkg.in/yaml.v2 v2.2.8 17:50:19 go: finding github.com/pkg/errors v0.8.1 17:50:19 go: finding github.com/BurntSushi/toml v0.3.1 17:50:19 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:50:19 go: finding github.com/hashicorp/consul/api v1.1.0 17:50:19 go: finding github.com/pelletier/go-toml v1.2.0 17:50:19 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:50:19 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:50:19 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:50:19 go: finding github.com/mitchellh/copystructure v1.0.0 17:50:19 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:50:19 go: finding github.com/hashicorp/serf v0.8.2 17:50:19 go: finding github.com/mitchellh/mapstructure v1.1.2 17:50:19 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:50:19 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:50:19 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:50:19 go: finding github.com/hashicorp/golang-lru v0.5.1 17:50:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:50:46 install: cannot stat './cmd/Attribution.txt': No such file or directory 17:50:46 Failed to run 'override-build': Exit code was 1. [Pipeline] } 17:50:48 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] } 17:50:49 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:50:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:50:51 ---> package-listing.sh 17:50:51 ++ facter osfamily 17:50:51 ++ tr '[:upper:]' '[:lower:]' 17:50:51 + OS_FAMILY=redhat 17:50:51 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-139 17:50:51 + START_PACKAGES=/tmp/packages_start.txt 17:50:51 + END_PACKAGES=/tmp/packages_end.txt 17:50:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:51 + PACKAGES=/tmp/packages_start.txt 17:50:51 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 17:50:51 + PACKAGES=/tmp/packages_end.txt 17:50:51 + case "${OS_FAMILY}" in 17:50:51 + rpm -qa 17:50:51 + sort 17:50:55 + '[' -f /tmp/packages_start.txt ']' 17:50:55 + '[' -f /tmp/packages_end.txt ']' 17:50:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-139 ']' 17:50:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ 17:50:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-139/archives/ [Pipeline] isUnix [Pipeline] sh 17:50:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:50:55 17:50:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:50:56 alpine: Pulling from edgex-lftools-log-publisher 17:50:56 c9b1b535fdd9: Pulling fs layer 17:50:56 2cc5ad85d9ab: Pulling fs layer 17:50:56 756a868c4378: Pulling fs layer 17:50:56 444b2fc9a129: Pulling fs layer 17:50:56 ea15f1150254: Pulling fs layer 17:50:56 41b27a9f41bf: Pulling fs layer 17:50:56 28c525ee5125: Pulling fs layer 17:50:56 094b1ea09ed8: Pulling fs layer 17:50:56 138eaada9080: Pulling fs layer 17:50:56 0622d0fa9048: Pulling fs layer 17:50:56 41b27a9f41bf: Waiting 17:50:56 444b2fc9a129: Waiting 17:50:56 28c525ee5125: Waiting 17:50:56 094b1ea09ed8: Waiting 17:50:56 138eaada9080: Waiting 17:50:56 ea15f1150254: Waiting 17:50:56 0622d0fa9048: Waiting 17:50:56 2cc5ad85d9ab: Verifying Checksum 17:50:56 2cc5ad85d9ab: Download complete 17:50:56 444b2fc9a129: Verifying Checksum 17:50:56 444b2fc9a129: Download complete 17:50:56 c9b1b535fdd9: Verifying Checksum 17:50:56 c9b1b535fdd9: Download complete 17:50:56 ea15f1150254: Download complete 17:50:56 28c525ee5125: Verifying Checksum 17:50:56 28c525ee5125: Download complete 17:50:56 756a868c4378: Verifying Checksum 17:50:56 756a868c4378: Download complete 17:50:56 c9b1b535fdd9: Pull complete 17:50:56 138eaada9080: Verifying Checksum 17:50:56 138eaada9080: Download complete 17:50:56 0622d0fa9048: Download complete 17:50:56 094b1ea09ed8: Verifying Checksum 17:50:56 094b1ea09ed8: Download complete 17:50:56 2cc5ad85d9ab: Pull complete 17:50:57 41b27a9f41bf: Verifying Checksum 17:50:57 41b27a9f41bf: Download complete 17:50:58 756a868c4378: Pull complete 17:50:58 444b2fc9a129: Pull complete 17:50:58 ea15f1150254: Pull complete 17:51:02 41b27a9f41bf: Pull complete 17:51:02 28c525ee5125: Pull complete 17:51:05 094b1ea09ed8: Pull complete 17:51:05 138eaada9080: Pull complete 17:51:05 0622d0fa9048: Pull complete 17:51:05 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:51:05 prd-centos7-docker-4c-2g-5316 does not seem to be running inside a container 17:51:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-139 -v /w/workspace/xfoundry_device-modbus-go_PR-139:/w/workspace/xfoundry_device-modbus-go_PR-139:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-139@tmp:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:51:06 $ docker top c791b9bc64c9ed974274af0ecf18c830405a0b470bd646eae48e888e8e7c89bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:07 provisioning config files... 17:51:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-139@tmp/config8559190516268140747tmp [Pipeline] { [Pipeline] echo 17:51:07 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:51:07 ---> create-netrc.sh [Pipeline] echo 17:51:07 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:51:07 ---> logs-deploy.sh 17:51:07 + ARCHIVE_ARTIFACTS= 17:51:07 + LOGS_SERVER=https://logs.edgexfoundry.org 17:51:07 + '[' https://logs.edgexfoundry.org == None ']' 17:51:07 + NEXUS_URL=https://nexus.edgexfoundry.org 17:51:07 + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/8 17:51:07 + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/8/ 17:51:07 + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/8 /w/workspace/xfoundry_device-modbus-go_PR-139 17:51:09 Archives upload complete. 17:51:09 + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-139/8 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-139/8/ 17:51:10 ---> uname -a: 17:51:10 Linux c791b9bc64c9 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 Linux 17:51:10 17:51:10 17:51:10 ---> lscpu: 17:51:10 Architecture: x86_64 17:51:10 CPU op-mode(s): 32-bit, 64-bit 17:51:10 Byte Order: Little Endian 17:51:10 Address sizes: 40 bits physical, 48 bits virtual 17:51:10 CPU(s): 4 17:51:10 On-line CPU(s) list: 0-3 17:51:10 Thread(s) per core: 1 17:51:10 Core(s) per socket: 1 17:51:10 Socket(s): 4 17:51:10 NUMA node(s): 1 17:51:10 Vendor ID: GenuineIntel 17:51:10 CPU family: 6 17:51:10 Model: 44 17:51:10 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:51:10 Stepping: 1 17:51:10 CPU MHz: 2933.396 17:51:10 BogoMIPS: 5866.79 17:51:10 Virtualization: VT-x 17:51:10 Hypervisor vendor: KVM 17:51:10 Virtualization type: full 17:51:10 L1d cache: 128 KiB 17:51:10 L1i cache: 128 KiB 17:51:10 L2 cache: 16 MiB 17:51:10 L3 cache: 64 MiB 17:51:10 NUMA node0 CPU(s): 0-3 17:51:10 Vulnerability L1tf: Mitigation; PTE Inversion; VMX SMT disabled, L1D conditional cache flushes 17:51:10 Vulnerability Meltdown: Mitigation; PTI 17:51:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:51:10 Vulnerability Spectre v1: Mitigation; Load fences, __user pointer sanitization 17:51:10 Vulnerability Spectre v2: Mitigation; Full retpoline 17:51:10 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 17:51:10 17:51:10 17:51:10 ---> nproc: 17:51:10 4 17:51:10 17:51:10 17:51:10 ---> df -h: 17:51:10 Filesystem Size Used Available Use% Mounted on 17:51:10 overlay 50.0G 6.3G 43.7G 13% / 17:51:10 tmpfs 64.0M 0 64.0M 0% /dev 17:51:10 tmpfs 919.1M 0 919.1M 0% /sys/fs/cgroup 17:51:10 shm 64.0M 0 64.0M 0% /dev/shm 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/resolv.conf 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hostname 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /etc/hosts 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-139 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /w/workspace/xfoundry_device-modbus-go_PR-139@tmp 17:51:10 /dev/vda1 50.0G 6.3G 43.7G 13% /var/log/sa 17:51:10 17:51:10 17:51:10 ---> free -m: 17:51:10 total used free shared buff/cache available 17:51:10 Mem: 1838 596 80 0 1160 1136 17:51:10 Swap: 1023 0 1023 17:51:10 17:51:10 17:51:10 ---> ip addr: 17:51:10 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:51:10 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:51:10 inet 127.0.0.1/8 scope host lo 17:51:10 valid_lft forever preferred_lft forever 17:51:10 6: eth0@if7: mtu 1458 qdisc noqueue state UP 17:51:10 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 17:51:10 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 17:51:10 valid_lft forever preferred_lft forever 17:51:10 17:51:10 17:51:10 ---> sar -b -r -n DEV: 17:51:10 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) 17:51:10 17:51:10 17:41:03 LINUX RESTART 17:51:10 17:51:10 17:42:01 tps rtps wtps bread/s bwrtn/s 17:51:10 17:43:01 9.89 0.07 9.83 2.13 1927.23 17:51:10 17:44:01 2.83 0.00 2.83 0.00 88.78 17:51:10 17:45:01 0.30 0.00 0.30 0.00 3.48 17:51:10 17:46:01 0.35 0.00 0.35 0.00 5.66 17:51:10 17:47:01 0.27 0.00 0.27 0.00 4.96 17:51:10 17:48:01 0.40 0.00 0.40 0.00 6.40 17:51:10 17:49:01 0.33 0.00 0.33 0.00 5.45 17:51:10 17:50:02 0.27 0.00 0.27 0.00 4.01 17:51:10 17:51:01 79.67 52.72 26.95 3543.05 9414.44 17:51:10 Average: 10.35 5.78 4.57 388.20 1258.64 17:51:10 17:51:10 17:42:01 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:51:10 17:43:01 122120 1760184 93.51 2620 1226752 947072 32.31 428392 1168316 8 17:51:10 17:44:01 124496 1757808 93.39 2620 1226760 908892 31.01 427384 1168008 8 17:51:10 17:45:01 123924 1758380 93.42 2620 1226768 909016 31.02 427928 1168004 16 17:51:10 17:46:01 125248 1757056 93.35 2620 1226768 908788 31.01 426608 1168004 16 17:51:10 17:47:01 124932 1757372 93.36 2620 1226776 908872 31.01 427208 1168004 8 17:51:10 17:48:01 123936 1758368 93.42 2620 1226780 909136 31.02 428016 1168004 16 17:51:10 17:49:01 126864 1755440 93.26 2620 1226784 909160 31.02 424720 1168000 8 17:51:10 17:50:02 127520 1754784 93.23 2620 1226788 909016 31.02 424172 1168000 12 17:51:10 17:51:01 79412 1802892 95.78 2620 1213684 1110876 37.90 478668 1140992 81356 17:51:10 Average: 119828 1762476 93.63 2620 1225318 935648 31.92 432566 1165037 9050 17:51:10 17:51:10 17:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s 17:51:10 17:43:01 eth0 1.83 0.75 0.93 0.23 0.00 0.00 0.00 17:51:10 17:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:44:01 eth0 1.90 0.28 0.39 0.20 0.00 0.00 0.00 17:51:10 17:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:45:01 eth0 1.20 0.83 0.76 0.41 0.00 0.00 0.00 17:51:10 17:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:46:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 17:51:10 17:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:47:01 eth0 0.68 0.12 0.17 0.07 0.00 0.00 0.00 17:51:10 17:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:48:01 eth0 0.85 0.43 0.30 0.21 0.00 0.00 0.00 17:51:10 17:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:49:01 eth0 0.75 0.42 0.30 0.21 0.00 0.00 0.00 17:51:10 17:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:50:02 eth0 0.90 0.33 0.30 0.20 0.00 0.00 0.00 17:51:10 17:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:51:01 eth0 92.72 76.69 2362.39 8.74 0.00 0.00 0.00 17:51:10 17:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 Average: eth0 11.07 8.76 259.03 1.13 0.00 0.00 0.00 17:51:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:10 17:51:10 17:51:10 ---> sar -P ALL: 17:51:10 Linux 3.10.0-862.14.4.el7.x86_64 (centos-7-docker-5bc7e375-1660-33dc-fe50-cb0f4dbfa1d5.vexxhost.ne) 04/21/20 _x86_64_ (4 CPU) 17:51:10 17:51:10 17:41:03 LINUX RESTART 17:51:10 17:51:10 17:42:01 CPU %user %nice %system %iowait %steal %idle 17:51:10 17:43:01 all 0.19 0.00 0.10 0.00 0.00 99.72 17:51:10 17:43:01 0 0.08 0.00 0.12 0.00 0.00 99.80 17:51:10 17:43:01 1 0.12 0.00 0.13 0.00 0.00 99.75 17:51:10 17:43:01 2 0.53 0.00 0.10 0.00 0.02 99.35 17:51:10 17:43:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:51:10 17:44:01 all 0.18 0.00 0.06 0.00 0.00 99.75 17:51:10 17:44:01 0 0.40 0.00 0.07 0.00 0.02 99.52 17:51:10 17:44:01 1 0.13 0.00 0.08 0.00 0.00 99.78 17:51:10 17:44:01 2 0.10 0.00 0.03 0.00 0.00 99.87 17:51:10 17:44:01 3 0.07 0.00 0.07 0.00 0.00 99.87 17:51:10 17:45:01 all 0.20 0.00 0.07 0.00 0.00 99.73 17:51:10 17:45:01 0 0.47 0.00 0.07 0.00 0.00 99.47 17:51:10 17:45:01 1 0.08 0.00 0.08 0.00 0.00 99.83 17:51:10 17:45:01 2 0.18 0.00 0.08 0.00 0.00 99.73 17:51:10 17:45:01 3 0.07 0.00 0.03 0.00 0.00 99.90 17:51:10 17:46:01 all 0.18 0.00 0.06 0.00 0.00 99.75 17:51:10 17:46:01 0 0.05 0.00 0.05 0.00 0.00 99.90 17:51:10 17:46:01 1 0.12 0.00 0.07 0.00 0.02 99.80 17:51:10 17:46:01 2 0.55 0.00 0.07 0.00 0.00 99.38 17:51:10 17:46:01 3 0.03 0.00 0.05 0.00 0.02 99.90 17:51:10 17:47:01 all 0.19 0.00 0.05 0.00 0.00 99.75 17:51:10 17:47:01 0 0.03 0.00 0.03 0.00 0.00 99.93 17:51:10 17:47:01 1 0.07 0.00 0.07 0.00 0.00 99.87 17:51:10 17:47:01 2 0.57 0.00 0.08 0.00 0.00 99.35 17:51:10 17:47:01 3 0.08 0.00 0.08 0.00 0.00 99.83 17:51:10 17:48:01 all 0.21 0.00 0.05 0.00 0.00 99.74 17:51:10 17:48:01 0 0.12 0.00 0.05 0.00 0.00 99.83 17:51:10 17:48:01 1 0.08 0.00 0.08 0.00 0.00 99.83 17:51:10 17:48:01 2 0.55 0.00 0.02 0.00 0.00 99.43 17:51:10 17:48:01 3 0.08 0.00 0.02 0.00 0.00 99.90 17:51:10 17:49:01 all 0.17 0.00 0.06 0.00 0.00 99.77 17:51:10 17:49:01 0 0.05 0.00 0.05 0.00 0.00 99.90 17:51:10 17:49:01 1 0.05 0.00 0.03 0.00 0.00 99.92 17:51:10 17:49:01 2 0.55 0.00 0.12 0.00 0.00 99.33 17:51:10 17:49:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:51:10 17:50:02 all 0.10 0.00 0.05 0.00 0.00 99.85 17:51:10 17:50:02 0 0.07 0.00 0.03 0.00 0.00 99.90 17:51:10 17:50:02 1 0.07 0.00 0.03 0.00 0.00 99.90 17:51:10 17:50:02 2 0.10 0.00 0.05 0.00 0.02 99.83 17:51:10 17:50:02 3 0.13 0.00 0.08 0.00 0.00 99.78 17:51:10 17:51:01 all 3.15 0.00 1.68 1.26 0.01 93.89 17:51:10 17:51:01 0 3.18 0.00 1.80 0.95 0.02 94.05 17:51:10 17:51:01 1 2.67 0.00 1.75 0.43 0.02 95.13 17:51:10 17:51:01 2 4.00 0.00 1.79 1.91 0.00 92.30 17:51:10 17:51:01 3 2.76 0.00 1.38 1.75 0.00 94.11 17:51:10 Average: all 0.50 0.00 0.24 0.14 0.00 99.12 17:51:10 Average: 0 0.49 0.00 0.25 0.10 0.00 99.16 17:51:10 Average: 1 0.37 0.00 0.26 0.05 0.00 99.32 17:51:10 Average: 2 0.78 0.00 0.26 0.21 0.00 98.75 17:51:10 Average: 3 0.36 0.00 0.19 0.19 0.00 99.25 17:51:10 17:51:10 17:51:10