Started by user Ernesto Ojeda 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 venkata-subbareddyK for edgexfoundry/device-modbus-go Loading trusted files from base branch master at ac842be5e75fcd5e4c012862374abb44191cceb5 rather than fb1cdd462f00638a55f47d34e4d98aba930c26c6 Obtained Jenkinsfile from ac842be5e75fcd5e4c012862374abb44191cceb5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-854 in /w/workspace/xfoundry_device-modbus-go_PR-169 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-169 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit fb1cdd462f00638a55f47d34e4d98aba930c26c6 Merge succeeded, producing fb1cdd462f00638a55f47d34e4d98aba930c26c6 Checking out Revision fb1cdd462f00638a55f47d34e4d98aba930c26c6 (PR-169) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # 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/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163" > git rev-list --no-walk fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:16:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:16:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:16:00 ========================================================= 20:16:00 EdgeX Global Pipelines Version Info 20:16:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:16:03 ------------------- 20:16:03 stable info: 20:16:03 ------------------- 20:16:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:16:03 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 20:16:03 Message: update stable to v1.0.115 20:16:04 ------------------- 20:16:04 experimental info: 20:16:04 ------------------- 20:16:04 Commited By: **** collab-it+edgex@linuxfoundation.org 20:16:04 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 20:16:04 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:16:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:16:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:16:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:16:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:16:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb1cdd462f00638a55f47d34e4d98aba930c26c6 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb1cdd4 [Pipeline] echo 20:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:07 + git log --format=format:%s -1 fb1cdd462f00638a55f47d34e4d98aba930c26c6 [Pipeline] echo 20:16:07 GIT_COMMIT: fb1cdd462f00638a55f47d34e4d98aba930c26c6, Commit Message: refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163 [Pipeline] echo 20:16:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:08 20:16:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:16:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:09 latest: Pulling from edgex-devops/git-semver 20:16:09 31603596830f: Pulling fs layer 20:16:09 2a8b12db71e7: Pulling fs layer 20:16:09 6ca5941a6612: Pulling fs layer 20:16:09 ecc8261a40a4: Pulling fs layer 20:16:09 2a8b12db71e7: Verifying Checksum 20:16:09 2a8b12db71e7: Download complete 20:16:09 31603596830f: Verifying Checksum 20:16:09 31603596830f: Download complete 20:16:09 ecc8261a40a4: Verifying Checksum 20:16:09 ecc8261a40a4: Download complete 20:16:09 6ca5941a6612: Verifying Checksum 20:16:09 6ca5941a6612: Download complete 20:16:09 31603596830f: Pull complete 20:16:10 2a8b12db71e7: Pull complete 20:16:11 6ca5941a6612: Pull complete 20:16:11 ecc8261a40a4: Pull complete 20:16:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:16:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:16:11 prd-centos7-docker-4c-2g-854 does not seem to be running inside a container 20:16:11 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-169 -v /w/workspace/xfoundry_device-modbus-go_PR-169:/w/workspace/xfoundry_device-modbus-go_PR-169:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-169@tmp:/w/workspace/xfoundry_device-modbus-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:16:14 $ docker top 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:14 [ssh-agent] Looking for ssh-agent implementation... 20:16:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:14 $ docker exec 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 ssh-agent 20:16:14 SSH_AUTH_SOCK=/tmp/ssh-iPpzcY0GuCBC/agent.12 20:16:14 SSH_AGENT_PID=17 20:16:14 Running ssh-add (command line suppressed) 20:16:15 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-169@tmp/private_key_3900242985986916040.key (/w/workspace/xfoundry_device-modbus-go_PR-169@tmp/private_key_3900242985986916040.key) 20:16:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:15 + git describe --exact-match --tags HEAD 20:16:15 fatal: No names found, cannot describe anything. [Pipeline] } 20:16:15 $ docker exec --env ******** --env ******** 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 ssh-agent -k 20:16:15 unset SSH_AUTH_SOCK; 20:16:15 unset SSH_AGENT_PID; 20:16:15 echo Agent pid 17 killed; 20:16:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:16:15 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:16:15 This usually means this commit has not been tagged. [Pipeline] sshagent 20:16:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:15 [ssh-agent] Looking for ssh-agent implementation... 20:16:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:16 $ docker exec 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 ssh-agent 20:16:16 SSH_AUTH_SOCK=/tmp/ssh-7NfUz2u0jScB/agent.45 20:16:16 SSH_AGENT_PID=51 20:16:16 Running ssh-add (command line suppressed) 20:16:16 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-169@tmp/private_key_925031500598087802.key (/w/workspace/xfoundry_device-modbus-go_PR-169@tmp/private_key_925031500598087802.key) 20:16:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:16 + git semver init 20:16:16 # -> Open(): unable to determine branch for HEAD 20:16:16 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-169/.git 20:16:16 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-169 20:16:16 # $SEMVER_REMOTE_NAME = origin 20:16:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:16:16 # $SEMVER_USER_NAME = edgex-jenkins 20:16:16 # $SEMVER_BRANCH = PR-169 20:16:16 # $SEMVER_TEMP = /tmp/semver-600475214 20:16:16 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:16:17 # '/tmp/semver-600475214' -> '/w/workspace/xfoundry_device-modbus-go_PR-169/.semver' 20:16:17 # -> Force: false 20:16:17 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-169/.semver [Pipeline] } 20:16:17 $ docker exec --env ******** --env ******** 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 ssh-agent -k 20:16:17 unset SSH_AUTH_SOCK; 20:16:17 unset SSH_AGENT_PID; 20:16:17 echo Agent pid 51 killed; 20:16:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:18 + git semver [Pipeline] } 20:16:18 $ docker stop --time=1 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 20:16:19 $ docker rm -f 9043a9a3707a9026357f3c700b7cb4d113a62ab4c3a14d81a2f2be9c0452a528 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:16:20 Stashed 25 file(s) [Pipeline] echo 20:16:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 20:16:20 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:16:36 Still waiting to schedule task 20:16:36 ‘prd-centos7-builder-2c-1g-849’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-850’ is offline; ‘prd-centos7-docker-4c-2g-853’ is offline; ‘prd-centos7-docker-4c-2g-856’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-852’ doesn’t have label ‘centos7-docker-4c-2g’ 20:16:36 Still waiting to schedule task 20:16:36 ‘prd-ubuntu18.04-docker-arm64-4c-16g-852’ is offline 20:18:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-857 in /w/workspace/xfoundry_device-modbus-go_PR-169 [Pipeline] { [Pipeline] ws 20:18:17 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:18:23 using credential edgex-jenkins-ssh 20:18:23 Cloning the remote Git repository 20:18:23 Cloning with configured refspecs honoured and without tags 20:18:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:18:23 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:18:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:18:23 > git --version # timeout=10 20:18:23 > git --version # 'git version 2.17.1' 20:18:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:18:24 Fetching without tags 20:18:24 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:18:25 Merge succeeded, producing fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:18:25 Checking out Revision fb1cdd462f00638a55f47d34e4d98aba930c26c6 (PR-169) 20:18:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:18:24 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 20:18:24 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:18:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:18:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:18:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:24 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:18:24 > git config core.sparsecheckout # timeout=10 20:18:24 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:18:24 > git remote # timeout=10 20:18:25 > git config --get remote.origin.url # timeout=10 20:18:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:25 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 20:18:25 > git rev-parse HEAD^{commit} # timeout=10 20:18:25 > git config core.sparsecheckout # timeout=10 20:18:25 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:18:26 Running on prd-centos7-docker-4c-2g-858 in /w/workspace/xfoundry_device-modbus-go_PR-169 [Pipeline] { [Pipeline] ws 20:18:26 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:18:29 using credential edgex-jenkins-ssh 20:18:29 Cloning the remote Git repository 20:18:29 Cloning with configured refspecs honoured and without tags 20:18:29 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:18:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:18:29 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:18:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:18:29 > git --version # timeout=10 20:18:29 > git --version # 'git version 2.16.5' 20:18:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] unstash [Pipeline] echo 20:18:30 ========================================================= 20:18:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 20:18:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:18:31 Fetching without tags 20:18:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:18:30 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 20:18:31 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:18:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:31 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:18:31 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:18:31 Merge succeeded, producing fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:18:31 Checking out Revision fb1cdd462f00638a55f47d34e4d98aba930c26c6 (PR-169) 20:18:31 + 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 . 20:18:31 > git config core.sparsecheckout # timeout=10 20:18:31 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:18:31 > git remote # timeout=10 20:18:31 > git config --get remote.origin.url # timeout=10 20:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:31 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 20:18:31 > git rev-parse HEAD^{commit} # timeout=10 20:18:31 > git config core.sparsecheckout # timeout=10 20:18:31 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:18:32 Sending build context to Docker daemon 652.3kB 20:18:32 Step 1/8 : ARG BASE=golang:1.13-alpine 20:18:32 Step 2/8 : FROM ${BASE} 20:18:33 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:33 b538f80385f9: Pulling fs layer 20:18:33 74f711af9a0d: Pulling fs layer 20:18:33 99f96fe45779: Pulling fs layer 20:18:33 fd7a069fd194: Pulling fs layer 20:18:33 66aa3694b03b: Pulling fs layer 20:18:33 170f70906a0f: Pulling fs layer 20:18:33 ad7c5574e4b9: Pulling fs layer 20:18:33 e772456be8f7: Pulling fs layer 20:18:33 c890913d741a: Pulling fs layer 20:18:33 2480fcc9aa5a: Pulling fs layer 20:18:33 09adf4765672: Pulling fs layer 20:18:33 fd7a069fd194: Waiting 20:18:33 ad7c5574e4b9: Waiting 20:18:33 e772456be8f7: Waiting 20:18:33 66aa3694b03b: Waiting 20:18:33 170f70906a0f: Waiting 20:18:33 c890913d741a: Waiting 20:18:33 2480fcc9aa5a: Waiting 20:18:33 09adf4765672: Waiting 20:18:33 99f96fe45779: Verifying Checksum 20:18:33 99f96fe45779: Download complete 20:18:33 74f711af9a0d: Verifying Checksum 20:18:33 74f711af9a0d: Download complete 20:18:33 66aa3694b03b: Verifying Checksum 20:18:33 66aa3694b03b: Download complete 20:18:33 170f70906a0f: Download complete 20:18:33 b538f80385f9: Verifying Checksum 20:18:33 b538f80385f9: Download complete 20:18:34 b538f80385f9: Pull complete 20:18:34 74f711af9a0d: Pull complete 20:18:35 99f96fe45779: Pull complete 20:18:35 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:18:35 ========================================================= 20:18:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 20:18:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:18:36 ad7c5574e4b9: Download complete 20:18:36 c890913d741a: Verifying Checksum 20:18:36 c890913d741a: Download complete 20:18:36 + 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 . 20:18:37 Sending build context to Docker daemon 652.3kB 20:18:37 Step 1/8 : ARG BASE=golang:1.13-alpine 20:18:37 Step 2/8 : FROM ${BASE} 20:18:37 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 20:18:37 df20fa9351a1: Pulling fs layer 20:18:37 ed8968b2872e: Pulling fs layer 20:18:37 a92cc7c5fd73: Pulling fs layer 20:18:37 2dd03ba5bac4: Pulling fs layer 20:18:37 1e091d79d1de: Pulling fs layer 20:18:37 481702a1767f: Pulling fs layer 20:18:37 f64a6f60c768: Pulling fs layer 20:18:37 e78d2573fc39: Pulling fs layer 20:18:37 e876d2f968b6: Pulling fs layer 20:18:37 ce8a83651883: Pulling fs layer 20:18:37 07967f4d0e4b: Pulling fs layer 20:18:37 f64a6f60c768: Waiting 20:18:37 e78d2573fc39: Waiting 20:18:37 2dd03ba5bac4: Waiting 20:18:37 1e091d79d1de: Waiting 20:18:37 ce8a83651883: Waiting 20:18:37 481702a1767f: Waiting 20:18:37 07967f4d0e4b: Waiting 20:18:37 e876d2f968b6: Waiting 20:18:37 a92cc7c5fd73: Verifying Checksum 20:18:37 a92cc7c5fd73: Download complete 20:18:37 ed8968b2872e: Verifying Checksum 20:18:37 ed8968b2872e: Download complete 20:18:37 1e091d79d1de: Verifying Checksum 20:18:37 1e091d79d1de: Download complete 20:18:37 481702a1767f: Verifying Checksum 20:18:37 481702a1767f: Download complete 20:18:37 df20fa9351a1: Verifying Checksum 20:18:37 df20fa9351a1: Download complete 20:18:38 e772456be8f7: Verifying Checksum 20:18:38 e772456be8f7: Download complete 20:18:38 df20fa9351a1: Pull complete 20:18:38 ed8968b2872e: Pull complete 20:18:38 09adf4765672: Verifying Checksum 20:18:38 09adf4765672: Download complete 20:18:38 2480fcc9aa5a: Verifying Checksum 20:18:38 2480fcc9aa5a: Download complete 20:18:38 f64a6f60c768: Verifying Checksum 20:18:38 f64a6f60c768: Download complete 20:18:38 e876d2f968b6: Verifying Checksum 20:18:38 e876d2f968b6: Download complete 20:18:39 fd7a069fd194: Verifying Checksum 20:18:39 fd7a069fd194: Download complete 20:18:39 2dd03ba5bac4: Verifying Checksum 20:18:39 2dd03ba5bac4: Download complete 20:18:39 ce8a83651883: Verifying Checksum 20:18:39 07967f4d0e4b: Verifying Checksum 20:18:39 07967f4d0e4b: Download complete 20:18:39 e78d2573fc39: Verifying Checksum 20:18:39 e78d2573fc39: Download complete 20:18:40 a92cc7c5fd73: Pull complete 20:18:45 2dd03ba5bac4: Pull complete 20:18:45 1e091d79d1de: Pull complete 20:18:46 481702a1767f: Pull complete 20:18:51 fd7a069fd194: Pull complete 20:18:51 66aa3694b03b: Pull complete 20:18:51 170f70906a0f: Pull complete 20:18:52 f64a6f60c768: Pull complete 20:18:53 ad7c5574e4b9: Pull complete 20:18:55 e78d2573fc39: Pull complete 20:18:55 e876d2f968b6: Pull complete 20:18:56 ce8a83651883: Pull complete 20:18:56 07967f4d0e4b: Pull complete 20:18:56 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 20:18:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 20:18:56 ---> 5d7c900382c6 20:18:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:18:57 e772456be8f7: Pull complete 20:18:57 c890913d741a: Pull complete 20:18:58 ---> Running in ee015174d5b4 20:18:58 Removing intermediate container ee015174d5b4 20:18:58 ---> f412e7b07565 20:18:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:58 ---> Running in 5141a6ff1df7 20:18:59 Removing intermediate container 5141a6ff1df7 20:18:59 ---> cc64bd50b246 20:18:59 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:18:59 ---> Running in 0447fb22c86c 20:18:59 2480fcc9aa5a: Pull complete 20:19:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:19:00 09adf4765672: Pull complete 20:19:00 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 20:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 20:19:00 ---> 2248a725d1cf 20:19:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 20:19:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:19:01 (1/14) Installing libmagic (5.38-r0) 20:19:01 (2/14) Installing file (5.38-r0) 20:19:01 (3/14) Installing libc-dev (0.7.2-r3) 20:19:01 (4/14) Installing g++ (9.3.0-r2) 20:19:05 ---> Running in 509f57153372 20:19:05 Removing intermediate container 509f57153372 20:19:05 ---> 7edef47a53cd 20:19:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:06 ---> Running in c8f09ba802a5 20:19:08 (5/14) Installing fortify-headers (1.1-r0) 20:19:08 (6/14) Installing patch (2.7.6-r6) 20:19:08 (7/14) Installing build-base (0.5-r2) 20:19:08 (8/14) Installing openssh-keygen (8.3_p1-r0) 20:19:08 (9/14) Installing libedit (20191231.3.1-r0) 20:19:08 (10/14) Installing openssh-client (8.3_p1-r0) 20:19:08 Removing intermediate container c8f09ba802a5 20:19:08 ---> e67acc857771 20:19:08 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 20:19:08 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 20:19:08 (12/14) Installing openssh-server-common (8.3_p1-r0) 20:19:08 (13/14) Installing openssh-server (8.3_p1-r0) 20:19:09 ---> Running in 5f7a3d2cf2a7 20:19:09 (14/14) Installing openssh (8.3_p1-r0) 20:19:09 Executing busybox-1.31.1-r16.trigger 20:19:09 OK: 237 MiB in 53 packages 20:19:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:19:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:19:12 (1/14) Installing libmagic (5.38-r0) 20:19:12 (2/14) Installing file (5.38-r0) 20:19:12 (3/14) Installing libc-dev (0.7.2-r3) 20:19:12 Removing intermediate container 0447fb22c86c 20:19:12 ---> a972a6d08ead 20:19:12 Step 6/8 : WORKDIR /device-modbus-go 20:19:12 ---> Running in 0bad19549e31 20:19:12 Removing intermediate container 0bad19549e31 20:19:12 ---> 62b1e5c5227f 20:19:12 Step 7/8 : COPY . . 20:19:12 (4/14) Installing g++ (9.3.0-r2) 20:19:13 ---> ca3ed569b59d 20:19:13 Step 8/8 : RUN go mod download 20:19:13 ---> Running in 12e801c3c1f4 20:19:15 go: finding github.com/BurntSushi/toml v0.3.1 20:19:15 go: finding github.com/OneOfOne/xxhash v1.2.6 20:19:15 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:19:15 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:19:15 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:19:15 go: finding github.com/bgentry/speakeasy v0.1.0 20:19:15 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:19:15 go: finding github.com/davecgh/go-spew v1.1.1 20:19:15 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:19:15 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:19:15 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:19:15 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:19:15 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:19:15 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:19:15 go: finding github.com/fatih/color v1.7.0 20:19:15 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:19:15 go: finding github.com/go-kit/kit v0.8.0 20:19:15 go: finding github.com/go-logfmt/logfmt v0.4.0 20:19:15 go: finding github.com/go-stack/stack v1.8.0 20:19:15 (5/14) Installing fortify-headers (1.1-r0) 20:19:15 (6/14) Installing patch (2.7.6-r6) 20:19:16 go: finding github.com/goburrow/modbus v0.1.0 20:19:16 go: finding github.com/goburrow/serial v0.1.0 20:19:16 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:19:16 go: finding github.com/google/uuid v1.1.1 20:19:16 go: finding github.com/gorilla/mux v1.7.1 20:19:16 go: finding github.com/hashicorp/consul/api v1.1.0 20:19:16 (7/14) Installing build-base (0.5-r2) 20:19:16 (8/14) Installing openssh-keygen (8.3_p1-r0) 20:19:16 (9/14) Installing libedit (20191231.3.1-r0) 20:19:16 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:19:16 go: finding github.com/hashicorp/errwrap v1.0.0 20:19:16 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:19:16 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:19:16 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:19:16 go: finding github.com/hashicorp/go-multierror v1.0.0 20:19:16 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:19:16 (10/14) Installing openssh-client (8.3_p1-r0) 20:19:16 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:19:16 go: finding github.com/hashicorp/go-syslog v1.0.0 20:19:16 go: finding github.com/hashicorp/go-uuid v1.0.1 20:19:16 go: finding github.com/hashicorp/go.net v0.0.1 20:19:16 go: finding github.com/hashicorp/golang-lru v0.5.1 20:19:16 go: finding github.com/hashicorp/logutils v1.0.0 20:19:16 go: finding github.com/hashicorp/mdns v1.0.0 20:19:16 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 20:19:16 (12/14) Installing openssh-server-common (8.3_p1-r0) 20:19:17 go: finding github.com/hashicorp/memberlist v0.1.3 20:19:17 go: finding github.com/hashicorp/serf v0.8.2 20:19:17 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:19:17 go: finding github.com/mattn/go-colorable v0.0.9 20:19:17 go: finding github.com/mattn/go-isatty v0.0.3 20:19:17 go: finding github.com/miekg/dns v1.1.4 20:19:17 go: finding github.com/mitchellh/cli v1.0.0 20:19:17 (13/14) Installing openssh-server (8.3_p1-r0) 20:19:17 (14/14) Installing openssh (8.3_p1-r0) 20:19:17 Executing busybox-1.31.1-r16.trigger 20:19:17 OK: 221 MiB in 53 packages 20:19:17 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:19:17 go: finding github.com/mitchellh/copystructure v1.0.0 20:19:17 go: finding github.com/mitchellh/go-homedir v1.1.0 20:19:17 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:19:17 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:19:17 go: finding github.com/mitchellh/gox v0.4.0 20:19:17 go: finding github.com/mitchellh/iochan v1.0.0 20:19:17 go: finding github.com/mitchellh/mapstructure v1.1.2 20:19:17 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:19:17 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:19:17 go: finding github.com/pelletier/go-toml v1.2.0 20:19:17 go: finding github.com/pkg/errors v0.8.1 20:19:17 go: finding github.com/pmezard/go-difflib v1.0.0 20:19:17 go: finding github.com/posener/complete v1.1.1 20:19:17 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:19:17 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:19:17 go: finding github.com/stretchr/objx v0.1.0 20:19:17 go: finding github.com/stretchr/testify v1.5.1 20:19:17 go: finding github.com/ugorji/go v1.1.4 20:19:17 go: finding github.com/x448/float16 v0.8.4 20:19:18 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:19:18 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:19:18 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:19:18 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:19:18 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:19:18 go: finding gopkg.in/yaml.v2 v2.2.8 20:19:21 Removing intermediate container 5f7a3d2cf2a7 20:19:21 ---> 64196a8b672a 20:19:21 Step 6/8 : WORKDIR /device-modbus-go 20:19:21 ---> Running in c480829e5cf4 20:19:21 Removing intermediate container c480829e5cf4 20:19:21 ---> 8792c74eeb15 20:19:21 Step 7/8 : COPY . . 20:19:22 ---> 3ed295437f52 20:19:22 Step 8/8 : RUN go mod download 20:19:22 ---> Running in 9f816171c951 20:19:26 go: finding github.com/BurntSushi/toml v0.3.1 20:19:26 go: finding github.com/OneOfOne/xxhash v1.2.6 20:19:26 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 20:19:26 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:19:26 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 20:19:26 go: finding github.com/bgentry/speakeasy v0.1.0 20:19:26 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:19:26 go: finding github.com/davecgh/go-spew v1.1.1 20:19:26 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:19:26 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:19:26 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:19:26 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:19:26 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:19:26 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:19:26 go: finding github.com/fatih/color v1.7.0 20:19:26 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:19:26 go: finding github.com/go-kit/kit v0.8.0 20:19:26 go: finding github.com/go-logfmt/logfmt v0.4.0 20:19:26 go: finding github.com/go-stack/stack v1.8.0 20:19:26 go: finding github.com/goburrow/modbus v0.1.0 20:19:26 go: finding github.com/goburrow/serial v0.1.0 20:19:26 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:19:26 go: finding github.com/google/uuid v1.1.1 20:19:26 go: finding github.com/gorilla/mux v1.7.1 20:19:26 go: finding github.com/hashicorp/consul/api v1.1.0 20:19:26 go: finding github.com/hashicorp/consul/sdk v0.1.1 20:19:26 go: finding github.com/hashicorp/errwrap v1.0.0 20:19:27 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:19:27 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:19:27 go: finding github.com/hashicorp/go-msgpack v0.5.3 20:19:27 go: finding github.com/hashicorp/go-multierror v1.0.0 20:19:27 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:19:27 go: finding github.com/hashicorp/go-sockaddr v1.0.1 20:19:27 go: finding github.com/hashicorp/go-syslog v1.0.0 20:19:27 go: finding github.com/hashicorp/go-uuid v1.0.1 20:19:27 go: finding github.com/hashicorp/go.net v0.0.1 20:19:27 go: finding github.com/hashicorp/golang-lru v0.5.1 20:19:27 go: finding github.com/hashicorp/logutils v1.0.0 20:19:27 go: finding github.com/hashicorp/mdns v1.0.0 20:19:27 go: finding github.com/hashicorp/memberlist v0.1.3 20:19:27 go: finding github.com/hashicorp/serf v0.8.2 20:19:27 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 20:19:27 go: finding github.com/mattn/go-colorable v0.0.9 20:19:27 go: finding github.com/mattn/go-isatty v0.0.3 20:19:27 go: finding github.com/miekg/dns v1.1.4 20:19:27 go: finding github.com/mitchellh/cli v1.0.0 20:19:27 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:19:27 go: finding github.com/mitchellh/copystructure v1.0.0 20:19:27 go: finding github.com/mitchellh/go-homedir v1.1.0 20:19:27 go: finding github.com/mitchellh/go-testing-interface v1.0.0 20:19:27 go: finding github.com/mitchellh/go-wordwrap v1.0.0 20:19:27 go: finding github.com/mitchellh/gox v0.4.0 20:19:27 go: finding github.com/mitchellh/iochan v1.0.0 20:19:28 Removing intermediate container 12e801c3c1f4 20:19:28 ---> 615cec9265d9 20:19:28 Successfully built 615cec9265d9 20:19:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 20:19:28 go: finding github.com/mitchellh/mapstructure v1.1.2 20:19:28 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:19:28 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:19:28 go: finding github.com/pelletier/go-toml v1.2.0 20:19:28 go: finding github.com/pkg/errors v0.8.1 20:19:28 go: finding github.com/pmezard/go-difflib v1.0.0 20:19:28 go: finding github.com/posener/complete v1.1.1 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:28 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 20:19:28 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:19:28 go: finding github.com/stretchr/objx v0.1.0 20:19:28 go: finding github.com/stretchr/testify v1.5.1 20:19:28 go: finding github.com/ugorji/go v1.1.4 20:19:28 go: finding github.com/x448/float16 v0.8.4 20:19:28 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 20:19:28 + docker inspect -f . ci-base-image-x86_64 20:19:28 . [Pipeline] withDockerContainer 20:19:28 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 20:19:28 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 20:19:28 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 20:19:28 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 20:19:28 go: finding gopkg.in/yaml.v2 v2.2.8 20:19:28 prd-centos7-docker-4c-2g-858 does not seem to be running inside a container 20:19:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:19:30 $ docker top 626ca8fba30ee5bd09e8897673e634ef9bd352b07089de53fea13c2f22b1eb4c -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:30 + go version 20:19:30 go version go1.13.13 linux/amd64 [Pipeline] sh 20:19:30 + make test 20:19:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:19:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:19:38 Removing intermediate container 9f816171c951 20:19:38 ---> b1951f6c2237 20:19:38 Successfully built b1951f6c2237 20:19:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:39 + docker inspect -f . ci-base-image-arm64 20:19:39 . [Pipeline] withDockerContainer 20:19:39 prd-ubuntu18.04-docker-arm64-4c-16g-857 does not seem to be running inside a container 20:19:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:19:42 $ docker top c316de87546125bd01d9a3ee8b12dae99349eaddf7ee8d8cfa0cc7c89b17b691 -eo pid,comm 20:19:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:19:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.235s coverage: 50.3% of statements 20:19:42 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] { [Pipeline] sh 20:19:43 + go version 20:19:43 go version go1.13.13 linux/arm64 [Pipeline] sh 20:19:43 gofmt -l . 20:19:43 [ "`gofmt -l .`" = "" ] 20:19:43 ./bin/test-attribution-txt.sh 20:19:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 20:19:44 + make test 20:19:44 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:19:44 Stashed 1 file(s) [Pipeline] } 20:19:44 $ docker stop --time=1 626ca8fba30ee5bd09e8897673e634ef9bd352b07089de53fea13c2f22b1eb4c 20:19:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:19:46 $ docker rm -f 626ca8fba30ee5bd09e8897673e634ef9bd352b07089de53fea13c2f22b1eb4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:48 + ls -al . 20:19:48 total 104 20:19:48 drwxrwxr-x. 10 jenkins jenkins 4096 Aug 31 20:19 . 20:19:48 drwxrwxr-x. 4 jenkins jenkins 28 Aug 31 20:18 .. 20:19:48 -rw-rw-r--. 1 jenkins jenkins 5049 Aug 31 20:18 Attribution.txt 20:19:48 drwxrwxr-x. 2 jenkins jenkins 87 Aug 31 20:18 bin 20:19:48 drwxrwxr-x. 3 jenkins jenkins 32 Aug 31 20:18 cmd 20:19:48 -rw-r--r--. 1 jenkins jenkins 22364 Aug 31 20:19 coverage.out 20:19:48 -rw-rw-r--. 1 jenkins jenkins 1430 Aug 31 20:18 Dockerfile 20:19:48 -rw-rw-r--. 1 jenkins jenkins 954 Aug 31 20:18 Dockerfile.build 20:19:48 -rw-rw-r--. 1 jenkins jenkins 140 Aug 31 20:18 .dockerignore 20:19:48 drwxrwxr-x. 8 jenkins jenkins 179 Aug 31 20:18 .git 20:19:48 drwxrwxr-x. 2 jenkins jenkins 38 Aug 31 20:18 .github 20:19:48 -rw-rw-r--. 1 jenkins jenkins 330 Aug 31 20:18 .gitignore 20:19:48 -rw-r--r--. 1 jenkins jenkins 559 Aug 31 20:19 go.mod 20:19:48 -rw-r--r--. 1 jenkins jenkins 13471 Aug 31 20:19 go.sum 20:19:48 drwxrwxr-x. 3 jenkins jenkins 20 Aug 31 20:18 internal 20:19:48 -rw-rw-r--. 1 jenkins jenkins 702 Aug 31 20:18 Jenkinsfile 20:19:48 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 31 20:18 LICENSE 20:19:48 -rw-rw-r--. 1 jenkins jenkins 880 Aug 31 20:18 Makefile 20:19:48 -rw-rw-r--. 1 jenkins jenkins 591 Aug 31 20:18 README.md 20:19:48 drwxrwxr-x. 3 jenkins jenkins 58 Aug 31 20:18 .semver 20:19:48 drwxrwxr-x. 2 jenkins jenkins 35 Aug 31 20:18 simulator 20:19:48 drwxrwxr-x. 4 jenkins jenkins 54 Aug 31 20:18 snap 20:19:48 -rw-rw-r--. 1 jenkins jenkins 5 Aug 31 20:16 VERSION 20:19:48 -rw-rw-r--. 1 jenkins jenkins 229 Aug 31 20:18 version.go [Pipeline] isUnix [Pipeline] sh 20:19:48 + 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=fb1cdd462f00638a55f47d34e4d98aba930c26c6 --label arch=amd64 --label version=0.0.0 . 20:19:48 Sending build context to Docker daemon 683.5kB 20:19:48 Step 1/20 : ARG BASE=golang:1.13-alpine 20:19:48 Step 2/20 : FROM ${BASE} AS builder 20:19:48 ---> 615cec9265d9 20:19:48 Step 3/20 : ARG MAKE='make build' 20:19:49 ---> Running in 0f6a6edf2033 20:19:49 Removing intermediate container 0f6a6edf2033 20:19:49 ---> 3052838de375 20:19:49 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:19:49 ---> Running in 149241a012d0 20:19:50 Removing intermediate container 149241a012d0 20:19:50 ---> 0155b7ba5fe5 20:19:50 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 20:19:50 ---> Running in 6f77d9c61b83 20:19:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:19:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:19:51 OK: 237 MiB in 53 packages 20:19:52 Removing intermediate container 6f77d9c61b83 20:19:52 ---> 915d424047c4 20:19:52 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:19:52 ---> Running in 37f1fda80168 20:19:52 Removing intermediate container 37f1fda80168 20:19:52 ---> 1b06db096187 20:19:52 Step 7/20 : COPY . . 20:19:53 ---> ba0e785f0202 20:19:53 Step 8/20 : RUN ${MAKE} 20:19:53 ---> Running in 97982f0329c3 20:19:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:20:02 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:20:04 Removing intermediate container 97982f0329c3 20:20:04 ---> f1256a68e689 20:20:04 Step 9/20 : FROM scratch 20:20:04 ---> 20:20:04 Step 10/20 : ENV APP_PORT=49991 20:20:04 ---> Running in 7146fea0659b 20:20:04 Removing intermediate container 7146fea0659b 20:20:04 ---> e424cf0bfced 20:20:04 Step 11/20 : EXPOSE $APP_PORT 20:20:04 ---> Running in e85feb04bfe7 20:20:05 Removing intermediate container e85feb04bfe7 20:20:05 ---> 892b4d9a470c 20:20:05 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:20:05 ---> cfbe83200d42 20:20:05 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:20:05 ---> fae138c47d41 20:20:05 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:20:05 ---> 83a4b2c053f0 20:20:05 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:20:06 ---> Running in ca880e2528fc 20:20:06 Removing intermediate container ca880e2528fc 20:20:06 ---> 78ab634d8a75 20:20:06 Step 16/20 : ENTRYPOINT ["/device-modbus"] 20:20:06 ---> Running in 61c1aad4161f 20:20:06 Removing intermediate container 61c1aad4161f 20:20:06 ---> fdcc32113a5b 20:20:06 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:20:06 ---> Running in 0ba676e4bb10 20:20:06 Removing intermediate container 0ba676e4bb10 20:20:06 ---> 1dfa632a908c 20:20:06 Step 18/20 : LABEL arch=amd64 20:20:06 ---> Running in d2387bcacc5a 20:20:06 Removing intermediate container d2387bcacc5a 20:20:06 ---> dc0f23721cfb 20:20:06 Step 19/20 : LABEL git_sha=fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:20:06 ---> Running in d5c65a6302fd 20:20:06 Removing intermediate container d5c65a6302fd 20:20:06 ---> 0dc8fab00a37 20:20:06 Step 20/20 : LABEL version=0.0.0 20:20:06 ---> Running in b30e965b03c5 20:20:07 Removing intermediate container b30e965b03c5 20:20:07 ---> 82afb05be613 20:20:07 [Warning] One or more build-args [ARCH] were not consumed 20:20:07 Successfully built 82afb05be613 20:20:07 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] node 20:20:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:20:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.310s coverage: 50.3% of statements 20:20:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:20:22 gofmt -l . 20:20:22 [ "`gofmt -l .`" = "" ] 20:20:22 ./bin/test-attribution-txt.sh 20:20:22 ./bin/test-go-mod-tidy.sh 20:20:22 Still waiting to schedule task 20:20:22 All nodes of label ‘centos7-docker-8c-8g’ are offline [Pipeline] stash 20:20:22 Warning: overwriting stash ‘coverage-report’ 20:20:23 Stashed 1 file(s) [Pipeline] } 20:20:23 $ docker stop --time=1 c316de87546125bd01d9a3ee8b12dae99349eaddf7ee8d8cfa0cc7c89b17b691 20:20:25 $ docker rm -f c316de87546125bd01d9a3ee8b12dae99349eaddf7ee8d8cfa0cc7c89b17b691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:20:27 + ls -al . 20:20:27 total 140 20:20:27 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 20:20 . 20:20:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:18 .. 20:20:27 -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 20:18 .dockerignore 20:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 20:18 .git 20:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 20:18 .github 20:20:27 -rw-rw-r-- 1 jenkins jenkins 330 Aug 31 20:18 .gitignore 20:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 20:18 .semver 20:20:27 -rw-rw-r-- 1 jenkins jenkins 5049 Aug 31 20:18 Attribution.txt 20:20:27 -rw-rw-r-- 1 jenkins jenkins 1430 Aug 31 20:18 Dockerfile 20:20:27 -rw-rw-r-- 1 jenkins jenkins 954 Aug 31 20:18 Dockerfile.build 20:20:27 -rw-rw-r-- 1 jenkins jenkins 702 Aug 31 20:18 Jenkinsfile 20:20:27 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 20:18 LICENSE 20:20:27 -rw-rw-r-- 1 jenkins jenkins 880 Aug 31 20:18 Makefile 20:20:27 -rw-rw-r-- 1 jenkins jenkins 591 Aug 31 20:18 README.md 20:20:27 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 20:16 VERSION 20:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 20:18 bin 20:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 20:18 cmd 20:20:27 -rw-r--r-- 1 jenkins jenkins 22364 Aug 31 20:20 coverage.out 20:20:27 -rw-r--r-- 1 jenkins jenkins 559 Aug 31 20:20 go.mod 20:20:27 -rw-r--r-- 1 jenkins jenkins 13471 Aug 31 20:20 go.sum 20:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 20:18 internal 20:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 20:18 simulator 20:20:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 20:18 snap 20:20:27 -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 20:18 version.go [Pipeline] isUnix [Pipeline] sh 20:20:27 + 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=fb1cdd462f00638a55f47d34e4d98aba930c26c6 --label arch=arm64 --label version=0.0.0 . 20:20:28 Sending build context to Docker daemon 683.5kB 20:20:28 Step 1/20 : ARG BASE=golang:1.13-alpine 20:20:28 Step 2/20 : FROM ${BASE} AS builder 20:20:28 ---> b1951f6c2237 20:20:28 Step 3/20 : ARG MAKE='make build' 20:20:28 ---> Running in a4714e2ff052 20:20:29 Removing intermediate container a4714e2ff052 20:20:29 ---> c33d1bf2c51b 20:20:29 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:20:29 ---> Running in f8cb1e6e3c34 20:20:31 Removing intermediate container f8cb1e6e3c34 20:20:31 ---> 98d77ae7906a 20:20:31 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 20:20:31 ---> Running in 8c016457fb17 20:20:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:20:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:20:34 OK: 221 MiB in 53 packages 20:20:36 Removing intermediate container 8c016457fb17 20:20:36 ---> 06916a9f7bd4 20:20:36 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 20:20:36 ---> Running in 827991af62c1 20:20:36 Removing intermediate container 827991af62c1 20:20:36 ---> 50ce044cb835 20:20:36 Step 7/20 : COPY . . 20:20:37 ---> 0d234d61958f 20:20:37 Step 8/20 : RUN ${MAKE} 20:20:37 ---> Running in a58bd6baf415 20:20:39 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 20:21:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:21:12 Removing intermediate container a58bd6baf415 20:21:12 ---> f946eda4fd2e 20:21:12 Step 9/20 : FROM scratch 20:21:12 ---> 20:21:12 Step 10/20 : ENV APP_PORT=49991 20:21:12 ---> Running in 915bd76a2777 20:21:12 Removing intermediate container 915bd76a2777 20:21:12 ---> c9ff28ca6185 20:21:12 Step 11/20 : EXPOSE $APP_PORT 20:21:12 ---> Running in 06b77beb62cc 20:21:12 Removing intermediate container 06b77beb62cc 20:21:12 ---> 12cb4e749e26 20:21:12 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 20:21:13 ---> 38b18799a75b 20:21:13 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 20:21:14 ---> c39c18fcf407 20:21:14 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 20:21:15 ---> a46a07cb789c 20:21:15 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 20:21:15 ---> Running in 2271828d8b37 20:21:16 Removing intermediate container 2271828d8b37 20:21:16 ---> e5a9793080c1 20:21:16 Step 16/20 : ENTRYPOINT ["/device-modbus"] 20:21:16 ---> Running in eadbc061856d 20:21:16 Removing intermediate container eadbc061856d 20:21:16 ---> be14d7430b28 20:21:16 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:21:16 ---> Running in a5c56296b8e8 20:21:17 Removing intermediate container a5c56296b8e8 20:21:17 ---> 74af5d35d34f 20:21:17 Step 18/20 : LABEL arch=arm64 20:21:17 ---> Running in cdc3e9afc30b 20:21:17 Removing intermediate container cdc3e9afc30b 20:21:17 ---> 409f409322b8 20:21:17 Step 19/20 : LABEL git_sha=fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:21:17 ---> Running in 5d02849a8d6a 20:21:18 Removing intermediate container 5d02849a8d6a 20:21:18 ---> d8b2fd2e3a38 20:21:18 Step 20/20 : LABEL version=0.0.0 20:21:18 ---> Running in 938762106ccf 20:21:19 Removing intermediate container 938762106ccf 20:21:19 ---> 3cac9bb4811d 20:21:19 [Warning] One or more build-args [ARCH] were not consumed 20:21:19 Successfully built 3cac9bb4811d 20:21:19 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] node 20:21:31 Running on prd-centos7-docker-8c-8g-864 in /w/workspace/xfoundry_device-modbus-go_PR-169 [Pipeline] { [Pipeline] ws 20:21:31 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:21:34 using credential edgex-jenkins-ssh 20:21:34 Cloning the remote Git repository 20:21:34 Cloning with configured refspecs honoured and without tags 20:21:34 Still waiting to schedule task 20:21:34 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 20:21:35 Fetching without tags 20:21:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:21:34 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:21:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:21:34 > git --version # timeout=10 20:21:34 > git --version # 'git version 2.16.5' 20:21:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:21:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:21:35 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 20:21:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:21:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:21:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:21:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:21:35 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:21:35 Merge succeeded, producing fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:21:35 Checking out Revision fb1cdd462f00638a55f47d34e4d98aba930c26c6 (PR-169) 20:21:35 > git config core.sparsecheckout # timeout=10 20:21:35 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:21:35 > git remote # timeout=10 20:21:35 > git config --get remote.origin.url # timeout=10 20:21:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:35 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 20:21:35 > git rev-parse HEAD^{commit} # timeout=10 20:21:35 > git config core.sparsecheckout # timeout=10 20:21:35 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:21:39 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:40 ++ find /w/workspace/device-modbus-go/2 20:21:40 ++ grep snapcraft.yaml 20:21:40 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:40 provisioning config files... 20:21:40 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config2993695758425808982tmp [Pipeline] { [Pipeline] sh 20:21:41 + cp /w/workspace/device-modbus-go/2@tmp/config2993695758425808982tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 20:21:41 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 20:21:41 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 20:21:41 latest: Pulling from edgex-devops/edgex-snap-builder 20:21:41 f08d8e2a3ba1: Pulling fs layer 20:21:41 3baa9cb2483b: Pulling fs layer 20:21:41 94e5ff4c0b15: Pulling fs layer 20:21:41 1860925334f9: Pulling fs layer 20:21:41 2daf38717194: Pulling fs layer 20:21:41 309017e8d7a4: Pulling fs layer 20:21:41 f7790dc9fd0f: Pulling fs layer 20:21:41 cac0ae9282c2: Pulling fs layer 20:21:41 1f4cadf9a1ed: Pulling fs layer 20:21:41 1860925334f9: Waiting 20:21:41 2daf38717194: Waiting 20:21:41 309017e8d7a4: Waiting 20:21:41 f7790dc9fd0f: Waiting 20:21:41 cac0ae9282c2: Waiting 20:21:41 1f4cadf9a1ed: Waiting 20:21:41 94e5ff4c0b15: Verifying Checksum 20:21:41 94e5ff4c0b15: Download complete 20:21:41 3baa9cb2483b: Download complete 20:21:41 1860925334f9: Verifying Checksum 20:21:41 1860925334f9: Download complete 20:21:41 309017e8d7a4: Verifying Checksum 20:21:41 309017e8d7a4: Download complete 20:21:41 f7790dc9fd0f: Verifying Checksum 20:21:41 f7790dc9fd0f: Download complete 20:21:41 cac0ae9282c2: Verifying Checksum 20:21:41 cac0ae9282c2: Download complete 20:21:41 1f4cadf9a1ed: Download complete 20:21:42 f08d8e2a3ba1: Verifying Checksum 20:21:42 f08d8e2a3ba1: Download complete 20:21:44 f08d8e2a3ba1: Pull complete 20:21:45 3baa9cb2483b: Pull complete 20:21:45 94e5ff4c0b15: Pull complete 20:21:45 1860925334f9: Pull complete 20:21:50 2daf38717194: Verifying Checksum 20:21:50 2daf38717194: Download complete 20:22:29 2daf38717194: Pull complete 20:22:29 309017e8d7a4: Pull complete 20:22:29 f7790dc9fd0f: Pull complete 20:22:29 cac0ae9282c2: Pull complete 20:22:29 1f4cadf9a1ed: Pull complete 20:22:29 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 20:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 20:22:29 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 20:22:29 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:22:29 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 20:22:29 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:22:29 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1419 kB] 20:22:30 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1346 kB] 20:22:30 Fetched 3018 kB in 2s (1731 kB/s) 20:22:32 Reading package lists... 20:22:36 0% [Working] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 20:22:36 0% [Connecting to archive.ubuntu.com (91.189.88.142)] [1 InRelease 12.6 kB/88.7 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 20:22:36 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 20:22:36 0% [2 InRelease gpgv 242 kB] 0% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 20:22:36 0% [4 InRelease 15.2 kB/74.6 kB 20%] 0% [3 InRelease gpgv 88.7 kB] [4 InRelease 15.2 kB/74.6 kB 20%] 0% [4 InRelease 46.1 kB/74.6 kB 62%] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 100% [Working] Fetched 163 kB in 1s (248 kB/s) 20:22:39 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 38% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 72% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 20:22:42 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 20:22:43 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 33% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 20:22:44 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 20:22:44 Reading state information... 0% Reading state information... 0% Reading state information... Done 20:22:44 The following packages were automatically installed and are no longer required: 20:22:44 libjq1 libonig4 20:22:44 Use 'sudo apt autoremove' to remove them. 20:22:44 Suggested packages: 20:22:44 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:22:44 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 20:22:44 diffutils-doc perl-doc libterm-readline-gnu-perl 20:22:44 | libterm-readline-perl-perl 20:22:44 The following NEW packages will be installed: 20:22:44 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 20:22:44 libperl5.26 make netbase patch perl perl-modules-5.26 20:22:44 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 20:22:44 Need to get 12.0 MB of archives. 20:22:44 After this operation, 77.5 MB of additional disk space will be used. 20:22:44 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:22:45 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 712 kB/2763 kB 26%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 20:22:45 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 20:22:45 21% [3 libgdbm-compat4 6084 B/6084 B 100%] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 20:22:45 23% [4 libperl5.26 87.7 kB/3527 kB 2%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 20:22:45 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 20:22:45 51% [6 less 65.5 kB/112 kB 59%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 20:22:45 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 20:22:45 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 20:22:45 57% [9 libcurl3-gnutls 65.5 kB/213 kB 31%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 20:22:45 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:22:45 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 20:22:45 70% [12 git 266 kB/3915 kB 7%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 20:22:45 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 20:22:45 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9601 kB/s) 20:22:45 debconf: delaying package configuration, since apt-utils is not installed 20:22:45 Selecting previously unselected package perl-modules-5.26. 20:22:45 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 20:22:45 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:22:46 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:22:47 Selecting previously unselected package libgdbm5:amd64. 20:22:47 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 20:22:47 Unpacking libgdbm5:amd64 (1.14.1-6) ... 20:22:47 Selecting previously unselected package libgdbm-compat4:amd64. 20:22:47 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 20:22:47 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 20:22:47 Selecting previously unselected package libperl5.26:amd64. 20:22:47 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 20:22:47 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:22:47 Selecting previously unselected package perl. 20:22:47 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 20:22:47 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:22:48 Selecting previously unselected package less. 20:22:48 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 20:22:48 Unpacking less (487-0.1) ... 20:22:48 Selecting previously unselected package netbase. 20:22:48 Preparing to unpack .../06-netbase_5.4_all.deb ... 20:22:48 Unpacking netbase (5.4) ... 20:22:48 Selecting previously unselected package curl. 20:22:48 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 20:22:48 Unpacking curl (7.58.0-2ubuntu3.10) ... 20:22:48 Selecting previously unselected package libcurl3-gnutls:amd64. 20:22:48 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 20:22:48 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 20:22:48 Selecting previously unselected package liberror-perl. 20:22:48 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 20:22:48 Unpacking liberror-perl (0.17025-1) ... 20:22:48 Selecting previously unselected package git-man. 20:22:48 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:22:48 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:22:48 Selecting previously unselected package git. 20:22:48 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 20:22:48 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:22:50 Selecting previously unselected package make. 20:22:50 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 20:22:50 Unpacking make (4.1-9.1ubuntu1) ... 20:22:50 Selecting previously unselected package patch. 20:22:50 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 20:22:50 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:22:50 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:22:50 Setting up less (487-0.1) ... 20:22:50 Setting up make (4.1-9.1ubuntu1) ... 20:22:50 Setting up curl (7.58.0-2ubuntu3.10) ... 20:22:50 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 20:22:50 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:22:50 Setting up libgdbm5:amd64 (1.14.1-6) ... 20:22:50 Setting up patch (2.7.6-2ubuntu1.1) ... 20:22:50 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 20:22:50 Setting up netbase (5.4) ... 20:22:50 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 20:22:50 Setting up perl (5.26.1-6ubuntu0.3) ... 20:22:50 Setting up liberror-perl (0.17025-1) ... 20:22:50 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:22:50 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 20:22:50 Processing triggers for mime-support (3.60ubuntu1) ... 20:22:53 curl set to automatically installed. 20:22:53 git set to automatically installed. 20:22:53 git-man set to automatically installed. 20:22:53 less set to automatically installed. 20:22:53 libcurl3-gnutls set to automatically installed. 20:22:53 liberror-perl set to automatically installed. 20:22:53 libgdbm-compat4 set to automatically installed. 20:22:53 libgdbm5 set to automatically installed. 20:22:53 libperl5.26 set to automatically installed. 20:22:53 make set to automatically installed. 20:22:53 netbase set to automatically installed. 20:22:53 patch set to automatically installed. 20:22:53 perl set to automatically installed. 20:22:53 perl-modules-5.26 set to automatically installed. 20:22:53 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:22:53 Please ensure the environment is properly setup before continuing. 20:22:53 Ignore this message if the appropriate measures have already been taken 20:22:54 Pulling go  20:22:55 'device-modbus' has dependencies that need to be staged: go 20:22:55 Skipping pull go (already ran) 20:22:55 Building go  20:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:55 Dload Upload Total Spent Left Speed 20:22:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 18 114M 18 21.2M 0 0 25.9M 0 0:00:04 --:--:-- 0:00:04 25.9M 78 114M 78 89.3M 0 0 49.1M 0 0:00:02 0:00:01 0:00:01 49.1M 100 114M 100 114M 0 0 50.8M 0 0:00:02 0:00:02 --:--:-- 50.8M 20:22:59 go1.13.5.linux-amd64.tar.gz: OK 20:23:09 Staging go  20:23:10 Pulling device-modbus  20:23:12 Skipping build go (already ran) 20:23:12 Building device-modbus  20:23:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 20:23:13 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 20:23:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:23:13 go: downloading github.com/goburrow/modbus v0.1.0 20:23:13 go: extracting github.com/goburrow/modbus v0.1.0 20:23:13 go: downloading github.com/goburrow/serial v0.1.0 20:23:13 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 20:23:13 go: downloading github.com/gorilla/mux v1.7.1 20:23:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:23:13 go: downloading github.com/google/uuid v1.1.1 20:23:13 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:23:13 go: extracting github.com/goburrow/serial v0.1.0 20:23:13 go: extracting github.com/google/uuid v1.1.1 20:23:13 go: extracting github.com/gorilla/mux v1.7.1 20:23:13 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:23:13 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 20:23:13 go: downloading github.com/pkg/errors v0.8.1 20:23:13 go: downloading github.com/go-kit/kit v0.8.0 20:23:13 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:23:13 go: downloading gopkg.in/yaml.v2 v2.2.8 20:23:13 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:23:13 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:23:13 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:23:13 go: downloading github.com/pelletier/go-toml v1.2.0 20:23:13 go: extracting github.com/pkg/errors v0.8.1 20:23:13 go: downloading github.com/BurntSushi/toml v0.3.1 20:23:13 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:23:13 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 20:23:13 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:23:13 go: downloading github.com/hashicorp/consul/api v1.1.0 20:23:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:23:13 go: extracting gopkg.in/yaml.v2 v2.2.8 20:23:13 go: extracting github.com/pelletier/go-toml v1.2.0 20:23:13 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:23:13 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:23:13 go: downloading github.com/x448/float16 v0.8.4 20:23:13 go: extracting github.com/BurntSushi/toml v0.3.1 20:23:13 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:23:13 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:23:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:23:13 go: downloading github.com/mitchellh/copystructure v1.0.0 20:23:13 go: extracting github.com/go-kit/kit v0.8.0 20:23:13 go: extracting github.com/x448/float16 v0.8.4 20:23:13 go: extracting github.com/hashicorp/consul/api v1.1.0 20:23:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:23:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:23:13 go: downloading github.com/hashicorp/serf v0.8.2 20:23:13 go: extracting github.com/mitchellh/copystructure v1.0.0 20:23:13 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:23:13 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:23:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:23:13 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:23:13 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:23:14 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:23:14 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:23:14 go: extracting github.com/hashicorp/serf v0.8.2 20:23:14 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:23:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:23:14 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:23:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:23:14 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:23:14 go: downloading github.com/hashicorp/golang-lru v0.5.1 20:23:14 go: extracting github.com/hashicorp/golang-lru v0.5.1 20:23:14 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:23:14 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:23:14 go: finding github.com/goburrow/modbus v0.1.0 20:23:14 go: finding github.com/gorilla/mux v1.7.1 20:23:14 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:23:14 go: finding github.com/goburrow/serial v0.1.0 20:23:14 go: finding github.com/OneOfOne/xxhash v1.2.6 20:23:14 go: finding github.com/go-kit/kit v0.8.0 20:23:14 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:23:14 go: finding github.com/google/uuid v1.1.1 20:23:14 go: finding github.com/x448/float16 v0.8.4 20:23:14 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:23:14 go: finding github.com/go-logfmt/logfmt v0.4.0 20:23:14 go: finding gopkg.in/yaml.v2 v2.2.8 20:23:14 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:23:14 go: finding github.com/pkg/errors v0.8.1 20:23:14 go: finding github.com/BurntSushi/toml v0.3.1 20:23:14 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:23:14 go: finding github.com/pelletier/go-toml v1.2.0 20:23:14 go: finding github.com/hashicorp/consul/api v1.1.0 20:23:14 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:23:14 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:23:14 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:23:14 go: finding github.com/hashicorp/serf v0.8.2 20:23:14 go: finding github.com/mitchellh/mapstructure v1.1.2 20:23:14 go: finding github.com/mitchellh/copystructure v1.0.0 20:23:14 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:23:14 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:23:14 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:23:14 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:23:14 go: finding github.com/hashicorp/golang-lru v0.5.1 20:23:17 Running on prd-ubuntu18.04-docker-arm64-16c-16g-867 in /w/workspace/xfoundry_device-modbus-go_PR-169 [Pipeline] { [Pipeline] ws 20:23:17 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:23:21 using credential edgex-jenkins-ssh 20:23:21 Cloning the remote Git repository 20:23:21 Cloning with configured refspecs honoured and without tags 20:23:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:23:21 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:23:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:23:21 > git --version # timeout=10 20:23:21 > git --version # 'git version 2.17.1' 20:23:21 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:21 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:23:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:23:22 Fetching without tags 20:23:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:23:23 Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:23:23 Merge succeeded, producing fb1cdd462f00638a55f47d34e4d98aba930c26c6 20:23:23 Checking out Revision fb1cdd462f00638a55f47d34e4d98aba930c26c6 (PR-169) 20:23:22 > git config --add remote.origin.fetch +refs/pull/169/head:refs/remotes/origin/PR-169 # timeout=10 20:23:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 20:23:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:23:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:23:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:23:23 > git config core.sparsecheckout # timeout=10 20:23:23 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:23:23 > git remote # timeout=10 20:23:23 > git config --get remote.origin.url # timeout=10 20:23:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:23:23 > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 20:23:23 > git rev-parse HEAD^{commit} # timeout=10 20:23:23 > git config core.sparsecheckout # timeout=10 20:23:23 > git checkout -f fb1cdd462f00638a55f47d34e4d98aba930c26c6 # timeout=10 20:23:27 Commit message: "refactor: update dockerfile to appropriately use ENTRYPOINT and CMD, closes#163" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:28 Skipping stage go (already ran) 20:23:28 Staging device-modbus  20:23:28 + find /w/workspace/device-modbus-go/2 20:23:28 + grep snapcraft.yaml 20:23:28 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:28 provisioning config files... 20:23:28 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/2@tmp/config538003395756271908tmp 20:23:28 Priming go  [Pipeline] { [Pipeline] sh 20:23:29 + cp /w/workspace/device-modbus-go/2@tmp/config538003395756271908tmp /w/workspace/device-modbus-go/2/edgex-snap-store-login [Pipeline] sh 20:23:29 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/2:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 20:23:30 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 20:23:30 Priming device-modbus  20:23:30 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 20:23:30 237528ba509b: Pulling fs layer 20:23:30 393b96f31d8b: Pulling fs layer 20:23:30 4d82b0e39008: Pulling fs layer 20:23:30 e7ca375b8d34: Pulling fs layer 20:23:30 418f656485bb: Pulling fs layer 20:23:30 aebe8db9254c: Pulling fs layer 20:23:30 4f5f7b207d3f: Pulling fs layer 20:23:30 d19ca6af091a: Pulling fs layer 20:23:30 16b5a0711add: Pulling fs layer 20:23:30 aebe8db9254c: Waiting 20:23:30 418f656485bb: Waiting 20:23:30 e7ca375b8d34: Waiting 20:23:30 16b5a0711add: Waiting 20:23:30 4f5f7b207d3f: Waiting 20:23:30 d19ca6af091a: Waiting 20:23:30 4d82b0e39008: Download complete 20:23:30 393b96f31d8b: Download complete 20:23:30 e7ca375b8d34: Verifying Checksum 20:23:30 e7ca375b8d34: Download complete 20:23:30 aebe8db9254c: Verifying Checksum 20:23:30 aebe8db9254c: Download complete 20:23:30 4f5f7b207d3f: Download complete 20:23:30 d19ca6af091a: Download complete 20:23:30 16b5a0711add: Verifying Checksum 20:23:30 16b5a0711add: Download complete 20:23:31 237528ba509b: Verifying Checksum 20:23:31 237528ba509b: Download complete 20:23:31 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:23:31 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:23:31 Determining the version from the project repo (version-script). 20:23:31 The version has been set to '1.2.1-20200831+fb1cdd4' 20:23:32 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 20:23:32 Snapped edgex-device-modbus_1.2.1-20200831+fb1cdd4_amd64.snap 20:23:34 237528ba509b: Pull complete 20:23:34 393b96f31d8b: Pull complete 20:23:34 4d82b0e39008: Pull complete 20:23:35 e7ca375b8d34: Pull complete [Pipeline] } 20:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:23:40 418f656485bb: Verifying Checksum 20:23:40 418f656485bb: Download complete 20:24:27 418f656485bb: Pull complete 20:24:27 aebe8db9254c: Pull complete 20:24:27 4f5f7b207d3f: Pull complete 20:24:27 d19ca6af091a: Pull complete 20:24:27 16b5a0711add: Pull complete 20:24:27 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 20:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 20:24:28 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 20:24:28 Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 20:24:28 Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 20:24:28 Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 20:24:33 Reading package lists... 20:24:48 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 20:24:48 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 20:24:48 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 20:24:48 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 20:24:52 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 52% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 20:24:59 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 20:25:02 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 20:25:03 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 59% Building dependency tree 20:25:03 Reading state information... 0% Reading state information... 0% Reading state information... Done 20:25:04 The following packages were automatically installed and are no longer required: 20:25:04 libjq1 libonig4 20:25:04 Use 'sudo apt autoremove' to remove them. 20:25:04 Suggested packages: 20:25:04 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 20:25:04 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 20:25:04 diffutils-doc perl-doc libterm-readline-gnu-perl 20:25:04 | libterm-readline-perl-perl 20:25:04 The following NEW packages will be installed: 20:25:04 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 20:25:04 libperl5.26 make netbase patch perl perl-modules-5.26 20:25:04 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 20:25:04 Need to get 10.8 MB of archives. 20:25:04 After this operation, 73.6 MB of additional disk space will be used. 20:25:04 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 20:25:05 0% [1 perl-modules-5.26 4096 B/2763 kB 0%] 6% [1 perl-modules-5.26 843 kB/2763 kB 31%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 20:25:05 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Waiting for headers] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 20:25:05 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 20:25:05 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 20:25:05 51% [5 perl 0 B/201 kB 0%] 54% [Waiting for headers] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 20:25:05 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 20:25:05 56% [7 netbase 12.3 kB/12.7 kB 97%] 58% [Waiting for headers] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 20:25:05 58% [8 curl 45.1 kB/152 kB 30%] 60% [Waiting for headers] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 20:25:05 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Waiting for headers] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 20:25:05 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 20:25:05 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 20:25:06 72% [12 git 11.2 kB/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 20:25:06 95% [13 make 0 B/139 kB 0%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 20:25:06 98% [14 patch 41.0 kB/91.8 kB 45%] 100% [Working] Fetched 10.8 MB in 1s (7593 kB/s) 20:25:06 debconf: delaying package configuration, since apt-utils is not installed 20:25:06 Selecting previously unselected package perl-modules-5.26. 20:25:06 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) 20:25:06 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 20:25:06 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:25:08 Selecting previously unselected package libgdbm5:arm64. 20:25:08 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 20:25:08 Unpacking libgdbm5:arm64 (1.14.1-6) ... 20:25:08 Selecting previously unselected package libgdbm-compat4:arm64. 20:25:08 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 20:25:08 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 20:25:08 Selecting previously unselected package libperl5.26:arm64. 20:25:08 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 20:25:08 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:25:10 Selecting previously unselected package perl. 20:25:10 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 20:25:10 Unpacking perl (5.26.1-6ubuntu0.3) ... 20:25:10 Selecting previously unselected package less. 20:25:10 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 20:25:10 Unpacking less (487-0.1) ... 20:25:10 Selecting previously unselected package netbase. 20:25:10 Preparing to unpack .../06-netbase_5.4_all.deb ... 20:25:10 Unpacking netbase (5.4) ... 20:25:10 Selecting previously unselected package curl. 20:25:10 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 20:25:10 Unpacking curl (7.58.0-2ubuntu3.10) ... 20:25:10 Selecting previously unselected package libcurl3-gnutls:arm64. 20:25:10 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 20:25:10 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 20:25:10 Selecting previously unselected package liberror-perl. 20:25:10 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 20:25:10 Unpacking liberror-perl (0.17025-1) ... 20:25:10 Selecting previously unselected package git-man. 20:25:10 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 20:25:10 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 20:25:11 Selecting previously unselected package git. 20:25:11 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 20:25:11 Unpacking git (1:2.17.1-1ubuntu0.7) ... 20:25:12 Selecting previously unselected package make. 20:25:12 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 20:25:12 Unpacking make (4.1-9.1ubuntu1) ... 20:25:12 Selecting previously unselected package patch. 20:25:12 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 20:25:12 Unpacking patch (2.7.6-2ubuntu1.1) ... 20:25:12 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 20:25:12 Setting up less (487-0.1) ... 20:25:13 Setting up make (4.1-9.1ubuntu1) ... 20:25:13 Setting up curl (7.58.0-2ubuntu3.10) ... 20:25:13 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 20:25:13 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 20:25:13 Setting up libgdbm5:arm64 (1.14.1-6) ... 20:25:13 Setting up patch (2.7.6-2ubuntu1.1) ... 20:25:13 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 20:25:13 Setting up netbase (5.4) ... 20:25:13 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 20:25:13 Setting up perl (5.26.1-6ubuntu0.3) ... 20:25:13 Setting up liberror-perl (0.17025-1) ... 20:25:14 Setting up git (1:2.17.1-1ubuntu0.7) ... 20:25:14 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 20:25:14 Processing triggers for mime-support (3.60ubuntu1) ... 20:25:19 curl set to automatically installed. 20:25:19 git set to automatically installed. 20:25:19 git-man set to automatically installed. 20:25:19 less set to automatically installed. 20:25:19 libcurl3-gnutls set to automatically installed. 20:25:19 liberror-perl set to automatically installed. 20:25:19 libgdbm-compat4 set to automatically installed. 20:25:19 libgdbm5 set to automatically installed. 20:25:19 libperl5.26 set to automatically installed. 20:25:19 make set to automatically installed. 20:25:19 netbase set to automatically installed. 20:25:19 patch set to automatically installed. 20:25:19 perl set to automatically installed. 20:25:19 perl-modules-5.26 set to automatically installed. 20:25:19 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 20:25:19 Please ensure the environment is properly setup before continuing. 20:25:19 Ignore this message if the appropriate measures have already been taken 20:25:20 Pulling go  20:25:24 'device-modbus' has dependencies that need to be staged: go 20:25:24 Skipping pull go (already ran) 20:25:24 Building go  20:25:24 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:24 Dload Upload Total Spent Left Speed 20:25:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 93.0M 0 10231 0 0 36151 0 0:44:59 --:--:-- 0:44:59 36024 28 93.0M 28 26.2M 0 0 20.3M 0 0:00:04 0:00:01 0:00:03 20.3M 68 93.0M 68 64.0M 0 0 28.0M 0 0:00:03 0:00:02 0:00:01 28.0M 100 93.0M 100 93.0M 0 0 28.4M 0 0:00:03 0:00:03 --:--:-- 28.4M 20:25:29 go1.13.5.linux-arm64.tar.gz: OK 20:25:47 Staging go  20:25:50 Pulling device-modbus  20:25:53 Skipping build go (already ran) 20:25:53 Building device-modbus  20:25:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 20:25:55 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 20:25:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:25:55 go: downloading github.com/goburrow/modbus v0.1.0 20:25:55 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 20:25:55 go: extracting github.com/goburrow/modbus v0.1.0 20:25:55 go: downloading github.com/goburrow/serial v0.1.0 20:25:55 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:25:55 go: extracting github.com/goburrow/serial v0.1.0 20:25:55 go: downloading github.com/gorilla/mux v1.7.1 20:25:55 go: downloading github.com/google/uuid v1.1.1 20:25:55 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:25:55 go: downloading github.com/OneOfOne/xxhash v1.2.6 20:25:55 go: extracting github.com/gorilla/mux v1.7.1 20:25:55 go: extracting github.com/google/uuid v1.1.1 20:25:55 go: downloading github.com/go-kit/kit v0.8.0 20:25:55 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:25:55 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 20:25:55 go: extracting github.com/OneOfOne/xxhash v1.2.6 20:25:55 go: downloading gopkg.in/yaml.v2 v2.2.8 20:25:55 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 20:25:55 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 20:25:55 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 20:25:55 go: downloading github.com/pelletier/go-toml v1.2.0 20:25:55 go: downloading github.com/BurntSushi/toml v0.3.1 20:25:55 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 20:25:55 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 20:25:55 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 20:25:55 go: extracting gopkg.in/yaml.v2 v2.2.8 20:25:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:25:55 go: downloading github.com/hashicorp/consul/api v1.1.0 20:25:55 go: downloading github.com/pkg/errors v0.8.1 20:25:55 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 20:25:55 go: extracting github.com/pelletier/go-toml v1.2.0 20:25:55 go: extracting github.com/BurntSushi/toml v0.3.1 20:25:55 go: downloading github.com/x448/float16 v0.8.4 20:25:55 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:25:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:25:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:25:55 go: downloading github.com/mitchellh/copystructure v1.0.0 20:25:55 go: extracting github.com/pkg/errors v0.8.1 20:25:55 go: extracting github.com/go-kit/kit v0.8.0 20:25:55 go: extracting github.com/hashicorp/consul/api v1.1.0 20:25:55 go: extracting github.com/x448/float16 v0.8.4 20:25:55 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 20:25:55 go: extracting github.com/mitchellh/mapstructure v1.1.2 20:25:55 go: extracting github.com/mitchellh/copystructure v1.0.0 20:25:55 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:25:55 go: downloading github.com/hashicorp/serf v0.8.2 20:25:55 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 20:25:55 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:25:55 go: extracting github.com/mitchellh/reflectwalk v1.0.0 20:25:55 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 20:25:55 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 20:25:55 go: downloading github.com/go-logfmt/logfmt v0.4.0 20:25:56 go: extracting github.com/go-logfmt/logfmt v0.4.0 20:25:56 go: extracting github.com/hashicorp/serf v0.8.2 20:25:56 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:25:56 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:25:56 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:25:56 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 20:25:56 go: downloading github.com/hashicorp/golang-lru v0.5.1 20:25:56 go: extracting github.com/hashicorp/golang-lru v0.5.1 20:25:56 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 20:25:56 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 20:25:56 go: finding github.com/goburrow/modbus v0.1.0 20:25:56 go: finding github.com/gorilla/mux v1.7.1 20:25:56 go: finding github.com/OneOfOne/xxhash v1.2.6 20:25:56 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 20:25:56 go: finding github.com/go-kit/kit v0.8.0 20:25:56 go: finding github.com/fxamacker/cbor/v2 v2.2.0 20:25:56 go: finding github.com/goburrow/serial v0.1.0 20:25:56 go: finding github.com/google/uuid v1.1.1 20:25:56 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 20:25:56 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 20:25:56 go: finding github.com/pkg/errors v0.8.1 20:25:56 go: finding gopkg.in/yaml.v2 v2.2.8 20:25:56 go: finding github.com/go-logfmt/logfmt v0.4.0 20:25:56 go: finding github.com/x448/float16 v0.8.4 20:25:56 go: finding github.com/BurntSushi/toml v0.3.1 20:25:56 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 20:25:56 go: finding github.com/pelletier/go-toml v1.2.0 20:25:56 go: finding github.com/hashicorp/consul/api v1.1.0 20:25:56 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:25:56 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 20:25:56 go: finding github.com/hashicorp/go-rootcerts v1.0.0 20:25:56 go: finding github.com/hashicorp/serf v0.8.2 20:25:56 go: finding github.com/mitchellh/mapstructure v1.1.2 20:25:56 go: finding github.com/mitchellh/copystructure v1.0.0 20:25:56 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 20:25:56 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:25:56 go: finding github.com/mitchellh/reflectwalk v1.0.0 20:25:56 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 20:25:56 go: finding github.com/hashicorp/golang-lru v0.5.1 20:26:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 20:26:29 Skipping stage go (already ran) 20:26:29 Staging device-modbus  20:26:33 Priming go  20:26:35 Priming device-modbus  20:26:39 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 20:26:39 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 20:26:39 Determining the version from the project repo (version-script). 20:26:39 The version has been set to '1.2.1-20200831+fb1cdd4' 20:26:40 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 20:26:40 Snapped edgex-device-modbus_1.2.1-20200831+fb1cdd4_arm64.snap [Pipeline] } 20:26:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 20:26:44 provisioning config files... 20:26:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-169@tmp/config5048219888379318302tmp [Pipeline] { [Pipeline] sh 20:26:45 + curl -s https://codecov.io/bash 20:26:45 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-169@tmp/config5048219888379318302tmp [Pipeline] } 20:26:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:26:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:26:47 ---> package-listing.sh 20:26:47 ++ facter osfamily 20:26:47 ++ tr '[:upper:]' '[:lower:]' 20:26:47 + OS_FAMILY=redhat 20:26:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-169 20:26:47 + START_PACKAGES=/tmp/packages_start.txt 20:26:47 + END_PACKAGES=/tmp/packages_end.txt 20:26:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:26:47 + PACKAGES=/tmp/packages_start.txt 20:26:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-169 ']' 20:26:47 + PACKAGES=/tmp/packages_end.txt 20:26:47 + case "${OS_FAMILY}" in 20:26:47 + rpm -qa 20:26:47 + sort 20:26:52 + '[' -f /tmp/packages_start.txt ']' 20:26:52 + '[' -f /tmp/packages_end.txt ']' 20:26:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:26:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-169 ']' 20:26:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-169/archives/ 20:26:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-169/archives/ [Pipeline] isUnix [Pipeline] sh 20:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:26:52 20:26:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:26:53 alpine: Pulling from edgex-lftools-log-publisher 20:26:53 c9b1b535fdd9: Pulling fs layer 20:26:53 2cc5ad85d9ab: Pulling fs layer 20:26:53 756a868c4378: Pulling fs layer 20:26:53 444b2fc9a129: Pulling fs layer 20:26:53 ea15f1150254: Pulling fs layer 20:26:53 41b27a9f41bf: Pulling fs layer 20:26:53 28c525ee5125: Pulling fs layer 20:26:53 094b1ea09ed8: Pulling fs layer 20:26:53 138eaada9080: Pulling fs layer 20:26:53 0622d0fa9048: Pulling fs layer 20:26:53 28c525ee5125: Waiting 20:26:53 094b1ea09ed8: Waiting 20:26:53 444b2fc9a129: Waiting 20:26:53 41b27a9f41bf: Waiting 20:26:53 ea15f1150254: Waiting 20:26:53 0622d0fa9048: Waiting 20:26:53 2cc5ad85d9ab: Verifying Checksum 20:26:53 2cc5ad85d9ab: Download complete 20:26:53 444b2fc9a129: Verifying Checksum 20:26:53 444b2fc9a129: Download complete 20:26:53 c9b1b535fdd9: Verifying Checksum 20:26:53 c9b1b535fdd9: Download complete 20:26:53 ea15f1150254: Verifying Checksum 20:26:53 ea15f1150254: Download complete 20:26:53 28c525ee5125: Verifying Checksum 20:26:53 28c525ee5125: Download complete 20:26:54 c9b1b535fdd9: Pull complete 20:26:54 756a868c4378: Verifying Checksum 20:26:54 756a868c4378: Download complete 20:26:54 2cc5ad85d9ab: Pull complete 20:26:55 138eaada9080: Verifying Checksum 20:26:55 138eaada9080: Download complete 20:26:55 0622d0fa9048: Verifying Checksum 20:26:55 0622d0fa9048: Download complete 20:26:55 094b1ea09ed8: Verifying Checksum 20:26:55 094b1ea09ed8: Download complete 20:26:56 41b27a9f41bf: Verifying Checksum 20:26:56 41b27a9f41bf: Download complete 20:26:57 756a868c4378: Pull complete 20:26:57 444b2fc9a129: Pull complete 20:26:57 ea15f1150254: Pull complete 20:27:01 41b27a9f41bf: Pull complete 20:27:01 28c525ee5125: Pull complete 20:27:06 094b1ea09ed8: Pull complete 20:27:06 138eaada9080: Pull complete 20:27:06 0622d0fa9048: Pull complete 20:27:06 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 20:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:27:06 prd-centos7-docker-4c-2g-854 does not seem to be running inside a container 20:27:06 $ 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-169 -v /w/workspace/xfoundry_device-modbus-go_PR-169:/w/workspace/xfoundry_device-modbus-go_PR-169:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-169@tmp:/w/workspace/xfoundry_device-modbus-go_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:27:10 $ docker top 8605f0b53d6cc1e7a37ca47a9992116c563b565d8738885f70bd78460d4cae1d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:10 provisioning config files... 20:27:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-169@tmp/config291484169701376368tmp [Pipeline] { [Pipeline] echo 20:27:10 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:11 ---> create-netrc.sh [Pipeline] echo 20:27:11 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:11 ---> logs-deploy.sh 20:27:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-169/2 20:27:11 INFO: archiving workspace using pattern(s): 20:27:12 Archives upload complete. 20:27:13 INFO: archiving logs to Nexus 20:27:14 ---> uname -a: 20:27:14 Linux 8605f0b53d6c 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 20:27:14 20:27:14 20:27:14 ---> lscpu: 20:27:14 Architecture: x86_64 20:27:14 CPU op-mode(s): 32-bit, 64-bit 20:27:14 Byte Order: Little Endian 20:27:14 Address sizes: 40 bits physical, 48 bits virtual 20:27:14 CPU(s): 4 20:27:14 On-line CPU(s) list: 0-3 20:27:14 Thread(s) per core: 1 20:27:14 Core(s) per socket: 1 20:27:14 Socket(s): 4 20:27:14 NUMA node(s): 1 20:27:14 Vendor ID: GenuineIntel 20:27:14 CPU family: 6 20:27:14 Model: 44 20:27:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:27:14 Stepping: 1 20:27:14 CPU MHz: 2933.438 20:27:14 BogoMIPS: 5866.87 20:27:14 Virtualization: VT-x 20:27:14 Hypervisor vendor: KVM 20:27:14 Virtualization type: full 20:27:14 L1d cache: 128 KiB 20:27:14 L1i cache: 128 KiB 20:27:14 L2 cache: 16 MiB 20:27:14 L3 cache: 64 MiB 20:27:14 NUMA node0 CPU(s): 0-3 20:27:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:27:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:27:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:27:14 Vulnerability Meltdown: Mitigation; PTI 20:27:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:27:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:27:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:27:14 Vulnerability Tsx async abort: Not affected 20:27:14 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 20:27:14 20:27:14 20:27:14 ---> nproc: 20:27:14 4 20:27:14 20:27:14