Pull request #165 updated 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 803f4af17ac4cfeac2a76f81a194499d87bf4d0f+c5c0b25878f760de5fc762f4e5751ff9b1eaad85 (15627e74e101c1eede40bdfdd39c1144fdac01d7) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-968 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # 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 c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 Commit message: "Remove unused attribution in Attribution.txt" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 4afa2762ead7e8264655c3ea9a8f1e6c068dfe06 # timeout=10 [Pipeline] withCredentials 01:36:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:28 ========================================================= 01:36:28 EdgeX Global Pipelines Version Info 01:36:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:29 ------------------- 01:36:29 stable info: 01:36:29 ------------------- 01:36:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:36:29 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:36:29 Message: update stable to v1.0.115 01:36:30 ------------------- 01:36:30 experimental info: 01:36:30 ------------------- 01:36:30 Commited By: **** collab-it+edgex@linuxfoundation.org 01:36:30 Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 01:36:30 Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 01:36:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 01:36:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 01:36:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [Pipeline] echo 01:36:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 803f4af [Pipeline] echo 01:36:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:33 + git log --format=format:%s -1 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [Pipeline] echo 01:36:33 GIT_COMMIT: 803f4af17ac4cfeac2a76f81a194499d87bf4d0f, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo 01:36:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:36:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:36:34 01:36:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:36:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:36:35 latest: Pulling from edgex-devops/git-semver 01:36:35 31603596830f: Pulling fs layer 01:36:35 2a8b12db71e7: Pulling fs layer 01:36:35 6ca5941a6612: Pulling fs layer 01:36:35 ecc8261a40a4: Pulling fs layer 01:36:35 ecc8261a40a4: Waiting 01:36:35 2a8b12db71e7: Verifying Checksum 01:36:35 2a8b12db71e7: Download complete 01:36:35 31603596830f: Verifying Checksum 01:36:35 31603596830f: Download complete 01:36:35 ecc8261a40a4: Verifying Checksum 01:36:35 ecc8261a40a4: Download complete 01:36:35 6ca5941a6612: Verifying Checksum 01:36:35 6ca5941a6612: Download complete 01:36:35 31603596830f: Pull complete 01:36:35 2a8b12db71e7: Pull complete 01:36:36 6ca5941a6612: Pull complete 01:36:36 ecc8261a40a4: Pull complete 01:36:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 01:36:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:36:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:36:36 prd-centos7-docker-4c-2g-968 does not seem to be running inside a container 01:36:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:36:39 $ docker top c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:39 [ssh-agent] Looking for ssh-agent implementation... 01:36:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:39 $ docker exec c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent 01:36:40 SSH_AUTH_SOCK=/tmp/ssh-XQvQYhPZyUMU/agent.12 01:36:40 SSH_AGENT_PID=17 01:36:40 Running ssh-add (command line suppressed) 01:36:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_5714061169031330852.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_5714061169031330852.key) 01:36:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:40 + git describe --exact-match --tags HEAD 01:36:40 fatal: No names found, cannot describe anything. [Pipeline] } 01:36:40 $ docker exec --env ******** --env ******** c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent -k 01:36:40 unset SSH_AUTH_SOCK; 01:36:40 unset SSH_AGENT_PID; 01:36:40 echo Agent pid 17 killed; 01:36:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 01:36:40 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 01:36:40 This usually means this commit has not been tagged. [Pipeline] sshagent 01:36:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:40 [ssh-agent] Looking for ssh-agent implementation... 01:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:41 $ docker exec c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent 01:36:41 SSH_AUTH_SOCK=/tmp/ssh-zVGBFFU0VZCB/agent.46 01:36:41 SSH_AGENT_PID=52 01:36:41 Running ssh-add (command line suppressed) 01:36:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_1939428957886045417.key (/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/private_key_1939428957886045417.key) 01:36:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:41 + git semver init 01:36:41 # -> Open(): unable to determine branch for HEAD 01:36:41 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.git 01:36:41 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-165 01:36:41 # $SEMVER_REMOTE_NAME = origin 01:36:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:36:41 # $SEMVER_USER_NAME = edgex-jenkins 01:36:41 # $SEMVER_BRANCH = PR-165 01:36:41 # $SEMVER_TEMP = /tmp/semver-660556609 01:36:41 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 01:36:42 # '/tmp/semver-660556609' -> '/w/workspace/xfoundry_device-modbus-go_PR-165/.semver' 01:36:42 # -> Force: false 01:36:42 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.semver [Pipeline] } 01:36:42 $ docker exec --env ******** --env ******** c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent -k 01:36:42 unset SSH_AUTH_SOCK; 01:36:42 unset SSH_AGENT_PID; 01:36:42 echo Agent pid 52 killed; 01:36:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:36:42 + git semver [Pipeline] } 01:36:42 $ docker stop --time=1 c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 01:36:44 $ docker rm -f c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 01:36:45 Stashed 26 file(s) [Pipeline] echo 01:36:45 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 01:36:45 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 01:37:00 Still waiting to schedule task 01:37:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:37:00 Still waiting to schedule task 01:37:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:37:19 Running on prd-centos7-docker-4c-2g-970 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 01:37:19 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 01:37:22 using credential edgex-jenkins-ssh 01:37:22 Cloning the remote Git repository 01:37:22 Cloning with configured refspecs honoured and without tags 01:37:22 Fetching without tags 01:37:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:37:22 > git init /w/workspace/device-modbus-go/4 # timeout=10 01:37:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:37:22 > git --version # timeout=10 01:37:22 > git --version # 'git version 2.16.5' 01:37:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:37:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:37:22 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 01:37:22 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:37:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:37:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:37:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:37:23 Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:37:23 Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:37:23 Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) 01:37:23 > git config core.sparsecheckout # timeout=10 01:37:23 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:37:23 > git remote # timeout=10 01:37:23 > git config --get remote.origin.url # timeout=10 01:37:23 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:23 > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 01:37:23 > git rev-parse HEAD^{commit} # timeout=10 01:37:23 > git config core.sparsecheckout # timeout=10 01:37:23 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:37:26 Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:37:27 ========================================================= 01:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] 01:37:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:37:28 + 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 . 01:37:28 Sending build context to Docker daemon 658.4kB 01:37:28 Step 1/8 : ARG BASE=golang:1.13-alpine 01:37:28 Step 2/8 : FROM ${BASE} 01:37:28 1.13-alpine: Pulling from edgex-devops/edgex-golang-base 01:37:28 df20fa9351a1: Pulling fs layer 01:37:28 ed8968b2872e: Pulling fs layer 01:37:28 a92cc7c5fd73: Pulling fs layer 01:37:28 2dd03ba5bac4: Pulling fs layer 01:37:28 1e091d79d1de: Pulling fs layer 01:37:28 481702a1767f: Pulling fs layer 01:37:28 f64a6f60c768: Pulling fs layer 01:37:28 e78d2573fc39: Pulling fs layer 01:37:28 e876d2f968b6: Pulling fs layer 01:37:28 ce8a83651883: Pulling fs layer 01:37:28 07967f4d0e4b: Pulling fs layer 01:37:28 f64a6f60c768: Waiting 01:37:28 e78d2573fc39: Waiting 01:37:28 e876d2f968b6: Waiting 01:37:28 ce8a83651883: Waiting 01:37:28 07967f4d0e4b: Waiting 01:37:28 1e091d79d1de: Waiting 01:37:28 481702a1767f: Waiting 01:37:28 a92cc7c5fd73: Verifying Checksum 01:37:28 a92cc7c5fd73: Download complete 01:37:28 ed8968b2872e: Verifying Checksum 01:37:28 ed8968b2872e: Download complete 01:37:28 1e091d79d1de: Verifying Checksum 01:37:28 1e091d79d1de: Download complete 01:37:28 481702a1767f: Verifying Checksum 01:37:28 481702a1767f: Download complete 01:37:28 df20fa9351a1: Verifying Checksum 01:37:28 df20fa9351a1: Download complete 01:37:28 df20fa9351a1: Pull complete 01:37:29 ed8968b2872e: Pull complete 01:37:29 f64a6f60c768: Verifying Checksum 01:37:29 f64a6f60c768: Download complete 01:37:29 e876d2f968b6: Verifying Checksum 01:37:29 e876d2f968b6: Download complete 01:37:30 2dd03ba5bac4: Verifying Checksum 01:37:30 2dd03ba5bac4: Download complete 01:37:30 07967f4d0e4b: Verifying Checksum 01:37:30 07967f4d0e4b: Download complete 01:37:30 ce8a83651883: Verifying Checksum 01:37:30 ce8a83651883: Download complete 01:37:30 e78d2573fc39: Verifying Checksum 01:37:30 e78d2573fc39: Download complete 01:37:30 a92cc7c5fd73: Pull complete 01:37:36 2dd03ba5bac4: Pull complete 01:37:36 1e091d79d1de: Pull complete 01:37:36 481702a1767f: Pull complete 01:37:44 f64a6f60c768: Pull complete 01:37:46 e78d2573fc39: Pull complete 01:37:46 e876d2f968b6: Pull complete 01:37:47 ce8a83651883: Pull complete 01:37:47 07967f4d0e4b: Pull complete 01:37:47 Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe 01:37:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine 01:37:47 ---> 5d7c900382c6 01:37:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:37:49 ---> Running in d81f5c9b41a8 01:37:49 Removing intermediate container d81f5c9b41a8 01:37:49 ---> 604e4e3c34d3 01:37:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:49 ---> Running in 706189d5dfd5 01:37:50 Removing intermediate container 706189d5dfd5 01:37:50 ---> b78bf6347082 01:37:50 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:37:50 ---> Running in 4f687179a3cc 01:37:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:37:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:37:52 (1/14) Installing libmagic (5.38-r0) 01:37:52 (2/14) Installing file (5.38-r0) 01:37:53 (3/14) Installing libc-dev (0.7.2-r3) 01:37:53 (4/14) Installing g++ (9.3.0-r2) 01:37:56 (5/14) Installing fortify-headers (1.1-r0) 01:37:56 (6/14) Installing patch (2.7.6-r6) 01:37:56 (7/14) Installing build-base (0.5-r2) 01:37:56 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:37:57 (9/14) Installing libedit (20191231.3.1-r0) 01:37:57 (10/14) Installing openssh-client (8.3_p1-r0) 01:37:57 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:37:57 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:37:57 (13/14) Installing openssh-server (8.3_p1-r0) 01:37:57 (14/14) Installing openssh (8.3_p1-r0) 01:37:57 Executing busybox-1.31.1-r16.trigger 01:37:57 OK: 237 MiB in 53 packages 01:38:01 Removing intermediate container 4f687179a3cc 01:38:01 ---> c58927123979 01:38:01 Step 6/8 : WORKDIR /device-modbus-go 01:38:01 ---> Running in 85423def9973 01:38:01 Removing intermediate container 85423def9973 01:38:01 ---> b451d8db2569 01:38:01 Step 7/8 : COPY . . 01:38:02 ---> f7876fa54c2e 01:38:02 Step 8/8 : RUN go mod download 01:38:02 ---> Running in 3a6a15c497d2 01:38:04 go: finding github.com/BurntSushi/toml v0.3.1 01:38:04 go: finding github.com/OneOfOne/xxhash v1.2.6 01:38:04 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:38:04 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:38:04 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:38:04 go: finding github.com/bgentry/speakeasy v0.1.0 01:38:04 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:38:04 go: finding github.com/davecgh/go-spew v1.1.1 01:38:04 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:38:04 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:38:04 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:38:04 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:38:04 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:38:04 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:38:04 go: finding github.com/fatih/color v1.7.0 01:38:04 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:38:04 go: finding github.com/go-kit/kit v0.8.0 01:38:05 go: finding github.com/go-logfmt/logfmt v0.4.0 01:38:05 go: finding github.com/go-stack/stack v1.8.0 01:38:05 go: finding github.com/goburrow/modbus v0.1.0 01:38:05 go: finding github.com/goburrow/serial v0.1.0 01:38:05 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:38:05 go: finding github.com/google/uuid v1.1.1 01:38:05 go: finding github.com/gorilla/mux v1.7.1 01:38:05 go: finding github.com/hashicorp/consul/api v1.1.0 01:38:05 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:38:05 go: finding github.com/hashicorp/errwrap v1.0.0 01:38:05 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:38:05 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:38:05 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:38:05 go: finding github.com/hashicorp/go-multierror v1.0.0 01:38:05 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:38:05 go: finding github.com/hashicorp/go-sockaddr v1.0.1 01:38:05 go: finding github.com/hashicorp/go-syslog v1.0.0 01:38:05 go: finding github.com/hashicorp/go-uuid v1.0.1 01:38:05 go: finding github.com/hashicorp/go.net v0.0.1 01:38:05 go: finding github.com/hashicorp/golang-lru v0.5.1 01:38:05 go: finding github.com/hashicorp/logutils v1.0.0 01:38:05 go: finding github.com/hashicorp/mdns v1.0.0 01:38:05 go: finding github.com/hashicorp/memberlist v0.1.3 01:38:05 go: finding github.com/hashicorp/serf v0.8.2 01:38:05 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:38:05 go: finding github.com/mattn/go-colorable v0.0.9 01:38:05 go: finding github.com/mattn/go-isatty v0.0.3 01:38:05 go: finding github.com/miekg/dns v1.1.4 01:38:05 go: finding github.com/mitchellh/cli v1.0.0 01:38:06 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:38:06 go: finding github.com/mitchellh/copystructure v1.0.0 01:38:06 go: finding github.com/mitchellh/go-homedir v1.1.0 01:38:06 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:38:06 go: finding github.com/mitchellh/go-wordwrap v1.0.0 01:38:06 go: finding github.com/mitchellh/gox v0.4.0 01:38:06 go: finding github.com/mitchellh/iochan v1.0.0 01:38:06 go: finding github.com/mitchellh/mapstructure v1.1.2 01:38:06 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:38:06 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:38:06 go: finding github.com/pelletier/go-toml v1.2.0 01:38:06 go: finding github.com/pkg/errors v0.8.1 01:38:06 go: finding github.com/pmezard/go-difflib v1.0.0 01:38:06 go: finding github.com/posener/complete v1.1.1 01:38:06 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 01:38:06 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:38:06 go: finding github.com/stretchr/objx v0.1.0 01:38:06 go: finding github.com/stretchr/testify v1.5.1 01:38:06 go: finding github.com/ugorji/go v1.1.4 01:38:06 go: finding github.com/x448/float16 v0.8.4 01:38:07 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:38:07 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 01:38:07 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:38:07 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:38:07 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:38:07 go: finding gopkg.in/yaml.v2 v2.2.8 01:38:15 Removing intermediate container 3a6a15c497d2 01:38:15 ---> 7fdf77dc341a 01:38:15 Successfully built 7fdf77dc341a 01:38:15 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 01:38:15 + docker inspect -f . ci-base-image-x86_64 01:38:15 . [Pipeline] withDockerContainer 01:38:15 prd-centos7-docker-4c-2g-970 does not seem to be running inside a container 01:38:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:38:17 $ docker top d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:17 + go version 01:38:17 go version go1.13.13 linux/amd64 [Pipeline] sh 01:38:18 + make test 01:38:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:38:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:38:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:38:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.228s coverage: 50.3% of statements 01:38:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:38:30 gofmt -l . 01:38:30 [ "`gofmt -l .`" = "" ] 01:38:30 ./bin/test-attribution-txt.sh 01:38:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:38:31 Stashed 1 file(s) [Pipeline] } 01:38:31 $ docker stop --time=1 d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 01:38:33 $ docker rm -f d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:36 + ls -al . 01:38:36 total 104 01:38:36 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 1 01:38 . 01:38:36 drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 01:37 .. 01:38:36 -rw-rw-r--. 1 jenkins jenkins 4564 Sep 1 01:37 Attribution.txt 01:38:36 drwxrwxr-x. 2 jenkins jenkins 87 Sep 1 01:37 bin 01:38:36 drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 01:37 cmd 01:38:36 -rw-r--r--. 1 jenkins jenkins 22364 Sep 1 01:38 coverage.out 01:38:36 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 1 01:37 Dockerfile 01:38:36 -rw-rw-r--. 1 jenkins jenkins 954 Sep 1 01:37 Dockerfile.build 01:38:36 -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 01:37 .dockerignore 01:38:36 drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 01:37 .git 01:38:36 drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 01:37 .github 01:38:36 -rw-rw-r--. 1 jenkins jenkins 330 Sep 1 01:37 .gitignore 01:38:36 -rw-r--r--. 1 jenkins jenkins 559 Sep 1 01:38 go.mod 01:38:36 -rw-r--r--. 1 jenkins jenkins 13471 Sep 1 01:38 go.sum 01:38:36 drwxrwxr-x. 3 jenkins jenkins 20 Sep 1 01:37 internal 01:38:36 -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 01:37 Jenkinsfile 01:38:36 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 01:37 LICENSE 01:38:36 -rw-rw-r--. 1 jenkins jenkins 880 Sep 1 01:37 Makefile 01:38:36 -rw-rw-r--. 1 jenkins jenkins 591 Sep 1 01:37 README.md 01:38:36 drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 01:37 .semver 01:38:36 drwxrwxr-x. 2 jenkins jenkins 35 Sep 1 01:37 simulator 01:38:36 drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 01:37 snap 01:38:36 -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 01:36 VERSION 01:38:36 -rw-rw-r--. 1 jenkins jenkins 229 Sep 1 01:37 version.go [Pipeline] isUnix [Pipeline] sh 01:38:36 + 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=803f4af17ac4cfeac2a76f81a194499d87bf4d0f --label arch=amd64 --label version=0.0.0 . 01:38:36 Sending build context to Docker daemon 689.7kB 01:38:36 Step 1/20 : ARG BASE=golang:1.13-alpine 01:38:36 Step 2/20 : FROM ${BASE} AS builder 01:38:36 ---> 7fdf77dc341a 01:38:36 Step 3/20 : ARG MAKE='make build' 01:38:36 ---> Running in efdefde8ffa7 01:38:36 Removing intermediate container efdefde8ffa7 01:38:36 ---> bbd90c09b1b0 01:38:36 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:36 ---> Running in b8c4c481a22d 01:38:37 Removing intermediate container b8c4c481a22d 01:38:37 ---> 00ac87fc6c66 01:38:37 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:38:37 ---> Running in 01a8d195af68 01:38:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:38:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:38:39 OK: 237 MiB in 53 packages 01:38:40 Removing intermediate container 01a8d195af68 01:38:40 ---> 63acdf37143f 01:38:40 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:38:40 ---> Running in b569292ec609 01:38:40 Removing intermediate container b569292ec609 01:38:40 ---> 0b338e9ec276 01:38:40 Step 7/20 : COPY . . 01:38:41 ---> f295b04c86ce 01:38:41 Step 8/20 : RUN ${MAKE} 01:38:41 ---> Running in f82d54f80223 01:38:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:38:50 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:38:53 Removing intermediate container f82d54f80223 01:38:53 ---> bc7e59ae82fc 01:38:53 Step 9/20 : FROM scratch 01:38:53 ---> 01:38:53 Step 10/20 : ENV APP_PORT=49991 01:38:53 ---> Running in 74c51fdd8909 01:38:53 Removing intermediate container 74c51fdd8909 01:38:53 ---> 08130e756552 01:38:53 Step 11/20 : EXPOSE $APP_PORT 01:38:53 ---> Running in 3569d880e642 01:38:53 Removing intermediate container 3569d880e642 01:38:53 ---> a1922eceb522 01:38:53 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:38:54 ---> 20f5e85c7841 01:38:54 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:38:54 ---> 6f85e9c918c4 01:38:54 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:38:54 ---> 356a7fd99c7c 01:38:54 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:38:54 ---> Running in 35f724f9ec9d 01:38:54 Removing intermediate container 35f724f9ec9d 01:38:54 ---> fed1611657ba 01:38:54 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:38:54 ---> Running in edc1cf18c439 01:38:54 Removing intermediate container edc1cf18c439 01:38:54 ---> 775ba803420f 01:38:54 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:38:54 ---> Running in 5bfa70c763dc 01:38:55 Removing intermediate container 5bfa70c763dc 01:38:55 ---> f0089460cedf 01:38:55 Step 18/20 : LABEL arch=amd64 01:38:55 ---> Running in cf0a2ab595b5 01:38:55 Removing intermediate container cf0a2ab595b5 01:38:55 ---> 7f198a7ae9ef 01:38:55 Step 19/20 : LABEL git_sha=803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:38:55 ---> Running in 3362ea3fefc2 01:38:55 Removing intermediate container 3362ea3fefc2 01:38:55 ---> eec81e2e9f12 01:38:55 Step 20/20 : LABEL version=0.0.0 01:38:55 ---> Running in 64c5d5f94338 01:38:55 Removing intermediate container 64c5d5f94338 01:38:55 ---> 67772a7a486a 01:38:55 [Warning] One or more build-args [ARCH] were not consumed 01:38:55 Successfully built 67772a7a486a 01:38:55 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 01:39:11 Still waiting to schedule task 01:39:11 All nodes of label ‘centos7-docker-8c-8g’ are offline 01:39:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-973 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 01:39:34 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 01:39:39 using credential edgex-jenkins-ssh 01:39:40 Cloning the remote Git repository 01:39:40 Cloning with configured refspecs honoured and without tags 01:39:40 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:39:40 > git init /w/workspace/device-modbus-go/4 # timeout=10 01:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:39:40 > git --version # timeout=10 01:39:40 > git --version # 'git version 2.17.1' 01:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:39:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:39:41 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 01:39:41 Fetching without tags 01:39:41 Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:39:42 Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:39:42 Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) 01:39:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:39:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:39:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:39:41 > git config core.sparsecheckout # timeout=10 01:39:41 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:39:41 > git remote # timeout=10 01:39:41 > git config --get remote.origin.url # timeout=10 01:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:39:41 > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 01:39:42 > git rev-parse HEAD^{commit} # timeout=10 01:39:42 > git config core.sparsecheckout # timeout=10 01:39:42 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:39:46 Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:39:47 ========================================================= 01:39:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] 01:39:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:39:48 + 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 . 01:39:49 Sending build context to Docker daemon 658.4kB 01:39:49 Step 1/8 : ARG BASE=golang:1.13-alpine 01:39:49 Step 2/8 : FROM ${BASE} 01:39:50 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:39:50 b538f80385f9: Pulling fs layer 01:39:50 74f711af9a0d: Pulling fs layer 01:39:50 99f96fe45779: Pulling fs layer 01:39:50 fd7a069fd194: Pulling fs layer 01:39:50 66aa3694b03b: Pulling fs layer 01:39:50 170f70906a0f: Pulling fs layer 01:39:50 ad7c5574e4b9: Pulling fs layer 01:39:50 e772456be8f7: Pulling fs layer 01:39:50 c890913d741a: Pulling fs layer 01:39:50 2480fcc9aa5a: Pulling fs layer 01:39:50 09adf4765672: Pulling fs layer 01:39:50 66aa3694b03b: Waiting 01:39:50 170f70906a0f: Waiting 01:39:50 ad7c5574e4b9: Waiting 01:39:50 e772456be8f7: Waiting 01:39:50 c890913d741a: Waiting 01:39:50 2480fcc9aa5a: Waiting 01:39:50 09adf4765672: Waiting 01:39:50 fd7a069fd194: Waiting 01:39:50 99f96fe45779: Verifying Checksum 01:39:50 99f96fe45779: Download complete 01:39:50 74f711af9a0d: Verifying Checksum 01:39:50 74f711af9a0d: Download complete 01:39:50 66aa3694b03b: Download complete 01:39:50 170f70906a0f: Verifying Checksum 01:39:50 170f70906a0f: Download complete 01:39:50 b538f80385f9: Verifying Checksum 01:39:51 b538f80385f9: Pull complete 01:39:52 74f711af9a0d: Pull complete 01:39:52 99f96fe45779: Pull complete 01:39:52 ad7c5574e4b9: Verifying Checksum 01:39:52 ad7c5574e4b9: Download complete 01:39:52 c890913d741a: Verifying Checksum 01:39:52 c890913d741a: Download complete 01:39:54 2480fcc9aa5a: Download complete 01:39:54 09adf4765672: Verifying Checksum 01:39:55 e772456be8f7: Download complete 01:39:56 fd7a069fd194: Verifying Checksum 01:39:56 fd7a069fd194: Download complete 01:40:04 Running on prd-centos7-docker-8c-8g-974 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 01:40:04 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 01:40:06 using credential edgex-jenkins-ssh 01:40:06 Cloning the remote Git repository 01:40:06 Cloning with configured refspecs honoured and without tags 01:40:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:40:06 > git init /w/workspace/device-modbus-go/4 # timeout=10 01:40:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:40:06 > git --version # timeout=10 01:40:06 > git --version # 'git version 2.16.5' 01:40:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:40:07 Fetching without tags 01:40:07 Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:40:07 Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:40:07 Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) 01:40:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:40:07 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 01:40:07 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:40:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:40:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:40:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:07 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:40:07 > git config core.sparsecheckout # timeout=10 01:40:07 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:40:07 > git remote # timeout=10 01:40:07 > git config --get remote.origin.url # timeout=10 01:40:07 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:07 > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 01:40:07 > git rev-parse HEAD^{commit} # timeout=10 01:40:07 > git config core.sparsecheckout # timeout=10 01:40:07 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:40:08 fd7a069fd194: Pull complete 01:40:08 66aa3694b03b: Pull complete 01:40:08 170f70906a0f: Pull complete 01:40:11 Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { 01:40:11 ad7c5574e4b9: Pull complete [Pipeline] sh 01:40:12 ++ find /w/workspace/device-modbus-go/4 01:40:12 ++ grep snapcraft.yaml 01:40:12 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:12 provisioning config files... 01:40:12 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config6028391674072493717tmp [Pipeline] { [Pipeline] sh 01:40:12 + cp /w/workspace/device-modbus-go/4@tmp/config6028391674072493717tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh 01:40:13 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 01:40:13 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 01:40:13 latest: Pulling from edgex-devops/edgex-snap-builder 01:40:13 f08d8e2a3ba1: Pulling fs layer 01:40:13 3baa9cb2483b: Pulling fs layer 01:40:13 94e5ff4c0b15: Pulling fs layer 01:40:13 1860925334f9: Pulling fs layer 01:40:13 2daf38717194: Pulling fs layer 01:40:13 309017e8d7a4: Pulling fs layer 01:40:13 f7790dc9fd0f: Pulling fs layer 01:40:13 cac0ae9282c2: Pulling fs layer 01:40:13 1f4cadf9a1ed: Pulling fs layer 01:40:13 2daf38717194: Waiting 01:40:13 cac0ae9282c2: Waiting 01:40:13 1f4cadf9a1ed: Waiting 01:40:13 309017e8d7a4: Waiting 01:40:13 f7790dc9fd0f: Waiting 01:40:13 1860925334f9: Waiting 01:40:13 94e5ff4c0b15: Verifying Checksum 01:40:13 94e5ff4c0b15: Download complete 01:40:13 3baa9cb2483b: Download complete 01:40:13 1860925334f9: Verifying Checksum 01:40:13 1860925334f9: Download complete 01:40:13 309017e8d7a4: Verifying Checksum 01:40:13 309017e8d7a4: Download complete 01:40:13 f7790dc9fd0f: Download complete 01:40:13 cac0ae9282c2: Verifying Checksum 01:40:13 cac0ae9282c2: Download complete 01:40:13 1f4cadf9a1ed: Verifying Checksum 01:40:13 1f4cadf9a1ed: Download complete 01:40:13 f08d8e2a3ba1: Verifying Checksum 01:40:13 f08d8e2a3ba1: Download complete 01:40:14 f08d8e2a3ba1: Pull complete 01:40:14 3baa9cb2483b: Pull complete 01:40:14 94e5ff4c0b15: Pull complete 01:40:15 1860925334f9: Pull complete 01:40:15 e772456be8f7: Pull complete 01:40:16 c890913d741a: Pull complete 01:40:17 2daf38717194: Verifying Checksum 01:40:17 2daf38717194: Download complete 01:40:18 2480fcc9aa5a: Pull complete 01:40:19 09adf4765672: Pull complete 01:40:19 Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 01:40:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine 01:40:19 ---> 2248a725d1cf 01:40:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:40:23 ---> Running in 6bf1d2eaf621 01:40:23 Removing intermediate container 6bf1d2eaf621 01:40:23 ---> afaf99d16cdb 01:40:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:23 ---> Running in dcbb8595a7bf 01:40:26 Removing intermediate container dcbb8595a7bf 01:40:26 ---> de4e688bb69a 01:40:26 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:40:26 ---> Running in e970fa906477 01:40:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:40:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:40:29 (1/14) Installing libmagic (5.38-r0) 01:40:29 (2/14) Installing file (5.38-r0) 01:40:29 (3/14) Installing libc-dev (0.7.2-r3) 01:40:29 (4/14) Installing g++ (9.3.0-r2) 01:40:35 2daf38717194: Pull complete 01:40:35 309017e8d7a4: Pull complete 01:40:35 f7790dc9fd0f: Pull complete 01:40:35 cac0ae9282c2: Pull complete 01:40:35 1f4cadf9a1ed: Pull complete 01:40:35 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 01:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 01:40:36 (5/14) Installing fortify-headers (1.1-r0) 01:40:36 (6/14) Installing patch (2.7.6-r6) 01:40:36 (7/14) Installing build-base (0.5-r2) 01:40:36 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 01:40:36 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 01:40:36 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 01:40:36 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:40:36 (9/14) Installing libedit (20191231.3.1-r0) 01:40:36 (10/14) Installing openssh-client (8.3_p1-r0) 01:40:37 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 01:40:37 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1346 kB] 01:40:37 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:40:37 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:40:37 (13/14) Installing openssh-server (8.3_p1-r0) 01:40:37 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1419 kB] 01:40:37 (14/14) Installing openssh (8.3_p1-r0) 01:40:37 Executing busybox-1.31.1-r16.trigger 01:40:37 Fetched 3017 kB in 1s (2242 kB/s) 01:40:37 OK: 221 MiB in 53 packages 01:40:39 Reading package lists... 01:40:42 Removing intermediate container e970fa906477 01:40:42 ---> b5461f1883df 01:40:42 Step 6/8 : WORKDIR /device-modbus-go 01:40:42 0% [Working] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 01:40:42 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 01:40:42 ---> Running in fc0cecdc7a07 01:40:42 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 01:40:42 0% [2 InRelease gpgv 242 kB] [Waiting for headers] [1 InRelease 26.7 kB/88.7 kB 0% [Waiting for headers] [1 InRelease 38.3 kB/88.7 kB 43%] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] [1 InRelease 38.3 kB/88.7 k Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 01:40:43 0% [3 InRelease gpgv 88.7 kB] [1 InRelease 43.5 kB/88.7 kB 49%] 0% [1 InRelease 68.0 kB/88.7 kB 77%] 0% [4 InRelease gpgv 74.6 kB] [1 InRelease 70.5 kB/88.7 kB 79%] 0% [4 InRelease gpgv 74.6 kB] 0% [Working] 0% [1 InRelease gpgv 88.7 kB] 100% [Working] Fetched 88.7 kB in 1s (152 kB/s) 01:40:43 Removing intermediate container fc0cecdc7a07 01:40:43 ---> b934e2f1705c 01:40:43 Step 7/8 : COPY . . 01:40:44 ---> 71c89e530c38 01:40:44 Step 8/8 : RUN go mod download 01:40:44 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... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:40:44 ---> Running in 2af897f52fef 01:40:46 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 01:40:47 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... 59% Reading package lists... 65% Reading package lists... 65% Reading package lists... 66% Reading package lists... 66% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 86% Reading package lists... 86% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:40:47 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 01:40:47 Reading state information... 0% Reading state information... 0% Reading state information... Done 01:40:47 The following packages were automatically installed and are no longer required: 01:40:47 libjq1 libonig4 01:40:47 Use 'sudo apt autoremove' to remove them. 01:40:47 Suggested packages: 01:40:47 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 01:40:47 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 01:40:47 diffutils-doc perl-doc libterm-readline-gnu-perl 01:40:47 | libterm-readline-perl-perl 01:40:47 The following NEW packages will be installed: 01:40:47 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 01:40:47 libperl5.26 make netbase patch perl perl-modules-5.26 01:40:47 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 01:40:47 Need to get 12.0 MB of archives. 01:40:47 After this operation, 77.5 MB of additional disk space will be used. 01:40:47 go: finding github.com/BurntSushi/toml v0.3.1 01:40:47 go: finding github.com/OneOfOne/xxhash v1.2.6 01:40:47 go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e 01:40:47 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:40:47 go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 01:40:47 go: finding github.com/bgentry/speakeasy v0.1.0 01:40:47 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] 01:40:48 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:40:48 go: finding github.com/davecgh/go-spew v1.1.1 01:40:48 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:40:48 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:40:48 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:40:48 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:40:48 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:40:48 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:40:48 go: finding github.com/fatih/color v1.7.0 01:40:48 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:40:48 go: finding github.com/go-kit/kit v0.8.0 01:40:48 go: finding github.com/go-logfmt/logfmt v0.4.0 01:40:48 go: finding github.com/go-stack/stack v1.8.0 01:40:48 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 655 kB/2763 kB 24%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 01:40:48 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 01:40:48 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 01:40:48 go: finding github.com/goburrow/modbus v0.1.0 01:40:48 go: finding github.com/goburrow/serial v0.1.0 01:40:48 go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:40:48 go: finding github.com/google/uuid v1.1.1 01:40:48 go: finding github.com/gorilla/mux v1.7.1 01:40:48 go: finding github.com/hashicorp/consul/api v1.1.0 01:40:48 go: finding github.com/hashicorp/consul/sdk v0.1.1 01:40:48 23% [4 libperl5.26 44.8 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 01:40:48 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] 01:40:48 51% [6 less 0 B/112 kB 0%] 53% [Working] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 01:40:48 53% [7 netbase 0 B/12.7 kB 0%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 01:40:48 54% [8 curl 34.7 kB/159 kB 22%] 57% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 01:40:48 57% [9 libcurl3-gnutls 0 B/213 kB 0%] 60% [Working] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 01:40:48 60% [10 liberror-perl 0 B/22.8 kB 0%] 61% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 01:40:48 61% [11 git-man 0 B/804 kB 0%] 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] 01:40:48 go: finding github.com/hashicorp/errwrap v1.0.0 01:40:48 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:40:48 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:40:48 go: finding github.com/hashicorp/go-msgpack v0.5.3 01:40:48 go: finding github.com/hashicorp/go-multierror v1.0.0 01:40:48 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:40:48 go: finding github.com/hashicorp/go-sockaddr v1.0.1 01:40:48 68% [12 git 0 B/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] 01:40:48 96% [13 make 32.7 kB/154 kB 21%] 98% [Working] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 01:40:48 98% [14 patch 0 B/102 kB 0%] 100% [Working] Fetched 12.0 MB in 1s (9127 kB/s) 01:40:48 debconf: delaying package configuration, since apt-utils is not installed 01:40:49 go: finding github.com/hashicorp/go-syslog v1.0.0 01:40:49 go: finding github.com/hashicorp/go-uuid v1.0.1 01:40:49 go: finding github.com/hashicorp/go.net v0.0.1 01:40:49 go: finding github.com/hashicorp/golang-lru v0.5.1 01:40:49 go: finding github.com/hashicorp/logutils v1.0.0 01:40:49 go: finding github.com/hashicorp/mdns v1.0.0 01:40:49 Selecting previously unselected package perl-modules-5.26. 01:40:49 (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.) 01:40:49 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 01:40:49 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 01:40:49 go: finding github.com/hashicorp/memberlist v0.1.3 01:40:49 go: finding github.com/hashicorp/serf v0.8.2 01:40:49 go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:40:49 go: finding github.com/mattn/go-colorable v0.0.9 01:40:49 go: finding github.com/mattn/go-isatty v0.0.3 01:40:49 go: finding github.com/miekg/dns v1.1.4 01:40:49 go: finding github.com/mitchellh/cli v1.0.0 01:40:49 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:40:49 go: finding github.com/mitchellh/copystructure v1.0.0 01:40:49 go: finding github.com/mitchellh/go-homedir v1.1.0 01:40:49 go: finding github.com/mitchellh/go-testing-interface v1.0.0 01:40:49 go: finding github.com/mitchellh/go-wordwrap v1.0.0 01:40:49 go: finding github.com/mitchellh/gox v0.4.0 01:40:49 go: finding github.com/mitchellh/iochan v1.0.0 01:40:49 go: finding github.com/mitchellh/mapstructure v1.1.2 01:40:49 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:40:49 go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:40:49 go: finding github.com/pelletier/go-toml v1.2.0 01:40:49 go: finding github.com/pkg/errors v0.8.1 01:40:49 go: finding github.com/pmezard/go-difflib v1.0.0 01:40:50 Selecting previously unselected package libgdbm5:amd64. 01:40:50 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 01:40:50 Unpacking libgdbm5:amd64 (1.14.1-6) ... 01:40:50 Selecting previously unselected package libgdbm-compat4:amd64. 01:40:50 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 01:40:50 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 01:40:50 Selecting previously unselected package libperl5.26:amd64. 01:40:50 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 01:40:50 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 01:40:50 go: finding github.com/posener/complete v1.1.1 01:40:50 go: finding github.com/ryanuber/columnize v2.1.0+incompatible 01:40:50 go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:40:50 go: finding github.com/stretchr/objx v0.1.0 01:40:50 go: finding github.com/stretchr/testify v1.5.1 01:40:50 go: finding github.com/ugorji/go v1.1.4 01:40:50 go: finding github.com/x448/float16 v0.8.4 01:40:50 go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 01:40:50 go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 01:40:50 go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 01:40:50 go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 01:40:50 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 01:40:50 go: finding gopkg.in/yaml.v2 v2.2.8 01:40:51 Selecting previously unselected package perl. 01:40:51 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 01:40:51 Unpacking perl (5.26.1-6ubuntu0.3) ... 01:40:51 Selecting previously unselected package less. 01:40:51 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 01:40:51 Unpacking less (487-0.1) ... 01:40:51 Selecting previously unselected package netbase. 01:40:51 Preparing to unpack .../06-netbase_5.4_all.deb ... 01:40:51 Unpacking netbase (5.4) ... 01:40:51 Selecting previously unselected package curl. 01:40:51 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 01:40:51 Unpacking curl (7.58.0-2ubuntu3.10) ... 01:40:51 Selecting previously unselected package libcurl3-gnutls:amd64. 01:40:51 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 01:40:51 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 01:40:51 Selecting previously unselected package liberror-perl. 01:40:51 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 01:40:51 Unpacking liberror-perl (0.17025-1) ... 01:40:51 Selecting previously unselected package git-man. 01:40:51 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 01:40:51 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 01:40:51 Selecting previously unselected package git. 01:40:51 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 01:40:51 Unpacking git (1:2.17.1-1ubuntu0.7) ... 01:40:52 Selecting previously unselected package make. 01:40:52 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 01:40:52 Unpacking make (4.1-9.1ubuntu1) ... 01:40:52 Selecting previously unselected package patch. 01:40:52 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 01:40:52 Unpacking patch (2.7.6-2ubuntu1.1) ... 01:40:52 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 01:40:52 Setting up less (487-0.1) ... 01:40:52 Setting up make (4.1-9.1ubuntu1) ... 01:40:52 Setting up curl (7.58.0-2ubuntu3.10) ... 01:40:52 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 01:40:52 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 01:40:52 Setting up libgdbm5:amd64 (1.14.1-6) ... 01:40:52 Setting up patch (2.7.6-2ubuntu1.1) ... 01:40:52 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 01:40:52 Setting up netbase (5.4) ... 01:40:52 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 01:40:52 Setting up perl (5.26.1-6ubuntu0.3) ... 01:40:52 Setting up liberror-perl (0.17025-1) ... 01:40:52 Setting up git (1:2.17.1-1ubuntu0.7) ... 01:40:52 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 01:40:52 Processing triggers for mime-support (3.60ubuntu1) ... 01:40:54 curl set to automatically installed. 01:40:54 git set to automatically installed. 01:40:54 git-man set to automatically installed. 01:40:54 less set to automatically installed. 01:40:54 libcurl3-gnutls set to automatically installed. 01:40:54 liberror-perl set to automatically installed. 01:40:54 libgdbm-compat4 set to automatically installed. 01:40:54 libgdbm5 set to automatically installed. 01:40:54 libperl5.26 set to automatically installed. 01:40:54 make set to automatically installed. 01:40:54 netbase set to automatically installed. 01:40:54 patch set to automatically installed. 01:40:54 perl set to automatically installed. 01:40:54 perl-modules-5.26 set to automatically installed. 01:40:54 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 01:40:54 Please ensure the environment is properly setup before continuing. 01:40:54 Ignore this message if the appropriate measures have already been taken 01:40:54 Pulling go  01:40:55 'device-modbus' has dependencies that need to be staged: go 01:40:55 Skipping pull go (already ran) 01:40:55 Building go  01:40:55 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:55 Dload Upload Total Spent Left Speed 01:40:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 114M 0 62244 0 0 263k 0 0:07:25 --:--:-- 0:07:25 262k 40 114M 40 46.6M 0 0 37.7M 0 0:00:03 0:00:01 0:00:02 37.7M 94 114M 94 107M 0 0 48.2M 0 0:00:02 0:00:02 --:--:-- 48.2M 100 114M 100 114M 0 0 49.6M 0 0:00:02 0:00:02 --:--:-- 49.5M 01:40:59 go1.13.5.linux-amd64.tar.gz: OK 01:41:00 Removing intermediate container 2af897f52fef 01:41:00 ---> 0e269faec22a 01:41:00 Successfully built 0e269faec22a 01:41:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:41:01 + docker inspect -f . ci-base-image-arm64 01:41:01 . [Pipeline] withDockerContainer 01:41:01 prd-ubuntu18.04-docker-arm64-4c-16g-973 does not seem to be running inside a container 01:41:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:41:03 $ docker top e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:05 + go version 01:41:05 go version go1.13.13 linux/arm64 [Pipeline] sh 01:41:05 Staging go  01:41:05 Pulling device-modbus  01:41:06 + make test 01:41:06 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:41:06 Skipping build go (already ran) 01:41:06 Building device-modbus  01:41:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 01:41:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:41:07 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 01:41:07 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:41:07 go: downloading github.com/goburrow/modbus v0.1.0 01:41:07 go: extracting github.com/goburrow/modbus v0.1.0 01:41:07 go: downloading github.com/goburrow/serial v0.1.0 01:41:07 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 01:41:07 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:41:07 go: extracting github.com/goburrow/serial v0.1.0 01:41:07 go: downloading github.com/gorilla/mux v1.7.1 01:41:07 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:41:07 go: downloading github.com/go-kit/kit v0.8.0 01:41:07 go: downloading github.com/OneOfOne/xxhash v1.2.6 01:41:07 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 01:41:07 go: extracting github.com/gorilla/mux v1.7.1 01:41:07 go: extracting github.com/OneOfOne/xxhash v1.2.6 01:41:07 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 01:41:07 go: downloading github.com/google/uuid v1.1.1 01:41:07 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:41:07 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 01:41:07 go: downloading github.com/pkg/errors v0.8.1 01:41:07 go: downloading github.com/hashicorp/consul/api v1.1.0 01:41:07 go: downloading gopkg.in/yaml.v2 v2.2.8 01:41:07 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 01:41:07 go: downloading github.com/BurntSushi/toml v0.3.1 01:41:07 go: extracting github.com/go-kit/kit v0.8.0 01:41:07 go: extracting github.com/google/uuid v1.1.1 01:41:07 go: downloading github.com/pelletier/go-toml v1.2.0 01:41:07 go: extracting github.com/pkg/errors v0.8.1 01:41:07 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 01:41:07 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 01:41:07 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 01:41:07 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:41:07 go: extracting github.com/hashicorp/consul/api v1.1.0 01:41:07 go: extracting github.com/BurntSushi/toml v0.3.1 01:41:07 go: extracting gopkg.in/yaml.v2 v2.2.8 01:41:07 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:41:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:41:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 01:41:07 go: downloading github.com/hashicorp/serf v0.8.2 01:41:07 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:41:07 go: extracting github.com/pelletier/go-toml v1.2.0 01:41:07 go: extracting github.com/go-logfmt/logfmt v0.4.0 01:41:07 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:41:07 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:41:07 go: downloading github.com/mitchellh/copystructure v1.0.0 01:41:07 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 01:41:07 go: extracting github.com/mitchellh/mapstructure v1.1.2 01:41:07 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 01:41:07 go: downloading github.com/x448/float16 v0.8.4 01:41:07 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 01:41:07 go: extracting github.com/hashicorp/serf v0.8.2 01:41:07 go: extracting github.com/mitchellh/copystructure v1.0.0 01:41:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:41:07 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 01:41:07 go: extracting github.com/x448/float16 v0.8.4 01:41:08 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:41:08 go: extracting github.com/mitchellh/reflectwalk v1.0.0 01:41:08 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:41:08 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:41:08 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 01:41:08 go: downloading github.com/hashicorp/golang-lru v0.5.1 01:41:08 go: extracting github.com/hashicorp/golang-lru v0.5.1 01:41:08 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:41:08 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:41:08 go: finding github.com/goburrow/modbus v0.1.0 01:41:08 go: finding github.com/goburrow/serial v0.1.0 01:41:08 go: finding github.com/gorilla/mux v1.7.1 01:41:08 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:41:08 go: finding github.com/go-kit/kit v0.8.0 01:41:08 go: finding github.com/google/uuid v1.1.1 01:41:08 go: finding github.com/OneOfOne/xxhash v1.2.6 01:41:08 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:41:08 go: finding github.com/x448/float16 v0.8.4 01:41:08 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:41:08 go: finding gopkg.in/yaml.v2 v2.2.8 01:41:08 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:41:08 go: finding github.com/go-logfmt/logfmt v0.4.0 01:41:08 go: finding github.com/pkg/errors v0.8.1 01:41:08 go: finding github.com/BurntSushi/toml v0.3.1 01:41:08 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:41:08 go: finding github.com/pelletier/go-toml v1.2.0 01:41:08 go: finding github.com/hashicorp/consul/api v1.1.0 01:41:08 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:41:08 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:41:08 go: finding github.com/hashicorp/serf v0.8.2 01:41:08 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:41:08 go: finding github.com/mitchellh/mapstructure v1.1.2 01:41:08 go: finding github.com/mitchellh/copystructure v1.0.0 01:41:08 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:41:08 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:41:08 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:41:08 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:41:08 go: finding github.com/hashicorp/golang-lru v0.5.1 01:41:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:41:17 Skipping stage go (already ran) 01:41:17 Staging device-modbus  01:41:18 Priming go  01:41:18 Priming device-modbus  01:41:19 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 01:41:19 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 01:41:19 Determining the version from the project repo (version-script). 01:41:19 The version has been set to '1.2.1-20200901+803f4af' 01:41:20 Snapping | Snapping / Snapping - Snapping | 01:41:20 Snapped edgex-device-modbus_1.2.1-20200901+803f4af_amd64.snap [Pipeline] } 01:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:41:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:41:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.363s coverage: 50.3% of statements 01:41:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:41:43 gofmt -l . 01:41:43 [ "`gofmt -l .`" = "" ] 01:41:43 ./bin/test-attribution-txt.sh 01:41:44 ./bin/test-go-mod-tidy.sh [Pipeline] stash 01:41:44 Warning: overwriting stash ‘coverage-report’ 01:41:45 Stashed 1 file(s) [Pipeline] } 01:41:45 $ docker stop --time=1 e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba 01:41:47 $ docker rm -f e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:49 + ls -al . 01:41:49 total 140 01:41:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 01:41 . 01:41:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:39 .. 01:41:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 01:39 .dockerignore 01:41:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:39 .git 01:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 .github 01:41:49 -rw-rw-r-- 1 jenkins jenkins 330 Sep 1 01:39 .gitignore 01:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 .semver 01:41:49 -rw-rw-r-- 1 jenkins jenkins 4564 Sep 1 01:39 Attribution.txt 01:41:49 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 1 01:39 Dockerfile 01:41:49 -rw-rw-r-- 1 jenkins jenkins 954 Sep 1 01:39 Dockerfile.build 01:41:49 -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 01:39 Jenkinsfile 01:41:49 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 01:39 LICENSE 01:41:49 -rw-rw-r-- 1 jenkins jenkins 880 Sep 1 01:39 Makefile 01:41:49 -rw-rw-r-- 1 jenkins jenkins 591 Sep 1 01:39 README.md 01:41:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:36 VERSION 01:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 bin 01:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 cmd 01:41:49 -rw-r--r-- 1 jenkins jenkins 22364 Sep 1 01:41 coverage.out 01:41:49 -rw-r--r-- 1 jenkins jenkins 559 Sep 1 01:41 go.mod 01:41:49 -rw-r--r-- 1 jenkins jenkins 13471 Sep 1 01:41 go.sum 01:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 internal 01:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 simulator 01:41:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:39 snap 01:41:49 -rw-rw-r-- 1 jenkins jenkins 229 Sep 1 01:39 version.go [Pipeline] isUnix [Pipeline] sh 01:41:49 + 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=803f4af17ac4cfeac2a76f81a194499d87bf4d0f --label arch=arm64 --label version=0.0.0 . 01:41:49 Sending build context to Docker daemon 689.7kB 01:41:49 Step 1/20 : ARG BASE=golang:1.13-alpine 01:41:49 Step 2/20 : FROM ${BASE} AS builder 01:41:49 ---> 0e269faec22a 01:41:49 Step 3/20 : ARG MAKE='make build' 01:41:50 ---> Running in 8d76d253236f 01:41:50 Removing intermediate container 8d76d253236f 01:41:50 ---> b851452cc529 01:41:50 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:50 ---> Running in 42ae044dcb5c 01:41:53 Removing intermediate container 42ae044dcb5c 01:41:53 ---> df56b2d4aa1f 01:41:53 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 01:41:53 ---> Running in 327eb7a227db 01:41:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:41:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:41:56 OK: 221 MiB in 53 packages 01:41:57 Removing intermediate container 327eb7a227db 01:41:57 ---> ecd184c376d1 01:41:57 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 01:41:57 ---> Running in 36e9495dc1d4 01:41:57 Removing intermediate container 36e9495dc1d4 01:41:57 ---> 1b3adbb7fb79 01:41:57 Step 7/20 : COPY . . 01:41:58 ---> 76d8519c5d15 01:41:58 Step 8/20 : RUN ${MAKE} 01:41:58 ---> Running in 0fa108632097 01:42:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 01:42:26 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:42:32 Removing intermediate container 0fa108632097 01:42:32 ---> fa35e9cda687 01:42:32 Step 9/20 : FROM scratch 01:42:32 ---> 01:42:32 Step 10/20 : ENV APP_PORT=49991 01:42:32 ---> Running in 667799464df8 01:42:32 Removing intermediate container 667799464df8 01:42:32 ---> 3a862e27e1b1 01:42:32 Step 11/20 : EXPOSE $APP_PORT 01:42:32 ---> Running in 0f22b3dde4af 01:42:32 Removing intermediate container 0f22b3dde4af 01:42:32 ---> ec4d79c71e5f 01:42:32 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 01:42:33 ---> 855fc77af0f8 01:42:33 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 01:42:34 ---> 15895e3c0a56 01:42:34 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 01:42:35 ---> 16bf185d1d82 01:42:35 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 01:42:35 ---> Running in 872fd78ac9c5 01:42:35 Removing intermediate container 872fd78ac9c5 01:42:35 ---> ac3c94091585 01:42:35 Step 16/20 : ENTRYPOINT ["/device-modbus"] 01:42:36 ---> Running in f03c3f3ab75f 01:42:36 Removing intermediate container f03c3f3ab75f 01:42:36 ---> 79b5eafa07ab 01:42:36 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:42:36 ---> Running in ff6250d8ee36 01:42:36 Removing intermediate container ff6250d8ee36 01:42:36 ---> d04aba65a0e9 01:42:36 Step 18/20 : LABEL arch=arm64 01:42:37 ---> Running in 07886835461c 01:42:37 Removing intermediate container 07886835461c 01:42:37 ---> 855d8498f4ec 01:42:37 Step 19/20 : LABEL git_sha=803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:42:37 ---> Running in c58b3e4c7e53 01:42:37 Removing intermediate container c58b3e4c7e53 01:42:37 ---> 3cc5aa501b52 01:42:37 Step 20/20 : LABEL version=0.0.0 01:42:38 ---> Running in 9adb15fd708a 01:42:38 Removing intermediate container 9adb15fd708a 01:42:38 ---> 027d171d8d2a 01:42:38 [Warning] One or more build-args [ARCH] were not consumed 01:42:38 Successfully built 027d171d8d2a 01:42:38 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] node 01:42:54 Still waiting to schedule task 01:42:54 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 01:44:44 Running on prd-ubuntu18.04-docker-arm64-16c-16g-976 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws 01:44:44 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 01:44:48 using credential edgex-jenkins-ssh 01:44:48 Cloning the remote Git repository 01:44:48 Cloning with configured refspecs honoured and without tags 01:44:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:44:49 > git init /w/workspace/device-modbus-go/4 # timeout=10 01:44:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:44:49 > git --version # timeout=10 01:44:49 > git --version # 'git version 2.17.1' 01:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:44:49 > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 01:44:49 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 01:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:44:49 Fetching without tags 01:44:50 Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:44:50 Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f 01:44:50 Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) 01:44:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:49 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 01:44:50 > git config core.sparsecheckout # timeout=10 01:44:50 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:44:50 > git remote # timeout=10 01:44:50 > git config --get remote.origin.url # timeout=10 01:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:50 > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 01:44:50 > git rev-parse HEAD^{commit} # timeout=10 01:44:50 > git config core.sparsecheckout # timeout=10 01:44:50 > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 01:44:54 Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:55 + + findgrep /w/workspace/device-modbus-go/4 snapcraft.yaml 01:44:55 01:44:55 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:56 provisioning config files... 01:44:56 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config7487041492360016225tmp [Pipeline] { [Pipeline] sh 01:44:56 + cp /w/workspace/device-modbus-go/4@tmp/config7487041492360016225tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh 01:44:56 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 01:44:57 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 01:44:57 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 01:44:57 237528ba509b: Pulling fs layer 01:44:57 393b96f31d8b: Pulling fs layer 01:44:57 4d82b0e39008: Pulling fs layer 01:44:57 e7ca375b8d34: Pulling fs layer 01:44:57 418f656485bb: Pulling fs layer 01:44:57 aebe8db9254c: Pulling fs layer 01:44:57 4f5f7b207d3f: Pulling fs layer 01:44:57 d19ca6af091a: Pulling fs layer 01:44:57 16b5a0711add: Pulling fs layer 01:44:57 418f656485bb: Waiting 01:44:57 4f5f7b207d3f: Waiting 01:44:57 16b5a0711add: Waiting 01:44:57 d19ca6af091a: Waiting 01:44:57 4d82b0e39008: Verifying Checksum 01:44:57 4d82b0e39008: Download complete 01:44:57 393b96f31d8b: Download complete 01:44:57 e7ca375b8d34: Download complete 01:44:57 aebe8db9254c: Verifying Checksum 01:44:57 aebe8db9254c: Download complete 01:44:58 4f5f7b207d3f: Download complete 01:44:58 d19ca6af091a: Download complete 01:44:58 16b5a0711add: Download complete 01:44:58 237528ba509b: Verifying Checksum 01:44:58 237528ba509b: Download complete 01:45:01 237528ba509b: Pull complete 01:45:01 393b96f31d8b: Pull complete 01:45:02 4d82b0e39008: Pull complete 01:45:02 e7ca375b8d34: Pull complete 01:45:08 418f656485bb: Verifying Checksum 01:45:08 418f656485bb: Download complete 01:45:54 418f656485bb: Pull complete 01:45:54 aebe8db9254c: Pull complete 01:45:54 4f5f7b207d3f: Pull complete 01:45:54 d19ca6af091a: Pull complete 01:45:54 16b5a0711add: Pull complete 01:45:54 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 01:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 01:45:54 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 01:45:54 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 01:45:54 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 01:45:54 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 01:45:54 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [923 kB] 01:45:54 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1256 kB] 01:45:54 Fetched 2430 kB in 2s (1188 kB/s) 01:45:59 Reading package lists... 01:46:11 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 01:46:11 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 01:46:11 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 01:46:11 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 01:46:16 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:46:23 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 01:46:26 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 11% Reading package lists... 33% Reading package lists... 56% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 76% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 01:46:27 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 01:46:27 Reading state information... 0% Reading state information... 0% Reading state information... Done 01:46:27 The following packages were automatically installed and are no longer required: 01:46:27 libjq1 libonig4 01:46:27 Use 'sudo apt autoremove' to remove them. 01:46:27 Suggested packages: 01:46:27 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 01:46:27 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 01:46:27 diffutils-doc perl-doc libterm-readline-gnu-perl 01:46:27 | libterm-readline-perl-perl 01:46:27 The following NEW packages will be installed: 01:46:27 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 01:46:28 libperl5.26 make netbase patch perl perl-modules-5.26 01:46:28 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 01:46:28 Need to get 10.8 MB of archives. 01:46:28 After this operation, 73.6 MB of additional disk space will be used. 01:46:28 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] 01:46:34 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 1% [1 perl-modules-5.26 149 kB/2763 kB 5%] 2% [1 perl-modules-5.26 301 kB/2763 kB 11%] 3% [1 perl-modules-5.26 465 kB/2763 kB 17%] 5% [1 perl-modules-5.26 624 kB/2763 kB 23%] 6% [1 perl-modules-5.26 801 kB/2763 kB 29%] 7% [1 perl-modules-5.26 988 kB/2763 kB 36%] 9% [1 perl-modules-5.26 1221 kB/2763 kB 44%] 11% [1 perl-modules-5.26 1464 kB/2763 kB 53%] 13% [1 perl-modules-5.26 1717 kB/2763 kB 62%] 15% [1 perl-modules-5.26 1990 kB/2763 kB 72%] 17% [1 perl-modules-5.26 2292 kB/2763 kB 83%] 20% [1 perl-modules-5.26 2639 kB/2763 kB 96%] 426 kB/s 19s 22% [Working] 426 kB/s 18s Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 01:46:34 22% [2 libgdbm5 17.8 kB/23.1 kB 77%] 426 kB/s 18s 24% [Waiting for headers] 426 kB/s 18s Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 01:46:34 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 426 kB/s 18s 25% [Working] 426 kB/s 18s Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 01:46:37 25% [4 libperl5.26 4104 B/3326 kB 0%] 426 kB/s 18s 28% [4 libperl5.26 349 kB/3326 kB 11%] 426 kB/s 17s 31% [4 libperl5.26 747 kB/3326 kB 22%] 426 kB/s 16s 33% [4 libperl5.26 1108 kB/3326 kB 33%] 426 kB/s 16s 37% [4 libperl5.26 1591 kB/3326 kB 48%] 426 kB/s 15s 41% [4 libperl5.26 2196 kB/3326 kB 66%] 426 kB/s 13s 46% [4 libperl5.26 2833 kB/3326 kB 85%] 426 kB/s 12s 51% [Working] 426 kB/s 10s Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 01:46:38 51% [5 perl 36.9 kB/201 kB 18%] 426 kB/s 10s 54% [Working] 426 kB/s 10s Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 01:46:38 54% [6 less 13.4 kB/99.7 kB 13%] 426 kB/s 10s 56% [Working] 426 kB/s 10s Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 01:46:38 56% [7 netbase 0 B/12.7 kB 0%] 426 kB/s 10s 58% [Working] 426 kB/s 10s Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 01:46:38 58% [8 curl 11.3 kB/152 kB 7%] 426 kB/s 10s 60% [Working] 426 kB/s 9s Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 01:46:38 61% [9 libcurl3-gnutls 26.4 kB/179 kB 15%] 426 kB/s 9s 63% [Working] 426 kB/s 9s Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 01:46:38 63% [10 liberror-perl 6945 B/22.8 kB 30%] 426 kB/s 9s 65% [Working] 426 kB/s 9s Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 01:46:38 65% [11 git-man 14.8 kB/804 kB 2%] 426 kB/s 9s 72% [Working] 426 kB/s 7s Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 01:46:39 72% [12 git 32.8 kB/2952 kB 1%] 426 kB/s 7s 81% [12 git 1174 kB/2952 kB 40%] 426 kB/s 4s 92% [12 git 2738 kB/2952 kB 93%] 426 kB/s 1s 95% [Working] 426 kB/s 0s Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 01:46:39 95% [13 make 0 B/139 kB 0%] 426 kB/s 0s 98% [Working] 426 kB/s 0s Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 01:46:39 98% [14 patch 2288 B/91.8 kB 2%] 426 kB/s 0s 100% [Working] 426 kB/s 0s Fetched 10.8 MB in 12s (924 kB/s) 01:46:40 debconf: delaying package configuration, since apt-utils is not installed 01:46:40 Selecting previously unselected package perl-modules-5.26. 01:46:40 (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.) 01:46:40 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 01:46:40 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 01:46:42 Selecting previously unselected package libgdbm5:arm64. 01:46:42 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 01:46:42 Unpacking libgdbm5:arm64 (1.14.1-6) ... 01:46:42 Selecting previously unselected package libgdbm-compat4:arm64. 01:46:42 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 01:46:42 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 01:46:42 Selecting previously unselected package libperl5.26:arm64. 01:46:42 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 01:46:42 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 01:46:43 Selecting previously unselected package perl. 01:46:43 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 01:46:43 Unpacking perl (5.26.1-6ubuntu0.3) ... 01:46:43 Selecting previously unselected package less. 01:46:43 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 01:46:43 Unpacking less (487-0.1) ... 01:46:43 Selecting previously unselected package netbase. 01:46:43 Preparing to unpack .../06-netbase_5.4_all.deb ... 01:46:43 Unpacking netbase (5.4) ... 01:46:43 Selecting previously unselected package curl. 01:46:43 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 01:46:43 Unpacking curl (7.58.0-2ubuntu3.10) ... 01:46:44 Selecting previously unselected package libcurl3-gnutls:arm64. 01:46:44 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 01:46:44 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 01:46:44 Selecting previously unselected package liberror-perl. 01:46:44 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 01:46:44 Unpacking liberror-perl (0.17025-1) ... 01:46:44 Selecting previously unselected package git-man. 01:46:44 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 01:46:44 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 01:46:44 Selecting previously unselected package git. 01:46:44 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 01:46:44 Unpacking git (1:2.17.1-1ubuntu0.7) ... 01:46:46 Selecting previously unselected package make. 01:46:46 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 01:46:46 Unpacking make (4.1-9.1ubuntu1) ... 01:46:46 Selecting previously unselected package patch. 01:46:46 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 01:46:46 Unpacking patch (2.7.6-2ubuntu1.1) ... 01:46:46 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 01:46:46 Setting up less (487-0.1) ... 01:46:46 Setting up make (4.1-9.1ubuntu1) ... 01:46:46 Setting up curl (7.58.0-2ubuntu3.10) ... 01:46:46 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 01:46:46 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 01:46:46 Setting up libgdbm5:arm64 (1.14.1-6) ... 01:46:46 Setting up patch (2.7.6-2ubuntu1.1) ... 01:46:46 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 01:46:46 Setting up netbase (5.4) ... 01:46:46 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 01:46:46 Setting up perl (5.26.1-6ubuntu0.3) ... 01:46:46 Setting up liberror-perl (0.17025-1) ... 01:46:46 Setting up git (1:2.17.1-1ubuntu0.7) ... 01:46:47 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 01:46:47 Processing triggers for mime-support (3.60ubuntu1) ... 01:46:52 curl set to automatically installed. 01:46:52 git set to automatically installed. 01:46:52 git-man set to automatically installed. 01:46:52 less set to automatically installed. 01:46:52 libcurl3-gnutls set to automatically installed. 01:46:52 liberror-perl set to automatically installed. 01:46:52 libgdbm-compat4 set to automatically installed. 01:46:52 libgdbm5 set to automatically installed. 01:46:52 libperl5.26 set to automatically installed. 01:46:52 make set to automatically installed. 01:46:53 netbase set to automatically installed. 01:46:53 patch set to automatically installed. 01:46:53 perl set to automatically installed. 01:46:53 perl-modules-5.26 set to automatically installed. 01:46:53 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 01:46:53 Please ensure the environment is properly setup before continuing. 01:46:53 Ignore this message if the appropriate measures have already been taken 01:46:54 Pulling go  01:46:57 'device-modbus' has dependencies that need to be staged: go 01:46:57 Skipping pull go (already ran) 01:46:57 Building go  01:46:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:46:57 Dload Upload Total Spent Left Speed 01:47:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 18 93.0M 18 17.5M 0 0 17.8M 0 0:00:05 --:--:-- 0:00:05 17.8M 59 93.0M 59 55.2M 0 0 27.8M 0 0:00:03 0:00:01 0:00:02 27.8M 100 93.0M 100 93.0M 0 0 31.3M 0 0:00:02 0:00:02 --:--:-- 31.3M 01:47:01 go1.13.5.linux-arm64.tar.gz: OK 01:47:19 Staging go  01:47:22 Pulling device-modbus  01:47:25 Skipping build go (already ran) 01:47:25 Building device-modbus  01:47:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd 01:47:27 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 01:47:27 go: downloading github.com/goburrow/modbus v0.1.0 01:47:27 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:47:27 go: extracting github.com/goburrow/modbus v0.1.0 01:47:27 go: downloading github.com/goburrow/serial v0.1.0 01:47:27 go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 01:47:27 go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:47:27 go: extracting github.com/goburrow/serial v0.1.0 01:47:27 go: downloading github.com/gorilla/mux v1.7.1 01:47:27 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:47:27 go: downloading gopkg.in/yaml.v2 v2.2.8 01:47:27 go: downloading github.com/google/uuid v1.1.1 01:47:27 go: downloading github.com/OneOfOne/xxhash v1.2.6 01:47:27 go: downloading github.com/go-kit/kit v0.8.0 01:47:27 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 01:47:27 go: extracting github.com/gorilla/mux v1.7.1 01:47:27 go: extracting github.com/google/uuid v1.1.1 01:47:27 go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:47:27 go: extracting gopkg.in/yaml.v2 v2.2.8 01:47:27 go: extracting github.com/OneOfOne/xxhash v1.2.6 01:47:27 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 01:47:27 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 01:47:27 go: downloading github.com/BurntSushi/toml v0.3.1 01:47:27 go: downloading github.com/pkg/errors v0.8.1 01:47:27 go: downloading github.com/pelletier/go-toml v1.2.0 01:47:27 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 01:47:27 go: extracting github.com/fxamacker/cbor/v2 v2.2.0 01:47:27 go: extracting github.com/BurntSushi/toml v0.3.1 01:47:27 go: extracting github.com/pkg/errors v0.8.1 01:47:27 go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 01:47:27 go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 01:47:27 go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 01:47:27 go: downloading github.com/x448/float16 v0.8.4 01:47:27 go: extracting github.com/pelletier/go-toml v1.2.0 01:47:27 go: extracting github.com/go-kit/kit v0.8.0 01:47:27 go: downloading github.com/hashicorp/consul/api v1.1.0 01:47:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:47:27 go: extracting github.com/x448/float16 v0.8.4 01:47:27 go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:47:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:47:27 go: downloading github.com/mitchellh/copystructure v1.0.0 01:47:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:47:27 go: extracting github.com/hashicorp/consul/api v1.1.0 01:47:27 go: extracting github.com/cenkalti/backoff v2.2.1+incompatible 01:47:27 go: extracting github.com/mitchellh/mapstructure v1.1.2 01:47:27 go: extracting github.com/mitchellh/copystructure v1.0.0 01:47:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 01:47:27 go: downloading github.com/hashicorp/serf v0.8.2 01:47:27 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:47:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:47:27 go: extracting github.com/hashicorp/go-rootcerts v1.0.0 01:47:27 go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 01:47:27 go: extracting github.com/mitchellh/reflectwalk v1.0.0 01:47:27 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:47:27 go: extracting github.com/hashicorp/serf v0.8.2 01:47:27 go: extracting github.com/go-logfmt/logfmt v0.4.0 01:47:28 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:47:28 go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:47:28 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:47:28 go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 01:47:28 go: downloading github.com/hashicorp/golang-lru v0.5.1 01:47:28 go: extracting github.com/hashicorp/golang-lru v0.5.1 01:47:28 go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 01:47:28 go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 01:47:28 go: finding github.com/goburrow/modbus v0.1.0 01:47:28 go: finding github.com/gorilla/mux v1.7.1 01:47:28 go: finding github.com/OneOfOne/xxhash v1.2.6 01:47:28 go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 01:47:28 go: finding github.com/fxamacker/cbor/v2 v2.2.0 01:47:28 go: finding github.com/go-kit/kit v0.8.0 01:47:28 go: finding github.com/goburrow/serial v0.1.0 01:47:28 go: finding github.com/google/uuid v1.1.1 01:47:28 go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 01:47:28 go: finding gopkg.in/yaml.v2 v2.2.8 01:47:28 go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 01:47:28 go: finding github.com/pkg/errors v0.8.1 01:47:28 go: finding github.com/x448/float16 v0.8.4 01:47:28 go: finding github.com/go-logfmt/logfmt v0.4.0 01:47:28 go: finding github.com/BurntSushi/toml v0.3.1 01:47:28 go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 01:47:28 go: finding github.com/pelletier/go-toml v1.2.0 01:47:28 go: finding github.com/hashicorp/consul/api v1.1.0 01:47:28 go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:47:28 go: finding github.com/hashicorp/go-cleanhttp v0.5.1 01:47:28 go: finding github.com/hashicorp/go-rootcerts v1.0.0 01:47:28 go: finding github.com/hashicorp/serf v0.8.2 01:47:28 go: finding github.com/mitchellh/mapstructure v1.1.2 01:47:28 go: finding github.com/mitchellh/copystructure v1.0.0 01:47:28 go: finding github.com/cenkalti/backoff v2.2.1+incompatible 01:47:28 go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:47:28 go: finding github.com/mitchellh/reflectwalk v1.0.0 01:47:28 go: finding github.com/hashicorp/go-immutable-radix v1.0.0 01:47:28 go: finding github.com/hashicorp/golang-lru v0.5.1 01:47:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 01:48:02 Skipping stage go (already ran) 01:48:02 Staging device-modbus  01:48:05 Priming go  01:48:08 Priming device-modbus  01:48:12 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 01:48:12 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 01:48:12 Determining the version from the project repo (version-script). 01:48:12 The version has been set to '1.2.1-20200901+803f4af' 01:48:12 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 01:48:12 Snapped edgex-device-modbus_1.2.1-20200901+803f4af_arm64.snap [Pipeline] } 01:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 01:48:17 provisioning config files... 01:48:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config3882946091220972566tmp [Pipeline] { [Pipeline] sh 01:48:18 + curl -s https://codecov.io/bash 01:48:18 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config3882946091220972566tmp [Pipeline] } 01:48:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:48:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:23 ---> package-listing.sh 01:48:23 ++ facter osfamily 01:48:23 ++ tr '[:upper:]' '[:lower:]' 01:48:23 + OS_FAMILY=redhat 01:48:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-165 01:48:23 + START_PACKAGES=/tmp/packages_start.txt 01:48:23 + END_PACKAGES=/tmp/packages_end.txt 01:48:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:23 + PACKAGES=/tmp/packages_start.txt 01:48:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' 01:48:23 + PACKAGES=/tmp/packages_end.txt 01:48:23 + case "${OS_FAMILY}" in 01:48:23 + rpm -qa 01:48:23 + sort 01:48:27 + '[' -f /tmp/packages_start.txt ']' 01:48:27 + '[' -f /tmp/packages_end.txt ']' 01:48:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:27 + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' 01:48:27 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ 01:48:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [Pipeline] isUnix [Pipeline] sh 01:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:48:28 01:48:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:48:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:48:28 alpine: Pulling from edgex-lftools-log-publisher 01:48:28 c9b1b535fdd9: Pulling fs layer 01:48:28 2cc5ad85d9ab: Pulling fs layer 01:48:28 756a868c4378: Pulling fs layer 01:48:28 444b2fc9a129: Pulling fs layer 01:48:28 ea15f1150254: Pulling fs layer 01:48:28 41b27a9f41bf: Pulling fs layer 01:48:28 28c525ee5125: Pulling fs layer 01:48:28 094b1ea09ed8: Pulling fs layer 01:48:28 138eaada9080: Pulling fs layer 01:48:28 0622d0fa9048: Pulling fs layer 01:48:28 444b2fc9a129: Waiting 01:48:28 ea15f1150254: Waiting 01:48:28 41b27a9f41bf: Waiting 01:48:28 28c525ee5125: Waiting 01:48:28 094b1ea09ed8: Waiting 01:48:28 138eaada9080: Waiting 01:48:28 0622d0fa9048: Waiting 01:48:28 2cc5ad85d9ab: Verifying Checksum 01:48:28 2cc5ad85d9ab: Download complete 01:48:28 444b2fc9a129: Verifying Checksum 01:48:28 444b2fc9a129: Download complete 01:48:28 c9b1b535fdd9: Verifying Checksum 01:48:28 c9b1b535fdd9: Download complete 01:48:28 ea15f1150254: Verifying Checksum 01:48:28 ea15f1150254: Download complete 01:48:29 28c525ee5125: Download complete 01:48:29 756a868c4378: Verifying Checksum 01:48:29 756a868c4378: Download complete 01:48:29 c9b1b535fdd9: Pull complete 01:48:29 138eaada9080: Verifying Checksum 01:48:29 138eaada9080: Download complete 01:48:29 0622d0fa9048: Verifying Checksum 01:48:29 0622d0fa9048: Download complete 01:48:29 094b1ea09ed8: Verifying Checksum 01:48:29 094b1ea09ed8: Download complete 01:48:29 2cc5ad85d9ab: Pull complete 01:48:29 41b27a9f41bf: Verifying Checksum 01:48:29 41b27a9f41bf: Download complete 01:48:31 756a868c4378: Pull complete 01:48:31 444b2fc9a129: Pull complete 01:48:31 ea15f1150254: Pull complete 01:48:34 41b27a9f41bf: Pull complete 01:48:35 28c525ee5125: Pull complete 01:48:37 094b1ea09ed8: Pull complete 01:48:38 138eaada9080: Pull complete 01:48:38 0622d0fa9048: Pull complete 01:48:38 Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 01:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:48:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:48:38 prd-centos7-docker-4c-2g-968 does not seem to be running inside a container 01:48:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/xfoundry_device-modbus-go_PR-165 -v /w/workspace/xfoundry_device-modbus-go_PR-165:/w/workspace/xfoundry_device-modbus-go_PR-165:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-165@tmp:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:48:42 $ docker top 033b065ff9af145fae9fe6f1349fd37155425558d28b438230a2dbe874a69851 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:43 provisioning config files... 01:48:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config2794082212244672548tmp [Pipeline] { [Pipeline] echo 01:48:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> create-netrc.sh [Pipeline] echo 01:48:43 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> logs-deploy.sh 01:48:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/4 01:48:43 INFO: archiving workspace using pattern(s): 01:48:45 Archives upload complete. 01:48:45 INFO: archiving logs to Nexus 01:48:45 ---> uname -a: 01:48:45 Linux 033b065ff9af 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 01:48:45 01:48:45