Pull request #165 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 62371f17efb88eab1d7e88a8351d26992f7f5366+3d6b06ce9c8aabcbe3b96acc6656864e00d04358 (55c14e371a8ecaeae35e088778b0d6ae708af527) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-165/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 > git --version # 'git version 2.16.6' 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-156 in /w/workspace/xfoundry_device-modbus-go_PR-165 [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 Fetching without tags > git init /w/workspace/xfoundry_device-modbus-go_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # 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/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 Merge succeeded, producing 62371f17efb88eab1d7e88a8351d26992f7f5366 Checking out Revision 62371f17efb88eab1d7e88a8351d26992f7f5366 (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # 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 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 Commit message: "Remove unused attribution in Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-24T06:46:04.684Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-24T06:46:04.995Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-24T06:46:05.206Z] ========================================================= [2020-08-24T06:46:05.206Z] EdgeX Global Pipelines Version Info [2020-08-24T06:46:05.206Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:46:07.088Z] ------------------- [2020-08-24T06:46:07.088Z] stable info: [2020-08-24T06:46:07.088Z] ------------------- [2020-08-24T06:46:07.088Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-24T06:46:07.088Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-24T06:46:07.088Z] Message: update stable to v1.0.106 [2020-08-24T06:46:07.668Z] ------------------- [2020-08-24T06:46:07.668Z] experimental info: [2020-08-24T06:46:07.668Z] ------------------- [2020-08-24T06:46:07.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-24T06:46:07.668Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-24T06:46:07.668Z] 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-24T06:46:10.077Z] + git log --format=format:%s -1 62371f17efb88eab1d7e88a8351d26992f7f5366 [Pipeline] echo [2020-08-24T06:46:10.155Z] GIT_COMMIT: 62371f17efb88eab1d7e88a8351d26992f7f5366, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo [2020-08-24T06:46:10.242Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:46:10.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:46:11.031Z] [2020-08-24T06:46:11.031Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:46:11.418Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:46:11.418Z] latest: Pulling from edgex-devops/git-semver [2020-08-24T06:46:11.418Z] 31603596830f: Pulling fs layer [2020-08-24T06:46:11.418Z] 2a8b12db71e7: Pulling fs layer [2020-08-24T06:46:11.418Z] 6ca5941a6612: Pulling fs layer [2020-08-24T06:46:11.418Z] ecc8261a40a4: Pulling fs layer [2020-08-24T06:46:11.418Z] ecc8261a40a4: Waiting [2020-08-24T06:46:11.418Z] 2a8b12db71e7: Verifying Checksum [2020-08-24T06:46:11.418Z] 2a8b12db71e7: Download complete [2020-08-24T06:46:11.684Z] 31603596830f: Verifying Checksum [2020-08-24T06:46:11.684Z] 31603596830f: Download complete [2020-08-24T06:46:11.684Z] ecc8261a40a4: Verifying Checksum [2020-08-24T06:46:11.684Z] ecc8261a40a4: Download complete [2020-08-24T06:46:11.684Z] 6ca5941a6612: Verifying Checksum [2020-08-24T06:46:11.684Z] 6ca5941a6612: Download complete [2020-08-24T06:46:11.945Z] 31603596830f: Pull complete [2020-08-24T06:46:12.208Z] 2a8b12db71e7: Pull complete [2020-08-24T06:46:13.152Z] 6ca5941a6612: Pull complete [2020-08-24T06:46:13.152Z] ecc8261a40a4: Pull complete [2020-08-24T06:46:13.414Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-24T06:46:13.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T06:46:13.414Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-24T06:46:13.533Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-08-24T06:46:13.587Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-24T06:46:15.608Z] $ docker top 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-24T06:46:16.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T06:46:16.053Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T06:46:16.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T06:46:16.339Z] $ docker exec 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 ssh-agent [2020-08-24T06:46:16.520Z] SSH_AUTH_SOCK=/tmp/ssh-FMr34cmmc3mG/agent.11 [2020-08-24T06:46:16.520Z] SSH_AGENT_PID=16 [2020-08-24T06:46:16.530Z] Running ssh-add (command line suppressed) [2020-08-24T06:46:16.674Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_8986698222349157021.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_8986698222349157021.key) [2020-08-24T06:46:16.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T06:46:17.100Z] + git describe --exact-match --tags HEAD [2020-08-24T06:46:17.101Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-24T06:46:17.139Z] $ docker exec --env ******** --env ******** 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 ssh-agent -k [2020-08-24T06:46:17.269Z] unset SSH_AUTH_SOCK; [2020-08-24T06:46:17.269Z] unset SSH_AGENT_PID; [2020-08-24T06:46:17.269Z] echo Agent pid 16 killed; [2020-08-24T06:46:17.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-24T06:46:17.465Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-24T06:46:17.465Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-24T06:46:17.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T06:46:17.570Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T06:46:17.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T06:46:17.746Z] $ docker exec 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 ssh-agent [2020-08-24T06:46:17.912Z] SSH_AUTH_SOCK=/tmp/ssh-8mlReO0VcnuS/agent.47 [2020-08-24T06:46:17.912Z] SSH_AGENT_PID=52 [2020-08-24T06:46:17.918Z] Running ssh-add (command line suppressed) [2020-08-24T06:46:18.051Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_8036365812360850130.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_8036365812360850130.key) [2020-08-24T06:46:18.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T06:46:18.555Z] + git semver init [2020-08-24T06:46:18.555Z] # -> Open(): unable to determine branch for HEAD [2020-08-24T06:46:18.555Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.git [2020-08-24T06:46:18.555Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-165 [2020-08-24T06:46:18.555Z] # $SEMVER_REMOTE_NAME = origin [2020-08-24T06:46:18.555Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-24T06:46:18.555Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-24T06:46:18.555Z] # $SEMVER_BRANCH = PR-165 [2020-08-24T06:46:18.555Z] # $SEMVER_TEMP = /tmp/semver-104489252 [2020-08-24T06:46:18.555Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-08-24T06:46:19.128Z] # '/tmp/semver-104489252' -> '/w/workspace/xfoundry_device-modbus-go_PR-165/.semver' [2020-08-24T06:46:19.128Z] # -> Force: false [2020-08-24T06:46:19.128Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.semver [Pipeline] } [2020-08-24T06:46:19.149Z] $ docker exec --env ******** --env ******** 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 ssh-agent -k [2020-08-24T06:46:19.268Z] unset SSH_AUTH_SOCK; [2020-08-24T06:46:19.268Z] unset SSH_AGENT_PID; [2020-08-24T06:46:19.268Z] echo Agent pid 52 killed; [2020-08-24T06:46:19.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-24T06:46:19.874Z] + git semver [Pipeline] } [2020-08-24T06:46:19.907Z] $ docker stop --time=1 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 [2020-08-24T06:46:21.312Z] $ docker rm -f 914ad2859726aa90b8c9bf2d106a9122978aa51cc0a722a75c0ccccf9aea62b3 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-24T06:46:22.112Z] Stashed 24 file(s) [Pipeline] echo [2020-08-24T06:46:22.131Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-24T06:46:22.254Z] 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-24T06:46:37.899Z] Still waiting to schedule task [2020-08-24T06:46:37.899Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-24T06:46:37.922Z] Still waiting to schedule task [2020-08-24T06:46:37.922Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-24T06:48:21.309Z] Running on prd-centos7-docker-4c-2g-161 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws [2020-08-24T06:48:21.383Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-08-24T06:48:23.696Z] using credential edgex-jenkins-ssh [2020-08-24T06:48:23.740Z] Cloning the remote Git repository [2020-08-24T06:48:23.740Z] Cloning with configured refspecs honoured and without tags [2020-08-24T06:48:23.770Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:48:23.833Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-08-24T06:48:23.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:48:23.880Z] > git --version # timeout=10 [2020-08-24T06:48:23.886Z] > git --version # 'git version 2.16.5' [2020-08-24T06:48:23.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:48:24.487Z] Fetching without tags [2020-08-24T06:48:24.889Z] Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:48:24.961Z] Merge succeeded, producing 62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:48:24.961Z] Checking out Revision 62371f17efb88eab1d7e88a8351d26992f7f5366 (PR-165) [2020-08-24T06:48:23.908Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:48:24.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T06:48:24.472Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-08-24T06:48:24.477Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:48:24.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T06:48:24.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:48:24.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:48:24.499Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:48:24.901Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:48:24.906Z] > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [2020-08-24T06:48:24.934Z] > git remote # timeout=10 [2020-08-24T06:48:24.941Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T06:48:24.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:48:24.949Z] > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 [2020-08-24T06:48:24.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T06:48:24.970Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:48:24.978Z] > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [2020-08-24T06:48:28.727Z] Commit message: "Remove unused attribution in Attribution.txt" [2020-08-24T06:48:28.755Z] > git --version # timeout=10 [2020-08-24T06:48:28.760Z] > git --version # 'git version 2.16.5' [2020-08-24T06:48:28.764Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-24T06:48:29.687Z] ========================================================= [2020-08-24T06:48:29.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-24T06:48:29.687Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:48:30.363Z] + 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-24T06:48:30.632Z] Sending build context to Docker daemon 642kB [2020-08-24T06:48:30.632Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-24T06:48:30.632Z] Step 2/8 : FROM ${BASE} [2020-08-24T06:48:30.632Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-24T06:48:30.632Z] df20fa9351a1: Pulling fs layer [2020-08-24T06:48:30.632Z] ed8968b2872e: Pulling fs layer [2020-08-24T06:48:30.632Z] a92cc7c5fd73: Pulling fs layer [2020-08-24T06:48:30.632Z] 2dd03ba5bac4: Pulling fs layer [2020-08-24T06:48:30.632Z] 1e091d79d1de: Pulling fs layer [2020-08-24T06:48:30.632Z] 481702a1767f: Pulling fs layer [2020-08-24T06:48:30.632Z] f64a6f60c768: Pulling fs layer [2020-08-24T06:48:30.632Z] e78d2573fc39: Pulling fs layer [2020-08-24T06:48:30.632Z] e876d2f968b6: Pulling fs layer [2020-08-24T06:48:30.632Z] ce8a83651883: Pulling fs layer [2020-08-24T06:48:30.632Z] 07967f4d0e4b: Pulling fs layer [2020-08-24T06:48:30.632Z] f64a6f60c768: Waiting [2020-08-24T06:48:30.632Z] e78d2573fc39: Waiting [2020-08-24T06:48:30.632Z] ce8a83651883: Waiting [2020-08-24T06:48:30.632Z] e876d2f968b6: Waiting [2020-08-24T06:48:30.632Z] 07967f4d0e4b: Waiting [2020-08-24T06:48:30.632Z] 1e091d79d1de: Waiting [2020-08-24T06:48:30.632Z] 481702a1767f: Waiting [2020-08-24T06:48:30.632Z] 2dd03ba5bac4: Waiting [2020-08-24T06:48:30.632Z] a92cc7c5fd73: Download complete [2020-08-24T06:48:30.632Z] ed8968b2872e: Verifying Checksum [2020-08-24T06:48:30.632Z] ed8968b2872e: Download complete [2020-08-24T06:48:30.632Z] 1e091d79d1de: Verifying Checksum [2020-08-24T06:48:30.632Z] 1e091d79d1de: Download complete [2020-08-24T06:48:30.632Z] 481702a1767f: Verifying Checksum [2020-08-24T06:48:30.632Z] 481702a1767f: Download complete [2020-08-24T06:48:30.901Z] df20fa9351a1: Verifying Checksum [2020-08-24T06:48:30.901Z] df20fa9351a1: Download complete [2020-08-24T06:48:31.169Z] df20fa9351a1: Pull complete [2020-08-24T06:48:31.786Z] f64a6f60c768: Verifying Checksum [2020-08-24T06:48:31.786Z] f64a6f60c768: Download complete [2020-08-24T06:48:31.786Z] e876d2f968b6: Verifying Checksum [2020-08-24T06:48:31.786Z] e876d2f968b6: Download complete [2020-08-24T06:48:32.382Z] e78d2573fc39: Verifying Checksum [2020-08-24T06:48:32.382Z] e78d2573fc39: Download complete [2020-08-24T06:48:32.382Z] ce8a83651883: Verifying Checksum [2020-08-24T06:48:32.382Z] ce8a83651883: Download complete [2020-08-24T06:48:32.382Z] 07967f4d0e4b: Verifying Checksum [2020-08-24T06:48:32.382Z] 07967f4d0e4b: Download complete [2020-08-24T06:48:32.382Z] 2dd03ba5bac4: Verifying Checksum [2020-08-24T06:48:32.382Z] 2dd03ba5bac4: Download complete [2020-08-24T06:48:33.331Z] ed8968b2872e: Pull complete [2020-08-24T06:48:33.331Z] a92cc7c5fd73: Pull complete [2020-08-24T06:48:39.939Z] 2dd03ba5bac4: Pull complete [2020-08-24T06:48:39.939Z] 1e091d79d1de: Pull complete [2020-08-24T06:48:39.939Z] 481702a1767f: Pull complete [2020-08-24T06:48:43.252Z] f64a6f60c768: Pull complete [2020-08-24T06:48:46.562Z] e78d2573fc39: Pull complete [2020-08-24T06:48:46.562Z] e876d2f968b6: Pull complete [2020-08-24T06:48:47.136Z] ce8a83651883: Pull complete [2020-08-24T06:48:47.403Z] 07967f4d0e4b: Pull complete [2020-08-24T06:48:47.404Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-24T06:48:47.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-24T06:48:47.404Z] ---> 5d7c900382c6 [2020-08-24T06:48:47.404Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-24T06:48:48.348Z] ---> Running in 54f94418b3c5 [2020-08-24T06:48:48.612Z] Removing intermediate container 54f94418b3c5 [2020-08-24T06:48:48.612Z] ---> e25944195c4e [2020-08-24T06:48:48.612Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:48:48.612Z] ---> Running in 7b0fb399346e [2020-08-24T06:48:50.000Z] Removing intermediate container 7b0fb399346e [2020-08-24T06:48:50.000Z] ---> fc9dece8832f [2020-08-24T06:48:50.000Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T06:48:50.000Z] ---> Running in 2af32628a65a [2020-08-24T06:48:50.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T06:48:51.150Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T06:48:51.724Z] (1/14) Installing libmagic (5.38-r0) [2020-08-24T06:48:51.724Z] (2/14) Installing file (5.38-r0) [2020-08-24T06:48:51.724Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-24T06:48:51.985Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-24T06:48:55.289Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-24T06:48:55.289Z] (6/14) Installing patch (2.7.6-r6) [2020-08-24T06:48:55.289Z] (7/14) Installing build-base (0.5-r2) [2020-08-24T06:48:55.289Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-24T06:48:55.289Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-24T06:48:55.289Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-24T06:48:55.553Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-24T06:48:55.553Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-24T06:48:55.813Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-24T06:48:55.813Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-24T06:48:55.813Z] Executing busybox-1.31.1-r16.trigger [2020-08-24T06:48:55.813Z] OK: 237 MiB in 53 packages [2020-08-24T06:48:59.118Z] Removing intermediate container 2af32628a65a [2020-08-24T06:48:59.118Z] ---> 14f35e6ef994 [2020-08-24T06:48:59.118Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-24T06:48:59.118Z] ---> Running in 3516eb52d9eb [2020-08-24T06:48:59.380Z] Removing intermediate container 3516eb52d9eb [2020-08-24T06:48:59.380Z] ---> e4aaad4d51b6 [2020-08-24T06:48:59.380Z] Step 7/8 : COPY . . [2020-08-24T06:49:00.336Z] ---> 71ac3c78a34e [2020-08-24T06:49:00.336Z] Step 8/8 : RUN go mod download [2020-08-24T06:49:00.336Z] ---> Running in 40def8c166d0 [2020-08-24T06:49:02.255Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:49:02.255Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:49:02.255Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T06:49:02.255Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:49:02.255Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T06:49:02.517Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T06:49:02.517Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:49:02.517Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T06:49:02.517Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:49:02.517Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:49:02.517Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:49:02.517Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:49:02.778Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:49:02.778Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:49:02.778Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T06:49:02.778Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:49:02.778Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:49:02.778Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:49:02.778Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T06:49:03.040Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T06:49:03.041Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T06:49:03.041Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T06:49:03.041Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T06:49:03.041Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:49:03.041Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:49:03.041Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:49:03.301Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T06:49:03.563Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T06:49:03.826Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T06:49:03.826Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:49:03.826Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T06:49:03.826Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T06:49:03.826Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T06:49:03.826Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-24T06:49:03.826Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T06:49:04.086Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T06:49:04.408Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:49:04.408Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:49:04.408Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T06:49:04.408Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:49:04.408Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:49:04.408Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T06:49:04.408Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T06:49:04.408Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-24T06:49:04.707Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T06:49:04.707Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T06:49:04.707Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T06:49:04.707Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T06:49:04.707Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:49:04.707Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T06:49:04.707Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-24T06:49:04.985Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T06:49:04.985Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T06:49:04.985Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T06:49:04.985Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:49:13.151Z] Removing intermediate container 40def8c166d0 [2020-08-24T06:49:13.151Z] ---> 42c6b74bc3b2 [2020-08-24T06:49:13.151Z] Successfully built 42c6b74bc3b2 [2020-08-24T06:49:13.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:49:13.978Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-24T06:49:13.978Z] . [Pipeline] withDockerContainer [2020-08-24T06:49:14.089Z] prd-centos7-docker-4c-2g-161 does not seem to be running inside a container [2020-08-24T06:49:14.139Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2020-08-24T06:49:15.389Z] $ docker top 260a4851a9ef5cef86bb83d400c9e3b1c079d2fdbc162433212405cc8378fb7c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-24T06:49:15.921Z] + go version [2020-08-24T06:49:15.921Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-24T06:49:16.258Z] + make test [2020-08-24T06:49:16.259Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-24T06:49:17.207Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-24T06:49:25.445Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-24T06:49:26.046Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.189s coverage: 50.9% of statements [2020-08-24T06:49:26.046Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-24T06:49:27.991Z] gofmt -l . [2020-08-24T06:49:27.991Z] [ "`gofmt -l .`" = "" ] [2020-08-24T06:49:27.991Z] ./bin/test-attribution-txt.sh [2020-08-24T06:49:28.255Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-24T06:49:28.816Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T06:49:28.840Z] $ docker stop --time=1 260a4851a9ef5cef86bb83d400c9e3b1c079d2fdbc162433212405cc8378fb7c [2020-08-24T06:49:31.010Z] $ docker rm -f 260a4851a9ef5cef86bb83d400c9e3b1c079d2fdbc162433212405cc8378fb7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T06:49:32.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-24T06:49:32.834Z] + ls -al . [2020-08-24T06:49:32.834Z] total 104 [2020-08-24T06:49:32.834Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 24 06:49 . [2020-08-24T06:49:32.834Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 06:48 .. [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 4434 Aug 24 06:48 Attribution.txt [2020-08-24T06:49:32.834Z] drwxrwxr-x. 2 jenkins jenkins 87 Aug 24 06:48 bin [2020-08-24T06:49:32.834Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 06:48 cmd [2020-08-24T06:49:32.834Z] -rw-r--r--. 1 jenkins jenkins 22032 Aug 24 06:49 coverage.out [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 1422 Aug 24 06:48 Dockerfile [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 954 Aug 24 06:48 Dockerfile.build [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 24 06:48 .dockerignore [2020-08-24T06:49:32.834Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 06:48 .git [2020-08-24T06:49:32.834Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 06:48 .github [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 330 Aug 24 06:48 .gitignore [2020-08-24T06:49:32.834Z] -rw-r--r--. 1 jenkins jenkins 559 Aug 24 06:49 go.mod [2020-08-24T06:49:32.834Z] -rw-r--r--. 1 jenkins jenkins 13471 Aug 24 06:49 go.sum [2020-08-24T06:49:32.834Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 24 06:48 internal [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 06:48 Jenkinsfile [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 06:48 LICENSE [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 24 06:48 Makefile [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 591 Aug 24 06:48 README.md [2020-08-24T06:49:32.834Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 24 06:48 .semver [2020-08-24T06:49:32.834Z] drwxrwxr-x. 2 jenkins jenkins 35 Aug 24 06:48 simulator [2020-08-24T06:49:32.834Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 06:48 snap [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 06:46 VERSION [2020-08-24T06:49:32.834Z] -rw-rw-r--. 1 jenkins jenkins 229 Aug 24 06:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:49:33.175Z] + 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=62371f17efb88eab1d7e88a8351d26992f7f5366 --label arch=amd64 --label version=0.0.0 . [2020-08-24T06:49:33.175Z] Sending build context to Docker daemon 673.3kB [2020-08-24T06:49:33.175Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-24T06:49:33.175Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-24T06:49:33.175Z] ---> 42c6b74bc3b2 [2020-08-24T06:49:33.175Z] Step 3/19 : ARG MAKE='make build' [2020-08-24T06:49:33.437Z] ---> Running in 0887fabaf651 [2020-08-24T06:49:33.706Z] Removing intermediate container 0887fabaf651 [2020-08-24T06:49:33.706Z] ---> 4a357cfa4125 [2020-08-24T06:49:33.706Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:49:33.706Z] ---> Running in b1abeb5b5417 [2020-08-24T06:49:34.658Z] Removing intermediate container b1abeb5b5417 [2020-08-24T06:49:34.658Z] ---> 70de5b64dd72 [2020-08-24T06:49:34.658Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T06:49:34.658Z] ---> Running in 14c9cae4e712 [2020-08-24T06:49:35.243Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T06:49:35.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T06:49:36.082Z] OK: 237 MiB in 53 packages [2020-08-24T06:49:36.619Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-162 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [2020-08-24T06:49:36.664Z] Removing intermediate container 14c9cae4e712 [2020-08-24T06:49:36.664Z] ---> 6a1cf1e1327e [2020-08-24T06:49:36.664Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-24T06:49:36.664Z] ---> Running in f4d93e3413de [Pipeline] ws [2020-08-24T06:49:36.721Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-08-24T06:49:36.945Z] Removing intermediate container f4d93e3413de [2020-08-24T06:49:36.945Z] ---> 02f61017e701 [2020-08-24T06:49:36.945Z] Step 7/19 : COPY . . [2020-08-24T06:49:37.525Z] ---> bfced6b9deaf [2020-08-24T06:49:37.525Z] Step 8/19 : RUN ${MAKE} [2020-08-24T06:49:37.525Z] ---> Running in 6f86924df62c [2020-08-24T06:49:38.105Z] 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-24T06:49:41.870Z] using credential edgex-jenkins-ssh [2020-08-24T06:49:41.924Z] Cloning the remote Git repository [2020-08-24T06:49:41.925Z] Cloning with configured refspecs honoured and without tags [2020-08-24T06:49:41.993Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:49:42.101Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-08-24T06:49:42.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:49:42.162Z] > git --version # timeout=10 [2020-08-24T06:49:42.184Z] > git --version # 'git version 2.17.1' [2020-08-24T06:49:42.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:49:42.250Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:49:43.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T06:49:43.063Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-08-24T06:49:43.083Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:49:43.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T06:49:43.134Z] Fetching without tags [2020-08-24T06:49:43.631Z] Merging remotes/origin/master commit 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 into PR head commit 62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:49:44.175Z] Merge succeeded, producing 62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:49:44.175Z] Checking out Revision 62371f17efb88eab1d7e88a8351d26992f7f5366 (PR-165) [2020-08-24T06:49:43.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T06:49:43.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:49:43.174Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T06:49:43.709Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:49:43.749Z] > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [2020-08-24T06:49:44.083Z] > git remote # timeout=10 [2020-08-24T06:49:44.108Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T06:49:44.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T06:49:44.137Z] > git merge 3d6b06ce9c8aabcbe3b96acc6656864e00d04358 # timeout=10 [2020-08-24T06:49:44.161Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T06:49:44.194Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T06:49:44.209Z] > git checkout -f 62371f17efb88eab1d7e88a8351d26992f7f5366 # timeout=10 [2020-08-24T06:49:46.339Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T06:49:48.432Z] Commit message: "Remove unused attribution in Attribution.txt" [2020-08-24T06:49:48.495Z] > git --version # timeout=10 [2020-08-24T06:49:48.505Z] > git --version # 'git version 2.17.1' [2020-08-24T06:49:48.515Z] fatal: bad object aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-24T06:49:49.605Z] ========================================================= [2020-08-24T06:49:49.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-24T06:49:49.605Z] ========================================================= [2020-08-24T06:49:49.644Z] Removing intermediate container 6f86924df62c [2020-08-24T06:49:49.644Z] ---> 5d2bfc64e887 [2020-08-24T06:49:49.644Z] Step 9/19 : FROM scratch [2020-08-24T06:49:49.644Z] ---> [2020-08-24T06:49:49.644Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-24T06:49:49.644Z] ---> Running in ebd8ec9c2694 [2020-08-24T06:49:49.644Z] Removing intermediate container ebd8ec9c2694 [2020-08-24T06:49:49.644Z] ---> cb18c1d01d71 [2020-08-24T06:49:49.644Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-24T06:49:49.644Z] ---> Running in 51953050a212 [2020-08-24T06:49:49.644Z] Removing intermediate container 51953050a212 [2020-08-24T06:49:49.644Z] ---> 0a072725ea1e [2020-08-24T06:49:49.644Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:49:50.217Z] ---> c1b449b3f39f [2020-08-24T06:49:50.217Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-24T06:49:50.478Z] ---> 00c88d292fa2 [2020-08-24T06:49:50.478Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-24T06:49:50.739Z] ---> 3afef20d4008 [2020-08-24T06:49:50.739Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-24T06:49:50.739Z] ---> Running in 5e2d1dbde6a5 [2020-08-24T06:49:50.739Z] Removing intermediate container 5e2d1dbde6a5 [2020-08-24T06:49:50.739Z] ---> ea131bb2c71a [2020-08-24T06:49:50.739Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-24T06:49:50.791Z] + 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-24T06:49:50.999Z] ---> Running in b7eae9fa9a7f [2020-08-24T06:49:50.999Z] Removing intermediate container b7eae9fa9a7f [2020-08-24T06:49:50.999Z] ---> 0256d48a9385 [2020-08-24T06:49:50.999Z] Step 17/19 : LABEL arch=amd64 [2020-08-24T06:49:51.260Z] ---> Running in dc9187657af7 [2020-08-24T06:49:51.260Z] Removing intermediate container dc9187657af7 [2020-08-24T06:49:51.260Z] ---> 0205e1859d37 [2020-08-24T06:49:51.260Z] Step 18/19 : LABEL git_sha=62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:49:51.260Z] ---> Running in 5c92180d5505 [2020-08-24T06:49:51.420Z] Sending build context to Docker daemon 642kB [2020-08-24T06:49:51.420Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-24T06:49:51.420Z] Step 2/8 : FROM ${BASE} [2020-08-24T06:49:51.521Z] Removing intermediate container 5c92180d5505 [2020-08-24T06:49:51.521Z] ---> 39c8a5df2319 [2020-08-24T06:49:51.521Z] Step 19/19 : LABEL version=0.0.0 [2020-08-24T06:49:51.521Z] ---> Running in ee85823026f6 [2020-08-24T06:49:51.782Z] Removing intermediate container ee85823026f6 [2020-08-24T06:49:51.782Z] ---> 5f08fddeaa9a [2020-08-24T06:49:51.782Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T06:49:51.782Z] Successfully built 5f08fddeaa9a [2020-08-24T06:49:51.782Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-08-24T06:49:52.028Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-24T06:49:52.028Z] b538f80385f9: Pulling fs layer [2020-08-24T06:49:52.028Z] 74f711af9a0d: Pulling fs layer [2020-08-24T06:49:52.028Z] 99f96fe45779: Pulling fs layer [2020-08-24T06:49:52.028Z] fd7a069fd194: Pulling fs layer [2020-08-24T06:49:52.028Z] 66aa3694b03b: Pulling fs layer [2020-08-24T06:49:52.028Z] 170f70906a0f: Pulling fs layer [2020-08-24T06:49:52.028Z] ad7c5574e4b9: Pulling fs layer [2020-08-24T06:49:52.028Z] e772456be8f7: Pulling fs layer [2020-08-24T06:49:52.028Z] c890913d741a: Pulling fs layer [2020-08-24T06:49:52.028Z] 2480fcc9aa5a: Pulling fs layer [2020-08-24T06:49:52.028Z] 09adf4765672: Pulling fs layer [2020-08-24T06:49:52.028Z] ad7c5574e4b9: Waiting [2020-08-24T06:49:52.028Z] e772456be8f7: Waiting [2020-08-24T06:49:52.028Z] fd7a069fd194: Waiting [2020-08-24T06:49:52.028Z] c890913d741a: Waiting [2020-08-24T06:49:52.028Z] 2480fcc9aa5a: Waiting [2020-08-24T06:49:52.028Z] 66aa3694b03b: Waiting [2020-08-24T06:49:52.028Z] 170f70906a0f: Waiting [2020-08-24T06:49:52.028Z] 09adf4765672: Waiting [2020-08-24T06:49:52.028Z] 99f96fe45779: Verifying Checksum [2020-08-24T06:49:52.028Z] 99f96fe45779: Download complete [2020-08-24T06:49:52.028Z] 74f711af9a0d: Verifying Checksum [2020-08-24T06:49:52.028Z] 74f711af9a0d: Download complete [2020-08-24T06:49:52.028Z] 66aa3694b03b: Verifying Checksum [2020-08-24T06:49:52.028Z] 66aa3694b03b: Download complete [2020-08-24T06:49:52.028Z] 170f70906a0f: Verifying Checksum [2020-08-24T06:49:52.028Z] 170f70906a0f: Download complete [2020-08-24T06:49:52.028Z] b538f80385f9: Verifying Checksum [2020-08-24T06:49:52.028Z] b538f80385f9: Download complete [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-24T06:49:53.025Z] b538f80385f9: Pull complete [2020-08-24T06:49:53.288Z] ++ find /w/workspace/device-modbus-go/1 [2020-08-24T06:49:53.288Z] ++ grep snapcraft.yaml [2020-08-24T06:49:53.288Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T06:49:53.458Z] provisioning config files... [2020-08-24T06:49:53.471Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6369296434326573855tmp [Pipeline] { [Pipeline] sh [2020-08-24T06:49:53.630Z] 74f711af9a0d: Pull complete [2020-08-24T06:49:53.871Z] + cp /w/workspace/device-modbus-go/1@tmp/config6369296434326573855tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-08-24T06:49:53.904Z] 99f96fe45779: Pull complete [2020-08-24T06:49:54.187Z] + 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-24T06:49:54.187Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-08-24T06:49:54.187Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-08-24T06:49:54.187Z] f08d8e2a3ba1: Pulling fs layer [2020-08-24T06:49:54.187Z] 3baa9cb2483b: Pulling fs layer [2020-08-24T06:49:54.187Z] 94e5ff4c0b15: Pulling fs layer [2020-08-24T06:49:54.187Z] 1860925334f9: Pulling fs layer [2020-08-24T06:49:54.187Z] 59c17e3da0e4: Pulling fs layer [2020-08-24T06:49:54.187Z] 7daec384fcf6: Pulling fs layer [2020-08-24T06:49:54.187Z] 7a29a85643c4: Pulling fs layer [2020-08-24T06:49:54.187Z] 94438e9460a9: Pulling fs layer [2020-08-24T06:49:54.187Z] 812cffafd64f: Pulling fs layer [2020-08-24T06:49:54.187Z] 1860925334f9: Waiting [2020-08-24T06:49:54.187Z] 59c17e3da0e4: Waiting [2020-08-24T06:49:54.187Z] 7daec384fcf6: Waiting [2020-08-24T06:49:54.187Z] 7a29a85643c4: Waiting [2020-08-24T06:49:54.187Z] 812cffafd64f: Waiting [2020-08-24T06:49:54.187Z] 94438e9460a9: Waiting [2020-08-24T06:49:54.187Z] 94e5ff4c0b15: Verifying Checksum [2020-08-24T06:49:54.187Z] 94e5ff4c0b15: Download complete [2020-08-24T06:49:54.187Z] 3baa9cb2483b: Verifying Checksum [2020-08-24T06:49:54.187Z] 3baa9cb2483b: Download complete [2020-08-24T06:49:54.187Z] 1860925334f9: Verifying Checksum [2020-08-24T06:49:54.187Z] 1860925334f9: Download complete [2020-08-24T06:49:54.187Z] 7daec384fcf6: Verifying Checksum [2020-08-24T06:49:54.187Z] 7daec384fcf6: Download complete [2020-08-24T06:49:54.187Z] 7a29a85643c4: Verifying Checksum [2020-08-24T06:49:54.187Z] 7a29a85643c4: Download complete [2020-08-24T06:49:54.187Z] 94438e9460a9: Download complete [2020-08-24T06:49:54.449Z] 812cffafd64f: Verifying Checksum [2020-08-24T06:49:54.449Z] 812cffafd64f: Download complete [2020-08-24T06:49:54.716Z] f08d8e2a3ba1: Download complete [2020-08-24T06:49:54.894Z] ad7c5574e4b9: Verifying Checksum [2020-08-24T06:49:54.894Z] ad7c5574e4b9: Download complete [2020-08-24T06:49:54.894Z] c890913d741a: Verifying Checksum [2020-08-24T06:49:54.894Z] c890913d741a: Download complete [2020-08-24T06:49:56.876Z] 2480fcc9aa5a: Verifying Checksum [2020-08-24T06:49:56.876Z] 2480fcc9aa5a: Download complete [2020-08-24T06:49:56.876Z] 09adf4765672: Verifying Checksum [2020-08-24T06:49:57.469Z] e772456be8f7: Verifying Checksum [2020-08-24T06:49:57.469Z] e772456be8f7: Download complete [2020-08-24T06:49:58.064Z] fd7a069fd194: Verifying Checksum [2020-08-24T06:49:58.064Z] fd7a069fd194: Download complete [2020-08-24T06:49:58.963Z] 59c17e3da0e4: Verifying Checksum [2020-08-24T06:49:58.963Z] 59c17e3da0e4: Download complete [2020-08-24T06:49:59.535Z] f08d8e2a3ba1: Pull complete [2020-08-24T06:49:59.535Z] 3baa9cb2483b: Pull complete [2020-08-24T06:49:59.797Z] 94e5ff4c0b15: Pull complete [2020-08-24T06:49:59.797Z] 1860925334f9: Pull complete [2020-08-24T06:50:10.487Z] fd7a069fd194: Pull complete [2020-08-24T06:50:10.487Z] 66aa3694b03b: Pull complete [2020-08-24T06:50:10.487Z] 170f70906a0f: Pull complete [2020-08-24T06:50:13.101Z] ad7c5574e4b9: Pull complete [2020-08-24T06:50:17.416Z] e772456be8f7: Pull complete [2020-08-24T06:50:17.688Z] c890913d741a: Pull complete [2020-08-24T06:50:19.679Z] 2480fcc9aa5a: Pull complete [2020-08-24T06:50:20.283Z] 09adf4765672: Pull complete [2020-08-24T06:50:20.283Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-24T06:50:20.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-24T06:50:20.283Z] ---> 2248a725d1cf [2020-08-24T06:50:20.283Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-24T06:50:24.591Z] ---> Running in e97b96606a7d [2020-08-24T06:50:25.197Z] Removing intermediate container e97b96606a7d [2020-08-24T06:50:25.197Z] ---> 4ddae81f9153 [2020-08-24T06:50:25.197Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:50:25.197Z] ---> Running in 10ccb4e1451d [2020-08-24T06:50:27.810Z] Removing intermediate container 10ccb4e1451d [2020-08-24T06:50:27.810Z] ---> f4b674d04248 [2020-08-24T06:50:27.811Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T06:50:28.096Z] ---> Running in 6310bed36763 [2020-08-24T06:50:29.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-24T06:50:30.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-24T06:50:30.720Z] (1/14) Installing libmagic (5.38-r0) [2020-08-24T06:50:30.720Z] (2/14) Installing file (5.38-r0) [2020-08-24T06:50:30.991Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-24T06:50:30.991Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-24T06:50:31.952Z] 59c17e3da0e4: Pull complete [2020-08-24T06:50:31.952Z] 7daec384fcf6: Pull complete [2020-08-24T06:50:31.952Z] 7a29a85643c4: Pull complete [2020-08-24T06:50:31.952Z] 94438e9460a9: Pull complete [2020-08-24T06:50:31.952Z] 812cffafd64f: Pull complete [2020-08-24T06:50:31.952Z] Digest: sha256:af8a54c7bc77af20a24fc779da6a179edb230b027a9915447f6ddb0093e77608 [2020-08-24T06:50:31.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-08-24T06:50:32.531Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-08-24T06:50:32.531Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-08-24T06:50:32.531Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-08-24T06:50:32.793Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-08-24T06:50:33.058Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1341 kB] [2020-08-24T06:50:33.321Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1417 kB] [2020-08-24T06:50:33.581Z] Fetched 3010 kB in 1s (2201 kB/s) [2020-08-24T06:50:35.499Z] Reading package lists... [2020-08-24T06:50:36.382Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-24T06:50:36.382Z] (6/14) Installing patch (2.7.6-r6) [2020-08-24T06:50:36.382Z] (7/14) Installing build-base (0.5-r2) [2020-08-24T06:50:36.382Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-24T06:50:36.382Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-24T06:50:36.382Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-24T06:50:36.659Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-24T06:50:36.659Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-24T06:50:36.659Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-24T06:50:36.929Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-24T06:50:36.929Z] Executing busybox-1.31.1-r16.trigger [2020-08-24T06:50:36.929Z] OK: 221 MiB in 53 packages [2020-08-24T06:50:39.706Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-08-24T06:50:39.706Z] 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-24T06:50:39.707Z] 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-24T06:50:39.707Z] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-08-24T06:50:41.262Z] Removing intermediate container 6310bed36763 [2020-08-24T06:50:41.262Z] ---> 470cce71dff7 [2020-08-24T06:50:41.262Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-24T06:50:41.262Z] ---> Running in 4125ab671ed6 [2020-08-24T06:50:41.330Z] 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... 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... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-24T06:50:41.536Z] Removing intermediate container 4125ab671ed6 [2020-08-24T06:50:41.536Z] ---> 9b815d19146b [2020-08-24T06:50:41.536Z] Step 7/8 : COPY . . [2020-08-24T06:50:42.537Z] ---> 2498502b975a [2020-08-24T06:50:42.537Z] Step 8/8 : RUN go mod download [2020-08-24T06:50:42.537Z] ---> Running in 97eab98f4d6f [2020-08-24T06:50:43.247Z] 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-24T06:50:44.608Z] 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... 53% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-24T06:50:44.869Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 83% Building dependency tree [2020-08-24T06:50:44.869Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-24T06:50:44.869Z] The following packages were automatically installed and are no longer required: [2020-08-24T06:50:44.869Z] libjq1 libonig4 [2020-08-24T06:50:44.869Z] Use 'sudo apt autoremove' to remove them. [2020-08-24T06:50:44.869Z] Suggested packages: [2020-08-24T06:50:44.869Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-24T06:50:44.869Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-24T06:50:44.869Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-24T06:50:44.869Z] | libterm-readline-perl-perl [2020-08-24T06:50:45.130Z] The following NEW packages will be installed: [2020-08-24T06:50:45.130Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-24T06:50:45.130Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-24T06:50:45.130Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-24T06:50:45.130Z] Need to get 12.0 MB of archives. [2020-08-24T06:50:45.130Z] After this operation, 77.5 MB of additional disk space will be used. [2020-08-24T06:50:45.390Z] 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-24T06:50:45.921Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:50:45.921Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:50:45.921Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T06:50:45.921Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:50:45.921Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T06:50:45.921Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T06:50:45.921Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:50:45.921Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T06:50:45.921Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:50:45.921Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:50:45.921Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:50:46.194Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:50:46.194Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:50:46.194Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:50:46.194Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T06:50:46.194Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:50:46.194Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:50:46.226Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 633 kB/2763 kB 23%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-08-24T06:50:46.226Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-08-24T06:50:46.226Z] 21% [3 libgdbm-compat4 6084 B/6084 B 100%] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-08-24T06:50:46.226Z] 23% [4 libperl5.26 19.0 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-08-24T06:50:46.226Z] 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-08-24T06:50:46.226Z] 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-08-24T06:50:46.226Z] 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-08-24T06:50:46.226Z] 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-08-24T06:50:46.226Z] 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-08-24T06:50:46.226Z] 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-24T06:50:46.226Z] 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-08-24T06:50:46.468Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:50:46.468Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T06:50:46.468Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T06:50:46.468Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T06:50:46.468Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T06:50:46.468Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T06:50:46.468Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:50:46.468Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:50:46.494Z] 68% [12 git 11.3 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-24T06:50:46.494Z] 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-24T06:50:46.740Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T06:50:46.740Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T06:50:46.740Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:50:46.740Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:50:46.740Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T06:50:46.740Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T06:50:46.754Z] 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (8153 kB/s) [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:50:47.014Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T06:50:47.019Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-24T06:50:47.019Z] Selecting previously unselected package perl-modules-5.26. [2020-08-24T06:50:47.283Z] (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-24T06:50:47.283Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-24T06:50:47.283Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:47.285Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T06:50:47.285Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T06:50:47.285Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:50:47.285Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T06:50:47.285Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T06:50:47.285Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T06:50:47.285Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-24T06:50:47.554Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T06:50:47.826Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T06:50:47.826Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:50:47.826Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:50:47.826Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T06:50:47.826Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:50:47.826Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:50:47.826Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T06:50:48.097Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T06:50:48.097Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-24T06:50:48.097Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T06:50:48.097Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T06:50:48.097Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T06:50:48.097Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T06:50:48.367Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:50:48.367Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T06:50:48.367Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-24T06:50:48.367Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T06:50:48.367Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T06:50:48.367Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T06:50:48.367Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:50:49.829Z] Selecting previously unselected package libgdbm5:amd64. [2020-08-24T06:50:49.829Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-08-24T06:50:50.090Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-08-24T06:50:50.090Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-08-24T06:50:50.090Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-08-24T06:50:50.090Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-24T06:50:50.090Z] Selecting previously unselected package libperl5.26:amd64. [2020-08-24T06:50:50.090Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-24T06:50:50.090Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:51.474Z] Selecting previously unselected package perl. [2020-08-24T06:50:51.474Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-24T06:50:51.474Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:51.736Z] Selecting previously unselected package less. [2020-08-24T06:50:51.736Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-08-24T06:50:51.736Z] Unpacking less (487-0.1) ... [2020-08-24T06:50:51.736Z] Selecting previously unselected package netbase. [2020-08-24T06:50:51.736Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-24T06:50:51.736Z] Unpacking netbase (5.4) ... [2020-08-24T06:50:51.736Z] Selecting previously unselected package curl. [2020-08-24T06:50:51.736Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-08-24T06:50:51.736Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-08-24T06:50:51.999Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-08-24T06:50:51.999Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-08-24T06:50:51.999Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-08-24T06:50:51.999Z] Selecting previously unselected package liberror-perl. [2020-08-24T06:50:51.999Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-24T06:50:51.999Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-24T06:50:51.999Z] Selecting previously unselected package git-man. [2020-08-24T06:50:51.999Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-24T06:50:51.999Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:50:52.259Z] Selecting previously unselected package git. [2020-08-24T06:50:52.259Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-08-24T06:50:52.259Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:50:52.831Z] Selecting previously unselected package make. [2020-08-24T06:50:52.831Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-08-24T06:50:52.831Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-24T06:50:53.091Z] Selecting previously unselected package patch. [2020-08-24T06:50:53.091Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-08-24T06:50:53.091Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-24T06:50:53.091Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:50:53.091Z] Setting up less (487-0.1) ... [2020-08-24T06:50:53.351Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-24T06:50:53.351Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-08-24T06:50:53.351Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-08-24T06:50:53.351Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:53.351Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-08-24T06:50:53.351Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-24T06:50:53.351Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-24T06:50:53.613Z] Setting up netbase (5.4) ... [2020-08-24T06:50:53.613Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:53.613Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-24T06:50:53.613Z] Setting up liberror-perl (0.17025-1) ... [2020-08-24T06:50:53.613Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:50:53.613Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-24T06:50:53.877Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-24T06:50:55.798Z] curl set to automatically installed. [2020-08-24T06:50:55.798Z] git set to automatically installed. [2020-08-24T06:50:55.798Z] git-man set to automatically installed. [2020-08-24T06:50:55.798Z] less set to automatically installed. [2020-08-24T06:50:55.798Z] libcurl3-gnutls set to automatically installed. [2020-08-24T06:50:55.798Z] liberror-perl set to automatically installed. [2020-08-24T06:50:55.798Z] libgdbm-compat4 set to automatically installed. [2020-08-24T06:50:55.798Z] libgdbm5 set to automatically installed. [2020-08-24T06:50:55.798Z] libperl5.26 set to automatically installed. [2020-08-24T06:50:55.798Z] make set to automatically installed. [2020-08-24T06:50:55.798Z] netbase set to automatically installed. [2020-08-24T06:50:55.798Z] patch set to automatically installed. [2020-08-24T06:50:55.798Z] perl set to automatically installed. [2020-08-24T06:50:55.798Z] perl-modules-5.26 set to automatically installed. [2020-08-24T06:50:55.798Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-24T06:50:55.798Z] Please ensure the environment is properly setup before continuing. [2020-08-24T06:50:55.798Z] Ignore this message if the appropriate measures have already been taken [2020-08-24T06:50:56.738Z] Pulling go  [2020-08-24T06:50:57.307Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-24T06:50:57.307Z] Skipping pull go (already ran) [2020-08-24T06:50:57.307Z] Building go  [2020-08-24T06:50:57.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-24T06:50:57.566Z] Dload Upload Total Spent Left Speed [2020-08-24T06:50:58.523Z] Removing intermediate container 97eab98f4d6f [2020-08-24T06:50:58.523Z] ---> f614e8b83c29 [2020-08-24T06:50:58.523Z] Successfully built f614e8b83c29 [2020-08-24T06:50:58.523Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:50:59.516Z] + docker inspect -f . ci-base-image-arm64 [2020-08-24T06:50:59.516Z] . [Pipeline] withDockerContainer [2020-08-24T06:50:59.782Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 114M 1 2255k 0 0 4538k 0 0:00:25 --:--:-- 0:00:25 4529k 61 114M 61 70.0M 0 0 46.7M 0 0:00:02 0:00:01 0:00:01 46.7M 100 114M 100 114M 0 0 53.3M 0 0:00:02 0:00:02 --:--:-- 53.4M [2020-08-24T06:50:59.810Z] prd-ubuntu18.04-docker-arm64-4c-16g-162 does not seem to be running inside a container [2020-08-24T06:50:59.892Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-08-24T06:51:00.352Z] go1.13.5.linux-amd64.tar.gz: OK [2020-08-24T06:51:01.778Z] $ docker top 9cc93644f981065320759d9cfb8a2fa2aafb3b2650213395ea0fe94e5ba3222c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-24T06:51:03.253Z] + go version [2020-08-24T06:51:03.253Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-08-24T06:51:04.319Z] + make test [2020-08-24T06:51:04.319Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-24T06:51:05.307Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-24T06:51:08.495Z] Staging go  [2020-08-24T06:51:08.495Z] Pulling device-modbus  [2020-08-24T06:51:09.441Z] Skipping build go (already ran) [2020-08-24T06:51:09.441Z] Building device-modbus  [2020-08-24T06:51:09.705Z] 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-24T06:51:10.652Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:51:10.652Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:51:10.652Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:51:10.915Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-24T06:51:10.915Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:51:10.915Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-24T06:51:10.915Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-24T06:51:10.915Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:51:10.915Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-24T06:51:10.915Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:51:10.915Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:51:10.915Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-24T06:51:10.915Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:51:10.915Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-24T06:51:10.915Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-24T06:51:10.915Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-24T06:51:10.915Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:51:10.915Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:51:10.915Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:51:10.915Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:51:10.915Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:51:10.915Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:51:10.915Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-24T06:51:10.915Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-24T06:51:10.915Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:51:10.915Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:51:10.915Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:51:10.915Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:51:10.915Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:51:10.915Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:51:11.183Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-24T06:51:11.183Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:51:11.183Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:51:11.183Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:51:11.183Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:51:11.183Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:51:11.183Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:51:11.183Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:51:11.183Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:51:11.183Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:51:11.183Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:51:11.183Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:51:11.183Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:51:11.183Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-24T06:51:11.183Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:51:11.183Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:51:11.183Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:51:11.183Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:51:11.183Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:51:11.183Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:51:11.183Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:51:11.183Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:51:11.183Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:51:11.447Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:51:11.447Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T06:51:11.447Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:51:11.447Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T06:51:11.447Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:51:11.447Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:51:11.447Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:51:11.447Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T06:51:11.447Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:51:11.447Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:51:11.447Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:51:11.447Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:51:11.447Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:51:11.447Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:51:11.447Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:51:11.716Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:51:11.716Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:51:11.716Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:51:11.716Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:51:11.716Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:51:11.716Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:51:11.716Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:51:11.716Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:51:11.716Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:51:11.716Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:51:11.716Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:51:11.716Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:51:21.854Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T06:51:26.058Z] Skipping stage go (already ran) [2020-08-24T06:51:26.058Z] Staging device-modbus  [2020-08-24T06:51:26.627Z] Priming go  [2020-08-24T06:51:27.568Z] Priming device-modbus  [2020-08-24T06:51:28.167Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-24T06:51:28.167Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-24T06:51:28.168Z] Determining the version from the project repo (version-script). [2020-08-24T06:51:28.523Z] The version has been set to '0.0.0-20200824+62371f1' [2020-08-24T06:51:29.763Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | [2020-08-24T06:51:29.763Z] Snapped edgex-device-modbus_0.0.0-20200824+62371f1_amd64.snap [Pipeline] } [2020-08-24T06:51:31.235Z] 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-24T06:51:37.677Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-24T06:51:37.677Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.362s coverage: 50.9% of statements [2020-08-24T06:51:37.677Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-24T06:51:38.274Z] gofmt -l . [2020-08-24T06:51:38.274Z] [ "`gofmt -l .`" = "" ] [2020-08-24T06:51:38.550Z] ./bin/test-attribution-txt.sh [2020-08-24T06:51:39.155Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-24T06:51:39.803Z] Warning: overwriting stash ‘coverage-report’ [2020-08-24T06:51:40.625Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T06:51:40.648Z] $ docker stop --time=1 9cc93644f981065320759d9cfb8a2fa2aafb3b2650213395ea0fe94e5ba3222c [2020-08-24T06:51:42.936Z] $ docker rm -f 9cc93644f981065320759d9cfb8a2fa2aafb3b2650213395ea0fe94e5ba3222c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T06:51:44.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-24T06:51:44.905Z] + ls -al . [2020-08-24T06:51:44.905Z] total 140 [2020-08-24T06:51:44.905Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 06:51 . [2020-08-24T06:51:44.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:49 .. [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 24 06:49 .dockerignore [2020-08-24T06:51:44.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 06:49 .git [2020-08-24T06:51:44.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:49 .github [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 330 Aug 24 06:49 .gitignore [2020-08-24T06:51:44.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:49 .semver [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 4434 Aug 24 06:49 Attribution.txt [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 1422 Aug 24 06:49 Dockerfile [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 954 Aug 24 06:49 Dockerfile.build [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 06:49 Jenkinsfile [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 06:49 LICENSE [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 24 06:49 Makefile [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 591 Aug 24 06:49 README.md [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 06:46 VERSION [2020-08-24T06:51:44.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:49 bin [2020-08-24T06:51:44.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:49 cmd [2020-08-24T06:51:44.905Z] -rw-r--r-- 1 jenkins jenkins 22032 Aug 24 06:51 coverage.out [2020-08-24T06:51:44.905Z] -rw-r--r-- 1 jenkins jenkins 559 Aug 24 06:51 go.mod [2020-08-24T06:51:44.905Z] -rw-r--r-- 1 jenkins jenkins 13471 Aug 24 06:51 go.sum [2020-08-24T06:51:44.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 06:49 internal [2020-08-24T06:51:44.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 06:49 simulator [2020-08-24T06:51:44.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 06:49 snap [2020-08-24T06:51:44.905Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 24 06:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:51:45.330Z] + 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=62371f17efb88eab1d7e88a8351d26992f7f5366 --label arch=arm64 --label version=0.0.0 . [2020-08-24T06:51:45.602Z] Sending build context to Docker daemon 673.3kB [2020-08-24T06:51:45.875Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-24T06:51:45.875Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-24T06:51:45.875Z] ---> f614e8b83c29 [2020-08-24T06:51:45.875Z] Step 3/19 : ARG MAKE='make build' [2020-08-24T06:51:46.148Z] ---> Running in 68d04fdb43f0 [2020-08-24T06:51:46.749Z] Removing intermediate container 68d04fdb43f0 [2020-08-24T06:51:46.749Z] ---> 64d3051bb9b1 [2020-08-24T06:51:46.749Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T06:51:47.025Z] ---> Running in 7076a5459dd4 [2020-08-24T06:51:49.637Z] Removing intermediate container 7076a5459dd4 [2020-08-24T06:51:49.637Z] ---> 390974a73273 [2020-08-24T06:51:49.637Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T06:51:49.914Z] ---> Running in f141c8e81cfd [2020-08-24T06:51:51.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-24T06:51:51.935Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-24T06:51:52.536Z] OK: 221 MiB in 53 packages [2020-08-24T06:51:53.961Z] Removing intermediate container f141c8e81cfd [2020-08-24T06:51:53.961Z] ---> 3d020469b4dc [2020-08-24T06:51:53.961Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-24T06:51:54.233Z] ---> Running in df776961ceda [2020-08-24T06:51:54.824Z] Removing intermediate container df776961ceda [2020-08-24T06:51:54.824Z] ---> a3063be58f7f [2020-08-24T06:51:54.824Z] Step 7/19 : COPY . . [2020-08-24T06:51:55.796Z] ---> b5d3e4387434 [2020-08-24T06:51:55.796Z] Step 8/19 : RUN ${MAKE} [2020-08-24T06:51:56.069Z] ---> Running in 52800396df2e [2020-08-24T06:51:57.495Z] 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-24T06:52:24.888Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T06:52:29.179Z] Removing intermediate container 52800396df2e [2020-08-24T06:52:29.179Z] ---> d99e1724c451 [2020-08-24T06:52:29.179Z] Step 9/19 : FROM scratch [2020-08-24T06:52:29.179Z] ---> [2020-08-24T06:52:29.179Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-24T06:52:29.179Z] ---> Running in d118f7cca2eb [2020-08-24T06:52:29.179Z] Removing intermediate container d118f7cca2eb [2020-08-24T06:52:29.179Z] ---> d12ec0abb2ff [2020-08-24T06:52:29.179Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-24T06:52:29.179Z] ---> Running in 8ecb28212a6d [2020-08-24T06:52:29.771Z] Removing intermediate container 8ecb28212a6d [2020-08-24T06:52:29.771Z] ---> ae63d22b0c85 [2020-08-24T06:52:29.771Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-08-24T06:52:30.757Z] ---> 34b466b21101 [2020-08-24T06:52:30.757Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-24T06:52:31.733Z] ---> ecc27607550b [2020-08-24T06:52:31.733Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-24T06:52:32.328Z] ---> 71fc359e9f6a [2020-08-24T06:52:32.328Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-24T06:52:32.328Z] ---> Running in f9a410e744b8 [2020-08-24T06:52:32.934Z] Removing intermediate container f9a410e744b8 [2020-08-24T06:52:32.934Z] ---> 5f7fbf467193 [2020-08-24T06:52:32.934Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-24T06:52:32.934Z] ---> Running in a0f85919f81a [2020-08-24T06:52:33.216Z] Removing intermediate container a0f85919f81a [2020-08-24T06:52:33.216Z] ---> f83a0652ec23 [2020-08-24T06:52:33.216Z] Step 17/19 : LABEL arch=arm64 [2020-08-24T06:52:33.489Z] ---> Running in 7f4c93c876f5 [2020-08-24T06:52:33.768Z] Removing intermediate container 7f4c93c876f5 [2020-08-24T06:52:33.768Z] ---> 144a4ce1884c [2020-08-24T06:52:33.768Z] Step 18/19 : LABEL git_sha=62371f17efb88eab1d7e88a8351d26992f7f5366 [2020-08-24T06:52:34.048Z] ---> Running in bb19269bd8bf [2020-08-24T06:52:34.645Z] Removing intermediate container bb19269bd8bf [2020-08-24T06:52:34.645Z] ---> 661390b25e4b [2020-08-24T06:52:34.645Z] Step 19/19 : LABEL version=0.0.0 [2020-08-24T06:52:34.645Z] ---> Running in 371191af3db8 [2020-08-24T06:52:34.920Z] Removing intermediate container 371191af3db8 [2020-08-24T06:52:34.920Z] ---> e4160dcccc56 [2020-08-24T06:52:34.920Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T06:52:35.192Z] Successfully built e4160dcccc56 [2020-08-24T06:52:35.192Z] 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-24T06:52:36.433Z] + + find /w/workspace/device-modbus-go/1 [2020-08-24T06:52:36.433Z] grep snapcraft.yaml [2020-08-24T06:52:36.433Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T06:52:36.632Z] provisioning config files... [2020-08-24T06:52:36.655Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3340084302095227465tmp [Pipeline] { [Pipeline] sh [2020-08-24T06:52:37.084Z] + cp /w/workspace/device-modbus-go/1@tmp/config3340084302095227465tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-08-24T06:52:37.469Z] + 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-24T06:52:37.469Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-08-24T06:52:37.743Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-08-24T06:52:37.743Z] 237528ba509b: Pulling fs layer [2020-08-24T06:52:37.744Z] 393b96f31d8b: Pulling fs layer [2020-08-24T06:52:37.744Z] 4d82b0e39008: Pulling fs layer [2020-08-24T06:52:37.744Z] e7ca375b8d34: Pulling fs layer [2020-08-24T06:52:37.744Z] 07392d479177: Pulling fs layer [2020-08-24T06:52:37.744Z] 8324981f6117: Pulling fs layer [2020-08-24T06:52:37.744Z] c3105ce2227d: Pulling fs layer [2020-08-24T06:52:37.744Z] 92aa0e4ab508: Pulling fs layer [2020-08-24T06:52:37.744Z] ae419ce1c302: Pulling fs layer [2020-08-24T06:52:37.744Z] 8324981f6117: Waiting [2020-08-24T06:52:37.744Z] ae419ce1c302: Waiting [2020-08-24T06:52:37.744Z] c3105ce2227d: Waiting [2020-08-24T06:52:37.744Z] 07392d479177: Waiting [2020-08-24T06:52:37.744Z] e7ca375b8d34: Waiting [2020-08-24T06:52:37.744Z] 92aa0e4ab508: Waiting [2020-08-24T06:52:37.744Z] 4d82b0e39008: Verifying Checksum [2020-08-24T06:52:37.744Z] 4d82b0e39008: Download complete [2020-08-24T06:52:37.744Z] 393b96f31d8b: Download complete [2020-08-24T06:52:37.744Z] e7ca375b8d34: Verifying Checksum [2020-08-24T06:52:37.744Z] e7ca375b8d34: Download complete [2020-08-24T06:52:37.744Z] 8324981f6117: Verifying Checksum [2020-08-24T06:52:37.744Z] 8324981f6117: Download complete [2020-08-24T06:52:37.744Z] c3105ce2227d: Download complete [2020-08-24T06:52:37.744Z] 92aa0e4ab508: Download complete [2020-08-24T06:52:37.744Z] ae419ce1c302: Verifying Checksum [2020-08-24T06:52:37.744Z] ae419ce1c302: Download complete [2020-08-24T06:52:38.735Z] 237528ba509b: Verifying Checksum [2020-08-24T06:52:38.735Z] 237528ba509b: Download complete [2020-08-24T06:52:42.144Z] 237528ba509b: Pull complete [2020-08-24T06:52:42.144Z] 393b96f31d8b: Pull complete [2020-08-24T06:52:42.420Z] 4d82b0e39008: Pull complete [2020-08-24T06:52:43.027Z] e7ca375b8d34: Pull complete [2020-08-24T06:52:48.423Z] 07392d479177: Verifying Checksum [2020-08-24T06:52:48.423Z] 07392d479177: Download complete [2020-08-24T06:53:27.417Z] 07392d479177: Pull complete [2020-08-24T06:53:27.417Z] 8324981f6117: Pull complete [2020-08-24T06:53:27.417Z] c3105ce2227d: Pull complete [2020-08-24T06:53:27.690Z] 92aa0e4ab508: Pull complete [2020-08-24T06:53:28.285Z] ae419ce1c302: Pull complete [2020-08-24T06:53:28.285Z] Digest: sha256:6e406ae1453d9e8d8e9e409efff2bb31ab6f017c918e683fbe291fd96f16a4ed [2020-08-24T06:53:28.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-08-24T06:53:33.686Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-24T06:53:33.686Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-08-24T06:53:33.686Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-08-24T06:53:33.686Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-08-24T06:53:33.957Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1253 kB] [2020-08-24T06:53:34.561Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [922 kB] [2020-08-24T06:53:34.832Z] Fetched 2427 kB in 2s (1261 kB/s) [2020-08-24T06:53:40.244Z] Reading package lists... [2020-08-24T06:53:52.670Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-24T06:53:52.670Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-08-24T06:53:52.670Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-08-24T06:53:52.670Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-08-24T06:53:58.146Z] 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... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-24T06:54:04.837Z] 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-24T06:54:08.658Z] 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... 11% Reading package lists... 33% Reading package lists... 55% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 74% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-08-24T06:54:09.534Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-08-24T06:54:09.534Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-24T06:54:10.126Z] The following packages were automatically installed and are no longer required: [2020-08-24T06:54:10.126Z] libjq1 libonig4 [2020-08-24T06:54:10.126Z] Use 'sudo apt autoremove' to remove them. [2020-08-24T06:54:10.126Z] Suggested packages: [2020-08-24T06:54:10.126Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-24T06:54:10.126Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-24T06:54:10.126Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-24T06:54:10.126Z] | libterm-readline-perl-perl [2020-08-24T06:54:10.399Z] The following NEW packages will be installed: [2020-08-24T06:54:10.399Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-24T06:54:10.399Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-24T06:54:10.399Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-24T06:54:10.399Z] Need to get 10.8 MB of archives. [2020-08-24T06:54:10.399Z] After this operation, 73.6 MB of additional disk space will be used. [2020-08-24T06:54:10.673Z] 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-24T06:54:11.542Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 709 kB/2763 kB 26%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-08-24T06:54:11.542Z] 22% [2 libgdbm5 7477 B/23.1 kB 32%] 24% [Waiting for headers] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-08-24T06:54:11.542Z] 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-24T06:54:11.814Z] 25% [4 libperl5.26 24.6 kB/3326 kB 1%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-08-24T06:54:11.814Z] 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-08-24T06:54:11.814Z] 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-08-24T06:54:11.814Z] 56% [7 netbase 0 B/12.7 kB 0%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] [2020-08-24T06:54:11.814Z] 58% [8 curl 32.8 kB/152 kB 22%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] [2020-08-24T06:54:11.814Z] 60% [9 libcurl3-gnutls 8192 B/179 kB 5%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-08-24T06:54:11.814Z] 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-24T06:54:11.814Z] 65% [11 git-man 20.5 kB/804 kB 3%] 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-24T06:54:12.084Z] 72% [12 git 16.4 kB/2952 kB 1%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-08-24T06:54:12.084Z] 96% [13 make 65.5 kB/139 kB 47%] 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-24T06:54:12.084Z] 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (7309 kB/s) [2020-08-24T06:54:12.674Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-24T06:54:12.954Z] Selecting previously unselected package perl-modules-5.26. [2020-08-24T06:54:12.954Z] (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-24T06:54:12.954Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-24T06:54:12.954Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:14.928Z] Selecting previously unselected package libgdbm5:arm64. [2020-08-24T06:54:14.928Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-08-24T06:54:14.928Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-08-24T06:54:14.928Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-08-24T06:54:14.928Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-08-24T06:54:14.928Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-24T06:54:14.928Z] Selecting previously unselected package libperl5.26:arm64. [2020-08-24T06:54:14.928Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-24T06:54:14.928Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:15.898Z] Selecting previously unselected package perl. [2020-08-24T06:54:15.898Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-24T06:54:15.898Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:16.170Z] Selecting previously unselected package less. [2020-08-24T06:54:16.170Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-08-24T06:54:16.170Z] Unpacking less (487-0.1) ... [2020-08-24T06:54:16.444Z] Selecting previously unselected package netbase. [2020-08-24T06:54:16.444Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-24T06:54:16.444Z] Unpacking netbase (5.4) ... [2020-08-24T06:54:16.444Z] Selecting previously unselected package curl. [2020-08-24T06:54:16.444Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-08-24T06:54:16.444Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-08-24T06:54:16.715Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-08-24T06:54:16.715Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-08-24T06:54:16.715Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-08-24T06:54:16.715Z] Selecting previously unselected package liberror-perl. [2020-08-24T06:54:16.715Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-24T06:54:16.715Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-24T06:54:16.987Z] Selecting previously unselected package git-man. [2020-08-24T06:54:16.987Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-24T06:54:16.987Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:54:17.257Z] Selecting previously unselected package git. [2020-08-24T06:54:17.257Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-08-24T06:54:17.257Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:54:18.229Z] Selecting previously unselected package make. [2020-08-24T06:54:18.229Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-08-24T06:54:18.505Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-24T06:54:18.505Z] Selecting previously unselected package patch. [2020-08-24T06:54:18.505Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-08-24T06:54:18.505Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-24T06:54:18.780Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:54:18.780Z] Setting up less (487-0.1) ... [2020-08-24T06:54:19.050Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-24T06:54:19.050Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-08-24T06:54:19.050Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-08-24T06:54:19.050Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:19.050Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-08-24T06:54:19.320Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-24T06:54:19.320Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-24T06:54:19.320Z] Setting up netbase (5.4) ... [2020-08-24T06:54:19.320Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:19.320Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-24T06:54:19.593Z] Setting up liberror-perl (0.17025-1) ... [2020-08-24T06:54:19.593Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T06:54:19.593Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-24T06:54:19.868Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-24T06:54:25.240Z] curl set to automatically installed. [2020-08-24T06:54:25.240Z] git set to automatically installed. [2020-08-24T06:54:25.240Z] git-man set to automatically installed. [2020-08-24T06:54:25.240Z] less set to automatically installed. [2020-08-24T06:54:25.240Z] libcurl3-gnutls set to automatically installed. [2020-08-24T06:54:25.240Z] liberror-perl set to automatically installed. [2020-08-24T06:54:25.513Z] libgdbm-compat4 set to automatically installed. [2020-08-24T06:54:25.513Z] libgdbm5 set to automatically installed. [2020-08-24T06:54:25.513Z] libperl5.26 set to automatically installed. [2020-08-24T06:54:25.513Z] make set to automatically installed. [2020-08-24T06:54:25.513Z] netbase set to automatically installed. [2020-08-24T06:54:25.513Z] patch set to automatically installed. [2020-08-24T06:54:25.513Z] perl set to automatically installed. [2020-08-24T06:54:25.785Z] perl-modules-5.26 set to automatically installed. [2020-08-24T06:54:25.785Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-24T06:54:25.785Z] Please ensure the environment is properly setup before continuing. [2020-08-24T06:54:25.785Z] Ignore this message if the appropriate measures have already been taken [2020-08-24T06:54:26.753Z] Pulling go  [2020-08-24T06:54:30.135Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-24T06:54:30.135Z] Skipping pull go (already ran) [2020-08-24T06:54:30.135Z] Building go  [2020-08-24T06:54:30.135Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-24T06:54:30.135Z] Dload Upload Total Spent Left Speed [2020-08-24T06:54:33.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 93.0M 0 3269 0 0 10718 0 2:31:46 --:--:-- 2:31:46 10683 28 93.0M 28 26.1M 0 0 20.2M 0 0:00:04 0:00:01 0:00:03 20.1M 56 93.0M 56 52.2M 0 0 22.8M 0 0:00:04 0:00:02 0:00:02 22.8M 85 93.0M 85 80.0M 0 0 24.0M 0 0:00:03 0:00:03 --:--:-- 24.0M 100 93.0M 100 93.0M 0 0 24.5M 0 0:00:03 0:00:03 --:--:-- 24.5M [2020-08-24T06:54:35.350Z] go1.13.5.linux-arm64.tar.gz: OK [2020-08-24T06:54:53.604Z] Staging go  [2020-08-24T06:54:55.027Z] Pulling device-modbus  [2020-08-24T06:54:57.630Z] Skipping build go (already ran) [2020-08-24T06:54:57.630Z] Building device-modbus  [2020-08-24T06:54:57.900Z] 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-24T06:54:58.873Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:54:58.873Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:54:58.873Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-24T06:54:59.145Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:54:59.145Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-24T06:54:59.145Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-24T06:54:59.145Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:54:59.145Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-24T06:54:59.145Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-24T06:54:59.145Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:54:59.145Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-24T06:54:59.419Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:54:59.419Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:54:59.419Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-24T06:54:59.419Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-24T06:54:59.419Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:54:59.419Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:54:59.419Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:54:59.419Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-24T06:54:59.419Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:54:59.419Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-24T06:54:59.419Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:54:59.419Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:54:59.419Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:54:59.419Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:54:59.419Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-24T06:54:59.419Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:54:59.419Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:54:59.419Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:54:59.419Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:54:59.419Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:54:59.419Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-24T06:54:59.419Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:54:59.419Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:54:59.419Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:54:59.693Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-24T06:54:59.693Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:54:59.693Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:54:59.693Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:54:59.693Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:54:59.693Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:54:59.693Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:54:59.693Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:54:59.693Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-24T06:54:59.693Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:54:59.693Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:54:59.693Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:54:59.693Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:54:59.963Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-24T06:54:59.963Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:54:59.963Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:54:59.963Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:54:59.963Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:54:59.963Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:55:00.237Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:55:00.237Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:55:00.237Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:55:00.237Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T06:55:00.237Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T06:55:00.237Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T06:55:00.237Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T06:55:00.237Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T06:55:00.237Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T06:55:00.508Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T06:55:00.508Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T06:55:00.508Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T06:55:00.508Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T06:55:00.508Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T06:55:00.508Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T06:55:00.508Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T06:55:00.508Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T06:55:00.508Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T06:55:00.508Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T06:55:00.508Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T06:55:00.508Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T06:55:00.508Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T06:55:00.508Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T06:55:00.508Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T06:55:00.508Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T06:55:00.778Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T06:55:00.778Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T06:55:00.778Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T06:55:00.778Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T06:55:00.778Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T06:55:00.778Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T06:55:00.778Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T06:55:00.778Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T06:55:00.778Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T06:55:22.943Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T06:55:41.215Z] Skipping stage go (already ran) [2020-08-24T06:55:41.215Z] Staging device-modbus  [2020-08-24T06:55:42.654Z] Priming go  [2020-08-24T06:55:46.178Z] Priming device-modbus  [2020-08-24T06:55:49.572Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-24T06:55:49.572Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-24T06:55:49.572Z] Determining the version from the project repo (version-script). [2020-08-24T06:55:49.572Z] The version has been set to '0.0.0-20200824+62371f1' [2020-08-24T06:55:52.329Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | [2020-08-24T06:55:52.329Z] Snapped edgex-device-modbus_0.0.0-20200824+62371f1_arm64.snap [Pipeline] } [2020-08-24T06:55:54.965Z] 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-24T06:55:56.694Z] provisioning config files... [2020-08-24T06:55:56.707Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config8358657689845499907tmp [Pipeline] { [Pipeline] sh [2020-08-24T06:55:57.123Z] + curl -s https://codecov.io/bash [2020-08-24T06:55:57.124Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config8358657689845499907tmp [Pipeline] } [2020-08-24T06:55:57.409Z] 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-24T06:56:00.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:56:00.776Z] ---> package-listing.sh [2020-08-24T06:56:00.776Z] ++ facter osfamily [2020-08-24T06:56:00.776Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-24T06:56:00.776Z] + OS_FAMILY=redhat [2020-08-24T06:56:00.776Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-165 [2020-08-24T06:56:00.776Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-24T06:56:00.776Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-24T06:56:00.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-24T06:56:00.776Z] + PACKAGES=/tmp/packages_start.txt [2020-08-24T06:56:00.776Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' [2020-08-24T06:56:00.776Z] + PACKAGES=/tmp/packages_end.txt [2020-08-24T06:56:00.776Z] + case "${OS_FAMILY}" in [2020-08-24T06:56:00.776Z] + rpm -qa [2020-08-24T06:56:00.776Z] + sort [2020-08-24T06:56:05.005Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-24T06:56:05.005Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-24T06:56:05.005Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-24T06:56:05.005Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' [2020-08-24T06:56:05.005Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [2020-08-24T06:56:05.005Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:56:05.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:05.445Z] [2020-08-24T06:56:05.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-24T06:56:05.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:05.834Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-24T06:56:05.834Z] c9b1b535fdd9: Pulling fs layer [2020-08-24T06:56:05.834Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-24T06:56:05.834Z] 756a868c4378: Pulling fs layer [2020-08-24T06:56:05.834Z] 444b2fc9a129: Pulling fs layer [2020-08-24T06:56:05.834Z] ea15f1150254: Pulling fs layer [2020-08-24T06:56:05.834Z] 41b27a9f41bf: Pulling fs layer [2020-08-24T06:56:05.834Z] 28c525ee5125: Pulling fs layer [2020-08-24T06:56:05.834Z] 094b1ea09ed8: Pulling fs layer [2020-08-24T06:56:05.834Z] 138eaada9080: Pulling fs layer [2020-08-24T06:56:05.834Z] 0622d0fa9048: Pulling fs layer [2020-08-24T06:56:05.834Z] ea15f1150254: Waiting [2020-08-24T06:56:05.834Z] 41b27a9f41bf: Waiting [2020-08-24T06:56:05.834Z] 28c525ee5125: Waiting [2020-08-24T06:56:05.834Z] 094b1ea09ed8: Waiting [2020-08-24T06:56:05.834Z] 138eaada9080: Waiting [2020-08-24T06:56:05.834Z] 0622d0fa9048: Waiting [2020-08-24T06:56:05.834Z] 444b2fc9a129: Waiting [2020-08-24T06:56:05.834Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-24T06:56:05.834Z] 2cc5ad85d9ab: Download complete [2020-08-24T06:56:05.834Z] 444b2fc9a129: Verifying Checksum [2020-08-24T06:56:05.834Z] 444b2fc9a129: Download complete [2020-08-24T06:56:05.834Z] c9b1b535fdd9: Download complete [2020-08-24T06:56:05.834Z] ea15f1150254: Verifying Checksum [2020-08-24T06:56:05.834Z] ea15f1150254: Download complete [2020-08-24T06:56:06.115Z] 28c525ee5125: Verifying Checksum [2020-08-24T06:56:06.115Z] 28c525ee5125: Download complete [2020-08-24T06:56:06.115Z] 756a868c4378: Verifying Checksum [2020-08-24T06:56:06.115Z] 756a868c4378: Download complete [2020-08-24T06:56:06.384Z] c9b1b535fdd9: Pull complete [2020-08-24T06:56:06.384Z] 138eaada9080: Verifying Checksum [2020-08-24T06:56:06.384Z] 138eaada9080: Download complete [2020-08-24T06:56:06.651Z] 0622d0fa9048: Verifying Checksum [2020-08-24T06:56:06.651Z] 0622d0fa9048: Download complete [2020-08-24T06:56:06.651Z] 2cc5ad85d9ab: Pull complete [2020-08-24T06:56:06.651Z] 094b1ea09ed8: Verifying Checksum [2020-08-24T06:56:06.651Z] 094b1ea09ed8: Download complete [2020-08-24T06:56:06.915Z] 41b27a9f41bf: Verifying Checksum [2020-08-24T06:56:06.915Z] 41b27a9f41bf: Download complete [2020-08-24T06:56:08.314Z] 756a868c4378: Pull complete [2020-08-24T06:56:08.314Z] 444b2fc9a129: Pull complete [2020-08-24T06:56:08.576Z] ea15f1150254: Pull complete [2020-08-24T06:56:12.793Z] 41b27a9f41bf: Pull complete [2020-08-24T06:56:12.793Z] 28c525ee5125: Pull complete [2020-08-24T06:56:16.107Z] 094b1ea09ed8: Pull complete [2020-08-24T06:56:16.107Z] 138eaada9080: Pull complete [2020-08-24T06:56:16.107Z] 0622d0fa9048: Pull complete [2020-08-24T06:56:16.107Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-24T06:56:16.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T06:56:16.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-24T06:56:16.339Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2020-08-24T06:56:16.387Z] $ 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-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-24T06:56:18.507Z] $ docker top 3cbba4b4ff87d4c4ea202407304cf407f231b0fada5ed4b6fc419fb7464540df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T06:56:18.843Z] provisioning config files... [2020-08-24T06:56:18.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config658030737450752457tmp [Pipeline] { [Pipeline] echo [2020-08-24T06:56:18.975Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:56:19.317Z] ---> create-netrc.sh [Pipeline] echo [2020-08-24T06:56:19.346Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T06:56:19.679Z] ---> logs-deploy.sh [2020-08-24T06:56:19.679Z] + ARCHIVE_ARTIFACTS= [2020-08-24T06:56:19.679Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-24T06:56:19.679Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-24T06:56:19.679Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-24T06:56:19.679Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/1 [2020-08-24T06:56:19.679Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-165/1/ [2020-08-24T06:56:19.679Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/1 /w/workspace/xfoundry_device-modbus-go_PR-165 [2020-08-24T06:56:21.067Z] Archives upload complete. [2020-08-24T06:56:21.067Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-165/1/ [2020-08-24T06:56:21.640Z] ---> uname -a: [2020-08-24T06:56:21.640Z] Linux 3cbba4b4ff87 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] ---> lscpu: [2020-08-24T06:56:21.640Z] Architecture: x86_64 [2020-08-24T06:56:21.640Z] CPU op-mode(s): 32-bit, 64-bit [2020-08-24T06:56:21.640Z] Byte Order: Little Endian [2020-08-24T06:56:21.640Z] Address sizes: 40 bits physical, 48 bits virtual [2020-08-24T06:56:21.640Z] CPU(s): 4 [2020-08-24T06:56:21.640Z] On-line CPU(s) list: 0-3 [2020-08-24T06:56:21.640Z] Thread(s) per core: 1 [2020-08-24T06:56:21.640Z] Core(s) per socket: 1 [2020-08-24T06:56:21.640Z] Socket(s): 4 [2020-08-24T06:56:21.640Z] NUMA node(s): 1 [2020-08-24T06:56:21.640Z] Vendor ID: GenuineIntel [2020-08-24T06:56:21.640Z] CPU family: 6 [2020-08-24T06:56:21.640Z] Model: 44 [2020-08-24T06:56:21.640Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-08-24T06:56:21.640Z] Stepping: 1 [2020-08-24T06:56:21.640Z] CPU MHz: 2933.438 [2020-08-24T06:56:21.640Z] BogoMIPS: 5866.87 [2020-08-24T06:56:21.640Z] Virtualization: VT-x [2020-08-24T06:56:21.640Z] Hypervisor vendor: KVM [2020-08-24T06:56:21.640Z] Virtualization type: full [2020-08-24T06:56:21.640Z] L1d cache: 128 KiB [2020-08-24T06:56:21.640Z] L1i cache: 128 KiB [2020-08-24T06:56:21.640Z] L2 cache: 16 MiB [2020-08-24T06:56:21.640Z] L3 cache: 64 MiB [2020-08-24T06:56:21.640Z] NUMA node0 CPU(s): 0-3 [2020-08-24T06:56:21.640Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-08-24T06:56:21.640Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-08-24T06:56:21.640Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-08-24T06:56:21.640Z] Vulnerability Meltdown: Mitigation; PTI [2020-08-24T06:56:21.640Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-08-24T06:56:21.640Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-08-24T06:56:21.640Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-08-24T06:56:21.640Z] Vulnerability Tsx async abort: Not affected [2020-08-24T06:56:21.640Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] ---> nproc: [2020-08-24T06:56:21.640Z] 4 [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] ---> df -h: [2020-08-24T06:56:21.640Z] Filesystem Size Used Available Use% Mounted on [2020-08-24T06:56:21.640Z] overlay 50.0G 7.2G 42.8G 14% / [2020-08-24T06:56:21.640Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-08-24T06:56:21.640Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-08-24T06:56:21.640Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-165 [2020-08-24T06:56:21.640Z] /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/xfoundry_device-modbus-go_PR-165@tmp [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] ---> free -m: [2020-08-24T06:56:21.640Z] total used free shared buff/cache available [2020-08-24T06:56:21.640Z] Mem: 1837 667 111 0 1058 1063 [2020-08-24T06:56:21.640Z] Swap: 1023 1 1022 [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z] ---> ip addr: [2020-08-24T06:56:21.640Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-08-24T06:56:21.640Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-08-24T06:56:21.640Z] inet 127.0.0.1/8 scope host lo [2020-08-24T06:56:21.640Z] valid_lft forever preferred_lft forever [2020-08-24T06:56:21.640Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-08-24T06:56:21.640Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-08-24T06:56:21.640Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-08-24T06:56:21.640Z] valid_lft forever preferred_lft forever [2020-08-24T06:56:21.640Z] [2020-08-24T06:56:21.640Z]