Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from aac68ee3218624e25aee617d21101238ddac5a86+0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b (cf31d8349e0d20aed1c3eeb2d3c307ddd9f65335) 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1038 in /w/workspace/xfoundry_device-modbus-go_PR-162 [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-162 # timeout=10 Fetching without tags Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 Merge succeeded, producing cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 Checking out Revision cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 (PR-162) 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/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # 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/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # 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 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 # timeout=10 Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:45 ========================================================= 16:52:45 EdgeX Global Pipelines Version Info 16:52:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:52:46 ------------------- 16:52:46 stable info: 16:52:46 ------------------- 16:52:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:46 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 16:52:46 Message: update stable to v1.0.115 16:52:47 ------------------- 16:52:47 experimental info: 16:52:47 ------------------- 16:52:47 Commited By: **** collab-it+edgex@linuxfoundation.org 16:52:47 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 16:52:47 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 16:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:52:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc82fff [Pipeline] echo 16:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:51 + git log --format=format:%s -1 cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [Pipeline] echo 16:52:51 GIT_COMMIT: cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6, Commit Message: Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD [Pipeline] echo 16:52:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:52:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:52 16:52:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:52:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:52 latest: Pulling from edgex-devops/git-semver 16:52:52 31603596830f: Pulling fs layer 16:52:52 2a8b12db71e7: Pulling fs layer 16:52:52 6ca5941a6612: Pulling fs layer 16:52:52 ecc8261a40a4: Pulling fs layer 16:52:52 ecc8261a40a4: Waiting 16:52:52 2a8b12db71e7: Verifying Checksum 16:52:52 2a8b12db71e7: Download complete 16:52:53 31603596830f: Verifying Checksum 16:52:53 31603596830f: Download complete 16:52:53 ecc8261a40a4: Verifying Checksum 16:52:53 ecc8261a40a4: Download complete 16:52:53 6ca5941a6612: Verifying Checksum 16:52:53 6ca5941a6612: Download complete 16:52:53 31603596830f: Pull complete 16:52:53 2a8b12db71e7: Pull complete 16:52:54 6ca5941a6612: Pull complete 16:52:54 ecc8261a40a4: Pull complete 16:52:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:52:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:52:54 prd-centos7-docker-4c-2g-1038 does not seem to be running inside a container 16:52:54 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:52:56 $ docker top 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:52:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:57 [ssh-agent] Looking for ssh-agent implementation... 16:52:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:57 $ docker exec 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent 16:52:57 SSH_AUTH_SOCK=/tmp/ssh-FtBa8ZUElMCd/agent.12 16:52:57 SSH_AGENT_PID=18 16:52:57 Running ssh-add (command line suppressed) 16:52:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_8489994947277835414.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_8489994947277835414.key) 16:52:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:58 + git describe --exact-match --tags HEAD 16:52:58 fatal: No names found, cannot describe anything. [Pipeline] } 16:52:58 $ docker exec --env ******** --env ******** 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent -k 16:52:58 unset SSH_AUTH_SOCK; 16:52:58 unset SSH_AGENT_PID; 16:52:58 echo Agent pid 18 killed; 16:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 16:52:58 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 16:52:58 This usually means this commit has not been tagged. [Pipeline] sshagent 16:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:52:58 [ssh-agent] Looking for ssh-agent implementation... 16:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:52:58 $ docker exec 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent 16:52:58 SSH_AUTH_SOCK=/tmp/ssh-QBYOIjn5siN5/agent.47 16:52:58 SSH_AGENT_PID=53 16:52:58 Running ssh-add (command line suppressed) 16:52:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_7067734611332418381.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_7067734611332418381.key) 16:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:52:59 + git semver init 16:52:59 # -> Open(): unable to determine branch for HEAD 16:52:59 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git 16:52:59 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 16:52:59 # $SEMVER_REMOTE_NAME = origin 16:52:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:52:59 # $SEMVER_USER_NAME = edgex-jenkins 16:52:59 # $SEMVER_BRANCH = PR-162 16:52:59 # $SEMVER_TEMP = /tmp/semver-696456384 16:52:59 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:52:59 # '/tmp/semver-696456384' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' 16:52:59 # -> Force: false 16:52:59 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } 16:52:59 $ docker exec --env ******** --env ******** 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent -k 16:52:59 unset SSH_AUTH_SOCK; 16:52:59 unset SSH_AGENT_PID; 16:52:59 echo Agent pid 53 killed; 16:52:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:00 + git semver [Pipeline] } 16:53:00 $ docker stop --time=1 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 16:53:01 $ docker rm -f 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 16:53:02 Stashed 27 file(s) [Pipeline] echo 16:53:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 16:53:02 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 16:53:02 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1036 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 16:53:02 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:53:06 using credential edgex-jenkins-ssh 16:53:07 Cloning the remote Git repository 16:53:07 Cloning with configured refspecs honoured and without tags 16:53:07 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:53:07 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:53:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:53:07 > git --version # timeout=10 16:53:07 > git --version # 'git version 2.17.1' 16:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:53:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:53:08 Fetching without tags 16:53:08 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 16:53:08 Merge succeeded, producing cb60d5fab8026c438d5c8188acb5a0df5b438bce 16:53:08 Checking out Revision cb60d5fab8026c438d5c8188acb5a0df5b438bce (PR-162) 16:53:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:53:08 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 16:53:08 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:53:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:53:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:53:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:53:08 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:53:08 > git config core.sparsecheckout # timeout=10 16:53:08 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 16:53:08 > git remote # timeout=10 16:53:08 > git config --get remote.origin.url # timeout=10 16:53:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:53:08 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 16:53:08 > git rev-parse HEAD^{commit} # timeout=10 16:53:08 > git config core.sparsecheckout # timeout=10 16:53:08 > git checkout -f cb60d5fab8026c438d5c8188acb5a0df5b438bce # timeout=10 16:53:12 Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" 16:53:13 First time build. Skipping changelog. 16:53:12 > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:53:14 ========================================================= 16:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 16:53:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:53:15 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . 16:53:16 Sending build context to Docker daemon 673.8kB 16:53:16 Step 1/8 : ARG BASE=golang:1.13-alpine 16:53:16 Step 2/8 : FROM ${BASE} 16:53:16 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:53:16 b538f80385f9: Pulling fs layer 16:53:16 74f711af9a0d: Pulling fs layer 16:53:16 99f96fe45779: Pulling fs layer 16:53:16 fd7a069fd194: Pulling fs layer 16:53:16 66aa3694b03b: Pulling fs layer 16:53:16 170f70906a0f: Pulling fs layer 16:53:16 ad7c5574e4b9: Pulling fs layer 16:53:16 e772456be8f7: Pulling fs layer 16:53:16 c890913d741a: Pulling fs layer 16:53:16 fd7a069fd194: Waiting 16:53:16 2480fcc9aa5a: Pulling fs layer 16:53:16 09adf4765672: Pulling fs layer 16:53:16 66aa3694b03b: Waiting 16:53:16 170f70906a0f: Waiting 16:53:16 ad7c5574e4b9: Waiting 16:53:16 e772456be8f7: Waiting 16:53:16 c890913d741a: Waiting 16:53:16 2480fcc9aa5a: Waiting 16:53:16 09adf4765672: Waiting 16:53:16 99f96fe45779: Verifying Checksum 16:53:16 99f96fe45779: Download complete 16:53:16 74f711af9a0d: Verifying Checksum 16:53:16 74f711af9a0d: Download complete 16:53:16 66aa3694b03b: Verifying Checksum 16:53:16 66aa3694b03b: Download complete 16:53:16 170f70906a0f: Verifying Checksum 16:53:16 170f70906a0f: Download complete 16:53:16 b538f80385f9: Verifying Checksum 16:53:16 b538f80385f9: Download complete 16:53:17 b538f80385f9: Pull complete 16:53:17 Still waiting to schedule task 16:53:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:53:17 74f711af9a0d: Pull complete 16:53:18 99f96fe45779: Pull complete 16:53:19 ad7c5574e4b9: Verifying Checksum 16:53:19 ad7c5574e4b9: Download complete 16:53:19 c890913d741a: Verifying Checksum 16:53:19 c890913d741a: Download complete 16:53:21 2480fcc9aa5a: Verifying Checksum 16:53:21 2480fcc9aa5a: Download complete 16:53:21 09adf4765672: Verifying Checksum 16:53:21 09adf4765672: Download complete 16:53:21 e772456be8f7: Verifying Checksum 16:53:22 fd7a069fd194: Verifying Checksum 16:53:22 fd7a069fd194: Download complete 16:53:35 fd7a069fd194: Pull complete 16:53:35 66aa3694b03b: Pull complete 16:53:35 170f70906a0f: Pull complete 16:53:37 ad7c5574e4b9: Pull complete 16:53:42 e772456be8f7: Pull complete 16:53:42 c890913d741a: Pull complete 16:53:45 2480fcc9aa5a: Pull complete 16:53:45 09adf4765672: Pull complete 16:53:45 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 16:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 16:53:45 ---> 2248a725d1cf 16:53:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:53:50 ---> Running in 50a569c2a463 16:53:50 Removing intermediate container 50a569c2a463 16:53:50 ---> 1b21799ff6a6 16:53:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:50 ---> Running in 54ee7d6141da 16:53:52 Removing intermediate container 54ee7d6141da 16:53:52 ---> 7190380026b4 16:53:52 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:53:52 ---> Running in d446c3821071 16:53:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:53:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:53:56 (1/14) Installing libmagic (5.38-r0) 16:53:56 (2/14) Installing file (5.38-r0) 16:53:56 (3/14) Installing libc-dev (0.7.2-r3) 16:53:56 (4/14) Installing g++ (9.3.0-r2) 16:54:00 (5/14) Installing fortify-headers (1.1-r0) 16:54:00 (6/14) Installing patch (2.7.6-r6) 16:54:00 (7/14) Installing build-base (0.5-r2) 16:54:00 (8/14) Installing openssh-keygen (8.3_p1-r0) 16:54:00 (9/14) Installing libedit (20191231.3.1-r0) 16:54:00 (10/14) Installing openssh-client (8.3_p1-r0) 16:54:01 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 16:54:01 (12/14) Installing openssh-server-common (8.3_p1-r0) 16:54:01 (13/14) Installing openssh-server (8.3_p1-r0) 16:54:01 (14/14) Installing openssh (8.3_p1-r0) 16:54:01 Executing busybox-1.31.1-r16.trigger 16:54:01 OK: 221 MiB in 53 packages 16:54:06 Removing intermediate container d446c3821071 16:54:06 ---> c9c172c589ca 16:54:06 Step 6/8 : WORKDIR /device-modbus-go 16:54:06 ---> Running in 7045fb0bf42c 16:54:06 Removing intermediate container 7045fb0bf42c 16:54:06 ---> 63becbe4f02f 16:54:06 Step 7/8 : COPY . . 16:54:07 ---> dc690c02d239 16:54:07 Step 8/8 : RUN go mod download 16:54:07 ---> Running in 1c164787d789 16:54:10 go: finding github.com/BurntSushi/toml v0.3.1 16:54:10 go: finding github.com/OneOfOne/xxhash v1.2.6 16:54:10 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:54:10 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:54:10 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:54:10 go: finding github.com/bgentry/speakeasy v0.1.0 16:54:10 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:54:10 go: finding github.com/davecgh/go-spew v1.1.1 16:54:10 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:54:10 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:54:10 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:54:10 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:54:10 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:54:11 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:54:11 go: finding github.com/fatih/color v1.7.0 16:54:11 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:54:11 go: finding github.com/go-kit/kit v0.8.0 16:54:11 go: finding github.com/go-logfmt/logfmt v0.4.0 16:54:11 go: finding github.com/go-stack/stack v1.8.0 16:54:11 go: finding github.com/goburrow/modbus v0.1.0 16:54:11 go: finding github.com/goburrow/serial v0.1.0 16:54:11 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:54:11 go: finding github.com/google/uuid v1.1.1 16:54:11 go: finding github.com/gorilla/mux v1.7.1 16:54:11 go: finding github.com/hashicorp/consul/api v1.1.0 16:54:11 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:54:11 go: finding github.com/hashicorp/errwrap v1.0.0 16:54:11 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:54:11 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:54:11 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:54:11 go: finding github.com/hashicorp/go-multierror v1.0.0 16:54:11 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:54:11 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:54:12 go: finding github.com/hashicorp/go-syslog v1.0.0 16:54:12 go: finding github.com/hashicorp/go-uuid v1.0.1 16:54:12 go: finding github.com/hashicorp/go.net v0.0.1 16:54:12 go: finding github.com/hashicorp/golang-lru v0.5.1 16:54:12 go: finding github.com/hashicorp/logutils v1.0.0 16:54:12 go: finding github.com/hashicorp/mdns v1.0.0 16:54:12 go: finding github.com/hashicorp/memberlist v0.1.3 16:54:12 go: finding github.com/hashicorp/serf v0.8.2 16:54:12 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:54:12 go: finding github.com/mattn/go-colorable v0.0.9 16:54:12 go: finding github.com/mattn/go-isatty v0.0.3 16:54:12 go: finding github.com/miekg/dns v1.1.4 16:54:12 go: finding github.com/mitchellh/cli v1.0.0 16:54:12 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:54:12 go: finding github.com/mitchellh/copystructure v1.0.0 16:54:12 go: finding github.com/mitchellh/go-homedir v1.1.0 16:54:12 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:54:12 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:54:12 go: finding github.com/mitchellh/gox v0.4.0 16:54:12 go: finding github.com/mitchellh/iochan v1.0.0 16:54:12 go: finding github.com/mitchellh/mapstructure v1.1.2 16:54:12 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:54:12 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:54:12 go: finding github.com/pelletier/go-toml v1.2.0 16:54:12 go: finding github.com/pkg/errors v0.8.1 16:54:12 go: finding github.com/pmezard/go-difflib v1.0.0 16:54:12 go: finding github.com/posener/complete v1.1.1 16:54:13 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:54:13 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:54:13 go: finding github.com/stretchr/objx v0.1.0 16:54:13 go: finding github.com/stretchr/testify v1.5.1 16:54:13 go: finding github.com/ugorji/go v1.1.4 16:54:13 go: finding github.com/x448/float16 v0.8.4 16:54:13 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:54:13 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:54:13 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:54:13 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:54:13 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:54:13 go: finding gopkg.in/yaml.v2 v2.2.8 16:54:23 Removing intermediate container 1c164787d789 16:54:23 ---> eada34745839 16:54:23 Successfully built eada34745839 16:54:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:54:24 + docker inspect -f . ci-base-image-arm64 16:54:24 . [Pipeline] withDockerContainer 16:54:24 prd-ubuntu18.04-docker-arm64-4c-16g-1036 does not seem to be running inside a container 16:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:54:26 $ docker top 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:27 + go version 16:54:27 go version go1.13.13 linux/arm64 [Pipeline] sh 16:54:28 + make test 16:54:28 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:54:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:54:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:54:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.302s coverage: 50.3% of statements 16:54:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:55:02 gofmt -l . 16:55:02 [ "`gofmt -l .`" = "" ] 16:55:02 ./bin/test-attribution-txt.sh 16:55:03 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:55:04 Stashed 1 file(s) [Pipeline] } 16:55:04 $ docker stop --time=1 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a 16:55:06 $ docker rm -f 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:55:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:10 + ls -al . 16:55:10 total 140 16:55:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 16:55 . 16:55:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 16:53 .. 16:55:10 -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 16:53 .dockerignore 16:55:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 16:53 .git 16:55:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 .github 16:55:10 -rw-rw-r-- 1 jenkins jenkins 330 Sep 1 16:53 .gitignore 16:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 .semver 16:55:10 -rw-rw-r-- 1 jenkins jenkins 4564 Sep 1 16:53 Attribution.txt 16:55:10 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 1 16:53 Dockerfile 16:55:10 -rw-rw-r-- 1 jenkins jenkins 954 Sep 1 16:53 Dockerfile.build 16:55:10 -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 16:53 Jenkinsfile 16:55:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 16:53 LICENSE 16:55:10 -rw-rw-r-- 1 jenkins jenkins 880 Sep 1 16:53 Makefile 16:55:10 -rw-rw-r-- 1 jenkins jenkins 591 Sep 1 16:53 README.md 16:55:10 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 16:53 VERSION 16:55:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 bin 16:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 cmd 16:55:10 -rw-r--r-- 1 jenkins jenkins 22364 Sep 1 16:54 coverage.out 16:55:10 -rw-r--r-- 1 jenkins jenkins 559 Sep 1 16:55 go.mod 16:55:10 -rw-r--r-- 1 jenkins jenkins 13471 Sep 1 16:55 go.sum 16:55:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 internal 16:55:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 simulator 16:55:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 16:53 snap 16:55:10 -rw-rw-r-- 1 jenkins jenkins 229 Sep 1 16:53 version.go [Pipeline] isUnix [Pipeline] sh 16:55:10 + 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=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 --label arch=arm64 --label version=0.0.0 . 16:55:10 Sending build context to Docker daemon 705kB 16:55:11 Step 1/20 : ARG BASE=golang:1.13-alpine 16:55:11 Step 2/20 : FROM ${BASE} AS builder 16:55:11 ---> eada34745839 16:55:11 Step 3/20 : ARG MAKE='make build' 16:55:11 ---> Running in a75c8d42bbf1 16:55:11 Removing intermediate container a75c8d42bbf1 16:55:11 ---> cae39c8dfd62 16:55:11 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:11 ---> Running in f310a379f81c 16:55:14 Removing intermediate container f310a379f81c 16:55:14 ---> 59081ad7667d 16:55:14 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 16:55:14 ---> Running in ec7a0d810137 16:55:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:55:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:55:17 OK: 221 MiB in 53 packages 16:55:18 Removing intermediate container ec7a0d810137 16:55:18 ---> e109eccdf43d 16:55:18 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:55:18 ---> Running in 891200fbf546 16:55:18 Removing intermediate container 891200fbf546 16:55:18 ---> a5bd721b31ad 16:55:18 Step 7/20 : COPY . . 16:55:19 ---> 153681548d05 16:55:19 Step 8/20 : RUN ${MAKE} 16:55:19 ---> Running in 8d7d6bf3d72b 16:55:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:55:47 Running on prd-centos7-docker-4c-2g-1039 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 16:55:47 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:55:48 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:55:50 using credential edgex-jenkins-ssh 16:55:50 Cloning the remote Git repository 16:55:50 Cloning with configured refspecs honoured and without tags 16:55:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:55:51 Fetching without tags 16:55:50 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:55:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:50 > git --version # timeout=10 16:55:50 > git --version # 'git version 2.16.5' 16:55:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:50 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:51 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 16:55:51 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:55:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:55:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:51 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:55:51 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 16:55:51 Merge succeeded, producing d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 16:55:51 Checking out Revision d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 (PR-162) 16:55:52 Removing intermediate container 8d7d6bf3d72b 16:55:52 ---> 0aa835b78e48 16:55:52 Step 9/20 : FROM scratch 16:55:52 ---> 16:55:52 Step 10/20 : ENV APP_PORT=49991 16:55:52 ---> Running in 73a19eb22731 16:55:52 Removing intermediate container 73a19eb22731 16:55:52 ---> 289860800532 16:55:52 Step 11/20 : EXPOSE $APP_PORT 16:55:52 ---> Running in 5a7ae0080b37 16:55:51 > git config core.sparsecheckout # timeout=10 16:55:51 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 16:55:51 > git remote # timeout=10 16:55:51 > git config --get remote.origin.url # timeout=10 16:55:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:51 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 16:55:51 > git rev-parse HEAD^{commit} # timeout=10 16:55:51 > git config core.sparsecheckout # timeout=10 16:55:51 > git checkout -f d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 # timeout=10 16:55:52 Removing intermediate container 5a7ae0080b37 16:55:52 ---> b5dbae169c8f 16:55:52 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:55:54 ---> 29264c4bf4f5 16:55:54 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:55:54 ---> 9b85ecd6764a 16:55:54 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:55:55 Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" 16:55:55 First time build. Skipping changelog. 16:55:55 ---> c49499c00d92 16:55:55 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:55:55 ---> Running in 6e967236faa6 16:55:55 Removing intermediate container 6e967236faa6 16:55:55 ---> b90ffa9d7892 16:55:55 Step 16/20 : ENTRYPOINT ["/device-modbus"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 16:55:55 ---> Running in a3c98f092296 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:55:56 ========================================================= 16:55:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 16:55:56 ========================================================= 16:55:56 Removing intermediate container a3c98f092296 16:55:56 ---> 467abc7ea49a 16:55:56 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] isUnix [Pipeline] sh 16:55:56 ---> Running in f12ba71da92f 16:55:55 > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 16:55:56 Removing intermediate container f12ba71da92f 16:55:56 ---> 0ce7d64be743 16:55:56 Step 18/20 : LABEL arch=arm64 16:55:56 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . 16:55:57 ---> Running in d190208b0309 16:55:57 Sending build context to Docker daemon 673.8kB 16:55:57 Step 1/8 : ARG BASE=golang:1.13-alpine 16:55:57 Step 2/8 : FROM ${BASE} 16:55:57 Removing intermediate container d190208b0309 16:55:57 ---> f94b38196a78 16:55:57 Step 19/20 : LABEL git_sha=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 16:55:57 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 16:55:57 df20fa9351a1: Pulling fs layer 16:55:57 ed8968b2872e: Pulling fs layer 16:55:57 a92cc7c5fd73: Pulling fs layer 16:55:57 2dd03ba5bac4: Pulling fs layer 16:55:57 1e091d79d1de: Pulling fs layer 16:55:57 481702a1767f: Pulling fs layer 16:55:57 f64a6f60c768: Pulling fs layer 16:55:57 e78d2573fc39: Pulling fs layer 16:55:57 e876d2f968b6: Pulling fs layer 16:55:57 ce8a83651883: Pulling fs layer 16:55:57 07967f4d0e4b: Pulling fs layer 16:55:57 2dd03ba5bac4: Waiting 16:55:57 1e091d79d1de: Waiting 16:55:57 481702a1767f: Waiting 16:55:57 f64a6f60c768: Waiting 16:55:57 e78d2573fc39: Waiting 16:55:57 ce8a83651883: Waiting 16:55:57 07967f4d0e4b: Waiting 16:55:57 e876d2f968b6: Waiting 16:55:57 a92cc7c5fd73: Download complete 16:55:57 ed8968b2872e: Verifying Checksum 16:55:57 ed8968b2872e: Download complete 16:55:57 1e091d79d1de: Verifying Checksum 16:55:57 1e091d79d1de: Download complete 16:55:57 481702a1767f: Verifying Checksum 16:55:57 481702a1767f: Download complete 16:55:57 df20fa9351a1: Verifying Checksum 16:55:57 df20fa9351a1: Download complete 16:55:57 ---> Running in d2493d6ab875 16:55:57 df20fa9351a1: Pull complete 16:55:57 Removing intermediate container d2493d6ab875 16:55:57 ---> 8b5135fdabba 16:55:57 Step 20/20 : LABEL version=0.0.0 16:55:58 ---> Running in e76cae1498f7 16:55:58 f64a6f60c768: Verifying Checksum 16:55:58 f64a6f60c768: Download complete 16:55:58 e876d2f968b6: Verifying Checksum 16:55:58 e876d2f968b6: Download complete 16:55:58 Removing intermediate container e76cae1498f7 16:55:58 ---> d8f46757498e 16:55:58 [Warning] One or more build-args [ARCH] were not consumed 16:55:58 Successfully built d8f46757498e 16:55:58 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 16:55:58 2dd03ba5bac4: Verifying Checksum 16:55:58 2dd03ba5bac4: Download complete 16:55:58 ce8a83651883: Verifying Checksum 16:55:58 ce8a83651883: Download complete 16:55:58 07967f4d0e4b: Verifying Checksum 16:55:58 07967f4d0e4b: Download complete 16:55:58 e78d2573fc39: Verifying Checksum 16:55:58 e78d2573fc39: Download complete [Pipeline] node 16:55:59 ed8968b2872e: Pull complete 16:55:59 a92cc7c5fd73: Pull complete 16:56:05 2dd03ba5bac4: Pull complete 16:56:05 1e091d79d1de: Pull complete 16:56:05 481702a1767f: Pull complete 16:56:12 f64a6f60c768: Pull complete 16:56:13 Still waiting to schedule task 16:56:13 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 16:56:15 e78d2573fc39: Pull complete 16:56:15 e876d2f968b6: Pull complete 16:56:16 ce8a83651883: Pull complete 16:56:16 07967f4d0e4b: Pull complete 16:56:16 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 16:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 16:56:16 ---> 5d7c900382c6 16:56:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 16:56:17 ---> Running in 4343fe231201 16:56:17 Removing intermediate container 4343fe231201 16:56:17 ---> d3b62c16661a 16:56:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:17 ---> Running in cd238ea36bcc 16:56:18 Removing intermediate container cd238ea36bcc 16:56:18 ---> 099d7d8166a9 16:56:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 16:56:19 ---> Running in a7e8e184af36 16:56:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:56:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:56:20 (1/14) Installing libmagic (5.38-r0) 16:56:21 (2/14) Installing file (5.38-r0) 16:56:21 (3/14) Installing libc-dev (0.7.2-r3) 16:56:21 (4/14) Installing g++ (9.3.0-r2) 16:56:33 (5/14) Installing fortify-headers (1.1-r0) 16:56:33 (6/14) Installing patch (2.7.6-r6) 16:56:33 (7/14) Installing build-base (0.5-r2) 16:56:33 (8/14) Installing openssh-keygen (8.3_p1-r0) 16:56:33 (9/14) Installing libedit (20191231.3.1-r0) 16:56:33 (10/14) Installing openssh-client (8.3_p1-r0) 16:56:33 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 16:56:33 (12/14) Installing openssh-server-common (8.3_p1-r0) 16:56:33 (13/14) Installing openssh-server (8.3_p1-r0) 16:56:33 (14/14) Installing openssh (8.3_p1-r0) 16:56:34 Executing busybox-1.31.1-r16.trigger 16:56:34 OK: 237 MiB in 53 packages 16:56:37 Removing intermediate container a7e8e184af36 16:56:37 ---> 72392ecfa2c2 16:56:37 Step 6/8 : WORKDIR /device-modbus-go 16:56:37 ---> Running in c08d41c502d1 16:56:37 Removing intermediate container c08d41c502d1 16:56:37 ---> 5b42e7eb8278 16:56:37 Step 7/8 : COPY . . 16:56:38 ---> 242cc8dbc7c4 16:56:38 Step 8/8 : RUN go mod download 16:56:38 ---> Running in abf0c68bb242 16:56:40 go: finding github.com/BurntSushi/toml v0.3.1 16:56:40 go: finding github.com/OneOfOne/xxhash v1.2.6 16:56:40 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 16:56:40 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:56:40 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 16:56:40 go: finding github.com/bgentry/speakeasy v0.1.0 16:56:40 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:56:40 go: finding github.com/davecgh/go-spew v1.1.1 16:56:40 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:56:40 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:56:40 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:56:40 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:56:40 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:56:40 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:56:40 go: finding github.com/fatih/color v1.7.0 16:56:40 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:56:40 go: finding github.com/go-kit/kit v0.8.0 16:56:41 go: finding github.com/go-logfmt/logfmt v0.4.0 16:56:41 go: finding github.com/go-stack/stack v1.8.0 16:56:41 go: finding github.com/goburrow/modbus v0.1.0 16:56:41 go: finding github.com/goburrow/serial v0.1.0 16:56:41 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:56:41 go: finding github.com/google/uuid v1.1.1 16:56:41 go: finding github.com/gorilla/mux v1.7.1 16:56:41 go: finding github.com/hashicorp/consul/api v1.1.0 16:56:41 go: finding github.com/hashicorp/consul/sdk v0.1.1 16:56:41 go: finding github.com/hashicorp/errwrap v1.0.0 16:56:41 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:56:41 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:56:41 go: finding github.com/hashicorp/go-msgpack v0.5.3 16:56:41 go: finding github.com/hashicorp/go-multierror v1.0.0 16:56:41 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:56:41 go: finding github.com/hashicorp/go-sockaddr v1.0.1 16:56:41 go: finding github.com/hashicorp/go-syslog v1.0.0 16:56:42 go: finding github.com/hashicorp/go-uuid v1.0.1 16:56:42 go: finding github.com/hashicorp/go.net v0.0.1 16:56:42 go: finding github.com/hashicorp/golang-lru v0.5.1 16:56:42 go: finding github.com/hashicorp/logutils v1.0.0 16:56:42 go: finding github.com/hashicorp/mdns v1.0.0 16:56:42 go: finding github.com/hashicorp/memberlist v0.1.3 16:56:42 go: finding github.com/hashicorp/serf v0.8.2 16:56:42 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 16:56:42 go: finding github.com/mattn/go-colorable v0.0.9 16:56:42 go: finding github.com/mattn/go-isatty v0.0.3 16:56:42 go: finding github.com/miekg/dns v1.1.4 16:56:42 go: finding github.com/mitchellh/cli v1.0.0 16:56:42 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:56:42 go: finding github.com/mitchellh/copystructure v1.0.0 16:56:42 go: finding github.com/mitchellh/go-homedir v1.1.0 16:56:42 go: finding github.com/mitchellh/go-testing-interface v1.0.0 16:56:42 go: finding github.com/mitchellh/go-wordwrap v1.0.0 16:56:42 go: finding github.com/mitchellh/gox v0.4.0 16:56:42 go: finding github.com/mitchellh/iochan v1.0.0 16:56:43 go: finding github.com/mitchellh/mapstructure v1.1.2 16:56:43 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:56:43 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:56:43 go: finding github.com/pelletier/go-toml v1.2.0 16:56:43 go: finding github.com/pkg/errors v0.8.1 16:56:43 go: finding github.com/pmezard/go-difflib v1.0.0 16:56:43 go: finding github.com/posener/complete v1.1.1 16:56:43 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 16:56:43 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:56:43 go: finding github.com/stretchr/objx v0.1.0 16:56:43 go: finding github.com/stretchr/testify v1.5.1 16:56:43 go: finding github.com/ugorji/go v1.1.4 16:56:43 go: finding github.com/x448/float16 v0.8.4 16:56:43 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 16:56:43 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 16:56:43 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 16:56:43 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 16:56:43 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 16:56:43 go: finding gopkg.in/yaml.v2 v2.2.8 16:56:51 Removing intermediate container abf0c68bb242 16:56:51 ---> f1c675a3aa11 16:56:51 Successfully built f1c675a3aa11 16:56:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:56:52 + docker inspect -f . ci-base-image-x86_64 16:56:52 . [Pipeline] withDockerContainer 16:56:52 prd-centos7-docker-4c-2g-1039 does not seem to be running inside a container 16:56:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:56:53 $ docker top a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:54 + go version 16:56:54 go version go1.13.13 linux/amd64 [Pipeline] sh 16:56:54 + make test 16:56:54 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:56:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:57:03 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:57:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.241s coverage: 50.3% of statements 16:57:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:57:06 gofmt -l . 16:57:06 [ "`gofmt -l .`" = "" ] 16:57:06 ./bin/test-attribution-txt.sh 16:57:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 16:57:06 Warning: overwriting stash ‘coverage-report’ 16:57:07 Stashed 1 file(s) [Pipeline] } 16:57:07 $ docker stop --time=1 a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 16:57:09 $ docker rm -f a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:10 + ls -al . 16:57:10 total 104 16:57:10 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 1 16:57 . 16:57:10 drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 16:55 .. 16:57:10 -rw-rw-r--. 1 jenkins jenkins 4564 Sep 1 16:55 Attribution.txt 16:57:10 drwxrwxr-x. 2 jenkins jenkins 87 Sep 1 16:55 bin 16:57:10 drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 16:55 cmd 16:57:10 -rw-r--r--. 1 jenkins jenkins 22364 Sep 1 16:57 coverage.out 16:57:10 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 1 16:55 Dockerfile 16:57:10 -rw-rw-r--. 1 jenkins jenkins 954 Sep 1 16:55 Dockerfile.build 16:57:10 -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 16:55 .dockerignore 16:57:10 drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 16:55 .git 16:57:10 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 16:55 .github 16:57:10 -rw-rw-r--. 1 jenkins jenkins 330 Sep 1 16:55 .gitignore 16:57:10 -rw-r--r--. 1 jenkins jenkins 559 Sep 1 16:57 go.mod 16:57:10 -rw-r--r--. 1 jenkins jenkins 13471 Sep 1 16:57 go.sum 16:57:10 drwxrwxr-x. 3 jenkins jenkins 20 Sep 1 16:55 internal 16:57:10 -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 16:55 Jenkinsfile 16:57:10 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 16:55 LICENSE 16:57:10 -rw-rw-r--. 1 jenkins jenkins 880 Sep 1 16:55 Makefile 16:57:10 -rw-rw-r--. 1 jenkins jenkins 591 Sep 1 16:55 README.md 16:57:10 drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 16:55 .semver 16:57:10 drwxrwxr-x. 2 jenkins jenkins 52 Sep 1 16:55 simulator 16:57:10 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 16:55 snap 16:57:10 -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 16:53 VERSION 16:57:10 -rw-rw-r--. 1 jenkins jenkins 229 Sep 1 16:55 version.go [Pipeline] isUnix [Pipeline] sh 16:57:11 + 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=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 --label arch=amd64 --label version=0.0.0 . 16:57:11 Sending build context to Docker daemon 705kB 16:57:11 Step 1/20 : ARG BASE=golang:1.13-alpine 16:57:11 Step 2/20 : FROM ${BASE} AS builder 16:57:11 ---> f1c675a3aa11 16:57:11 Step 3/20 : ARG MAKE='make build' 16:57:11 ---> Running in 62b2051e4f6f 16:57:11 Removing intermediate container 62b2051e4f6f 16:57:11 ---> 10f7bccbc60d 16:57:11 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:11 ---> Running in b7eb578fba12 16:57:12 Removing intermediate container b7eb578fba12 16:57:12 ---> f6d9ff5d555e 16:57:12 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 16:57:12 ---> Running in a99611b942c7 16:57:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:57:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:57:14 OK: 237 MiB in 53 packages 16:57:15 Removing intermediate container a99611b942c7 16:57:15 ---> 7ac5f738a373 16:57:15 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 16:57:15 ---> Running in 036aae1b5aae 16:57:15 Removing intermediate container 036aae1b5aae 16:57:15 ---> 0fbe1ed6a9e6 16:57:15 Step 7/20 : COPY . . 16:57:16 ---> fe761ed2d4f3 16:57:16 Step 8/20 : RUN ${MAKE} 16:57:16 ---> Running in 6487ba864d7d 16:57:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 16:57:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:57:27 Removing intermediate container 6487ba864d7d 16:57:27 ---> a26f6e99e950 16:57:27 Step 9/20 : FROM scratch 16:57:27 ---> 16:57:27 Step 10/20 : ENV APP_PORT=49991 16:57:27 ---> Running in 2b9d315ce82c 16:57:27 Removing intermediate container 2b9d315ce82c 16:57:27 ---> 0dce4cd76bd3 16:57:27 Step 11/20 : EXPOSE $APP_PORT 16:57:27 ---> Running in 16be670c7690 16:57:27 Removing intermediate container 16be670c7690 16:57:27 ---> 82e8809d4a87 16:57:27 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 16:57:27 ---> a1dfce679a49 16:57:27 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 16:57:28 ---> 9d628505d797 16:57:28 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 16:57:28 ---> e4f8cdfd7b33 16:57:28 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 16:57:28 ---> Running in 4ccf27f015b2 16:57:28 Removing intermediate container 4ccf27f015b2 16:57:28 ---> fa8c5e2eeafa 16:57:28 Step 16/20 : ENTRYPOINT ["/device-modbus"] 16:57:28 ---> Running in 214f3d3d82f1 16:57:29 Removing intermediate container 214f3d3d82f1 16:57:29 ---> eace5e9b3688 16:57:29 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:57:29 ---> Running in 83c9ddae7ac0 16:57:29 Removing intermediate container 83c9ddae7ac0 16:57:29 ---> 8f0a8619dec5 16:57:29 Step 18/20 : LABEL arch=amd64 16:57:29 ---> Running in d985233f31fc 16:57:29 Removing intermediate container d985233f31fc 16:57:29 ---> 55f2cb09f645 16:57:29 Step 19/20 : LABEL git_sha=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 16:57:29 ---> Running in c82cd4e058c5 16:57:29 Removing intermediate container c82cd4e058c5 16:57:29 ---> d64d8c2b40c7 16:57:29 Step 20/20 : LABEL version=0.0.0 16:57:29 ---> Running in e867d58aaef7 16:57:29 Removing intermediate container e867d58aaef7 16:57:29 ---> 861992370db8 16:57:29 [Warning] One or more build-args [ARCH] were not consumed 16:57:29 Successfully built 861992370db8 16:57:29 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 16:57:45 Still waiting to schedule task 16:57:45 All nodes of label ‘centos7-docker-8c-8g’ are offline 16:57:57 Running on prd-ubuntu18.04-docker-arm64-16c-16g-1040 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 16:57:57 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:58:01 using credential edgex-jenkins-ssh 16:58:01 Cloning the remote Git repository 16:58:01 Cloning with configured refspecs honoured and without tags 16:58:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:58:02 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:58:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:58:02 > git --version # timeout=10 16:58:02 > git --version # 'git version 2.17.1' 16:58:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:02 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:03 Fetching without tags 16:58:03 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 16:58:03 Merge succeeded, producing 5587417a9e8fb19766b19fe239a35ad1b3afff8f 16:58:03 Checking out Revision 5587417a9e8fb19766b19fe239a35ad1b3afff8f (PR-162) 16:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:58:03 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 16:58:03 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:58:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:58:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:03 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:03 > git config core.sparsecheckout # timeout=10 16:58:03 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 16:58:03 > git remote # timeout=10 16:58:03 > git config --get remote.origin.url # timeout=10 16:58:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:03 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 16:58:03 > git rev-parse HEAD^{commit} # timeout=10 16:58:03 > git config core.sparsecheckout # timeout=10 16:58:03 > git checkout -f 5587417a9e8fb19766b19fe239a35ad1b3afff8f # timeout=10 16:58:07 Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" 16:58:08 First time build. Skipping changelog. 16:58:07 > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:09 + find /w/workspace/device-modbus-go/5 16:58:09 + grep snapcraft.yaml 16:58:09 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:09 provisioning config files... 16:58:09 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config4984219210629048471tmp [Pipeline] { [Pipeline] sh 16:58:10 + cp /w/workspace/device-modbus-go/5@tmp/config4984219210629048471tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh 16:58:10 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/5:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:58:11 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 16:58:11 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 16:58:11 237528ba509b: Pulling fs layer 16:58:11 393b96f31d8b: Pulling fs layer 16:58:11 4d82b0e39008: Pulling fs layer 16:58:11 e7ca375b8d34: Pulling fs layer 16:58:11 418f656485bb: Pulling fs layer 16:58:11 aebe8db9254c: Pulling fs layer 16:58:11 4f5f7b207d3f: Pulling fs layer 16:58:11 d19ca6af091a: Pulling fs layer 16:58:11 16b5a0711add: Pulling fs layer 16:58:11 e7ca375b8d34: Waiting 16:58:11 d19ca6af091a: Waiting 16:58:11 aebe8db9254c: Waiting 16:58:11 418f656485bb: Waiting 16:58:11 16b5a0711add: Waiting 16:58:11 4d82b0e39008: Verifying Checksum 16:58:11 4d82b0e39008: Download complete 16:58:11 393b96f31d8b: Verifying Checksum 16:58:11 393b96f31d8b: Download complete 16:58:11 e7ca375b8d34: Verifying Checksum 16:58:11 e7ca375b8d34: Download complete 16:58:11 aebe8db9254c: Download complete 16:58:11 4f5f7b207d3f: Download complete 16:58:11 d19ca6af091a: Verifying Checksum 16:58:11 d19ca6af091a: Download complete 16:58:11 16b5a0711add: Download complete 16:58:12 237528ba509b: Download complete 16:58:15 237528ba509b: Pull complete 16:58:15 393b96f31d8b: Pull complete 16:58:15 4d82b0e39008: Pull complete 16:58:16 e7ca375b8d34: Pull complete 16:58:21 418f656485bb: Verifying Checksum 16:58:21 418f656485bb: Download complete 16:58:47 Running on prd-centos7-docker-8c-8g-1041 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws 16:58:47 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 16:58:48 using credential edgex-jenkins-ssh 16:58:48 Cloning the remote Git repository 16:58:48 Cloning with configured refspecs honoured and without tags 16:58:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:58:48 > git init /w/workspace/device-modbus-go/5 # timeout=10 16:58:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:58:48 > git --version # timeout=10 16:58:48 > git --version # 'git version 2.16.5' 16:58:48 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:58:49 Fetching without tags 16:58:49 Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 16:58:49 Merge succeeded, producing f785bcbf1b5fc45ea29b0e1748466a56beba3968 16:58:49 Checking out Revision f785bcbf1b5fc45ea29b0e1748466a56beba3968 (PR-162) 16:58:49 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 16:58:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:58:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:58:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:58:49 > git config core.sparsecheckout # timeout=10 16:58:49 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 16:58:49 > git remote # timeout=10 16:58:49 > git config --get remote.origin.url # timeout=10 16:58:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:49 > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 16:58:49 > git rev-parse HEAD^{commit} # timeout=10 16:58:49 > git config core.sparsecheckout # timeout=10 16:58:49 > git checkout -f f785bcbf1b5fc45ea29b0e1748466a56beba3968 # timeout=10 16:58:53 Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" 16:58:53 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:53 > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 16:58:54 ++ find /w/workspace/device-modbus-go/5 16:58:54 ++ grep snapcraft.yaml 16:58:54 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:54 provisioning config files... 16:58:54 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config3762224889872052929tmp [Pipeline] { [Pipeline] sh 16:58:54 + cp /w/workspace/device-modbus-go/5@tmp/config3762224889872052929tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh 16:58:55 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/5:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:58:55 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 16:58:55 latest: Pulling from edgex-devops/edgex-snap-builder 16:58:55 f08d8e2a3ba1: Pulling fs layer 16:58:55 3baa9cb2483b: Pulling fs layer 16:58:55 94e5ff4c0b15: Pulling fs layer 16:58:55 1860925334f9: Pulling fs layer 16:58:55 2daf38717194: Pulling fs layer 16:58:55 309017e8d7a4: Pulling fs layer 16:58:55 f7790dc9fd0f: Pulling fs layer 16:58:55 cac0ae9282c2: Pulling fs layer 16:58:55 1f4cadf9a1ed: Pulling fs layer 16:58:55 1f4cadf9a1ed: Waiting 16:58:55 f7790dc9fd0f: Waiting 16:58:55 2daf38717194: Waiting 16:58:55 309017e8d7a4: Waiting 16:58:55 1860925334f9: Waiting 16:58:55 cac0ae9282c2: Waiting 16:58:55 94e5ff4c0b15: Verifying Checksum 16:58:55 94e5ff4c0b15: Download complete 16:58:55 3baa9cb2483b: Download complete 16:58:55 1860925334f9: Verifying Checksum 16:58:55 1860925334f9: Download complete 16:58:55 309017e8d7a4: Verifying Checksum 16:58:55 309017e8d7a4: Download complete 16:58:55 f7790dc9fd0f: Verifying Checksum 16:58:55 f7790dc9fd0f: Download complete 16:58:55 cac0ae9282c2: Verifying Checksum 16:58:55 cac0ae9282c2: Download complete 16:58:55 1f4cadf9a1ed: Verifying Checksum 16:58:55 1f4cadf9a1ed: Download complete 16:58:55 f08d8e2a3ba1: Verifying Checksum 16:58:55 f08d8e2a3ba1: Download complete 16:58:56 f08d8e2a3ba1: Pull complete 16:58:56 3baa9cb2483b: Pull complete 16:58:56 94e5ff4c0b15: Pull complete 16:58:56 1860925334f9: Pull complete 16:58:59 2daf38717194: Verifying Checksum 16:58:59 2daf38717194: Download complete 16:59:08 418f656485bb: Pull complete 16:59:08 aebe8db9254c: Pull complete 16:59:08 4f5f7b207d3f: Pull complete 16:59:08 d19ca6af091a: Pull complete 16:59:08 16b5a0711add: Pull complete 16:59:08 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 16:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 16:59:08 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:59:08 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 16:59:08 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 16:59:08 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 16:59:09 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [930 kB] 16:59:09 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1257 kB] 16:59:09 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [651 kB] 16:59:09 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [779 kB] 16:59:10 Fetched 3869 kB in 2s (1766 kB/s) 16:59:14 2daf38717194: Pull complete 16:59:14 309017e8d7a4: Pull complete 16:59:14 f7790dc9fd0f: Pull complete 16:59:14 cac0ae9282c2: Pull complete 16:59:14 1f4cadf9a1ed: Pull complete 16:59:14 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 16:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 16:59:14 Reading package lists... 16:59:17 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 16:59:17 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 16:59:17 Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1050 kB] 16:59:17 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 16:59:17 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [891 kB] 16:59:17 Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [102 kB] 16:59:17 Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 16:59:18 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1421 kB] 16:59:18 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1359 kB] 16:59:18 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [123 kB] 16:59:18 Fetched 5199 kB in 1s (4011 kB/s) 16:59:20 Reading package lists... 16:59:23 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 16:59:23 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 16:59:23 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 16:59:23 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 16:59:24 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 74% Reading package lists... 74% 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... 85% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:26 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 16:59:27 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... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 74% Reading package lists... 74% 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... 85% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:27 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 16:59:27 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 16:59:27 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 16:59:27 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 16:59:27 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 16:59:27 Reading state information... 0% Reading state information... 0% Reading state information... Done 16:59:27 The following packages were automatically installed and are no longer required: 16:59:27 libjq1 libonig4 16:59:27 Use 'sudo apt autoremove' to remove them. 16:59:27 Suggested packages: 16:59:27 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:59:27 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 16:59:27 diffutils-doc perl-doc libterm-readline-gnu-perl 16:59:27 | libterm-readline-perl-perl 16:59:27 The following NEW packages will be installed: 16:59:27 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 16:59:27 libperl5.26 make netbase patch perl perl-modules-5.26 16:59:27 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 16:59:27 Need to get 12.0 MB of archives. 16:59:27 After this operation, 77.5 MB of additional disk space will be used. 16:59:27 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:59:28 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 631 kB/2763 kB 23%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 16:59:28 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 16:59:28 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 16:59:28 24% [4 libperl5.26 131 kB/3527 kB 4%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 16:59:28 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] 16:59:28 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 16:59:28 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 16:59:28 54% [8 curl 16.4 kB/159 kB 10%] 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] 16:59:28 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 16:59:28 60% [10 liberror-perl 11.8 kB/22.8 kB 52%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:59:28 61% [11 git-man 30.1 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 16:59:28 68% [12 git 0 B/3915 kB 0%] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 16:59:28 96% [13 make 140 kB/154 kB 91%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 16:59:28 98% [14 patch 8565 B/102 kB 8%] 100% [Working] Fetched 12.0 MB in 1s (9151 kB/s) 16:59:28 debconf: delaying package configuration, since apt-utils is not installed 16:59:28 Selecting previously unselected package perl-modules-5.26. 16:59:28 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 16:59:28 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:59:28 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:29 Selecting previously unselected package libgdbm5:amd64. 16:59:29 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 16:59:29 Unpacking libgdbm5:amd64 (1.14.1-6) ... 16:59:30 Selecting previously unselected package libgdbm-compat4:amd64. 16:59:30 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 16:59:30 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 16:59:30 Selecting previously unselected package libperl5.26:amd64. 16:59:30 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 16:59:30 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:59:30 Selecting previously unselected package perl. 16:59:30 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 16:59:30 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:59:30 Selecting previously unselected package less. 16:59:30 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 16:59:30 Unpacking less (487-0.1) ... 16:59:31 Selecting previously unselected package netbase. 16:59:31 Preparing to unpack .../06-netbase_5.4_all.deb ... 16:59:31 Unpacking netbase (5.4) ... 16:59:31 Selecting previously unselected package curl. 16:59:31 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 16:59:31 Unpacking curl (7.58.0-2ubuntu3.10) ... 16:59:31 Selecting previously unselected package libcurl3-gnutls:amd64. 16:59:31 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 16:59:31 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 16:59:31 Selecting previously unselected package liberror-perl. 16:59:31 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 16:59:31 Unpacking liberror-perl (0.17025-1) ... 16:59:31 Selecting previously unselected package git-man. 16:59:31 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:59:31 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:59:31 Selecting previously unselected package git. 16:59:31 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 16:59:31 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:59:32 Selecting previously unselected package make. 16:59:32 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 16:59:32 Unpacking make (4.1-9.1ubuntu1) ... 16:59:32 Selecting previously unselected package patch. 16:59:32 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 16:59:32 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:59:32 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:59:32 Setting up less (487-0.1) ... 16:59:32 Setting up make (4.1-9.1ubuntu1) ... 16:59:32 Setting up curl (7.58.0-2ubuntu3.10) ... 16:59:32 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 16:59:32 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:32 Setting up libgdbm5:amd64 (1.14.1-6) ... 16:59:32 Setting up patch (2.7.6-2ubuntu1.1) ... 16:59:32 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 16:59:32 Setting up netbase (5.4) ... 16:59:32 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 16:59:32 Setting up perl (5.26.1-6ubuntu0.3) ... 16:59:32 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... 31% Reading package lists... 53% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% 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... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:32 Setting up liberror-perl (0.17025-1) ... 16:59:32 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:59:32 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 16:59:32 Processing triggers for mime-support (3.60ubuntu1) ... 16:59:33 curl set to automatically installed. 16:59:33 git set to automatically installed. 16:59:33 git-man set to automatically installed. 16:59:33 less set to automatically installed. 16:59:33 libcurl3-gnutls set to automatically installed. 16:59:33 liberror-perl set to automatically installed. 16:59:33 libgdbm-compat4 set to automatically installed. 16:59:33 libgdbm5 set to automatically installed. 16:59:33 libperl5.26 set to automatically installed. 16:59:33 make set to automatically installed. 16:59:33 netbase set to automatically installed. 16:59:33 patch set to automatically installed. 16:59:33 perl set to automatically installed. 16:59:33 perl-modules-5.26 set to automatically installed. 16:59:33 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:59:33 Please ensure the environment is properly setup before continuing. 16:59:33 Ignore this message if the appropriate measures have already been taken 16:59:34 Pulling go  16:59:35 'device-modbus' has dependencies that need to be staged: go 16:59:35 Skipping pull go (already ran) 16:59:35 Building go  16:59:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:59:35 Dload Upload Total Spent Left Speed 16:59:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 8 114M 8 9839k 0 0 16.0M 0 0:00:07 --:--:-- 0:00:07 16.0M 55 114M 55 63.1M 0 0 40.0M 0 0:00:02 0:00:01 0:00:01 40.0M 100 114M 100 114M 0 0 46.0M 0 0:00:02 0:00:02 --:--:-- 46.0M 16:59:38 go1.13.5.linux-amd64.tar.gz: OK 16:59:39 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 16:59: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... 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... 87% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 16:59:43 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 65% Building dependency tree 16:59:43 Reading state information... 0% Reading state information... 0% Reading state information... Done 16:59:44 Staging go  16:59:44 The following packages were automatically installed and are no longer required: 16:59:44 libjq1 libonig4 16:59:44 Use 'sudo apt autoremove' to remove them. 16:59:44 Suggested packages: 16:59:44 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 16:59:44 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 16:59:44 diffutils-doc perl-doc libterm-readline-gnu-perl 16:59:44 | libterm-readline-perl-perl 16:59:45 The following NEW packages will be installed: 16:59:45 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 16:59:45 libperl5.26 make netbase patch perl perl-modules-5.26 16:59:45 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 16:59:45 Need to get 10.8 MB of archives. 16:59:45 After this operation, 73.6 MB of additional disk space will be used. 16:59:45 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 16:59:45 Pulling device-modbus  16:59:45 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 7% [1 perl-modules-5.26 886 kB/2763 kB 32%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 16:59:45 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 16:59:45 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 16:59:46 Skipping build go (already ran) 16:59:46 Building device-modbus  16:59:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 16:59:46 25% [4 libperl5.26 4096 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] 16:59:46 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 16:59:46 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 16:59:46 56% [7 netbase 2793 B/12.7 kB 22%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 16:59:46 58% [8 curl 49.2 kB/152 kB 32%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 16:59:46 60% [9 libcurl3-gnutls 0 B/179 kB 0%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 16:59:46 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 16:59:46 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] 16:59:46 72% [12 git 24.6 kB/2952 kB 1%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 16:59:46 95% [13 make 0 B/139 kB 0%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 16:59:46 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (8113 kB/s) 16:59:46 debconf: delaying package configuration, since apt-utils is not installed 16:59:47 Selecting previously unselected package perl-modules-5.26. 16:59:47 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) 16:59:47 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 16:59:47 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:47 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 16:59:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:59:47 go: downloading github.com/goburrow/modbus v0.1.0 16:59:47 go: extracting github.com/goburrow/modbus v0.1.0 16:59:47 go: downloading github.com/goburrow/serial v0.1.0 16:59:47 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:59:47 go: downloading github.com/go-kit/kit v0.8.0 16:59:47 go: downloading github.com/google/uuid v1.1.1 16:59:47 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 16:59:47 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 16:59:47 go: downloading github.com/gorilla/mux v1.7.1 16:59:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:59:47 go: extracting github.com/goburrow/serial v0.1.0 16:59:47 go: downloading gopkg.in/yaml.v2 v2.2.8 16:59:47 go: extracting github.com/google/uuid v1.1.1 16:59:47 go: extracting github.com/gorilla/mux v1.7.1 16:59:47 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 16:59:47 go: downloading github.com/pkg/errors v0.8.1 16:59:47 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:59:47 go: extracting gopkg.in/yaml.v2 v2.2.8 16:59:47 go: extracting github.com/go-kit/kit v0.8.0 16:59:47 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 16:59:47 go: downloading github.com/x448/float16 v0.8.4 16:59:47 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 16:59:47 go: downloading github.com/OneOfOne/xxhash v1.2.6 16:59:47 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 16:59:47 go: downloading github.com/BurntSushi/toml v0.3.1 16:59:47 go: extracting github.com/pkg/errors v0.8.1 16:59:47 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 16:59:47 go: extracting github.com/x448/float16 v0.8.4 16:59:47 go: downloading github.com/pelletier/go-toml v1.2.0 16:59:47 go: downloading github.com/go-logfmt/logfmt v0.4.0 16:59:47 go: extracting github.com/OneOfOne/xxhash v1.2.6 16:59:47 go: extracting github.com/BurntSushi/toml v0.3.1 16:59:47 go: downloading github.com/hashicorp/consul/api v1.1.0 16:59:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:59:47 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 16:59:47 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 16:59:47 go: extracting github.com/pelletier/go-toml v1.2.0 16:59:47 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:59:47 go: extracting github.com/go-logfmt/logfmt v0.4.0 16:59:47 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:59:47 go: downloading github.com/mitchellh/copystructure v1.0.0 16:59:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:59:47 go: extracting github.com/hashicorp/consul/api v1.1.0 16:59:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:59:47 go: downloading github.com/hashicorp/serf v0.8.2 16:59:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 16:59:47 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 16:59:47 go: extracting github.com/mitchellh/copystructure v1.0.0 16:59:47 go: extracting github.com/mitchellh/mapstructure v1.1.2 16:59:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:59:47 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 16:59:47 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 16:59:47 go: extracting github.com/mitchellh/reflectwalk v1.0.0 16:59:47 go: extracting github.com/hashicorp/serf v0.8.2 16:59:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:59:47 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:59:47 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:59:47 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 16:59:47 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:59:47 go: extracting github.com/hashicorp/golang-lru v0.5.1 16:59:47 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 16:59:47 go: finding github.com/gorilla/mux v1.7.1 16:59:47 go: finding github.com/OneOfOne/xxhash v1.2.6 16:59:47 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 16:59:47 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 16:59:48 go: finding github.com/google/uuid v1.1.1 16:59:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 16:59:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 16:59:48 go: finding gopkg.in/yaml.v2 v2.2.8 16:59:48 go: finding github.com/pkg/errors v0.8.1 16:59:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 16:59:48 go: finding github.com/BurntSushi/toml v0.3.1 16:59:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 16:59:48 go: finding github.com/pelletier/go-toml v1.2.0 16:59:48 go: finding github.com/hashicorp/consul/api v1.1.0 16:59:48 go: finding github.com/x448/float16 v0.8.4 16:59:48 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:59:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 16:59:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 16:59:48 go: finding github.com/hashicorp/serf v0.8.2 16:59:48 go: finding github.com/mitchellh/mapstructure v1.1.2 16:59:48 go: finding github.com/go-kit/kit v0.8.0 16:59:48 go: finding github.com/mitchellh/copystructure v1.0.0 16:59:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 16:59:48 go: finding github.com/go-logfmt/logfmt v0.4.0 16:59:48 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:59:48 go: finding github.com/mitchellh/reflectwalk v1.0.0 16:59:48 go: finding github.com/goburrow/modbus v0.1.0 16:59:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 16:59:48 go: finding github.com/hashicorp/golang-lru v0.5.1 16:59:48 go: finding github.com/goburrow/serial v0.1.0 16:59:48 Selecting previously unselected package libgdbm5:arm64. 16:59:48 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 16:59:48 Unpacking libgdbm5:arm64 (1.14.1-6) ... 16:59:48 Selecting previously unselected package libgdbm-compat4:arm64. 16:59:48 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 16:59:48 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 16:59:48 Selecting previously unselected package libperl5.26:arm64. 16:59:48 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 16:59:48 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:59:50 Selecting previously unselected package perl. 16:59:50 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 16:59:50 Unpacking perl (5.26.1-6ubuntu0.3) ... 16:59:50 Selecting previously unselected package less. 16:59:50 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 16:59:50 Unpacking less (487-0.1) ... 16:59:50 Selecting previously unselected package netbase. 16:59:50 Preparing to unpack .../06-netbase_5.4_all.deb ... 16:59:50 Unpacking netbase (5.4) ... 16:59:50 Selecting previously unselected package curl. 16:59:50 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 16:59:50 Unpacking curl (7.58.0-2ubuntu3.10) ... 16:59:50 Selecting previously unselected package libcurl3-gnutls:arm64. 16:59:50 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 16:59:50 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 16:59:50 Selecting previously unselected package liberror-perl. 16:59:50 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 16:59:50 Unpacking liberror-perl (0.17025-1) ... 16:59:51 Selecting previously unselected package git-man. 16:59:51 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 16:59:51 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 16:59:51 Selecting previously unselected package git. 16:59:51 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 16:59:51 Unpacking git (1:2.17.1-1ubuntu0.7) ... 16:59:52 Selecting previously unselected package make. 16:59:52 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 16:59:52 Unpacking make (4.1-9.1ubuntu1) ... 16:59:52 Selecting previously unselected package patch. 16:59:52 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 16:59:52 Unpacking patch (2.7.6-2ubuntu1.1) ... 16:59:52 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 16:59:52 Setting up less (487-0.1) ... 16:59:52 Setting up make (4.1-9.1ubuntu1) ... 16:59:53 Setting up curl (7.58.0-2ubuntu3.10) ... 16:59:53 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 16:59:53 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 16:59:53 Setting up libgdbm5:arm64 (1.14.1-6) ... 16:59:53 Setting up patch (2.7.6-2ubuntu1.1) ... 16:59:53 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 16:59:53 Setting up netbase (5.4) ... 16:59:53 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 16:59:53 Setting up perl (5.26.1-6ubuntu0.3) ... 16:59:53 Setting up liberror-perl (0.17025-1) ... 16:59:53 Setting up git (1:2.17.1-1ubuntu0.7) ... 16:59:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 16:59:53 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 16:59:53 Processing triggers for mime-support (3.60ubuntu1) ... 16:59:57 Skipping stage go (already ran) 16:59:57 Staging device-modbus  16:59:57 Priming go  16:59:58 Priming device-modbus  16:59:59 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 16:59:59 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 16:59:59 Determining the version from the project repo (version-script). 16:59:59 The version has been set to '1.2.1-20200901+f785bcb' 16:59:59 curl set to automatically installed. 16:59:59 git set to automatically installed. 16:59:59 git-man set to automatically installed. 16:59:59 less set to automatically installed. 16:59:59 libcurl3-gnutls set to automatically installed. 16:59:59 liberror-perl set to automatically installed. 16:59:59 libgdbm-compat4 set to automatically installed. 16:59:59 libgdbm5 set to automatically installed. 16:59:59 libperl5.26 set to automatically installed. 16:59:59 make set to automatically installed. 16:59:59 netbase set to automatically installed. 16:59:59 patch set to automatically installed. 16:59:59 perl set to automatically installed. 16:59:59 perl-modules-5.26 set to automatically installed. 16:59:59 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 16:59:59 Please ensure the environment is properly setup before continuing. 16:59:59 Ignore this message if the appropriate measures have already been taken 16:59:59 Snapping | Snapping / Snapping - Snapping | 16:59:59 Snapped edgex-device-modbus_1.2.1-20200901+f785bcb_amd64.snap 17:00:00 Pulling go  [Pipeline] } 17:00:01 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] } 17:00:03 'device-modbus' has dependencies that need to be staged: go 17:00:03 Skipping pull go (already ran) 17:00:03 Building go  17:00:03 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:03 Dload Upload Total Spent Left Speed 17:00:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 17 93.0M 17 16.2M 0 0 19.9M 0 0:00:04 --:--:-- 0:00:04 19.9M 65 93.0M 65 61.4M 0 0 33.8M 0 0:00:02 0:00:01 0:00:01 33.8M 100 93.0M 100 93.0M 0 0 35.3M 0 0:00:02 0:00:02 --:--:-- 35.3M 17:00:07 go1.13.5.linux-arm64.tar.gz: OK 17:00:25 Staging go  17:00:27 Pulling device-modbus  17:00:31 Skipping build go (already ran) 17:00:31 Building device-modbus  17:00:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 17:00:32 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:33 go: downloading github.com/goburrow/modbus v0.1.0 17:00:33 go: extracting github.com/goburrow/modbus v0.1.0 17:00:33 go: downloading github.com/goburrow/serial v0.1.0 17:00:33 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:33 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:33 go: extracting github.com/goburrow/serial v0.1.0 17:00:33 go: downloading github.com/gorilla/mux v1.7.1 17:00:33 go: downloading github.com/google/uuid v1.1.1 17:00:33 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:33 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:33 go: downloading github.com/pkg/errors v0.8.1 17:00:33 go: downloading github.com/go-kit/kit v0.8.0 17:00:33 go: extracting github.com/gorilla/mux v1.7.1 17:00:33 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:33 go: extracting github.com/google/uuid v1.1.1 17:00:33 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:33 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 17:00:33 go: extracting github.com/pkg/errors v0.8.1 17:00:33 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:33 go: downloading gopkg.in/yaml.v2 v2.2.8 17:00:33 go: downloading github.com/hashicorp/consul/api v1.1.0 17:00:33 go: downloading github.com/pelletier/go-toml v1.2.0 17:00:33 go: downloading github.com/OneOfOne/xxhash v1.2.6 17:00:33 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:33 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 17:00:33 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:33 go: extracting github.com/OneOfOne/xxhash v1.2.6 17:00:33 go: extracting gopkg.in/yaml.v2 v2.2.8 17:00:33 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:33 go: extracting github.com/pelletier/go-toml v1.2.0 17:00:33 go: downloading github.com/BurntSushi/toml v0.3.1 17:00:33 go: extracting github.com/hashicorp/consul/api v1.1.0 17:00:33 go: downloading github.com/x448/float16 v0.8.4 17:00:33 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:33 go: extracting github.com/go-kit/kit v0.8.0 17:00:33 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:00:33 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 17:00:33 go: downloading github.com/hashicorp/serf v0.8.2 17:00:33 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:00:33 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:33 go: downloading github.com/mitchellh/copystructure v1.0.0 17:00:33 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:00:33 go: extracting github.com/BurntSushi/toml v0.3.1 17:00:33 go: extracting github.com/x448/float16 v0.8.4 17:00:33 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 17:00:33 go: extracting github.com/mitchellh/mapstructure v1.1.2 17:00:33 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 17:00:33 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 17:00:33 go: extracting github.com/mitchellh/copystructure v1.0.0 17:00:33 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:00:33 go: extracting github.com/mitchellh/reflectwalk v1.0.0 17:00:33 go: extracting github.com/hashicorp/serf v0.8.2 17:00:33 go: downloading github.com/go-logfmt/logfmt v0.4.0 17:00:33 go: extracting github.com/go-logfmt/logfmt v0.4.0 17:00:33 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:33 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:33 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:00:33 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 17:00:33 go: downloading github.com/hashicorp/golang-lru v0.5.1 17:00:33 go: extracting github.com/hashicorp/golang-lru v0.5.1 17:00:33 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 17:00:34 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 17:00:34 go: finding github.com/goburrow/modbus v0.1.0 17:00:34 go: finding github.com/go-kit/kit v0.8.0 17:00:34 go: finding github.com/fxamacker/cbor/v2 v2.2.0 17:00:34 go: finding github.com/goburrow/serial v0.1.0 17:00:34 go: finding github.com/google/uuid v1.1.1 17:00:34 go: finding github.com/gorilla/mux v1.7.1 17:00:34 go: finding github.com/OneOfOne/xxhash v1.2.6 17:00:34 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 17:00:34 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 17:00:34 go: finding github.com/go-logfmt/logfmt v0.4.0 17:00:34 go: finding gopkg.in/yaml.v2 v2.2.8 17:00:34 go: finding github.com/x448/float16 v0.8.4 17:00:34 go: finding github.com/pkg/errors v0.8.1 17:00:34 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 17:00:34 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 17:00:34 go: finding github.com/BurntSushi/toml v0.3.1 17:00:34 go: finding github.com/pelletier/go-toml v1.2.0 17:00:34 go: finding github.com/hashicorp/consul/api v1.1.0 17:00:34 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:00:34 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 17:00:34 go: finding github.com/hashicorp/go-rootcerts v1.0.0 17:00:34 go: finding github.com/hashicorp/serf v0.8.2 17:00:34 go: finding github.com/mitchellh/mapstructure v1.1.2 17:00:34 go: finding github.com/mitchellh/copystructure v1.0.0 17:00:34 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 17:00:34 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:00:34 go: finding github.com/mitchellh/reflectwalk v1.0.0 17:00:34 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 17:00:34 go: finding github.com/hashicorp/golang-lru v0.5.1 17:00:52 CGO_ENABLED=0 GO111MODULE=on go build ./... 17:01:07 Skipping stage go (already ran) 17:01:07 Staging device-modbus  17:01:09 Priming go  17:01:13 Priming device-modbus  17:01:16 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 17:01:16 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 17:01:16 Determining the version from the project repo (version-script). 17:01:16 The version has been set to '1.2.1-20200901+5587417' 17:01:17 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 17:01:17 Snapped edgex-device-modbus_1.2.1-20200901+5587417_arm64.snap [Pipeline] } 17:01:19 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 17:01:21 provisioning config files... 17:01:21 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config1173268275654174515tmp [Pipeline] { [Pipeline] sh 17:01:22 + curl -s https://codecov.io/bash 17:01:22 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config1173268275654174515tmp [Pipeline] } 17:01:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:01:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:01:25 ---> package-listing.sh 17:01:25 ++ facter osfamily 17:01:25 ++ tr '[:upper:]' '[:lower:]' 17:01:25 + OS_FAMILY=redhat 17:01:25 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 17:01:25 + START_PACKAGES=/tmp/packages_start.txt 17:01:25 + END_PACKAGES=/tmp/packages_end.txt 17:01:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:01:25 + PACKAGES=/tmp/packages_start.txt 17:01:25 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 17:01:25 + PACKAGES=/tmp/packages_end.txt 17:01:25 + case "${OS_FAMILY}" in 17:01:25 + rpm -qa 17:01:25 + sort 17:01:29 + '[' -f /tmp/packages_start.txt ']' 17:01:29 + '[' -f /tmp/packages_end.txt ']' 17:01:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:01:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' 17:01:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ 17:01:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [Pipeline] isUnix [Pipeline] sh 17:01:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:30 17:01:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:01:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:30 alpine: Pulling from edgex-lftools-log-publisher 17:01:30 c9b1b535fdd9: Pulling fs layer 17:01:30 2cc5ad85d9ab: Pulling fs layer 17:01:30 756a868c4378: Pulling fs layer 17:01:30 444b2fc9a129: Pulling fs layer 17:01:30 ea15f1150254: Pulling fs layer 17:01:30 41b27a9f41bf: Pulling fs layer 17:01:30 28c525ee5125: Pulling fs layer 17:01:30 094b1ea09ed8: Pulling fs layer 17:01:30 138eaada9080: Pulling fs layer 17:01:30 444b2fc9a129: Waiting 17:01:30 0622d0fa9048: Pulling fs layer 17:01:30 ea15f1150254: Waiting 17:01:30 41b27a9f41bf: Waiting 17:01:30 28c525ee5125: Waiting 17:01:30 094b1ea09ed8: Waiting 17:01:30 138eaada9080: Waiting 17:01:30 0622d0fa9048: Waiting 17:01:30 2cc5ad85d9ab: Download complete 17:01:30 444b2fc9a129: Verifying Checksum 17:01:30 444b2fc9a129: Download complete 17:01:30 c9b1b535fdd9: Verifying Checksum 17:01:30 c9b1b535fdd9: Download complete 17:01:30 ea15f1150254: Download complete 17:01:30 28c525ee5125: Verifying Checksum 17:01:30 28c525ee5125: Download complete 17:01:31 756a868c4378: Verifying Checksum 17:01:31 756a868c4378: Download complete 17:01:31 c9b1b535fdd9: Pull complete 17:01:31 094b1ea09ed8: Verifying Checksum 17:01:31 094b1ea09ed8: Download complete 17:01:31 138eaada9080: Verifying Checksum 17:01:31 138eaada9080: Download complete 17:01:31 0622d0fa9048: Verifying Checksum 17:01:31 0622d0fa9048: Download complete 17:01:31 2cc5ad85d9ab: Pull complete 17:01:31 41b27a9f41bf: Verifying Checksum 17:01:31 41b27a9f41bf: Download complete 17:01:33 756a868c4378: Pull complete 17:01:33 444b2fc9a129: Pull complete 17:01:33 ea15f1150254: Pull complete 17:01:37 41b27a9f41bf: Pull complete 17:01:37 28c525ee5125: Pull complete 17:01:40 094b1ea09ed8: Pull complete 17:01:40 138eaada9080: Pull complete 17:01:40 0622d0fa9048: Pull complete 17:01:40 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 17:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:01:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:01:41 prd-centos7-docker-4c-2g-1038 does not seem to be running inside a container 17:01:41 $ 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-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:01:44 $ docker top fff6e47db75c709575cc20f5b6245da868a1f1511c52e1f76202f84752606306 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:44 provisioning config files... 17:01:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config8321578115620044446tmp [Pipeline] { [Pipeline] echo 17:01:45 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:01:45 ---> create-netrc.sh [Pipeline] echo 17:01:45 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:01:45 ---> logs-deploy.sh 17:01:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/5 17:01:45 INFO: archiving workspace using pattern(s): 17:01:47 Archives upload complete. 17:01:47 INFO: archiving logs to Nexus