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 [2020-09-01T01:36:28.114Z] 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 [2020-09-01T01:36:28.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T01:36:28.453Z] ========================================================= [2020-09-01T01:36:28.453Z] EdgeX Global Pipelines Version Info [2020-09-01T01:36:28.453Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:36:29.872Z] ------------------- [2020-09-01T01:36:29.872Z] stable info: [2020-09-01T01:36:29.872Z] ------------------- [2020-09-01T01:36:29.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T01:36:29.872Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T01:36:29.872Z] Message: update stable to v1.0.115 [2020-09-01T01:36:30.816Z] ------------------- [2020-09-01T01:36:30.816Z] experimental info: [2020-09-01T01:36:30.816Z] ------------------- [2020-09-01T01:36:30.816Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T01:36:30.816Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T01:36:30.816Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T01:36:31.115Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-01T01:36:31.238Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-09-01T01:36:31.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T01:36:31.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T01:36:31.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T01:36:31.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T01:36:31.631Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T01:36:31.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T01:36:31.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-01T01:36:31.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T01:36:31.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T01:36:32.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-09-01T01:36:32.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T01:36:32.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T01:36:32.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T01:36:32.393Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T01:36:32.479Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T01:36:32.558Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T01:36:32.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T01:36:32.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-01T01:36:32.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T01:36:32.880Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T01:36:32.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2020-09-01T01:36:33.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2020-09-01T01:36:33.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2020-09-01T01:36:33.170Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [Pipeline] echo [2020-09-01T01:36:33.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 803f4af [Pipeline] echo [2020-09-01T01:36:33.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:36:33.930Z] + git log --format=format:%s -1 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [Pipeline] echo [2020-09-01T01:36:33.985Z] GIT_COMMIT: 803f4af17ac4cfeac2a76f81a194499d87bf4d0f, Commit Message: Remove unused attribution in Attribution.txt [Pipeline] echo [2020-09-01T01:36:34.026Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:36:34.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:36:34.800Z] [2020-09-01T01:36:34.800Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:36:35.162Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:36:35.162Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T01:36:35.162Z] 31603596830f: Pulling fs layer [2020-09-01T01:36:35.162Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T01:36:35.162Z] 6ca5941a6612: Pulling fs layer [2020-09-01T01:36:35.162Z] ecc8261a40a4: Pulling fs layer [2020-09-01T01:36:35.162Z] ecc8261a40a4: Waiting [2020-09-01T01:36:35.162Z] 2a8b12db71e7: Verifying Checksum [2020-09-01T01:36:35.162Z] 2a8b12db71e7: Download complete [2020-09-01T01:36:35.162Z] 31603596830f: Verifying Checksum [2020-09-01T01:36:35.162Z] 31603596830f: Download complete [2020-09-01T01:36:35.429Z] ecc8261a40a4: Verifying Checksum [2020-09-01T01:36:35.429Z] ecc8261a40a4: Download complete [2020-09-01T01:36:35.429Z] 6ca5941a6612: Verifying Checksum [2020-09-01T01:36:35.429Z] 6ca5941a6612: Download complete [2020-09-01T01:36:35.691Z] 31603596830f: Pull complete [2020-09-01T01:36:35.691Z] 2a8b12db71e7: Pull complete [2020-09-01T01:36:36.637Z] 6ca5941a6612: Pull complete [2020-09-01T01:36:36.637Z] ecc8261a40a4: Pull complete [2020-09-01T01:36:36.637Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T01:36:36.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T01:36:36.637Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T01:36:36.735Z] prd-centos7-docker-4c-2g-968 does not seem to be running inside a container [2020-09-01T01:36:36.787Z] $ 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 [2020-09-01T01:36:39.378Z] $ docker top c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T01:36:39.638Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T01:36:39.638Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T01:36:39.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T01:36:39.862Z] $ docker exec c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent [2020-09-01T01:36:40.032Z] SSH_AUTH_SOCK=/tmp/ssh-XQvQYhPZyUMU/agent.12 [2020-09-01T01:36:40.032Z] SSH_AGENT_PID=17 [2020-09-01T01:36:40.049Z] Running ssh-add (command line suppressed) [2020-09-01T01:36:40.183Z] 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) [2020-09-01T01:36:40.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T01:36:40.572Z] + git describe --exact-match --tags HEAD [2020-09-01T01:36:40.572Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T01:36:40.600Z] $ docker exec --env ******** --env ******** c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent -k [2020-09-01T01:36:40.708Z] unset SSH_AUTH_SOCK; [2020-09-01T01:36:40.709Z] unset SSH_AGENT_PID; [2020-09-01T01:36:40.709Z] echo Agent pid 17 killed; [2020-09-01T01:36:40.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T01:36:40.833Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T01:36:40.833Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T01:36:40.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T01:36:40.959Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T01:36:41.118Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T01:36:41.129Z] $ docker exec c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent [2020-09-01T01:36:41.279Z] SSH_AUTH_SOCK=/tmp/ssh-zVGBFFU0VZCB/agent.46 [2020-09-01T01:36:41.279Z] SSH_AGENT_PID=52 [2020-09-01T01:36:41.285Z] Running ssh-add (command line suppressed) [2020-09-01T01:36:41.410Z] 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) [2020-09-01T01:36:41.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T01:36:41.781Z] + git semver init [2020-09-01T01:36:41.781Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T01:36:41.781Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.git [2020-09-01T01:36:41.781Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-165 [2020-09-01T01:36:41.781Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T01:36:41.781Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T01:36:41.781Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T01:36:41.781Z] # $SEMVER_BRANCH = PR-165 [2020-09-01T01:36:41.781Z] # $SEMVER_TEMP = /tmp/semver-660556609 [2020-09-01T01:36:41.781Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-09-01T01:36:42.354Z] # '/tmp/semver-660556609' -> '/w/workspace/xfoundry_device-modbus-go_PR-165/.semver' [2020-09-01T01:36:42.354Z] # -> Force: false [2020-09-01T01:36:42.354Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-165/.semver [Pipeline] } [2020-09-01T01:36:42.372Z] $ docker exec --env ******** --env ******** c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 ssh-agent -k [2020-09-01T01:36:42.480Z] unset SSH_AUTH_SOCK; [2020-09-01T01:36:42.481Z] unset SSH_AGENT_PID; [2020-09-01T01:36:42.481Z] echo Agent pid 52 killed; [2020-09-01T01:36:42.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T01:36:42.961Z] + git semver [Pipeline] } [2020-09-01T01:36:42.985Z] $ docker stop --time=1 c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 [2020-09-01T01:36:44.312Z] $ docker rm -f c165c5acbee4cf76470b96519187ed68d810eff396652d5d95d81e7a70e92e86 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T01:36:45.027Z] Stashed 26 file(s) [Pipeline] echo [2020-09-01T01:36:45.029Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T01:36:45.130Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-01T01:37:00.512Z] Still waiting to schedule task [2020-09-01T01:37:00.512Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T01:37:00.514Z] Still waiting to schedule task [2020-09-01T01:37:00.514Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-09-01T01:37:19.442Z] Running on prd-centos7-docker-4c-2g-970 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws [2020-09-01T01:37:19.496Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T01:37:22.066Z] using credential edgex-jenkins-ssh [2020-09-01T01:37:22.121Z] Cloning the remote Git repository [2020-09-01T01:37:22.121Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:37:22.812Z] Fetching without tags [2020-09-01T01:37:22.149Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:37:22.212Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-09-01T01:37:22.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:37:22.264Z] > git --version # timeout=10 [2020-09-01T01:37:22.275Z] > git --version # 'git version 2.16.5' [2020-09-01T01:37:22.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:37:22.315Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:37:22.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:37:22.789Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-09-01T01:37:22.797Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:37:22.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:37:22.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:37:22.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:37:22.826Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:37:23.205Z] Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:37:23.286Z] Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:37:23.286Z] Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) [2020-09-01T01:37:23.216Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:37:23.222Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:37:23.256Z] > git remote # timeout=10 [2020-09-01T01:37:23.261Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:37:23.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:37:23.272Z] > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 [2020-09-01T01:37:23.282Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:37:23.291Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:37:23.296Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:37:26.858Z] 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 [2020-09-01T01:37:27.543Z] ========================================================= [2020-09-01T01:37:27.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T01:37:27.543Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:37:28.211Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-01T01:37:28.489Z] Sending build context to Docker daemon 658.4kB [2020-09-01T01:37:28.489Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T01:37:28.489Z] Step 2/8 : FROM ${BASE} [2020-09-01T01:37:28.489Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T01:37:28.489Z] df20fa9351a1: Pulling fs layer [2020-09-01T01:37:28.489Z] ed8968b2872e: Pulling fs layer [2020-09-01T01:37:28.489Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T01:37:28.489Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T01:37:28.489Z] 1e091d79d1de: Pulling fs layer [2020-09-01T01:37:28.489Z] 481702a1767f: Pulling fs layer [2020-09-01T01:37:28.489Z] f64a6f60c768: Pulling fs layer [2020-09-01T01:37:28.489Z] e78d2573fc39: Pulling fs layer [2020-09-01T01:37:28.489Z] e876d2f968b6: Pulling fs layer [2020-09-01T01:37:28.489Z] ce8a83651883: Pulling fs layer [2020-09-01T01:37:28.489Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T01:37:28.489Z] f64a6f60c768: Waiting [2020-09-01T01:37:28.489Z] e78d2573fc39: Waiting [2020-09-01T01:37:28.489Z] e876d2f968b6: Waiting [2020-09-01T01:37:28.489Z] ce8a83651883: Waiting [2020-09-01T01:37:28.489Z] 07967f4d0e4b: Waiting [2020-09-01T01:37:28.489Z] 1e091d79d1de: Waiting [2020-09-01T01:37:28.489Z] 481702a1767f: Waiting [2020-09-01T01:37:28.489Z] a92cc7c5fd73: Verifying Checksum [2020-09-01T01:37:28.489Z] a92cc7c5fd73: Download complete [2020-09-01T01:37:28.489Z] ed8968b2872e: Verifying Checksum [2020-09-01T01:37:28.489Z] ed8968b2872e: Download complete [2020-09-01T01:37:28.489Z] 1e091d79d1de: Verifying Checksum [2020-09-01T01:37:28.489Z] 1e091d79d1de: Download complete [2020-09-01T01:37:28.489Z] 481702a1767f: Verifying Checksum [2020-09-01T01:37:28.489Z] 481702a1767f: Download complete [2020-09-01T01:37:28.489Z] df20fa9351a1: Verifying Checksum [2020-09-01T01:37:28.489Z] df20fa9351a1: Download complete [2020-09-01T01:37:28.766Z] df20fa9351a1: Pull complete [2020-09-01T01:37:29.036Z] ed8968b2872e: Pull complete [2020-09-01T01:37:29.622Z] f64a6f60c768: Verifying Checksum [2020-09-01T01:37:29.622Z] f64a6f60c768: Download complete [2020-09-01T01:37:29.622Z] e876d2f968b6: Verifying Checksum [2020-09-01T01:37:29.622Z] e876d2f968b6: Download complete [2020-09-01T01:37:30.233Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T01:37:30.233Z] 2dd03ba5bac4: Download complete [2020-09-01T01:37:30.233Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T01:37:30.233Z] 07967f4d0e4b: Download complete [2020-09-01T01:37:30.233Z] ce8a83651883: Verifying Checksum [2020-09-01T01:37:30.233Z] ce8a83651883: Download complete [2020-09-01T01:37:30.496Z] e78d2573fc39: Verifying Checksum [2020-09-01T01:37:30.496Z] e78d2573fc39: Download complete [2020-09-01T01:37:30.758Z] a92cc7c5fd73: Pull complete [2020-09-01T01:37:36.112Z] 2dd03ba5bac4: Pull complete [2020-09-01T01:37:36.112Z] 1e091d79d1de: Pull complete [2020-09-01T01:37:36.112Z] 481702a1767f: Pull complete [2020-09-01T01:37:44.338Z] f64a6f60c768: Pull complete [2020-09-01T01:37:46.318Z] e78d2573fc39: Pull complete [2020-09-01T01:37:46.318Z] e876d2f968b6: Pull complete [2020-09-01T01:37:47.271Z] ce8a83651883: Pull complete [2020-09-01T01:37:47.534Z] 07967f4d0e4b: Pull complete [2020-09-01T01:37:47.534Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T01:37:47.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T01:37:47.534Z] ---> 5d7c900382c6 [2020-09-01T01:37:47.534Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-01T01:37:49.454Z] ---> Running in d81f5c9b41a8 [2020-09-01T01:37:49.454Z] Removing intermediate container d81f5c9b41a8 [2020-09-01T01:37:49.454Z] ---> 604e4e3c34d3 [2020-09-01T01:37:49.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:37:49.454Z] ---> Running in 706189d5dfd5 [2020-09-01T01:37:50.850Z] Removing intermediate container 706189d5dfd5 [2020-09-01T01:37:50.850Z] ---> b78bf6347082 [2020-09-01T01:37:50.850Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T01:37:50.850Z] ---> Running in 4f687179a3cc [2020-09-01T01:37:51.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T01:37:52.375Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T01:37:52.950Z] (1/14) Installing libmagic (5.38-r0) [2020-09-01T01:37:52.950Z] (2/14) Installing file (5.38-r0) [2020-09-01T01:37:53.216Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-01T01:37:53.216Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-01T01:37:56.520Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-01T01:37:56.520Z] (6/14) Installing patch (2.7.6-r6) [2020-09-01T01:37:56.520Z] (7/14) Installing build-base (0.5-r2) [2020-09-01T01:37:56.520Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-01T01:37:57.095Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-01T01:37:57.095Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-01T01:37:57.365Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-01T01:37:57.626Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-01T01:37:57.626Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-01T01:37:57.626Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-01T01:37:57.886Z] Executing busybox-1.31.1-r16.trigger [2020-09-01T01:37:57.886Z] OK: 237 MiB in 53 packages [2020-09-01T01:38:01.192Z] Removing intermediate container 4f687179a3cc [2020-09-01T01:38:01.192Z] ---> c58927123979 [2020-09-01T01:38:01.192Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-01T01:38:01.192Z] ---> Running in 85423def9973 [2020-09-01T01:38:01.454Z] Removing intermediate container 85423def9973 [2020-09-01T01:38:01.454Z] ---> b451d8db2569 [2020-09-01T01:38:01.454Z] Step 7/8 : COPY . . [2020-09-01T01:38:02.400Z] ---> f7876fa54c2e [2020-09-01T01:38:02.400Z] Step 8/8 : RUN go mod download [2020-09-01T01:38:02.400Z] ---> Running in 3a6a15c497d2 [2020-09-01T01:38:04.951Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:38:04.951Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:38:04.951Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T01:38:04.951Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:38:04.951Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T01:38:04.951Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T01:38:04.951Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:38:04.951Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:38:04.951Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:38:04.951Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T01:38:04.951Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:38:04.951Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:38:05.211Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:38:05.211Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T01:38:05.211Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T01:38:05.211Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T01:38:05.211Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T01:38:05.211Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T01:38:05.211Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:38:05.211Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T01:38:05.473Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:38:05.733Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T01:38:05.993Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T01:38:05.993Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T01:38:05.993Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:38:05.993Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T01:38:05.993Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T01:38:05.993Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T01:38:05.993Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-01T01:38:05.993Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T01:38:06.254Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T01:38:06.514Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:38:06.514Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:38:06.514Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T01:38:06.514Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:38:06.514Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:38:06.514Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T01:38:06.775Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T01:38:06.775Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-01T01:38:06.775Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T01:38:06.775Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T01:38:06.775Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T01:38:06.775Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T01:38:06.775Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:38:07.037Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T01:38:07.037Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-01T01:38:07.037Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T01:38:07.037Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T01:38:07.037Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T01:38:07.037Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:38:15.197Z] Removing intermediate container 3a6a15c497d2 [2020-09-01T01:38:15.198Z] ---> 7fdf77dc341a [2020-09-01T01:38:15.198Z] Successfully built 7fdf77dc341a [2020-09-01T01:38:15.198Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:38:15.879Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T01:38:15.879Z] . [Pipeline] withDockerContainer [2020-09-01T01:38:15.978Z] prd-centos7-docker-4c-2g-970 does not seem to be running inside a container [2020-09-01T01:38:16.025Z] $ 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 [2020-09-01T01:38:17.251Z] $ docker top d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T01:38:17.785Z] + go version [2020-09-01T01:38:17.786Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T01:38:18.086Z] + make test [2020-09-01T01:38:18.086Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-01T01:38:19.055Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-01T01:38:27.301Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-01T01:38:27.879Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.228s coverage: 50.3% of statements [2020-09-01T01:38:28.144Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T01:38:30.744Z] gofmt -l . [2020-09-01T01:38:30.744Z] [ "`gofmt -l .`" = "" ] [2020-09-01T01:38:30.744Z] ./bin/test-attribution-txt.sh [2020-09-01T01:38:30.744Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T01:38:31.396Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T01:38:31.407Z] $ docker stop --time=1 d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 [2020-09-01T01:38:33.627Z] $ docker rm -f d34df133e6907c61a25d934d58bd13d9e036dba14108db2444eda510060b4831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:38:35.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T01:38:36.074Z] + ls -al . [2020-09-01T01:38:36.074Z] total 104 [2020-09-01T01:38:36.074Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 1 01:38 . [2020-09-01T01:38:36.074Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 1 01:37 .. [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 4564 Sep 1 01:37 Attribution.txt [2020-09-01T01:38:36.074Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 1 01:37 bin [2020-09-01T01:38:36.074Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 1 01:37 cmd [2020-09-01T01:38:36.074Z] -rw-r--r--. 1 jenkins jenkins 22364 Sep 1 01:38 coverage.out [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 1430 Sep 1 01:37 Dockerfile [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 954 Sep 1 01:37 Dockerfile.build [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 01:37 .dockerignore [2020-09-01T01:38:36.074Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 01:37 .git [2020-09-01T01:38:36.074Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 01:37 .github [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 330 Sep 1 01:37 .gitignore [2020-09-01T01:38:36.074Z] -rw-r--r--. 1 jenkins jenkins 559 Sep 1 01:38 go.mod [2020-09-01T01:38:36.074Z] -rw-r--r--. 1 jenkins jenkins 13471 Sep 1 01:38 go.sum [2020-09-01T01:38:36.074Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 1 01:37 internal [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 702 Sep 1 01:37 Jenkinsfile [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 1 01:37 LICENSE [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 880 Sep 1 01:37 Makefile [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 591 Sep 1 01:37 README.md [2020-09-01T01:38:36.074Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 01:37 .semver [2020-09-01T01:38:36.074Z] drwxrwxr-x. 2 jenkins jenkins 35 Sep 1 01:37 simulator [2020-09-01T01:38:36.074Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 01:37 snap [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 01:36 VERSION [2020-09-01T01:38:36.074Z] -rw-rw-r--. 1 jenkins jenkins 229 Sep 1 01:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:38:36.377Z] + 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 . [2020-09-01T01:38:36.377Z] Sending build context to Docker daemon 689.7kB [2020-09-01T01:38:36.377Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-09-01T01:38:36.377Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-01T01:38:36.377Z] ---> 7fdf77dc341a [2020-09-01T01:38:36.377Z] Step 3/20 : ARG MAKE='make build' [2020-09-01T01:38:36.644Z] ---> Running in efdefde8ffa7 [2020-09-01T01:38:36.644Z] Removing intermediate container efdefde8ffa7 [2020-09-01T01:38:36.644Z] ---> bbd90c09b1b0 [2020-09-01T01:38:36.644Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:38:36.946Z] ---> Running in b8c4c481a22d [2020-09-01T01:38:37.684Z] Removing intermediate container b8c4c481a22d [2020-09-01T01:38:37.684Z] ---> 00ac87fc6c66 [2020-09-01T01:38:37.684Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T01:38:37.684Z] ---> Running in 01a8d195af68 [2020-09-01T01:38:38.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T01:38:39.176Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T01:38:39.799Z] OK: 237 MiB in 53 packages [2020-09-01T01:38:40.379Z] Removing intermediate container 01a8d195af68 [2020-09-01T01:38:40.379Z] ---> 63acdf37143f [2020-09-01T01:38:40.379Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-01T01:38:40.379Z] ---> Running in b569292ec609 [2020-09-01T01:38:40.723Z] Removing intermediate container b569292ec609 [2020-09-01T01:38:40.723Z] ---> 0b338e9ec276 [2020-09-01T01:38:40.723Z] Step 7/20 : COPY . . [2020-09-01T01:38:41.443Z] ---> f295b04c86ce [2020-09-01T01:38:41.443Z] Step 8/20 : RUN ${MAKE} [2020-09-01T01:38:41.443Z] ---> Running in f82d54f80223 [2020-09-01T01:38:41.747Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-01T01:38:50.163Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T01:38:53.524Z] Removing intermediate container f82d54f80223 [2020-09-01T01:38:53.524Z] ---> bc7e59ae82fc [2020-09-01T01:38:53.524Z] Step 9/20 : FROM scratch [2020-09-01T01:38:53.524Z] ---> [2020-09-01T01:38:53.524Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-01T01:38:53.524Z] ---> Running in 74c51fdd8909 [2020-09-01T01:38:53.524Z] Removing intermediate container 74c51fdd8909 [2020-09-01T01:38:53.524Z] ---> 08130e756552 [2020-09-01T01:38:53.524Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-01T01:38:53.524Z] ---> Running in 3569d880e642 [2020-09-01T01:38:53.524Z] Removing intermediate container 3569d880e642 [2020-09-01T01:38:53.524Z] ---> a1922eceb522 [2020-09-01T01:38:53.524Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-01T01:38:54.109Z] ---> 20f5e85c7841 [2020-09-01T01:38:54.110Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-01T01:38:54.110Z] ---> 6f85e9c918c4 [2020-09-01T01:38:54.110Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-01T01:38:54.381Z] ---> 356a7fd99c7c [2020-09-01T01:38:54.381Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-01T01:38:54.381Z] ---> Running in 35f724f9ec9d [2020-09-01T01:38:54.647Z] Removing intermediate container 35f724f9ec9d [2020-09-01T01:38:54.647Z] ---> fed1611657ba [2020-09-01T01:38:54.647Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-01T01:38:54.647Z] ---> Running in edc1cf18c439 [2020-09-01T01:38:54.920Z] Removing intermediate container edc1cf18c439 [2020-09-01T01:38:54.920Z] ---> 775ba803420f [2020-09-01T01:38:54.920Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T01:38:54.920Z] ---> Running in 5bfa70c763dc [2020-09-01T01:38:55.186Z] Removing intermediate container 5bfa70c763dc [2020-09-01T01:38:55.186Z] ---> f0089460cedf [2020-09-01T01:38:55.186Z] Step 18/20 : LABEL arch=amd64 [2020-09-01T01:38:55.186Z] ---> Running in cf0a2ab595b5 [2020-09-01T01:38:55.186Z] Removing intermediate container cf0a2ab595b5 [2020-09-01T01:38:55.186Z] ---> 7f198a7ae9ef [2020-09-01T01:38:55.186Z] Step 19/20 : LABEL git_sha=803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:38:55.454Z] ---> Running in 3362ea3fefc2 [2020-09-01T01:38:55.454Z] Removing intermediate container 3362ea3fefc2 [2020-09-01T01:38:55.454Z] ---> eec81e2e9f12 [2020-09-01T01:38:55.454Z] Step 20/20 : LABEL version=0.0.0 [2020-09-01T01:38:55.731Z] ---> Running in 64c5d5f94338 [2020-09-01T01:38:55.731Z] Removing intermediate container 64c5d5f94338 [2020-09-01T01:38:55.731Z] ---> 67772a7a486a [2020-09-01T01:38:55.731Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T01:38:55.731Z] Successfully built 67772a7a486a [2020-09-01T01:38:55.731Z] 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 [2020-09-01T01:39:11.210Z] Still waiting to schedule task [2020-09-01T01:39:11.210Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-09-01T01:39:34.839Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-973 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws [2020-09-01T01:39:34.960Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T01:39:39.996Z] using credential edgex-jenkins-ssh [2020-09-01T01:39:40.073Z] Cloning the remote Git repository [2020-09-01T01:39:40.073Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:39:40.149Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:39:40.257Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-09-01T01:39:40.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:39:40.330Z] > git --version # timeout=10 [2020-09-01T01:39:40.346Z] > git --version # 'git version 2.17.1' [2020-09-01T01:39:40.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:39:40.429Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:39:41.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:39:41.191Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-09-01T01:39:41.258Z] Fetching without tags [2020-09-01T01:39:41.752Z] Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:39:42.045Z] Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:39:42.046Z] Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) [2020-09-01T01:39:41.216Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:39:41.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:39:41.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:39:41.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:39:41.293Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:39:41.784Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:39:41.808Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:39:41.899Z] > git remote # timeout=10 [2020-09-01T01:39:41.921Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:39:41.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:39:41.945Z] > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 [2020-09-01T01:39:42.011Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:39:42.059Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:39:42.095Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:39:46.587Z] 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 [2020-09-01T01:39:47.700Z] ========================================================= [2020-09-01T01:39:47.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T01:39:47.700Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:39:48.937Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-01T01:39:49.952Z] Sending build context to Docker daemon 658.4kB [2020-09-01T01:39:49.952Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T01:39:49.952Z] Step 2/8 : FROM ${BASE} [2020-09-01T01:39:50.232Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T01:39:50.232Z] b538f80385f9: Pulling fs layer [2020-09-01T01:39:50.232Z] 74f711af9a0d: Pulling fs layer [2020-09-01T01:39:50.232Z] 99f96fe45779: Pulling fs layer [2020-09-01T01:39:50.232Z] fd7a069fd194: Pulling fs layer [2020-09-01T01:39:50.232Z] 66aa3694b03b: Pulling fs layer [2020-09-01T01:39:50.232Z] 170f70906a0f: Pulling fs layer [2020-09-01T01:39:50.232Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T01:39:50.232Z] e772456be8f7: Pulling fs layer [2020-09-01T01:39:50.232Z] c890913d741a: Pulling fs layer [2020-09-01T01:39:50.232Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T01:39:50.232Z] 09adf4765672: Pulling fs layer [2020-09-01T01:39:50.232Z] 66aa3694b03b: Waiting [2020-09-01T01:39:50.232Z] 170f70906a0f: Waiting [2020-09-01T01:39:50.232Z] ad7c5574e4b9: Waiting [2020-09-01T01:39:50.232Z] e772456be8f7: Waiting [2020-09-01T01:39:50.232Z] c890913d741a: Waiting [2020-09-01T01:39:50.232Z] 2480fcc9aa5a: Waiting [2020-09-01T01:39:50.232Z] 09adf4765672: Waiting [2020-09-01T01:39:50.232Z] fd7a069fd194: Waiting [2020-09-01T01:39:50.232Z] 99f96fe45779: Verifying Checksum [2020-09-01T01:39:50.232Z] 99f96fe45779: Download complete [2020-09-01T01:39:50.232Z] 74f711af9a0d: Verifying Checksum [2020-09-01T01:39:50.232Z] 74f711af9a0d: Download complete [2020-09-01T01:39:50.232Z] 66aa3694b03b: Download complete [2020-09-01T01:39:50.232Z] 170f70906a0f: Verifying Checksum [2020-09-01T01:39:50.232Z] 170f70906a0f: Download complete [2020-09-01T01:39:50.232Z] b538f80385f9: Verifying Checksum [2020-09-01T01:39:51.235Z] b538f80385f9: Pull complete [2020-09-01T01:39:52.232Z] 74f711af9a0d: Pull complete [2020-09-01T01:39:52.836Z] 99f96fe45779: Pull complete [2020-09-01T01:39:52.836Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T01:39:52.836Z] ad7c5574e4b9: Download complete [2020-09-01T01:39:52.836Z] c890913d741a: Verifying Checksum [2020-09-01T01:39:52.836Z] c890913d741a: Download complete [2020-09-01T01:39:54.814Z] 2480fcc9aa5a: Download complete [2020-09-01T01:39:54.814Z] 09adf4765672: Verifying Checksum [2020-09-01T01:39:55.087Z] e772456be8f7: Download complete [2020-09-01T01:39:56.529Z] fd7a069fd194: Verifying Checksum [2020-09-01T01:39:56.529Z] fd7a069fd194: Download complete [2020-09-01T01:40:04.826Z] Running on prd-centos7-docker-8c-8g-974 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws [2020-09-01T01:40:04.874Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T01:40:06.655Z] using credential edgex-jenkins-ssh [2020-09-01T01:40:06.712Z] Cloning the remote Git repository [2020-09-01T01:40:06.712Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:40:06.468Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:40:06.528Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-09-01T01:40:06.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:40:06.547Z] > git --version # timeout=10 [2020-09-01T01:40:06.552Z] > git --version # 'git version 2.16.5' [2020-09-01T01:40:06.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:40:06.572Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:40:07.288Z] Fetching without tags [2020-09-01T01:40:07.689Z] Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:40:07.747Z] Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:40:07.748Z] Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) [2020-09-01T01:40:07.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:40:07.056Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-09-01T01:40:07.060Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:40:07.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:40:07.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:40:07.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:40:07.079Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:40:07.514Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:40:07.517Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:40:07.545Z] > git remote # timeout=10 [2020-09-01T01:40:07.549Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:40:07.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:40:07.556Z] > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 [2020-09-01T01:40:07.564Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:40:07.573Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:40:07.576Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:40:08.959Z] fd7a069fd194: Pull complete [2020-09-01T01:40:08.959Z] 66aa3694b03b: Pull complete [2020-09-01T01:40:08.959Z] 170f70906a0f: Pull complete [2020-09-01T01:40:11.103Z] Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { [2020-09-01T01:40:11.587Z] ad7c5574e4b9: Pull complete [Pipeline] sh [2020-09-01T01:40:12.415Z] ++ find /w/workspace/device-modbus-go/4 [2020-09-01T01:40:12.415Z] ++ grep snapcraft.yaml [2020-09-01T01:40:12.415Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T01:40:12.533Z] provisioning config files... [2020-09-01T01:40:12.547Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config6028391674072493717tmp [Pipeline] { [Pipeline] sh [2020-09-01T01:40:12.904Z] + cp /w/workspace/device-modbus-go/4@tmp/config6028391674072493717tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh [2020-09-01T01:40:13.198Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-09-01T01:40:13.198Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-09-01T01:40:13.198Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-09-01T01:40:13.198Z] f08d8e2a3ba1: Pulling fs layer [2020-09-01T01:40:13.198Z] 3baa9cb2483b: Pulling fs layer [2020-09-01T01:40:13.198Z] 94e5ff4c0b15: Pulling fs layer [2020-09-01T01:40:13.198Z] 1860925334f9: Pulling fs layer [2020-09-01T01:40:13.198Z] 2daf38717194: Pulling fs layer [2020-09-01T01:40:13.198Z] 309017e8d7a4: Pulling fs layer [2020-09-01T01:40:13.198Z] f7790dc9fd0f: Pulling fs layer [2020-09-01T01:40:13.198Z] cac0ae9282c2: Pulling fs layer [2020-09-01T01:40:13.198Z] 1f4cadf9a1ed: Pulling fs layer [2020-09-01T01:40:13.198Z] 2daf38717194: Waiting [2020-09-01T01:40:13.198Z] cac0ae9282c2: Waiting [2020-09-01T01:40:13.198Z] 1f4cadf9a1ed: Waiting [2020-09-01T01:40:13.198Z] 309017e8d7a4: Waiting [2020-09-01T01:40:13.198Z] f7790dc9fd0f: Waiting [2020-09-01T01:40:13.198Z] 1860925334f9: Waiting [2020-09-01T01:40:13.198Z] 94e5ff4c0b15: Verifying Checksum [2020-09-01T01:40:13.198Z] 94e5ff4c0b15: Download complete [2020-09-01T01:40:13.198Z] 3baa9cb2483b: Download complete [2020-09-01T01:40:13.462Z] 1860925334f9: Verifying Checksum [2020-09-01T01:40:13.462Z] 1860925334f9: Download complete [2020-09-01T01:40:13.462Z] 309017e8d7a4: Verifying Checksum [2020-09-01T01:40:13.462Z] 309017e8d7a4: Download complete [2020-09-01T01:40:13.462Z] f7790dc9fd0f: Download complete [2020-09-01T01:40:13.462Z] cac0ae9282c2: Verifying Checksum [2020-09-01T01:40:13.462Z] cac0ae9282c2: Download complete [2020-09-01T01:40:13.462Z] 1f4cadf9a1ed: Verifying Checksum [2020-09-01T01:40:13.462Z] 1f4cadf9a1ed: Download complete [2020-09-01T01:40:13.462Z] f08d8e2a3ba1: Verifying Checksum [2020-09-01T01:40:13.462Z] f08d8e2a3ba1: Download complete [2020-09-01T01:40:14.857Z] f08d8e2a3ba1: Pull complete [2020-09-01T01:40:14.857Z] 3baa9cb2483b: Pull complete [2020-09-01T01:40:14.857Z] 94e5ff4c0b15: Pull complete [2020-09-01T01:40:15.117Z] 1860925334f9: Pull complete [2020-09-01T01:40:15.894Z] e772456be8f7: Pull complete [2020-09-01T01:40:16.171Z] c890913d741a: Pull complete [2020-09-01T01:40:17.028Z] 2daf38717194: Verifying Checksum [2020-09-01T01:40:17.028Z] 2daf38717194: Download complete [2020-09-01T01:40:18.800Z] 2480fcc9aa5a: Pull complete [2020-09-01T01:40:19.075Z] 09adf4765672: Pull complete [2020-09-01T01:40:19.075Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T01:40:19.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T01:40:19.075Z] ---> 2248a725d1cf [2020-09-01T01:40:19.075Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-01T01:40:23.364Z] ---> Running in 6bf1d2eaf621 [2020-09-01T01:40:23.957Z] Removing intermediate container 6bf1d2eaf621 [2020-09-01T01:40:23.957Z] ---> afaf99d16cdb [2020-09-01T01:40:23.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:40:23.957Z] ---> Running in dcbb8595a7bf [2020-09-01T01:40:26.572Z] Removing intermediate container dcbb8595a7bf [2020-09-01T01:40:26.573Z] ---> de4e688bb69a [2020-09-01T01:40:26.573Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T01:40:26.573Z] ---> Running in e970fa906477 [2020-09-01T01:40:27.997Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T01:40:28.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T01:40:29.561Z] (1/14) Installing libmagic (5.38-r0) [2020-09-01T01:40:29.831Z] (2/14) Installing file (5.38-r0) [2020-09-01T01:40:29.831Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-01T01:40:29.831Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-01T01:40:35.136Z] 2daf38717194: Pull complete [2020-09-01T01:40:35.136Z] 309017e8d7a4: Pull complete [2020-09-01T01:40:35.136Z] f7790dc9fd0f: Pull complete [2020-09-01T01:40:35.136Z] cac0ae9282c2: Pull complete [2020-09-01T01:40:35.136Z] 1f4cadf9a1ed: Pull complete [2020-09-01T01:40:35.136Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-09-01T01:40:35.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-09-01T01:40:36.512Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-01T01:40:36.512Z] (6/14) Installing patch (2.7.6-r6) [2020-09-01T01:40:36.512Z] (7/14) Installing build-base (0.5-r2) [2020-09-01T01:40:36.519Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-09-01T01:40:36.779Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-09-01T01:40:36.779Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-09-01T01:40:36.784Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-01T01:40:36.784Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-01T01:40:36.784Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-01T01:40:37.039Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-09-01T01:40:37.298Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1346 kB] [2020-09-01T01:40:37.376Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-01T01:40:37.376Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-01T01:40:37.376Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-01T01:40:37.558Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1419 kB] [2020-09-01T01:40:37.647Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-01T01:40:37.647Z] Executing busybox-1.31.1-r16.trigger [2020-09-01T01:40:37.817Z] Fetched 3017 kB in 1s (2242 kB/s) [2020-09-01T01:40:37.919Z] OK: 221 MiB in 53 packages [2020-09-01T01:40:39.198Z] Reading package lists... [2020-09-01T01:40:42.235Z] Removing intermediate container e970fa906477 [2020-09-01T01:40:42.235Z] ---> b5461f1883df [2020-09-01T01:40:42.235Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-01T01:40:42.492Z] 0% [Working] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-09-01T01:40:42.492Z] 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-09-01T01:40:42.510Z] ---> Running in fc0cecdc7a07 [2020-09-01T01:40:42.751Z] 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 [2020-09-01T01:40:42.751Z] 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 [2020-09-01T01:40:43.012Z] 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) [2020-09-01T01:40:43.106Z] Removing intermediate container fc0cecdc7a07 [2020-09-01T01:40:43.106Z] ---> b934e2f1705c [2020-09-01T01:40:43.106Z] Step 7/8 : COPY . . [2020-09-01T01:40:44.084Z] ---> 71c89e530c38 [2020-09-01T01:40:44.084Z] Step 8/8 : RUN go mod download [2020-09-01T01:40:44.100Z] 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 [2020-09-01T01:40:44.359Z] ---> Running in 2af897f52fef [2020-09-01T01:40:46.007Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T01:40:47.097Z] 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 [2020-09-01T01:40:47.357Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-09-01T01:40:47.357Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-01T01:40:47.357Z] The following packages were automatically installed and are no longer required: [2020-09-01T01:40:47.357Z] libjq1 libonig4 [2020-09-01T01:40:47.357Z] Use 'sudo apt autoremove' to remove them. [2020-09-01T01:40:47.357Z] Suggested packages: [2020-09-01T01:40:47.357Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-01T01:40:47.357Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-01T01:40:47.357Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-01T01:40:47.357Z] | libterm-readline-perl-perl [2020-09-01T01:40:47.617Z] The following NEW packages will be installed: [2020-09-01T01:40:47.617Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-01T01:40:47.617Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T01:40:47.617Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-09-01T01:40:47.617Z] Need to get 12.0 MB of archives. [2020-09-01T01:40:47.617Z] After this operation, 77.5 MB of additional disk space will be used. [2020-09-01T01:40:47.741Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:40:47.741Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:40:47.741Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T01:40:47.741Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:40:47.741Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T01:40:47.741Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T01:40:47.876Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-09-01T01:40:48.015Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:40:48.015Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T01:40:48.015Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:40:48.015Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:40:48.015Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:40:48.015Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:40:48.015Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:40:48.290Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:40:48.290Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T01:40:48.290Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:40:48.290Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:40:48.290Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:40:48.290Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T01:40:48.455Z] 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] [2020-09-01T01:40:48.455Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-09-01T01:40:48.456Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-09-01T01:40:48.562Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T01:40:48.562Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T01:40:48.562Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T01:40:48.562Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T01:40:48.562Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:40:48.562Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:40:48.562Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.716Z] 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] [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:40:48.835Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-01T01:40:48.976Z] 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] [2020-09-01T01:40:48.976Z] 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] [2020-09-01T01:40:48.976Z] 98% [14 patch 0 B/102 kB 0%] 100% [Working] Fetched 12.0 MB in 1s (9127 kB/s) [2020-09-01T01:40:48.976Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T01:40:49.107Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T01:40:49.237Z] Selecting previously unselected package perl-modules-5.26. [2020-09-01T01:40:49.237Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-09-01T01:40:49.237Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-01T01:40:49.237Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:49.379Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T01:40:49.379Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:40:49.379Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T01:40:49.379Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T01:40:49.379Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T01:40:49.379Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-01T01:40:49.652Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T01:40:49.924Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T01:40:49.924Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:40:49.924Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:40:49.924Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T01:40:49.924Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:40:49.924Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:40:49.924Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T01:40:50.175Z] Selecting previously unselected package libgdbm5:amd64. [2020-09-01T01:40:50.175Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-09-01T01:40:50.175Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-09-01T01:40:50.175Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-09-01T01:40:50.175Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-09-01T01:40:50.175Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-01T01:40:50.175Z] Selecting previously unselected package libperl5.26:amd64. [2020-09-01T01:40:50.175Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-01T01:40:50.175Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:50.197Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T01:40:50.197Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-01T01:40:50.197Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T01:40:50.197Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T01:40:50.197Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T01:40:50.197Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T01:40:50.469Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:40:50.469Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T01:40:50.469Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-01T01:40:50.469Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T01:40:50.469Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T01:40:50.469Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T01:40:50.469Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:40:51.113Z] Selecting previously unselected package perl. [2020-09-01T01:40:51.113Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-01T01:40:51.113Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:51.114Z] Selecting previously unselected package less. [2020-09-01T01:40:51.114Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-09-01T01:40:51.114Z] Unpacking less (487-0.1) ... [2020-09-01T01:40:51.114Z] Selecting previously unselected package netbase. [2020-09-01T01:40:51.114Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-01T01:40:51.114Z] Unpacking netbase (5.4) ... [2020-09-01T01:40:51.114Z] Selecting previously unselected package curl. [2020-09-01T01:40:51.114Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-01T01:40:51.114Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-01T01:40:51.375Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-09-01T01:40:51.375Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-01T01:40:51.375Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-01T01:40:51.375Z] Selecting previously unselected package liberror-perl. [2020-09-01T01:40:51.375Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-01T01:40:51.375Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-01T01:40:51.375Z] Selecting previously unselected package git-man. [2020-09-01T01:40:51.375Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-01T01:40:51.375Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:40:51.635Z] Selecting previously unselected package git. [2020-09-01T01:40:51.635Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-09-01T01:40:51.635Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:40:52.205Z] Selecting previously unselected package make. [2020-09-01T01:40:52.205Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-09-01T01:40:52.205Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-01T01:40:52.205Z] Selecting previously unselected package patch. [2020-09-01T01:40:52.205Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-09-01T01:40:52.205Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-01T01:40:52.205Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:40:52.205Z] Setting up less (487-0.1) ... [2020-09-01T01:40:52.464Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-01T01:40:52.464Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-01T01:40:52.464Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-01T01:40:52.464Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:52.464Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-09-01T01:40:52.464Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-01T01:40:52.724Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-01T01:40:52.724Z] Setting up netbase (5.4) ... [2020-09-01T01:40:52.724Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:52.724Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-01T01:40:52.724Z] Setting up liberror-perl (0.17025-1) ... [2020-09-01T01:40:52.724Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:40:52.724Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-01T01:40:52.724Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-01T01:40:54.632Z] curl set to automatically installed. [2020-09-01T01:40:54.632Z] git set to automatically installed. [2020-09-01T01:40:54.632Z] git-man set to automatically installed. [2020-09-01T01:40:54.632Z] less set to automatically installed. [2020-09-01T01:40:54.632Z] libcurl3-gnutls set to automatically installed. [2020-09-01T01:40:54.632Z] liberror-perl set to automatically installed. [2020-09-01T01:40:54.633Z] libgdbm-compat4 set to automatically installed. [2020-09-01T01:40:54.633Z] libgdbm5 set to automatically installed. [2020-09-01T01:40:54.633Z] libperl5.26 set to automatically installed. [2020-09-01T01:40:54.633Z] make set to automatically installed. [2020-09-01T01:40:54.633Z] netbase set to automatically installed. [2020-09-01T01:40:54.633Z] patch set to automatically installed. [2020-09-01T01:40:54.633Z] perl set to automatically installed. [2020-09-01T01:40:54.633Z] perl-modules-5.26 set to automatically installed. [2020-09-01T01:40:54.633Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-01T01:40:54.633Z] Please ensure the environment is properly setup before continuing. [2020-09-01T01:40:54.633Z] Ignore this message if the appropriate measures have already been taken [2020-09-01T01:40:54.891Z] Pulling go  [2020-09-01T01:40:55.829Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-01T01:40:55.829Z] Skipping pull go (already ran) [2020-09-01T01:40:55.829Z] Building go  [2020-09-01T01:40:55.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-01T01:40:55.829Z] Dload Upload Total Spent Left Speed [2020-09-01T01:40:58.239Z] 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 [2020-09-01T01:40:59.186Z] go1.13.5.linux-amd64.tar.gz: OK [2020-09-01T01:41:00.612Z] Removing intermediate container 2af897f52fef [2020-09-01T01:41:00.612Z] ---> 0e269faec22a [2020-09-01T01:41:00.612Z] Successfully built 0e269faec22a [2020-09-01T01:41:00.612Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:41:01.433Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T01:41:01.433Z] . [Pipeline] withDockerContainer [2020-09-01T01:41:01.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-973 does not seem to be running inside a container [2020-09-01T01:41:01.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-01T01:41:03.695Z] $ docker top e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T01:41:05.129Z] + go version [2020-09-01T01:41:05.129Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T01:41:05.763Z] Staging go  [2020-09-01T01:41:05.763Z] Pulling device-modbus  [2020-09-01T01:41:06.196Z] + make test [2020-09-01T01:41:06.196Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-01T01:41:06.333Z] Skipping build go (already ran) [2020-09-01T01:41:06.333Z] Building device-modbus  [2020-09-01T01:41:06.333Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd [2020-09-01T01:41:07.218Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-01T01:41:07.715Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:41:07.715Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:41:07.715Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-01T01:41:07.715Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-09-01T01:41:07.715Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-01T01:41:07.715Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:41:07.715Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:41:07.715Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-01T01:41:07.715Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-01T01:41:07.715Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:41:07.715Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-01T01:41:07.715Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:41:07.715Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:41:07.715Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-09-01T01:41:07.715Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:41:07.974Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:41:07.974Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-01T01:41:07.974Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:41:07.974Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:41:07.974Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-01T01:41:07.974Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:41:07.974Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:41:07.974Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:41:07.974Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:41:07.974Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/google/uuid v1.1.1 [2020-09-01T01:41:07.974Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/pkg/errors v0.8.1 [2020-09-01T01:41:07.974Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:41:07.974Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:41:07.974Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:41:07.974Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:41:07.974Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:41:07.974Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:41:07.974Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:41:07.974Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:41:07.974Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:41:07.974Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-01T01:41:07.974Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:41:07.974Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:41:07.974Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:41:07.974Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:41:07.974Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:41:07.974Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-01T01:41:07.974Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:41:07.974Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-09-01T01:41:07.974Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:41:07.974Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:41:07.974Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:41:07.974Z] go: extracting github.com/x448/float16 v0.8.4 [2020-09-01T01:41:08.233Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:41:08.233Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:41:08.233Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:41:08.233Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:41:08.233Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:41:08.233Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:41:08.233Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:41:08.233Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:41:08.233Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:41:08.233Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T01:41:08.233Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T01:41:08.233Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:41:08.233Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:41:08.233Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:41:08.233Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T01:41:08.233Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:41:08.233Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:41:08.495Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:41:08.495Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:41:08.495Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:41:08.495Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:41:08.495Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:41:08.495Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:41:08.495Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:41:08.495Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:41:08.495Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:41:08.495Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:41:08.495Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:41:08.495Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:41:08.495Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:41:08.495Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:41:08.495Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:41:08.495Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:41:13.795Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T01:41:17.088Z] Skipping stage go (already ran) [2020-09-01T01:41:17.088Z] Staging device-modbus  [2020-09-01T01:41:18.028Z] Priming go  [2020-09-01T01:41:18.597Z] Priming device-modbus  [2020-09-01T01:41:19.541Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-01T01:41:19.541Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-01T01:41:19.541Z] Determining the version from the project repo (version-script). [2020-09-01T01:41:19.541Z] The version has been set to '1.2.1-20200901+803f4af' [2020-09-01T01:41:20.090Z] Snapping | Snapping / Snapping - Snapping | [2020-09-01T01:41:20.090Z] Snapped edgex-device-modbus_1.2.1-20200901+803f4af_amd64.snap [Pipeline] } [2020-09-01T01:41:22.643Z] 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] } [2020-09-01T01:41:39.657Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-01T01:41:39.657Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.363s coverage: 50.3% of statements [2020-09-01T01:41:39.657Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T01:41:43.976Z] gofmt -l . [2020-09-01T01:41:43.976Z] [ "`gofmt -l .`" = "" ] [2020-09-01T01:41:43.976Z] ./bin/test-attribution-txt.sh [2020-09-01T01:41:44.252Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T01:41:44.635Z] Warning: overwriting stash ‘coverage-report’ [2020-09-01T01:41:45.352Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T01:41:45.362Z] $ docker stop --time=1 e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba [2020-09-01T01:41:47.500Z] $ docker rm -f e94e084e44868d973b2944fd8258c254d4090b0e76ab9d51f64672e49933e0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T01:41:48.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T01:41:49.109Z] + ls -al . [2020-09-01T01:41:49.109Z] total 140 [2020-09-01T01:41:49.109Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 01:41 . [2020-09-01T01:41:49.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:39 .. [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 01:39 .dockerignore [2020-09-01T01:41:49.109Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:39 .git [2020-09-01T01:41:49.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 .github [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 330 Sep 1 01:39 .gitignore [2020-09-01T01:41:49.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 .semver [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 4564 Sep 1 01:39 Attribution.txt [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 1430 Sep 1 01:39 Dockerfile [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 954 Sep 1 01:39 Dockerfile.build [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 702 Sep 1 01:39 Jenkinsfile [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 1 01:39 LICENSE [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 1 01:39 Makefile [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 591 Sep 1 01:39 README.md [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:36 VERSION [2020-09-01T01:41:49.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 bin [2020-09-01T01:41:49.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 cmd [2020-09-01T01:41:49.109Z] -rw-r--r-- 1 jenkins jenkins 22364 Sep 1 01:41 coverage.out [2020-09-01T01:41:49.109Z] -rw-r--r-- 1 jenkins jenkins 559 Sep 1 01:41 go.mod [2020-09-01T01:41:49.109Z] -rw-r--r-- 1 jenkins jenkins 13471 Sep 1 01:41 go.sum [2020-09-01T01:41:49.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:39 internal [2020-09-01T01:41:49.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:39 simulator [2020-09-01T01:41:49.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:39 snap [2020-09-01T01:41:49.109Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 1 01:39 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:41:49.459Z] + 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 . [2020-09-01T01:41:49.730Z] Sending build context to Docker daemon 689.7kB [2020-09-01T01:41:49.730Z] Step 1/20 : ARG BASE=golang:1.13-alpine [2020-09-01T01:41:49.730Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-01T01:41:49.730Z] ---> 0e269faec22a [2020-09-01T01:41:49.730Z] Step 3/20 : ARG MAKE='make build' [2020-09-01T01:41:50.006Z] ---> Running in 8d76d253236f [2020-09-01T01:41:50.605Z] Removing intermediate container 8d76d253236f [2020-09-01T01:41:50.605Z] ---> b851452cc529 [2020-09-01T01:41:50.605Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T01:41:50.605Z] ---> Running in 42ae044dcb5c [2020-09-01T01:41:53.220Z] Removing intermediate container 42ae044dcb5c [2020-09-01T01:41:53.220Z] ---> df56b2d4aa1f [2020-09-01T01:41:53.220Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-01T01:41:53.220Z] ---> Running in 327eb7a227db [2020-09-01T01:41:54.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T01:41:55.234Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T01:41:56.204Z] OK: 221 MiB in 53 packages [2020-09-01T01:41:57.194Z] Removing intermediate container 327eb7a227db [2020-09-01T01:41:57.194Z] ---> ecd184c376d1 [2020-09-01T01:41:57.194Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-01T01:41:57.194Z] ---> Running in 36e9495dc1d4 [2020-09-01T01:41:57.786Z] Removing intermediate container 36e9495dc1d4 [2020-09-01T01:41:57.786Z] ---> 1b3adbb7fb79 [2020-09-01T01:41:57.786Z] Step 7/20 : COPY . . [2020-09-01T01:41:58.759Z] ---> 76d8519c5d15 [2020-09-01T01:41:58.759Z] Step 8/20 : RUN ${MAKE} [2020-09-01T01:41:58.759Z] ---> Running in 0fa108632097 [2020-09-01T01:42:00.177Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-01T01:42:26.979Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T01:42:32.360Z] Removing intermediate container 0fa108632097 [2020-09-01T01:42:32.360Z] ---> fa35e9cda687 [2020-09-01T01:42:32.360Z] Step 9/20 : FROM scratch [2020-09-01T01:42:32.360Z] ---> [2020-09-01T01:42:32.360Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-01T01:42:32.360Z] ---> Running in 667799464df8 [2020-09-01T01:42:32.360Z] Removing intermediate container 667799464df8 [2020-09-01T01:42:32.360Z] ---> 3a862e27e1b1 [2020-09-01T01:42:32.360Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-01T01:42:32.360Z] ---> Running in 0f22b3dde4af [2020-09-01T01:42:32.954Z] Removing intermediate container 0f22b3dde4af [2020-09-01T01:42:32.954Z] ---> ec4d79c71e5f [2020-09-01T01:42:32.954Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-01T01:42:33.931Z] ---> 855fc77af0f8 [2020-09-01T01:42:33.931Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-01T01:42:34.524Z] ---> 15895e3c0a56 [2020-09-01T01:42:34.524Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-01T01:42:35.501Z] ---> 16bf185d1d82 [2020-09-01T01:42:35.501Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-01T01:42:35.501Z] ---> Running in 872fd78ac9c5 [2020-09-01T01:42:35.772Z] Removing intermediate container 872fd78ac9c5 [2020-09-01T01:42:35.772Z] ---> ac3c94091585 [2020-09-01T01:42:35.772Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-01T01:42:36.045Z] ---> Running in f03c3f3ab75f [2020-09-01T01:42:36.315Z] Removing intermediate container f03c3f3ab75f [2020-09-01T01:42:36.315Z] ---> 79b5eafa07ab [2020-09-01T01:42:36.315Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T01:42:36.584Z] ---> Running in ff6250d8ee36 [2020-09-01T01:42:36.858Z] Removing intermediate container ff6250d8ee36 [2020-09-01T01:42:36.858Z] ---> d04aba65a0e9 [2020-09-01T01:42:36.858Z] Step 18/20 : LABEL arch=arm64 [2020-09-01T01:42:37.130Z] ---> Running in 07886835461c [2020-09-01T01:42:37.404Z] Removing intermediate container 07886835461c [2020-09-01T01:42:37.404Z] ---> 855d8498f4ec [2020-09-01T01:42:37.404Z] Step 19/20 : LABEL git_sha=803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:42:37.675Z] ---> Running in c58b3e4c7e53 [2020-09-01T01:42:37.946Z] Removing intermediate container c58b3e4c7e53 [2020-09-01T01:42:37.946Z] ---> 3cc5aa501b52 [2020-09-01T01:42:37.946Z] Step 20/20 : LABEL version=0.0.0 [2020-09-01T01:42:38.218Z] ---> Running in 9adb15fd708a [2020-09-01T01:42:38.811Z] Removing intermediate container 9adb15fd708a [2020-09-01T01:42:38.811Z] ---> 027d171d8d2a [2020-09-01T01:42:38.811Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T01:42:38.811Z] Successfully built 027d171d8d2a [2020-09-01T01:42:38.811Z] 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 [2020-09-01T01:42:54.385Z] Still waiting to schedule task [2020-09-01T01:42:54.385Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-09-01T01:44:44.797Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-976 in /w/workspace/xfoundry_device-modbus-go_PR-165 [Pipeline] { [Pipeline] ws [2020-09-01T01:44:44.937Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2020-09-01T01:44:48.791Z] using credential edgex-jenkins-ssh [2020-09-01T01:44:48.869Z] Cloning the remote Git repository [2020-09-01T01:44:48.869Z] Cloning with configured refspecs honoured and without tags [2020-09-01T01:44:48.919Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:44:49.070Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2020-09-01T01:44:49.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:44:49.129Z] > git --version # timeout=10 [2020-09-01T01:44:49.144Z] > git --version # 'git version 2.17.1' [2020-09-01T01:44:49.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:44:49.230Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:44:49.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:44:49.895Z] > git config --add remote.origin.fetch +refs/pull/165/head:refs/remotes/origin/PR-165 # timeout=10 [2020-09-01T01:44:49.907Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:44:49.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-01T01:44:49.940Z] Fetching without tags [2020-09-01T01:44:50.438Z] Merging remotes/origin/master commit c5c0b25878f760de5fc762f4e5751ff9b1eaad85 into PR head commit 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:44:50.612Z] Merge succeeded, producing 803f4af17ac4cfeac2a76f81a194499d87bf4d0f [2020-09-01T01:44:50.612Z] Checking out Revision 803f4af17ac4cfeac2a76f81a194499d87bf4d0f (PR-165) [2020-09-01T01:44:49.947Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-01T01:44:49.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:44:49.961Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T01:44:50.452Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:44:50.463Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:44:50.547Z] > git remote # timeout=10 [2020-09-01T01:44:50.560Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T01:44:50.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T01:44:50.579Z] > git merge c5c0b25878f760de5fc762f4e5751ff9b1eaad85 # timeout=10 [2020-09-01T01:44:50.597Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T01:44:50.616Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T01:44:50.627Z] > git checkout -f 803f4af17ac4cfeac2a76f81a194499d87bf4d0f # timeout=10 [2020-09-01T01:44:54.653Z] Commit message: "Remove unused attribution in Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-01T01:44:55.813Z] + + findgrep /w/workspace/device-modbus-go/4 snapcraft.yaml [2020-09-01T01:44:55.813Z] [2020-09-01T01:44:55.813Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/4/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T01:44:56.015Z] provisioning config files... [2020-09-01T01:44:56.034Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/4@tmp/config7487041492360016225tmp [Pipeline] { [Pipeline] sh [2020-09-01T01:44:56.408Z] + cp /w/workspace/device-modbus-go/4@tmp/config7487041492360016225tmp /w/workspace/device-modbus-go/4/edgex-snap-store-login [Pipeline] sh [2020-09-01T01:44:56.746Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/4:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-09-01T01:44:57.342Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-09-01T01:44:57.615Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-09-01T01:44:57.615Z] 237528ba509b: Pulling fs layer [2020-09-01T01:44:57.615Z] 393b96f31d8b: Pulling fs layer [2020-09-01T01:44:57.615Z] 4d82b0e39008: Pulling fs layer [2020-09-01T01:44:57.615Z] e7ca375b8d34: Pulling fs layer [2020-09-01T01:44:57.615Z] 418f656485bb: Pulling fs layer [2020-09-01T01:44:57.615Z] aebe8db9254c: Pulling fs layer [2020-09-01T01:44:57.615Z] 4f5f7b207d3f: Pulling fs layer [2020-09-01T01:44:57.615Z] d19ca6af091a: Pulling fs layer [2020-09-01T01:44:57.615Z] 16b5a0711add: Pulling fs layer [2020-09-01T01:44:57.615Z] 418f656485bb: Waiting [2020-09-01T01:44:57.615Z] 4f5f7b207d3f: Waiting [2020-09-01T01:44:57.615Z] 16b5a0711add: Waiting [2020-09-01T01:44:57.615Z] d19ca6af091a: Waiting [2020-09-01T01:44:57.615Z] 4d82b0e39008: Verifying Checksum [2020-09-01T01:44:57.615Z] 4d82b0e39008: Download complete [2020-09-01T01:44:57.615Z] 393b96f31d8b: Download complete [2020-09-01T01:44:57.615Z] e7ca375b8d34: Download complete [2020-09-01T01:44:57.615Z] aebe8db9254c: Verifying Checksum [2020-09-01T01:44:57.615Z] aebe8db9254c: Download complete [2020-09-01T01:44:58.591Z] 4f5f7b207d3f: Download complete [2020-09-01T01:44:58.591Z] d19ca6af091a: Download complete [2020-09-01T01:44:58.591Z] 16b5a0711add: Download complete [2020-09-01T01:44:58.864Z] 237528ba509b: Verifying Checksum [2020-09-01T01:44:58.864Z] 237528ba509b: Download complete [2020-09-01T01:45:01.477Z] 237528ba509b: Pull complete [2020-09-01T01:45:01.753Z] 393b96f31d8b: Pull complete [2020-09-01T01:45:02.027Z] 4d82b0e39008: Pull complete [2020-09-01T01:45:02.622Z] e7ca375b8d34: Pull complete [2020-09-01T01:45:08.008Z] 418f656485bb: Verifying Checksum [2020-09-01T01:45:08.008Z] 418f656485bb: Download complete [2020-09-01T01:45:54.975Z] 418f656485bb: Pull complete [2020-09-01T01:45:54.975Z] aebe8db9254c: Pull complete [2020-09-01T01:45:54.975Z] 4f5f7b207d3f: Pull complete [2020-09-01T01:45:54.975Z] d19ca6af091a: Pull complete [2020-09-01T01:45:54.975Z] 16b5a0711add: Pull complete [2020-09-01T01:45:54.975Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-09-01T01:45:54.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-09-01T01:45:54.975Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-01T01:45:54.975Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-09-01T01:45:54.975Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-09-01T01:45:54.975Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-09-01T01:45:54.975Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [923 kB] [2020-09-01T01:45:54.975Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1256 kB] [2020-09-01T01:45:54.975Z] Fetched 2430 kB in 2s (1188 kB/s) [2020-09-01T01:45:59.270Z] Reading package lists... [2020-09-01T01:46:11.649Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-01T01:46:11.649Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-09-01T01:46:11.649Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-09-01T01:46:11.649Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-09-01T01:46:16.578Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 30% Reading package lists... 51% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-09-01T01:46:23.326Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T01:46:26.212Z] 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 [2020-09-01T01:46:27.079Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-09-01T01:46:27.079Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-01T01:46:27.672Z] The following packages were automatically installed and are no longer required: [2020-09-01T01:46:27.672Z] libjq1 libonig4 [2020-09-01T01:46:27.672Z] Use 'sudo apt autoremove' to remove them. [2020-09-01T01:46:27.672Z] Suggested packages: [2020-09-01T01:46:27.672Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-01T01:46:27.672Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-01T01:46:27.672Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-01T01:46:27.672Z] | libterm-readline-perl-perl [2020-09-01T01:46:27.945Z] The following NEW packages will be installed: [2020-09-01T01:46:27.945Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-01T01:46:28.218Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-01T01:46:28.218Z] 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. [2020-09-01T01:46:28.218Z] Need to get 10.8 MB of archives. [2020-09-01T01:46:28.218Z] After this operation, 73.6 MB of additional disk space will be used. [2020-09-01T01:46:28.218Z] 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-09-01T01:46:34.688Z] 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] [2020-09-01T01:46:34.688Z] 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] [2020-09-01T01:46:34.688Z] 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] [2020-09-01T01:46:37.870Z] 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] [2020-09-01T01:46:38.143Z] 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] [2020-09-01T01:46:38.143Z] 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] [2020-09-01T01:46:38.143Z] 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] [2020-09-01T01:46:38.143Z] 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] [2020-09-01T01:46:38.415Z] 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] [2020-09-01T01:46:38.415Z] 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] [2020-09-01T01:46:38.686Z] 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] [2020-09-01T01:46:39.829Z] 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] [2020-09-01T01:46:39.829Z] 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] [2020-09-01T01:46:39.829Z] 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) [2020-09-01T01:46:40.421Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-01T01:46:40.421Z] Selecting previously unselected package perl-modules-5.26. [2020-09-01T01:46:40.421Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) [2020-09-01T01:46:40.421Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-01T01:46:40.693Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:42.119Z] Selecting previously unselected package libgdbm5:arm64. [2020-09-01T01:46:42.119Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-09-01T01:46:42.119Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-09-01T01:46:42.119Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-09-01T01:46:42.119Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-09-01T01:46:42.119Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-01T01:46:42.119Z] Selecting previously unselected package libperl5.26:arm64. [2020-09-01T01:46:42.119Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-01T01:46:42.119Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:43.544Z] Selecting previously unselected package perl. [2020-09-01T01:46:43.544Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-01T01:46:43.544Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:43.544Z] Selecting previously unselected package less. [2020-09-01T01:46:43.544Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-09-01T01:46:43.544Z] Unpacking less (487-0.1) ... [2020-09-01T01:46:43.814Z] Selecting previously unselected package netbase. [2020-09-01T01:46:43.814Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-01T01:46:43.814Z] Unpacking netbase (5.4) ... [2020-09-01T01:46:43.814Z] Selecting previously unselected package curl. [2020-09-01T01:46:43.814Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-01T01:46:43.814Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-01T01:46:44.085Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-09-01T01:46:44.085Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-01T01:46:44.085Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-01T01:46:44.085Z] Selecting previously unselected package liberror-perl. [2020-09-01T01:46:44.085Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-01T01:46:44.085Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-01T01:46:44.357Z] Selecting previously unselected package git-man. [2020-09-01T01:46:44.357Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-01T01:46:44.357Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:46:44.629Z] Selecting previously unselected package git. [2020-09-01T01:46:44.629Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-09-01T01:46:44.629Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:46:46.059Z] Selecting previously unselected package make. [2020-09-01T01:46:46.059Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-09-01T01:46:46.059Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-01T01:46:46.059Z] Selecting previously unselected package patch. [2020-09-01T01:46:46.059Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-09-01T01:46:46.059Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-01T01:46:46.059Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:46:46.059Z] Setting up less (487-0.1) ... [2020-09-01T01:46:46.654Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-01T01:46:46.654Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-01T01:46:46.654Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-01T01:46:46.654Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:46.654Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-09-01T01:46:46.654Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-01T01:46:46.654Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-01T01:46:46.654Z] Setting up netbase (5.4) ... [2020-09-01T01:46:46.926Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:46.926Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-01T01:46:46.926Z] Setting up liberror-perl (0.17025-1) ... [2020-09-01T01:46:46.926Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-01T01:46:47.203Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-01T01:46:47.203Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-01T01:46:52.590Z] curl set to automatically installed. [2020-09-01T01:46:52.590Z] git set to automatically installed. [2020-09-01T01:46:52.590Z] git-man set to automatically installed. [2020-09-01T01:46:52.859Z] less set to automatically installed. [2020-09-01T01:46:52.859Z] libcurl3-gnutls set to automatically installed. [2020-09-01T01:46:52.859Z] liberror-perl set to automatically installed. [2020-09-01T01:46:52.859Z] libgdbm-compat4 set to automatically installed. [2020-09-01T01:46:52.859Z] libgdbm5 set to automatically installed. [2020-09-01T01:46:52.859Z] libperl5.26 set to automatically installed. [2020-09-01T01:46:52.859Z] make set to automatically installed. [2020-09-01T01:46:53.131Z] netbase set to automatically installed. [2020-09-01T01:46:53.131Z] patch set to automatically installed. [2020-09-01T01:46:53.131Z] perl set to automatically installed. [2020-09-01T01:46:53.131Z] perl-modules-5.26 set to automatically installed. [2020-09-01T01:46:53.131Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-01T01:46:53.131Z] Please ensure the environment is properly setup before continuing. [2020-09-01T01:46:53.131Z] Ignore this message if the appropriate measures have already been taken [2020-09-01T01:46:54.100Z] Pulling go  [2020-09-01T01:46:57.461Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-01T01:46:57.461Z] Skipping pull go (already ran) [2020-09-01T01:46:57.461Z] Building go  [2020-09-01T01:46:57.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-01T01:46:57.461Z] Dload Upload Total Spent Left Speed [2020-09-01T01:47:00.389Z] 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 [2020-09-01T01:47:01.356Z] go1.13.5.linux-arm64.tar.gz: OK [2020-09-01T01:47:19.627Z] Staging go  [2020-09-01T01:47:22.238Z] Pulling device-modbus  [2020-09-01T01:47:25.610Z] Skipping build go (already ran) [2020-09-01T01:47:25.611Z] Building device-modbus  [2020-09-01T01:47:25.611Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.2.1" -o cmd/device-modbus ./cmd [2020-09-01T01:47:27.037Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:47:27.037Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-01T01:47:27.037Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:47:27.310Z] go: extracting github.com/goburrow/modbus v0.1.0 [2020-09-01T01:47:27.310Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-01T01:47:27.310Z] go: extracting github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:47:27.310Z] go: extracting github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:47:27.310Z] go: extracting github.com/goburrow/serial v0.1.0 [2020-09-01T01:47:27.310Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-01T01:47:27.310Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:47:27.310Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:47:27.310Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-01T01:47:27.310Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:47:27.310Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-01T01:47:27.310Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:47:27.310Z] go: extracting github.com/gorilla/mux v1.7.1 [2020-09-01T01:47:27.310Z] go: extracting github.com/google/uuid v1.1.1 [2020-09-01T01:47:27.310Z] go: extracting github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:47:27.310Z] go: extracting gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:47:27.583Z] go: extracting github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:47:27.583Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:47:27.583Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:47:27.583Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:47:27.583Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-01T01:47:27.583Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:47:27.583Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:47:27.583Z] go: extracting github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:47:27.583Z] go: extracting github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:47:27.583Z] go: extracting github.com/pkg/errors v0.8.1 [2020-09-01T01:47:27.583Z] go: extracting github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:47:27.583Z] go: extracting github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:47:27.583Z] go: extracting github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:47:27.583Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-01T01:47:27.583Z] go: extracting github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:47:27.583Z] go: extracting github.com/go-kit/kit v0.8.0 [2020-09-01T01:47:27.583Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:47:27.583Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:47:27.583Z] go: extracting github.com/x448/float16 v0.8.4 [2020-09-01T01:47:27.583Z] go: extracting github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:47:27.583Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:47:27.583Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:47:27.583Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:47:27.583Z] go: extracting github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:47:27.853Z] go: extracting github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:47:27.853Z] go: extracting github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:47:27.853Z] go: extracting github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:47:27.853Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:47:27.853Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-01T01:47:27.853Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:47:27.853Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:47:27.853Z] go: extracting github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:47:27.853Z] go: extracting github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:47:27.853Z] go: extracting github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:47:27.853Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:47:27.853Z] go: extracting github.com/hashicorp/serf v0.8.2 [2020-09-01T01:47:27.853Z] go: extracting github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:47:28.123Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:47:28.123Z] go: extracting github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:47:28.123Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:47:28.123Z] go: extracting github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:47:28.123Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:47:28.395Z] go: extracting github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T01:47:28.395Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-01T01:47:28.395Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T01:47:28.395Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-01T01:47:28.395Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T01:47:28.395Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T01:47:28.395Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-01T01:47:28.395Z] go: finding github.com/google/uuid v1.1.1 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T01:47:28.395Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T01:47:28.395Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T01:47:28.395Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T01:47:28.395Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T01:47:28.395Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T01:47:28.395Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T01:47:28.395Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T01:47:28.395Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T01:47:28.395Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T01:47:28.668Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T01:47:28.668Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T01:47:28.668Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T01:47:28.668Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T01:47:28.668Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T01:47:28.668Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T01:47:28.668Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T01:47:28.668Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T01:47:28.668Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T01:47:28.668Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-01T01:47:46.967Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-01T01:48:02.013Z] Skipping stage go (already ran) [2020-09-01T01:48:02.013Z] Staging device-modbus  [2020-09-01T01:48:05.383Z] Priming go  [2020-09-01T01:48:08.751Z] Priming device-modbus  [2020-09-01T01:48:12.132Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-01T01:48:12.132Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-01T01:48:12.132Z] Determining the version from the project repo (version-script). [2020-09-01T01:48:12.132Z] The version has been set to '1.2.1-20200901+803f4af' [2020-09-01T01:48:12.959Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | [2020-09-01T01:48:12.959Z] Snapped edgex-device-modbus_1.2.1-20200901+803f4af_arm64.snap [Pipeline] } [2020-09-01T01:48:15.624Z] 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 [2020-09-01T01:48:17.895Z] provisioning config files... [2020-09-01T01:48:17.911Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config3882946091220972566tmp [Pipeline] { [Pipeline] sh [2020-09-01T01:48:18.308Z] + curl -s https://codecov.io/bash [2020-09-01T01:48:18.308Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config3882946091220972566tmp [Pipeline] } [2020-09-01T01:48:18.896Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:48:22.707Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:48:23.283Z] ---> package-listing.sh [2020-09-01T01:48:23.283Z] ++ facter osfamily [2020-09-01T01:48:23.283Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T01:48:23.283Z] + OS_FAMILY=redhat [2020-09-01T01:48:23.283Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-165 [2020-09-01T01:48:23.283Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T01:48:23.283Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T01:48:23.283Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T01:48:23.283Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T01:48:23.283Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' [2020-09-01T01:48:23.283Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T01:48:23.283Z] + case "${OS_FAMILY}" in [2020-09-01T01:48:23.283Z] + rpm -qa [2020-09-01T01:48:23.283Z] + sort [2020-09-01T01:48:27.515Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T01:48:27.515Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T01:48:27.515Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T01:48:27.515Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-165 ']' [2020-09-01T01:48:27.515Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [2020-09-01T01:48:27.515Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-165/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:48:28.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:48:28.482Z] [2020-09-01T01:48:28.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T01:48:28.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:48:28.833Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T01:48:28.833Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T01:48:28.833Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T01:48:28.833Z] 756a868c4378: Pulling fs layer [2020-09-01T01:48:28.833Z] 444b2fc9a129: Pulling fs layer [2020-09-01T01:48:28.833Z] ea15f1150254: Pulling fs layer [2020-09-01T01:48:28.833Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T01:48:28.833Z] 28c525ee5125: Pulling fs layer [2020-09-01T01:48:28.833Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T01:48:28.833Z] 138eaada9080: Pulling fs layer [2020-09-01T01:48:28.833Z] 0622d0fa9048: Pulling fs layer [2020-09-01T01:48:28.833Z] 444b2fc9a129: Waiting [2020-09-01T01:48:28.833Z] ea15f1150254: Waiting [2020-09-01T01:48:28.833Z] 41b27a9f41bf: Waiting [2020-09-01T01:48:28.833Z] 28c525ee5125: Waiting [2020-09-01T01:48:28.833Z] 094b1ea09ed8: Waiting [2020-09-01T01:48:28.833Z] 138eaada9080: Waiting [2020-09-01T01:48:28.833Z] 0622d0fa9048: Waiting [2020-09-01T01:48:28.833Z] 2cc5ad85d9ab: Verifying Checksum [2020-09-01T01:48:28.833Z] 2cc5ad85d9ab: Download complete [2020-09-01T01:48:28.833Z] 444b2fc9a129: Verifying Checksum [2020-09-01T01:48:28.833Z] 444b2fc9a129: Download complete [2020-09-01T01:48:28.833Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T01:48:28.833Z] c9b1b535fdd9: Download complete [2020-09-01T01:48:28.833Z] ea15f1150254: Verifying Checksum [2020-09-01T01:48:28.833Z] ea15f1150254: Download complete [2020-09-01T01:48:29.120Z] 28c525ee5125: Download complete [2020-09-01T01:48:29.388Z] 756a868c4378: Verifying Checksum [2020-09-01T01:48:29.388Z] 756a868c4378: Download complete [2020-09-01T01:48:29.388Z] c9b1b535fdd9: Pull complete [2020-09-01T01:48:29.388Z] 138eaada9080: Verifying Checksum [2020-09-01T01:48:29.388Z] 138eaada9080: Download complete [2020-09-01T01:48:29.388Z] 0622d0fa9048: Verifying Checksum [2020-09-01T01:48:29.388Z] 0622d0fa9048: Download complete [2020-09-01T01:48:29.659Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T01:48:29.659Z] 094b1ea09ed8: Download complete [2020-09-01T01:48:29.922Z] 2cc5ad85d9ab: Pull complete [2020-09-01T01:48:29.922Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T01:48:29.922Z] 41b27a9f41bf: Download complete [2020-09-01T01:48:31.327Z] 756a868c4378: Pull complete [2020-09-01T01:48:31.327Z] 444b2fc9a129: Pull complete [2020-09-01T01:48:31.593Z] ea15f1150254: Pull complete [2020-09-01T01:48:34.915Z] 41b27a9f41bf: Pull complete [2020-09-01T01:48:35.179Z] 28c525ee5125: Pull complete [2020-09-01T01:48:37.738Z] 094b1ea09ed8: Pull complete [2020-09-01T01:48:38.000Z] 138eaada9080: Pull complete [2020-09-01T01:48:38.263Z] 0622d0fa9048: Pull complete [2020-09-01T01:48:38.263Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T01:48:38.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T01:48:38.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T01:48:38.422Z] prd-centos7-docker-4c-2g-968 does not seem to be running inside a container [2020-09-01T01:48:38.473Z] $ 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 [2020-09-01T01:48:42.825Z] $ docker top 033b065ff9af145fae9fe6f1349fd37155425558d28b438230a2dbe874a69851 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T01:48:43.165Z] provisioning config files... [2020-09-01T01:48:43.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-165@tmp/config2794082212244672548tmp [Pipeline] { [Pipeline] echo [2020-09-01T01:48:43.261Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:48:43.561Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T01:48:43.572Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T01:48:43.865Z] ---> logs-deploy.sh [2020-09-01T01:48:43.865Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-165/4 [2020-09-01T01:48:43.865Z] INFO: archiving workspace using pattern(s): [2020-09-01T01:48:45.250Z] Archives upload complete. [2020-09-01T01:48:45.250Z] INFO: archiving logs to Nexus [2020-09-01T01:48:45.831Z] ---> uname -a: [2020-09-01T01:48:45.831Z] Linux 033b065ff9af 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-01T01:48:45.831Z] [2020-09-01T01:48:45.831Z]