Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from aac68ee3218624e25aee617d21101238ddac5a86+ac842be5e75fcd5e4c012862374abb44191cceb5 (b6798a16114786380da653b2bbad8489cecba340) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre SNAP_CHANNEL: latest/edge BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: api/openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-209 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-162 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 Merge succeeded, producing 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 Checking out Revision 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 (PR-162) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 # timeout=10 Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" > git rev-list --no-walk aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-08-24T16:53:40.450Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-08-24T16:53:40.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-08-24T16:53:40.862Z] ========================================================= [2020-08-24T16:53:40.862Z] EdgeX Global Pipelines Version Info [2020-08-24T16:53:40.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-08-24T16:53:43.482Z] ------------------- [2020-08-24T16:53:43.482Z] stable info: [2020-08-24T16:53:43.482Z] ------------------- [2020-08-24T16:53:43.482Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-08-24T16:53:43.482Z] Commit SHA: aa5d44ad3d4a1bf625281d2406f01aa1bbe14146 [2020-08-24T16:53:43.482Z] Message: update stable to v1.0.106 [2020-08-24T16:53:44.075Z] ------------------- [2020-08-24T16:53:44.075Z] experimental info: [2020-08-24T16:53:44.075Z] ------------------- [2020-08-24T16:53:44.075Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-08-24T16:53:44.075Z] Commit SHA: 69b11ffe9275ab8e68c4cba724b6d595bdc2db9b [2020-08-24T16:53:44.075Z] 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-24T16:53:46.319Z] + git log --format=format:%s -1 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 [Pipeline] echo [2020-08-24T16:53:46.390Z] GIT_COMMIT: 90f9c5391e6aac6001e8b3b2c5bb575c789d17c7, Commit Message: Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD [Pipeline] echo [2020-08-24T16:53:46.438Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:53:46.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T16:53:47.234Z] [2020-08-24T16:53:47.234Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:53:47.589Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T16:53:47.589Z] latest: Pulling from edgex-devops/git-semver [2020-08-24T16:53:47.589Z] 31603596830f: Pulling fs layer [2020-08-24T16:53:47.589Z] 2a8b12db71e7: Pulling fs layer [2020-08-24T16:53:47.589Z] 6ca5941a6612: Pulling fs layer [2020-08-24T16:53:47.589Z] ecc8261a40a4: Pulling fs layer [2020-08-24T16:53:47.589Z] ecc8261a40a4: Waiting [2020-08-24T16:53:47.589Z] 2a8b12db71e7: Verifying Checksum [2020-08-24T16:53:47.589Z] 2a8b12db71e7: Download complete [2020-08-24T16:53:47.589Z] 31603596830f: Verifying Checksum [2020-08-24T16:53:47.589Z] 31603596830f: Download complete [2020-08-24T16:53:47.855Z] ecc8261a40a4: Verifying Checksum [2020-08-24T16:53:47.855Z] ecc8261a40a4: Download complete [2020-08-24T16:53:47.855Z] 6ca5941a6612: Verifying Checksum [2020-08-24T16:53:47.855Z] 6ca5941a6612: Download complete [2020-08-24T16:53:48.116Z] 31603596830f: Pull complete [2020-08-24T16:53:48.116Z] 2a8b12db71e7: Pull complete [2020-08-24T16:53:49.076Z] 6ca5941a6612: Pull complete [2020-08-24T16:53:49.076Z] ecc8261a40a4: Pull complete [2020-08-24T16:53:49.076Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-08-24T16:53:49.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-08-24T16:53:49.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-08-24T16:53:49.181Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-08-24T16:53:49.248Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-08-24T16:53:51.495Z] $ docker top 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-08-24T16:53:51.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T16:53:51.831Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T16:53:52.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T16:53:52.048Z] $ docker exec 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc ssh-agent [2020-08-24T16:53:52.204Z] SSH_AUTH_SOCK=/tmp/ssh-ZV0mxxeTJC56/agent.12 [2020-08-24T16:53:52.204Z] SSH_AGENT_PID=17 [2020-08-24T16:53:52.220Z] Running ssh-add (command line suppressed) [2020-08-24T16:53:52.344Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_3380064268242730931.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_3380064268242730931.key) [2020-08-24T16:53:52.389Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T16:53:52.811Z] + git describe --exact-match --tags HEAD [2020-08-24T16:53:52.811Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-08-24T16:53:52.838Z] $ docker exec --env ******** --env ******** 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc ssh-agent -k [2020-08-24T16:53:52.970Z] unset SSH_AUTH_SOCK; [2020-08-24T16:53:52.970Z] unset SSH_AGENT_PID; [2020-08-24T16:53:52.970Z] echo Agent pid 17 killed; [2020-08-24T16:53:53.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-08-24T16:53:53.106Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-08-24T16:53:53.106Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-08-24T16:53:53.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-08-24T16:53:53.229Z] [ssh-agent] Looking for ssh-agent implementation... [2020-08-24T16:53:53.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-08-24T16:53:53.398Z] $ docker exec 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc ssh-agent [2020-08-24T16:53:53.559Z] SSH_AUTH_SOCK=/tmp/ssh-EghQgGlHw6YY/agent.45 [2020-08-24T16:53:53.559Z] SSH_AGENT_PID=50 [2020-08-24T16:53:53.565Z] Running ssh-add (command line suppressed) [2020-08-24T16:53:53.686Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_5781680124038171259.key (/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/private_key_5781680124038171259.key) [2020-08-24T16:53:53.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-08-24T16:53:54.069Z] + git semver init [2020-08-24T16:53:54.069Z] # -> Open(): unable to determine branch for HEAD [2020-08-24T16:53:54.069Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.git [2020-08-24T16:53:54.069Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-24T16:53:54.069Z] # $SEMVER_REMOTE_NAME = origin [2020-08-24T16:53:54.069Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-08-24T16:53:54.069Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-08-24T16:53:54.069Z] # $SEMVER_BRANCH = PR-162 [2020-08-24T16:53:54.069Z] # $SEMVER_TEMP = /tmp/semver-119659650 [2020-08-24T16:53:54.069Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-08-24T16:53:54.647Z] # '/tmp/semver-119659650' -> '/w/workspace/xfoundry_device-modbus-go_PR-162/.semver' [2020-08-24T16:53:54.647Z] # -> Force: false [2020-08-24T16:53:54.647Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-162/.semver [Pipeline] } [2020-08-24T16:53:54.664Z] $ docker exec --env ******** --env ******** 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc ssh-agent -k [2020-08-24T16:53:54.779Z] unset SSH_AUTH_SOCK; [2020-08-24T16:53:54.780Z] unset SSH_AGENT_PID; [2020-08-24T16:53:54.780Z] echo Agent pid 50 killed; [2020-08-24T16:53:54.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-08-24T16:53:55.272Z] + git semver [Pipeline] } [2020-08-24T16:53:55.292Z] $ docker stop --time=1 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc [2020-08-24T16:53:56.693Z] $ docker rm -f 357b085b131e06f84b72dc708d7f185504472f7b774552d2a5b587af2bc62cbc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-08-24T16:53:57.346Z] Stashed 25 file(s) [Pipeline] echo [2020-08-24T16:53:57.350Z] [edgeXSemver] initialized semver on version 0.0.0 [Pipeline] echo [2020-08-24T16:53:57.438Z] 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-24T16:54:12.817Z] Still waiting to schedule task [2020-08-24T16:54:12.817Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-08-24T16:54:12.819Z] Still waiting to schedule task [2020-08-24T16:54:12.819Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-08-24T16:56:11.932Z] Running on prd-centos7-docker-4c-2g-212 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-08-24T16:56:11.974Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-08-24T16:56:14.566Z] using credential edgex-jenkins-ssh [2020-08-24T16:56:14.612Z] Cloning the remote Git repository [2020-08-24T16:56:14.612Z] Cloning with configured refspecs honoured and without tags [2020-08-24T16:56:14.457Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:56:14.526Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-08-24T16:56:14.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:56:14.574Z] > git --version # timeout=10 [2020-08-24T16:56:14.583Z] > git --version # 'git version 2.16.5' [2020-08-24T16:56:14.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:56:14.612Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:56:15.341Z] Fetching without tags [2020-08-24T16:56:15.772Z] Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-08-24T16:56:15.856Z] Merge succeeded, producing f07d8b2283f9262ae8c0c6e420513365b0a7e936 [2020-08-24T16:56:15.857Z] Checking out Revision f07d8b2283f9262ae8c0c6e420513365b0a7e936 (PR-162) [2020-08-24T16:56:15.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T16:56:15.190Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-08-24T16:56:15.196Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:56:15.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T16:56:15.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:56:15.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:56:15.226Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:56:15.694Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T16:56:15.701Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-08-24T16:56:15.735Z] > git remote # timeout=10 [2020-08-24T16:56:15.741Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T16:56:15.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:56:15.750Z] > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 [2020-08-24T16:56:15.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T16:56:15.779Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T16:56:15.785Z] > git checkout -f f07d8b2283f9262ae8c0c6e420513365b0a7e936 # timeout=10 [2020-08-24T16:56:19.389Z] Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" [2020-08-24T16:56:19.400Z] > git rev-list --no-walk aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-24T16:56:20.094Z] ========================================================= [2020-08-24T16:56:20.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-08-24T16:56:20.094Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:56:20.804Z] + 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-24T16:56:21.761Z] Sending build context to Docker daemon 662.5kB [2020-08-24T16:56:21.761Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-24T16:56:21.761Z] Step 2/8 : FROM ${BASE} [2020-08-24T16:56:21.761Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-08-24T16:56:21.761Z] df20fa9351a1: Pulling fs layer [2020-08-24T16:56:21.761Z] ed8968b2872e: Pulling fs layer [2020-08-24T16:56:21.761Z] a92cc7c5fd73: Pulling fs layer [2020-08-24T16:56:21.761Z] 2dd03ba5bac4: Pulling fs layer [2020-08-24T16:56:21.761Z] 1e091d79d1de: Pulling fs layer [2020-08-24T16:56:21.761Z] 481702a1767f: Pulling fs layer [2020-08-24T16:56:21.761Z] f64a6f60c768: Pulling fs layer [2020-08-24T16:56:21.761Z] e78d2573fc39: Pulling fs layer [2020-08-24T16:56:21.761Z] e876d2f968b6: Pulling fs layer [2020-08-24T16:56:21.761Z] ce8a83651883: Pulling fs layer [2020-08-24T16:56:21.761Z] 07967f4d0e4b: Pulling fs layer [2020-08-24T16:56:21.761Z] 2dd03ba5bac4: Waiting [2020-08-24T16:56:21.761Z] 1e091d79d1de: Waiting [2020-08-24T16:56:21.761Z] 481702a1767f: Waiting [2020-08-24T16:56:21.761Z] f64a6f60c768: Waiting [2020-08-24T16:56:21.761Z] e78d2573fc39: Waiting [2020-08-24T16:56:21.761Z] e876d2f968b6: Waiting [2020-08-24T16:56:21.761Z] 07967f4d0e4b: Waiting [2020-08-24T16:56:21.761Z] a92cc7c5fd73: Verifying Checksum [2020-08-24T16:56:21.761Z] a92cc7c5fd73: Download complete [2020-08-24T16:56:21.761Z] ed8968b2872e: Verifying Checksum [2020-08-24T16:56:21.761Z] ed8968b2872e: Download complete [2020-08-24T16:56:21.761Z] 1e091d79d1de: Verifying Checksum [2020-08-24T16:56:21.761Z] 1e091d79d1de: Download complete [2020-08-24T16:56:21.761Z] 481702a1767f: Verifying Checksum [2020-08-24T16:56:21.761Z] 481702a1767f: Download complete [2020-08-24T16:56:21.761Z] df20fa9351a1: Verifying Checksum [2020-08-24T16:56:21.761Z] df20fa9351a1: Download complete [2020-08-24T16:56:22.337Z] df20fa9351a1: Pull complete [2020-08-24T16:56:22.337Z] ed8968b2872e: Pull complete [2020-08-24T16:56:22.619Z] a92cc7c5fd73: Pull complete [2020-08-24T16:56:23.223Z] f64a6f60c768: Verifying Checksum [2020-08-24T16:56:23.224Z] f64a6f60c768: Download complete [2020-08-24T16:56:23.224Z] e876d2f968b6: Verifying Checksum [2020-08-24T16:56:23.224Z] e876d2f968b6: Download complete [2020-08-24T16:56:23.486Z] e78d2573fc39: Verifying Checksum [2020-08-24T16:56:23.486Z] e78d2573fc39: Download complete [2020-08-24T16:56:23.753Z] 07967f4d0e4b: Verifying Checksum [2020-08-24T16:56:23.753Z] 07967f4d0e4b: Download complete [2020-08-24T16:56:23.753Z] 2dd03ba5bac4: Verifying Checksum [2020-08-24T16:56:23.753Z] 2dd03ba5bac4: Download complete [2020-08-24T16:56:23.753Z] ce8a83651883: Verifying Checksum [2020-08-24T16:56:23.753Z] ce8a83651883: Download complete [2020-08-24T16:56:30.369Z] 2dd03ba5bac4: Pull complete [2020-08-24T16:56:30.369Z] 1e091d79d1de: Pull complete [2020-08-24T16:56:30.369Z] 481702a1767f: Pull complete [2020-08-24T16:56:36.991Z] f64a6f60c768: Pull complete [2020-08-24T16:56:39.552Z] e78d2573fc39: Pull complete [2020-08-24T16:56:39.552Z] e876d2f968b6: Pull complete [2020-08-24T16:56:41.475Z] ce8a83651883: Pull complete [2020-08-24T16:56:41.475Z] 07967f4d0e4b: Pull complete [2020-08-24T16:56:41.475Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-08-24T16:56:41.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-08-24T16:56:41.475Z] ---> 5d7c900382c6 [2020-08-24T16:56:41.475Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-24T16:56:42.050Z] ---> Running in 39ef8009f7ce [2020-08-24T16:56:42.317Z] Removing intermediate container 39ef8009f7ce [2020-08-24T16:56:42.317Z] ---> bdab04d805f8 [2020-08-24T16:56:42.317Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T16:56:42.317Z] ---> Running in 88da7ff9a0ac [2020-08-24T16:56:43.734Z] Removing intermediate container 88da7ff9a0ac [2020-08-24T16:56:43.734Z] ---> b7b13a7d77b6 [2020-08-24T16:56:43.734Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T16:56:43.734Z] ---> Running in fb9ac117d68f [2020-08-24T16:56:44.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T16:56:45.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T16:56:45.517Z] (1/14) Installing libmagic (5.38-r0) [2020-08-24T16:56:45.778Z] (2/14) Installing file (5.38-r0) [2020-08-24T16:56:45.778Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-24T16:56:46.041Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-24T16:56:52.633Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-24T16:56:52.633Z] (6/14) Installing patch (2.7.6-r6) [2020-08-24T16:56:52.633Z] (7/14) Installing build-base (0.5-r2) [2020-08-24T16:56:52.634Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-24T16:56:52.634Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-24T16:56:52.634Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-24T16:56:52.894Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-24T16:56:53.157Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-24T16:56:53.157Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-24T16:56:53.418Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-24T16:56:53.418Z] Executing busybox-1.31.1-r16.trigger [2020-08-24T16:56:53.418Z] OK: 237 MiB in 53 packages [2020-08-24T16:56:56.739Z] Removing intermediate container fb9ac117d68f [2020-08-24T16:56:56.739Z] ---> 325f6bed8308 [2020-08-24T16:56:56.739Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-24T16:56:56.739Z] ---> Running in 9d6e0cf5c2cb [2020-08-24T16:56:57.003Z] Removing intermediate container 9d6e0cf5c2cb [2020-08-24T16:56:57.003Z] ---> 40e2e44dd26b [2020-08-24T16:56:57.003Z] Step 7/8 : COPY . . [2020-08-24T16:56:57.952Z] ---> 3eac03489a0c [2020-08-24T16:56:57.952Z] Step 8/8 : RUN go mod download [2020-08-24T16:56:57.952Z] ---> Running in af2c5ae44052 [2020-08-24T16:57:00.503Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T16:57:00.503Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T16:57:00.503Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T16:57:00.503Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T16:57:00.503Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T16:57:00.503Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T16:57:00.503Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T16:57:00.503Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T16:57:00.503Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T16:57:00.503Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T16:57:00.503Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T16:57:00.503Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T16:57:00.503Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T16:57:00.765Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T16:57:00.765Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T16:57:00.765Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T16:57:00.765Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T16:57:00.765Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T16:57:00.765Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T16:57:01.027Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T16:57:01.027Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T16:57:01.027Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T16:57:01.027Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T16:57:01.027Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T16:57:01.027Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T16:57:01.290Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T16:57:01.552Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T16:57:01.813Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T16:57:01.813Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T16:57:01.813Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T16:57:01.813Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T16:57:01.813Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T16:57:01.813Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T16:57:02.074Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T16:57:02.074Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-24T16:57:02.074Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T16:57:02.074Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T16:57:02.074Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T16:57:02.074Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T16:57:02.337Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T16:57:02.600Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T16:57:02.600Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T16:57:02.600Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T16:57:02.600Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T16:57:02.600Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T16:57:02.600Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-24T16:57:02.861Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T16:57:02.861Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T16:57:02.861Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T16:57:02.861Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T16:57:02.861Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T16:57:02.861Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T16:57:03.121Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-24T16:57:03.121Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T16:57:03.121Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T16:57:03.121Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T16:57:03.121Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T16:57:13.206Z] Removing intermediate container af2c5ae44052 [2020-08-24T16:57:13.206Z] ---> 7d666f79c347 [2020-08-24T16:57:13.206Z] Successfully built 7d666f79c347 [2020-08-24T16:57:13.206Z] 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-24T16:57:14.007Z] + docker inspect -f . ci-base-image-x86_64 [2020-08-24T16:57:14.007Z] . [Pipeline] withDockerContainer [2020-08-24T16:57:14.105Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2020-08-24T16:57:14.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-08-24T16:57:15.596Z] $ docker top 35922f96444f25159984e167ffc5146920fd41c30d69ec85f2bc888775ec523b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-24T16:57:16.071Z] + go version [2020-08-24T16:57:16.071Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-08-24T16:57:16.374Z] + make test [2020-08-24T16:57:16.374Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-24T16:57:17.342Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-24T16:57:25.592Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-24T16:57:26.536Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.235s coverage: 50.3% of statements [2020-08-24T16:57:26.801Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-24T16:57:27.197Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-213 in /w/workspace/xfoundry_device-modbus-go_PR-162 [Pipeline] { [Pipeline] ws [2020-08-24T16:57:27.242Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-08-24T16:57:28.748Z] gofmt -l . [2020-08-24T16:57:28.748Z] [ "`gofmt -l .`" = "" ] [2020-08-24T16:57:28.748Z] ./bin/test-attribution-txt.sh [2020-08-24T16:57:29.320Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-08-24T16:57:29.591Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T16:57:29.603Z] $ docker stop --time=1 35922f96444f25159984e167ffc5146920fd41c30d69ec85f2bc888775ec523b [2020-08-24T16:57:31.938Z] $ docker rm -f 35922f96444f25159984e167ffc5146920fd41c30d69ec85f2bc888775ec523b [2020-08-24T16:57:32.075Z] using credential edgex-jenkins-ssh [2020-08-24T16:57:32.127Z] Cloning the remote Git repository [2020-08-24T16:57:32.127Z] Cloning with configured refspecs honoured and without tags [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-08-24T16:57:32.190Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:57:32.314Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T16:57:33.170Z] Fetching without tags [2020-08-24T16:57:33.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-24T16:57:32.369Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:57:32.370Z] > git --version # timeout=10 [2020-08-24T16:57:32.396Z] > git --version # 'git version 2.17.1' [2020-08-24T16:57:32.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:57:32.459Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:57:33.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T16:57:33.109Z] > git config --add remote.origin.fetch +refs/pull/162/head:refs/remotes/origin/PR-162 # timeout=10 [2020-08-24T16:57:33.130Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:57:33.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-08-24T16:57:33.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-08-24T16:57:33.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:57:33.199Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/162/head:refs/remotes/origin/PR-162 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-08-24T16:57:33.626Z] + ls -al . [2020-08-24T16:57:33.626Z] total 104 [2020-08-24T16:57:33.626Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 24 16:57 . [2020-08-24T16:57:33.626Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 24 16:56 .. [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 5049 Aug 24 16:56 Attribution.txt [2020-08-24T16:57:33.626Z] drwxrwxr-x. 2 jenkins jenkins 87 Aug 24 16:56 bin [2020-08-24T16:57:33.626Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 24 16:56 cmd [2020-08-24T16:57:33.626Z] -rw-r--r--. 1 jenkins jenkins 22364 Aug 24 16:57 coverage.out [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 1422 Aug 24 16:56 Dockerfile [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 954 Aug 24 16:56 Dockerfile.build [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 24 16:56 .dockerignore [2020-08-24T16:57:33.626Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 24 16:56 .git [2020-08-24T16:57:33.626Z] drwxrwxr-x. 2 jenkins jenkins 38 Aug 24 16:56 .github [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 330 Aug 24 16:56 .gitignore [2020-08-24T16:57:33.626Z] -rw-r--r--. 1 jenkins jenkins 559 Aug 24 16:57 go.mod [2020-08-24T16:57:33.626Z] -rw-r--r--. 1 jenkins jenkins 13471 Aug 24 16:57 go.sum [2020-08-24T16:57:33.626Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 24 16:56 internal [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 702 Aug 24 16:56 Jenkinsfile [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 24 16:56 LICENSE [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 24 16:56 Makefile [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 591 Aug 24 16:56 README.md [2020-08-24T16:57:33.626Z] drwxrwxr-x. 3 jenkins jenkins 58 Aug 24 16:56 .semver [2020-08-24T16:57:33.626Z] drwxrwxr-x. 2 jenkins jenkins 52 Aug 24 16:56 simulator [2020-08-24T16:57:33.626Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 24 16:56 snap [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 24 16:53 VERSION [2020-08-24T16:57:33.626Z] -rw-rw-r--. 1 jenkins jenkins 229 Aug 24 16:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:57:33.692Z] Merging remotes/origin/master commit ac842be5e75fcd5e4c012862374abb44191cceb5 into PR head commit aac68ee3218624e25aee617d21101238ddac5a86 [2020-08-24T16:57:33.930Z] + 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=90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 --label arch=amd64 --label version=0.0.0 . [2020-08-24T16:57:33.930Z] Sending build context to Docker daemon 693.8kB [2020-08-24T16:57:33.930Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-24T16:57:33.930Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-24T16:57:33.930Z] ---> 7d666f79c347 [2020-08-24T16:57:33.930Z] Step 3/19 : ARG MAKE='make build' [2020-08-24T16:57:34.081Z] Merge succeeded, producing bdf703c5e68e72684e9c2e146084eae79e733d73 [2020-08-24T16:57:34.081Z] Checking out Revision bdf703c5e68e72684e9c2e146084eae79e733d73 (PR-162) [2020-08-24T16:57:34.191Z] ---> Running in 18f9b7814396 [2020-08-24T16:57:34.192Z] Removing intermediate container 18f9b7814396 [2020-08-24T16:57:34.192Z] ---> ec6b9e11a2ee [2020-08-24T16:57:34.192Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T16:57:34.452Z] ---> Running in 90fe19621a10 [2020-08-24T16:57:33.718Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T16:57:33.732Z] > git checkout -f aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-08-24T16:57:33.879Z] > git remote # timeout=10 [2020-08-24T16:57:33.926Z] > git config --get remote.origin.url # timeout=10 [2020-08-24T16:57:33.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-08-24T16:57:33.976Z] > git merge ac842be5e75fcd5e4c012862374abb44191cceb5 # timeout=10 [2020-08-24T16:57:34.043Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-08-24T16:57:34.094Z] > git config core.sparsecheckout # timeout=10 [2020-08-24T16:57:34.114Z] > git checkout -f bdf703c5e68e72684e9c2e146084eae79e733d73 # timeout=10 [2020-08-24T16:57:35.024Z] Removing intermediate container 90fe19621a10 [2020-08-24T16:57:35.024Z] ---> 92c65df108f9 [2020-08-24T16:57:35.024Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T16:57:35.285Z] ---> Running in 5e3fe91567fb [2020-08-24T16:57:35.546Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-08-24T16:57:36.118Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-08-24T16:57:37.063Z] OK: 237 MiB in 53 packages [2020-08-24T16:57:37.637Z] Removing intermediate container 5e3fe91567fb [2020-08-24T16:57:37.637Z] ---> 67f0373f6ca3 [2020-08-24T16:57:37.637Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-24T16:57:37.637Z] ---> Running in 7beefbd5411f [2020-08-24T16:57:37.637Z] Removing intermediate container 7beefbd5411f [2020-08-24T16:57:37.637Z] ---> 1ad164ec0e3f [2020-08-24T16:57:37.637Z] Step 7/19 : COPY . . [2020-08-24T16:57:38.301Z] Commit message: "Merge commit 'ac842be5e75fcd5e4c012862374abb44191cceb5' into HEAD" [2020-08-24T16:57:38.313Z] > git rev-list --no-walk aac68ee3218624e25aee617d21101238ddac5a86 # timeout=10 [2020-08-24T16:57:38.583Z] ---> d1f6f4fd2a51 [2020-08-24T16:57:38.583Z] Step 8/19 : RUN ${MAKE} [2020-08-24T16:57:38.583Z] ---> Running in 4199a001f3ec [2020-08-24T16:57:38.863Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-08-24T16:57:39.452Z] ========================================================= [2020-08-24T16:57:39.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-08-24T16:57:39.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:57:40.491Z] + 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-24T16:57:41.476Z] Sending build context to Docker daemon 662.5kB [2020-08-24T16:57:41.476Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-08-24T16:57:41.476Z] Step 2/8 : FROM ${BASE} [2020-08-24T16:57:41.751Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-08-24T16:57:41.751Z] b538f80385f9: Pulling fs layer [2020-08-24T16:57:41.751Z] 74f711af9a0d: Pulling fs layer [2020-08-24T16:57:41.751Z] 99f96fe45779: Pulling fs layer [2020-08-24T16:57:41.751Z] fd7a069fd194: Pulling fs layer [2020-08-24T16:57:41.751Z] 66aa3694b03b: Pulling fs layer [2020-08-24T16:57:41.751Z] 170f70906a0f: Pulling fs layer [2020-08-24T16:57:41.751Z] ad7c5574e4b9: Pulling fs layer [2020-08-24T16:57:41.751Z] e772456be8f7: Pulling fs layer [2020-08-24T16:57:41.751Z] c890913d741a: Pulling fs layer [2020-08-24T16:57:41.751Z] 2480fcc9aa5a: Pulling fs layer [2020-08-24T16:57:41.751Z] 09adf4765672: Pulling fs layer [2020-08-24T16:57:41.751Z] fd7a069fd194: Waiting [2020-08-24T16:57:41.751Z] 66aa3694b03b: Waiting [2020-08-24T16:57:41.751Z] 170f70906a0f: Waiting [2020-08-24T16:57:41.751Z] ad7c5574e4b9: Waiting [2020-08-24T16:57:41.751Z] e772456be8f7: Waiting [2020-08-24T16:57:41.751Z] c890913d741a: Waiting [2020-08-24T16:57:41.751Z] 2480fcc9aa5a: Waiting [2020-08-24T16:57:41.751Z] 09adf4765672: Waiting [2020-08-24T16:57:41.751Z] 99f96fe45779: Download complete [2020-08-24T16:57:41.751Z] 74f711af9a0d: Download complete [2020-08-24T16:57:41.751Z] 66aa3694b03b: Verifying Checksum [2020-08-24T16:57:41.751Z] 66aa3694b03b: Download complete [2020-08-24T16:57:41.751Z] 170f70906a0f: Verifying Checksum [2020-08-24T16:57:41.751Z] 170f70906a0f: Download complete [2020-08-24T16:57:41.751Z] b538f80385f9: Download complete [2020-08-24T16:57:42.737Z] b538f80385f9: Pull complete [2020-08-24T16:57:43.337Z] 74f711af9a0d: Pull complete [2020-08-24T16:57:43.609Z] 99f96fe45779: Pull complete [2020-08-24T16:57:44.588Z] ad7c5574e4b9: Verifying Checksum [2020-08-24T16:57:44.588Z] ad7c5574e4b9: Download complete [2020-08-24T16:57:44.588Z] c890913d741a: Verifying Checksum [2020-08-24T16:57:44.588Z] c890913d741a: Download complete [2020-08-24T16:57:46.560Z] 2480fcc9aa5a: Verifying Checksum [2020-08-24T16:57:46.560Z] 2480fcc9aa5a: Download complete [2020-08-24T16:57:46.560Z] 09adf4765672: Verifying Checksum [2020-08-24T16:57:46.831Z] e772456be8f7: Verifying Checksum [2020-08-24T16:57:46.831Z] e772456be8f7: Download complete [2020-08-24T16:57:47.067Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T16:57:47.103Z] fd7a069fd194: Verifying Checksum [2020-08-24T16:57:47.103Z] fd7a069fd194: Download complete [2020-08-24T16:57:50.404Z] Removing intermediate container 4199a001f3ec [2020-08-24T16:57:50.404Z] ---> 21dce69ea4ee [2020-08-24T16:57:50.404Z] Step 9/19 : FROM scratch [2020-08-24T16:57:50.404Z] ---> [2020-08-24T16:57:50.404Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-24T16:57:50.404Z] ---> Running in c470b76d3268 [2020-08-24T16:57:50.666Z] Removing intermediate container c470b76d3268 [2020-08-24T16:57:50.666Z] ---> 21db826ef53e [2020-08-24T16:57:50.666Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-24T16:57:50.666Z] ---> Running in 85d9086b616c [2020-08-24T16:57:50.927Z] Removing intermediate container 85d9086b616c [2020-08-24T16:57:50.927Z] ---> 7bcfe6d23213 [2020-08-24T16:57:50.927Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-08-24T16:57:51.501Z] ---> 61dbda057f11 [2020-08-24T16:57:51.501Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-24T16:57:51.501Z] ---> a7b1ddeac57a [2020-08-24T16:57:51.501Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-24T16:57:51.763Z] ---> f19d34f35717 [2020-08-24T16:57:51.763Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-24T16:57:51.763Z] ---> Running in 4e6ac0aa03af [2020-08-24T16:57:52.032Z] Removing intermediate container 4e6ac0aa03af [2020-08-24T16:57:52.032Z] ---> d052f46ca284 [2020-08-24T16:57:52.032Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-24T16:57:52.032Z] ---> Running in b35b8fa41ef4 [2020-08-24T16:57:52.293Z] Removing intermediate container b35b8fa41ef4 [2020-08-24T16:57:52.293Z] ---> cf6277bc5105 [2020-08-24T16:57:52.293Z] Step 17/19 : LABEL arch=amd64 [2020-08-24T16:57:52.293Z] ---> Running in f14eb6e27c80 [2020-08-24T16:57:52.554Z] Removing intermediate container f14eb6e27c80 [2020-08-24T16:57:52.555Z] ---> 3079f8275db7 [2020-08-24T16:57:52.555Z] Step 18/19 : LABEL git_sha=90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 [2020-08-24T16:57:52.555Z] ---> Running in 7235daa2083d [2020-08-24T16:57:52.817Z] Removing intermediate container 7235daa2083d [2020-08-24T16:57:52.817Z] ---> acbde5949e6e [2020-08-24T16:57:52.817Z] Step 19/19 : LABEL version=0.0.0 [2020-08-24T16:57:52.817Z] ---> Running in 0a01d8b163d1 [2020-08-24T16:57:53.078Z] Removing intermediate container 0a01d8b163d1 [2020-08-24T16:57:53.078Z] ---> 2b3559560d4a [2020-08-24T16:57:53.078Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T16:57:53.078Z] Successfully built 2b3559560d4a [2020-08-24T16:57:53.078Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T16:57:54.131Z] ++ find /w/workspace/device-modbus-go/4 [2020-08-24T16:57:54.131Z] ++ grep snapcraft.yaml [2020-08-24T16:57:54.131Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T16:57:54.241Z] provisioning config files... [2020-08-24T16:57:54.253Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config2064894463361220200tmp [Pipeline] { [Pipeline] sh [2020-08-24T16:57:54.626Z] + cp /w/workspace/device-modbus-go/4@tmp/config2064894463361220200tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh [2020-08-24T16:57:54.935Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/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-24T16:57:54.935Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-08-24T16:57:54.935Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-08-24T16:57:54.935Z] f08d8e2a3ba1: Pulling fs layer [2020-08-24T16:57:54.935Z] 3baa9cb2483b: Pulling fs layer [2020-08-24T16:57:54.935Z] 94e5ff4c0b15: Pulling fs layer [2020-08-24T16:57:54.935Z] 1860925334f9: Pulling fs layer [2020-08-24T16:57:54.935Z] 59c17e3da0e4: Pulling fs layer [2020-08-24T16:57:54.935Z] 7daec384fcf6: Pulling fs layer [2020-08-24T16:57:54.935Z] 7a29a85643c4: Pulling fs layer [2020-08-24T16:57:54.935Z] 94438e9460a9: Pulling fs layer [2020-08-24T16:57:54.935Z] 812cffafd64f: Pulling fs layer [2020-08-24T16:57:54.935Z] 59c17e3da0e4: Waiting [2020-08-24T16:57:54.935Z] 7daec384fcf6: Waiting [2020-08-24T16:57:54.935Z] 7a29a85643c4: Waiting [2020-08-24T16:57:54.935Z] 94438e9460a9: Waiting [2020-08-24T16:57:54.935Z] 812cffafd64f: Waiting [2020-08-24T16:57:54.935Z] 1860925334f9: Waiting [2020-08-24T16:57:54.935Z] 94e5ff4c0b15: Verifying Checksum [2020-08-24T16:57:54.935Z] 94e5ff4c0b15: Download complete [2020-08-24T16:57:54.935Z] 3baa9cb2483b: Verifying Checksum [2020-08-24T16:57:54.935Z] 3baa9cb2483b: Download complete [2020-08-24T16:57:54.935Z] 1860925334f9: Verifying Checksum [2020-08-24T16:57:54.935Z] 1860925334f9: Download complete [2020-08-24T16:57:54.935Z] 7daec384fcf6: Verifying Checksum [2020-08-24T16:57:54.935Z] 7daec384fcf6: Download complete [2020-08-24T16:57:54.935Z] 7a29a85643c4: Download complete [2020-08-24T16:57:54.935Z] 94438e9460a9: Verifying Checksum [2020-08-24T16:57:54.935Z] 94438e9460a9: Download complete [2020-08-24T16:57:55.201Z] 812cffafd64f: Verifying Checksum [2020-08-24T16:57:55.201Z] 812cffafd64f: Download complete [2020-08-24T16:57:55.201Z] f08d8e2a3ba1: Verifying Checksum [2020-08-24T16:57:55.201Z] f08d8e2a3ba1: Download complete [2020-08-24T16:57:59.456Z] f08d8e2a3ba1: Pull complete [2020-08-24T16:57:59.491Z] fd7a069fd194: Pull complete [2020-08-24T16:57:59.491Z] 66aa3694b03b: Pull complete [2020-08-24T16:57:59.491Z] 170f70906a0f: Pull complete [2020-08-24T16:57:59.720Z] 59c17e3da0e4: Verifying Checksum [2020-08-24T16:57:59.720Z] 59c17e3da0e4: Download complete [2020-08-24T16:58:00.296Z] 3baa9cb2483b: Pull complete [2020-08-24T16:58:00.296Z] 94e5ff4c0b15: Pull complete [2020-08-24T16:58:00.296Z] 1860925334f9: Pull complete [2020-08-24T16:58:02.117Z] ad7c5574e4b9: Pull complete [2020-08-24T16:58:07.517Z] e772456be8f7: Pull complete [2020-08-24T16:58:07.517Z] c890913d741a: Pull complete [2020-08-24T16:58:09.510Z] 2480fcc9aa5a: Pull complete [2020-08-24T16:58:09.783Z] 09adf4765672: Pull complete [2020-08-24T16:58:09.783Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-08-24T16:58:09.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-08-24T16:58:09.783Z] ---> 2248a725d1cf [2020-08-24T16:58:09.783Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-08-24T16:58:14.067Z] ---> Running in 3afad2a7005c [2020-08-24T16:58:14.338Z] Removing intermediate container 3afad2a7005c [2020-08-24T16:58:14.338Z] ---> 70a89b6e0de0 [2020-08-24T16:58:14.338Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T16:58:14.609Z] ---> Running in e8170eefecf5 [2020-08-24T16:58:17.233Z] Removing intermediate container e8170eefecf5 [2020-08-24T16:58:17.233Z] ---> 5053afb4e6cc [2020-08-24T16:58:17.233Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T16:58:17.509Z] ---> Running in 7058da4a9382 [2020-08-24T16:58:18.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-08-24T16:58:19.536Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-08-24T16:58:20.128Z] (1/14) Installing libmagic (5.38-r0) [2020-08-24T16:58:20.402Z] (2/14) Installing file (5.38-r0) [2020-08-24T16:58:20.673Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-08-24T16:58:20.673Z] (4/14) Installing g++ (9.3.0-r2) [2020-08-24T16:58:24.035Z] (5/14) Installing fortify-headers (1.1-r0) [2020-08-24T16:58:24.036Z] (6/14) Installing patch (2.7.6-r6) [2020-08-24T16:58:24.036Z] (7/14) Installing build-base (0.5-r2) [2020-08-24T16:58:24.305Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-08-24T16:58:24.305Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-08-24T16:58:24.305Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-08-24T16:58:24.583Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-08-24T16:58:24.853Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-08-24T16:58:24.853Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-08-24T16:58:24.853Z] (14/14) Installing openssh (8.3_p1-r0) [2020-08-24T16:58:25.125Z] Executing busybox-1.31.1-r16.trigger [2020-08-24T16:58:25.125Z] OK: 221 MiB in 53 packages [2020-08-24T16:58:29.441Z] Removing intermediate container 7058da4a9382 [2020-08-24T16:58:29.441Z] ---> 3d7ba18498e4 [2020-08-24T16:58:29.441Z] Step 6/8 : WORKDIR /device-modbus-go [2020-08-24T16:58:29.441Z] ---> Running in e7a2c2229073 [2020-08-24T16:58:29.713Z] Removing intermediate container e7a2c2229073 [2020-08-24T16:58:29.713Z] ---> 6e23b623963e [2020-08-24T16:58:29.713Z] Step 7/8 : COPY . . [2020-08-24T16:58:30.699Z] ---> 5ab444b67f83 [2020-08-24T16:58:30.699Z] Step 8/8 : RUN go mod download [2020-08-24T16:58:30.972Z] ---> Running in 4269c1ac2548 [2020-08-24T16:58:32.508Z] 59c17e3da0e4: Pull complete [2020-08-24T16:58:32.508Z] 7daec384fcf6: Pull complete [2020-08-24T16:58:32.508Z] 7a29a85643c4: Pull complete [2020-08-24T16:58:32.771Z] 94438e9460a9: Pull complete [2020-08-24T16:58:32.771Z] 812cffafd64f: Pull complete [2020-08-24T16:58:32.771Z] Digest: sha256:af8a54c7bc77af20a24fc779da6a179edb230b027a9915447f6ddb0093e77608 [2020-08-24T16:58:33.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-08-24T16:58:34.345Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T16:58:34.345Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T16:58:34.345Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-08-24T16:58:34.345Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T16:58:34.345Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-08-24T16:58:34.345Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-08-24T16:58:34.345Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T16:58:34.345Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T16:58:34.615Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T16:58:34.615Z] go: finding github.com/fatih/color v1.7.0 [2020-08-24T16:58:34.884Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T16:58:34.884Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T16:58:34.884Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T16:58:34.884Z] go: finding github.com/go-stack/stack v1.8.0 [2020-08-24T16:58:34.884Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T16:58:34.884Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T16:58:35.154Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-08-24T16:58:35.154Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T16:58:35.154Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T16:58:35.154Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T16:58:35.154Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-08-24T16:58:35.154Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T16:58:35.425Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-08-24T16:58:35.694Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-08-24T16:58:35.963Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T16:58:35.963Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-08-24T16:58:35.964Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-08-24T16:58:35.964Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-08-24T16:58:35.964Z] go: finding github.com/miekg/dns v1.1.4 [2020-08-24T16:58:35.964Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-08-24T16:58:36.233Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-08-24T16:58:36.357Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-08-24T16:58:36.357Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-08-24T16:58:36.503Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-08-24T16:58:36.503Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T16:58:36.503Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T16:58:36.503Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-08-24T16:58:36.503Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T16:58:36.503Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T16:58:36.624Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-08-24T16:58:36.624Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1044 kB] [2020-08-24T16:58:36.774Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-08-24T16:58:36.774Z] go: finding github.com/posener/complete v1.1.1 [2020-08-24T16:58:36.774Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-08-24T16:58:36.774Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-08-24T16:58:36.774Z] go: finding github.com/stretchr/objx v0.1.0 [2020-08-24T16:58:36.888Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-08-24T16:58:36.888Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1417 kB] [2020-08-24T16:58:37.044Z] go: finding github.com/stretchr/testify v1.5.1 [2020-08-24T16:58:37.044Z] go: finding github.com/ugorji/go v1.1.4 [2020-08-24T16:58:37.044Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T16:58:37.315Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-08-24T16:58:37.584Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-08-24T16:58:37.584Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-08-24T16:58:37.584Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-08-24T16:58:37.584Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-08-24T16:58:37.855Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T16:58:38.279Z] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1341 kB] [2020-08-24T16:58:38.540Z] Fetched 4054 kB in 2s (1740 kB/s) [2020-08-24T16:58:39.929Z] Reading package lists... [2020-08-24T16:58:44.139Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-08-24T16:58:44.139Z] 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-08-24T16:58:44.401Z] 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-08-24T16:58:44.401Z] 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-08-24T16:58:46.019Z] 0% [2 InRelease gpgv 242 kB] 0% [Working] 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... 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-24T16:58:47.941Z] 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-24T16:58:48.005Z] Removing intermediate container 4269c1ac2548 [2020-08-24T16:58:48.005Z] ---> 9405eacadec6 [2020-08-24T16:58:48.005Z] Successfully built 9405eacadec6 [2020-08-24T16:58:48.005Z] 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-24T16:58:48.719Z] + docker inspect -f . ci-base-image-arm64 [2020-08-24T16:58:48.719Z] . [Pipeline] withDockerContainer [2020-08-24T16:58:48.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-213 does not seem to be running inside a container [2020-08-24T16:58:49.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-08-24T16:58:49.307Z] 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-24T16:58:49.569Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 85% Building dependency tree [2020-08-24T16:58:49.569Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-24T16:58:49.831Z] The following packages were automatically installed and are no longer required: [2020-08-24T16:58:49.831Z] libjq1 libonig4 [2020-08-24T16:58:49.831Z] Use 'sudo apt autoremove' to remove them. [2020-08-24T16:58:49.831Z] Suggested packages: [2020-08-24T16:58:49.831Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-24T16:58:49.831Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-24T16:58:49.831Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-24T16:58:49.831Z] | libterm-readline-perl-perl [2020-08-24T16:58:49.831Z] The following NEW packages will be installed: [2020-08-24T16:58:49.831Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-24T16:58:50.092Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-24T16:58:50.092Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-24T16:58:50.092Z] Need to get 12.0 MB of archives. [2020-08-24T16:58:50.092Z] After this operation, 77.5 MB of additional disk space will be used. [2020-08-24T16:58:50.092Z] 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-24T16:58:50.868Z] $ docker top 1589dbf5d77c101fcdb2ad0c5ed4ec85210980d04abde18c7c8ccd61586eb41b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-08-24T16:58:51.500Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 2% [1 perl-modules-5.26 250 kB/2763 kB 9%] 7% [1 perl-modules-5.26 1042 kB/2763 kB 38%] 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-24T16:58:51.762Z] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-08-24T16:58:51.762Z] 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-08-24T16:58:52.024Z] 23% [4 libperl5.26 22.2 kB/3527 kB 1%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-08-24T16:58:52.024Z] 48% [5 perl 15.4 kB/201 kB 8%] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-08-24T16:58:52.025Z] 51% [6 less 6845 B/112 kB 6%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-08-24T16:58:52.025Z] 53% [7 netbase 11.0 kB/12.7 kB 86%] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-08-24T16:58:52.025Z] 54% [8 curl 10.9 kB/159 kB 7%] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-08-24T16:58:52.025Z] 57% [9 libcurl3-gnutls 6500 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-24T16:58:52.025Z] 60% [10 liberror-perl 12.6 kB/22.8 kB 55%] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-08-24T16:58:52.286Z] + go version [2020-08-24T16:58:52.286Z] go version go1.13.13 linux/arm64 [2020-08-24T16:58:52.286Z] 61% [11 git-man 2404 B/804 kB 0%] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [Pipeline] sh [2020-08-24T16:58:52.547Z] 68% [12 git 65.5 kB/3915 kB 2%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-08-24T16:58:52.547Z] 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-24T16:58:52.547Z] 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 3s (4550 kB/s) [2020-08-24T16:58:53.121Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-24T16:58:53.121Z] Selecting previously unselected package perl-modules-5.26. [2020-08-24T16:58:53.121Z] (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-24T16:58:53.121Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-24T16:58:53.121Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:53.331Z] + make test [2020-08-24T16:58:53.331Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-08-24T16:58:54.312Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-08-24T16:58:56.425Z] Selecting previously unselected package libgdbm5:amd64. [2020-08-24T16:58:56.425Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-08-24T16:58:56.425Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-08-24T16:58:56.425Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-08-24T16:58:56.425Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-08-24T16:58:56.425Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-24T16:58:56.425Z] Selecting previously unselected package libperl5.26:amd64. [2020-08-24T16:58:56.425Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-24T16:58:56.425Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:57.811Z] Selecting previously unselected package perl. [2020-08-24T16:58:57.811Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-08-24T16:58:57.811Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:57.811Z] Selecting previously unselected package less. [2020-08-24T16:58:57.811Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-08-24T16:58:57.811Z] Unpacking less (487-0.1) ... [2020-08-24T16:58:57.811Z] Selecting previously unselected package netbase. [2020-08-24T16:58:57.811Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-24T16:58:57.811Z] Unpacking netbase (5.4) ... [2020-08-24T16:58:57.811Z] Selecting previously unselected package curl. [2020-08-24T16:58:57.811Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-08-24T16:58:57.811Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-08-24T16:58:58.072Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-08-24T16:58:58.072Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-08-24T16:58:58.072Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-08-24T16:58:58.072Z] Selecting previously unselected package liberror-perl. [2020-08-24T16:58:58.072Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-24T16:58:58.072Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-24T16:58:58.072Z] Selecting previously unselected package git-man. [2020-08-24T16:58:58.072Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-24T16:58:58.072Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T16:58:58.332Z] Selecting previously unselected package git. [2020-08-24T16:58:58.332Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-08-24T16:58:58.332Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T16:58:58.909Z] Selecting previously unselected package make. [2020-08-24T16:58:58.909Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-08-24T16:58:58.909Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-24T16:58:59.170Z] Selecting previously unselected package patch. [2020-08-24T16:58:59.170Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-08-24T16:58:59.170Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-24T16:58:59.170Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T16:58:59.170Z] Setting up less (487-0.1) ... [2020-08-24T16:58:59.431Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-24T16:58:59.431Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-08-24T16:58:59.431Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-08-24T16:58:59.431Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:59.431Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-08-24T16:58:59.431Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-24T16:58:59.692Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-08-24T16:58:59.692Z] Setting up netbase (5.4) ... [2020-08-24T16:58:59.692Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:59.692Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-24T16:58:59.692Z] Setting up liberror-perl (0.17025-1) ... [2020-08-24T16:58:59.692Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T16:58:59.952Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-24T16:58:59.952Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-24T16:59:01.874Z] curl set to automatically installed. [2020-08-24T16:59:01.874Z] git set to automatically installed. [2020-08-24T16:59:01.874Z] git-man set to automatically installed. [2020-08-24T16:59:01.874Z] less set to automatically installed. [2020-08-24T16:59:01.874Z] libcurl3-gnutls set to automatically installed. [2020-08-24T16:59:01.874Z] liberror-perl set to automatically installed. [2020-08-24T16:59:01.874Z] libgdbm-compat4 set to automatically installed. [2020-08-24T16:59:01.874Z] libgdbm5 set to automatically installed. [2020-08-24T16:59:01.874Z] libperl5.26 set to automatically installed. [2020-08-24T16:59:02.137Z] make set to automatically installed. [2020-08-24T16:59:02.137Z] netbase set to automatically installed. [2020-08-24T16:59:02.137Z] patch set to automatically installed. [2020-08-24T16:59:02.137Z] perl set to automatically installed. [2020-08-24T16:59:02.137Z] perl-modules-5.26 set to automatically installed. [2020-08-24T16:59:02.137Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-24T16:59:02.137Z] Please ensure the environment is properly setup before continuing. [2020-08-24T16:59:02.137Z] Ignore this message if the appropriate measures have already been taken [2020-08-24T16:59:02.710Z] Pulling go  [2020-08-24T16:59:03.652Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-24T16:59:03.652Z] Skipping pull go (already ran) [2020-08-24T16:59:03.652Z] Building go  [2020-08-24T16:59:03.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-24T16:59:03.652Z] Dload Upload Total Spent Left Speed [2020-08-24T16:59:06.763Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 198k 0 0 722k 0 0:02:42 --:--:-- 0:02:42 719k 10 114M 10 12.3M 0 0 9.9M 0 0:00:11 0:00:01 0:00:10 9.9M 39 114M 39 45.7M 0 0 20.3M 0 0:00:05 0:00:02 0:00:03 20.3M 100 114M 100 114M 0 0 35.9M 0 0:00:03 0:00:03 --:--:-- 35.9M [2020-08-24T16:59:07.709Z] go1.13.5.linux-amd64.tar.gz: OK [2020-08-24T16:59:15.863Z] Staging go  [2020-08-24T16:59:16.809Z] Pulling device-modbus  [2020-08-24T16:59:18.195Z] Skipping build go (already ran) [2020-08-24T16:59:18.195Z] Building device-modbus  [2020-08-24T16:59:18.195Z] 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-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T16:59:19.581Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-24T16:59:19.581Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T16:59:19.581Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-24T16:59:19.581Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T16:59:19.581Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T16:59:19.581Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-24T16:59:19.581Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-24T16:59:19.581Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T16:59:19.581Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-24T16:59:19.581Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T16:59:19.581Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T16:59:19.581Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T16:59:19.581Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T16:59:19.581Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-24T16:59:19.581Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T16:59:19.581Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T16:59:19.581Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-24T16:59:19.581Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-24T16:59:19.581Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T16:59:19.581Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-24T16:59:19.581Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-24T16:59:19.581Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-24T16:59:19.581Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T16:59:19.581Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-24T16:59:19.842Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-24T16:59:19.842Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-24T16:59:19.842Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T16:59:19.842Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-24T16:59:19.842Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T16:59:19.842Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T16:59:19.842Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-24T16:59:19.842Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T16:59:19.842Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-24T16:59:19.842Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T16:59:19.842Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-24T16:59:19.842Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T16:59:19.842Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T16:59:19.842Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T16:59:19.842Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T16:59:19.842Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-24T16:59:20.103Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T16:59:20.103Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T16:59:20.103Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T16:59:20.103Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T16:59:20.103Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T16:59:20.103Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T16:59:20.103Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T16:59:20.103Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T16:59:20.103Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T16:59:20.103Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T16:59:20.103Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T16:59:20.103Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T16:59:20.103Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T16:59:20.363Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T16:59:20.363Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T16:59:20.363Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T16:59:20.363Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T16:59:20.363Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T16:59:20.363Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T16:59:20.363Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T16:59:20.363Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T16:59:20.363Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T16:59:20.363Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T16:59:20.363Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T16:59:20.363Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T16:59:20.363Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T16:59:20.363Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T16:59:20.363Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T16:59:20.363Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T16:59:20.363Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T16:59:20.363Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T16:59:20.363Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T16:59:20.363Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T16:59:20.625Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T16:59:20.625Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T16:59:20.625Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T16:59:20.625Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T16:59:21.156Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-08-24T16:59:22.127Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.351s coverage: 50.3% of statements [2020-08-24T16:59:22.399Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-08-24T16:59:27.817Z] gofmt -l . [2020-08-24T16:59:27.817Z] [ "`gofmt -l .`" = "" ] [2020-08-24T16:59:28.089Z] ./bin/test-attribution-txt.sh [2020-08-24T16:59:28.684Z] ./bin/test-go-mod-tidy.sh [2020-08-24T16:59:29.209Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] stash [2020-08-24T16:59:29.292Z] Warning: overwriting stash ‘coverage-report’ [2020-08-24T16:59:29.964Z] Stashed 1 file(s) [Pipeline] } [2020-08-24T16:59:29.962Z] $ docker stop --time=1 1589dbf5d77c101fcdb2ad0c5ed4ec85210980d04abde18c7c8ccd61586eb41b [2020-08-24T16:59:32.219Z] $ docker rm -f 1589dbf5d77c101fcdb2ad0c5ed4ec85210980d04abde18c7c8ccd61586eb41b [2020-08-24T16:59:32.539Z] Skipping stage go (already ran) [2020-08-24T16:59:32.539Z] Staging device-modbus  [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-08-24T16:59:33.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-08-24T16:59:33.481Z] Priming go  [2020-08-24T16:59:33.806Z] + ls -al . [2020-08-24T16:59:33.806Z] total 140 [2020-08-24T16:59:33.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 16:59 . [2020-08-24T16:59:33.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 16:57 .. [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 24 16:57 .dockerignore [2020-08-24T16:59:33.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 16:57 .git [2020-08-24T16:59:33.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:57 .github [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 330 Aug 24 16:57 .gitignore [2020-08-24T16:59:33.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:57 .semver [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 5049 Aug 24 16:57 Attribution.txt [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 1422 Aug 24 16:57 Dockerfile [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 954 Aug 24 16:57 Dockerfile.build [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 702 Aug 24 16:57 Jenkinsfile [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 24 16:57 LICENSE [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 24 16:57 Makefile [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 591 Aug 24 16:57 README.md [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 24 16:53 VERSION [2020-08-24T16:59:33.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:57 bin [2020-08-24T16:59:33.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:57 cmd [2020-08-24T16:59:33.806Z] -rw-r--r-- 1 jenkins jenkins 22364 Aug 24 16:59 coverage.out [2020-08-24T16:59:33.806Z] -rw-r--r-- 1 jenkins jenkins 559 Aug 24 16:59 go.mod [2020-08-24T16:59:33.806Z] -rw-r--r-- 1 jenkins jenkins 13471 Aug 24 16:59 go.sum [2020-08-24T16:59:33.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 16:57 internal [2020-08-24T16:59:33.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 16:57 simulator [2020-08-24T16:59:33.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 16:57 snap [2020-08-24T16:59:33.806Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 24 16:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-08-24T16:59:34.163Z] + 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=90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 --label arch=arm64 --label version=0.0.0 . [2020-08-24T16:59:34.425Z] Priming device-modbus  [2020-08-24T16:59:34.465Z] Sending build context to Docker daemon 693.8kB [2020-08-24T16:59:34.465Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-08-24T16:59:34.465Z] Step 2/19 : FROM ${BASE} AS builder [2020-08-24T16:59:34.465Z] ---> 9405eacadec6 [2020-08-24T16:59:34.465Z] Step 3/19 : ARG MAKE='make build' [2020-08-24T16:59:34.749Z] ---> Running in 0b7059fc259c [2020-08-24T16:59:35.347Z] Removing intermediate container 0b7059fc259c [2020-08-24T16:59:35.347Z] ---> a3f4d26fe60e [2020-08-24T16:59:35.347Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-08-24T16:59:35.347Z] ---> Running in b6e9eb8aacf2 [2020-08-24T16:59:35.371Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-24T16:59:35.371Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-24T16:59:35.371Z] Determining the version from the project repo (version-script). [2020-08-24T16:59:35.371Z] The version has been set to '0.0.0-20200824+f07d8b2' [2020-08-24T16:59:36.731Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | [2020-08-24T16:59:36.731Z] Snapped edgex-device-modbus_0.0.0-20200824+f07d8b2_amd64.snap [2020-08-24T16:59:37.961Z] Removing intermediate container b6e9eb8aacf2 [2020-08-24T16:59:37.962Z] ---> ccaa689a0f9c [2020-08-24T16:59:37.962Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-08-24T16:59:37.962Z] ---> Running in a685227bf8ac [Pipeline] } [2020-08-24T16:59:39.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2020-08-24T16:59:39.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-08-24T16:59:40.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [2020-08-24T16:59:40.814Z] OK: 221 MiB in 53 packages [2020-08-24T16:59:42.239Z] Removing intermediate container a685227bf8ac [2020-08-24T16:59:42.239Z] ---> 759d932c2a6c [2020-08-24T16:59:42.239Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-08-24T16:59:42.239Z] ---> Running in 883888a2cfaa [2020-08-24T16:59:42.513Z] Removing intermediate container 883888a2cfaa [2020-08-24T16:59:42.513Z] ---> 198239f68748 [2020-08-24T16:59:42.513Z] Step 7/19 : COPY . . [2020-08-24T16:59:43.484Z] ---> 15ed5ae02a68 [2020-08-24T16:59:43.484Z] Step 8/19 : RUN ${MAKE} [2020-08-24T16:59:43.757Z] ---> Running in 16d318c33535 [2020-08-24T16:59:45.184Z] 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-24T17:00:11.978Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T17:00:15.358Z] Removing intermediate container 16d318c33535 [2020-08-24T17:00:15.358Z] ---> 5684e33d7236 [2020-08-24T17:00:15.358Z] Step 9/19 : FROM scratch [2020-08-24T17:00:15.358Z] ---> [2020-08-24T17:00:15.358Z] Step 10/19 : ENV APP_PORT=49991 [2020-08-24T17:00:15.629Z] ---> Running in 7e7b85cce216 [2020-08-24T17:00:15.901Z] Removing intermediate container 7e7b85cce216 [2020-08-24T17:00:15.901Z] ---> 64c448bed6e4 [2020-08-24T17:00:15.901Z] Step 11/19 : EXPOSE $APP_PORT [2020-08-24T17:00:16.172Z] ---> Running in 4d5820eebfaf [2020-08-24T17:00:16.443Z] Removing intermediate container 4d5820eebfaf [2020-08-24T17:00:16.443Z] ---> faff27391f20 [2020-08-24T17:00:16.443Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-08-24T17:00:17.868Z] ---> 390762bf08b8 [2020-08-24T17:00:17.868Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-08-24T17:00:18.462Z] ---> e69839422745 [2020-08-24T17:00:18.462Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-08-24T17:00:19.060Z] ---> 00152dcf4404 [2020-08-24T17:00:19.060Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-08-24T17:00:19.331Z] ---> Running in b91af7d280c2 [2020-08-24T17:00:19.602Z] Removing intermediate container b91af7d280c2 [2020-08-24T17:00:19.602Z] ---> 34c894011337 [2020-08-24T17:00:19.602Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-08-24T17:00:19.878Z] ---> Running in e375194d068e [2020-08-24T17:00:20.160Z] Removing intermediate container e375194d068e [2020-08-24T17:00:20.161Z] ---> 6c61684cf908 [2020-08-24T17:00:20.161Z] Step 17/19 : LABEL arch=arm64 [2020-08-24T17:00:20.431Z] ---> Running in fdb4b3caa46a [2020-08-24T17:00:20.702Z] Removing intermediate container fdb4b3caa46a [2020-08-24T17:00:20.702Z] ---> 9569fd666041 [2020-08-24T17:00:20.702Z] Step 18/19 : LABEL git_sha=90f9c5391e6aac6001e8b3b2c5bb575c789d17c7 [2020-08-24T17:00:20.974Z] ---> Running in fd33cb139a4a [2020-08-24T17:00:21.245Z] Removing intermediate container fd33cb139a4a [2020-08-24T17:00:21.245Z] ---> 1cf92fcc697e [2020-08-24T17:00:21.245Z] Step 19/19 : LABEL version=0.0.0 [2020-08-24T17:00:21.518Z] ---> Running in 04152a105169 [2020-08-24T17:00:22.110Z] Removing intermediate container 04152a105169 [2020-08-24T17:00:22.110Z] ---> 5bd5d4f6d666 [2020-08-24T17:00:22.110Z] [Warning] One or more build-args [ARCH] were not consumed [2020-08-24T17:00:22.110Z] Successfully built 5bd5d4f6d666 [2020-08-24T17:00:22.110Z] 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-24T17:00:22.950Z] + find /w/workspace/device-modbus-go/4 [2020-08-24T17:00:22.950Z] + grep snapcraft.yaml [2020-08-24T17:00:22.950Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T17:00:23.106Z] provisioning config files... [2020-08-24T17:00:23.125Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config6654907517530885089tmp [Pipeline] { [Pipeline] sh [2020-08-24T17:00:23.524Z] + cp /w/workspace/device-modbus-go/4@tmp/config6654907517530885089tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh [2020-08-24T17:00:23.857Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/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-24T17:00:23.857Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-08-24T17:00:24.130Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-08-24T17:00:24.131Z] 237528ba509b: Pulling fs layer [2020-08-24T17:00:24.131Z] 393b96f31d8b: Pulling fs layer [2020-08-24T17:00:24.131Z] 4d82b0e39008: Pulling fs layer [2020-08-24T17:00:24.131Z] e7ca375b8d34: Pulling fs layer [2020-08-24T17:00:24.131Z] 07392d479177: Pulling fs layer [2020-08-24T17:00:24.131Z] 8324981f6117: Pulling fs layer [2020-08-24T17:00:24.131Z] c3105ce2227d: Pulling fs layer [2020-08-24T17:00:24.131Z] 92aa0e4ab508: Pulling fs layer [2020-08-24T17:00:24.131Z] ae419ce1c302: Pulling fs layer [2020-08-24T17:00:24.131Z] 8324981f6117: Waiting [2020-08-24T17:00:24.131Z] c3105ce2227d: Waiting [2020-08-24T17:00:24.131Z] ae419ce1c302: Waiting [2020-08-24T17:00:24.131Z] 92aa0e4ab508: Waiting [2020-08-24T17:00:24.131Z] e7ca375b8d34: Waiting [2020-08-24T17:00:24.131Z] 07392d479177: Waiting [2020-08-24T17:00:24.131Z] 4d82b0e39008: Verifying Checksum [2020-08-24T17:00:24.131Z] 393b96f31d8b: Verifying Checksum [2020-08-24T17:00:24.131Z] 393b96f31d8b: Download complete [2020-08-24T17:00:24.131Z] e7ca375b8d34: Download complete [2020-08-24T17:00:24.131Z] 8324981f6117: Download complete [2020-08-24T17:00:24.131Z] c3105ce2227d: Verifying Checksum [2020-08-24T17:00:24.131Z] c3105ce2227d: Download complete [2020-08-24T17:00:24.131Z] 92aa0e4ab508: Verifying Checksum [2020-08-24T17:00:24.131Z] 92aa0e4ab508: Download complete [2020-08-24T17:00:24.131Z] ae419ce1c302: Download complete [2020-08-24T17:00:25.564Z] 237528ba509b: Verifying Checksum [2020-08-24T17:00:25.564Z] 237528ba509b: Download complete [2020-08-24T17:00:28.961Z] 237528ba509b: Pull complete [2020-08-24T17:00:28.961Z] 393b96f31d8b: Pull complete [2020-08-24T17:00:29.236Z] 4d82b0e39008: Pull complete [2020-08-24T17:00:29.507Z] e7ca375b8d34: Pull complete [2020-08-24T17:00:34.884Z] 07392d479177: Verifying Checksum [2020-08-24T17:00:34.884Z] 07392d479177: Download complete [2020-08-24T17:01:13.859Z] 07392d479177: Pull complete [2020-08-24T17:01:13.859Z] 8324981f6117: Pull complete [2020-08-24T17:01:13.859Z] c3105ce2227d: Pull complete [2020-08-24T17:01:13.859Z] 92aa0e4ab508: Pull complete [2020-08-24T17:01:13.859Z] ae419ce1c302: Pull complete [2020-08-24T17:01:13.859Z] Digest: sha256:6e406ae1453d9e8d8e9e409efff2bb31ab6f017c918e683fbe291fd96f16a4ed [2020-08-24T17:01:13.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-08-24T17:01:19.261Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-24T17:01:19.261Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-08-24T17:01:19.533Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-08-24T17:01:19.806Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-08-24T17:01:20.080Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [922 kB] [2020-08-24T17:01:20.367Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1253 kB] [2020-08-24T17:01:20.646Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [777 kB] [2020-08-24T17:01:20.925Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [649 kB] [2020-08-24T17:01:21.195Z] Fetched 3853 kB in 2s (1787 kB/s) [2020-08-24T17:01:25.481Z] Reading package lists... [2020-08-24T17:01:40.564Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-08-24T17:01:40.564Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-08-24T17:01:40.564Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-08-24T17:01:40.564Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-08-24T17:01:44.099Z] 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-24T17:01:50.812Z] 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-24T17:01:54.597Z] 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-24T17:01:55.743Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 60% Building dependency tree [2020-08-24T17:01:55.743Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-08-24T17:01:56.335Z] The following packages were automatically installed and are no longer required: [2020-08-24T17:01:56.335Z] libjq1 libonig4 [2020-08-24T17:01:56.335Z] Use 'sudo apt autoremove' to remove them. [2020-08-24T17:01:56.335Z] Suggested packages: [2020-08-24T17:01:56.335Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-08-24T17:01:56.335Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-08-24T17:01:56.335Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-08-24T17:01:56.335Z] | libterm-readline-perl-perl [2020-08-24T17:01:56.927Z] The following NEW packages will be installed: [2020-08-24T17:01:56.927Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-08-24T17:01:56.927Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-08-24T17:01:56.927Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-08-24T17:01:56.927Z] Need to get 10.8 MB of archives. [2020-08-24T17:01:56.927Z] After this operation, 73.6 MB of additional disk space will be used. [2020-08-24T17:01:56.927Z] 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-24T17:01:57.788Z] 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 5% [1 perl-modules-5.26 696 kB/2763 kB 25%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-08-24T17:01:57.788Z] 22% [2 libgdbm5 3967 B/23.1 kB 17%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-08-24T17:01:57.788Z] 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Waiting for headers] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-08-24T17:01:58.060Z] 25% [4 libperl5.26 25.8 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-24T17:01:58.060Z] 51% [5 perl 0 B/201 kB 0%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-08-24T17:01:58.060Z] 54% [6 less 20.5 kB/99.7 kB 21%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-08-24T17:01:58.060Z] 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-24T17:01:58.060Z] 58% [8 curl 41.0 kB/152 kB 27%] 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-24T17:01:58.060Z] 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-08-24T17:01:58.060Z] 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-08-24T17:01:58.060Z] 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-08-24T17:01:58.060Z] 72% [12 git 11.2 kB/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-08-24T17:01:58.060Z] 96% [13 make 28.7 kB/139 kB 21%] 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-24T17:01:58.060Z] 98% [14 patch 36.9 kB/91.8 kB 40%] 100% [Working] Fetched 10.8 MB in 1s (8086 kB/s) [2020-08-24T17:01:59.034Z] debconf: delaying package configuration, since apt-utils is not installed [2020-08-24T17:01:59.034Z] Selecting previously unselected package perl-modules-5.26. [2020-08-24T17:01:59.034Z] (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-24T17:01:59.034Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-08-24T17:01:59.034Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:00.464Z] Selecting previously unselected package libgdbm5:arm64. [2020-08-24T17:02:00.464Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-08-24T17:02:00.464Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-08-24T17:02:00.737Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-08-24T17:02:00.737Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-08-24T17:02:00.737Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-24T17:02:00.737Z] Selecting previously unselected package libperl5.26:arm64. [2020-08-24T17:02:01.011Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-24T17:02:01.011Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:02.442Z] Selecting previously unselected package perl. [2020-08-24T17:02:02.442Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-08-24T17:02:02.442Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:02.442Z] Selecting previously unselected package less. [2020-08-24T17:02:02.442Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-08-24T17:02:02.442Z] Unpacking less (487-0.1) ... [2020-08-24T17:02:02.442Z] Selecting previously unselected package netbase. [2020-08-24T17:02:02.442Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-08-24T17:02:02.713Z] Unpacking netbase (5.4) ... [2020-08-24T17:02:02.713Z] Selecting previously unselected package curl. [2020-08-24T17:02:02.713Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-08-24T17:02:02.713Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-08-24T17:02:02.984Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-08-24T17:02:02.984Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-08-24T17:02:02.984Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-08-24T17:02:02.984Z] Selecting previously unselected package liberror-perl. [2020-08-24T17:02:02.984Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-08-24T17:02:02.984Z] Unpacking liberror-perl (0.17025-1) ... [2020-08-24T17:02:03.255Z] Selecting previously unselected package git-man. [2020-08-24T17:02:03.255Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-08-24T17:02:03.255Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T17:02:03.525Z] Selecting previously unselected package git. [2020-08-24T17:02:03.525Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-08-24T17:02:03.525Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T17:02:04.955Z] Selecting previously unselected package make. [2020-08-24T17:02:04.955Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-08-24T17:02:04.955Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-08-24T17:02:04.955Z] Selecting previously unselected package patch. [2020-08-24T17:02:04.955Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-08-24T17:02:04.955Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-08-24T17:02:05.227Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-08-24T17:02:05.227Z] Setting up less (487-0.1) ... [2020-08-24T17:02:05.498Z] Setting up make (4.1-9.1ubuntu1) ... [2020-08-24T17:02:05.498Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-08-24T17:02:05.768Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-08-24T17:02:05.768Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:05.768Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-08-24T17:02:05.768Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-08-24T17:02:05.768Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-08-24T17:02:05.768Z] Setting up netbase (5.4) ... [2020-08-24T17:02:06.039Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:06.039Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-08-24T17:02:06.039Z] Setting up liberror-perl (0.17025-1) ... [2020-08-24T17:02:06.039Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-08-24T17:02:06.310Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-08-24T17:02:06.310Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-08-24T17:02:11.693Z] curl set to automatically installed. [2020-08-24T17:02:11.693Z] git set to automatically installed. [2020-08-24T17:02:11.693Z] git-man set to automatically installed. [2020-08-24T17:02:11.693Z] less set to automatically installed. [2020-08-24T17:02:11.693Z] libcurl3-gnutls set to automatically installed. [2020-08-24T17:02:11.966Z] liberror-perl set to automatically installed. [2020-08-24T17:02:11.966Z] libgdbm-compat4 set to automatically installed. [2020-08-24T17:02:11.966Z] libgdbm5 set to automatically installed. [2020-08-24T17:02:11.966Z] libperl5.26 set to automatically installed. [2020-08-24T17:02:11.966Z] make set to automatically installed. [2020-08-24T17:02:11.966Z] netbase set to automatically installed. [2020-08-24T17:02:11.966Z] patch set to automatically installed. [2020-08-24T17:02:12.239Z] perl set to automatically installed. [2020-08-24T17:02:12.239Z] perl-modules-5.26 set to automatically installed. [2020-08-24T17:02:12.239Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-08-24T17:02:12.239Z] Please ensure the environment is properly setup before continuing. [2020-08-24T17:02:12.239Z] Ignore this message if the appropriate measures have already been taken [2020-08-24T17:02:13.208Z] Pulling go  [2020-08-24T17:02:16.578Z] 'device-modbus' has dependencies that need to be staged: go [2020-08-24T17:02:16.578Z] Skipping pull go (already ran) [2020-08-24T17:02:16.578Z] Building go  [2020-08-24T17:02:16.578Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-08-24T17:02:16.578Z] Dload Upload Total Spent Left Speed [2020-08-24T17:02:18.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 31 93.0M 31 29.4M 0 0 28.1M 0 0:00:03 0:00:01 0:00:02 28.0M 81 93.0M 81 75.4M 0 0 36.9M 0 0:00:02 0:00:02 --:--:-- 36.8M 100 93.0M 100 93.0M 0 0 38.3M 0 0:00:02 0:00:02 --:--:-- 38.2M [2020-08-24T17:02:20.237Z] go1.13.5.linux-arm64.tar.gz: OK [2020-08-24T17:02:38.514Z] Staging go  [2020-08-24T17:02:40.481Z] Pulling device-modbus  [2020-08-24T17:02:43.855Z] Skipping build go (already ran) [2020-08-24T17:02:43.855Z] Building device-modbus  [2020-08-24T17:02:43.855Z] 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-24T17:02:44.831Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T17:02:44.831Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T17:02:44.831Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-08-24T17:02:45.103Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-08-24T17:02:45.103Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T17:02:45.103Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-08-24T17:02:45.103Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T17:02:45.103Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T17:02:45.103Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-08-24T17:02:45.103Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-08-24T17:02:45.103Z] go: downloading github.com/pkg/errors v0.8.1 [2020-08-24T17:02:45.103Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T17:02:45.103Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T17:02:45.103Z] go: extracting github.com/pkg/errors v0.8.1 [2020-08-24T17:02:45.103Z] go: downloading github.com/google/uuid v1.1.1 [2020-08-24T17:02:45.103Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-08-24T17:02:45.103Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T17:02:45.103Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-08-24T17:02:45.103Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T17:02:45.103Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T17:02:45.103Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T17:02:45.103Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-08-24T17:02:45.380Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T17:02:45.380Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-08-24T17:02:45.380Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-08-24T17:02:45.380Z] go: extracting github.com/google/uuid v1.1.1 [2020-08-24T17:02:45.380Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T17:02:45.380Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-08-24T17:02:45.380Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T17:02:45.380Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-08-24T17:02:45.380Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-08-24T17:02:45.380Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T17:02:45.380Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-08-24T17:02:45.380Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T17:02:45.380Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-08-24T17:02:45.380Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T17:02:45.380Z] go: downloading github.com/x448/float16 v0.8.4 [2020-08-24T17:02:45.380Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-08-24T17:02:45.380Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T17:02:45.380Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T17:02:45.380Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T17:02:45.380Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-08-24T17:02:45.380Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T17:02:45.380Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-08-24T17:02:45.380Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T17:02:45.653Z] go: extracting github.com/x448/float16 v0.8.4 [2020-08-24T17:02:45.653Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T17:02:45.653Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T17:02:45.653Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T17:02:45.653Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T17:02:45.653Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-08-24T17:02:45.653Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T17:02:45.653Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T17:02:45.653Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-08-24T17:02:45.653Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T17:02:45.653Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T17:02:45.926Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T17:02:45.926Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T17:02:45.926Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T17:02:45.926Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T17:02:45.926Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T17:02:45.926Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T17:02:45.926Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-08-24T17:02:45.926Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-08-24T17:02:46.199Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-08-24T17:02:46.199Z] go: finding github.com/gorilla/mux v1.7.1 [2020-08-24T17:02:46.199Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-08-24T17:02:46.199Z] go: finding github.com/go-kit/kit v0.8.0 [2020-08-24T17:02:46.199Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-08-24T17:02:46.199Z] go: finding github.com/google/uuid v1.1.1 [2020-08-24T17:02:46.199Z] go: finding github.com/goburrow/serial v0.1.0 [2020-08-24T17:02:46.199Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-08-24T17:02:46.199Z] go: finding github.com/x448/float16 v0.8.4 [2020-08-24T17:02:46.199Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-08-24T17:02:46.199Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-08-24T17:02:46.199Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-08-24T17:02:46.199Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-08-24T17:02:46.199Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-08-24T17:02:46.470Z] go: finding github.com/pkg/errors v0.8.1 [2020-08-24T17:02:46.470Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-08-24T17:02:46.470Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-08-24T17:02:46.470Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-08-24T17:02:46.470Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-08-24T17:02:46.470Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-08-24T17:02:46.470Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-08-24T17:02:46.470Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-08-24T17:02:46.470Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-08-24T17:02:46.470Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-08-24T17:03:08.669Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-08-24T17:03:26.947Z] Skipping stage go (already ran) [2020-08-24T17:03:26.947Z] Staging device-modbus  [2020-08-24T17:03:27.219Z] Priming go  [2020-08-24T17:03:30.595Z] Priming device-modbus  [2020-08-24T17:03:33.965Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-08-24T17:03:33.965Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-08-24T17:03:33.965Z] Determining the version from the project repo (version-script). [2020-08-24T17:03:33.965Z] The version has been set to '0.0.0-20200824+bdf703c' [2020-08-24T17:03:36.428Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | [2020-08-24T17:03:36.428Z] Snapped edgex-device-modbus_0.0.0-20200824+bdf703c_arm64.snap [Pipeline] } [2020-08-24T17:03:38.422Z] 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-24T17:03:39.655Z] provisioning config files... [2020-08-24T17:03:39.669Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config461210580592168429tmp [Pipeline] { [Pipeline] sh [2020-08-24T17:03:40.038Z] + curl -s https://codecov.io/bash [2020-08-24T17:03:40.039Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config461210580592168429tmp [Pipeline] } [2020-08-24T17:03:40.309Z] 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-24T17:03:42.440Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T17:03:43.004Z] ---> package-listing.sh [2020-08-24T17:03:43.004Z] ++ facter osfamily [2020-08-24T17:03:43.004Z] ++ tr '[:upper:]' '[:lower:]' [2020-08-24T17:03:43.004Z] + OS_FAMILY=redhat [2020-08-24T17:03:43.004Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-24T17:03:43.004Z] + START_PACKAGES=/tmp/packages_start.txt [2020-08-24T17:03:43.004Z] + END_PACKAGES=/tmp/packages_end.txt [2020-08-24T17:03:43.004Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-08-24T17:03:43.004Z] + PACKAGES=/tmp/packages_start.txt [2020-08-24T17:03:43.004Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-08-24T17:03:43.004Z] + PACKAGES=/tmp/packages_end.txt [2020-08-24T17:03:43.004Z] + case "${OS_FAMILY}" in [2020-08-24T17:03:43.004Z] + rpm -qa [2020-08-24T17:03:43.004Z] + sort [2020-08-24T17:03:47.223Z] + '[' -f /tmp/packages_start.txt ']' [2020-08-24T17:03:47.223Z] + '[' -f /tmp/packages_end.txt ']' [2020-08-24T17:03:47.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-08-24T17:03:47.223Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-162 ']' [2020-08-24T17:03:47.223Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [2020-08-24T17:03:47.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-162/archives/ [Pipeline] isUnix [Pipeline] sh [2020-08-24T17:03:47.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T17:03:47.607Z] [2020-08-24T17:03:47.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-08-24T17:03:47.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T17:03:47.948Z] alpine: Pulling from edgex-lftools-log-publisher [2020-08-24T17:03:47.948Z] c9b1b535fdd9: Pulling fs layer [2020-08-24T17:03:47.948Z] 2cc5ad85d9ab: Pulling fs layer [2020-08-24T17:03:47.948Z] 756a868c4378: Pulling fs layer [2020-08-24T17:03:47.948Z] 444b2fc9a129: Pulling fs layer [2020-08-24T17:03:47.948Z] ea15f1150254: Pulling fs layer [2020-08-24T17:03:47.948Z] 41b27a9f41bf: Pulling fs layer [2020-08-24T17:03:47.948Z] 28c525ee5125: Pulling fs layer [2020-08-24T17:03:47.948Z] 094b1ea09ed8: Pulling fs layer [2020-08-24T17:03:47.948Z] 138eaada9080: Pulling fs layer [2020-08-24T17:03:47.948Z] 0622d0fa9048: Pulling fs layer [2020-08-24T17:03:47.948Z] 444b2fc9a129: Waiting [2020-08-24T17:03:47.948Z] ea15f1150254: Waiting [2020-08-24T17:03:47.948Z] 41b27a9f41bf: Waiting [2020-08-24T17:03:47.948Z] 28c525ee5125: Waiting [2020-08-24T17:03:47.948Z] 138eaada9080: Waiting [2020-08-24T17:03:47.948Z] 0622d0fa9048: Waiting [2020-08-24T17:03:47.948Z] 094b1ea09ed8: Waiting [2020-08-24T17:03:47.948Z] 2cc5ad85d9ab: Verifying Checksum [2020-08-24T17:03:47.948Z] 2cc5ad85d9ab: Download complete [2020-08-24T17:03:47.948Z] 444b2fc9a129: Verifying Checksum [2020-08-24T17:03:47.948Z] 444b2fc9a129: Download complete [2020-08-24T17:03:47.948Z] c9b1b535fdd9: Download complete [2020-08-24T17:03:47.948Z] ea15f1150254: Verifying Checksum [2020-08-24T17:03:47.948Z] ea15f1150254: Download complete [2020-08-24T17:03:47.948Z] 28c525ee5125: Verifying Checksum [2020-08-24T17:03:47.948Z] 28c525ee5125: Download complete [2020-08-24T17:03:48.552Z] 756a868c4378: Verifying Checksum [2020-08-24T17:03:48.552Z] 756a868c4378: Download complete [2020-08-24T17:03:48.552Z] c9b1b535fdd9: Pull complete [2020-08-24T17:03:48.552Z] 138eaada9080: Verifying Checksum [2020-08-24T17:03:48.552Z] 138eaada9080: Download complete [2020-08-24T17:03:48.552Z] 094b1ea09ed8: Verifying Checksum [2020-08-24T17:03:48.552Z] 094b1ea09ed8: Download complete [2020-08-24T17:03:48.552Z] 0622d0fa9048: Verifying Checksum [2020-08-24T17:03:48.552Z] 0622d0fa9048: Download complete [2020-08-24T17:03:48.818Z] 2cc5ad85d9ab: Pull complete [2020-08-24T17:03:49.083Z] 41b27a9f41bf: Verifying Checksum [2020-08-24T17:03:49.083Z] 41b27a9f41bf: Download complete [2020-08-24T17:03:50.471Z] 756a868c4378: Pull complete [2020-08-24T17:03:50.471Z] 444b2fc9a129: Pull complete [2020-08-24T17:03:50.731Z] ea15f1150254: Pull complete [2020-08-24T17:03:54.959Z] 41b27a9f41bf: Pull complete [2020-08-24T17:03:54.959Z] 28c525ee5125: Pull complete [2020-08-24T17:03:57.515Z] 094b1ea09ed8: Pull complete [2020-08-24T17:03:57.775Z] 138eaada9080: Pull complete [2020-08-24T17:03:58.036Z] 0622d0fa9048: Pull complete [2020-08-24T17:03:58.037Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-08-24T17:03:58.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-08-24T17:03:58.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-08-24T17:03:58.190Z] prd-centos7-docker-4c-2g-209 does not seem to be running inside a container [2020-08-24T17:03:58.239Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-162 -v /w/workspace/xfoundry_device-modbus-go_PR-162:/w/workspace/xfoundry_device-modbus-go_PR-162:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-162@tmp:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-08-24T17:04:01.165Z] $ docker top 8076f32bb986abc20432f02374a448f693a97f234884e675294d3b34c3649d65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-08-24T17:04:01.396Z] provisioning config files... [2020-08-24T17:04:01.413Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-162@tmp/config1539088730734092244tmp [Pipeline] { [Pipeline] echo [2020-08-24T17:04:01.548Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T17:04:01.843Z] ---> create-netrc.sh [Pipeline] echo [2020-08-24T17:04:01.856Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-08-24T17:04:02.152Z] ---> logs-deploy.sh [2020-08-24T17:04:02.152Z] + ARCHIVE_ARTIFACTS= [2020-08-24T17:04:02.152Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-08-24T17:04:02.152Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-08-24T17:04:02.152Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-08-24T17:04:02.152Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/4 [2020-08-24T17:04:02.152Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/4/ [2020-08-24T17:04:02.152Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/4 /w/workspace/xfoundry_device-modbus-go_PR-162 [2020-08-24T17:04:03.539Z] Archives upload complete. [2020-08-24T17:04:03.539Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-162/4 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-162/4/