Pull request #159 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 928faa469aa3d9b5aeeb0685117104ea8980e74f+0d9dcf3dd08f488906d53c6efd799967b99372fa (700c8294018b8e81f369d775e443721aa41a7c3a) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-159/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision be3c330340c18bb7ab85087afff7d7ed2ee420c0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f be3c330340c18bb7ab85087afff7d7ed2ee420c0 # timeout=10 Commit message: "Merge pull request #211 from ernestojeda/fix-docker-image-push-with-namespace" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 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 SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ SNAP_CHANNEL: latest/edge BUILD_SNAP: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-535 in /w/workspace/xfoundry_device-modbus-go_PR-159 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-159 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/159/head:refs/remotes/origin/PR-159 # 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/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0d9dcf3dd08f488906d53c6efd799967b99372fa into PR head commit 928faa469aa3d9b5aeeb0685117104ea8980e74f Merge succeeded, producing 928faa469aa3d9b5aeeb0685117104ea8980e74f Checking out Revision 928faa469aa3d9b5aeeb0685117104ea8980e74f (PR-159) > git config core.sparsecheckout # timeout=10 > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # 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 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # timeout=10 Commit message: "Update SDK version and configuration file" First time build. Skipping changelog. > git --version # timeout=10 fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-07-22T05:00:12.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-07-22T05:00:13.091Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-07-22T05:00:13.281Z] ========================================================= [2020-07-22T05:00:13.281Z] EdgeX Global Pipelines Version Info [2020-07-22T05:00:13.281Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-07-22T05:00:15.703Z] ------------------- [2020-07-22T05:00:15.703Z] stable info: [2020-07-22T05:00:15.703Z] ------------------- [2020-07-22T05:00:15.703Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-07-22T05:00:15.703Z] Commit SHA: be3c330340c18bb7ab85087afff7d7ed2ee420c0 [2020-07-22T05:00:15.703Z] Message: update stable to v1.0.99 [2020-07-22T05:00:16.276Z] ------------------- [2020-07-22T05:00:16.276Z] experimental info: [2020-07-22T05:00:16.276Z] ------------------- [2020-07-22T05:00:16.276Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-07-22T05:00:16.276Z] Commit SHA: 78d567e8c35819a45e10bd2b75e1138b16507148 [2020-07-22T05:00:16.276Z] Message: update experimental to v1.0.101 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:00:18.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T05:00:18.732Z] [2020-07-22T05:00:18.732Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:00:19.101Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T05:00:19.102Z] latest: Pulling from edgex-devops/git-semver [2020-07-22T05:00:19.102Z] 31603596830f: Pulling fs layer [2020-07-22T05:00:19.102Z] 2a8b12db71e7: Pulling fs layer [2020-07-22T05:00:19.102Z] 6ca5941a6612: Pulling fs layer [2020-07-22T05:00:19.102Z] ecc8261a40a4: Pulling fs layer [2020-07-22T05:00:19.102Z] 2a8b12db71e7: Verifying Checksum [2020-07-22T05:00:19.102Z] 2a8b12db71e7: Download complete [2020-07-22T05:00:19.102Z] 31603596830f: Verifying Checksum [2020-07-22T05:00:19.102Z] 31603596830f: Download complete [2020-07-22T05:00:19.372Z] ecc8261a40a4: Verifying Checksum [2020-07-22T05:00:19.372Z] ecc8261a40a4: Download complete [2020-07-22T05:00:19.372Z] 6ca5941a6612: Verifying Checksum [2020-07-22T05:00:19.372Z] 6ca5941a6612: Download complete [2020-07-22T05:00:19.372Z] 31603596830f: Pull complete [2020-07-22T05:00:19.639Z] 2a8b12db71e7: Pull complete [2020-07-22T05:00:20.216Z] 6ca5941a6612: Pull complete [2020-07-22T05:00:20.482Z] ecc8261a40a4: Pull complete [2020-07-22T05:00:20.482Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-07-22T05:00:20.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-07-22T05:00:20.482Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-07-22T05:00:20.604Z] prd-centos7-docker-4c-2g-535 does not seem to be running inside a container [2020-07-22T05:00:20.642Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-159 -v /w/workspace/xfoundry_device-modbus-go_PR-159:/w/workspace/xfoundry_device-modbus-go_PR-159:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-159@tmp:/w/workspace/xfoundry_device-modbus-go_PR-159@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-07-22T05:00:22.530Z] $ docker top cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-07-22T05:00:22.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T05:00:22.872Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T05:00:23.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T05:00:23.084Z] $ docker exec cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 ssh-agent [2020-07-22T05:00:23.255Z] SSH_AUTH_SOCK=/tmp/ssh-rQ6Sx8YJxx4n/agent.12 [2020-07-22T05:00:23.255Z] SSH_AGENT_PID=17 [2020-07-22T05:00:23.265Z] Running ssh-add (command line suppressed) [2020-07-22T05:00:23.377Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-159@tmp/private_key_4810681870328118011.key (/w/workspace/xfoundry_device-modbus-go_PR-159@tmp/private_key_4810681870328118011.key) [2020-07-22T05:00:23.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T05:00:23.792Z] + git describe --exact-match --tags HEAD [2020-07-22T05:00:23.792Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-07-22T05:00:23.856Z] $ docker exec --env ******** --env ******** cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 ssh-agent -k [2020-07-22T05:00:23.982Z] unset SSH_AUTH_SOCK; [2020-07-22T05:00:23.982Z] unset SSH_AGENT_PID; [2020-07-22T05:00:23.982Z] echo Agent pid 17 killed; [2020-07-22T05:00:24.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-07-22T05:00:24.183Z] [WARNING]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-07-22T05:00:24.183Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-07-22T05:00:24.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-07-22T05:00:24.301Z] [ssh-agent] Looking for ssh-agent implementation... [2020-07-22T05:00:24.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-07-22T05:00:24.511Z] $ docker exec cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 ssh-agent [2020-07-22T05:00:24.676Z] SSH_AUTH_SOCK=/tmp/ssh-YSLJUeG8cPec/agent.47 [2020-07-22T05:00:24.676Z] SSH_AGENT_PID=53 [2020-07-22T05:00:24.682Z] Running ssh-add (command line suppressed) [2020-07-22T05:00:24.797Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-159@tmp/private_key_2870760030863617555.key (/w/workspace/xfoundry_device-modbus-go_PR-159@tmp/private_key_2870760030863617555.key) [2020-07-22T05:00:24.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-07-22T05:00:25.221Z] + git semver init [2020-07-22T05:00:25.221Z] # -> Open(): unable to determine branch for HEAD [2020-07-22T05:00:25.221Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-159/.git [2020-07-22T05:00:25.221Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-159 [2020-07-22T05:00:25.221Z] # $SEMVER_REMOTE_NAME = origin [2020-07-22T05:00:25.222Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-07-22T05:00:25.222Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-07-22T05:00:25.222Z] # $SEMVER_BRANCH = PR-159 [2020-07-22T05:00:25.222Z] # $SEMVER_TEMP = /tmp/semver-252485398 [2020-07-22T05:00:25.222Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-07-22T05:00:25.798Z] # '/tmp/semver-252485398' -> '/w/workspace/xfoundry_device-modbus-go_PR-159/.semver' [2020-07-22T05:00:25.798Z] # -> Force: false [2020-07-22T05:00:25.798Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-159/.semver [Pipeline] } [2020-07-22T05:00:25.812Z] $ docker exec --env ******** --env ******** cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 ssh-agent -k [2020-07-22T05:00:25.964Z] unset SSH_AUTH_SOCK; [2020-07-22T05:00:25.964Z] unset SSH_AGENT_PID; [2020-07-22T05:00:25.964Z] echo Agent pid 53 killed; [2020-07-22T05:00:26.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-07-22T05:00:26.526Z] + git semver [Pipeline] } [2020-07-22T05:00:26.547Z] $ docker stop --time=1 cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 [2020-07-22T05:00:27.875Z] $ docker rm -f cc2b4af65f68111d11b82a45531128dad93cc81f03880b7c014e83bacd72c241 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-07-22T05:00:28.608Z] Stashed 21 file(s) [Pipeline] echo [2020-07-22T05:00:28.624Z] [edgeXSemver] initialized semver on version 0.0.0 [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-07-22T05:00:44.049Z] Still waiting to schedule task [2020-07-22T05:00:44.049Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-07-22T05:00:44.066Z] Still waiting to schedule task [2020-07-22T05:00:44.066Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-07-22T05:03:26.114Z] Running on prd-centos7-docker-4c-2g-536 in /w/workspace/xfoundry_device-modbus-go_PR-159 [Pipeline] { [Pipeline] ws [2020-07-22T05:03:26.219Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T05:03:28.958Z] using credential edgex-jenkins-ssh [2020-07-22T05:03:29.003Z] Cloning the remote Git repository [2020-07-22T05:03:29.003Z] Cloning with configured refspecs honoured and without tags [2020-07-22T05:03:29.037Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:03:29.103Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-07-22T05:03:29.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:03:29.157Z] > git --version # timeout=10 [2020-07-22T05:03:29.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:03:29.198Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:03:30.462Z] Fetching without tags [2020-07-22T05:03:30.883Z] Merging remotes/origin/master commit 0d9dcf3dd08f488906d53c6efd799967b99372fa into PR head commit 928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:03:30.964Z] Merge succeeded, producing 928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:03:30.965Z] Checking out Revision 928faa469aa3d9b5aeeb0685117104ea8980e74f (PR-159) [2020-07-22T05:03:30.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-07-22T05:03:30.437Z] > git config --add remote.origin.fetch +refs/pull/159/head:refs/remotes/origin/PR-159 # timeout=10 [2020-07-22T05:03:30.443Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:03:30.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-07-22T05:03:30.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:03:30.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:03:30.468Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:03:30.889Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T05:03:30.896Z] > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # timeout=10 [2020-07-22T05:03:30.928Z] > git remote # timeout=10 [2020-07-22T05:03:30.935Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T05:03:30.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:03:30.947Z] > git merge 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 [2020-07-22T05:03:30.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T05:03:30.966Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T05:03:30.975Z] > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # timeout=10 [2020-07-22T05:03:34.565Z] Commit message: "Update SDK version and configuration file" [2020-07-22T05:03:34.586Z] > git --version # timeout=10 [2020-07-22T05:03:34.602Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-07-22T05:03:35.456Z] ========================================================= [2020-07-22T05:03:35.456Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-07-22T05:03:35.456Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:03:36.131Z] + 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-07-22T05:03:37.087Z] Sending build context to Docker daemon 603.1kB [2020-07-22T05:03:37.087Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-22T05:03:37.087Z] Step 2/8 : FROM ${BASE} [2020-07-22T05:03:37.087Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-07-22T05:03:37.087Z] df20fa9351a1: Pulling fs layer [2020-07-22T05:03:37.087Z] ed8968b2872e: Pulling fs layer [2020-07-22T05:03:37.087Z] a92cc7c5fd73: Pulling fs layer [2020-07-22T05:03:37.087Z] 2dd03ba5bac4: Pulling fs layer [2020-07-22T05:03:37.087Z] 1e091d79d1de: Pulling fs layer [2020-07-22T05:03:37.087Z] 481702a1767f: Pulling fs layer [2020-07-22T05:03:37.087Z] f64a6f60c768: Pulling fs layer [2020-07-22T05:03:37.087Z] e78d2573fc39: Pulling fs layer [2020-07-22T05:03:37.087Z] e876d2f968b6: Pulling fs layer [2020-07-22T05:03:37.087Z] ce8a83651883: Pulling fs layer [2020-07-22T05:03:37.087Z] 07967f4d0e4b: Pulling fs layer [2020-07-22T05:03:37.087Z] ce8a83651883: Waiting [2020-07-22T05:03:37.087Z] f64a6f60c768: Waiting [2020-07-22T05:03:37.087Z] 2dd03ba5bac4: Waiting [2020-07-22T05:03:37.087Z] e78d2573fc39: Waiting [2020-07-22T05:03:37.087Z] e876d2f968b6: Waiting [2020-07-22T05:03:37.087Z] 07967f4d0e4b: Waiting [2020-07-22T05:03:37.087Z] 1e091d79d1de: Waiting [2020-07-22T05:03:37.087Z] 481702a1767f: Waiting [2020-07-22T05:03:37.087Z] a92cc7c5fd73: Verifying Checksum [2020-07-22T05:03:37.087Z] a92cc7c5fd73: Download complete [2020-07-22T05:03:37.087Z] ed8968b2872e: Verifying Checksum [2020-07-22T05:03:37.087Z] ed8968b2872e: Download complete [2020-07-22T05:03:37.087Z] 1e091d79d1de: Download complete [2020-07-22T05:03:37.087Z] 481702a1767f: Verifying Checksum [2020-07-22T05:03:37.087Z] 481702a1767f: Download complete [2020-07-22T05:03:37.087Z] df20fa9351a1: Verifying Checksum [2020-07-22T05:03:37.087Z] df20fa9351a1: Download complete [2020-07-22T05:03:38.058Z] f64a6f60c768: Download complete [2020-07-22T05:03:38.058Z] e876d2f968b6: Verifying Checksum [2020-07-22T05:03:38.058Z] e876d2f968b6: Download complete [2020-07-22T05:03:38.641Z] e78d2573fc39: Verifying Checksum [2020-07-22T05:03:38.641Z] e78d2573fc39: Download complete [2020-07-22T05:03:38.641Z] ce8a83651883: Verifying Checksum [2020-07-22T05:03:38.641Z] ce8a83651883: Download complete [2020-07-22T05:03:38.641Z] 07967f4d0e4b: Verifying Checksum [2020-07-22T05:03:38.641Z] 07967f4d0e4b: Download complete [2020-07-22T05:03:38.641Z] 2dd03ba5bac4: Verifying Checksum [2020-07-22T05:03:38.641Z] 2dd03ba5bac4: Download complete [2020-07-22T05:03:40.030Z] df20fa9351a1: Pull complete [2020-07-22T05:03:40.030Z] ed8968b2872e: Pull complete [2020-07-22T05:03:40.030Z] a92cc7c5fd73: Pull complete [2020-07-22T05:03:45.350Z] 2dd03ba5bac4: Pull complete [2020-07-22T05:03:45.612Z] 1e091d79d1de: Pull complete [2020-07-22T05:03:45.612Z] 481702a1767f: Pull complete [2020-07-22T05:03:54.138Z] f64a6f60c768: Pull complete [2020-07-22T05:03:56.062Z] e78d2573fc39: Pull complete [2020-07-22T05:03:56.062Z] e876d2f968b6: Pull complete [2020-07-22T05:03:58.211Z] ce8a83651883: Pull complete [2020-07-22T05:03:58.211Z] 07967f4d0e4b: Pull complete [2020-07-22T05:03:58.211Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-07-22T05:03:58.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-07-22T05:03:58.211Z] ---> 5d7c900382c6 [2020-07-22T05:03:58.211Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-22T05:03:59.154Z] ---> Running in 5659bb887008 [2020-07-22T05:03:59.154Z] Removing intermediate container 5659bb887008 [2020-07-22T05:03:59.154Z] ---> 64d5feda8f90 [2020-07-22T05:03:59.154Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T05:03:59.154Z] ---> Running in fc7aaa91b17e [2020-07-22T05:04:01.082Z] Removing intermediate container fc7aaa91b17e [2020-07-22T05:04:01.082Z] ---> dd0716897d2f [2020-07-22T05:04:01.082Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T05:04:01.082Z] ---> Running in 5131bdb5d4e3 [2020-07-22T05:04:01.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T05:04:02.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T05:04:03.231Z] (1/14) Installing libmagic (5.38-r0) [2020-07-22T05:04:03.490Z] (2/14) Installing file (5.38-r0) [2020-07-22T05:04:03.490Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-22T05:04:03.753Z] (4/14) Installing g++ (9.3.0-r2) [2020-07-22T05:04:11.896Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-22T05:04:11.896Z] (6/14) Installing patch (2.7.6-r6) [2020-07-22T05:04:11.896Z] (7/14) Installing build-base (0.5-r2) [2020-07-22T05:04:11.896Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-22T05:04:11.896Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-22T05:04:11.896Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-22T05:04:11.896Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-22T05:04:11.896Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-22T05:04:11.896Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-22T05:04:12.160Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-22T05:04:12.422Z] Executing busybox-1.31.1-r16.trigger [2020-07-22T05:04:12.422Z] OK: 237 MiB in 53 packages [2020-07-22T05:04:14.974Z] Removing intermediate container 5131bdb5d4e3 [2020-07-22T05:04:14.974Z] ---> 6968ca14d848 [2020-07-22T05:04:14.974Z] Step 6/8 : WORKDIR /device-modbus-go [2020-07-22T05:04:15.240Z] ---> Running in b61428518381 [2020-07-22T05:04:15.240Z] Removing intermediate container b61428518381 [2020-07-22T05:04:15.240Z] ---> 387099817bdf [2020-07-22T05:04:15.240Z] Step 7/8 : COPY . . [2020-07-22T05:04:16.189Z] ---> a1fcd353f206 [2020-07-22T05:04:16.189Z] Step 8/8 : RUN go mod download [2020-07-22T05:04:16.189Z] ---> Running in 7538079aa7d7 [2020-07-22T05:04:18.108Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:04:18.108Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:04:18.108Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T05:04:18.108Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:04:18.108Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T05:04:18.108Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T05:04:18.108Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:04:18.108Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T05:04:18.108Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:04:18.108Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:04:18.108Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:04:18.108Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:04:18.369Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:04:18.369Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:04:18.369Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T05:04:18.369Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:04:18.369Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T05:04:18.369Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:04:18.369Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T05:04:18.370Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-07-22T05:04:18.370Z] go: finding github.com/goburrow/serial v0.1.0 [2020-07-22T05:04:18.370Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T05:04:18.370Z] go: finding github.com/google/uuid v1.1.1 [2020-07-22T05:04:18.370Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T05:04:18.633Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T05:04:18.893Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T05:04:18.893Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T05:04:18.893Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T05:04:19.466Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T05:04:19.466Z] go: finding github.com/miekg/dns v1.1.4 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:04:19.466Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:04:19.726Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T05:04:19.726Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:04:19.726Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T05:04:19.726Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T05:04:19.726Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T05:04:19.726Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-07-22T05:04:19.726Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T05:04:19.726Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T05:04:19.726Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T05:04:19.726Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T05:04:19.726Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T05:04:19.988Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T05:04:19.988Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-07-22T05:04:19.988Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T05:04:19.988Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T05:04:19.988Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T05:04:19.988Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:04:28.162Z] Removing intermediate container 7538079aa7d7 [2020-07-22T05:04:28.162Z] ---> 8f1d01eac2f7 [2020-07-22T05:04:28.162Z] Successfully built 8f1d01eac2f7 [2020-07-22T05:04:28.162Z] 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-07-22T05:04:28.974Z] + docker inspect -f . ci-base-image-x86_64 [2020-07-22T05:04:28.974Z] . [Pipeline] withDockerContainer [2020-07-22T05:04:29.095Z] prd-centos7-docker-4c-2g-536 does not seem to be running inside a container [2020-07-22T05:04:29.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-07-22T05:04:30.443Z] $ docker top 6303c420fca4a9e58ac2049c1d4eabb6733c5fa30fb6d3c4c6dbbfbe4a36c8c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-07-22T05:04:30.977Z] + go version [2020-07-22T05:04:30.977Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-07-22T05:04:31.292Z] + make test [2020-07-22T05:04:31.292Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-22T05:04:32.255Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-07-22T05:04:42.404Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-07-22T05:04:42.404Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.171s coverage: 50.3% of statements [2020-07-22T05:04:42.404Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T05:04:43.805Z] gofmt -l . [2020-07-22T05:04:43.805Z] [ "`gofmt -l .`" = "" ] [2020-07-22T05:04:43.805Z] ./bin/test-attribution-txt.sh [2020-07-22T05:04:44.382Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-22T05:04:44.949Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T05:04:44.965Z] $ docker stop --time=1 6303c420fca4a9e58ac2049c1d4eabb6733c5fa30fb6d3c4c6dbbfbe4a36c8c5 [2020-07-22T05:04:47.165Z] $ docker rm -f 6303c420fca4a9e58ac2049c1d4eabb6733c5fa30fb6d3c4c6dbbfbe4a36c8c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T05:04:48.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T05:04:49.291Z] + ls -al . [2020-07-22T05:04:49.291Z] total 104 [2020-07-22T05:04:49.291Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 22 05:04 . [2020-07-22T05:04:49.291Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 22 05:03 .. [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 5049 Jul 22 05:03 Attribution.txt [2020-07-22T05:04:49.291Z] drwxrwxr-x. 2 jenkins jenkins 87 Jul 22 05:03 bin [2020-07-22T05:04:49.291Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 22 05:03 cmd [2020-07-22T05:04:49.291Z] -rw-r--r--. 1 jenkins jenkins 22123 Jul 22 05:04 coverage.out [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 1422 Jul 22 05:03 Dockerfile [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 954 Jul 22 05:03 Dockerfile.build [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 22 05:03 .dockerignore [2020-07-22T05:04:49.291Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 22 05:03 .git [2020-07-22T05:04:49.291Z] drwxrwxr-x. 2 jenkins jenkins 38 Jul 22 05:03 .github [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 330 Jul 22 05:03 .gitignore [2020-07-22T05:04:49.291Z] -rw-r--r--. 1 jenkins jenkins 559 Jul 22 05:04 go.mod [2020-07-22T05:04:49.291Z] -rw-r--r--. 1 jenkins jenkins 13471 Jul 22 05:04 go.sum [2020-07-22T05:04:49.291Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 22 05:03 internal [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 702 Jul 22 05:03 Jenkinsfile [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 22 05:03 LICENSE [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 22 05:03 Makefile [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 591 Jul 22 05:03 README.md [2020-07-22T05:04:49.291Z] drwxrwxr-x. 3 jenkins jenkins 58 Jul 22 05:03 .semver [2020-07-22T05:04:49.291Z] drwxrwxr-x. 2 jenkins jenkins 35 Jul 22 05:03 simulator [2020-07-22T05:04:49.291Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 22 05:03 snap [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 22 05:00 VERSION [2020-07-22T05:04:49.291Z] -rw-rw-r--. 1 jenkins jenkins 229 Jul 22 05:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:04:49.620Z] + 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=928faa469aa3d9b5aeeb0685117104ea8980e74f --label arch=amd64 --label version=0.0.0 . [2020-07-22T05:04:49.620Z] Sending build context to Docker daemon 631.8kB [2020-07-22T05:04:49.885Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-07-22T05:04:49.885Z] Step 2/19 : FROM ${BASE} AS builder [2020-07-22T05:04:49.885Z] ---> 8f1d01eac2f7 [2020-07-22T05:04:49.885Z] Step 3/19 : ARG MAKE='make build' [2020-07-22T05:04:49.885Z] ---> Running in 876518cd883a [2020-07-22T05:04:50.146Z] Removing intermediate container 876518cd883a [2020-07-22T05:04:50.146Z] ---> 2aea2efe5fc5 [2020-07-22T05:04:50.146Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T05:04:50.146Z] ---> Running in 61ab24f4bf31 [2020-07-22T05:04:50.969Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-537 in /w/workspace/xfoundry_device-modbus-go_PR-159 [Pipeline] { [Pipeline] ws [2020-07-22T05:04:51.089Z] Removing intermediate container 61ab24f4bf31 [2020-07-22T05:04:51.089Z] ---> 55fd4fce541d [2020-07-22T05:04:51.089Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T05:04:51.089Z] ---> Running in 710df267780c [2020-07-22T05:04:51.091Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-07-22T05:04:51.659Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-07-22T05:04:52.233Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-07-22T05:04:52.810Z] OK: 237 MiB in 53 packages [2020-07-22T05:04:53.381Z] Removing intermediate container 710df267780c [2020-07-22T05:04:53.381Z] ---> dfcc4267e78c [2020-07-22T05:04:53.381Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-07-22T05:04:53.381Z] ---> Running in ea42bab5d376 [2020-07-22T05:04:53.381Z] Removing intermediate container ea42bab5d376 [2020-07-22T05:04:53.381Z] ---> bbeafd148455 [2020-07-22T05:04:53.381Z] Step 7/19 : COPY . . [2020-07-22T05:04:54.321Z] ---> d2f1f8cd64ed [2020-07-22T05:04:54.321Z] Step 8/19 : RUN ${MAKE} [2020-07-22T05:04:54.321Z] ---> Running in 859b1a72a876 [2020-07-22T05:04:54.896Z] 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-07-22T05:04:55.774Z] using credential edgex-jenkins-ssh [2020-07-22T05:04:55.822Z] Cloning the remote Git repository [2020-07-22T05:04:55.822Z] Cloning with configured refspecs honoured and without tags [2020-07-22T05:04:55.897Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:04:56.008Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-07-22T05:04:56.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:04:56.082Z] > git --version # timeout=10 [2020-07-22T05:04:56.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:04:56.154Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:04:56.879Z] Fetching without tags [2020-07-22T05:04:57.375Z] Merging remotes/origin/master commit 0d9dcf3dd08f488906d53c6efd799967b99372fa into PR head commit 928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:04:56.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-07-22T05:04:56.821Z] > git config --add remote.origin.fetch +refs/pull/159/head:refs/remotes/origin/PR-159 # timeout=10 [2020-07-22T05:04:56.839Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:04:56.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-07-22T05:04:56.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-07-22T05:04:56.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:04:56.903Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-07-22T05:04:57.394Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T05:04:57.409Z] > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # timeout=10 [2020-07-22T05:04:57.572Z] Merge succeeded, producing 928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:04:57.572Z] Checking out Revision 928faa469aa3d9b5aeeb0685117104ea8980e74f (PR-159) [2020-07-22T05:04:57.487Z] > git remote # timeout=10 [2020-07-22T05:04:57.513Z] > git config --get remote.origin.url # timeout=10 [2020-07-22T05:04:57.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-07-22T05:04:57.535Z] > git merge 0d9dcf3dd08f488906d53c6efd799967b99372fa # timeout=10 [2020-07-22T05:04:57.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-07-22T05:04:57.616Z] > git config core.sparsecheckout # timeout=10 [2020-07-22T05:04:57.631Z] > git checkout -f 928faa469aa3d9b5aeeb0685117104ea8980e74f # timeout=10 [2020-07-22T05:05:01.842Z] Commit message: "Update SDK version and configuration file" [2020-07-22T05:05:01.896Z] > git --version # timeout=10 [2020-07-22T05:05:01.925Z] fatal: bad object be3c330340c18bb7ab85087afff7d7ed2ee420c0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-07-22T05:05:03.124Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [Pipeline] echo [2020-07-22T05:05:03.178Z] ========================================================= [2020-07-22T05:05:03.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-07-22T05:05:03.178Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:05:04.401Z] + 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-07-22T05:05:05.395Z] Sending build context to Docker daemon 603.1kB [2020-07-22T05:05:05.395Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-07-22T05:05:05.395Z] Step 2/8 : FROM ${BASE} [2020-07-22T05:05:05.395Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-07-22T05:05:05.395Z] b538f80385f9: Pulling fs layer [2020-07-22T05:05:05.395Z] 74f711af9a0d: Pulling fs layer [2020-07-22T05:05:05.395Z] 99f96fe45779: Pulling fs layer [2020-07-22T05:05:05.395Z] fd7a069fd194: Pulling fs layer [2020-07-22T05:05:05.395Z] 66aa3694b03b: Pulling fs layer [2020-07-22T05:05:05.395Z] 170f70906a0f: Pulling fs layer [2020-07-22T05:05:05.395Z] ad7c5574e4b9: Pulling fs layer [2020-07-22T05:05:05.395Z] e772456be8f7: Pulling fs layer [2020-07-22T05:05:05.395Z] c890913d741a: Pulling fs layer [2020-07-22T05:05:05.395Z] 2480fcc9aa5a: Pulling fs layer [2020-07-22T05:05:05.395Z] 09adf4765672: Pulling fs layer [2020-07-22T05:05:05.395Z] ad7c5574e4b9: Waiting [2020-07-22T05:05:05.395Z] e772456be8f7: Waiting [2020-07-22T05:05:05.395Z] c890913d741a: Waiting [2020-07-22T05:05:05.395Z] 2480fcc9aa5a: Waiting [2020-07-22T05:05:05.395Z] 09adf4765672: Waiting [2020-07-22T05:05:05.395Z] fd7a069fd194: Waiting [2020-07-22T05:05:05.395Z] 170f70906a0f: Waiting [2020-07-22T05:05:05.395Z] 66aa3694b03b: Waiting [2020-07-22T05:05:05.675Z] 99f96fe45779: Verifying Checksum [2020-07-22T05:05:05.675Z] 99f96fe45779: Download complete [2020-07-22T05:05:05.675Z] 74f711af9a0d: Verifying Checksum [2020-07-22T05:05:05.675Z] 74f711af9a0d: Download complete [2020-07-22T05:05:05.675Z] 66aa3694b03b: Verifying Checksum [2020-07-22T05:05:05.675Z] 66aa3694b03b: Download complete [2020-07-22T05:05:05.675Z] 170f70906a0f: Download complete [2020-07-22T05:05:05.675Z] b538f80385f9: Verifying Checksum [2020-07-22T05:05:06.440Z] Removing intermediate container 859b1a72a876 [2020-07-22T05:05:06.440Z] ---> 642c7e0b95ab [2020-07-22T05:05:06.440Z] Step 9/19 : FROM scratch [2020-07-22T05:05:06.440Z] ---> [2020-07-22T05:05:06.440Z] Step 10/19 : ENV APP_PORT=49991 [2020-07-22T05:05:06.665Z] b538f80385f9: Pull complete [2020-07-22T05:05:06.700Z] ---> Running in b723e97c7816 [2020-07-22T05:05:06.700Z] Removing intermediate container b723e97c7816 [2020-07-22T05:05:06.700Z] ---> d86187145dd5 [2020-07-22T05:05:06.700Z] Step 11/19 : EXPOSE $APP_PORT [2020-07-22T05:05:06.700Z] ---> Running in a2e368d5d4cc [2020-07-22T05:05:06.963Z] Removing intermediate container a2e368d5d4cc [2020-07-22T05:05:06.963Z] ---> b9f1a044cbd7 [2020-07-22T05:05:06.963Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-07-22T05:05:07.265Z] 74f711af9a0d: Pull complete [2020-07-22T05:05:07.536Z] ---> 00a28c77d9e3 [2020-07-22T05:05:07.536Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-07-22T05:05:07.536Z] ---> d6ad929e465e [2020-07-22T05:05:07.536Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-07-22T05:05:07.538Z] 99f96fe45779: Pull complete [2020-07-22T05:05:07.808Z] ---> c90b7d4db2bd [2020-07-22T05:05:07.808Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-07-22T05:05:07.808Z] ---> Running in fcec9fb779dc [2020-07-22T05:05:08.068Z] Removing intermediate container fcec9fb779dc [2020-07-22T05:05:08.068Z] ---> 006c490c9536 [2020-07-22T05:05:08.068Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-22T05:05:08.068Z] ---> Running in 9330542ec27f [2020-07-22T05:05:08.330Z] Removing intermediate container 9330542ec27f [2020-07-22T05:05:08.330Z] ---> 1d9651e6a063 [2020-07-22T05:05:08.330Z] Step 17/19 : LABEL arch=amd64 [2020-07-22T05:05:08.330Z] ---> Running in 0646f4a418b6 [2020-07-22T05:05:08.330Z] Removing intermediate container 0646f4a418b6 [2020-07-22T05:05:08.330Z] ---> c0e849c936a2 [2020-07-22T05:05:08.330Z] Step 18/19 : LABEL git_sha=928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:05:08.592Z] ---> Running in d4df1d70ce70 [2020-07-22T05:05:08.592Z] Removing intermediate container d4df1d70ce70 [2020-07-22T05:05:08.592Z] ---> c5b2ad6b0539 [2020-07-22T05:05:08.592Z] Step 19/19 : LABEL version=0.0.0 [2020-07-22T05:05:08.592Z] ---> Running in 4ca8832ef199 [2020-07-22T05:05:08.853Z] Removing intermediate container 4ca8832ef199 [2020-07-22T05:05:08.853Z] ---> 2a01647005f0 [2020-07-22T05:05:08.853Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T05:05:08.853Z] Successfully built 2a01647005f0 [2020-07-22T05:05:08.853Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [2020-07-22T05:05:08.984Z] ad7c5574e4b9: Download complete [2020-07-22T05:05:08.985Z] c890913d741a: Download complete [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-07-22T05:05:10.301Z] ++ find /w/workspace/device-modbus-go/1 [2020-07-22T05:05:10.301Z] ++ grep snapcraft.yaml [2020-07-22T05:05:10.301Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T05:05:10.464Z] provisioning config files... [2020-07-22T05:05:10.477Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config634887888420558800tmp [Pipeline] { [Pipeline] sh [2020-07-22T05:05:10.917Z] + cp /w/workspace/device-modbus-go/1@tmp/config634887888420558800tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-07-22T05:05:10.970Z] 2480fcc9aa5a: Verifying Checksum [2020-07-22T05:05:10.970Z] 2480fcc9aa5a: Download complete [2020-07-22T05:05:10.970Z] 09adf4765672: Verifying Checksum [2020-07-22T05:05:10.970Z] 09adf4765672: Download complete [2020-07-22T05:05:11.235Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-07-22T05:05:11.235Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-07-22T05:05:11.235Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-07-22T05:05:11.235Z] a1125296b23d: Pulling fs layer [2020-07-22T05:05:11.235Z] 3c742a4a0f38: Pulling fs layer [2020-07-22T05:05:11.235Z] 4c5ea3b32996: Pulling fs layer [2020-07-22T05:05:11.235Z] 1b4be91ead68: Pulling fs layer [2020-07-22T05:05:11.235Z] 9224317f5338: Pulling fs layer [2020-07-22T05:05:11.235Z] a1d4acd2f81e: Pulling fs layer [2020-07-22T05:05:11.235Z] de16526aea4f: Pulling fs layer [2020-07-22T05:05:11.235Z] 98d9a47ff92f: Pulling fs layer [2020-07-22T05:05:11.235Z] f00a2f7e41d2: Pulling fs layer [2020-07-22T05:05:11.235Z] a1d4acd2f81e: Waiting [2020-07-22T05:05:11.235Z] de16526aea4f: Waiting [2020-07-22T05:05:11.235Z] 98d9a47ff92f: Waiting [2020-07-22T05:05:11.235Z] f00a2f7e41d2: Waiting [2020-07-22T05:05:11.235Z] 1b4be91ead68: Waiting [2020-07-22T05:05:11.235Z] 9224317f5338: Waiting [2020-07-22T05:05:11.235Z] 4c5ea3b32996: Verifying Checksum [2020-07-22T05:05:11.235Z] 4c5ea3b32996: Download complete [2020-07-22T05:05:11.235Z] 3c742a4a0f38: Download complete [2020-07-22T05:05:11.245Z] e772456be8f7: Verifying Checksum [2020-07-22T05:05:11.245Z] e772456be8f7: Download complete [2020-07-22T05:05:11.498Z] 1b4be91ead68: Verifying Checksum [2020-07-22T05:05:11.498Z] 1b4be91ead68: Download complete [2020-07-22T05:05:11.498Z] a1d4acd2f81e: Download complete [2020-07-22T05:05:11.498Z] de16526aea4f: Verifying Checksum [2020-07-22T05:05:11.498Z] de16526aea4f: Download complete [2020-07-22T05:05:11.498Z] 98d9a47ff92f: Verifying Checksum [2020-07-22T05:05:11.498Z] 98d9a47ff92f: Download complete [2020-07-22T05:05:11.498Z] f00a2f7e41d2: Download complete [2020-07-22T05:05:11.760Z] a1125296b23d: Verifying Checksum [2020-07-22T05:05:11.760Z] a1125296b23d: Download complete [2020-07-22T05:05:11.835Z] fd7a069fd194: Verifying Checksum [2020-07-22T05:05:11.835Z] fd7a069fd194: Download complete [2020-07-22T05:05:17.085Z] 9224317f5338: Verifying Checksum [2020-07-22T05:05:17.085Z] 9224317f5338: Download complete [2020-07-22T05:05:17.085Z] a1125296b23d: Pull complete [2020-07-22T05:05:17.085Z] 3c742a4a0f38: Pull complete [2020-07-22T05:05:17.346Z] 4c5ea3b32996: Pull complete [2020-07-22T05:05:17.346Z] 1b4be91ead68: Pull complete [2020-07-22T05:05:24.221Z] fd7a069fd194: Pull complete [2020-07-22T05:05:24.221Z] 66aa3694b03b: Pull complete [2020-07-22T05:05:24.221Z] 170f70906a0f: Pull complete [2020-07-22T05:05:26.845Z] ad7c5574e4b9: Pull complete [2020-07-22T05:05:31.153Z] e772456be8f7: Pull complete [2020-07-22T05:05:31.426Z] c890913d741a: Pull complete [2020-07-22T05:05:34.059Z] 2480fcc9aa5a: Pull complete [2020-07-22T05:05:34.059Z] 09adf4765672: Pull complete [2020-07-22T05:05:34.059Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-07-22T05:05:34.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-07-22T05:05:34.059Z] ---> 2248a725d1cf [2020-07-22T05:05:34.059Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-07-22T05:05:38.393Z] ---> Running in 0e3c3757e48f [2020-07-22T05:05:38.990Z] Removing intermediate container 0e3c3757e48f [2020-07-22T05:05:38.990Z] ---> 11390593dc1f [2020-07-22T05:05:38.990Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T05:05:38.990Z] ---> Running in a8a847a0129d [2020-07-22T05:05:41.609Z] Removing intermediate container a8a847a0129d [2020-07-22T05:05:41.609Z] ---> 980e8f133e0f [2020-07-22T05:05:41.609Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T05:05:41.609Z] ---> Running in b0fe1171cb5d [2020-07-22T05:05:43.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T05:05:43.960Z] 9224317f5338: Pull complete [2020-07-22T05:05:44.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T05:05:44.222Z] a1d4acd2f81e: Pull complete [2020-07-22T05:05:44.222Z] de16526aea4f: Pull complete [2020-07-22T05:05:44.222Z] 98d9a47ff92f: Pull complete [2020-07-22T05:05:44.490Z] f00a2f7e41d2: Pull complete [2020-07-22T05:05:44.490Z] Digest: sha256:39fc549714d04fcee7efecd05a41bc4dfa0e7f4fb03cb3990b8a1054409554c4 [2020-07-22T05:05:44.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-07-22T05:05:44.604Z] (1/14) Installing libmagic (5.38-r0) [2020-07-22T05:05:44.875Z] (2/14) Installing file (5.38-r0) [2020-07-22T05:05:45.146Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-07-22T05:05:45.146Z] (4/14) Installing g++ (9.3.0-r2) [2020-07-22T05:05:48.713Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-07-22T05:05:48.713Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-07-22T05:05:48.713Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-07-22T05:05:48.713Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [870 kB] [2020-07-22T05:05:48.713Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [94.6 kB] [2020-07-22T05:05:48.713Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9279 B] [2020-07-22T05:05:48.713Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1018 kB] [2020-07-22T05:05:48.713Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-07-22T05:05:48.974Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1321 kB] [2020-07-22T05:05:49.238Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1409 kB] [2020-07-22T05:05:49.422Z] (5/14) Installing fortify-headers (1.1-r0) [2020-07-22T05:05:49.499Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [111 kB] [2020-07-22T05:05:49.499Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [13.6 kB] [2020-07-22T05:05:49.499Z] Fetched 5098 kB in 1s (3576 kB/s) [2020-07-22T05:05:49.692Z] (6/14) Installing patch (2.7.6-r6) [2020-07-22T05:05:49.692Z] (7/14) Installing build-base (0.5-r2) [2020-07-22T05:05:49.692Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-07-22T05:05:49.962Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-07-22T05:05:49.962Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-07-22T05:05:50.232Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-07-22T05:05:50.232Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-07-22T05:05:50.501Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-07-22T05:05:50.501Z] (14/14) Installing openssh (8.3_p1-r0) [2020-07-22T05:05:50.772Z] Executing busybox-1.31.1-r16.trigger [2020-07-22T05:05:50.772Z] OK: 221 MiB in 53 packages [2020-07-22T05:05:51.415Z] Reading package lists... [2020-07-22T05:05:55.068Z] Removing intermediate container b0fe1171cb5d [2020-07-22T05:05:55.068Z] ---> 60892afa814e [2020-07-22T05:05:55.068Z] Step 6/8 : WORKDIR /device-modbus-go [2020-07-22T05:05:55.068Z] ---> Running in 5cdf3c28e138 [2020-07-22T05:05:55.341Z] Removing intermediate container 5cdf3c28e138 [2020-07-22T05:05:55.341Z] ---> 2d2cecb069e0 [2020-07-22T05:05:55.341Z] Step 7/8 : COPY . . [2020-07-22T05:05:56.325Z] ---> f7ee21a6a4d3 [2020-07-22T05:05:56.325Z] Step 8/8 : RUN go mod download [2020-07-22T05:05:56.603Z] ---> Running in 53c5d2a1de98 [2020-07-22T05:05:56.703Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-07-22T05:05:56.703Z] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-07-22T05:05:56.703Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-07-22T05:05:56.703Z] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-07-22T05:05:57.796Z] 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... 48% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% 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-07-22T05:05:59.213Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:05:59.213Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:05:59.213Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-07-22T05:05:59.213Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:05:59.213Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-07-22T05:05:59.213Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-07-22T05:05:59.213Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:05:59.213Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:05:59.213Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:05:59.213Z] go: finding github.com/fatih/color v1.7.0 [2020-07-22T05:05:59.213Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:05:59.213Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T05:05:59.483Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:05:59.483Z] go: finding github.com/go-stack/stack v1.8.0 [2020-07-22T05:05:59.483Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-07-22T05:05:59.483Z] go: finding github.com/goburrow/serial v0.1.0 [2020-07-22T05:05:59.483Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-07-22T05:05:59.483Z] go: finding github.com/google/uuid v1.1.1 [2020-07-22T05:05:59.483Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T05:05:59.483Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:05:59.483Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-07-22T05:05:59.483Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-07-22T05:05:59.483Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:05:59.483Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-07-22T05:05:59.753Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T05:06:00.024Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-07-22T05:06:00.024Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-07-22T05:06:00.024Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-07-22T05:06:00.024Z] go: finding github.com/miekg/dns v1.1.4 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-07-22T05:06:00.024Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-07-22T05:06:00.298Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-07-22T05:06:00.298Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:06:00.298Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:06:00.298Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-07-22T05:06:00.298Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:06:00.298Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T05:06:00.298Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-07-22T05:06:00.298Z] go: finding github.com/posener/complete v1.1.1 [2020-07-22T05:06:00.298Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-07-22T05:06:00.298Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-07-22T05:06:00.298Z] go: finding github.com/stretchr/objx v0.1.0 [2020-07-22T05:06:00.298Z] go: finding github.com/stretchr/testify v1.5.1 [2020-07-22T05:06:00.340Z] 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-07-22T05:06:00.570Z] go: finding github.com/ugorji/go v1.1.4 [2020-07-22T05:06:00.570Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T05:06:00.570Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-07-22T05:06:00.570Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-07-22T05:06:00.570Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-07-22T05:06:00.570Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-07-22T05:06:00.570Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-07-22T05:06:00.570Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:06:01.432Z] 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... 47% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 76% Reading package lists... 76% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% Reading package lists... 86% 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-07-22T05:06:01.693Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-07-22T05:06:01.693Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-07-22T05:06:01.953Z] The following packages were automatically installed and are no longer required: [2020-07-22T05:06:01.953Z] libjq1 libonig4 [2020-07-22T05:06:01.953Z] Use 'sudo apt autoremove' to remove them. [2020-07-22T05:06:01.953Z] Suggested packages: [2020-07-22T05:06:01.953Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-07-22T05:06:01.953Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-07-22T05:06:01.953Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-07-22T05:06:01.953Z] | libterm-readline-perl-perl [2020-07-22T05:06:02.214Z] The following NEW packages will be installed: [2020-07-22T05:06:02.214Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-07-22T05:06:02.214Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-07-22T05:06:02.214Z] 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. [2020-07-22T05:06:02.214Z] Need to get 12.0 MB of archives. [2020-07-22T05:06:02.214Z] After this operation, 77.5 MB of additional disk space will be used. [2020-07-22T05:06:02.214Z] 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-07-22T05:06:03.047Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 706 kB/2763 kB 26%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-07-22T05:06:03.047Z] 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-07-22T05:06:03.047Z] 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-07-22T05:06:03.309Z] 23% [4 libperl5.26 53.8 kB/3527 kB 2%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-07-22T05:06:03.309Z] 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-07-22T05:06:03.309Z] 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-07-22T05:06:03.309Z] 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.9 [159 kB] [2020-07-22T05:06:03.309Z] 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.9 [212 kB] [2020-07-22T05:06:03.309Z] 57% [9 libcurl3-gnutls 61.4 kB/212 kB 29%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-07-22T05:06:03.309Z] 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-07-22T05:06:03.309Z] 61% [11 git-man 33.1 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-07-22T05:06:03.570Z] 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-07-22T05:06:03.570Z] 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-07-22T05:06:03.570Z] 98% [14 patch 65.5 kB/102 kB 64%] 100% [Working] Fetched 12.0 MB in 1s (8564 kB/s) [2020-07-22T05:06:03.832Z] debconf: delaying package configuration, since apt-utils is not installed [2020-07-22T05:06:04.100Z] Selecting previously unselected package perl-modules-5.26. [2020-07-22T05:06:04.100Z] (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-07-22T05:06:04.100Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-07-22T05:06:04.100Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:07.402Z] Selecting previously unselected package libgdbm5:amd64. [2020-07-22T05:06:07.402Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-07-22T05:06:07.402Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-07-22T05:06:07.402Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-07-22T05:06:07.402Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-07-22T05:06:07.402Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-07-22T05:06:07.402Z] Selecting previously unselected package libperl5.26:amd64. [2020-07-22T05:06:07.402Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-07-22T05:06:07.402Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:08.346Z] Selecting previously unselected package perl. [2020-07-22T05:06:08.346Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-07-22T05:06:08.346Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:08.613Z] Selecting previously unselected package less. [2020-07-22T05:06:08.613Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-07-22T05:06:08.613Z] Unpacking less (487-0.1) ... [2020-07-22T05:06:08.613Z] Selecting previously unselected package netbase. [2020-07-22T05:06:08.613Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-07-22T05:06:08.613Z] Unpacking netbase (5.4) ... [2020-07-22T05:06:08.874Z] Selecting previously unselected package curl. [2020-07-22T05:06:08.874Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_amd64.deb ... [2020-07-22T05:06:08.874Z] Unpacking curl (7.58.0-2ubuntu3.9) ... [2020-07-22T05:06:08.874Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-07-22T05:06:08.874Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_amd64.deb ... [2020-07-22T05:06:08.874Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... [2020-07-22T05:06:08.874Z] Selecting previously unselected package liberror-perl. [2020-07-22T05:06:08.874Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-07-22T05:06:08.874Z] Unpacking liberror-perl (0.17025-1) ... [2020-07-22T05:06:08.874Z] Selecting previously unselected package git-man. [2020-07-22T05:06:08.874Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-07-22T05:06:09.138Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:06:09.138Z] Selecting previously unselected package git. [2020-07-22T05:06:09.138Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-07-22T05:06:09.138Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:06:09.713Z] Selecting previously unselected package make. [2020-07-22T05:06:09.713Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-07-22T05:06:09.713Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-07-22T05:06:09.974Z] Selecting previously unselected package patch. [2020-07-22T05:06:09.974Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-07-22T05:06:09.974Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-07-22T05:06:09.974Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:06:09.974Z] Setting up less (487-0.1) ... [2020-07-22T05:06:10.235Z] Setting up make (4.1-9.1ubuntu1) ... [2020-07-22T05:06:10.235Z] Setting up curl (7.58.0-2ubuntu3.9) ... [2020-07-22T05:06:10.235Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.9) ... [2020-07-22T05:06:10.235Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:10.235Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-07-22T05:06:10.235Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-07-22T05:06:10.235Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-07-22T05:06:10.235Z] Setting up netbase (5.4) ... [2020-07-22T05:06:10.495Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:10.495Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-07-22T05:06:10.495Z] Setting up liberror-perl (0.17025-1) ... [2020-07-22T05:06:10.495Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:06:10.495Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-07-22T05:06:10.743Z] Removing intermediate container 53c5d2a1de98 [2020-07-22T05:06:10.743Z] ---> cf3749929f01 [2020-07-22T05:06:10.743Z] Successfully built cf3749929f01 [2020-07-22T05:06:10.743Z] Successfully tagged ci-base-image-arm64:latest [2020-07-22T05:06:10.759Z] Processing triggers for mime-support (3.60ubuntu1) ... [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:06:11.667Z] + docker inspect -f . ci-base-image-arm64 [2020-07-22T05:06:11.667Z] . [Pipeline] withDockerContainer [2020-07-22T05:06:11.917Z] prd-ubuntu18.04-docker-arm64-4c-16g-537 does not seem to be running inside a container [2020-07-22T05:06:11.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-07-22T05:06:12.666Z] curl set to automatically installed. [2020-07-22T05:06:12.666Z] git set to automatically installed. [2020-07-22T05:06:12.666Z] git-man set to automatically installed. [2020-07-22T05:06:12.666Z] less set to automatically installed. [2020-07-22T05:06:12.666Z] libcurl3-gnutls set to automatically installed. [2020-07-22T05:06:12.666Z] liberror-perl set to automatically installed. [2020-07-22T05:06:12.666Z] libgdbm-compat4 set to automatically installed. [2020-07-22T05:06:12.666Z] libgdbm5 set to automatically installed. [2020-07-22T05:06:12.666Z] libperl5.26 set to automatically installed. [2020-07-22T05:06:12.666Z] make set to automatically installed. [2020-07-22T05:06:12.666Z] netbase set to automatically installed. [2020-07-22T05:06:12.666Z] patch set to automatically installed. [2020-07-22T05:06:12.666Z] perl set to automatically installed. [2020-07-22T05:06:12.666Z] perl-modules-5.26 set to automatically installed. [2020-07-22T05:06:12.666Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-07-22T05:06:12.666Z] Please ensure the environment is properly setup before continuing. [2020-07-22T05:06:12.666Z] Ignore this message if the appropriate measures have already been taken [2020-07-22T05:06:13.236Z] Pulling go  [2020-07-22T05:06:13.781Z] $ docker top dd6a39e36e4af12d82ae5d96f5f2d68241ecc8b1605b5d1f3b20ad6098bf9b0d -eo pid,comm [Pipeline] { [2020-07-22T05:06:14.174Z] 'device-modbus' has dependencies that need to be staged: go [2020-07-22T05:06:14.174Z] Skipping pull go (already ran) [2020-07-22T05:06:14.174Z] Building go  [2020-07-22T05:06:14.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-07-22T05:06:14.174Z] Dload Upload Total Spent Left Speed [Pipeline] sh [2020-07-22T05:06:15.260Z] + go version [2020-07-22T05:06:15.260Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-07-22T05:06:16.321Z] + make test [2020-07-22T05:06:16.321Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-07-22T05:06:16.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 27 114M 27 31.3M 0 0 45.7M 0 0:00:02 --:--:-- 0:00:02 45.7M 80 114M 80 91.7M 0 0 53.8M 0 0:00:02 0:00:01 0:00:01 53.8M 100 114M 100 114M 0 0 56.0M 0 0:00:02 0:00:02 --:--:-- 56.0M [2020-07-22T05:06:17.275Z] go1.13.5.linux-amd64.tar.gz: OK [2020-07-22T05:06:17.303Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-07-22T05:06:25.423Z] Staging go  [2020-07-22T05:06:25.996Z] Pulling device-modbus  [2020-07-22T05:06:26.938Z] Skipping build go (already ran) [2020-07-22T05:06:26.938Z] Building device-modbus  [2020-07-22T05:06:27.262Z] 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-07-22T05:06:28.274Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:06:28.274Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:06:28.274Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-07-22T05:06:28.274Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-07-22T05:06:28.274Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:06:28.274Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:06:28.274Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-07-22T05:06:28.274Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-07-22T05:06:28.274Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:06:28.274Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:06:28.274Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:06:28.274Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-07-22T05:06:28.274Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:06:28.274Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-07-22T05:06:28.274Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:06:28.274Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-07-22T05:06:28.274Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:06:28.274Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:06:28.274Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:06:28.274Z] go: downloading github.com/pkg/errors v0.8.1 [2020-07-22T05:06:28.559Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/google/uuid v1.1.1 [2020-07-22T05:06:28.559Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:06:28.559Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:06:28.559Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:06:28.559Z] go: extracting github.com/pkg/errors v0.8.1 [2020-07-22T05:06:28.559Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-07-22T05:06:28.559Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:06:28.559Z] go: extracting github.com/google/uuid v1.1.1 [2020-07-22T05:06:28.559Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:06:28.559Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:06:28.559Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:06:28.559Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:06:28.559Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/x448/float16 v0.8.4 [2020-07-22T05:06:28.559Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-07-22T05:06:28.559Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:06:28.559Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:06:28.559Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:06:28.559Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:06:28.559Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:06:28.559Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:06:28.559Z] go: extracting github.com/x448/float16 v0.8.4 [2020-07-22T05:06:28.559Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:06:28.559Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:06:28.560Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:06:28.560Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:06:28.560Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:06:28.560Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:06:28.560Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:06:28.560Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-07-22T05:06:28.560Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:06:28.560Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:06:28.560Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:06:28.864Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:06:28.864Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:06:28.864Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:06:28.864Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:06:28.864Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:06:28.864Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T05:06:28.864Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:06:28.864Z] go: finding github.com/google/uuid v1.1.1 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:06:28.864Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:06:28.864Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:06:28.864Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:06:28.864Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T05:06:28.864Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T05:06:28.864Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:06:28.864Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:06:28.864Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:06:28.864Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T05:06:28.864Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:06:28.864Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:06:28.864Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:06:28.864Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T05:06:28.864Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:06:28.864Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:06:29.136Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:06:29.136Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-07-22T05:06:29.136Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:06:29.136Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:06:29.136Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:06:29.136Z] go: finding github.com/goburrow/serial v0.1.0 [2020-07-22T05:06:29.136Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:06:29.136Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:06:39.306Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-22T05:06:43.527Z] Skipping stage go (already ran) [2020-07-22T05:06:43.527Z] Staging device-modbus  [2020-07-22T05:06:44.111Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-07-22T05:06:44.468Z] Priming go  [2020-07-22T05:06:45.408Z] Priming device-modbus  [2020-07-22T05:06:45.536Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.225s coverage: 50.3% of statements [2020-07-22T05:06:45.808Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-07-22T05:06:46.352Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-07-22T05:06:46.352Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-07-22T05:06:46.352Z] Determining the version from the project repo (version-script). [2020-07-22T05:06:46.352Z] The version has been set to '0.0.0-20200722+928faa4' [2020-07-22T05:06:47.942Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping | [2020-07-22T05:06:47.942Z] Snapped edgex-device-modbus_0.0.0-20200722+928faa4_amd64.snap [Pipeline] } [2020-07-22T05:06:49.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-07-22T05:06:52.531Z] gofmt -l . [2020-07-22T05:06:52.531Z] [ "`gofmt -l .`" = "" ] [2020-07-22T05:06:52.531Z] ./bin/test-attribution-txt.sh [2020-07-22T05:06:52.531Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-07-22T05:06:52.566Z] Warning: overwriting stash ‘coverage-report’ [2020-07-22T05:06:53.210Z] Stashed 1 file(s) [Pipeline] } [2020-07-22T05:06:53.222Z] $ docker stop --time=1 dd6a39e36e4af12d82ae5d96f5f2d68241ecc8b1605b5d1f3b20ad6098bf9b0d [2020-07-22T05:06:55.472Z] $ docker rm -f dd6a39e36e4af12d82ae5d96f5f2d68241ecc8b1605b5d1f3b20ad6098bf9b0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-07-22T05:06:56.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-07-22T05:06:57.272Z] + ls -al . [2020-07-22T05:06:57.273Z] total 140 [2020-07-22T05:06:57.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 05:06 . [2020-07-22T05:06:57.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 05:04 .. [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 05:04 .dockerignore [2020-07-22T05:06:57.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 05:05 .git [2020-07-22T05:06:57.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 05:04 .github [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 330 Jul 22 05:04 .gitignore [2020-07-22T05:06:57.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 05:05 .semver [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 5049 Jul 22 05:04 Attribution.txt [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 1422 Jul 22 05:04 Dockerfile [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 954 Jul 22 05:04 Dockerfile.build [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 702 Jul 22 05:04 Jenkinsfile [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 05:04 LICENSE [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 22 05:04 Makefile [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 591 Jul 22 05:04 README.md [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 05:00 VERSION [2020-07-22T05:06:57.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 05:04 bin [2020-07-22T05:06:57.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 05:04 cmd [2020-07-22T05:06:57.273Z] -rw-r--r-- 1 jenkins jenkins 22123 Jul 22 05:06 coverage.out [2020-07-22T05:06:57.273Z] -rw-r--r-- 1 jenkins jenkins 559 Jul 22 05:06 go.mod [2020-07-22T05:06:57.273Z] -rw-r--r-- 1 jenkins jenkins 13471 Jul 22 05:06 go.sum [2020-07-22T05:06:57.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 05:04 internal [2020-07-22T05:06:57.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 05:04 simulator [2020-07-22T05:06:57.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 05:04 snap [2020-07-22T05:06:57.273Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 22 05:04 version.go [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:06:57.651Z] + 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=928faa469aa3d9b5aeeb0685117104ea8980e74f --label arch=arm64 --label version=0.0.0 . [2020-07-22T05:06:57.928Z] Sending build context to Docker daemon 631.8kB [2020-07-22T05:06:58.203Z] Step 1/19 : ARG BASE=golang:1.13-alpine [2020-07-22T05:06:58.203Z] Step 2/19 : FROM ${BASE} AS builder [2020-07-22T05:06:58.203Z] ---> cf3749929f01 [2020-07-22T05:06:58.203Z] Step 3/19 : ARG MAKE='make build' [2020-07-22T05:06:58.203Z] ---> Running in 88a6587f0dde [2020-07-22T05:06:58.795Z] Removing intermediate container 88a6587f0dde [2020-07-22T05:06:58.795Z] ---> 27429ec6a712 [2020-07-22T05:06:58.795Z] Step 4/19 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-07-22T05:06:58.795Z] ---> Running in 13843c898121 [2020-07-22T05:07:01.420Z] Removing intermediate container 13843c898121 [2020-07-22T05:07:01.420Z] ---> b1e7df6ee5cf [2020-07-22T05:07:01.420Z] Step 5/19 : RUN apk add --update --no-cache make git openssh build-base [2020-07-22T05:07:01.420Z] ---> Running in b7cbddd1c486 [2020-07-22T05:07:02.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-07-22T05:07:03.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-07-22T05:07:04.421Z] OK: 221 MiB in 53 packages [2020-07-22T05:07:05.398Z] Removing intermediate container b7cbddd1c486 [2020-07-22T05:07:05.398Z] ---> 6e31e1cec724 [2020-07-22T05:07:05.398Z] Step 6/19 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-07-22T05:07:05.398Z] ---> Running in 2c596130edb7 [2020-07-22T05:07:05.989Z] Removing intermediate container 2c596130edb7 [2020-07-22T05:07:05.989Z] ---> 61293f788ca5 [2020-07-22T05:07:05.989Z] Step 7/19 : COPY . . [2020-07-22T05:07:06.964Z] ---> 6bada6fe81e6 [2020-07-22T05:07:06.964Z] Step 8/19 : RUN ${MAKE} [2020-07-22T05:07:06.964Z] ---> Running in af58d80fb6bf [2020-07-22T05:07:08.396Z] 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-07-22T05:07:35.198Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-22T05:07:38.582Z] Removing intermediate container af58d80fb6bf [2020-07-22T05:07:38.582Z] ---> 8eeacec9b3d8 [2020-07-22T05:07:38.582Z] Step 9/19 : FROM scratch [2020-07-22T05:07:38.582Z] ---> [2020-07-22T05:07:38.582Z] Step 10/19 : ENV APP_PORT=49991 [2020-07-22T05:07:38.582Z] ---> Running in 8f11aea6b3a3 [2020-07-22T05:07:38.855Z] Removing intermediate container 8f11aea6b3a3 [2020-07-22T05:07:38.855Z] ---> 889d7e33ed31 [2020-07-22T05:07:38.855Z] Step 11/19 : EXPOSE $APP_PORT [2020-07-22T05:07:38.855Z] ---> Running in cb2be3382c3f [2020-07-22T05:07:39.449Z] Removing intermediate container cb2be3382c3f [2020-07-22T05:07:39.449Z] ---> 744326cafd7e [2020-07-22T05:07:39.449Z] Step 12/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-07-22T05:07:40.431Z] ---> 15cb293364d4 [2020-07-22T05:07:40.431Z] Step 13/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-07-22T05:07:41.407Z] ---> 9e7c91052bf6 [2020-07-22T05:07:41.407Z] Step 14/19 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-07-22T05:07:41.995Z] ---> 2a5dada8438b [2020-07-22T05:07:41.995Z] Step 15/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-07-22T05:07:41.995Z] ---> Running in e8e3bbe2cc84 [2020-07-22T05:07:42.265Z] Removing intermediate container e8e3bbe2cc84 [2020-07-22T05:07:42.265Z] ---> e989cb3592ca [2020-07-22T05:07:42.265Z] Step 16/19 : ENTRYPOINT ["/device-modbus","--cp=consul://edgex-core-consul:8500","--registry","--confdir=/res"] [2020-07-22T05:07:42.535Z] ---> Running in 5b7f63584d2d [2020-07-22T05:07:42.805Z] Removing intermediate container 5b7f63584d2d [2020-07-22T05:07:42.805Z] ---> 181310a1103b [2020-07-22T05:07:42.805Z] Step 17/19 : LABEL arch=arm64 [2020-07-22T05:07:43.076Z] ---> Running in 48b5a617557e [2020-07-22T05:07:43.346Z] Removing intermediate container 48b5a617557e [2020-07-22T05:07:43.346Z] ---> 5a7d6e6939f0 [2020-07-22T05:07:43.346Z] Step 18/19 : LABEL git_sha=928faa469aa3d9b5aeeb0685117104ea8980e74f [2020-07-22T05:07:43.618Z] ---> Running in ddc0cd33efaf [2020-07-22T05:07:43.891Z] Removing intermediate container ddc0cd33efaf [2020-07-22T05:07:43.891Z] ---> 337549077f38 [2020-07-22T05:07:43.891Z] Step 19/19 : LABEL version=0.0.0 [2020-07-22T05:07:44.165Z] ---> Running in 36db212cef89 [2020-07-22T05:07:44.437Z] Removing intermediate container 36db212cef89 [2020-07-22T05:07:44.437Z] ---> 8463a01b9918 [2020-07-22T05:07:44.437Z] [Warning] One or more build-args [ARCH] were not consumed [2020-07-22T05:07:44.437Z] Successfully built 8463a01b9918 [2020-07-22T05:07:44.709Z] 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-07-22T05:07:46.069Z] + + findgrep /w/workspace/device-modbus-go/1 snapcraft.yaml [2020-07-22T05:07:46.070Z] [2020-07-22T05:07:46.070Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T05:07:46.265Z] provisioning config files... [2020-07-22T05:07:46.287Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config5299723197203967772tmp [Pipeline] { [Pipeline] sh [2020-07-22T05:07:46.724Z] + cp /w/workspace/device-modbus-go/1@tmp/config5299723197203967772tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-07-22T05:07:47.077Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-07-22T05:07:47.077Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-07-22T05:07:47.077Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-07-22T05:07:47.077Z] 68fe03cb170d: Pulling fs layer [2020-07-22T05:07:47.077Z] 18959295effb: Pulling fs layer [2020-07-22T05:07:47.077Z] 51118fb70ce3: Pulling fs layer [2020-07-22T05:07:47.360Z] 409a5d9eae93: Pulling fs layer [2020-07-22T05:07:47.360Z] 76e762919bd5: Pulling fs layer [2020-07-22T05:07:47.360Z] 8ed2c1ec22f6: Pulling fs layer [2020-07-22T05:07:47.360Z] 7f90baa40d9b: Pulling fs layer [2020-07-22T05:07:47.360Z] e1aa5cc854c1: Pulling fs layer [2020-07-22T05:07:47.360Z] b0d1d86f3456: Pulling fs layer [2020-07-22T05:07:47.360Z] 76e762919bd5: Waiting [2020-07-22T05:07:47.360Z] 8ed2c1ec22f6: Waiting [2020-07-22T05:07:47.360Z] 7f90baa40d9b: Waiting [2020-07-22T05:07:47.360Z] e1aa5cc854c1: Waiting [2020-07-22T05:07:47.360Z] b0d1d86f3456: Waiting [2020-07-22T05:07:47.360Z] 409a5d9eae93: Waiting [2020-07-22T05:07:47.360Z] 51118fb70ce3: Download complete [2020-07-22T05:07:47.360Z] 18959295effb: Verifying Checksum [2020-07-22T05:07:47.360Z] 18959295effb: Download complete [2020-07-22T05:07:47.360Z] 409a5d9eae93: Verifying Checksum [2020-07-22T05:07:47.360Z] 409a5d9eae93: Download complete [2020-07-22T05:07:47.360Z] 8ed2c1ec22f6: Download complete [2020-07-22T05:07:47.360Z] 7f90baa40d9b: Verifying Checksum [2020-07-22T05:07:47.360Z] 7f90baa40d9b: Download complete [2020-07-22T05:07:47.360Z] e1aa5cc854c1: Verifying Checksum [2020-07-22T05:07:47.360Z] e1aa5cc854c1: Download complete [2020-07-22T05:07:47.360Z] b0d1d86f3456: Verifying Checksum [2020-07-22T05:07:47.360Z] b0d1d86f3456: Download complete [2020-07-22T05:07:47.954Z] 68fe03cb170d: Verifying Checksum [2020-07-22T05:07:51.349Z] 68fe03cb170d: Pull complete [2020-07-22T05:07:51.349Z] 18959295effb: Pull complete [2020-07-22T05:07:51.624Z] 51118fb70ce3: Pull complete [2020-07-22T05:07:51.896Z] 409a5d9eae93: Pull complete [2020-07-22T05:07:57.288Z] 76e762919bd5: Verifying Checksum [2020-07-22T05:07:57.288Z] 76e762919bd5: Download complete [2020-07-22T05:08:36.271Z] 76e762919bd5: Pull complete [2020-07-22T05:08:36.271Z] 8ed2c1ec22f6: Pull complete [2020-07-22T05:08:36.271Z] 7f90baa40d9b: Pull complete [2020-07-22T05:08:36.271Z] e1aa5cc854c1: Pull complete [2020-07-22T05:08:36.271Z] b0d1d86f3456: Pull complete [2020-07-22T05:08:36.271Z] Digest: sha256:05830ed3def9c2eaf396b0f1c8191bdb37c9887c76356d219b134b5fd994ebab [2020-07-22T05:08:36.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-07-22T05:08:42.977Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-07-22T05:08:42.977Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-07-22T05:08:42.977Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-07-22T05:08:42.977Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-07-22T05:08:42.977Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1250 kB] [2020-07-22T05:08:43.570Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [912 kB] [2020-07-22T05:08:43.570Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [3463 B] [2020-07-22T05:08:43.840Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [762 kB] [2020-07-22T05:08:43.840Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [637 kB] [2020-07-22T05:08:44.434Z] Fetched 3817 kB in 2s (1693 kB/s) [2020-07-22T05:08:48.716Z] Reading package lists... [2020-07-22T05:09:03.751Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-07-22T05:09:03.751Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-07-22T05:09:03.751Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-07-22T05:09:03.751Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-07-22T05:09:07.377Z] 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... 26% Reading package lists... 44% Reading package lists... 63% 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... 80% 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-07-22T05:09:14.059Z] 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-07-22T05:09:18.163Z] 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... 90% 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-07-22T05:09:19.024Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 60% Building dependency tree [2020-07-22T05:09:19.024Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-07-22T05:09:19.614Z] The following packages were automatically installed and are no longer required: [2020-07-22T05:09:19.614Z] libjq1 libonig4 [2020-07-22T05:09:19.614Z] Use 'sudo apt autoremove' to remove them. [2020-07-22T05:09:19.614Z] Suggested packages: [2020-07-22T05:09:19.614Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-07-22T05:09:19.614Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-07-22T05:09:19.614Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-07-22T05:09:19.614Z] | libterm-readline-perl-perl [2020-07-22T05:09:20.203Z] The following NEW packages will be installed: [2020-07-22T05:09:20.203Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-07-22T05:09:20.203Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-07-22T05:09:20.203Z] 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. [2020-07-22T05:09:20.203Z] Need to get 10.8 MB of archives. [2020-07-22T05:09:20.203Z] After this operation, 73.6 MB of additional disk space will be used. [2020-07-22T05:09:20.472Z] 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-07-22T05:09:21.282Z] 0% [1 perl-modules-5.26 13.8 kB/2763 kB 0%] 6% [1 perl-modules-5.26 829 kB/2763 kB 30%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-07-22T05:09:21.282Z] 22% [2 libgdbm5 16.4 kB/23.1 kB 71%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-07-22T05:09:21.282Z] 24% [3 libgdbm-compat4 5536 B/5536 B 100%] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-07-22T05:09:21.552Z] 26% [4 libperl5.26 65.5 kB/3326 kB 2%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-07-22T05:09:21.552Z] 51% [5 perl 4096 B/201 kB 2%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-07-22T05:09:21.552Z] 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-07-22T05:09:21.552Z] 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Waiting for headers] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.9 [152 kB] [2020-07-22T05:09:21.552Z] 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.9 [179 kB] [2020-07-22T05:09:21.552Z] 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-07-22T05:09:21.552Z] 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-07-22T05:09:21.552Z] 65% [11 git-man 28.4 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-07-22T05:09:21.823Z] 72% [12 git 11.0 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-07-22T05:09:21.823Z] 96% [13 make 57.3 kB/139 kB 41%] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-07-22T05:09:21.823Z] 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 2s (6677 kB/s) [2020-07-22T05:09:22.415Z] debconf: delaying package configuration, since apt-utils is not installed [2020-07-22T05:09:22.687Z] Selecting previously unselected package perl-modules-5.26. [2020-07-22T05:09:22.687Z] (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-07-22T05:09:22.687Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-07-22T05:09:22.687Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:24.111Z] Selecting previously unselected package libgdbm5:arm64. [2020-07-22T05:09:24.111Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-07-22T05:09:24.111Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-07-22T05:09:24.111Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-07-22T05:09:24.111Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-07-22T05:09:24.111Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-07-22T05:09:24.382Z] Selecting previously unselected package libperl5.26:arm64. [2020-07-22T05:09:24.382Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-07-22T05:09:24.382Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:25.807Z] Selecting previously unselected package perl. [2020-07-22T05:09:25.807Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-07-22T05:09:25.807Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:25.807Z] Selecting previously unselected package less. [2020-07-22T05:09:25.808Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-07-22T05:09:25.808Z] Unpacking less (487-0.1) ... [2020-07-22T05:09:26.078Z] Selecting previously unselected package netbase. [2020-07-22T05:09:26.078Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-07-22T05:09:26.078Z] Unpacking netbase (5.4) ... [2020-07-22T05:09:26.078Z] Selecting previously unselected package curl. [2020-07-22T05:09:26.078Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.9_arm64.deb ... [2020-07-22T05:09:26.078Z] Unpacking curl (7.58.0-2ubuntu3.9) ... [2020-07-22T05:09:26.352Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-07-22T05:09:26.352Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.9_arm64.deb ... [2020-07-22T05:09:26.352Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... [2020-07-22T05:09:26.352Z] Selecting previously unselected package liberror-perl. [2020-07-22T05:09:26.625Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-07-22T05:09:26.625Z] Unpacking liberror-perl (0.17025-1) ... [2020-07-22T05:09:26.625Z] Selecting previously unselected package git-man. [2020-07-22T05:09:26.625Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-07-22T05:09:26.625Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:09:26.897Z] Selecting previously unselected package git. [2020-07-22T05:09:26.897Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-07-22T05:09:26.897Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:09:28.323Z] Selecting previously unselected package make. [2020-07-22T05:09:28.323Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-07-22T05:09:28.323Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-07-22T05:09:28.323Z] Selecting previously unselected package patch. [2020-07-22T05:09:28.323Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-07-22T05:09:28.323Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-07-22T05:09:28.323Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:09:28.593Z] Setting up less (487-0.1) ... [2020-07-22T05:09:28.866Z] Setting up make (4.1-9.1ubuntu1) ... [2020-07-22T05:09:28.866Z] Setting up curl (7.58.0-2ubuntu3.9) ... [2020-07-22T05:09:28.866Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.9) ... [2020-07-22T05:09:28.866Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:29.137Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-07-22T05:09:29.137Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-07-22T05:09:29.137Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-07-22T05:09:29.137Z] Setting up netbase (5.4) ... [2020-07-22T05:09:29.137Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:29.137Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-07-22T05:09:29.412Z] Setting up liberror-perl (0.17025-1) ... [2020-07-22T05:09:29.412Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-07-22T05:09:29.412Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-07-22T05:09:29.685Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-07-22T05:09:35.062Z] curl set to automatically installed. [2020-07-22T05:09:35.062Z] git set to automatically installed. [2020-07-22T05:09:35.062Z] git-man set to automatically installed. [2020-07-22T05:09:35.062Z] less set to automatically installed. [2020-07-22T05:09:35.062Z] libcurl3-gnutls set to automatically installed. [2020-07-22T05:09:35.062Z] liberror-perl set to automatically installed. [2020-07-22T05:09:35.062Z] libgdbm-compat4 set to automatically installed. [2020-07-22T05:09:35.062Z] libgdbm5 set to automatically installed. [2020-07-22T05:09:35.062Z] libperl5.26 set to automatically installed. [2020-07-22T05:09:35.062Z] make set to automatically installed. [2020-07-22T05:09:35.333Z] netbase set to automatically installed. [2020-07-22T05:09:35.333Z] patch set to automatically installed. [2020-07-22T05:09:35.333Z] perl set to automatically installed. [2020-07-22T05:09:35.333Z] perl-modules-5.26 set to automatically installed. [2020-07-22T05:09:35.333Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-07-22T05:09:35.333Z] Please ensure the environment is properly setup before continuing. [2020-07-22T05:09:35.333Z] Ignore this message if the appropriate measures have already been taken [2020-07-22T05:09:36.299Z] Pulling go  [2020-07-22T05:09:39.662Z] 'device-modbus' has dependencies that need to be staged: go [2020-07-22T05:09:39.662Z] Skipping pull go (already ran) [2020-07-22T05:09:39.662Z] Building go  [2020-07-22T05:09:39.662Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-07-22T05:09:39.662Z] Dload Upload Total Spent Left Speed [2020-07-22T05:09:42.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 9 93.0M 9 8735k 0 0 18.5M 0 0:00:05 --:--:-- 0:00:05 18.5M 56 93.0M 56 52.2M 0 0 35.7M 0 0:00:02 0:00:01 0:00:01 35.7M 100 93.0M 100 93.0M 0 0 38.6M 0 0:00:02 0:00:02 --:--:-- 38.6M [2020-07-22T05:09:43.635Z] go1.13.5.linux-arm64.tar.gz: OK [2020-07-22T05:10:01.901Z] Staging go  [2020-07-22T05:10:03.322Z] Pulling device-modbus  [2020-07-22T05:10:06.686Z] Skipping build go (already ran) [2020-07-22T05:10:06.686Z] Building device-modbus  [2020-07-22T05:10:06.686Z] 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-07-22T05:10:07.278Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:10:07.278Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:10:07.278Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-07-22T05:10:07.278Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-07-22T05:10:07.553Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:10:07.553Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-07-22T05:10:07.553Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:10:07.553Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-07-22T05:10:07.553Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-07-22T05:10:07.553Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:10:07.553Z] go: downloading github.com/google/uuid v1.1.1 [2020-07-22T05:10:07.553Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-07-22T05:10:07.553Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:10:07.553Z] go: extracting github.com/google/uuid v1.1.1 [2020-07-22T05:10:07.553Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-07-22T05:10:07.553Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:10:07.553Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:10:07.553Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:10:07.553Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:10:07.553Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:10:07.553Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:10:07.553Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:10:07.553Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:10:07.553Z] go: downloading github.com/pkg/errors v0.8.1 [2020-07-22T05:10:07.553Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:10:07.825Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:10:07.825Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:10:07.825Z] go: downloading github.com/x448/float16 v0.8.4 [2020-07-22T05:10:07.825Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:10:07.825Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:10:07.825Z] go: extracting github.com/pkg/errors v0.8.1 [2020-07-22T05:10:07.825Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:10:07.825Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:10:07.825Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/x448/float16 v0.8.4 [2020-07-22T05:10:07.825Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:10:07.825Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:10:07.825Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:10:07.825Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:10:07.825Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:10:07.825Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-07-22T05:10:07.825Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:10:07.825Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:10:07.825Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:10:07.825Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:10:07.825Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:10:07.825Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:10:07.825Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:10:08.097Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:10:08.097Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-07-22T05:10:08.097Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:10:08.097Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:10:09.070Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:10:09.662Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:10:09.662Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:10:09.935Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:10:09.935Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:10:10.207Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-07-22T05:10:10.481Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-07-22T05:10:10.481Z] go: finding github.com/gorilla/mux v1.7.1 [2020-07-22T05:10:10.481Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-07-22T05:10:10.481Z] go: finding github.com/go-kit/kit v0.8.0 [2020-07-22T05:10:10.481Z] go: finding github.com/goburrow/serial v0.1.0 [2020-07-22T05:10:10.481Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-07-22T05:10:10.481Z] go: finding github.com/google/uuid v1.1.1 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-07-22T05:10:10.481Z] go: finding github.com/x448/float16 v0.8.4 [2020-07-22T05:10:10.481Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-07-22T05:10:10.481Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-07-22T05:10:10.481Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-07-22T05:10:10.481Z] go: finding github.com/pkg/errors v0.8.1 [2020-07-22T05:10:10.481Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-07-22T05:10:10.481Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-07-22T05:10:10.753Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-07-22T05:10:10.753Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-07-22T05:10:10.753Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-07-22T05:10:10.753Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-07-22T05:10:10.753Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-07-22T05:10:10.753Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-07-22T05:10:10.753Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-07-22T05:10:10.753Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-07-22T05:10:10.753Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-07-22T05:10:10.753Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-07-22T05:10:10.753Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-07-22T05:10:10.753Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-07-22T05:10:32.917Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-07-22T05:10:51.175Z] Skipping stage go (already ran) [2020-07-22T05:10:51.175Z] Staging device-modbus  [2020-07-22T05:10:51.446Z] Priming go  [2020-07-22T05:10:54.810Z] Priming device-modbus  [2020-07-22T05:10:58.162Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-07-22T05:10:58.162Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-07-22T05:10:58.162Z] Determining the version from the project repo (version-script). [2020-07-22T05:10:58.162Z] The version has been set to '0.0.0-20200722+928faa4' [2020-07-22T05:11:00.606Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | [2020-07-22T05:11:00.606Z] Snapped edgex-device-modbus_0.0.0-20200722+928faa4_arm64.snap [Pipeline] } [2020-07-22T05:11:03.301Z] 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-07-22T05:11:05.270Z] provisioning config files... [2020-07-22T05:11:05.281Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-159@tmp/config2859410224120206099tmp [Pipeline] { [Pipeline] sh [2020-07-22T05:11:05.685Z] + curl -s https://codecov.io/bash [2020-07-22T05:11:05.685Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-159@tmp/config2859410224120206099tmp [Pipeline] } [2020-07-22T05:11:05.965Z] 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-07-22T05:11:07.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T05:11:08.278Z] ---> package-listing.sh [2020-07-22T05:11:08.278Z] ++ facter osfamily [2020-07-22T05:11:08.278Z] ++ tr '[:upper:]' '[:lower:]' [2020-07-22T05:11:08.278Z] + OS_FAMILY=redhat [2020-07-22T05:11:08.278Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-159 [2020-07-22T05:11:08.278Z] + START_PACKAGES=/tmp/packages_start.txt [2020-07-22T05:11:08.278Z] + END_PACKAGES=/tmp/packages_end.txt [2020-07-22T05:11:08.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-07-22T05:11:08.278Z] + PACKAGES=/tmp/packages_start.txt [2020-07-22T05:11:08.278Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-159 ']' [2020-07-22T05:11:08.278Z] + PACKAGES=/tmp/packages_end.txt [2020-07-22T05:11:08.278Z] + case "${OS_FAMILY}" in [2020-07-22T05:11:08.278Z] + rpm -qa [2020-07-22T05:11:08.278Z] + sort [2020-07-22T05:11:12.485Z] + '[' -f /tmp/packages_start.txt ']' [2020-07-22T05:11:12.485Z] + '[' -f /tmp/packages_end.txt ']' [2020-07-22T05:11:12.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-07-22T05:11:12.485Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-159 ']' [2020-07-22T05:11:12.485Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-159/archives/ [2020-07-22T05:11:12.485Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-159/archives/ [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:11:12.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T05:11:12.886Z] [2020-07-22T05:11:12.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-07-22T05:11:13.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T05:11:13.266Z] alpine: Pulling from edgex-lftools-log-publisher [2020-07-22T05:11:13.266Z] c9b1b535fdd9: Pulling fs layer [2020-07-22T05:11:13.266Z] 2cc5ad85d9ab: Pulling fs layer [2020-07-22T05:11:13.266Z] 756a868c4378: Pulling fs layer [2020-07-22T05:11:13.266Z] 444b2fc9a129: Pulling fs layer [2020-07-22T05:11:13.266Z] ea15f1150254: Pulling fs layer [2020-07-22T05:11:13.266Z] 41b27a9f41bf: Pulling fs layer [2020-07-22T05:11:13.266Z] 28c525ee5125: Pulling fs layer [2020-07-22T05:11:13.266Z] 094b1ea09ed8: Pulling fs layer [2020-07-22T05:11:13.266Z] 138eaada9080: Pulling fs layer [2020-07-22T05:11:13.266Z] 0622d0fa9048: Pulling fs layer [2020-07-22T05:11:13.266Z] 28c525ee5125: Waiting [2020-07-22T05:11:13.266Z] 444b2fc9a129: Waiting [2020-07-22T05:11:13.266Z] ea15f1150254: Waiting [2020-07-22T05:11:13.266Z] 094b1ea09ed8: Waiting [2020-07-22T05:11:13.266Z] 41b27a9f41bf: Waiting [2020-07-22T05:11:13.266Z] 138eaada9080: Waiting [2020-07-22T05:11:13.266Z] 0622d0fa9048: Waiting [2020-07-22T05:11:13.266Z] 2cc5ad85d9ab: Verifying Checksum [2020-07-22T05:11:13.266Z] 2cc5ad85d9ab: Download complete [2020-07-22T05:11:13.266Z] 444b2fc9a129: Download complete [2020-07-22T05:11:13.266Z] c9b1b535fdd9: Verifying Checksum [2020-07-22T05:11:13.266Z] c9b1b535fdd9: Download complete [2020-07-22T05:11:13.266Z] ea15f1150254: Verifying Checksum [2020-07-22T05:11:13.266Z] ea15f1150254: Download complete [2020-07-22T05:11:13.541Z] 28c525ee5125: Verifying Checksum [2020-07-22T05:11:13.541Z] 28c525ee5125: Download complete [2020-07-22T05:11:13.541Z] 756a868c4378: Verifying Checksum [2020-07-22T05:11:13.541Z] 756a868c4378: Download complete [2020-07-22T05:11:13.818Z] c9b1b535fdd9: Pull complete [2020-07-22T05:11:13.818Z] 138eaada9080: Verifying Checksum [2020-07-22T05:11:13.818Z] 138eaada9080: Download complete [2020-07-22T05:11:13.818Z] 0622d0fa9048: Verifying Checksum [2020-07-22T05:11:13.818Z] 0622d0fa9048: Download complete [2020-07-22T05:11:13.818Z] 094b1ea09ed8: Verifying Checksum [2020-07-22T05:11:13.818Z] 094b1ea09ed8: Download complete [2020-07-22T05:11:14.100Z] 2cc5ad85d9ab: Pull complete [2020-07-22T05:11:14.359Z] 41b27a9f41bf: Verifying Checksum [2020-07-22T05:11:14.359Z] 41b27a9f41bf: Download complete [2020-07-22T05:11:15.743Z] 756a868c4378: Pull complete [2020-07-22T05:11:15.743Z] 444b2fc9a129: Pull complete [2020-07-22T05:11:15.743Z] ea15f1150254: Pull complete [2020-07-22T05:11:19.956Z] 41b27a9f41bf: Pull complete [2020-07-22T05:11:19.956Z] 28c525ee5125: Pull complete [2020-07-22T05:11:22.510Z] 094b1ea09ed8: Pull complete [2020-07-22T05:11:22.510Z] 138eaada9080: Pull complete [2020-07-22T05:11:22.510Z] 0622d0fa9048: Pull complete [2020-07-22T05:11:22.510Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-07-22T05:11:22.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-07-22T05:11:22.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-07-22T05:11:22.677Z] prd-centos7-docker-4c-2g-535 does not seem to be running inside a container [2020-07-22T05:11:22.717Z] $ 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-159 -v /w/workspace/xfoundry_device-modbus-go_PR-159:/w/workspace/xfoundry_device-modbus-go_PR-159:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-159@tmp:/w/workspace/xfoundry_device-modbus-go_PR-159@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-07-22T05:11:26.184Z] $ docker top 4a773b90559f803ac7e182673c097fad403e183f739a8ed724ad06f43fb2e4c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-07-22T05:11:26.510Z] provisioning config files... [2020-07-22T05:11:26.735Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-159@tmp/config1600554734070743440tmp [Pipeline] { [Pipeline] echo [2020-07-22T05:11:26.806Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T05:11:27.124Z] ---> create-netrc.sh [Pipeline] echo [2020-07-22T05:11:27.150Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-07-22T05:11:27.475Z] ---> logs-deploy.sh [2020-07-22T05:11:27.475Z] + ARCHIVE_ARTIFACTS= [2020-07-22T05:11:27.475Z] + LOGS_SERVER=https://logs.edgexfoundry.org [2020-07-22T05:11:27.475Z] + '[' https://logs.edgexfoundry.org == None ']' [2020-07-22T05:11:27.475Z] + NEXUS_URL=https://nexus.edgexfoundry.org [2020-07-22T05:11:27.475Z] + NEXUS_PATH=production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-159/1 [2020-07-22T05:11:27.475Z] + BUILD_URL=https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-159/1/ [2020-07-22T05:11:27.475Z] + lftools deploy archives -p '' https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-159/1 /w/workspace/xfoundry_device-modbus-go_PR-159 [2020-07-22T05:11:28.861Z] Archives upload complete. [2020-07-22T05:11:28.861Z] + lftools deploy logs https://nexus.edgexfoundry.org production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-159/1 https://jenkins.edgexfoundry.org/job/edgexfoundry/job/device-modbus-go/job/PR-159/1/