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 [2020-09-01T16:52:45.217Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-01T16:52:45.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T16:52:45.534Z] ========================================================= [2020-09-01T16:52:45.534Z] EdgeX Global Pipelines Version Info [2020-09-01T16:52:45.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T16:52:46.898Z] ------------------- [2020-09-01T16:52:46.898Z] stable info: [2020-09-01T16:52:46.898Z] ------------------- [2020-09-01T16:52:46.898Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T16:52:46.898Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T16:52:46.898Z] Message: update stable to v1.0.115 [2020-09-01T16:52:47.848Z] ------------------- [2020-09-01T16:52:47.848Z] experimental info: [2020-09-01T16:52:47.848Z] ------------------- [2020-09-01T16:52:47.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T16:52:47.848Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T16:52:47.848Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T16:52:48.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-01T16:52:48.261Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-09-01T16:52:48.351Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T16:52:48.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T16:52:48.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T16:52:48.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T16:52:48.661Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T16:52:48.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T16:52:48.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-01T16:52:49.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T16:52:49.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T16:52:49.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-09-01T16:52:49.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T16:52:49.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T16:52:49.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T16:52:49.516Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T16:52:49.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T16:52:49.667Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T16:52:49.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T16:52:49.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-01T16:52:49.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T16:52:49.992Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T16:52:50.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo [2020-09-01T16:52:50.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo [2020-09-01T16:52:50.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo [2020-09-01T16:52:50.470Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [Pipeline] echo [2020-09-01T16:52:50.559Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc82fff [Pipeline] echo [2020-09-01T16:52:50.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T16:52:51.331Z] + git log --format=format:%s -1 cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [Pipeline] echo [2020-09-01T16:52:51.400Z] GIT_COMMIT: cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6, Commit Message: Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD [Pipeline] echo [2020-09-01T16:52:51.447Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:52:52.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T16:52:52.517Z] [2020-09-01T16:52:52.517Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:52:52.876Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T16:52:52.876Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T16:52:52.876Z] 31603596830f: Pulling fs layer [2020-09-01T16:52:52.876Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T16:52:52.876Z] 6ca5941a6612: Pulling fs layer [2020-09-01T16:52:52.876Z] ecc8261a40a4: Pulling fs layer [2020-09-01T16:52:52.876Z] ecc8261a40a4: Waiting [2020-09-01T16:52:52.876Z] 2a8b12db71e7: Verifying Checksum [2020-09-01T16:52:52.876Z] 2a8b12db71e7: Download complete [2020-09-01T16:52:53.142Z] 31603596830f: Verifying Checksum [2020-09-01T16:52:53.143Z] 31603596830f: Download complete [2020-09-01T16:52:53.143Z] ecc8261a40a4: Verifying Checksum [2020-09-01T16:52:53.143Z] ecc8261a40a4: Download complete [2020-09-01T16:52:53.143Z] 6ca5941a6612: Verifying Checksum [2020-09-01T16:52:53.143Z] 6ca5941a6612: Download complete [2020-09-01T16:52:53.405Z] 31603596830f: Pull complete [2020-09-01T16:52:53.405Z] 2a8b12db71e7: Pull complete [2020-09-01T16:52:54.349Z] 6ca5941a6612: Pull complete [2020-09-01T16:52:54.610Z] ecc8261a40a4: Pull complete [2020-09-01T16:52:54.610Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T16:52:54.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T16:52:54.610Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T16:52:54.740Z] prd-centos7-docker-4c-2g-1038 does not seem to be running inside a container [2020-09-01T16:52:54.783Z] $ 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 [2020-09-01T16:52:56.868Z] $ docker top 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T16:52:57.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T16:52:57.163Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T16:52:57.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T16:52:57.371Z] $ docker exec 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent [2020-09-01T16:52:57.527Z] SSH_AUTH_SOCK=/tmp/ssh-FtBa8ZUElMCd/agent.12 [2020-09-01T16:52:57.527Z] SSH_AGENT_PID=18 [2020-09-01T16:52:57.538Z] Running ssh-add (command line suppressed) [2020-09-01T16:52:57.667Z] 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) [2020-09-01T16:52:57.719Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T16:52:58.047Z] + git describe --exact-match --tags HEAD [2020-09-01T16:52:58.047Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T16:52:58.069Z] $ docker exec --env ******** --env ******** 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent -k [2020-09-01T16:52:58.188Z] unset SSH_AUTH_SOCK; [2020-09-01T16:52:58.188Z] unset SSH_AGENT_PID; [2020-09-01T16:52:58.188Z] echo Agent pid 18 killed; [2020-09-01T16:52:58.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T16:52:58.316Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T16:52:58.316Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T16:52:58.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T16:52:58.410Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T16:52:58.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T16:52:58.576Z] $ docker exec 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent [2020-09-01T16:52:58.746Z] SSH_AUTH_SOCK=/tmp/ssh-QBYOIjn5siN5/agent.47 [2020-09-01T16:52:58.746Z] SSH_AGENT_PID=53 [2020-09-01T16:52:58.760Z] Running ssh-add (command line suppressed) [2020-09-01T16:52:58.876Z] 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) [2020-09-01T16:52:58.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T16:52:59.257Z] + git semver init [2020-09-01T16:52:59.257Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T16:52:59.257Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git [2020-09-01T16:52:59.257Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 [2020-09-01T16:52:59.257Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T16:52:59.257Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T16:52:59.257Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T16:52:59.257Z] # $SEMVER_BRANCH = PR-162 [2020-09-01T16:52:59.257Z] # $SEMVER_TEMP = /tmp/semver-696456384 [2020-09-01T16:52:59.257Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-09-01T16:52:59.524Z] # '/tmp/semver-696456384' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' [2020-09-01T16:52:59.524Z] # -> Force: false [2020-09-01T16:52:59.524Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } [2020-09-01T16:52:59.540Z] $ docker exec --env ******** --env ******** 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 ssh-agent -k [2020-09-01T16:52:59.666Z] unset SSH_AUTH_SOCK; [2020-09-01T16:52:59.667Z] unset SSH_AGENT_PID; [2020-09-01T16:52:59.667Z] echo Agent pid 53 killed; [2020-09-01T16:52:59.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T16:53:00.160Z] + git semver [Pipeline] } [2020-09-01T16:53:00.177Z] $ docker stop --time=1 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 [2020-09-01T16:53:01.542Z] $ docker rm -f 0d3f0e08af65d2c7fcc6951d9990d81ef386f36812917453e386e15189734d65 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T16:53:02.260Z] Stashed 27 file(s) [Pipeline] echo [2020-09-01T16:53:02.262Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T16:53:02.350Z] 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 [2020-09-01T16:53:02.851Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1036 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-09-01T16:53:02.893Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2020-09-01T16:53:06.984Z] using credential edgex-jenkins-ssh [2020-09-01T16:53:07.046Z] Cloning the remote Git repository [2020-09-01T16:53:07.046Z] Cloning with configured refspecs honoured and without tags [2020-09-01T16:53:07.099Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:53:07.206Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2020-09-01T16:53:07.268Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:53:07.269Z] > git --version # timeout=10 [2020-09-01T16:53:07.293Z] > git --version # 'git version 2.17.1' [2020-09-01T16:53:07.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:53:07.398Z] > 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 [2020-09-01T16:53:08.121Z] Fetching without tags [2020-09-01T16:53:08.665Z] Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-09-01T16:53:08.863Z] Merge succeeded, producing cb60d5fab8026c438d5c8188acb5a0df5b438bce [2020-09-01T16:53:08.864Z] Checking out Revision cb60d5fab8026c438d5c8188acb5a0df5b438bce (PR-162) [2020-09-01T16:53:08.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:53:08.047Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-09-01T16:53:08.070Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T16:53:08.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:53:08.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:53:08.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:53:08.146Z] > 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 [2020-09-01T16:53:08.683Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:53:08.700Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-09-01T16:53:08.767Z] > git remote # timeout=10 [2020-09-01T16:53:08.782Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T16:53:08.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:53:08.803Z] > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 [2020-09-01T16:53:08.849Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T16:53:08.868Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:53:08.884Z] > git checkout -f cb60d5fab8026c438d5c8188acb5a0df5b438bce # timeout=10 [2020-09-01T16:53:12.984Z] Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" [2020-09-01T16:53:13.015Z] First time build. Skipping changelog. [2020-09-01T16:53:12.990Z] > 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 [2020-09-01T16:53:14.002Z] ========================================================= [2020-09-01T16:53:14.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T16:53:14.002Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:53:15.186Z] + 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 . [2020-09-01T16:53:16.170Z] Sending build context to Docker daemon 673.8kB [2020-09-01T16:53:16.170Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T16:53:16.170Z] Step 2/8 : FROM ${BASE} [2020-09-01T16:53:16.449Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T16:53:16.449Z] b538f80385f9: Pulling fs layer [2020-09-01T16:53:16.449Z] 74f711af9a0d: Pulling fs layer [2020-09-01T16:53:16.449Z] 99f96fe45779: Pulling fs layer [2020-09-01T16:53:16.449Z] fd7a069fd194: Pulling fs layer [2020-09-01T16:53:16.449Z] 66aa3694b03b: Pulling fs layer [2020-09-01T16:53:16.449Z] 170f70906a0f: Pulling fs layer [2020-09-01T16:53:16.449Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T16:53:16.449Z] e772456be8f7: Pulling fs layer [2020-09-01T16:53:16.449Z] c890913d741a: Pulling fs layer [2020-09-01T16:53:16.449Z] fd7a069fd194: Waiting [2020-09-01T16:53:16.449Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T16:53:16.449Z] 09adf4765672: Pulling fs layer [2020-09-01T16:53:16.449Z] 66aa3694b03b: Waiting [2020-09-01T16:53:16.449Z] 170f70906a0f: Waiting [2020-09-01T16:53:16.449Z] ad7c5574e4b9: Waiting [2020-09-01T16:53:16.449Z] e772456be8f7: Waiting [2020-09-01T16:53:16.449Z] c890913d741a: Waiting [2020-09-01T16:53:16.449Z] 2480fcc9aa5a: Waiting [2020-09-01T16:53:16.449Z] 09adf4765672: Waiting [2020-09-01T16:53:16.449Z] 99f96fe45779: Verifying Checksum [2020-09-01T16:53:16.449Z] 99f96fe45779: Download complete [2020-09-01T16:53:16.449Z] 74f711af9a0d: Verifying Checksum [2020-09-01T16:53:16.449Z] 74f711af9a0d: Download complete [2020-09-01T16:53:16.449Z] 66aa3694b03b: Verifying Checksum [2020-09-01T16:53:16.449Z] 66aa3694b03b: Download complete [2020-09-01T16:53:16.449Z] 170f70906a0f: Verifying Checksum [2020-09-01T16:53:16.449Z] 170f70906a0f: Download complete [2020-09-01T16:53:16.449Z] b538f80385f9: Verifying Checksum [2020-09-01T16:53:16.449Z] b538f80385f9: Download complete [2020-09-01T16:53:17.457Z] b538f80385f9: Pull complete [2020-09-01T16:53:17.684Z] Still waiting to schedule task [2020-09-01T16:53:17.684Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T16:53:17.755Z] 74f711af9a0d: Pull complete [2020-09-01T16:53:18.362Z] 99f96fe45779: Pull complete [2020-09-01T16:53:19.365Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T16:53:19.365Z] ad7c5574e4b9: Download complete [2020-09-01T16:53:19.365Z] c890913d741a: Verifying Checksum [2020-09-01T16:53:19.365Z] c890913d741a: Download complete [2020-09-01T16:53:21.995Z] 2480fcc9aa5a: Verifying Checksum [2020-09-01T16:53:21.995Z] 2480fcc9aa5a: Download complete [2020-09-01T16:53:21.995Z] 09adf4765672: Verifying Checksum [2020-09-01T16:53:21.995Z] 09adf4765672: Download complete [2020-09-01T16:53:21.995Z] e772456be8f7: Verifying Checksum [2020-09-01T16:53:22.594Z] fd7a069fd194: Verifying Checksum [2020-09-01T16:53:22.594Z] fd7a069fd194: Download complete [2020-09-01T16:53:35.044Z] fd7a069fd194: Pull complete [2020-09-01T16:53:35.044Z] 66aa3694b03b: Pull complete [2020-09-01T16:53:35.044Z] 170f70906a0f: Pull complete [2020-09-01T16:53:37.723Z] ad7c5574e4b9: Pull complete [2020-09-01T16:53:42.523Z] e772456be8f7: Pull complete [2020-09-01T16:53:42.814Z] c890913d741a: Pull complete [2020-09-01T16:53:45.552Z] 2480fcc9aa5a: Pull complete [2020-09-01T16:53:45.552Z] 09adf4765672: Pull complete [2020-09-01T16:53:45.552Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T16:53:45.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T16:53:45.552Z] ---> 2248a725d1cf [2020-09-01T16:53:45.552Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-01T16:53:50.030Z] ---> Running in 50a569c2a463 [2020-09-01T16:53:50.305Z] Removing intermediate container 50a569c2a463 [2020-09-01T16:53:50.305Z] ---> 1b21799ff6a6 [2020-09-01T16:53:50.305Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T16:53:50.305Z] ---> Running in 54ee7d6141da [2020-09-01T16:53:52.976Z] Removing intermediate container 54ee7d6141da [2020-09-01T16:53:52.976Z] ---> 7190380026b4 [2020-09-01T16:53:52.976Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T16:53:52.976Z] ---> Running in d446c3821071 [2020-09-01T16:53:54.436Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T16:53:55.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T16:53:56.023Z] (1/14) Installing libmagic (5.38-r0) [2020-09-01T16:53:56.298Z] (2/14) Installing file (5.38-r0) [2020-09-01T16:53:56.578Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-01T16:53:56.578Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-01T16:54:00.890Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-01T16:54:00.890Z] (6/14) Installing patch (2.7.6-r6) [2020-09-01T16:54:00.890Z] (7/14) Installing build-base (0.5-r2) [2020-09-01T16:54:00.890Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-01T16:54:00.890Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-01T16:54:00.890Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-01T16:54:01.160Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-01T16:54:01.160Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-01T16:54:01.434Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-01T16:54:01.705Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-01T16:54:01.705Z] Executing busybox-1.31.1-r16.trigger [2020-09-01T16:54:01.980Z] OK: 221 MiB in 53 packages [2020-09-01T16:54:06.299Z] Removing intermediate container d446c3821071 [2020-09-01T16:54:06.299Z] ---> c9c172c589ca [2020-09-01T16:54:06.299Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-01T16:54:06.299Z] ---> Running in 7045fb0bf42c [2020-09-01T16:54:06.572Z] Removing intermediate container 7045fb0bf42c [2020-09-01T16:54:06.572Z] ---> 63becbe4f02f [2020-09-01T16:54:06.572Z] Step 7/8 : COPY . . [2020-09-01T16:54:07.556Z] ---> dc690c02d239 [2020-09-01T16:54:07.556Z] Step 8/8 : RUN go mod download [2020-09-01T16:54:07.556Z] ---> Running in 1c164787d789 [2020-09-01T16:54:10.952Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T16:54:10.952Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T16:54:10.952Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T16:54:10.952Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T16:54:10.952Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T16:54:10.952Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T16:54:10.952Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T16:54:10.952Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T16:54:10.953Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T16:54:10.953Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T16:54:10.953Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T16:54:10.953Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T16:54:10.953Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T16:54:11.222Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T16:54:11.222Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T16:54:11.222Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T16:54:11.222Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T16:54:11.222Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T16:54:11.222Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T16:54:11.492Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T16:54:11.492Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T16:54:11.492Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T16:54:11.492Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T16:54:11.492Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T16:54:11.492Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T16:54:11.492Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T16:54:11.763Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T16:54:12.035Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T16:54:12.309Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T16:54:12.309Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T16:54:12.309Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T16:54:12.309Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T16:54:12.309Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-01T16:54:12.309Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T16:54:12.581Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T16:54:12.855Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T16:54:12.855Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T16:54:12.855Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T16:54:12.855Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T16:54:12.855Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T16:54:12.855Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T16:54:12.855Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T16:54:13.128Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-01T16:54:13.128Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T16:54:13.128Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T16:54:13.128Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T16:54:13.128Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T16:54:13.128Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T16:54:13.128Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T16:54:13.402Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-01T16:54:13.402Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T16:54:13.402Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T16:54:13.402Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T16:54:13.402Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T16:54:23.585Z] Removing intermediate container 1c164787d789 [2020-09-01T16:54:23.585Z] ---> eada34745839 [2020-09-01T16:54:23.585Z] Successfully built eada34745839 [2020-09-01T16:54:23.585Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:54:24.331Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T16:54:24.331Z] . [Pipeline] withDockerContainer [2020-09-01T16:54:24.557Z] prd-ubuntu18.04-docker-arm64-4c-16g-1036 does not seem to be running inside a container [2020-09-01T16:54:24.631Z] $ 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 [2020-09-01T16:54:26.348Z] $ docker top 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T16:54:27.761Z] + go version [2020-09-01T16:54:27.761Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T16:54:28.806Z] + make test [2020-09-01T16:54:28.807Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-01T16:54:29.796Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-01T16:54:56.617Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-01T16:54:56.894Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.302s coverage: 50.3% of statements [2020-09-01T16:54:57.167Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T16:55:02.579Z] gofmt -l . [2020-09-01T16:55:02.853Z] [ "`gofmt -l .`" = "" ] [2020-09-01T16:55:02.853Z] ./bin/test-attribution-txt.sh [2020-09-01T16:55:03.448Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T16:55:04.706Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T16:55:04.713Z] $ docker stop --time=1 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a [2020-09-01T16:55:06.898Z] $ docker rm -f 3983b512f5006d23334dad76ca83933d1cc495cdfc8d15d37ed161393fe15b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T16:55:09.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T16:55:10.324Z] + ls -al . [2020-09-01T16:55:10.324Z] total 140 [2020-09-01T16:55:10.324Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 16:55 . [2020-09-01T16:55:10.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 16:53 .. [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 16:53 .dockerignore [2020-09-01T16:55:10.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 16:53 .git [2020-09-01T16:55:10.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 .github [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 330 Sep 1 16:53 .gitignore [2020-09-01T16:55:10.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 .semver [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 4564 Sep 1 16:53 Attribution.txt [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 1430 Sep 1 16:53 Dockerfile [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 954 Sep 1 16:53 Dockerfile.build [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 16:53 Jenkinsfile [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 16:53 LICENSE [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 1 16:53 Makefile [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 591 Sep 1 16:53 README.md [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 16:53 VERSION [2020-09-01T16:55:10.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 bin [2020-09-01T16:55:10.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 cmd [2020-09-01T16:55:10.324Z] -rw-r--r-- 1 jenkins jenkins 22364 Sep 1 16:54 coverage.out [2020-09-01T16:55:10.324Z] -rw-r--r-- 1 jenkins jenkins 559 Sep 1 16:55 go.mod [2020-09-01T16:55:10.324Z] -rw-r--r-- 1 jenkins jenkins 13471 Sep 1 16:55 go.sum [2020-09-01T16:55:10.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 16:53 internal [2020-09-01T16:55:10.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 16:53 simulator [2020-09-01T16:55:10.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 16:53 snap [2020-09-01T16:55:10.324Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 1 16:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:55:10.679Z] + 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 . [2020-09-01T16:55:10.953Z] Sending build context to Docker daemon 705kB [2020-09-01T16:55:11.228Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-09-01T16:55:11.228Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-01T16:55:11.228Z] ---> eada34745839 [2020-09-01T16:55:11.228Z] Step 3/20 : ARG MAKE='make build' [2020-09-01T16:55:11.228Z] ---> Running in a75c8d42bbf1 [2020-09-01T16:55:11.821Z] Removing intermediate container a75c8d42bbf1 [2020-09-01T16:55:11.821Z] ---> cae39c8dfd62 [2020-09-01T16:55:11.821Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T16:55:11.821Z] ---> Running in f310a379f81c [2020-09-01T16:55:14.430Z] Removing intermediate container f310a379f81c [2020-09-01T16:55:14.430Z] ---> 59081ad7667d [2020-09-01T16:55:14.430Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T16:55:14.430Z] ---> Running in ec7a0d810137 [2020-09-01T16:55:15.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T16:55:16.444Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T16:55:17.416Z] OK: 221 MiB in 53 packages [2020-09-01T16:55:18.388Z] Removing intermediate container ec7a0d810137 [2020-09-01T16:55:18.388Z] ---> e109eccdf43d [2020-09-01T16:55:18.388Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-01T16:55:18.388Z] ---> Running in 891200fbf546 [2020-09-01T16:55:18.981Z] Removing intermediate container 891200fbf546 [2020-09-01T16:55:18.981Z] ---> a5bd721b31ad [2020-09-01T16:55:18.981Z] Step 7/20 : COPY . . [2020-09-01T16:55:19.953Z] ---> 153681548d05 [2020-09-01T16:55:19.953Z] Step 8/20 : RUN ${MAKE} [2020-09-01T16:55:19.953Z] ---> Running in 8d7d6bf3d72b [2020-09-01T16:55:21.381Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-01T16:55:47.734Z] Running on prd-centos7-docker-4c-2g-1039 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-09-01T16:55:47.782Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2020-09-01T16:55:48.176Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T16:55:50.173Z] using credential edgex-jenkins-ssh [2020-09-01T16:55:50.407Z] Cloning the remote Git repository [2020-09-01T16:55:50.407Z] Cloning with configured refspecs honoured and without tags [2020-09-01T16:55:50.442Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:55:51.154Z] Fetching without tags [2020-09-01T16:55:50.505Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2020-09-01T16:55:50.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:55:50.553Z] > git --version # timeout=10 [2020-09-01T16:55:50.574Z] > git --version # 'git version 2.16.5' [2020-09-01T16:55:50.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:55:50.634Z] > 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 [2020-09-01T16:55:51.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:55:51.136Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-09-01T16:55:51.144Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T16:55:51.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:55:51.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:55:51.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:55:51.166Z] > 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 [2020-09-01T16:55:51.573Z] Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-09-01T16:55:51.672Z] Merge succeeded, producing d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 [2020-09-01T16:55:51.673Z] Checking out Revision d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 (PR-162) [2020-09-01T16:55:52.456Z] Removing intermediate container 8d7d6bf3d72b [2020-09-01T16:55:52.456Z] ---> 0aa835b78e48 [2020-09-01T16:55:52.456Z] Step 9/20 : FROM scratch [2020-09-01T16:55:52.456Z] ---> [2020-09-01T16:55:52.456Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-01T16:55:52.456Z] ---> Running in 73a19eb22731 [2020-09-01T16:55:52.456Z] Removing intermediate container 73a19eb22731 [2020-09-01T16:55:52.456Z] ---> 289860800532 [2020-09-01T16:55:52.456Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-01T16:55:52.456Z] ---> Running in 5a7ae0080b37 [2020-09-01T16:55:51.589Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:55:51.598Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-09-01T16:55:51.635Z] > git remote # timeout=10 [2020-09-01T16:55:51.645Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T16:55:51.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:55:51.653Z] > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 [2020-09-01T16:55:51.671Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T16:55:51.680Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:55:51.690Z] > git checkout -f d57bc7d46bf8523b4e517768e8d63a16e2e84cd4 # timeout=10 [2020-09-01T16:55:52.726Z] Removing intermediate container 5a7ae0080b37 [2020-09-01T16:55:52.726Z] ---> b5dbae169c8f [2020-09-01T16:55:52.726Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-01T16:55:54.149Z] ---> 29264c4bf4f5 [2020-09-01T16:55:54.149Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-01T16:55:54.422Z] ---> 9b85ecd6764a [2020-09-01T16:55:54.422Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-01T16:55:55.282Z] Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" [2020-09-01T16:55:55.294Z] First time build. Skipping changelog. [2020-09-01T16:55:55.389Z] ---> c49499c00d92 [2020-09-01T16:55:55.389Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-01T16:55:55.389Z] ---> Running in 6e967236faa6 [2020-09-01T16:55:55.663Z] Removing intermediate container 6e967236faa6 [2020-09-01T16:55:55.663Z] ---> b90ffa9d7892 [2020-09-01T16:55:55.663Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-09-01T16:55:55.933Z] ---> Running in a3c98f092296 [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T16:55:56.213Z] ========================================================= [2020-09-01T16:55:56.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T16:55:56.213Z] ========================================================= [2020-09-01T16:55:56.228Z] Removing intermediate container a3c98f092296 [2020-09-01T16:55:56.228Z] ---> 467abc7ea49a [2020-09-01T16:55:56.228Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:55:56.498Z] ---> Running in f12ba71da92f [2020-09-01T16:55:55.292Z] > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [2020-09-01T16:55:56.769Z] Removing intermediate container f12ba71da92f [2020-09-01T16:55:56.769Z] ---> 0ce7d64be743 [2020-09-01T16:55:56.769Z] Step 18/20 : LABEL arch=arm64 [2020-09-01T16:55:56.906Z] + 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 . [2020-09-01T16:55:57.041Z] ---> Running in d190208b0309 [2020-09-01T16:55:57.168Z] Sending build context to Docker daemon 673.8kB [2020-09-01T16:55:57.168Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T16:55:57.168Z] Step 2/8 : FROM ${BASE} [2020-09-01T16:55:57.316Z] Removing intermediate container d190208b0309 [2020-09-01T16:55:57.316Z] ---> f94b38196a78 [2020-09-01T16:55:57.316Z] Step 19/20 : LABEL git_sha=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [2020-09-01T16:55:57.431Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T16:55:57.431Z] df20fa9351a1: Pulling fs layer [2020-09-01T16:55:57.431Z] ed8968b2872e: Pulling fs layer [2020-09-01T16:55:57.431Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T16:55:57.431Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T16:55:57.431Z] 1e091d79d1de: Pulling fs layer [2020-09-01T16:55:57.431Z] 481702a1767f: Pulling fs layer [2020-09-01T16:55:57.431Z] f64a6f60c768: Pulling fs layer [2020-09-01T16:55:57.431Z] e78d2573fc39: Pulling fs layer [2020-09-01T16:55:57.431Z] e876d2f968b6: Pulling fs layer [2020-09-01T16:55:57.431Z] ce8a83651883: Pulling fs layer [2020-09-01T16:55:57.431Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T16:55:57.431Z] 2dd03ba5bac4: Waiting [2020-09-01T16:55:57.431Z] 1e091d79d1de: Waiting [2020-09-01T16:55:57.431Z] 481702a1767f: Waiting [2020-09-01T16:55:57.431Z] f64a6f60c768: Waiting [2020-09-01T16:55:57.431Z] e78d2573fc39: Waiting [2020-09-01T16:55:57.431Z] ce8a83651883: Waiting [2020-09-01T16:55:57.431Z] 07967f4d0e4b: Waiting [2020-09-01T16:55:57.431Z] e876d2f968b6: Waiting [2020-09-01T16:55:57.431Z] a92cc7c5fd73: Download complete [2020-09-01T16:55:57.431Z] ed8968b2872e: Verifying Checksum [2020-09-01T16:55:57.431Z] ed8968b2872e: Download complete [2020-09-01T16:55:57.431Z] 1e091d79d1de: Verifying Checksum [2020-09-01T16:55:57.431Z] 1e091d79d1de: Download complete [2020-09-01T16:55:57.431Z] 481702a1767f: Verifying Checksum [2020-09-01T16:55:57.431Z] 481702a1767f: Download complete [2020-09-01T16:55:57.431Z] df20fa9351a1: Verifying Checksum [2020-09-01T16:55:57.431Z] df20fa9351a1: Download complete [2020-09-01T16:55:57.587Z] ---> Running in d2493d6ab875 [2020-09-01T16:55:57.705Z] df20fa9351a1: Pull complete [2020-09-01T16:55:57.859Z] Removing intermediate container d2493d6ab875 [2020-09-01T16:55:57.859Z] ---> 8b5135fdabba [2020-09-01T16:55:57.859Z] Step 20/20 : LABEL version=0.0.0 [2020-09-01T16:55:58.132Z] ---> Running in e76cae1498f7 [2020-09-01T16:55:58.297Z] f64a6f60c768: Verifying Checksum [2020-09-01T16:55:58.297Z] f64a6f60c768: Download complete [2020-09-01T16:55:58.297Z] e876d2f968b6: Verifying Checksum [2020-09-01T16:55:58.297Z] e876d2f968b6: Download complete [2020-09-01T16:55:58.404Z] Removing intermediate container e76cae1498f7 [2020-09-01T16:55:58.404Z] ---> d8f46757498e [2020-09-01T16:55:58.404Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T16:55:58.404Z] Successfully built d8f46757498e [2020-09-01T16:55:58.404Z] 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 [2020-09-01T16:55:58.887Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T16:55:58.887Z] 2dd03ba5bac4: Download complete [2020-09-01T16:55:58.887Z] ce8a83651883: Verifying Checksum [2020-09-01T16:55:58.887Z] ce8a83651883: Download complete [2020-09-01T16:55:58.887Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T16:55:58.887Z] 07967f4d0e4b: Download complete [2020-09-01T16:55:58.887Z] e78d2573fc39: Verifying Checksum [2020-09-01T16:55:58.887Z] e78d2573fc39: Download complete [Pipeline] node [2020-09-01T16:55:59.831Z] ed8968b2872e: Pull complete [2020-09-01T16:55:59.831Z] a92cc7c5fd73: Pull complete [2020-09-01T16:56:05.156Z] 2dd03ba5bac4: Pull complete [2020-09-01T16:56:05.417Z] 1e091d79d1de: Pull complete [2020-09-01T16:56:05.417Z] 481702a1767f: Pull complete [2020-09-01T16:56:12.075Z] f64a6f60c768: Pull complete [2020-09-01T16:56:13.909Z] Still waiting to schedule task [2020-09-01T16:56:13.909Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-09-01T16:56:15.403Z] e78d2573fc39: Pull complete [2020-09-01T16:56:15.403Z] e876d2f968b6: Pull complete [2020-09-01T16:56:16.359Z] ce8a83651883: Pull complete [2020-09-01T16:56:16.622Z] 07967f4d0e4b: Pull complete [2020-09-01T16:56:16.622Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T16:56:16.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T16:56:16.622Z] ---> 5d7c900382c6 [2020-09-01T16:56:16.622Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-01T16:56:17.192Z] ---> Running in 4343fe231201 [2020-09-01T16:56:17.454Z] Removing intermediate container 4343fe231201 [2020-09-01T16:56:17.454Z] ---> d3b62c16661a [2020-09-01T16:56:17.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T16:56:17.454Z] ---> Running in cd238ea36bcc [2020-09-01T16:56:18.847Z] Removing intermediate container cd238ea36bcc [2020-09-01T16:56:18.847Z] ---> 099d7d8166a9 [2020-09-01T16:56:18.847Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T16:56:19.108Z] ---> Running in a7e8e184af36 [2020-09-01T16:56:19.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T16:56:20.258Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T16:56:20.833Z] (1/14) Installing libmagic (5.38-r0) [2020-09-01T16:56:21.093Z] (2/14) Installing file (5.38-r0) [2020-09-01T16:56:21.093Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-01T16:56:21.093Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-01T16:56:33.345Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-01T16:56:33.345Z] (6/14) Installing patch (2.7.6-r6) [2020-09-01T16:56:33.345Z] (7/14) Installing build-base (0.5-r2) [2020-09-01T16:56:33.345Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-01T16:56:33.345Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-01T16:56:33.345Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-01T16:56:33.606Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-01T16:56:33.606Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-01T16:56:33.867Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-01T16:56:33.867Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-01T16:56:34.129Z] Executing busybox-1.31.1-r16.trigger [2020-09-01T16:56:34.129Z] OK: 237 MiB in 53 packages [2020-09-01T16:56:37.445Z] Removing intermediate container a7e8e184af36 [2020-09-01T16:56:37.445Z] ---> 72392ecfa2c2 [2020-09-01T16:56:37.445Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-01T16:56:37.445Z] ---> Running in c08d41c502d1 [2020-09-01T16:56:37.445Z] Removing intermediate container c08d41c502d1 [2020-09-01T16:56:37.445Z] ---> 5b42e7eb8278 [2020-09-01T16:56:37.445Z] Step 7/8 : COPY . . [2020-09-01T16:56:38.396Z] ---> 242cc8dbc7c4 [2020-09-01T16:56:38.396Z] Step 8/8 : RUN go mod download [2020-09-01T16:56:38.396Z] ---> Running in abf0c68bb242 [2020-09-01T16:56:40.318Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T16:56:40.318Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T16:56:40.318Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T16:56:40.579Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T16:56:40.579Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T16:56:40.579Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T16:56:40.579Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T16:56:40.579Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T16:56:40.579Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T16:56:40.579Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T16:56:40.847Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T16:56:40.847Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T16:56:40.847Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T16:56:40.847Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T16:56:40.847Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T16:56:40.847Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T16:56:40.847Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T16:56:41.112Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T16:56:41.112Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T16:56:41.112Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T16:56:41.112Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T16:56:41.112Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T16:56:41.688Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T16:56:41.688Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T16:56:41.688Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T16:56:41.688Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T16:56:41.688Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-01T16:56:41.949Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T16:56:42.214Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T16:56:42.214Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T16:56:42.479Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T16:56:42.479Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T16:56:42.479Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-01T16:56:42.479Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T16:56:42.479Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T16:56:42.740Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T16:56:42.741Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-01T16:56:42.741Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T16:56:42.741Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-01T16:56:42.741Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T16:56:42.741Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T16:56:43.001Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T16:56:43.001Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T16:56:43.001Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T16:56:43.001Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T16:56:43.001Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T16:56:43.001Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T16:56:43.001Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T16:56:43.262Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-01T16:56:43.262Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T16:56:43.262Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T16:56:43.262Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T16:56:43.262Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T16:56:43.262Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T16:56:43.262Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T16:56:43.523Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-01T16:56:43.523Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T16:56:43.523Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T16:56:43.523Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T16:56:43.523Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T16:56:51.676Z] Removing intermediate container abf0c68bb242 [2020-09-01T16:56:51.676Z] ---> f1c675a3aa11 [2020-09-01T16:56:51.676Z] Successfully built f1c675a3aa11 [2020-09-01T16:56:51.676Z] 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 [2020-09-01T16:56:52.316Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T16:56:52.316Z] . [Pipeline] withDockerContainer [2020-09-01T16:56:52.513Z] prd-centos7-docker-4c-2g-1039 does not seem to be running inside a container [2020-09-01T16:56:52.607Z] $ 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 [2020-09-01T16:56:53.855Z] $ docker top a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T16:56:54.341Z] + go version [2020-09-01T16:56:54.341Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T16:56:54.649Z] + make test [2020-09-01T16:56:54.650Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-01T16:56:55.603Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-01T16:57:03.852Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-01T16:57:04.424Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.241s coverage: 50.3% of statements [2020-09-01T16:57:04.424Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T16:57:06.349Z] gofmt -l . [2020-09-01T16:57:06.349Z] [ "`gofmt -l .`" = "" ] [2020-09-01T16:57:06.349Z] ./bin/test-attribution-txt.sh [2020-09-01T16:57:06.610Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T16:57:06.929Z] Warning: overwriting stash ‘coverage-report’ [2020-09-01T16:57:07.194Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T16:57:07.205Z] $ docker stop --time=1 a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 [2020-09-01T16:57:09.544Z] $ docker rm -f a7c03aaec100a353e3773a2fb95400eba7fac62bd6ed6feb81c324817a65b111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T16:57:10.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T16:57:10.809Z] + ls -al . [2020-09-01T16:57:10.809Z] total 104 [2020-09-01T16:57:10.809Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 1 16:57 . [2020-09-01T16:57:10.809Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 16:55 .. [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 4564 Sep 1 16:55 Attribution.txt [2020-09-01T16:57:10.809Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 1 16:55 bin [2020-09-01T16:57:10.809Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 16:55 cmd [2020-09-01T16:57:10.809Z] -rw-r--r--. 1 jenkins jenkins 22364 Sep 1 16:57 coverage.out [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 1430 Sep 1 16:55 Dockerfile [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 954 Sep 1 16:55 Dockerfile.build [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 16:55 .dockerignore [2020-09-01T16:57:10.809Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 16:55 .git [2020-09-01T16:57:10.809Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 16:55 .github [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 330 Sep 1 16:55 .gitignore [2020-09-01T16:57:10.809Z] -rw-r--r--. 1 jenkins jenkins 559 Sep 1 16:57 go.mod [2020-09-01T16:57:10.809Z] -rw-r--r--. 1 jenkins jenkins 13471 Sep 1 16:57 go.sum [2020-09-01T16:57:10.809Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 1 16:55 internal [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 16:55 Jenkinsfile [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 16:55 LICENSE [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 880 Sep 1 16:55 Makefile [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 591 Sep 1 16:55 README.md [2020-09-01T16:57:10.809Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 16:55 .semver [2020-09-01T16:57:10.809Z] drwxrwxr-x. 2 jenkins jenkins 52 Sep 1 16:55 simulator [2020-09-01T16:57:10.809Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 16:55 snap [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 16:53 VERSION [2020-09-01T16:57:10.809Z] -rw-rw-r--. 1 jenkins jenkins 229 Sep 1 16:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T16:57:11.118Z] + 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 . [2020-09-01T16:57:11.118Z] Sending build context to Docker daemon 705kB [2020-09-01T16:57:11.378Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-09-01T16:57:11.378Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-01T16:57:11.378Z] ---> f1c675a3aa11 [2020-09-01T16:57:11.378Z] Step 3/20 : ARG MAKE='make build' [2020-09-01T16:57:11.957Z] ---> Running in 62b2051e4f6f [2020-09-01T16:57:11.957Z] Removing intermediate container 62b2051e4f6f [2020-09-01T16:57:11.957Z] ---> 10f7bccbc60d [2020-09-01T16:57:11.957Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T16:57:11.957Z] ---> Running in b7eb578fba12 [2020-09-01T16:57:12.905Z] Removing intermediate container b7eb578fba12 [2020-09-01T16:57:12.905Z] ---> f6d9ff5d555e [2020-09-01T16:57:12.905Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T16:57:12.905Z] ---> Running in a99611b942c7 [2020-09-01T16:57:13.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T16:57:14.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T16:57:14.993Z] OK: 237 MiB in 53 packages [2020-09-01T16:57:15.254Z] Removing intermediate container a99611b942c7 [2020-09-01T16:57:15.254Z] ---> 7ac5f738a373 [2020-09-01T16:57:15.254Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-01T16:57:15.254Z] ---> Running in 036aae1b5aae [2020-09-01T16:57:15.516Z] Removing intermediate container 036aae1b5aae [2020-09-01T16:57:15.516Z] ---> 0fbe1ed6a9e6 [2020-09-01T16:57:15.516Z] Step 7/20 : COPY . . [2020-09-01T16:57:16.088Z] ---> fe761ed2d4f3 [2020-09-01T16:57:16.088Z] Step 8/20 : RUN ${MAKE} [2020-09-01T16:57:16.349Z] ---> Running in 6487ba864d7d [2020-09-01T16:57:16.611Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-01T16:57:24.891Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T16:57:27.445Z] Removing intermediate container 6487ba864d7d [2020-09-01T16:57:27.445Z] ---> a26f6e99e950 [2020-09-01T16:57:27.445Z] Step 9/20 : FROM scratch [2020-09-01T16:57:27.445Z] ---> [2020-09-01T16:57:27.445Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-01T16:57:27.445Z] ---> Running in 2b9d315ce82c [2020-09-01T16:57:27.445Z] Removing intermediate container 2b9d315ce82c [2020-09-01T16:57:27.445Z] ---> 0dce4cd76bd3 [2020-09-01T16:57:27.445Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-01T16:57:27.445Z] ---> Running in 16be670c7690 [2020-09-01T16:57:27.706Z] Removing intermediate container 16be670c7690 [2020-09-01T16:57:27.706Z] ---> 82e8809d4a87 [2020-09-01T16:57:27.706Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-01T16:57:27.968Z] ---> a1dfce679a49 [2020-09-01T16:57:27.968Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-01T16:57:28.237Z] ---> 9d628505d797 [2020-09-01T16:57:28.237Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-01T16:57:28.499Z] ---> e4f8cdfd7b33 [2020-09-01T16:57:28.499Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-01T16:57:28.499Z] ---> Running in 4ccf27f015b2 [2020-09-01T16:57:28.763Z] Removing intermediate container 4ccf27f015b2 [2020-09-01T16:57:28.763Z] ---> fa8c5e2eeafa [2020-09-01T16:57:28.763Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-01T16:57:28.763Z] ---> Running in 214f3d3d82f1 [2020-09-01T16:57:29.023Z] Removing intermediate container 214f3d3d82f1 [2020-09-01T16:57:29.023Z] ---> eace5e9b3688 [2020-09-01T16:57:29.023Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T16:57:29.023Z] ---> Running in 83c9ddae7ac0 [2020-09-01T16:57:29.284Z] Removing intermediate container 83c9ddae7ac0 [2020-09-01T16:57:29.284Z] ---> 8f0a8619dec5 [2020-09-01T16:57:29.284Z] Step 18/20 : LABEL arch=amd64 [2020-09-01T16:57:29.284Z] ---> Running in d985233f31fc [2020-09-01T16:57:29.284Z] Removing intermediate container d985233f31fc [2020-09-01T16:57:29.284Z] ---> 55f2cb09f645 [2020-09-01T16:57:29.284Z] Step 19/20 : LABEL git_sha=cc82fffd0942b6cb9e31b6f82c9fa69ca3f827c6 [2020-09-01T16:57:29.544Z] ---> Running in c82cd4e058c5 [2020-09-01T16:57:29.544Z] Removing intermediate container c82cd4e058c5 [2020-09-01T16:57:29.544Z] ---> d64d8c2b40c7 [2020-09-01T16:57:29.544Z] Step 20/20 : LABEL version=0.0.0 [2020-09-01T16:57:29.544Z] ---> Running in e867d58aaef7 [2020-09-01T16:57:29.805Z] Removing intermediate container e867d58aaef7 [2020-09-01T16:57:29.805Z] ---> 861992370db8 [2020-09-01T16:57:29.805Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T16:57:29.805Z] Successfully built 861992370db8 [2020-09-01T16:57:29.805Z] 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 [2020-09-01T16:57:45.429Z] Still waiting to schedule task [2020-09-01T16:57:45.430Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-09-01T16:57:57.803Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-1040 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-09-01T16:57:57.850Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2020-09-01T16:58:01.841Z] using credential edgex-jenkins-ssh [2020-09-01T16:58:01.919Z] Cloning the remote Git repository [2020-09-01T16:58:01.919Z] Cloning with configured refspecs honoured and without tags [2020-09-01T16:58:01.973Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:02.077Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2020-09-01T16:58:02.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:02.134Z] > git --version # timeout=10 [2020-09-01T16:58:02.149Z] > git --version # 'git version 2.17.1' [2020-09-01T16:58:02.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:02.197Z] > 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 [2020-09-01T16:58:03.180Z] Fetching without tags [2020-09-01T16:58:03.676Z] Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-09-01T16:58:03.867Z] Merge succeeded, producing 5587417a9e8fb19766b19fe239a35ad1b3afff8f [2020-09-01T16:58:03.867Z] Checking out Revision 5587417a9e8fb19766b19fe239a35ad1b3afff8f (PR-162) [2020-09-01T16:58:03.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:58:03.140Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-09-01T16:58:03.152Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T16:58:03.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:58:03.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:03.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:03.210Z] > 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 [2020-09-01T16:58:03.699Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:58:03.712Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-09-01T16:58:03.782Z] > git remote # timeout=10 [2020-09-01T16:58:03.796Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T16:58:03.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:03.815Z] > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 [2020-09-01T16:58:03.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T16:58:03.878Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:58:03.888Z] > git checkout -f 5587417a9e8fb19766b19fe239a35ad1b3afff8f # timeout=10 [2020-09-01T16:58:07.985Z] Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" [2020-09-01T16:58:08.007Z] First time build. Skipping changelog. [2020-09-01T16:58:07.997Z] > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-01T16:58:09.583Z] + find /w/workspace/device-modbus-go/5 [2020-09-01T16:58:09.583Z] + grep snapcraft.yaml [2020-09-01T16:58:09.583Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T16:58:09.803Z] provisioning config files... [2020-09-01T16:58:09.823Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config4984219210629048471tmp [Pipeline] { [Pipeline] sh [2020-09-01T16:58:10.233Z] + cp /w/workspace/device-modbus-go/5@tmp/config4984219210629048471tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh [2020-09-01T16:58:10.563Z] + 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 [2020-09-01T16:58:11.158Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-09-01T16:58:11.431Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-09-01T16:58:11.431Z] 237528ba509b: Pulling fs layer [2020-09-01T16:58:11.431Z] 393b96f31d8b: Pulling fs layer [2020-09-01T16:58:11.431Z] 4d82b0e39008: Pulling fs layer [2020-09-01T16:58:11.431Z] e7ca375b8d34: Pulling fs layer [2020-09-01T16:58:11.431Z] 418f656485bb: Pulling fs layer [2020-09-01T16:58:11.431Z] aebe8db9254c: Pulling fs layer [2020-09-01T16:58:11.431Z] 4f5f7b207d3f: Pulling fs layer [2020-09-01T16:58:11.431Z] d19ca6af091a: Pulling fs layer [2020-09-01T16:58:11.431Z] 16b5a0711add: Pulling fs layer [2020-09-01T16:58:11.431Z] e7ca375b8d34: Waiting [2020-09-01T16:58:11.431Z] d19ca6af091a: Waiting [2020-09-01T16:58:11.431Z] aebe8db9254c: Waiting [2020-09-01T16:58:11.431Z] 418f656485bb: Waiting [2020-09-01T16:58:11.431Z] 16b5a0711add: Waiting [2020-09-01T16:58:11.431Z] 4d82b0e39008: Verifying Checksum [2020-09-01T16:58:11.431Z] 4d82b0e39008: Download complete [2020-09-01T16:58:11.431Z] 393b96f31d8b: Verifying Checksum [2020-09-01T16:58:11.431Z] 393b96f31d8b: Download complete [2020-09-01T16:58:11.431Z] e7ca375b8d34: Verifying Checksum [2020-09-01T16:58:11.431Z] e7ca375b8d34: Download complete [2020-09-01T16:58:11.431Z] aebe8db9254c: Download complete [2020-09-01T16:58:11.431Z] 4f5f7b207d3f: Download complete [2020-09-01T16:58:11.431Z] d19ca6af091a: Verifying Checksum [2020-09-01T16:58:11.431Z] d19ca6af091a: Download complete [2020-09-01T16:58:11.431Z] 16b5a0711add: Download complete [2020-09-01T16:58:12.412Z] 237528ba509b: Download complete [2020-09-01T16:58:15.038Z] 237528ba509b: Pull complete [2020-09-01T16:58:15.636Z] 393b96f31d8b: Pull complete [2020-09-01T16:58:15.908Z] 4d82b0e39008: Pull complete [2020-09-01T16:58:16.179Z] e7ca375b8d34: Pull complete [2020-09-01T16:58:21.572Z] 418f656485bb: Verifying Checksum [2020-09-01T16:58:21.572Z] 418f656485bb: Download complete [2020-09-01T16:58:47.000Z] Running on prd-centos7-docker-8c-8g-1041 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-09-01T16:58:47.044Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2020-09-01T16:58:48.767Z] using credential edgex-jenkins-ssh [2020-09-01T16:58:48.811Z] Cloning the remote Git repository [2020-09-01T16:58:48.811Z] Cloning with configured refspecs honoured and without tags [2020-09-01T16:58:48.832Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:48.888Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2020-09-01T16:58:48.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:48.906Z] > git --version # timeout=10 [2020-09-01T16:58:48.911Z] > git --version # 'git version 2.16.5' [2020-09-01T16:58:48.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:48.929Z] > 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 [2020-09-01T16:58:49.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:58:49.345Z] Fetching without tags [2020-09-01T16:58:49.722Z] Merging remotes/origin/master commit 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-09-01T16:58:49.792Z] Merge succeeded, producing f785bcbf1b5fc45ea29b0e1748466a56beba3968 [2020-09-01T16:58:49.793Z] Checking out Revision f785bcbf1b5fc45ea29b0e1748466a56beba3968 (PR-162) [2020-09-01T16:58:49.334Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-09-01T16:58:49.338Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T16:58:49.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T16:58:49.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T16:58:49.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:49.357Z] > 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 [2020-09-01T16:58:49.733Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:58:49.736Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-09-01T16:58:49.759Z] > git remote # timeout=10 [2020-09-01T16:58:49.771Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T16:58:49.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T16:58:49.778Z] > git merge 0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b # timeout=10 [2020-09-01T16:58:49.792Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T16:58:49.799Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T16:58:49.804Z] > git checkout -f f785bcbf1b5fc45ea29b0e1748466a56beba3968 # timeout=10 [2020-09-01T16:58:53.244Z] Commit message: "Merge commit '0f6ae8749af9f9e65a1ee381fa9340c5d8325f5b' into HEAD" [2020-09-01T16:58:53.252Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-01T16:58:53.252Z] > git rev-list --no-walk 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 [2020-09-01T16:58:54.234Z] ++ find /w/workspace/device-modbus-go/5 [2020-09-01T16:58:54.234Z] ++ grep snapcraft.yaml [2020-09-01T16:58:54.234Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T16:58:54.351Z] provisioning config files... [2020-09-01T16:58:54.360Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/5@tmp/config3762224889872052929tmp [Pipeline] { [Pipeline] sh [2020-09-01T16:58:54.721Z] + cp /w/workspace/device-modbus-go/5@tmp/config3762224889872052929tmp /w/workspace/device-modbus-go/5/edgex-snap-store-login [Pipeline] sh [2020-09-01T16:58:55.011Z] + 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 [2020-09-01T16:58:55.011Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-09-01T16:58:55.011Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-09-01T16:58:55.011Z] f08d8e2a3ba1: Pulling fs layer [2020-09-01T16:58:55.011Z] 3baa9cb2483b: Pulling fs layer [2020-09-01T16:58:55.011Z] 94e5ff4c0b15: Pulling fs layer [2020-09-01T16:58:55.011Z] 1860925334f9: Pulling fs layer [2020-09-01T16:58:55.011Z] 2daf38717194: Pulling fs layer [2020-09-01T16:58:55.011Z] 309017e8d7a4: Pulling fs layer [2020-09-01T16:58:55.011Z] f7790dc9fd0f: Pulling fs layer [2020-09-01T16:58:55.011Z] cac0ae9282c2: Pulling fs layer [2020-09-01T16:58:55.011Z] 1f4cadf9a1ed: Pulling fs layer [2020-09-01T16:58:55.011Z] 1f4cadf9a1ed: Waiting [2020-09-01T16:58:55.011Z] f7790dc9fd0f: Waiting [2020-09-01T16:58:55.011Z] 2daf38717194: Waiting [2020-09-01T16:58:55.011Z] 309017e8d7a4: Waiting [2020-09-01T16:58:55.011Z] 1860925334f9: Waiting [2020-09-01T16:58:55.011Z] cac0ae9282c2: Waiting [2020-09-01T16:58:55.270Z] 94e5ff4c0b15: Verifying Checksum [2020-09-01T16:58:55.270Z] 94e5ff4c0b15: Download complete [2020-09-01T16:58:55.270Z] 3baa9cb2483b: Download complete [2020-09-01T16:58:55.270Z] 1860925334f9: Verifying Checksum [2020-09-01T16:58:55.270Z] 1860925334f9: Download complete [2020-09-01T16:58:55.270Z] 309017e8d7a4: Verifying Checksum [2020-09-01T16:58:55.270Z] 309017e8d7a4: Download complete [2020-09-01T16:58:55.270Z] f7790dc9fd0f: Verifying Checksum [2020-09-01T16:58:55.270Z] f7790dc9fd0f: Download complete [2020-09-01T16:58:55.270Z] cac0ae9282c2: Verifying Checksum [2020-09-01T16:58:55.270Z] cac0ae9282c2: Download complete [2020-09-01T16:58:55.270Z] 1f4cadf9a1ed: Verifying Checksum [2020-09-01T16:58:55.270Z] 1f4cadf9a1ed: Download complete [2020-09-01T16:58:55.531Z] f08d8e2a3ba1: Verifying Checksum [2020-09-01T16:58:55.531Z] f08d8e2a3ba1: Download complete [2020-09-01T16:58:56.475Z] f08d8e2a3ba1: Pull complete [2020-09-01T16:58:56.735Z] 3baa9cb2483b: Pull complete [2020-09-01T16:58:56.735Z] 94e5ff4c0b15: Pull complete [2020-09-01T16:58:56.735Z] 1860925334f9: Pull complete [2020-09-01T16:58:59.276Z] 2daf38717194: Verifying Checksum [2020-09-01T16:58:59.276Z] 2daf38717194: Download complete [2020-09-01T16:59:08.524Z] 418f656485bb: Pull complete [2020-09-01T16:59:08.524Z] aebe8db9254c: Pull complete [2020-09-01T16:59:08.524Z] 4f5f7b207d3f: Pull complete [2020-09-01T16:59:08.524Z] d19ca6af091a: Pull complete [2020-09-01T16:59:08.524Z] 16b5a0711add: Pull complete [2020-09-01T16:59:08.524Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-09-01T16:59:08.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-09-01T16:59:08.524Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-01T16:59:08.524Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-09-01T16:59:08.524Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-09-01T16:59:08.799Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-09-01T16:59:09.073Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [930 kB] [2020-09-01T16:59:09.668Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1257 kB] [2020-09-01T16:59:09.668Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [651 kB] [2020-09-01T16:59:09.939Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [779 kB] [2020-09-01T16:59:10.210Z] Fetched 3869 kB in 2s (1766 kB/s) [2020-09-01T16:59:14.172Z] 2daf38717194: Pull complete [2020-09-01T16:59:14.172Z] 309017e8d7a4: Pull complete [2020-09-01T16:59:14.172Z] f7790dc9fd0f: Pull complete [2020-09-01T16:59:14.172Z] cac0ae9282c2: Pull complete [2020-09-01T16:59:14.172Z] 1f4cadf9a1ed: Pull complete [2020-09-01T16:59:14.172Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-09-01T16:59:14.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-09-01T16:59:14.501Z] Reading package lists... [2020-09-01T16:59:17.467Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-09-01T16:59:17.728Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-09-01T16:59:17.728Z] Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1050 kB] [2020-09-01T16:59:17.728Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-09-01T16:59:17.728Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [891 kB] [2020-09-01T16:59:17.989Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [102 kB] [2020-09-01T16:59:17.989Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-09-01T16:59:18.250Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1421 kB] [2020-09-01T16:59:18.509Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1359 kB] [2020-09-01T16:59:18.509Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [123 kB] [2020-09-01T16:59:18.769Z] Fetched 5199 kB in 1s (4011 kB/s) [2020-09-01T16:59:20.148Z] Reading package lists... [2020-09-01T16:59:23.440Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-09-01T16:59:23.440Z] 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 [2020-09-01T16:59:23.441Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-09-01T16:59:23.441Z] 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 [2020-09-01T16:59:24.379Z] 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 [2020-09-01T16:59:26.284Z] 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 [2020-09-01T16:59:27.113Z] 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 [2020-09-01T16:59:27.141Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-01T16:59:27.141Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-09-01T16:59:27.141Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-09-01T16:59:27.141Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-09-01T16:59:27.372Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-09-01T16:59:27.372Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-01T16:59:27.372Z] The following packages were automatically installed and are no longer required: [2020-09-01T16:59:27.372Z] libjq1 libonig4 [2020-09-01T16:59:27.372Z] Use 'sudo apt autoremove' to remove them. [2020-09-01T16:59:27.372Z] Suggested packages: [2020-09-01T16:59:27.372Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-01T16:59:27.372Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-01T16:59:27.372Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-01T16:59:27.372Z] | libterm-readline-perl-perl [2020-09-01T16:59:27.632Z] The following NEW packages will be installed: [2020-09-01T16:59:27.632Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-01T16:59:27.632Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T16:59:27.632Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-09-01T16:59:27.632Z] Need to get 12.0 MB of archives. [2020-09-01T16:59:27.632Z] After this operation, 77.5 MB of additional disk space will be used. [2020-09-01T16:59:27.632Z] 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] [2020-09-01T16:59:28.459Z] 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] [2020-09-01T16:59:28.459Z] 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] [2020-09-01T16:59:28.459Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 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] [2020-09-01T16:59:28.717Z] 98% [14 patch 8565 B/102 kB 8%] 100% [Working] Fetched 12.0 MB in 1s (9151 kB/s) [2020-09-01T16:59:28.976Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-01T16:59:28.976Z] Selecting previously unselected package perl-modules-5.26. [2020-09-01T16:59:28.976Z] (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.) [2020-09-01T16:59:28.976Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-01T16:59:28.976Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:29.913Z] Selecting previously unselected package libgdbm5:amd64. [2020-09-01T16:59:29.913Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-09-01T16:59:29.913Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-09-01T16:59:30.172Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-09-01T16:59:30.172Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-09-01T16:59:30.172Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-01T16:59:30.172Z] Selecting previously unselected package libperl5.26:amd64. [2020-09-01T16:59:30.172Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-01T16:59:30.172Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:30.741Z] Selecting previously unselected package perl. [2020-09-01T16:59:30.741Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-01T16:59:30.741Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:30.741Z] Selecting previously unselected package less. [2020-09-01T16:59:30.741Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-09-01T16:59:30.741Z] Unpacking less (487-0.1) ... [2020-09-01T16:59:31.000Z] Selecting previously unselected package netbase. [2020-09-01T16:59:31.000Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-01T16:59:31.000Z] Unpacking netbase (5.4) ... [2020-09-01T16:59:31.000Z] Selecting previously unselected package curl. [2020-09-01T16:59:31.000Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-01T16:59:31.000Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:31.000Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-09-01T16:59:31.000Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-01T16:59:31.000Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:31.260Z] Selecting previously unselected package liberror-perl. [2020-09-01T16:59:31.260Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-01T16:59:31.260Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-01T16:59:31.260Z] Selecting previously unselected package git-man. [2020-09-01T16:59:31.260Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-01T16:59:31.260Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:31.260Z] Selecting previously unselected package git. [2020-09-01T16:59:31.260Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-09-01T16:59:31.520Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:32.088Z] Selecting previously unselected package make. [2020-09-01T16:59:32.088Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-09-01T16:59:32.088Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-01T16:59:32.088Z] Selecting previously unselected package patch. [2020-09-01T16:59:32.088Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-09-01T16:59:32.088Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-01T16:59:32.088Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:32.088Z] Setting up less (487-0.1) ... [2020-09-01T16:59:32.347Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-01T16:59:32.347Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:32.347Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:32.347Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:32.347Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-09-01T16:59:32.347Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-01T16:59:32.347Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-01T16:59:32.347Z] Setting up netbase (5.4) ... [2020-09-01T16:59:32.347Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:32.347Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:32.601Z] 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 [2020-09-01T16:59:32.606Z] Setting up liberror-perl (0.17025-1) ... [2020-09-01T16:59:32.606Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:32.606Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-01T16:59:32.606Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-01T16:59:33.984Z] curl set to automatically installed. [2020-09-01T16:59:33.984Z] git set to automatically installed. [2020-09-01T16:59:33.984Z] git-man set to automatically installed. [2020-09-01T16:59:33.984Z] less set to automatically installed. [2020-09-01T16:59:33.984Z] libcurl3-gnutls set to automatically installed. [2020-09-01T16:59:33.984Z] liberror-perl set to automatically installed. [2020-09-01T16:59:33.984Z] libgdbm-compat4 set to automatically installed. [2020-09-01T16:59:33.984Z] libgdbm5 set to automatically installed. [2020-09-01T16:59:33.984Z] libperl5.26 set to automatically installed. [2020-09-01T16:59:33.984Z] make set to automatically installed. [2020-09-01T16:59:33.984Z] netbase set to automatically installed. [2020-09-01T16:59:33.984Z] patch set to automatically installed. [2020-09-01T16:59:33.984Z] perl set to automatically installed. [2020-09-01T16:59:33.984Z] perl-modules-5.26 set to automatically installed. [2020-09-01T16:59:33.984Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-01T16:59:33.984Z] Please ensure the environment is properly setup before continuing. [2020-09-01T16:59:33.984Z] Ignore this message if the appropriate measures have already been taken [2020-09-01T16:59:34.554Z] Pulling go  [2020-09-01T16:59:35.491Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-01T16:59:35.491Z] Skipping pull go (already ran) [2020-09-01T16:59:35.491Z] Building go  [2020-09-01T16:59:35.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-01T16:59:35.491Z] Dload Upload Total Spent Left Speed [2020-09-01T16:59:37.938Z] 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 [2020-09-01T16:59:38.878Z] go1.13.5.linux-amd64.tar.gz: OK [2020-09-01T16:59:39.286Z] 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 [2020-09-01T16:59:43.107Z] 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 [2020-09-01T16:59:43.918Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 65% Building dependency tree [2020-09-01T16:59:43.919Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-01T16:59:44.158Z] Staging go  [2020-09-01T16:59:44.508Z] The following packages were automatically installed and are no longer required: [2020-09-01T16:59:44.508Z] libjq1 libonig4 [2020-09-01T16:59:44.508Z] Use 'sudo apt autoremove' to remove them. [2020-09-01T16:59:44.508Z] Suggested packages: [2020-09-01T16:59:44.508Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-01T16:59:44.508Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-01T16:59:44.508Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-01T16:59:44.508Z] | libterm-readline-perl-perl [2020-09-01T16:59:45.096Z] The following NEW packages will be installed: [2020-09-01T16:59:45.096Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-01T16:59:45.096Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T16:59:45.096Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-09-01T16:59:45.096Z] Need to get 10.8 MB of archives. [2020-09-01T16:59:45.096Z] After this operation, 73.6 MB of additional disk space will be used. [2020-09-01T16:59:45.096Z] 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] [2020-09-01T16:59:45.098Z] Pulling device-modbus  [2020-09-01T16:59:45.955Z] 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] [2020-09-01T16:59:45.955Z] 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] [2020-09-01T16:59:45.955Z] 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] [2020-09-01T16:59:46.037Z] Skipping build go (already ran) [2020-09-01T16:59:46.037Z] Building device-modbus  [2020-09-01T16:59:46.037Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 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] [2020-09-01T16:59:46.225Z] 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (8113 kB/s) [2020-09-01T16:59:46.817Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-01T16:59:47.088Z] Selecting previously unselected package perl-modules-5.26. [2020-09-01T16:59:47.088Z] (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.) [2020-09-01T16:59:47.088Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-01T16:59:47.088Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:47.417Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T16:59:47.417Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T16:59:47.417Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-01T16:59:47.417Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-09-01T16:59:47.417Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-01T16:59:47.417Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T16:59:47.417Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-01T16:59:47.417Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-01T16:59:47.417Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T16:59:47.417Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T16:59:47.417Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-01T16:59:47.417Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T16:59:47.417Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-01T16:59:47.417Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-01T16:59:47.417Z] go: extracting github.com/google/uuid v1.1.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T16:59:47.676Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-09-01T16:59:47.676Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T16:59:47.676Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-01T16:59:47.676Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T16:59:47.676Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T16:59:47.676Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T16:59:47.676Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/pkg/errors v0.8.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T16:59:47.676Z] go: extracting github.com/x448/float16 v0.8.4 [2020-09-01T16:59:47.676Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T16:59:47.676Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-09-01T16:59:47.676Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T16:59:47.676Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T16:59:47.676Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T16:59:47.676Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T16:59:47.676Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T16:59:47.676Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T16:59:47.676Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-09-01T16:59:47.676Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T16:59:47.676Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-01T16:59:47.676Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T16:59:47.676Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T16:59:47.676Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T16:59:47.676Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T16:59:47.676Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-09-01T16:59:47.934Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T16:59:47.935Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T16:59:47.935Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T16:59:47.935Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T16:59:47.935Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T16:59:47.935Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T16:59:47.935Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T16:59:47.935Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T16:59:47.935Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T16:59:47.935Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T16:59:47.935Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T16:59:48.193Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T16:59:48.193Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T16:59:48.193Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T16:59:48.193Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T16:59:48.193Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T16:59:48.193Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T16:59:48.193Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T16:59:48.193Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T16:59:48.193Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T16:59:48.193Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T16:59:48.193Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T16:59:48.193Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T16:59:48.193Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T16:59:48.193Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T16:59:48.193Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T16:59:48.193Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T16:59:48.193Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T16:59:48.193Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T16:59:48.193Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T16:59:48.193Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T16:59:48.193Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T16:59:48.193Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T16:59:48.193Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T16:59:48.193Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T16:59:48.458Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T16:59:48.458Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T16:59:48.517Z] Selecting previously unselected package libgdbm5:arm64. [2020-09-01T16:59:48.517Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-09-01T16:59:48.517Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-09-01T16:59:48.517Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-09-01T16:59:48.788Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-09-01T16:59:48.788Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-01T16:59:48.788Z] Selecting previously unselected package libperl5.26:arm64. [2020-09-01T16:59:48.788Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-01T16:59:48.788Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:50.214Z] Selecting previously unselected package perl. [2020-09-01T16:59:50.214Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-01T16:59:50.214Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:50.214Z] Selecting previously unselected package less. [2020-09-01T16:59:50.214Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-09-01T16:59:50.214Z] Unpacking less (487-0.1) ... [2020-09-01T16:59:50.486Z] Selecting previously unselected package netbase. [2020-09-01T16:59:50.486Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-01T16:59:50.486Z] Unpacking netbase (5.4) ... [2020-09-01T16:59:50.486Z] Selecting previously unselected package curl. [2020-09-01T16:59:50.486Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-01T16:59:50.486Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:50.758Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-09-01T16:59:50.758Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-01T16:59:50.758Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:50.758Z] Selecting previously unselected package liberror-perl. [2020-09-01T16:59:50.758Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-01T16:59:50.758Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-01T16:59:51.029Z] Selecting previously unselected package git-man. [2020-09-01T16:59:51.029Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-01T16:59:51.029Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:51.301Z] Selecting previously unselected package git. [2020-09-01T16:59:51.301Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-09-01T16:59:51.301Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:52.728Z] Selecting previously unselected package make. [2020-09-01T16:59:52.728Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-09-01T16:59:52.728Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-01T16:59:52.728Z] Selecting previously unselected package patch. [2020-09-01T16:59:52.729Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-09-01T16:59:52.729Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-01T16:59:52.729Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:52.729Z] Setting up less (487-0.1) ... [2020-09-01T16:59:52.999Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-01T16:59:53.270Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:53.270Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-01T16:59:53.270Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:53.270Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-09-01T16:59:53.270Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-01T16:59:53.270Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-01T16:59:53.270Z] Setting up netbase (5.4) ... [2020-09-01T16:59:53.541Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:53.541Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-01T16:59:53.541Z] Setting up liberror-perl (0.17025-1) ... [2020-09-01T16:59:53.541Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T16:59:53.791Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T16:59:53.812Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-01T16:59:53.812Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-01T16:59:57.084Z] Skipping stage go (already ran) [2020-09-01T16:59:57.084Z] Staging device-modbus  [2020-09-01T16:59:57.654Z] Priming go  [2020-09-01T16:59:58.594Z] Priming device-modbus  [2020-09-01T16:59:59.161Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-01T16:59:59.161Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-01T16:59:59.161Z] Determining the version from the project repo (version-script). [2020-09-01T16:59:59.161Z] The version has been set to '1.2.1-20200901+f785bcb' [2020-09-01T16:59:59.183Z] curl set to automatically installed. [2020-09-01T16:59:59.183Z] git set to automatically installed. [2020-09-01T16:59:59.183Z] git-man set to automatically installed. [2020-09-01T16:59:59.183Z] less set to automatically installed. [2020-09-01T16:59:59.183Z] libcurl3-gnutls set to automatically installed. [2020-09-01T16:59:59.183Z] liberror-perl set to automatically installed. [2020-09-01T16:59:59.183Z] libgdbm-compat4 set to automatically installed. [2020-09-01T16:59:59.183Z] libgdbm5 set to automatically installed. [2020-09-01T16:59:59.183Z] libperl5.26 set to automatically installed. [2020-09-01T16:59:59.183Z] make set to automatically installed. [2020-09-01T16:59:59.183Z] netbase set to automatically installed. [2020-09-01T16:59:59.183Z] patch set to automatically installed. [2020-09-01T16:59:59.183Z] perl set to automatically installed. [2020-09-01T16:59:59.183Z] perl-modules-5.26 set to automatically installed. [2020-09-01T16:59:59.183Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-01T16:59:59.183Z] Please ensure the environment is properly setup before continuing. [2020-09-01T16:59:59.183Z] Ignore this message if the appropriate measures have already been taken [2020-09-01T16:59:59.975Z] Snapping | Snapping / Snapping - Snapping | [2020-09-01T16:59:59.976Z] Snapped edgex-device-modbus_1.2.1-20200901+f785bcb_amd64.snap [2020-09-01T17:00:00.152Z] Pulling go  [Pipeline] } [2020-09-01T17:00:01.906Z] 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] } [2020-09-01T17:00:03.536Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-01T17:00:03.536Z] Skipping pull go (already ran) [2020-09-01T17:00:03.536Z] Building go  [2020-09-01T17:00:03.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-01T17:00:03.536Z] Dload Upload Total Spent Left Speed [2020-09-01T17:00:06.076Z] 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 [2020-09-01T17:00:07.499Z] go1.13.5.linux-arm64.tar.gz: OK [2020-09-01T17:00:25.770Z] Staging go  [2020-09-01T17:00:27.743Z] Pulling device-modbus  [2020-09-01T17:00:31.122Z] Skipping build go (already ran) [2020-09-01T17:00:31.122Z] Building device-modbus  [2020-09-01T17:00:31.393Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd [2020-09-01T17:00:32.818Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T17:00:33.088Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T17:00:33.088Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-01T17:00:33.088Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-09-01T17:00:33.088Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-01T17:00:33.088Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T17:00:33.088Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T17:00:33.088Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-01T17:00:33.088Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-01T17:00:33.088Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-01T17:00:33.088Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T17:00:33.088Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T17:00:33.359Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-01T17:00:33.359Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-01T17:00:33.359Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-09-01T17:00:33.359Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T17:00:33.360Z] go: extracting github.com/google/uuid v1.1.1 [2020-09-01T17:00:33.360Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T17:00:33.360Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T17:00:33.360Z] go: extracting github.com/pkg/errors v0.8.1 [2020-09-01T17:00:33.360Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T17:00:33.360Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-01T17:00:33.360Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T17:00:33.360Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T17:00:33.360Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T17:00:33.360Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T17:00:33.360Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T17:00:33.360Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-09-01T17:00:33.360Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T17:00:33.360Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-01T17:00:33.360Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-01T17:00:33.360Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T17:00:33.360Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T17:00:33.360Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T17:00:33.360Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-01T17:00:33.360Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T17:00:33.360Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T17:00:33.630Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-01T17:00:33.630Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T17:00:33.630Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-09-01T17:00:33.630Z] go: extracting github.com/x448/float16 v0.8.4 [2020-09-01T17:00:33.630Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T17:00:33.630Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T17:00:33.630Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T17:00:33.630Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T17:00:33.630Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-09-01T17:00:33.630Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T17:00:33.630Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T17:00:33.630Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-09-01T17:00:33.630Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T17:00:33.903Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T17:00:33.903Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T17:00:33.903Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T17:00:33.903Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T17:00:33.903Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T17:00:33.903Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T17:00:33.903Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T17:00:33.903Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T17:00:34.175Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T17:00:34.175Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T17:00:34.175Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T17:00:34.175Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T17:00:34.175Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T17:00:34.175Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T17:00:34.175Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T17:00:34.175Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T17:00:34.175Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T17:00:34.175Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T17:00:34.175Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T17:00:34.175Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T17:00:34.175Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T17:00:34.175Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T17:00:34.175Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T17:00:34.175Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T17:00:34.175Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T17:00:34.175Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T17:00:34.175Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T17:00:34.175Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T17:00:34.175Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T17:00:34.175Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T17:00:34.175Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T17:00:34.175Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T17:00:34.175Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T17:00:34.175Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T17:00:34.450Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T17:00:34.450Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T17:00:34.450Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T17:00:34.450Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T17:00:52.741Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T17:01:07.785Z] Skipping stage go (already ran) [2020-09-01T17:01:07.785Z] Staging device-modbus  [2020-09-01T17:01:09.751Z] Priming go  [2020-09-01T17:01:13.116Z] Priming device-modbus  [2020-09-01T17:01:16.488Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-01T17:01:16.488Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-01T17:01:16.488Z] Determining the version from the project repo (version-script). [2020-09-01T17:01:16.488Z] The version has been set to '1.2.1-20200901+5587417' [2020-09-01T17:01:17.316Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | [2020-09-01T17:01:17.316Z] Snapped edgex-device-modbus_1.2.1-20200901+5587417_arm64.snap [Pipeline] } [2020-09-01T17:01:19.937Z] 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 [2020-09-01T17:01:21.908Z] provisioning config files... [2020-09-01T17:01:21.922Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config1173268275654174515tmp [Pipeline] { [Pipeline] sh [2020-09-01T17:01:22.290Z] + curl -s https://codecov.io/bash [2020-09-01T17:01:22.290Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config1173268275654174515tmp [Pipeline] } [2020-09-01T17:01:22.561Z] 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 [2020-09-01T17:01:24.629Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T17:01:25.203Z] ---> package-listing.sh [2020-09-01T17:01:25.203Z] ++ facter osfamily [2020-09-01T17:01:25.203Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T17:01:25.203Z] + OS_FAMILY=redhat [2020-09-01T17:01:25.203Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 [2020-09-01T17:01:25.203Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T17:01:25.203Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T17:01:25.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T17:01:25.203Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T17:01:25.203Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-09-01T17:01:25.203Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T17:01:25.203Z] + case "${OS_FAMILY}" in [2020-09-01T17:01:25.203Z] + rpm -qa [2020-09-01T17:01:25.203Z] + sort [2020-09-01T17:01:29.412Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T17:01:29.412Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T17:01:29.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T17:01:29.412Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-09-01T17:01:29.412Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [2020-09-01T17:01:29.412Z] + 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 [2020-09-01T17:01:30.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T17:01:30.285Z] [2020-09-01T17:01:30.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T17:01:30.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T17:01:30.713Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T17:01:30.714Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T17:01:30.714Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T17:01:30.714Z] 756a868c4378: Pulling fs layer [2020-09-01T17:01:30.714Z] 444b2fc9a129: Pulling fs layer [2020-09-01T17:01:30.714Z] ea15f1150254: Pulling fs layer [2020-09-01T17:01:30.714Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T17:01:30.714Z] 28c525ee5125: Pulling fs layer [2020-09-01T17:01:30.714Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T17:01:30.714Z] 138eaada9080: Pulling fs layer [2020-09-01T17:01:30.714Z] 444b2fc9a129: Waiting [2020-09-01T17:01:30.714Z] 0622d0fa9048: Pulling fs layer [2020-09-01T17:01:30.714Z] ea15f1150254: Waiting [2020-09-01T17:01:30.714Z] 41b27a9f41bf: Waiting [2020-09-01T17:01:30.714Z] 28c525ee5125: Waiting [2020-09-01T17:01:30.714Z] 094b1ea09ed8: Waiting [2020-09-01T17:01:30.714Z] 138eaada9080: Waiting [2020-09-01T17:01:30.714Z] 0622d0fa9048: Waiting [2020-09-01T17:01:30.714Z] 2cc5ad85d9ab: Download complete [2020-09-01T17:01:30.714Z] 444b2fc9a129: Verifying Checksum [2020-09-01T17:01:30.714Z] 444b2fc9a129: Download complete [2020-09-01T17:01:30.714Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T17:01:30.714Z] c9b1b535fdd9: Download complete [2020-09-01T17:01:30.714Z] ea15f1150254: Download complete [2020-09-01T17:01:30.998Z] 28c525ee5125: Verifying Checksum [2020-09-01T17:01:30.998Z] 28c525ee5125: Download complete [2020-09-01T17:01:31.288Z] 756a868c4378: Verifying Checksum [2020-09-01T17:01:31.288Z] 756a868c4378: Download complete [2020-09-01T17:01:31.288Z] c9b1b535fdd9: Pull complete [2020-09-01T17:01:31.288Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T17:01:31.288Z] 094b1ea09ed8: Download complete [2020-09-01T17:01:31.560Z] 138eaada9080: Verifying Checksum [2020-09-01T17:01:31.560Z] 138eaada9080: Download complete [2020-09-01T17:01:31.560Z] 0622d0fa9048: Verifying Checksum [2020-09-01T17:01:31.560Z] 0622d0fa9048: Download complete [2020-09-01T17:01:31.825Z] 2cc5ad85d9ab: Pull complete [2020-09-01T17:01:31.825Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T17:01:31.825Z] 41b27a9f41bf: Download complete [2020-09-01T17:01:33.255Z] 756a868c4378: Pull complete [2020-09-01T17:01:33.255Z] 444b2fc9a129: Pull complete [2020-09-01T17:01:33.520Z] ea15f1150254: Pull complete [2020-09-01T17:01:37.790Z] 41b27a9f41bf: Pull complete [2020-09-01T17:01:37.790Z] 28c525ee5125: Pull complete [2020-09-01T17:01:40.663Z] 094b1ea09ed8: Pull complete [2020-09-01T17:01:40.663Z] 138eaada9080: Pull complete [2020-09-01T17:01:40.927Z] 0622d0fa9048: Pull complete [2020-09-01T17:01:40.927Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T17:01:40.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T17:01:40.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T17:01:41.121Z] prd-centos7-docker-4c-2g-1038 does not seem to be running inside a container [2020-09-01T17:01:41.216Z] $ 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 [2020-09-01T17:01:44.654Z] $ docker top fff6e47db75c709575cc20f5b6245da868a1f1511c52e1f76202f84752606306 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T17:01:44.991Z] provisioning config files... [2020-09-01T17:01:45.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config8321578115620044446tmp [Pipeline] { [Pipeline] echo [2020-09-01T17:01:45.118Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T17:01:45.438Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T17:01:45.453Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T17:01:45.766Z] ---> logs-deploy.sh [2020-09-01T17:01:45.766Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/5 [2020-09-01T17:01:45.766Z] INFO: archiving workspace using pattern(s): [2020-09-01T17:01:47.192Z] Archives upload complete. [2020-09-01T17:01:47.192Z] INFO: archiving logs to Nexus