Pull request #162 opened 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 6937054a9f53d0f326f0c0156aeef009133f8f46+3d6b06ce9c8aabcbe3b96acc6656864e00d04358 (119dccdabe2d489cf7bd0017964038a0f4bdf98f) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-162/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 # timeout=10 Commit message: "Merge pull request #220 from ernestojeda/fix-arm64-semver" > 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 > git --version # 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 SNAP_CHANNEL: latest/edge BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-344 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 upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 6937054a9f53d0f326f0c0156aeef009133f8f46 Merge succeeded, producing 6937054a9f53d0f326f0c0156aeef009133f8f46 Checking out Revision 6937054a9f53d0f326f0c0156aeef009133f8f46 (PR-162) > 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 6937054a9f53d0f326f0c0156aeef009133f8f46 # 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 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6937054a9f53d0f326f0c0156aeef009133f8f46 # timeout=10 Commit message: "feat: Modify Modbus simulator to support device scaling" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-18T02:32:17.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-18T02:32:17.890Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-18T02:32:18.103Z] ========================================================= [2020-08-18T02:32:18.103Z] EdgeX Global Pipelines Version Info [2020-08-18T02:32:18.103Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-18T02:32:20.019Z] ------------------- [2020-08-18T02:32:20.019Z] stable info: [2020-08-18T02:32:20.019Z] ------------------- [2020-08-18T02:32:20.019Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-18T02:32:20.019Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-18T02:32:20.019Z] Message: update stable to v1.0.106 [2020-08-18T02:32:20.589Z] ------------------- [2020-08-18T02:32:20.589Z] experimental info: [2020-08-18T02:32:20.589Z] ------------------- [2020-08-18T02:32:20.589Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-18T02:32:20.589Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-18T02:32:20.589Z] Message: update experimental to v1.0.111 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-18T02:32:23.228Z] + git log --format=format:%s -1 6937054a9f53d0f326f0c0156aeef009133f8f46 [Pipeline] echo [2020-08-18T02:32:23.287Z] GIT_COMMIT: 6937054a9f53d0f326f0c0156aeef009133f8f46, Commit Message: feat: Modify Modbus simulator to support device scaling [Pipeline] echo [2020-08-18T02:32:23.348Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:32:24.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-18T02:32:25.574Z] [2020-08-18T02:32:25.574Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:32:25.949Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-18T02:32:25.949Z] latest: Pulling from edgex-devops/git-semver [2020-08-18T02:32:25.949Z] 31603596830f: Pulling fs layer [2020-08-18T02:32:25.949Z] 2a8b12db71e7: Pulling fs layer [2020-08-18T02:32:25.949Z] 6ca5941a6612: Pulling fs layer [2020-08-18T02:32:25.949Z] ecc8261a40a4: Pulling fs layer [2020-08-18T02:32:25.949Z] ecc8261a40a4: Waiting [2020-08-18T02:32:25.949Z] 2a8b12db71e7: Verifying Checksum [2020-08-18T02:32:25.949Z] 2a8b12db71e7: Download complete [2020-08-18T02:32:26.219Z] 31603596830f: Download complete [2020-08-18T02:32:26.219Z] ecc8261a40a4: Verifying Checksum [2020-08-18T02:32:26.219Z] ecc8261a40a4: Download complete [2020-08-18T02:32:26.219Z] 6ca5941a6612: Verifying Checksum [2020-08-18T02:32:26.219Z] 6ca5941a6612: Download complete [2020-08-18T02:32:26.481Z] 31603596830f: Pull complete [2020-08-18T02:32:26.481Z] 2a8b12db71e7: Pull complete [2020-08-18T02:32:27.429Z] 6ca5941a6612: Pull complete [2020-08-18T02:32:27.692Z] ecc8261a40a4: Pull complete [2020-08-18T02:32:27.692Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-18T02:32:27.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-18T02:32:27.692Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-18T02:32:27.815Z] prd-centos7-docker-4c-2g-344 does not seem to be running inside a container [2020-08-18T02:32:27.858Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-18T02:32:30.625Z] $ docker top c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-18T02:32:31.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-18T02:32:31.027Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-18T02:32:31.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-18T02:32:31.229Z] $ docker exec c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 ssh-agent [2020-08-18T02:32:31.385Z] SSH_AUTH_SOCK=/tmp/ssh-oJYTa3NwyAVl/agent.11 [2020-08-18T02:32:31.385Z] SSH_AGENT_PID=16 [2020-08-18T02:32:31.399Z] Running ssh-add (command line suppressed) [2020-08-18T02:32:31.506Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_555315570940951888.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_555315570940951888.key) [2020-08-18T02:32:31.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-18T02:32:31.925Z] + git describe --exact-match --tags HEAD [2020-08-18T02:32:31.925Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-18T02:32:31.965Z] $ docker exec --env ******** --env ******** c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 ssh-agent -k [2020-08-18T02:32:32.070Z] unset SSH_AUTH_SOCK; [2020-08-18T02:32:32.071Z] unset SSH_AGENT_PID; [2020-08-18T02:32:32.071Z] echo Agent pid 16 killed; [2020-08-18T02:32:32.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-18T02:32:32.265Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-18T02:32:32.265Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-18T02:32:32.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-18T02:32:32.372Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-18T02:32:32.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-18T02:32:32.524Z] $ docker exec c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 ssh-agent [2020-08-18T02:32:32.674Z] SSH_AUTH_SOCK=/tmp/ssh-DnfZBEpflZ9C/agent.46 [2020-08-18T02:32:32.674Z] SSH_AGENT_PID=52 [2020-08-18T02:32:32.680Z] Running ssh-add (command line suppressed) [2020-08-18T02:32:32.786Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_6451035776572039400.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_6451035776572039400.key) [2020-08-18T02:32:32.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-18T02:32:33.298Z] + git semver init [2020-08-18T02:32:33.298Z] # -> Open(): unable to determine branch for HEAD [2020-08-18T02:32:33.298Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git [2020-08-18T02:32:33.298Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-18T02:32:33.298Z] # $SEMVER_REMOTE_NAME = origin [2020-08-18T02:32:33.298Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-18T02:32:33.298Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-18T02:32:33.298Z] # $SEMVER_BRANCH = PR-162 [2020-08-18T02:32:33.298Z] # $SEMVER_TEMP = /tmp/semver-936104976 [2020-08-18T02:32:33.298Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-08-18T02:32:33.561Z] # '/tmp/semver-936104976' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' [2020-08-18T02:32:33.561Z] # -> Force: false [2020-08-18T02:32:33.561Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } [2020-08-18T02:32:33.576Z] $ docker exec --env ******** --env ******** c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 ssh-agent -k [2020-08-18T02:32:33.680Z] unset SSH_AUTH_SOCK; [2020-08-18T02:32:33.681Z] unset SSH_AGENT_PID; [2020-08-18T02:32:33.681Z] echo Agent pid 52 killed; [2020-08-18T02:32:33.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-18T02:32:34.270Z] + git semver [Pipeline] } [2020-08-18T02:32:34.294Z] $ docker stop --time=1 c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 [2020-08-18T02:32:35.645Z] $ docker rm -f c69765076f630c6dc61dbb501f41212d053d4d80dc78bba7de0e596851f8a018 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-18T02:32:36.388Z] Stashed 23 file(s) [Pipeline] echo [2020-08-18T02:32:36.408Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-18T02:32:36.520Z] 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-08-18T02:32:52.183Z] Still waiting to schedule task [2020-08-18T02:32:52.183Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-18T02:32:52.207Z] Still waiting to schedule task [2020-08-18T02:32:52.207Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-18T02:34:39.615Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-345 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-08-18T02:34:39.694Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-08-18T02:34:44.704Z] using credential edgex-jenkins-ssh [2020-08-18T02:34:44.757Z] Cloning the remote Git repository [2020-08-18T02:34:44.757Z] Cloning with configured refspecs honoured and without tags [2020-08-18T02:34:45.812Z] Fetching without tags [2020-08-18T02:34:44.813Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:34:44.928Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-08-18T02:34:44.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:34:44.988Z] > git --version # timeout=10 [2020-08-18T02:34:45.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:34:45.080Z] > 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-08-18T02:34:45.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-18T02:34:45.744Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-08-18T02:34:45.761Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-18T02:34:45.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-18T02:34:45.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:34:45.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:34:45.844Z] > 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-08-18T02:34:46.309Z] Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:34:46.493Z] Merge succeeded, producing 6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:34:46.493Z] Checking out Revision 6937054a9f53d0f326f0c0156aeef009133f8f46 (PR-162) [2020-08-18T02:34:46.324Z] > git config core.sparsecheckout # timeout=10 [2020-08-18T02:34:46.343Z] > git checkout -f 6937054a9f53d0f326f0c0156aeef009133f8f46 # timeout=10 [2020-08-18T02:34:46.416Z] > git remote # timeout=10 [2020-08-18T02:34:46.433Z] > git config --get remote.origin.url # timeout=10 [2020-08-18T02:34:46.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:34:46.453Z] > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 [2020-08-18T02:34:46.474Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-18T02:34:46.497Z] > git config core.sparsecheckout # timeout=10 [2020-08-18T02:34:46.512Z] > git checkout -f 6937054a9f53d0f326f0c0156aeef009133f8f46 # timeout=10 [2020-08-18T02:34:50.899Z] Commit message: "feat: Modify Modbus simulator to support device scaling" [2020-08-18T02:34:50.952Z] > git --version # timeout=10 [2020-08-18T02:34:50.982Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-18T02:34:52.199Z] ========================================================= [2020-08-18T02:34:52.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-18T02:34:52.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:34:53.371Z] + 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-08-18T02:34:54.376Z] Sending build context to Docker daemon 644.6kB [2020-08-18T02:34:54.376Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-18T02:34:54.376Z] Step 2/8 : FROM ${BASE} [2020-08-18T02:34:54.376Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-18T02:34:54.376Z] b538f80385f9: Pulling fs layer [2020-08-18T02:34:54.376Z] 74f711af9a0d: Pulling fs layer [2020-08-18T02:34:54.376Z] 99f96fe45779: Pulling fs layer [2020-08-18T02:34:54.376Z] fd7a069fd194: Pulling fs layer [2020-08-18T02:34:54.376Z] 66aa3694b03b: Pulling fs layer [2020-08-18T02:34:54.376Z] 170f70906a0f: Pulling fs layer [2020-08-18T02:34:54.376Z] ad7c5574e4b9: Pulling fs layer [2020-08-18T02:34:54.376Z] e772456be8f7: Pulling fs layer [2020-08-18T02:34:54.376Z] c890913d741a: Pulling fs layer [2020-08-18T02:34:54.376Z] 2480fcc9aa5a: Pulling fs layer [2020-08-18T02:34:54.376Z] 09adf4765672: Pulling fs layer [2020-08-18T02:34:54.376Z] fd7a069fd194: Waiting [2020-08-18T02:34:54.664Z] ad7c5574e4b9: Waiting [2020-08-18T02:34:54.664Z] e772456be8f7: Waiting [2020-08-18T02:34:54.664Z] 66aa3694b03b: Waiting [2020-08-18T02:34:54.664Z] 170f70906a0f: Waiting [2020-08-18T02:34:54.664Z] c890913d741a: Waiting [2020-08-18T02:34:54.664Z] 2480fcc9aa5a: Waiting [2020-08-18T02:34:54.664Z] 09adf4765672: Waiting [2020-08-18T02:34:54.664Z] 99f96fe45779: Download complete [2020-08-18T02:34:54.664Z] 74f711af9a0d: Verifying Checksum [2020-08-18T02:34:54.664Z] 74f711af9a0d: Download complete [2020-08-18T02:34:54.664Z] 66aa3694b03b: Verifying Checksum [2020-08-18T02:34:54.664Z] 66aa3694b03b: Download complete [2020-08-18T02:34:54.664Z] 170f70906a0f: Verifying Checksum [2020-08-18T02:34:54.664Z] 170f70906a0f: Download complete [2020-08-18T02:34:54.664Z] b538f80385f9: Verifying Checksum [2020-08-18T02:34:54.664Z] b538f80385f9: Download complete [2020-08-18T02:34:55.656Z] b538f80385f9: Pull complete [2020-08-18T02:34:55.934Z] 74f711af9a0d: Pull complete [2020-08-18T02:34:56.531Z] 99f96fe45779: Pull complete [2020-08-18T02:34:57.130Z] ad7c5574e4b9: Verifying Checksum [2020-08-18T02:34:57.130Z] ad7c5574e4b9: Download complete [2020-08-18T02:34:57.130Z] c890913d741a: Verifying Checksum [2020-08-18T02:34:57.130Z] c890913d741a: Download complete [2020-08-18T02:34:59.120Z] 2480fcc9aa5a: Verifying Checksum [2020-08-18T02:34:59.120Z] 2480fcc9aa5a: Download complete [2020-08-18T02:34:59.120Z] 09adf4765672: Verifying Checksum [2020-08-18T02:34:59.120Z] 09adf4765672: Download complete [2020-08-18T02:35:00.102Z] e772456be8f7: Verifying Checksum [2020-08-18T02:35:00.373Z] fd7a069fd194: Verifying Checksum [2020-08-18T02:35:00.373Z] fd7a069fd194: Download complete [2020-08-18T02:35:12.778Z] fd7a069fd194: Pull complete [2020-08-18T02:35:12.778Z] 66aa3694b03b: Pull complete [2020-08-18T02:35:12.778Z] 170f70906a0f: Pull complete [2020-08-18T02:35:16.181Z] ad7c5574e4b9: Pull complete [2020-08-18T02:35:20.499Z] e772456be8f7: Pull complete [2020-08-18T02:35:20.776Z] c890913d741a: Pull complete [2020-08-18T02:35:23.406Z] 2480fcc9aa5a: Pull complete [2020-08-18T02:35:23.680Z] 09adf4765672: Pull complete [2020-08-18T02:35:23.680Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-18T02:35:23.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-18T02:35:23.680Z] ---> 2248a725d1cf [2020-08-18T02:35:23.680Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-18T02:35:27.989Z] ---> Running in 03be1c4a2092 [2020-08-18T02:35:28.590Z] Removing intermediate container 03be1c4a2092 [2020-08-18T02:35:28.590Z] ---> fe549d4a0831 [2020-08-18T02:35:28.590Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-18T02:35:28.590Z] ---> Running in 8f6edd83f279 [2020-08-18T02:35:32.005Z] Removing intermediate container 8f6edd83f279 [2020-08-18T02:35:32.005Z] ---> 49f7ca7e0c8f [2020-08-18T02:35:32.005Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-18T02:35:32.005Z] ---> Running in 901e788c2f35 [2020-08-18T02:35:33.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-18T02:35:34.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-18T02:35:34.636Z] (1/14) Installing libmagic (5.38-r0) [2020-08-18T02:35:34.636Z] (2/14) Installing file (5.38-r0) [2020-08-18T02:35:34.636Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-18T02:35:34.915Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-18T02:35:39.201Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-18T02:35:39.201Z] (6/14) Installing patch (2.7.6-r6) [2020-08-18T02:35:39.201Z] (7/14) Installing build-base (0.5-r2) [2020-08-18T02:35:39.201Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-18T02:35:39.201Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-18T02:35:39.201Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-18T02:35:39.474Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-18T02:35:39.474Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-18T02:35:39.744Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-18T02:35:39.744Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-18T02:35:40.015Z] Executing busybox-1.31.1-r16.trigger [2020-08-18T02:35:40.015Z] OK: 221 MiB in 53 packages [2020-08-18T02:35:44.330Z] Removing intermediate container 901e788c2f35 [2020-08-18T02:35:44.330Z] ---> b2cd1a3cf27a [2020-08-18T02:35:44.330Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-18T02:35:44.606Z] ---> Running in d4ae6704f78d [2020-08-18T02:35:44.881Z] Removing intermediate container d4ae6704f78d [2020-08-18T02:35:44.881Z] ---> 837d51690be5 [2020-08-18T02:35:44.881Z] Step 7/8 : COPY . . [2020-08-18T02:35:45.856Z] ---> 3e560b8dba84 [2020-08-18T02:35:45.856Z] Step 8/8 : RUN go mod download [2020-08-18T02:35:46.133Z] ---> Running in 4e3ab4e4a57d [2020-08-18T02:35:49.514Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:35:49.514Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:35:49.514Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-18T02:35:49.514Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:35:49.514Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-18T02:35:49.514Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-18T02:35:49.514Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:35:49.514Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:35:49.514Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:35:49.514Z] go: finding github.com/fatih/color v1.7.0 [2020-08-18T02:35:49.514Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:35:49.514Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-18T02:35:49.514Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:35:49.515Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-18T02:35:49.515Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-18T02:35:49.515Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-18T02:35:49.515Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-18T02:35:49.515Z] go: finding github.com/google/uuid v1.1.1 [2020-08-18T02:35:49.515Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-18T02:35:49.515Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:35:49.515Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-18T02:35:49.515Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-18T02:35:49.515Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:35:49.515Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-18T02:35:49.790Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-18T02:35:50.062Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-18T02:35:50.062Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-18T02:35:50.062Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-18T02:35:50.062Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-18T02:35:50.062Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-18T02:35:50.334Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-18T02:35:50.334Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:35:50.334Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:35:50.334Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-18T02:35:50.334Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:35:50.334Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-18T02:35:50.334Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-18T02:35:50.334Z] go: finding github.com/posener/complete v1.1.1 [2020-08-18T02:35:50.334Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-18T02:35:50.334Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-18T02:35:50.334Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-18T02:35:50.606Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-18T02:35:50.606Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-18T02:35:50.606Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-18T02:35:50.606Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-18T02:35:50.606Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-18T02:35:50.606Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-18T02:35:50.606Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-18T02:35:50.606Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-18T02:35:50.606Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:35:52.940Z] Running on prd-centos7-docker-4c-2g-346 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-08-18T02:35:53.022Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-08-18T02:35:55.703Z] using credential edgex-jenkins-ssh [2020-08-18T02:35:55.757Z] Cloning the remote Git repository [2020-08-18T02:35:55.757Z] Cloning with configured refspecs honoured and without tags [2020-08-18T02:35:55.989Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:35:56.070Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-08-18T02:35:56.142Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:35:56.142Z] > git --version # timeout=10 [2020-08-18T02:35:56.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:35:56.190Z] > 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-08-18T02:35:56.702Z] Fetching without tags [2020-08-18T02:35:57.069Z] Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:35:57.146Z] Merge succeeded, producing 6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:35:57.146Z] Checking out Revision 6937054a9f53d0f326f0c0156aeef009133f8f46 (PR-162) [2020-08-18T02:35:56.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-18T02:35:56.670Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-08-18T02:35:56.680Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-18T02:35:56.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-18T02:35:56.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-18T02:35:56.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:35:56.706Z] > 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-08-18T02:35:57.074Z] > git config core.sparsecheckout # timeout=10 [2020-08-18T02:35:57.080Z] > git checkout -f 6937054a9f53d0f326f0c0156aeef009133f8f46 # timeout=10 [2020-08-18T02:35:57.111Z] > git remote # timeout=10 [2020-08-18T02:35:57.119Z] > git config --get remote.origin.url # timeout=10 [2020-08-18T02:35:57.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-18T02:35:57.127Z] > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 [2020-08-18T02:35:57.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-18T02:35:57.144Z] > git config core.sparsecheckout # timeout=10 [2020-08-18T02:35:57.149Z] > git checkout -f 6937054a9f53d0f326f0c0156aeef009133f8f46 # timeout=10 [2020-08-18T02:36:00.720Z] Commit message: "feat: Modify Modbus simulator to support device scaling" [2020-08-18T02:36:00.746Z] > git --version # timeout=10 [2020-08-18T02:36:00.754Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-18T02:36:00.779Z] Removing intermediate container 4e3ab4e4a57d [2020-08-18T02:36:00.779Z] ---> 6a93830253ee [2020-08-18T02:36:00.779Z] Successfully built 6a93830253ee [2020-08-18T02:36:00.779Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-08-18T02:36:01.895Z] + docker inspect -f . ci-base-image-arm64 [2020-08-18T02:36:01.895Z] . [Pipeline] withDockerContainer [2020-08-18T02:36:02.222Z] prd-ubuntu18.04-docker-arm64-4c-16g-345 does not seem to be running inside a container [2020-08-18T02:36:02.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-08-18T02:36:04.249Z] $ docker top ce829587a170572887ea0bbf3055a867e46f3e5c6e9679db51ea5c7a1a0eb252 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-08-18T02:36:04.716Z] ========================================================= [2020-08-18T02:36:04.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-18T02:36:04.716Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:36:05.526Z] + 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-08-18T02:36:05.758Z] + go version [2020-08-18T02:36:05.758Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-18T02:36:05.798Z] Sending build context to Docker daemon 644.6kB [2020-08-18T02:36:06.064Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-18T02:36:06.064Z] Step 2/8 : FROM ${BASE} [2020-08-18T02:36:06.064Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-18T02:36:06.064Z] df20fa9351a1: Pulling fs layer [2020-08-18T02:36:06.064Z] ed8968b2872e: Pulling fs layer [2020-08-18T02:36:06.064Z] a92cc7c5fd73: Pulling fs layer [2020-08-18T02:36:06.064Z] 2dd03ba5bac4: Pulling fs layer [2020-08-18T02:36:06.064Z] 1e091d79d1de: Pulling fs layer [2020-08-18T02:36:06.064Z] 481702a1767f: Pulling fs layer [2020-08-18T02:36:06.064Z] f64a6f60c768: Pulling fs layer [2020-08-18T02:36:06.064Z] e78d2573fc39: Pulling fs layer [2020-08-18T02:36:06.064Z] e876d2f968b6: Pulling fs layer [2020-08-18T02:36:06.064Z] ce8a83651883: Pulling fs layer [2020-08-18T02:36:06.064Z] 07967f4d0e4b: Pulling fs layer [2020-08-18T02:36:06.064Z] f64a6f60c768: Waiting [2020-08-18T02:36:06.064Z] e78d2573fc39: Waiting [2020-08-18T02:36:06.064Z] e876d2f968b6: Waiting [2020-08-18T02:36:06.064Z] ce8a83651883: Waiting [2020-08-18T02:36:06.064Z] 07967f4d0e4b: Waiting [2020-08-18T02:36:06.064Z] 1e091d79d1de: Waiting [2020-08-18T02:36:06.064Z] 481702a1767f: Waiting [2020-08-18T02:36:06.064Z] 2dd03ba5bac4: Waiting [2020-08-18T02:36:06.064Z] a92cc7c5fd73: Verifying Checksum [2020-08-18T02:36:06.064Z] a92cc7c5fd73: Download complete [2020-08-18T02:36:06.064Z] ed8968b2872e: Verifying Checksum [2020-08-18T02:36:06.064Z] ed8968b2872e: Download complete [2020-08-18T02:36:06.064Z] 1e091d79d1de: Verifying Checksum [2020-08-18T02:36:06.064Z] 1e091d79d1de: Download complete [2020-08-18T02:36:06.064Z] 481702a1767f: Verifying Checksum [2020-08-18T02:36:06.064Z] 481702a1767f: Download complete [2020-08-18T02:36:06.064Z] df20fa9351a1: Verifying Checksum [2020-08-18T02:36:06.064Z] df20fa9351a1: Download complete [2020-08-18T02:36:06.336Z] df20fa9351a1: Pull complete [2020-08-18T02:36:06.609Z] ed8968b2872e: Pull complete [2020-08-18T02:36:06.819Z] + make test [2020-08-18T02:36:06.819Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-18T02:36:07.212Z] f64a6f60c768: Verifying Checksum [2020-08-18T02:36:07.212Z] f64a6f60c768: Download complete [2020-08-18T02:36:07.212Z] e876d2f968b6: Verifying Checksum [2020-08-18T02:36:07.212Z] e876d2f968b6: Download complete [2020-08-18T02:36:07.808Z] 2dd03ba5bac4: Verifying Checksum [2020-08-18T02:36:07.808Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-18T02:36:07.808Z] 2dd03ba5bac4: Download complete [2020-08-18T02:36:07.808Z] e78d2573fc39: Verifying Checksum [2020-08-18T02:36:07.808Z] e78d2573fc39: Download complete [2020-08-18T02:36:07.808Z] 07967f4d0e4b: Verifying Checksum [2020-08-18T02:36:07.808Z] 07967f4d0e4b: Download complete [2020-08-18T02:36:07.808Z] a92cc7c5fd73: Pull complete [2020-08-18T02:36:07.808Z] ce8a83651883: Verifying Checksum [2020-08-18T02:36:07.808Z] ce8a83651883: Download complete [2020-08-18T02:36:14.444Z] 2dd03ba5bac4: Pull complete [2020-08-18T02:36:14.444Z] 1e091d79d1de: Pull complete [2020-08-18T02:36:14.444Z] 481702a1767f: Pull complete [2020-08-18T02:36:19.755Z] f64a6f60c768: Pull complete [2020-08-18T02:36:22.324Z] e78d2573fc39: Pull complete [2020-08-18T02:36:22.324Z] e876d2f968b6: Pull complete [2020-08-18T02:36:22.909Z] ce8a83651883: Pull complete [2020-08-18T02:36:23.175Z] 07967f4d0e4b: Pull complete [2020-08-18T02:36:23.175Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-18T02:36:23.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-18T02:36:23.439Z] ---> 5d7c900382c6 [2020-08-18T02:36:23.439Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-18T02:36:25.364Z] ---> Running in e827909b9ce2 [2020-08-18T02:36:25.626Z] Removing intermediate container e827909b9ce2 [2020-08-18T02:36:25.626Z] ---> 2e565d1fd8a5 [2020-08-18T02:36:25.626Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-18T02:36:25.626Z] ---> Running in e7ef1e3ff54d [2020-08-18T02:36:27.029Z] Removing intermediate container e7ef1e3ff54d [2020-08-18T02:36:27.029Z] ---> 741d9fd16c04 [2020-08-18T02:36:27.029Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-18T02:36:27.029Z] ---> Running in 3e983d414bcb [2020-08-18T02:36:27.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-18T02:36:28.556Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-18T02:36:28.817Z] (1/14) Installing libmagic (5.38-r0) [2020-08-18T02:36:29.082Z] (2/14) Installing file (5.38-r0) [2020-08-18T02:36:29.082Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-18T02:36:29.342Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-18T02:36:35.932Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-18T02:36:35.932Z] (6/14) Installing patch (2.7.6-r6) [2020-08-18T02:36:35.932Z] (7/14) Installing build-base (0.5-r2) [2020-08-18T02:36:35.932Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-18T02:36:35.932Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-18T02:36:35.932Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-18T02:36:36.503Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-18T02:36:36.503Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-18T02:36:36.503Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-18T02:36:36.764Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-18T02:36:36.764Z] Executing busybox-1.31.1-r16.trigger [2020-08-18T02:36:36.764Z] OK: 237 MiB in 53 packages [2020-08-18T02:36:40.072Z] Removing intermediate container 3e983d414bcb [2020-08-18T02:36:40.072Z] ---> 85e082239af6 [2020-08-18T02:36:40.072Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-18T02:36:40.072Z] ---> Running in 259799734a9c [2020-08-18T02:36:40.072Z] Removing intermediate container 259799734a9c [2020-08-18T02:36:40.072Z] ---> faf6bd553cd5 [2020-08-18T02:36:40.072Z] Step 7/8 : COPY . . [2020-08-18T02:36:40.190Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-18T02:36:40.190Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.376s coverage: 50.9% of statements [2020-08-18T02:36:40.190Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-18T02:36:40.650Z] ---> b4bcd67a30ef [2020-08-18T02:36:40.650Z] Step 8/8 : RUN go mod download [2020-08-18T02:36:40.650Z] ---> Running in 67a1a34acc59 [2020-08-18T02:36:42.567Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:36:42.567Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:36:42.567Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-18T02:36:42.567Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:36:42.567Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-18T02:36:42.567Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-18T02:36:42.567Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:36:42.567Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:36:42.567Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:36:42.818Z] gofmt -l . [2020-08-18T02:36:42.818Z] [ "`gofmt -l .`" = "" ] [2020-08-18T02:36:42.818Z] ./bin/test-attribution-txt.sh [2020-08-18T02:36:42.832Z] go: finding github.com/fatih/color v1.7.0 [2020-08-18T02:36:42.832Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:36:42.832Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-18T02:36:42.832Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:36:42.832Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-18T02:36:42.832Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-18T02:36:42.832Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-18T02:36:42.832Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-18T02:36:42.832Z] go: finding github.com/google/uuid v1.1.1 [2020-08-18T02:36:42.832Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-18T02:36:42.832Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:36:42.832Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:36:43.095Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-18T02:36:43.360Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-18T02:36:43.360Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-18T02:36:43.360Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-18T02:36:43.360Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-18T02:36:43.360Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-18T02:36:43.360Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-18T02:36:43.360Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-18T02:36:43.360Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-18T02:36:43.360Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:36:43.360Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:36:43.360Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-18T02:36:43.360Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-18T02:36:43.621Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-18T02:36:43.621Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-18T02:36:43.621Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-18T02:36:43.621Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:36:43.621Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:36:43.621Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-18T02:36:43.621Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:36:43.621Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-18T02:36:43.621Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-18T02:36:43.621Z] go: finding github.com/posener/complete v1.1.1 [2020-08-18T02:36:43.621Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-18T02:36:43.621Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-18T02:36:43.805Z] ./bin/test-go-mod-tidy.sh [2020-08-18T02:36:43.916Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-18T02:36:43.916Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-18T02:36:43.916Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-18T02:36:43.916Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-18T02:36:43.916Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-18T02:36:43.916Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-18T02:36:43.916Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-18T02:36:43.916Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-18T02:36:43.916Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-18T02:36:43.916Z] go: finding gopkg.in/yaml.v2 v2.2.8 [Pipeline] stash [2020-08-18T02:36:44.827Z] Stashed 1 file(s) [Pipeline] } [2020-08-18T02:36:44.841Z] $ docker stop --time=1 ce829587a170572887ea0bbf3055a867e46f3e5c6e9679db51ea5c7a1a0eb252 [2020-08-18T02:36:47.114Z] $ docker rm -f ce829587a170572887ea0bbf3055a867e46f3e5c6e9679db51ea5c7a1a0eb252 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-18T02:36:50.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-18T02:36:50.813Z] + ls -al . [2020-08-18T02:36:50.813Z] total 140 [2020-08-18T02:36:50.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 18 02:36 . [2020-08-18T02:36:50.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 02:34 .. [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 18 02:34 .dockerignore [2020-08-18T02:36:50.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 18 02:34 .git [2020-08-18T02:36:50.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 02:34 .github [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 330 Aug 18 02:34 .gitignore [2020-08-18T02:36:50.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 02:34 .semver [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 5049 Aug 18 02:34 Attribution.txt [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 1422 Aug 18 02:34 Dockerfile [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 954 Aug 18 02:34 Dockerfile.build [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 18 02:34 Jenkinsfile [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 18 02:34 LICENSE [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 18 02:34 Makefile [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 591 Aug 18 02:34 README.md [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 18 02:32 VERSION [2020-08-18T02:36:50.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 02:34 bin [2020-08-18T02:36:50.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 02:34 cmd [2020-08-18T02:36:50.813Z] -rw-r--r-- 1 jenkins jenkins 22032 Aug 18 02:36 coverage.out [2020-08-18T02:36:50.813Z] -rw-r--r-- 1 jenkins jenkins 559 Aug 18 02:36 go.mod [2020-08-18T02:36:50.813Z] -rw-r--r-- 1 jenkins jenkins 13471 Aug 18 02:36 go.sum [2020-08-18T02:36:50.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 02:34 internal [2020-08-18T02:36:50.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 02:34 simulator [2020-08-18T02:36:50.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 02:34 snap [2020-08-18T02:36:50.813Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 18 02:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:36:51.209Z] + 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=6937054a9f53d0f326f0c0156aeef009133f8f46 --label arch=arm64 --label version=0.0.0 . [2020-08-18T02:36:51.511Z] Sending build context to Docker daemon 675.8kB [2020-08-18T02:36:51.784Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-18T02:36:51.784Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-18T02:36:51.784Z] ---> 6a93830253ee [2020-08-18T02:36:51.784Z] Step 3/19 : ARG MAKE='make build' [2020-08-18T02:36:51.784Z] ---> Running in 92eda7ab8de1 [2020-08-18T02:36:52.121Z] Removing intermediate container 67a1a34acc59 [2020-08-18T02:36:52.121Z] ---> 7283c699d7b1 [2020-08-18T02:36:52.121Z] Successfully built 7283c699d7b1 [2020-08-18T02:36:52.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-08-18T02:36:52.380Z] Removing intermediate container 92eda7ab8de1 [2020-08-18T02:36:52.380Z] ---> f6eb4e9eaf08 [2020-08-18T02:36:52.380Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-08-18T02:36:52.655Z] ---> Running in c192e308ef05 [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:36:53.025Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-18T02:36:53.025Z] . [Pipeline] withDockerContainer [2020-08-18T02:36:53.151Z] prd-centos7-docker-4c-2g-346 does not seem to be running inside a container [2020-08-18T02:36:53.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-08-18T02:36:54.414Z] $ docker top a81b29b8facddac833be83b154db9fd777f7e945d6f6694590eb05d5d00ebfce -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-18T02:36:54.941Z] + go version [2020-08-18T02:36:54.941Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-18T02:36:55.260Z] + make test [2020-08-18T02:36:55.260Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-18T02:36:55.277Z] Removing intermediate container c192e308ef05 [2020-08-18T02:36:55.277Z] ---> 30137d9650f1 [2020-08-18T02:36:55.277Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-18T02:36:55.277Z] ---> Running in d446760c91db [2020-08-18T02:36:56.219Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-18T02:36:56.706Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-18T02:36:57.297Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-18T02:36:58.277Z] OK: 221 MiB in 53 packages [2020-08-18T02:36:59.263Z] Removing intermediate container d446760c91db [2020-08-18T02:36:59.263Z] ---> faf4bd4dac1a [2020-08-18T02:36:59.263Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-18T02:36:59.263Z] ---> Running in 5dbc097eab2b [2020-08-18T02:36:59.862Z] Removing intermediate container 5dbc097eab2b [2020-08-18T02:36:59.862Z] ---> 93124cfab865 [2020-08-18T02:36:59.862Z] Step 7/19 : COPY . . [2020-08-18T02:37:00.848Z] ---> 462201234e9f [2020-08-18T02:37:00.848Z] Step 8/19 : RUN ${MAKE} [2020-08-18T02:37:00.848Z] ---> Running in 6f198d761903 [2020-08-18T02:37:02.280Z] 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-08-18T02:37:04.460Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-18T02:37:05.405Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.245s coverage: 50.9% of statements [2020-08-18T02:37:05.405Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-18T02:37:07.337Z] gofmt -l . [2020-08-18T02:37:07.337Z] [ "`gofmt -l .`" = "" ] [2020-08-18T02:37:07.337Z] ./bin/test-attribution-txt.sh [2020-08-18T02:37:07.605Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-18T02:37:07.899Z] Warning: overwriting stash ‘coverage-report’ [2020-08-18T02:37:08.169Z] Stashed 1 file(s) [Pipeline] } [2020-08-18T02:37:08.182Z] $ docker stop --time=1 a81b29b8facddac833be83b154db9fd777f7e945d6f6694590eb05d5d00ebfce [2020-08-18T02:37:10.431Z] $ docker rm -f a81b29b8facddac833be83b154db9fd777f7e945d6f6694590eb05d5d00ebfce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-18T02:37:11.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-18T02:37:11.927Z] + ls -al . [2020-08-18T02:37:11.927Z] total 104 [2020-08-18T02:37:11.927Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 18 02:37 . [2020-08-18T02:37:11.927Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 18 02:35 .. [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 5049 Aug 18 02:35 Attribution.txt [2020-08-18T02:37:11.927Z] drwxrwxr-x. 2 jenkins jenkins 87 Aug 18 02:35 bin [2020-08-18T02:37:11.927Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 18 02:35 cmd [2020-08-18T02:37:11.927Z] -rw-r--r--. 1 jenkins jenkins 22032 Aug 18 02:37 coverage.out [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 1422 Aug 18 02:35 Dockerfile [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 954 Aug 18 02:35 Dockerfile.build [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 18 02:35 .dockerignore [2020-08-18T02:37:11.927Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 18 02:36 .git [2020-08-18T02:37:11.927Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 18 02:35 .github [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 330 Aug 18 02:35 .gitignore [2020-08-18T02:37:11.927Z] -rw-r--r--. 1 jenkins jenkins 559 Aug 18 02:37 go.mod [2020-08-18T02:37:11.927Z] -rw-r--r--. 1 jenkins jenkins 13471 Aug 18 02:37 go.sum [2020-08-18T02:37:11.927Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 18 02:35 internal [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 18 02:35 Jenkinsfile [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 18 02:35 LICENSE [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 18 02:35 Makefile [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 591 Aug 18 02:35 README.md [2020-08-18T02:37:11.927Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 18 02:36 .semver [2020-08-18T02:37:11.927Z] drwxrwxr-x. 2 jenkins jenkins 52 Aug 18 02:35 simulator [2020-08-18T02:37:11.927Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 18 02:35 snap [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 18 02:32 VERSION [2020-08-18T02:37:11.927Z] -rw-rw-r--. 1 jenkins jenkins 229 Aug 18 02:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:37:12.267Z] + 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=6937054a9f53d0f326f0c0156aeef009133f8f46 --label arch=amd64 --label version=0.0.0 . [2020-08-18T02:37:12.267Z] Sending build context to Docker daemon 675.8kB [2020-08-18T02:37:12.267Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-18T02:37:12.267Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-18T02:37:12.267Z] ---> 7283c699d7b1 [2020-08-18T02:37:12.267Z] Step 3/19 : ARG MAKE='make build' [2020-08-18T02:37:12.533Z] ---> Running in 09a7d2a72485 [2020-08-18T02:37:12.800Z] Removing intermediate container 09a7d2a72485 [2020-08-18T02:37:12.800Z] ---> f9280bd23df0 [2020-08-18T02:37:12.800Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-18T02:37:12.800Z] ---> Running in fcdf3235b6d7 [2020-08-18T02:37:13.745Z] Removing intermediate container fcdf3235b6d7 [2020-08-18T02:37:13.745Z] ---> e7827176ccc9 [2020-08-18T02:37:13.745Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-18T02:37:13.745Z] ---> Running in d5525a02dc8d [2020-08-18T02:37:14.008Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-18T02:37:14.952Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-18T02:37:15.213Z] OK: 237 MiB in 53 packages [2020-08-18T02:37:15.786Z] Removing intermediate container d5525a02dc8d [2020-08-18T02:37:15.786Z] ---> 5740187f9cbd [2020-08-18T02:37:15.786Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-18T02:37:15.786Z] ---> Running in 7400b6409ef2 [2020-08-18T02:37:16.048Z] Removing intermediate container 7400b6409ef2 [2020-08-18T02:37:16.048Z] ---> ce88fe62d2e2 [2020-08-18T02:37:16.048Z] Step 7/19 : COPY . . [2020-08-18T02:37:16.619Z] ---> b7bf0db4024c [2020-08-18T02:37:16.619Z] Step 8/19 : RUN ${MAKE} [2020-08-18T02:37:16.881Z] ---> Running in 473bc6d5e197 [2020-08-18T02:37:17.145Z] 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-08-18T02:37:25.326Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-18T02:37:28.632Z] Removing intermediate container 473bc6d5e197 [2020-08-18T02:37:28.632Z] ---> 19b3787d7fa6 [2020-08-18T02:37:28.632Z] Step 9/19 : FROM scratch [2020-08-18T02:37:28.632Z] ---> [2020-08-18T02:37:28.632Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-18T02:37:28.632Z] ---> Running in 9007abd243c2 [2020-08-18T02:37:28.893Z] Removing intermediate container 9007abd243c2 [2020-08-18T02:37:28.893Z] ---> 148c788f2e75 [2020-08-18T02:37:28.893Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-18T02:37:28.893Z] ---> Running in e38884dda0c0 [2020-08-18T02:37:28.893Z] Removing intermediate container e38884dda0c0 [2020-08-18T02:37:28.893Z] ---> 7b6a321fd2a9 [2020-08-18T02:37:28.893Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-08-18T02:37:29.076Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-18T02:37:29.466Z] ---> 4a798e233ee1 [2020-08-18T02:37:29.466Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-18T02:37:29.726Z] ---> 1902060d3c27 [2020-08-18T02:37:29.726Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-18T02:37:29.990Z] ---> 90a2004391db [2020-08-18T02:37:29.990Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-18T02:37:29.990Z] ---> Running in a138d0fcb6f9 [2020-08-18T02:37:29.990Z] Removing intermediate container a138d0fcb6f9 [2020-08-18T02:37:29.990Z] ---> eb66ebabf348 [2020-08-18T02:37:29.990Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-18T02:37:30.251Z] ---> Running in 4a967e32164a [2020-08-18T02:37:30.251Z] Removing intermediate container 4a967e32164a [2020-08-18T02:37:30.251Z] ---> a1227037bf5c [2020-08-18T02:37:30.251Z] Step 17/19 : LABEL arch=amd64 [2020-08-18T02:37:30.512Z] ---> Running in dfe1aa64de4f [2020-08-18T02:37:30.512Z] Removing intermediate container dfe1aa64de4f [2020-08-18T02:37:30.512Z] ---> 09f060a3ed8f [2020-08-18T02:37:30.512Z] Step 18/19 : LABEL git_sha=6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:37:30.512Z] ---> Running in 0e84e59d5fc1 [2020-08-18T02:37:30.774Z] Removing intermediate container 0e84e59d5fc1 [2020-08-18T02:37:30.774Z] ---> 1a50eff440a7 [2020-08-18T02:37:30.774Z] Step 19/19 : LABEL version=0.0.0 [2020-08-18T02:37:30.774Z] ---> Running in f2e8039bba39 [2020-08-18T02:37:31.034Z] Removing intermediate container f2e8039bba39 [2020-08-18T02:37:31.034Z] ---> ee9fc82a7e9c [2020-08-18T02:37:31.034Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-18T02:37:31.034Z] Successfully built ee9fc82a7e9c [2020-08-18T02:37:31.034Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-18T02:37:32.694Z] ++ find /w/workspace/device-modbus-go/1 [2020-08-18T02:37:32.694Z] ++ grep snapcraft.yaml [2020-08-18T02:37:32.694Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-18T02:37:32.909Z] provisioning config files... [2020-08-18T02:37:32.924Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3438853867257942521tmp [Pipeline] { [Pipeline] sh [2020-08-18T02:37:33.347Z] + cp /w/workspace/device-modbus-go/1@tmp/config3438853867257942521tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-08-18T02:37:33.682Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/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-08-18T02:37:33.682Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-08-18T02:37:33.682Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-08-18T02:37:33.682Z] 7595c8c21622: Pulling fs layer [2020-08-18T02:37:33.682Z] d13af8ca898f: Pulling fs layer [2020-08-18T02:37:33.682Z] 70799171ddba: Pulling fs layer [2020-08-18T02:37:33.682Z] b6c12202c5ef: Pulling fs layer [2020-08-18T02:37:33.682Z] 0e468b2cbd7c: Pulling fs layer [2020-08-18T02:37:33.682Z] 81ce4cd09fec: Pulling fs layer [2020-08-18T02:37:33.682Z] 9113857f769f: Pulling fs layer [2020-08-18T02:37:33.682Z] a6a4d6edcf0f: Pulling fs layer [2020-08-18T02:37:33.682Z] 1466ad0cc8cc: Pulling fs layer [2020-08-18T02:37:33.682Z] 81ce4cd09fec: Waiting [2020-08-18T02:37:33.682Z] b6c12202c5ef: Waiting [2020-08-18T02:37:33.682Z] 0e468b2cbd7c: Waiting [2020-08-18T02:37:33.682Z] 9113857f769f: Waiting [2020-08-18T02:37:33.682Z] 1466ad0cc8cc: Waiting [2020-08-18T02:37:33.682Z] a6a4d6edcf0f: Waiting [2020-08-18T02:37:33.682Z] 70799171ddba: Verifying Checksum [2020-08-18T02:37:33.682Z] 70799171ddba: Download complete [2020-08-18T02:37:33.682Z] d13af8ca898f: Verifying Checksum [2020-08-18T02:37:33.682Z] d13af8ca898f: Download complete [2020-08-18T02:37:33.682Z] b6c12202c5ef: Verifying Checksum [2020-08-18T02:37:33.682Z] b6c12202c5ef: Download complete [2020-08-18T02:37:33.682Z] 81ce4cd09fec: Verifying Checksum [2020-08-18T02:37:33.682Z] 81ce4cd09fec: Download complete [2020-08-18T02:37:33.682Z] 9113857f769f: Download complete [2020-08-18T02:37:33.949Z] a6a4d6edcf0f: Verifying Checksum [2020-08-18T02:37:33.949Z] a6a4d6edcf0f: Download complete [2020-08-18T02:37:33.949Z] 1466ad0cc8cc: Verifying Checksum [2020-08-18T02:37:33.949Z] 1466ad0cc8cc: Download complete [2020-08-18T02:37:33.949Z] 7595c8c21622: Verifying Checksum [2020-08-18T02:37:33.949Z] 7595c8c21622: Download complete [2020-08-18T02:37:34.460Z] Removing intermediate container 6f198d761903 [2020-08-18T02:37:34.461Z] ---> ab373c96620a [2020-08-18T02:37:34.461Z] Step 9/19 : FROM scratch [2020-08-18T02:37:34.461Z] ---> [2020-08-18T02:37:34.461Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-18T02:37:34.461Z] ---> Running in 93f3275c3cf3 [2020-08-18T02:37:34.461Z] Removing intermediate container 93f3275c3cf3 [2020-08-18T02:37:34.461Z] ---> 28d7ab341b49 [2020-08-18T02:37:34.461Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-18T02:37:34.461Z] ---> Running in 1e17e7d4924d [2020-08-18T02:37:34.732Z] Removing intermediate container 1e17e7d4924d [2020-08-18T02:37:34.732Z] ---> 2e3a7fc418ba [2020-08-18T02:37:34.732Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-08-18T02:37:35.723Z] ---> 6bfec627dc23 [2020-08-18T02:37:35.723Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-18T02:37:36.697Z] ---> e9aa3e34fbfa [2020-08-18T02:37:36.697Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-18T02:37:37.289Z] ---> 21b257eedd5b [2020-08-18T02:37:37.289Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-18T02:37:37.562Z] ---> Running in 963788db23ad [2020-08-18T02:37:37.834Z] Removing intermediate container 963788db23ad [2020-08-18T02:37:37.834Z] ---> 0f08c5f8194c [2020-08-18T02:37:37.834Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-18T02:37:38.116Z] ---> Running in 463ec579fa13 [2020-08-18T02:37:38.173Z] 0e468b2cbd7c: Download complete [2020-08-18T02:37:38.434Z] 7595c8c21622: Pull complete [2020-08-18T02:37:38.710Z] Removing intermediate container 463ec579fa13 [2020-08-18T02:37:38.710Z] ---> 8e4e6bdf2860 [2020-08-18T02:37:38.710Z] Step 17/19 : LABEL arch=arm64 [2020-08-18T02:37:38.710Z] ---> Running in 53d436134dd2 [2020-08-18T02:37:39.006Z] d13af8ca898f: Pull complete [2020-08-18T02:37:39.006Z] 70799171ddba: Pull complete [2020-08-18T02:37:39.006Z] b6c12202c5ef: Pull complete [2020-08-18T02:37:39.300Z] Removing intermediate container 53d436134dd2 [2020-08-18T02:37:39.300Z] ---> d1a860d227b4 [2020-08-18T02:37:39.300Z] Step 18/19 : LABEL git_sha=6937054a9f53d0f326f0c0156aeef009133f8f46 [2020-08-18T02:37:39.300Z] ---> Running in be06c7260d72 [2020-08-18T02:37:39.891Z] Removing intermediate container be06c7260d72 [2020-08-18T02:37:39.891Z] ---> 3439307ee0be [2020-08-18T02:37:39.891Z] Step 19/19 : LABEL version=0.0.0 [2020-08-18T02:37:39.891Z] ---> Running in d3410197d304 [2020-08-18T02:37:40.481Z] Removing intermediate container d3410197d304 [2020-08-18T02:37:40.481Z] ---> 08840a7e8429 [2020-08-18T02:37:40.481Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-18T02:37:40.481Z] Successfully built 08840a7e8429 [2020-08-18T02:37:40.481Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-18T02:37:41.715Z] + grep snapcraft.yaml [2020-08-18T02:37:41.715Z] + find /w/workspace/device-modbus-go/1 [2020-08-18T02:37:41.715Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-18T02:37:41.968Z] provisioning config files... [2020-08-18T02:37:41.994Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config651529516601373175tmp [Pipeline] { [Pipeline] sh [2020-08-18T02:37:42.457Z] + cp /w/workspace/device-modbus-go/1@tmp/config651529516601373175tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-08-18T02:37:42.812Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/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-08-18T02:37:42.812Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-08-18T02:37:43.086Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-08-18T02:37:43.086Z] a114936b4807: Pulling fs layer [2020-08-18T02:37:43.086Z] a27ecf0d2a86: Pulling fs layer [2020-08-18T02:37:43.086Z] f4eb48eb870f: Pulling fs layer [2020-08-18T02:37:43.086Z] 0f912b9bb20d: Pulling fs layer [2020-08-18T02:37:43.086Z] 19769ba762fa: Pulling fs layer [2020-08-18T02:37:43.086Z] 6675a7feeedd: Pulling fs layer [2020-08-18T02:37:43.086Z] bb153fd0de2e: Pulling fs layer [2020-08-18T02:37:43.086Z] cf8ad2f1a1a4: Pulling fs layer [2020-08-18T02:37:43.086Z] c8535664fb42: Pulling fs layer [2020-08-18T02:37:43.086Z] 6675a7feeedd: Waiting [2020-08-18T02:37:43.086Z] bb153fd0de2e: Waiting [2020-08-18T02:37:43.086Z] cf8ad2f1a1a4: Waiting [2020-08-18T02:37:43.086Z] c8535664fb42: Waiting [2020-08-18T02:37:43.087Z] 0f912b9bb20d: Waiting [2020-08-18T02:37:43.087Z] 19769ba762fa: Waiting [2020-08-18T02:37:43.087Z] f4eb48eb870f: Download complete [2020-08-18T02:37:43.087Z] a27ecf0d2a86: Verifying Checksum [2020-08-18T02:37:43.087Z] a27ecf0d2a86: Download complete [2020-08-18T02:37:43.087Z] 0f912b9bb20d: Verifying Checksum [2020-08-18T02:37:43.087Z] 0f912b9bb20d: Download complete [2020-08-18T02:37:43.087Z] 6675a7feeedd: Verifying Checksum [2020-08-18T02:37:43.087Z] 6675a7feeedd: Download complete [2020-08-18T02:37:43.087Z] bb153fd0de2e: Download complete [2020-08-18T02:37:43.087Z] cf8ad2f1a1a4: Verifying Checksum [2020-08-18T02:37:43.087Z] cf8ad2f1a1a4: Download complete [2020-08-18T02:37:43.087Z] c8535664fb42: Verifying Checksum [2020-08-18T02:37:43.087Z] c8535664fb42: Download complete [2020-08-18T02:37:43.685Z] a114936b4807: Verifying Checksum [2020-08-18T02:37:43.685Z] a114936b4807: Download complete [2020-08-18T02:37:47.076Z] a114936b4807: Pull complete [2020-08-18T02:37:47.350Z] a27ecf0d2a86: Pull complete [2020-08-18T02:37:47.625Z] f4eb48eb870f: Pull complete [2020-08-18T02:37:47.902Z] 0f912b9bb20d: Pull complete [2020-08-18T02:37:53.274Z] 19769ba762fa: Verifying Checksum [2020-08-18T02:37:53.274Z] 19769ba762fa: Download complete [2020-08-18T02:38:05.630Z] 0e468b2cbd7c: Pull complete [2020-08-18T02:38:05.630Z] 81ce4cd09fec: Pull complete [2020-08-18T02:38:05.630Z] 9113857f769f: Pull complete [2020-08-18T02:38:07.017Z] a6a4d6edcf0f: Pull complete [2020-08-18T02:38:07.017Z] 1466ad0cc8cc: Pull complete [2020-08-18T02:38:07.017Z] Digest: sha256:c642e91ff79aa258a1ae135e2f8792ce86cd15f1ac61018b6f83b5185eb02bcd [2020-08-18T02:38:07.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-08-18T02:38:09.569Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-08-18T02:38:09.569Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-08-18T02:38:09.569Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-08-18T02:38:09.569Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1041 kB] [2020-08-18T02:38:09.831Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [885 kB] [2020-08-18T02:38:09.831Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-08-18T02:38:09.831Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1417 kB] [2020-08-18T02:38:10.404Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1338 kB] [2020-08-18T02:38:10.404Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.4 kB] [2020-08-18T02:38:10.666Z] Fetched 4961 kB in 1s (3685 kB/s) [2020-08-18T02:38:12.051Z] Reading package lists... [2020-08-18T02:38:17.345Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-08-18T02:38:17.345Z] 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-08-18T02:38:17.345Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-08-18T02:38:17.345Z] 0% [2 InRelease gpgv 242 kB] 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-08-18T02:38:18.440Z] 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... 52% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-18T02:38:20.355Z] 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-08-18T02:38:21.707Z] 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... 50% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-18T02:38:21.969Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 62% Building dependency tree [2020-08-18T02:38:21.969Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-18T02:38:22.232Z] The following packages were automatically installed and are no longer required: [2020-08-18T02:38:22.232Z] libjq1 libonig4 [2020-08-18T02:38:22.232Z] Use 'sudo apt autoremove' to remove them. [2020-08-18T02:38:22.232Z] Suggested packages: [2020-08-18T02:38:22.232Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-18T02:38:22.232Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-18T02:38:22.232Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-18T02:38:22.232Z] | libterm-readline-perl-perl [2020-08-18T02:38:22.495Z] The following NEW packages will be installed: [2020-08-18T02:38:22.495Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-18T02:38:22.495Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-18T02:38:22.495Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-18T02:38:22.495Z] Need to get 12.0 MB of archives. [2020-08-18T02:38:22.495Z] After this operation, 77.5 MB of additional disk space will be used. [2020-08-18T02:38:22.756Z] 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-08-18T02:38:23.547Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 651 kB/2763 kB 24%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-08-18T02:38:23.547Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-08-18T02:38:23.547Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-08-18T02:38:23.547Z] 23% [4 libperl5.26 42.2 kB/3527 kB 1%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-08-18T02:38:23.547Z] 48% [5 perl 65.5 kB/201 kB 33%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-08-18T02:38:23.547Z] 51% [6 less 8192 B/112 kB 7%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-08-18T02:38:23.547Z] 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.9 [159 kB] [2020-08-18T02:38:23.547Z] 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.9 [212 kB] [2020-08-18T02:38:23.547Z] 57% [9 libcurl3-gnutls 6774 B/212 kB 3%] 60% [Working] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-08-18T02:38:23.547Z] 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 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-08-18T02:38:23.547Z] 61% [11 git-man 32.8 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-08-18T02:38:23.808Z] 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-08-18T02:38:23.808Z] 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-08-18T02:38:23.808Z] 98% [14 patch 9563 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (8953 kB/s) [2020-08-18T02:38:24.071Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-18T02:38:24.342Z] Selecting previously unselected package perl-modules-5.26. [2020-08-18T02:38:24.342Z] (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-08-18T02:38:24.342Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-18T02:38:24.342Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:27.648Z] Selecting previously unselected package libgdbm5:amd64. [2020-08-18T02:38:27.648Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-08-18T02:38:27.648Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-08-18T02:38:27.648Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-08-18T02:38:27.648Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-08-18T02:38:27.648Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-18T02:38:27.648Z] Selecting previously unselected package libperl5.26:amd64. [2020-08-18T02:38:27.648Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-18T02:38:27.648Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:29.040Z] Selecting previously unselected package perl. [2020-08-18T02:38:29.040Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-18T02:38:29.040Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:29.040Z] Selecting previously unselected package less. [2020-08-18T02:38:29.040Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-08-18T02:38:29.040Z] Unpacking less (487-0.1) ... [2020-08-18T02:38:29.040Z] Selecting previously unselected package netbase. [2020-08-18T02:38:29.040Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-18T02:38:29.040Z] Unpacking netbase (5.4) ... [2020-08-18T02:38:29.040Z] Selecting previously unselected package curl. [2020-08-18T02:38:29.040Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_amd64.deb ... [2020-08-18T02:38:29.040Z] Unpacking curl (7.58.0-2ubuntu3.9) ... [2020-08-18T02:38:29.301Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-08-18T02:38:29.301Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_amd64.deb ... [2020-08-18T02:38:29.301Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... [2020-08-18T02:38:29.301Z] Selecting previously unselected package liberror-perl. [2020-08-18T02:38:29.301Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-18T02:38:29.301Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-18T02:38:29.301Z] Selecting previously unselected package git-man. [2020-08-18T02:38:29.301Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-18T02:38:29.301Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:38:29.562Z] Selecting previously unselected package git. [2020-08-18T02:38:29.562Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-08-18T02:38:29.562Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:38:30.133Z] Selecting previously unselected package make. [2020-08-18T02:38:30.134Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-08-18T02:38:30.134Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-18T02:38:30.134Z] Selecting previously unselected package patch. [2020-08-18T02:38:30.134Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-08-18T02:38:30.394Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-18T02:38:30.394Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:38:30.394Z] Setting up less (487-0.1) ... [2020-08-18T02:38:30.654Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-18T02:38:30.654Z] Setting up curl (7.58.0-2ubuntu3.9) ... [2020-08-18T02:38:30.654Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... [2020-08-18T02:38:30.654Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:30.654Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-08-18T02:38:30.654Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-18T02:38:30.654Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-18T02:38:30.654Z] Setting up netbase (5.4) ... [2020-08-18T02:38:30.917Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:30.917Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-18T02:38:30.917Z] Setting up liberror-perl (0.17025-1) ... [2020-08-18T02:38:30.917Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:38:30.917Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-18T02:38:31.178Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-18T02:38:32.248Z] 19769ba762fa: Pull complete [2020-08-18T02:38:32.248Z] 6675a7feeedd: Pull complete [2020-08-18T02:38:32.248Z] bb153fd0de2e: Pull complete [2020-08-18T02:38:32.248Z] cf8ad2f1a1a4: Pull complete [2020-08-18T02:38:32.248Z] c8535664fb42: Pull complete [2020-08-18T02:38:32.248Z] Digest: sha256:5b41654e13e1529cdcb3e70789e3a8d345d16fe395680c2eb6ae08626c23903b [2020-08-18T02:38:32.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-08-18T02:38:33.088Z] curl set to automatically installed. [2020-08-18T02:38:33.089Z] git set to automatically installed. [2020-08-18T02:38:33.089Z] git-man set to automatically installed. [2020-08-18T02:38:33.089Z] less set to automatically installed. [2020-08-18T02:38:33.089Z] libcurl3-gnutls set to automatically installed. [2020-08-18T02:38:33.089Z] liberror-perl set to automatically installed. [2020-08-18T02:38:33.089Z] libgdbm-compat4 set to automatically installed. [2020-08-18T02:38:33.089Z] libgdbm5 set to automatically installed. [2020-08-18T02:38:33.089Z] libperl5.26 set to automatically installed. [2020-08-18T02:38:33.089Z] make set to automatically installed. [2020-08-18T02:38:33.089Z] netbase set to automatically installed. [2020-08-18T02:38:33.089Z] patch set to automatically installed. [2020-08-18T02:38:33.089Z] perl set to automatically installed. [2020-08-18T02:38:33.089Z] perl-modules-5.26 set to automatically installed. [2020-08-18T02:38:33.350Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-18T02:38:33.351Z] Please ensure the environment is properly setup before continuing. [2020-08-18T02:38:33.351Z] Ignore this message if the appropriate measures have already been taken [2020-08-18T02:38:33.931Z] Pulling go  [2020-08-18T02:38:34.892Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-18T02:38:34.892Z] Skipping pull go (already ran) [2020-08-18T02:38:34.892Z] Building go  [2020-08-18T02:38:34.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-18T02:38:34.892Z] Dload Upload Total Spent Left Speed [2020-08-18T02:38:36.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 426k 0 0 2328k 0 0:00:50 --:--:-- 0:00:50 2328k 57 114M 57 65.4M 0 0 55.3M 0 0:00:02 0:00:01 0:00:01 55.2M 100 114M 100 114M 0 0 60.8M 0 0:00:01 0:00:01 --:--:-- 60.8M [2020-08-18T02:38:37.369Z] go1.13.5.linux-amd64.tar.gz: OK [2020-08-18T02:38:39.001Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-18T02:38:39.001Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-08-18T02:38:39.274Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-08-18T02:38:39.274Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-08-18T02:38:39.547Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1252 kB] [2020-08-18T02:38:40.142Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [920 kB] [2020-08-18T02:38:40.411Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [776 kB] [2020-08-18T02:38:40.411Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [647 kB] [2020-08-18T02:38:40.685Z] Fetched 3847 kB in 2s (1756 kB/s) [2020-08-18T02:38:44.979Z] Reading package lists... [2020-08-18T02:38:45.554Z] Staging go  [2020-08-18T02:38:45.817Z] Pulling device-modbus  [2020-08-18T02:38:47.749Z] Skipping build go (already ran) [2020-08-18T02:38:47.749Z] Building device-modbus  [2020-08-18T02:38:47.749Z] 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-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:38:49.140Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:38:49.140Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:38:49.140Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:38:49.140Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:38:49.140Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-18T02:38:49.140Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:38:49.140Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:38:49.140Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:38:49.140Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-18T02:38:49.140Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:38:49.140Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:38:49.140Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:38:49.140Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:38:49.140Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:38:49.140Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:38:49.140Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:38:49.140Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-18T02:38:49.140Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:38:49.140Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:38:49.140Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:38:49.140Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:38:49.140Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-18T02:38:49.140Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-18T02:38:49.140Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:38:49.140Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:38:49.140Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:38:49.140Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:38:49.140Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:38:49.140Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-18T02:38:49.406Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:38:49.406Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:38:49.406Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:38:49.406Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:38:49.406Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:38:49.406Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:38:49.406Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:38:49.406Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-18T02:38:49.406Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:38:49.406Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:38:49.406Z] go: finding github.com/google/uuid v1.1.1 [2020-08-18T02:38:49.406Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:38:49.672Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:38:49.672Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:38:49.672Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:38:49.672Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:38:49.672Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-18T02:38:49.672Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:38:49.672Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-18T02:38:49.672Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:38:49.672Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:38:49.672Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-18T02:38:49.672Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-18T02:38:49.672Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:38:49.672Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:38:49.672Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:38:49.672Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:38:49.672Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:38:49.672Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-18T02:38:49.672Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:38:49.672Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:38:49.672Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:38:57.646Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-18T02:38:57.646Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-08-18T02:38:57.646Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-08-18T02:38:57.921Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-08-18T02:38:58.475Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-18T02:39:02.735Z] Skipping stage go (already ran) [2020-08-18T02:39:02.735Z] Staging device-modbus  [2020-08-18T02:39:03.676Z] Priming go  [2020-08-18T02:39:03.754Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 50% Reading package lists... 69% 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-08-18T02:39:04.621Z] Priming device-modbus  [2020-08-18T02:39:05.568Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-18T02:39:05.568Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-18T02:39:05.568Z] Determining the version from the project repo (version-script). [2020-08-18T02:39:05.568Z] The version has been set to '0.0.0-20200818+6937054' [2020-08-18T02:39:06.942Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | [2020-08-18T02:39:06.942Z] Snapped edgex-device-modbus_0.0.0-20200818+6937054_amd64.snap [Pipeline] } [2020-08-18T02:39:07.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-08-18T02:39:10.436Z] 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-08-18T02:39:14.526Z] 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... 70% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-18T02:39:15.388Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 61% Building dependency tree [2020-08-18T02:39:15.389Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-18T02:39:15.984Z] The following packages were automatically installed and are no longer required: [2020-08-18T02:39:15.984Z] libjq1 libonig4 [2020-08-18T02:39:15.984Z] Use 'sudo apt autoremove' to remove them. [2020-08-18T02:39:15.984Z] Suggested packages: [2020-08-18T02:39:15.984Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-18T02:39:15.984Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-18T02:39:15.984Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-18T02:39:15.984Z] | libterm-readline-perl-perl [2020-08-18T02:39:16.584Z] The following NEW packages will be installed: [2020-08-18T02:39:16.584Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-18T02:39:16.584Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-18T02:39:16.584Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-18T02:39:16.584Z] Need to get 10.8 MB of archives. [2020-08-18T02:39:16.584Z] After this operation, 73.6 MB of additional disk space will be used. [2020-08-18T02:39:16.584Z] 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-08-18T02:39:17.448Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 617 kB/2763 kB 22%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-08-18T02:39:17.448Z] 22% [2 libgdbm5 8192 B/23.1 kB 35%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-08-18T02:39:17.448Z] 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-08-18T02:39:17.722Z] 25% [4 libperl5.26 4096 B/3326 kB 0%] 51% [Waiting for headers] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-08-18T02:39:17.722Z] 52% [5 perl 65.5 kB/201 kB 33%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-08-18T02:39:17.722Z] 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-08-18T02:39:17.722Z] 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Waiting for headers] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.9 [152 kB] [2020-08-18T02:39:17.722Z] 58% [8 curl 24.6 kB/152 kB 16%] 60% [Waiting for headers] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.9 [179 kB] [2020-08-18T02:39:17.722Z] 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Waiting for headers] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-08-18T02:39:17.722Z] 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-08-18T02:39:17.722Z] 65% [11 git-man 28.4 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-08-18T02:39:17.994Z] 72% [12 git 0 B/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-08-18T02:39:17.994Z] 96% [13 make 16.4 kB/139 kB 12%] 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-08-18T02:39:17.994Z] 98% [14 patch 53.2 kB/91.8 kB 58%] 100% [Working] Fetched 10.8 MB in 2s (6930 kB/s) [2020-08-18T02:39:18.591Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-18T02:39:18.865Z] Selecting previously unselected package perl-modules-5.26. [2020-08-18T02:39:18.865Z] (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-08-18T02:39:18.865Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-18T02:39:18.865Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:20.295Z] Selecting previously unselected package libgdbm5:arm64. [2020-08-18T02:39:20.295Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-08-18T02:39:20.295Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-08-18T02:39:20.567Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-08-18T02:39:20.567Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-08-18T02:39:20.567Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-18T02:39:20.839Z] Selecting previously unselected package libperl5.26:arm64. [2020-08-18T02:39:20.839Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-18T02:39:20.839Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:21.811Z] Selecting previously unselected package perl. [2020-08-18T02:39:21.811Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-18T02:39:22.082Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:22.082Z] Selecting previously unselected package less. [2020-08-18T02:39:22.082Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-08-18T02:39:22.082Z] Unpacking less (487-0.1) ... [2020-08-18T02:39:22.355Z] Selecting previously unselected package netbase. [2020-08-18T02:39:22.355Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-18T02:39:22.355Z] Unpacking netbase (5.4) ... [2020-08-18T02:39:22.355Z] Selecting previously unselected package curl. [2020-08-18T02:39:22.355Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_arm64.deb ... [2020-08-18T02:39:22.626Z] Unpacking curl (7.58.0-2ubuntu3.9) ... [2020-08-18T02:39:22.626Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-08-18T02:39:22.626Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_arm64.deb ... [2020-08-18T02:39:22.626Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... [2020-08-18T02:39:22.896Z] Selecting previously unselected package liberror-perl. [2020-08-18T02:39:22.896Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-18T02:39:22.896Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-18T02:39:22.896Z] Selecting previously unselected package git-man. [2020-08-18T02:39:22.896Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-18T02:39:22.896Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:39:23.167Z] Selecting previously unselected package git. [2020-08-18T02:39:23.167Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-08-18T02:39:23.439Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:39:24.870Z] Selecting previously unselected package make. [2020-08-18T02:39:24.870Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-08-18T02:39:24.870Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-18T02:39:24.870Z] Selecting previously unselected package patch. [2020-08-18T02:39:24.870Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-08-18T02:39:24.870Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-18T02:39:24.870Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:39:24.870Z] Setting up less (487-0.1) ... [2020-08-18T02:39:25.461Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-18T02:39:25.461Z] Setting up curl (7.58.0-2ubuntu3.9) ... [2020-08-18T02:39:25.461Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... [2020-08-18T02:39:25.461Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:25.461Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-08-18T02:39:25.733Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-18T02:39:25.733Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-18T02:39:25.733Z] Setting up netbase (5.4) ... [2020-08-18T02:39:25.733Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:25.733Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-18T02:39:26.004Z] Setting up liberror-perl (0.17025-1) ... [2020-08-18T02:39:26.004Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-18T02:39:26.004Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-18T02:39:26.276Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-18T02:39:31.660Z] curl set to automatically installed. [2020-08-18T02:39:31.660Z] git set to automatically installed. [2020-08-18T02:39:31.660Z] git-man set to automatically installed. [2020-08-18T02:39:31.660Z] less set to automatically installed. [2020-08-18T02:39:31.660Z] libcurl3-gnutls set to automatically installed. [2020-08-18T02:39:31.660Z] liberror-perl set to automatically installed. [2020-08-18T02:39:31.660Z] libgdbm-compat4 set to automatically installed. [2020-08-18T02:39:31.660Z] libgdbm5 set to automatically installed. [2020-08-18T02:39:31.660Z] libperl5.26 set to automatically installed. [2020-08-18T02:39:31.660Z] make set to automatically installed. [2020-08-18T02:39:31.660Z] netbase set to automatically installed. [2020-08-18T02:39:31.660Z] patch set to automatically installed. [2020-08-18T02:39:31.660Z] perl set to automatically installed. [2020-08-18T02:39:31.660Z] perl-modules-5.26 set to automatically installed. [2020-08-18T02:39:31.660Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-18T02:39:31.660Z] Please ensure the environment is properly setup before continuing. [2020-08-18T02:39:31.660Z] Ignore this message if the appropriate measures have already been taken [2020-08-18T02:39:32.634Z] Pulling go  [2020-08-18T02:39:36.013Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-18T02:39:36.013Z] Skipping pull go (already ran) [2020-08-18T02:39:36.013Z] Building go  [2020-08-18T02:39:36.013Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-18T02:39:36.013Z] Dload Upload Total Spent Left Speed [2020-08-18T02:39:38.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 16 93.0M 16 15.1M 0 0 21.5M 0 0:00:04 --:--:-- 0:00:04 21.4M 61 93.0M 61 57.0M 0 0 33.3M 0 0:00:02 0:00:01 0:00:01 33.3M 98 93.0M 98 91.9M 0 0 33.9M 0 0:00:02 0:00:02 --:--:-- 33.9M 100 93.0M 100 93.0M 0 0 34.1M 0 0:00:02 0:00:02 --:--:-- 34.1M [2020-08-18T02:39:39.999Z] go1.13.5.linux-arm64.tar.gz: OK [2020-08-18T02:39:58.271Z] Staging go  [2020-08-18T02:40:00.898Z] Pulling device-modbus  [2020-08-18T02:40:04.293Z] Skipping build go (already ran) [2020-08-18T02:40:04.293Z] Building device-modbus  [2020-08-18T02:40:04.293Z] 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-08-18T02:40:04.886Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:40:04.886Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:40:04.886Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-18T02:40:04.886Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-18T02:40:04.886Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:40:05.161Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-18T02:40:05.161Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:40:05.161Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-18T02:40:05.161Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-18T02:40:05.161Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:40:05.161Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-18T02:40:05.161Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-18T02:40:05.161Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:40:05.161Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:40:05.161Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:40:05.161Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-18T02:40:05.161Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:40:05.161Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-18T02:40:05.161Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-18T02:40:05.161Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:40:05.161Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:40:05.161Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-18T02:40:05.161Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:40:05.161Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:40:05.161Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:40:05.161Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:40:05.161Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:40:05.161Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:40:05.161Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:40:05.436Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:40:05.436Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-18T02:40:05.436Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:40:05.436Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:40:05.436Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-18T02:40:05.436Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:40:05.436Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:40:05.436Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-18T02:40:05.436Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:40:05.436Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:40:05.436Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:40:05.436Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:40:05.436Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:40:05.436Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:40:05.436Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:40:05.436Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:40:05.436Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:40:05.436Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:40:05.436Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:40:05.706Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-18T02:40:05.706Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:40:05.706Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:40:05.706Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:40:05.706Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:40:05.706Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:40:05.706Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:40:05.983Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:40:05.983Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:40:05.983Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-18T02:40:05.983Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-18T02:40:05.983Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-18T02:40:05.983Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-18T02:40:05.983Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-18T02:40:05.983Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-18T02:40:05.983Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-18T02:40:05.983Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-18T02:40:05.983Z] go: finding github.com/google/uuid v1.1.1 [2020-08-18T02:40:05.983Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-18T02:40:05.983Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-18T02:40:05.983Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-18T02:40:06.255Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-18T02:40:06.255Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-18T02:40:06.255Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-18T02:40:06.255Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-18T02:40:06.255Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-18T02:40:06.255Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-18T02:40:06.255Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-18T02:40:06.255Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-18T02:40:06.255Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-18T02:40:06.255Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-18T02:40:06.255Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-18T02:40:06.255Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-18T02:40:06.255Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-18T02:40:06.255Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-18T02:40:28.436Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-18T02:40:46.725Z] Skipping stage go (already ran) [2020-08-18T02:40:46.725Z] Staging device-modbus  [2020-08-18T02:40:48.694Z] Priming go  [2020-08-18T02:40:52.061Z] Priming device-modbus  [2020-08-18T02:40:54.671Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-18T02:40:54.671Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-18T02:40:54.671Z] Determining the version from the project repo (version-script). [2020-08-18T02:40:54.944Z] The version has been set to '0.0.0-20200818+6937054' [2020-08-18T02:40:58.522Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | [2020-08-18T02:40:58.522Z] Snapped edgex-device-modbus_0.0.0-20200818+6937054_arm64.snap [Pipeline] } [2020-08-18T02:41:00.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-08-18T02:41:02.493Z] provisioning config files... [2020-08-18T02:41:02.506Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config249223511948134205tmp [Pipeline] { [Pipeline] sh [2020-08-18T02:41:02.908Z] + curl -s https://codecov.io/bash [2020-08-18T02:41:02.908Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config249223511948134205tmp [Pipeline] } [2020-08-18T02:41:03.192Z] 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-08-18T02:41:05.901Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-18T02:41:06.498Z] ---> package-listing.sh [2020-08-18T02:41:06.498Z] ++ facter osfamily [2020-08-18T02:41:06.498Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-18T02:41:06.498Z] + OS_FAMILY=redhat [2020-08-18T02:41:06.498Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-18T02:41:06.498Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-18T02:41:06.498Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-18T02:41:06.498Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-18T02:41:06.498Z] + PACKAGES=/tmp/packages_start.txt [2020-08-18T02:41:06.498Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-08-18T02:41:06.498Z] + PACKAGES=/tmp/packages_end.txt [2020-08-18T02:41:06.498Z] + case "${OS_FAMILY}" in [2020-08-18T02:41:06.498Z] + rpm -qa [2020-08-18T02:41:06.498Z] + sort [2020-08-18T02:41:10.724Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-18T02:41:10.724Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-18T02:41:10.724Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-18T02:41:10.724Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-08-18T02:41:10.724Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [2020-08-18T02:41:10.724Z] + 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-08-18T02:41:11.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-18T02:41:11.403Z] [2020-08-18T02:41:11.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-18T02:41:11.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-18T02:41:11.785Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-18T02:41:11.785Z] c9b1b535fdd9: Pulling fs layer [2020-08-18T02:41:11.785Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-18T02:41:11.785Z] 756a868c4378: Pulling fs layer [2020-08-18T02:41:11.785Z] 444b2fc9a129: Pulling fs layer [2020-08-18T02:41:11.785Z] ea15f1150254: Pulling fs layer [2020-08-18T02:41:11.785Z] 41b27a9f41bf: Pulling fs layer [2020-08-18T02:41:11.785Z] 28c525ee5125: Pulling fs layer [2020-08-18T02:41:11.785Z] 094b1ea09ed8: Pulling fs layer [2020-08-18T02:41:11.785Z] 138eaada9080: Pulling fs layer [2020-08-18T02:41:11.785Z] 0622d0fa9048: Pulling fs layer [2020-08-18T02:41:11.785Z] 28c525ee5125: Waiting [2020-08-18T02:41:11.785Z] 444b2fc9a129: Waiting [2020-08-18T02:41:11.785Z] 138eaada9080: Waiting [2020-08-18T02:41:11.785Z] ea15f1150254: Waiting [2020-08-18T02:41:11.785Z] 0622d0fa9048: Waiting [2020-08-18T02:41:11.785Z] 41b27a9f41bf: Waiting [2020-08-18T02:41:11.785Z] 094b1ea09ed8: Waiting [2020-08-18T02:41:11.785Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-18T02:41:11.785Z] 2cc5ad85d9ab: Download complete [2020-08-18T02:41:11.785Z] 444b2fc9a129: Download complete [2020-08-18T02:41:11.785Z] c9b1b535fdd9: Verifying Checksum [2020-08-18T02:41:11.785Z] c9b1b535fdd9: Download complete [2020-08-18T02:41:11.785Z] ea15f1150254: Verifying Checksum [2020-08-18T02:41:11.785Z] ea15f1150254: Download complete [2020-08-18T02:41:12.050Z] 28c525ee5125: Verifying Checksum [2020-08-18T02:41:12.050Z] 28c525ee5125: Download complete [2020-08-18T02:41:12.321Z] c9b1b535fdd9: Pull complete [2020-08-18T02:41:12.321Z] 756a868c4378: Verifying Checksum [2020-08-18T02:41:12.321Z] 756a868c4378: Download complete [2020-08-18T02:41:12.590Z] 138eaada9080: Verifying Checksum [2020-08-18T02:41:12.590Z] 138eaada9080: Download complete [2020-08-18T02:41:12.590Z] 094b1ea09ed8: Verifying Checksum [2020-08-18T02:41:12.590Z] 094b1ea09ed8: Download complete [2020-08-18T02:41:12.590Z] 0622d0fa9048: Download complete [2020-08-18T02:41:12.590Z] 2cc5ad85d9ab: Pull complete [2020-08-18T02:41:13.172Z] 41b27a9f41bf: Verifying Checksum [2020-08-18T02:41:13.172Z] 41b27a9f41bf: Download complete [2020-08-18T02:41:14.117Z] 756a868c4378: Pull complete [2020-08-18T02:41:14.117Z] 444b2fc9a129: Pull complete [2020-08-18T02:41:14.382Z] ea15f1150254: Pull complete [2020-08-18T02:41:18.597Z] 41b27a9f41bf: Pull complete [2020-08-18T02:41:18.597Z] 28c525ee5125: Pull complete [2020-08-18T02:41:20.520Z] 094b1ea09ed8: Pull complete [2020-08-18T02:41:20.520Z] 138eaada9080: Pull complete [2020-08-18T02:41:21.905Z] 0622d0fa9048: Pull complete [2020-08-18T02:41:21.905Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-18T02:41:21.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-18T02:41:21.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-18T02:41:22.072Z] prd-centos7-docker-4c-2g-344 does not seem to be running inside a container [2020-08-18T02:41:22.106Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-18T02:41:25.472Z] $ docker top ba9e55a3e10d4273a8e8031c4c4c62eb3a46701f24c7267899e8918d5a3819e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-18T02:41:25.823Z] provisioning config files... [2020-08-18T02:41:25.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config3038721516464779470tmp [Pipeline] { [Pipeline] echo [2020-08-18T02:41:25.956Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-18T02:41:26.287Z] ---> create-netrc.sh [Pipeline] echo [2020-08-18T02:41:26.317Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-18T02:41:26.643Z] ---> logs-deploy.sh [2020-08-18T02:41:26.643Z] + ARCHIVE_ARTIFACTS= [2020-08-18T02:41:26.643Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-18T02:41:26.643Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-18T02:41:26.643Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-18T02:41:26.643Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/1 [2020-08-18T02:41:26.643Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/1/ [2020-08-18T02:41:26.643Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/1 /w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-18T02:41:28.033Z] Archives upload complete. [2020-08-18T02:41:28.033Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/1/