Pull request #185 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 43a3d939038b09c788d4028d29a41d39bd865614+645745cc2ab9199d577c2f6eedd0068fe13701dd (71616eea7365735fc9a0b641825b4d66217e7593) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 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 14412ea6c559e203c60c6aec71a1cbd01eb2e17f using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-185/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 14412ea6c559e203c60c6aec71a1cbd01eb2e17f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 14412ea6c559e203c60c6aec71a1cbd01eb2e17f # timeout=10 Commit message: "Merge pull request #284 from ernestojeda/codecov-fix" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-185/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f Excluding src/test/ from checkout of git git@github.com:lfit/releng-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, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-10056 in /w/workspace/xfoundry_device-modbus-go_PR-185 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-185 # 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 --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 43a3d939038b09c788d4028d29a41d39bd865614 Merge succeeded, producing 43a3d939038b09c788d4028d29a41d39bd865614 Checking out Revision 43a3d939038b09c788d4028d29a41d39bd865614 (PR-185) > git config core.sparsecheckout # timeout=10 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # 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 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:41:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:54 ========================================================= 06:41:54 EdgeX Global Pipelines Version Info 06:41:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:41:57 ------------------- 06:41:57 stable info: 06:41:57 ------------------- 06:41:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:57 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 06:41:57 Message: update stable to v1.0.152 06:41:58 ------------------- 06:41:58 experimental info: 06:41:58 ------------------- 06:41:58 Commited By: **** collab-it+edgex@linuxfoundation.org 06:41:58 Commit SHA: a289ce3bd006757951f62b250e9ecca5ba035f92 06:41:58 Message: update experimental to v1.0.154 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:41:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:41:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:41:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:42:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:42:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:42:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 06:42:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:42:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:42:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:42:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 06:42:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 06:42:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43a3d939038b09c788d4028d29a41d39bd865614 [Pipeline] echo 06:42:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43a3d93 [Pipeline] echo 06:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:05 + git log --format=format:%s -1 43a3d939038b09c788d4028d29a41d39bd865614 [Pipeline] echo 06:42:05 GIT_COMMIT: 43a3d939038b09c788d4028d29a41d39bd865614, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:42:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:07 06:42:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:42:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:08 latest: Pulling from edgex-devops/git-semver 06:42:08 31603596830f: Pulling fs layer 06:42:08 2a8b12db71e7: Pulling fs layer 06:42:08 6ca5941a6612: Pulling fs layer 06:42:08 ecc8261a40a4: Pulling fs layer 06:42:08 ecc8261a40a4: Waiting 06:42:08 2a8b12db71e7: Verifying Checksum 06:42:08 2a8b12db71e7: Download complete 06:42:08 31603596830f: Verifying Checksum 06:42:08 31603596830f: Download complete 06:42:09 ecc8261a40a4: Verifying Checksum 06:42:09 ecc8261a40a4: Download complete 06:42:09 6ca5941a6612: Verifying Checksum 06:42:09 6ca5941a6612: Download complete 06:42:09 31603596830f: Pull complete 06:42:09 2a8b12db71e7: Pull complete 06:42:11 6ca5941a6612: Pull complete 06:42:11 ecc8261a40a4: Pull complete 06:42:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:42:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:42:11 prd-centos7-docker-4c-2g-10056 does not seem to be running inside a container 06:42:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-185 -v /w/workspace/xfoundry_device-modbus-go_PR-185:/w/workspace/xfoundry_device-modbus-go_PR-185:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-185@tmp:/w/workspace/xfoundry_device-modbus-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:42:14 $ docker top cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:42:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:14 [ssh-agent] Looking for ssh-agent implementation... 06:42:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:14 $ docker exec cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a ssh-agent 06:42:15 SSH_AUTH_SOCK=/tmp/ssh-bBwT81N6qrE2/agent.12 06:42:15 SSH_AGENT_PID=18 06:42:15 Running ssh-add (command line suppressed) 06:42:15 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-185@tmp/private_key_1484908257838453033.key (/w/workspace/xfoundry_device-modbus-go_PR-185@tmp/private_key_1484908257838453033.key) 06:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:16 + git tag --points-at HEAD [Pipeline] } 06:42:16 $ docker exec --env ******** --env ******** cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a ssh-agent -k 06:42:16 unset SSH_AUTH_SOCK; 06:42:16 unset SSH_AGENT_PID; 06:42:16 echo Agent pid 18 killed; 06:42:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:16 [ssh-agent] Looking for ssh-agent implementation... 06:42:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:16 $ docker exec cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a ssh-agent 06:42:17 SSH_AUTH_SOCK=/tmp/ssh-Ou2upZgOHeO7/agent.48 06:42:17 SSH_AGENT_PID=53 06:42:17 Running ssh-add (command line suppressed) 06:42:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-185@tmp/private_key_6113138670565103856.key (/w/workspace/xfoundry_device-modbus-go_PR-185@tmp/private_key_6113138670565103856.key) 06:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:18 + git semver init 06:42:18 # -> Open(): unable to determine branch for HEAD 06:42:18 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-185/.git 06:42:18 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-185 06:42:18 # $SEMVER_REMOTE_NAME = origin 06:42:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:42:18 # $SEMVER_USER_NAME = edgex-jenkins 06:42:18 # $SEMVER_BRANCH = PR-185 06:42:18 # $SEMVER_TEMP = /tmp/semver-393704739 06:42:18 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:42:18 # '/tmp/semver-393704739' -> '/w/workspace/xfoundry_device-modbus-go_PR-185/.semver' 06:42:18 # -> Force: false 06:42:18 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-185/.semver [Pipeline] } 06:42:18 $ docker exec --env ******** --env ******** cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a ssh-agent -k 06:42:19 unset SSH_AUTH_SOCK; 06:42:19 unset SSH_AGENT_PID; 06:42:19 echo Agent pid 53 killed; 06:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:42:19 + git semver [Pipeline] } 06:42:20 $ docker stop --time=1 cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a 06:42:21 $ docker rm -f cbed44d910919eddcd892af3b79cee3797fb607c1f1ec8f46f2b20db9fdba83a [Pipeline] // withDockerContainer [Pipeline] sh 06:42:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:42:23 Stashed 1 file(s) [Pipeline] echo 06:42:23 [edgeXSemver]: initialized semver on 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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:42:24 ========================================================= 06:42:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:42:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:42:25 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:42:25 Sending build context to Docker daemon 781.8kB 06:42:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:42:25 Step 2/8 : FROM ${BASE} 06:42:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:25 df20fa9351a1: Pulling fs layer 06:42:25 ed8968b2872e: Pulling fs layer 06:42:25 a92cc7c5fd73: Pulling fs layer 06:42:25 e871e8e8d7a9: Pulling fs layer 06:42:25 e73272ec9a57: Pulling fs layer 06:42:25 1e910a182e73: Pulling fs layer 06:42:25 4e634b169226: Pulling fs layer 06:42:25 e871e8e8d7a9: Waiting 06:42:25 e73272ec9a57: Waiting 06:42:25 1e910a182e73: Waiting 06:42:25 4e634b169226: Waiting 06:42:25 a92cc7c5fd73: Verifying Checksum 06:42:25 a92cc7c5fd73: Download complete 06:42:25 ed8968b2872e: Verifying Checksum 06:42:25 ed8968b2872e: Download complete 06:42:25 e73272ec9a57: Verifying Checksum 06:42:25 e73272ec9a57: Download complete 06:42:25 1e910a182e73: Verifying Checksum 06:42:25 1e910a182e73: Download complete 06:42:25 df20fa9351a1: Verifying Checksum 06:42:25 df20fa9351a1: Download complete 06:42:26 df20fa9351a1: Pull complete 06:42:26 ed8968b2872e: Pull complete 06:42:26 a92cc7c5fd73: Pull complete 06:42:31 4e634b169226: Verifying Checksum 06:42:31 4e634b169226: Download complete 06:42:33 e871e8e8d7a9: Verifying Checksum 06:42:33 e871e8e8d7a9: Download complete 06:42:39 Still waiting to schedule task 06:42:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:42:43 e871e8e8d7a9: Pull complete 06:42:43 e73272ec9a57: Pull complete 06:42:43 1e910a182e73: Pull complete 06:42:48 4e634b169226: Pull complete 06:42:48 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:42:48 ---> f7629b54cfaa 06:42:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:42:48 ---> Running in 3a72b336b606 06:42:48 Removing intermediate container 3a72b336b606 06:42:48 ---> 5b49a453c9ab 06:42:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:48 ---> Running in adf3b38d8313 06:42:50 Removing intermediate container adf3b38d8313 06:42:50 ---> 621d52a1d885 06:42:50 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:42:50 ---> Running in 0a4db5883960 06:42:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:42:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:42:53 (1/14) Installing libmagic (5.38-r0) 06:42:54 (2/14) Installing file (5.38-r0) 06:42:54 (3/14) Installing libc-dev (0.7.2-r3) 06:42:54 (4/14) Installing g++ (9.3.0-r2) 06:43:21 (5/14) Installing fortify-headers (1.1-r0) 06:43:21 (6/14) Installing patch (2.7.6-r6) 06:43:21 (7/14) Installing build-base (0.5-r2) 06:43:21 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:43:21 (9/14) Installing libedit (20191231.3.1-r0) 06:43:21 (10/14) Installing openssh-client (8.3_p1-r0) 06:43:21 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:43:21 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:43:21 (13/14) Installing openssh-server (8.3_p1-r0) 06:43:21 (14/14) Installing openssh (8.3_p1-r0) 06:43:21 Executing busybox-1.31.1-r16.trigger 06:43:21 OK: 237 MiB in 53 packages 06:43:24 Removing intermediate container 0a4db5883960 06:43:24 ---> 0e0acc9620d0 06:43:24 Step 6/8 : WORKDIR /device-modbus-go 06:43:24 ---> Running in e5fdc36927a6 06:43:24 Removing intermediate container e5fdc36927a6 06:43:24 ---> 65c39f50ea5c 06:43:24 Step 7/8 : COPY . . 06:43:25 ---> acd3a211ad59 06:43:25 Step 8/8 : RUN go mod download 06:43:25 ---> Running in e171e84232c6 06:43:47 Removing intermediate container e171e84232c6 06:43:47 ---> 5ed9850077d0 06:43:48 Successfully built 5ed9850077d0 06:43:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:43:48 + docker inspect -f . ci-base-image-x86_64 06:43:48 . [Pipeline] withDockerContainer 06:43:49 prd-centos7-docker-4c-2g-10056 does not seem to be running inside a container 06:43:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-185 -v /w/workspace/xfoundry_device-modbus-go_PR-185:/w/workspace/xfoundry_device-modbus-go_PR-185:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-185@tmp:/w/workspace/xfoundry_device-modbus-go_PR-185@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 06:43:50 $ docker top 794d9b4268dd4cad0a26173af9ce7e83d547d404c94bf214dbe87ce452aa035b -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:50 + go version 06:43:50 go version go1.15.2 linux/amd64 [Pipeline] } 06:43:50 $ docker stop --time=1 794d9b4268dd4cad0a26173af9ce7e83d547d404c94bf214dbe87ce452aa035b 06:43:52 $ docker rm -f 794d9b4268dd4cad0a26173af9ce7e83d547d404c94bf214dbe87ce452aa035b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:43:53 + docker inspect -f . ci-base-image-x86_64 06:43:53 . [Pipeline] withDockerContainer 06:43:54 prd-centos7-docker-4c-2g-10056 does not seem to be running inside a container 06:43:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-185 -v /w/workspace/xfoundry_device-modbus-go_PR-185:/w/workspace/xfoundry_device-modbus-go_PR-185:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-185@tmp:/w/workspace/xfoundry_device-modbus-go_PR-185@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 06:43:55 $ docker top 8d752e59ebe81ff59f738d135f15aa91bd7ddf4aedcab01b899debb53364ab94 -eo pid,comm [Pipeline] { [Pipeline] sh 06:43:56 + make test 06:43:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:44:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:44:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:44:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.403s coverage: 50.3% of statements 06:44:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:44:30 gofmt -l . 06:44:30 [ "`gofmt -l .`" = "" ] 06:44:30 ./bin/test-attribution-txt.sh 06:44:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:32 $ docker stop --time=1 8d752e59ebe81ff59f738d135f15aa91bd7ddf4aedcab01b899debb53364ab94 06:44:34 $ docker rm -f 8d752e59ebe81ff59f738d135f15aa91bd7ddf4aedcab01b899debb53364ab94 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:38 + ls -al . 06:44:38 total 104 06:44:38 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 2 06:44 . 06:44:38 drwxrwxr-x. 4 jenkins jenkins 112 Nov 2 06:41 .. 06:44:38 -rw-rw-r--. 1 jenkins jenkins 5589 Nov 2 06:41 Attribution.txt 06:44:38 drwxrwxr-x. 2 jenkins jenkins 87 Nov 2 06:41 bin 06:44:38 drwxrwxr-x. 3 jenkins jenkins 32 Nov 2 06:41 cmd 06:44:38 -rw-r--r--. 1 jenkins jenkins 22364 Nov 2 06:44 coverage.out 06:44:38 -rw-rw-r--. 1 jenkins jenkins 1430 Nov 2 06:41 Dockerfile 06:44:38 -rw-rw-r--. 1 jenkins jenkins 954 Nov 2 06:41 Dockerfile.build 06:44:38 -rw-rw-r--. 1 jenkins jenkins 140 Nov 2 06:41 .dockerignore 06:44:38 drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 06:41 .git 06:44:38 drwxrwxr-x. 2 jenkins jenkins 60 Nov 2 06:41 .github 06:44:38 -rw-rw-r--. 1 jenkins jenkins 338 Nov 2 06:41 .gitignore 06:44:38 -rw-r--r--. 1 jenkins jenkins 524 Nov 2 06:44 go.mod 06:44:38 -rw-r--r--. 1 jenkins jenkins 15069 Nov 2 06:44 go.sum 06:44:38 drwxrwxr-x. 3 jenkins jenkins 20 Nov 2 06:41 internal 06:44:38 -rw-rw-r--. 1 jenkins jenkins 679 Nov 2 06:41 Jenkinsfile 06:44:38 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 2 06:41 LICENSE 06:44:38 -rw-rw-r--. 1 jenkins jenkins 880 Nov 2 06:41 Makefile 06:44:38 -rw-rw-r--. 1 jenkins jenkins 591 Nov 2 06:41 README.md 06:44:38 drwx------. 3 jenkins jenkins 58 Nov 2 06:42 .semver 06:44:38 drwxrwxr-x. 2 jenkins jenkins 52 Nov 2 06:41 simulator 06:44:38 drwxrwxr-x. 4 jenkins jenkins 54 Nov 2 06:41 snap 06:44:38 -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:44:38 -rw-rw-r--. 1 jenkins jenkins 229 Nov 2 06:41 version.go [Pipeline] isUnix [Pipeline] sh 06:44:39 + 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=43a3d939038b09c788d4028d29a41d39bd865614 --label arch=amd64 --label version=0.0.0 . 06:44:39 Sending build context to Docker daemon 813.1kB 06:44:39 Step 1/20 : ARG BASE=golang:1.15-alpine 06:44:39 Step 2/20 : FROM ${BASE} AS builder 06:44:39 ---> 5ed9850077d0 06:44:39 Step 3/20 : ARG MAKE='make build' 06:44:39 ---> Running in 97bd33eff504 06:44:40 Removing intermediate container 97bd33eff504 06:44:40 ---> 9f15efb14a50 06:44:40 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:40 ---> Running in 5b0fff577773 06:44:42 Removing intermediate container 5b0fff577773 06:44:42 ---> 9b46db756a82 06:44:42 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:44:42 ---> Running in d5347985963c 06:44:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:44:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:44:44 OK: 237 MiB in 53 packages 06:44:45 Removing intermediate container d5347985963c 06:44:45 ---> a992da9ba1a8 06:44:45 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:44:45 ---> Running in 77af51a6810f 06:44:45 Removing intermediate container 77af51a6810f 06:44:45 ---> f793b5c38abf 06:44:45 Step 7/20 : COPY . . 06:44:46 ---> 5475a3373cec 06:44:46 Step 8/20 : RUN ${MAKE} 06:44:46 ---> Running in 83f2c6e066bc 06:44:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:45:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:45:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-10071 in /w/workspace/xfoundry_device-modbus-go_PR-185 [Pipeline] { [Pipeline] ws 06:45:09 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:45:10 Removing intermediate container 83f2c6e066bc 06:45:10 ---> 1d8bb4da5059 06:45:10 Step 9/20 : FROM scratch 06:45:10 ---> 06:45:10 Step 10/20 : ENV APP_PORT=49991 06:45:10 ---> Running in ca08281d9f00 06:45:10 Removing intermediate container ca08281d9f00 06:45:10 ---> e1248bb6a447 06:45:10 Step 11/20 : EXPOSE $APP_PORT 06:45:10 ---> Running in cfcb5a617127 06:45:10 Removing intermediate container cfcb5a617127 06:45:10 ---> 261e6ea8b086 06:45:10 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:45:11 ---> e17b383cebd4 06:45:11 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:45:12 ---> 1818684de6d5 06:45:12 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:45:12 ---> 8e90831637bc 06:45:12 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:45:12 ---> Running in adacf85613ed 06:45:12 Removing intermediate container adacf85613ed 06:45:12 ---> 5f2b4a936cf8 06:45:12 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:45:12 ---> Running in fab340b55d20 06:45:13 Removing intermediate container fab340b55d20 06:45:13 ---> 95fc7c85d6bf 06:45:13 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:13 ---> Running in 1e0afdec89f8 06:45:13 Removing intermediate container 1e0afdec89f8 06:45:13 ---> f82f09297dc3 06:45:13 Step 18/20 : LABEL arch=amd64 06:45:13 ---> Running in c25293d705ce 06:45:13 Removing intermediate container c25293d705ce 06:45:13 ---> 9a7e10ce89ad 06:45:13 Step 19/20 : LABEL git_sha=43a3d939038b09c788d4028d29a41d39bd865614 06:45:13 ---> Running in 33f033b31f61 06:45:13 Removing intermediate container 33f033b31f61 06:45:13 ---> bb3d8fad0004 06:45:13 Step 20/20 : LABEL version=0.0.0 06:45:13 ---> Running in 3af6dd10cdec 06:45:14 Removing intermediate container 3af6dd10cdec 06:45:14 ---> 048f5145ac8a 06:45:14 [Warning] One or more build-args [ARCH] were not consumed 06:45:14 Successfully built 048f5145ac8a 06:45:14 Successfully tagged docker-device-modbus-go:latest [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 06:45:15 using credential edgex-jenkins-ssh 06:45:15 Cloning the remote Git repository 06:45:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:45:15 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:45:15 > git --version # timeout=10 06:45:15 > git --version # 'git version 2.17.1' 06:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:17 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 43a3d939038b09c788d4028d29a41d39bd865614 06:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:45:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:45:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:45:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:45:17 > git config core.sparsecheckout # timeout=10 06:45:17 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:45:17 > git remote # timeout=10 06:45:17 > git config --get remote.origin.url # timeout=10 06:45:17 Merge succeeded, producing 43a3d939038b09c788d4028d29a41d39bd865614 06:45:17 Checking out Revision 43a3d939038b09c788d4028d29a41d39bd865614 (PR-185) 06:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:17 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:45:17 > git rev-parse HEAD^{commit} # timeout=10 06:45:17 > git config core.sparsecheckout # timeout=10 06:45:17 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:45:22 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:45:22 > git --version # timeout=10 06:45:22 > git --version # 'git version 2.17.1' 06:45:22 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:45:23 ========================================================= 06:45:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:45:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:45:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:45:25 Sending build context to Docker daemon 506.9kB 06:45:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:45:25 Step 2/8 : FROM ${BASE} 06:45:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:45:25 b538f80385f9: Pulling fs layer 06:45:25 74f711af9a0d: Pulling fs layer 06:45:25 99f96fe45779: Pulling fs layer 06:45:25 8529a6b9a6be: Pulling fs layer 06:45:25 45590311c82a: Pulling fs layer 06:45:25 69ca0ff8b7b3: Pulling fs layer 06:45:25 209524e5b208: Pulling fs layer 06:45:25 8529a6b9a6be: Waiting 06:45:25 45590311c82a: Waiting 06:45:25 69ca0ff8b7b3: Waiting 06:45:25 209524e5b208: Waiting 06:45:25 99f96fe45779: Verifying Checksum 06:45:25 99f96fe45779: Download complete 06:45:25 74f711af9a0d: Verifying Checksum 06:45:25 74f711af9a0d: Download complete 06:45:26 45590311c82a: Verifying Checksum 06:45:26 45590311c82a: Download complete 06:45:26 69ca0ff8b7b3: Verifying Checksum 06:45:26 69ca0ff8b7b3: Download complete 06:45:26 b538f80385f9: Verifying Checksum 06:45:26 b538f80385f9: Download complete 06:45:27 b538f80385f9: Pull complete 06:45:27 74f711af9a0d: Pull complete 06:45:27 99f96fe45779: Pull complete 06:45:29 209524e5b208: Verifying Checksum 06:45:29 209524e5b208: Download complete 06:45:30 Still waiting to schedule task 06:45:30 All nodes of label ‘centos7-docker-8c-8g’ are offline 06:45:31 8529a6b9a6be: Verifying Checksum 06:45:31 8529a6b9a6be: Download complete 06:45:41 8529a6b9a6be: Pull complete 06:45:41 45590311c82a: Pull complete 06:45:41 69ca0ff8b7b3: Pull complete 06:45:44 209524e5b208: Pull complete 06:45:44 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:45:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:45:44 ---> 5bddaf1c2fca 06:45:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:45:47 ---> Running in cb3595a6bdce 06:45:48 Removing intermediate container cb3595a6bdce 06:45:48 ---> c68af05f1e5e 06:45:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:48 ---> Running in 5618c291c20d 06:45:51 Removing intermediate container 5618c291c20d 06:45:51 ---> c9c3e1b78dd8 06:45:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:45:51 ---> Running in f9621519e32d 06:45:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:45:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:45:54 (1/14) Installing libmagic (5.38-r0) 06:45:55 (2/14) Installing file (5.38-r0) 06:45:55 (3/14) Installing libc-dev (0.7.2-r3) 06:45:55 (4/14) Installing g++ (9.3.0-r2) 06:46:05 (5/14) Installing fortify-headers (1.1-r0) 06:46:05 (6/14) Installing patch (2.7.6-r6) 06:46:05 (7/14) Installing build-base (0.5-r2) 06:46:05 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:46:05 (9/14) Installing libedit (20191231.3.1-r0) 06:46:05 (10/14) Installing openssh-client (8.3_p1-r0) 06:46:05 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:46:05 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:46:05 (13/14) Installing openssh-server (8.3_p1-r0) 06:46:06 (14/14) Installing openssh (8.3_p1-r0) 06:46:07 Executing busybox-1.31.1-r16.trigger 06:46:07 OK: 221 MiB in 53 packages 06:46:11 Removing intermediate container f9621519e32d 06:46:11 ---> 9a2a0fc3e211 06:46:11 Step 6/8 : WORKDIR /device-modbus-go 06:46:11 ---> Running in 24d0b619a8bd 06:46:12 Removing intermediate container 24d0b619a8bd 06:46:12 ---> 314738eefee5 06:46:12 Step 7/8 : COPY . . 06:46:13 ---> fca1263649e2 06:46:13 Step 8/8 : RUN go mod download 06:46:13 ---> Running in d72a93436a32 06:46:36 Removing intermediate container d72a93436a32 06:46:36 ---> 3c50d8080c1a 06:46:36 Successfully built 3c50d8080c1a 06:46:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:46:37 + docker inspect -f . ci-base-image-arm64 06:46:37 . [Pipeline] withDockerContainer 06:46:37 prd-ubuntu18.04-docker-arm64-4c-16g-10071 does not seem to be running inside a container 06:46:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:39 $ docker top 34097298bb9b4b222c9971ba289fd5ab29092e43175a53ca0d2d74841cdf327b -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:41 + go version 06:46:41 go version go1.15.2 linux/arm64 [Pipeline] } 06:46:41 $ docker stop --time=1 34097298bb9b4b222c9971ba289fd5ab29092e43175a53ca0d2d74841cdf327b 06:46:43 $ docker rm -f 34097298bb9b4b222c9971ba289fd5ab29092e43175a53ca0d2d74841cdf327b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:44 + docker inspect -f . ci-base-image-arm64 06:46:44 . [Pipeline] withDockerContainer 06:46:44 prd-ubuntu18.04-docker-arm64-4c-16g-10071 does not seem to be running inside a container 06:46:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:46 $ docker top f015e8e73f7613dbce1122b1e630198a5e3ea228c9396a9fb16098ea4dd9c660 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:48 + make test 06:46:48 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:46:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:47:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:47:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.339s coverage: 50.3% of statements 06:47:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:47:30 gofmt -l . 06:47:30 [ "`gofmt -l .`" = "" ] 06:47:30 ./bin/test-attribution-txt.sh 06:47:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:47:32 $ docker stop --time=1 f015e8e73f7613dbce1122b1e630198a5e3ea228c9396a9fb16098ea4dd9c660 06:47:34 $ docker rm -f f015e8e73f7613dbce1122b1e630198a5e3ea228c9396a9fb16098ea4dd9c660 [Pipeline] // withDockerContainer [Pipeline] sh 06:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:47:35 Warning: overwriting stash ‘coverage-report’ 06:47:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:47:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:47:37 + ls -al . 06:47:37 total 136 06:47:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 06:47 . 06:47:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:45 .. 06:47:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 06:45 .dockerignore 06:47:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 06:45 .git 06:47:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 .github 06:47:37 -rw-rw-r-- 1 jenkins jenkins 338 Nov 2 06:45 .gitignore 06:47:37 -rw-rw-r-- 1 jenkins jenkins 5589 Nov 2 06:45 Attribution.txt 06:47:37 -rw-rw-r-- 1 jenkins jenkins 1430 Nov 2 06:45 Dockerfile 06:47:37 -rw-rw-r-- 1 jenkins jenkins 954 Nov 2 06:45 Dockerfile.build 06:47:37 -rw-rw-r-- 1 jenkins jenkins 679 Nov 2 06:45 Jenkinsfile 06:47:37 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 06:45 LICENSE 06:47:37 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 06:45 Makefile 06:47:37 -rw-rw-r-- 1 jenkins jenkins 591 Nov 2 06:45 README.md 06:47:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 06:42 VERSION 06:47:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 bin 06:47:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 cmd 06:47:37 -rw-r--r-- 1 jenkins jenkins 22364 Nov 2 06:47 coverage.out 06:47:37 -rw-r--r-- 1 jenkins jenkins 524 Nov 2 06:47 go.mod 06:47:37 -rw-r--r-- 1 jenkins jenkins 15069 Nov 2 06:47 go.sum 06:47:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 06:45 internal 06:47:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 06:45 simulator 06:47:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 06:45 snap 06:47:37 -rw-rw-r-- 1 jenkins jenkins 229 Nov 2 06:45 version.go [Pipeline] isUnix [Pipeline] sh 06:47:38 + 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=43a3d939038b09c788d4028d29a41d39bd865614 --label arch=arm64 --label version=0.0.0 . 06:47:38 Sending build context to Docker daemon 538.1kB 06:47:38 Step 1/20 : ARG BASE=golang:1.15-alpine 06:47:38 Step 2/20 : FROM ${BASE} AS builder 06:47:38 ---> 3c50d8080c1a 06:47:38 Step 3/20 : ARG MAKE='make build' 06:47:38 ---> Running in a21d4d4bdb39 06:47:39 Removing intermediate container a21d4d4bdb39 06:47:39 ---> e8ec5587db40 06:47:39 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:47:39 ---> Running in dd3303353736 06:47:42 Removing intermediate container dd3303353736 06:47:42 ---> ec11683eff69 06:47:42 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:47:42 ---> Running in 431a00aaa780 06:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:47:45 OK: 221 MiB in 53 packages 06:47:46 Removing intermediate container 431a00aaa780 06:47:46 ---> c36f60fdde51 06:47:46 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:47:46 ---> Running in 16f10b799731 06:47:47 Removing intermediate container 16f10b799731 06:47:47 ---> fe78a453d58e 06:47:47 Step 7/20 : COPY . . 06:47:48 ---> 2eb2e01d3814 06:47:48 Step 8/20 : RUN ${MAKE} 06:47:48 ---> Running in bc0d79064560 06:47:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:48:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:48:27 Removing intermediate container bc0d79064560 06:48:27 ---> bff9a74ccef3 06:48:27 Step 9/20 : FROM scratch 06:48:27 ---> 06:48:27 Step 10/20 : ENV APP_PORT=49991 06:48:27 ---> Running in cd80e6cba01d 06:48:27 Removing intermediate container cd80e6cba01d 06:48:27 ---> 710ecd589df8 06:48:27 Step 11/20 : EXPOSE $APP_PORT 06:48:27 ---> Running in c899fa8ede93 06:48:27 Removing intermediate container c899fa8ede93 06:48:27 ---> bcaa7b57903f 06:48:27 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:48:29 ---> fc244b795928 06:48:29 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:48:30 ---> 3fe49af2cc25 06:48:30 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:48:30 ---> 3e800c4934fc 06:48:30 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:48:31 ---> Running in e0a1fb79811d 06:48:31 Removing intermediate container e0a1fb79811d 06:48:31 ---> 6792d6b1b667 06:48:31 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:48:31 ---> Running in c778a91f1668 06:48:32 Removing intermediate container c778a91f1668 06:48:32 ---> 5a390baf3d34 06:48:32 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:48:32 ---> Running in 5f4cae992bbd 06:48:33 Removing intermediate container 5f4cae992bbd 06:48:33 ---> b9dda2098424 06:48:33 Step 18/20 : LABEL arch=arm64 06:48:33 ---> Running in aca6221a90ba 06:48:33 Removing intermediate container aca6221a90ba 06:48:33 ---> 232fa482ebcf 06:48:33 Step 19/20 : LABEL git_sha=43a3d939038b09c788d4028d29a41d39bd865614 06:48:33 ---> Running in e569570aa6e7 06:48:34 Removing intermediate container e569570aa6e7 06:48:34 ---> 3f54b01821ba 06:48:34 Step 20/20 : LABEL version=0.0.0 06:48:34 ---> Running in bc64b53cd1cc 06:48:35 Removing intermediate container bc64b53cd1cc 06:48:35 ---> 294a210c9d14 06:48:35 [Warning] One or more build-args [ARCH] were not consumed 06:48:35 Successfully built 294a210c9d14 06:48:35 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 06:48:50 Still waiting to schedule task 06:48:50 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 06:54:44 Running on prd-centos7-docker-8c-8g-10284 in /w/workspace/xfoundry_device-modbus-go_PR-185 [Pipeline] { [Pipeline] ws 06:54:44 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:54:47 using credential edgex-jenkins-ssh 06:54:47 Cloning the remote Git repository 06:54:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:54:47 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:54:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:54:47 > git --version # timeout=10 06:54:47 > git --version # 'git version 2.16.5' 06:54:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:48 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 43a3d939038b09c788d4028d29a41d39bd865614 06:54:48 Merge succeeded, producing 43a3d939038b09c788d4028d29a41d39bd865614 06:54:48 Checking out Revision 43a3d939038b09c788d4028d29a41d39bd865614 (PR-185) 06:54:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:54:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:54:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:54:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:54:48 > git config core.sparsecheckout # timeout=10 06:54:48 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:54:48 > git remote # timeout=10 06:54:48 > git config --get remote.origin.url # timeout=10 06:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:48 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:54:48 > git rev-parse HEAD^{commit} # timeout=10 06:54:48 > git config core.sparsecheckout # timeout=10 06:54:48 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:54:51 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:54:51 > git --version # timeout=10 06:54:51 > git --version # 'git version 2.16.5' 06:54:51 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:53 ++ find /w/workspace/device-modbus-go/1 06:54:53 ++ grep snapcraft.yaml 06:54:53 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:53 provisioning config files... 06:54:53 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3896803367210497673tmp [Pipeline] { [Pipeline] sh 06:54:54 + cp /w/workspace/device-modbus-go/1@tmp/config3896803367210497673tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 06:54:54 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 06:54:54 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 06:54:54 latest: Pulling from edgex-devops/edgex-snap-builder 06:54:54 f08d8e2a3ba1: Pulling fs layer 06:54:54 3baa9cb2483b: Pulling fs layer 06:54:54 94e5ff4c0b15: Pulling fs layer 06:54:54 1860925334f9: Pulling fs layer 06:54:54 2daf38717194: Pulling fs layer 06:54:54 309017e8d7a4: Pulling fs layer 06:54:54 f7790dc9fd0f: Pulling fs layer 06:54:54 cac0ae9282c2: Pulling fs layer 06:54:54 1f4cadf9a1ed: Pulling fs layer 06:54:54 309017e8d7a4: Waiting 06:54:54 f7790dc9fd0f: Waiting 06:54:54 cac0ae9282c2: Waiting 06:54:54 1f4cadf9a1ed: Waiting 06:54:54 1860925334f9: Waiting 06:54:54 2daf38717194: Waiting 06:54:54 94e5ff4c0b15: Verifying Checksum 06:54:54 94e5ff4c0b15: Download complete 06:54:54 3baa9cb2483b: Download complete 06:54:54 1860925334f9: Download complete 06:54:56 309017e8d7a4: Verifying Checksum 06:54:56 309017e8d7a4: Download complete 06:54:56 f7790dc9fd0f: Verifying Checksum 06:54:56 cac0ae9282c2: Verifying Checksum 06:54:56 cac0ae9282c2: Download complete 06:54:56 1f4cadf9a1ed: Download complete 06:54:57 f08d8e2a3ba1: Verifying Checksum 06:54:57 f08d8e2a3ba1: Download complete 06:54:59 f08d8e2a3ba1: Pull complete 06:54:59 3baa9cb2483b: Pull complete 06:54:59 94e5ff4c0b15: Pull complete 06:54:59 1860925334f9: Pull complete 06:55:02 2daf38717194: Download complete 06:55:24 2daf38717194: Pull complete 06:55:24 309017e8d7a4: Pull complete 06:55:24 f7790dc9fd0f: Pull complete 06:55:24 cac0ae9282c2: Pull complete 06:55:24 1f4cadf9a1ed: Pull complete 06:55:24 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 06:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 06:55:24 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 06:55:24 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 06:55:24 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 06:55:24 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 06:55:24 Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1353 kB] 06:55:24 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2165 kB] 06:55:24 Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1748 kB] 06:55:24 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [239 kB] 06:55:24 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2118 kB] 06:55:24 Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [213 kB] 06:55:24 Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.4 kB] 06:55:24 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.9 kB] 06:55:24 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 06:55:24 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 06:55:24 Fetched 8172 kB in 2s (4779 kB/s) 06:55:26 Reading package lists... 06:55:29 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 06:55:29 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 06:55:29 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 06:55:29 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 06:55:30 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 52% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 06:55:32 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 06:55:34 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 53% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 06:55:34 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 97% Building dependency tree 06:55:34 Reading state information... 0% Reading state information... 0% Reading state information... Done 06:55:34 The following packages were automatically installed and are no longer required: 06:55:34 libjq1 libonig4 06:55:34 Use 'sudo apt autoremove' to remove them. 06:55:34 Suggested packages: 06:55:34 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 06:55:34 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 06:55:34 diffutils-doc perl-doc libterm-readline-gnu-perl 06:55:34 | libterm-readline-perl-perl 06:55:34 The following NEW packages will be installed: 06:55:34 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 06:55:34 libperl5.26 make netbase patch perl perl-modules-5.26 06:55:34 The following packages will be upgraded: 06:55:34 perl-base 06:55:34 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. 06:55:34 Need to get 13.4 MB of archives. 06:55:34 After this operation, 77.5 MB of additional disk space will be used. 06:55:34 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 06:55:35 0% [1 perl-base 12.6 kB/1391 kB 1%] 3% [1 perl-base 515 kB/1391 kB 37%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 06:55:35 10% [2 perl-modules-5.26 21.6 kB/2762 kB 1%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 06:55:35 28% [3 libgdbm5 16.5 kB/26.0 kB 63%] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 06:55:35 30% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 06:55:35 30% [5 libperl5.26 22.5 kB/3534 kB 1%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 06:55:35 53% [6 perl 12.2 kB/201 kB 6%] 55% [Working] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 06:55:35 55% [7 less 6998 B/112 kB 6%] 57% [Working] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 06:55:35 57% [8 netbase 5450 B/12.7 kB 43%] 59% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 06:55:35 59% [9 curl 0 B/159 kB 0%] 61% [Working] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 06:55:35 61% [10 libcurl3-gnutls 26.7 kB/213 kB 13%] 64% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 06:55:35 64% [11 liberror-perl 7113 B/22.8 kB 31%] 65% [Working] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 06:55:35 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 06:55:35 71% [13 git 4096 B/3915 kB 0%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 06:55:35 96% [14 make 2692 B/154 kB 2%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 06:55:35 98% [15 patch 12.3 kB/102 kB 12%] 100% [Working] Fetched 13.4 MB in 1s (9058 kB/s) 06:55:36 debconf: delaying package configuration, since apt-utils is not installed 06:55:36 (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.) 06:55:36 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 06:55:36 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 06:55:39 Running on prd-ubuntu18.04-docker-arm64-16c-16g-10286 in /w/workspace/xfoundry_device-modbus-go_PR-185 [Pipeline] { [Pipeline] ws 06:55:39 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:55:40 Setting up perl-base (5.26.1-6ubuntu0.5) ... 06:55:40 Selecting previously unselected package perl-modules-5.26. 06:55:40 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 06:55:40 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 06:55:40 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:55:41 Selecting previously unselected package libgdbm5:amd64. 06:55:41 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 06:55:41 Unpacking libgdbm5:amd64 (1.14.1-6) ... 06:55:41 Selecting previously unselected package libgdbm-compat4:amd64. 06:55:41 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 06:55:41 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 06:55:41 Selecting previously unselected package libperl5.26:amd64. 06:55:41 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 06:55:41 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:55:41 Selecting previously unselected package perl. 06:55:41 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 06:55:41 Unpacking perl (5.26.1-6ubuntu0.5) ... 06:55:41 Selecting previously unselected package less. 06:55:41 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 06:55:41 Unpacking less (487-0.1) ... 06:55:41 Selecting previously unselected package netbase. 06:55:41 Preparing to unpack .../06-netbase_5.4_all.deb ... 06:55:41 Unpacking netbase (5.4) ... 06:55:41 Selecting previously unselected package curl. 06:55:41 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 06:55:41 Unpacking curl (7.58.0-2ubuntu3.10) ... 06:55:41 Selecting previously unselected package libcurl3-gnutls:amd64. 06:55:41 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 06:55:41 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:55:42 Selecting previously unselected package liberror-perl. 06:55:42 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 06:55:42 Unpacking liberror-perl (0.17025-1) ... 06:55:42 Selecting previously unselected package git-man. 06:55:42 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 06:55:42 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 06:55:42 Selecting previously unselected package git. 06:55:42 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 06:55:42 Unpacking git (1:2.17.1-1ubuntu0.7) ... 06:55:43 Selecting previously unselected package make. 06:55:43 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 06:55:43 Unpacking make (4.1-9.1ubuntu1) ... 06:55:43 Selecting previously unselected package patch. 06:55:43 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 06:55:43 Unpacking patch (2.7.6-2ubuntu1.1) ... 06:55:43 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 06:55:43 Setting up less (487-0.1) ... 06:55:43 Setting up make (4.1-9.1ubuntu1) ... 06:55:43 Setting up curl (7.58.0-2ubuntu3.10) ... 06:55:43 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:55:43 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:55:43 Setting up libgdbm5:amd64 (1.14.1-6) ... 06:55:43 Setting up patch (2.7.6-2ubuntu1.1) ... 06:55:43 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 06:55:43 Setting up netbase (5.4) ... 06:55:43 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:55:43 Setting up perl (5.26.1-6ubuntu0.5) ... 06:55:43 Setting up liberror-perl (0.17025-1) ... 06:55:43 Setting up git (1:2.17.1-1ubuntu0.7) ... 06:55:43 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 06:55:43 Processing triggers for mime-support (3.60ubuntu1) ... 06:55:44 using credential edgex-jenkins-ssh 06:55:44 Cloning the remote Git repository 06:55:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:55:44 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:55:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:44 > git --version # timeout=10 06:55:44 > git --version # 'git version 2.17.1' 06:55:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:45 curl set to automatically installed. 06:55:45 git set to automatically installed. 06:55:45 git-man set to automatically installed. 06:55:45 less set to automatically installed. 06:55:45 libcurl3-gnutls set to automatically installed. 06:55:45 liberror-perl set to automatically installed. 06:55:45 libgdbm-compat4 set to automatically installed. 06:55:45 libgdbm5 set to automatically installed. 06:55:45 libperl5.26 set to automatically installed. 06:55:45 make set to automatically installed. 06:55:45 netbase set to automatically installed. 06:55:45 patch set to automatically installed. 06:55:45 perl set to automatically installed. 06:55:45 perl-base set to automatically installed. 06:55:45 perl-modules-5.26 set to automatically installed. 06:55:45 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 06:55:45 Please ensure the environment is properly setup before continuing. 06:55:45 Ignore this message if the appropriate measures have already been taken 06:55:45 Pulling go  06:55:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:55:46 Merging remotes/origin/master commit 645745cc2ab9199d577c2f6eedd0068fe13701dd into PR head commit 43a3d939038b09c788d4028d29a41d39bd865614 06:55:46 Merge succeeded, producing 43a3d939038b09c788d4028d29a41d39bd865614 06:55:46 Checking out Revision 43a3d939038b09c788d4028d29a41d39bd865614 (PR-185) 06:55:46 'device-modbus' has dependencies that need to be staged: go 06:55:46 Skipping pull go (already ran) 06:55:46 Building go  06:55:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:55:46 Dload Upload Total Spent Left Speed 06:55:46 > git config core.sparsecheckout # timeout=10 06:55:46 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:55:46 > git remote # timeout=10 06:55:46 > git config --get remote.origin.url # timeout=10 06:55:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:46 > git merge 645745cc2ab9199d577c2f6eedd0068fe13701dd # timeout=10 06:55:46 > git rev-parse HEAD^{commit} # timeout=10 06:55:46 > git config core.sparsecheckout # timeout=10 06:55:46 > git checkout -f 43a3d939038b09c788d4028d29a41d39bd865614 # timeout=10 06:55:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 19 115M 19 21.9M 0 0 41.8M 0 0:00:02 --:--:-- 0:00:02 41.7M 72 115M 72 83.5M 0 0 54.6M 0 0:00:02 0:00:01 0:00:01 54.6M 100 115M 100 115M 0 0 57.1M 0 0:00:02 0:00:02 --:--:-- 57.1M 06:55:49 go1.15.2.linux-amd64.tar.gz: OK 06:55:50 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:55:50 > git --version # timeout=10 06:55:50 > git --version # 'git version 2.17.1' 06:55:50 fatal: bad object 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:52 + find /w/workspace/device-modbus-go/1 06:55:52 + grep snapcraft.yaml 06:55:52 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:52 provisioning config files... 06:55:52 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2518687168964297133tmp [Pipeline] { [Pipeline] sh 06:55:53 + cp /w/workspace/device-modbus-go/1@tmp/config2518687168964297133tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 06:55:53 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 06:55:54 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 06:55:54 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 06:55:54 237528ba509b: Pulling fs layer 06:55:54 393b96f31d8b: Pulling fs layer 06:55:54 4d82b0e39008: Pulling fs layer 06:55:54 e7ca375b8d34: Pulling fs layer 06:55:54 418f656485bb: Pulling fs layer 06:55:54 aebe8db9254c: Pulling fs layer 06:55:54 4f5f7b207d3f: Pulling fs layer 06:55:54 d19ca6af091a: Pulling fs layer 06:55:54 16b5a0711add: Pulling fs layer 06:55:54 4f5f7b207d3f: Waiting 06:55:54 e7ca375b8d34: Waiting 06:55:54 d19ca6af091a: Waiting 06:55:54 aebe8db9254c: Waiting 06:55:54 16b5a0711add: Waiting 06:55:54 418f656485bb: Waiting 06:55:54 4d82b0e39008: Verifying Checksum 06:55:54 4d82b0e39008: Download complete 06:55:54 393b96f31d8b: Download complete 06:55:54 e7ca375b8d34: Verifying Checksum 06:55:54 e7ca375b8d34: Download complete 06:55:54 aebe8db9254c: Download complete 06:55:54 4f5f7b207d3f: Verifying Checksum 06:55:54 d19ca6af091a: Download complete 06:55:55 16b5a0711add: Download complete 06:55:56 Staging go  06:55:56 Pulling device-modbus  06:55:57 Skipping build go (already ran) 06:55:57 Building device-modbus  06:55:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:55:58 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 06:55:58 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.112 06:55:58 go: downloading github.com/goburrow/modbus v0.1.0 06:55:58 go: downloading github.com/goburrow/serial v0.1.0 06:55:58 go: downloading github.com/gorilla/mux v1.7.1 06:55:58 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 06:55:58 go: downloading gopkg.in/yaml.v2 v2.3.0 06:55:58 go: downloading github.com/pkg/errors v0.8.1 06:55:58 go: downloading github.com/go-kit/kit v0.8.0 06:55:58 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 06:55:58 go: downloading github.com/pelletier/go-toml v1.2.0 06:55:58 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 06:55:58 go: downloading github.com/google/uuid v1.1.2 06:55:58 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 06:55:58 go: downloading github.com/go-playground/validator/v10 v10.3.0 06:55:58 go: downloading github.com/OneOfOne/xxhash v1.2.8 06:55:58 go: downloading github.com/hashicorp/consul/api v1.1.0 06:55:58 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 06:55:58 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 06:55:58 237528ba509b: Verifying Checksum 06:55:58 237528ba509b: Download complete 06:55:58 go: downloading github.com/BurntSushi/toml v0.3.1 06:55:58 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:55:58 go: downloading github.com/x448/float16 v0.8.4 06:55:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 06:55:58 go: downloading github.com/hashicorp/serf v0.8.2 06:55:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 06:55:58 go: downloading github.com/mitchellh/mapstructure v1.1.2 06:55:58 go: downloading github.com/leodido/go-urn v1.2.0 06:55:58 go: downloading github.com/go-playground/universal-translator v0.17.0 06:55:58 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 06:55:58 go: downloading github.com/mitchellh/copystructure v1.0.0 06:55:58 go: downloading github.com/go-logfmt/logfmt v0.4.0 06:55:58 go: downloading github.com/mitchellh/reflectwalk v1.0.0 06:55:58 go: downloading github.com/go-playground/locales v0.13.0 06:55:58 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:55:58 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 06:55:58 go: downloading github.com/hashicorp/golang-lru v0.5.1 06:56:01 237528ba509b: Pull complete 06:56:01 393b96f31d8b: Pull complete 06:56:01 4d82b0e39008: Pull complete 06:56:02 e7ca375b8d34: Pull complete 06:56:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:56:08 Skipping stage go (already ran) 06:56:08 Staging device-modbus  06:56:08 Priming go  06:56:09 Priming device-modbus  06:56:10 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 06:56:10 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 06:56:10 Determining the version from the project repo (version-script). 06:56:10 The version has been set to 'local-dev-20201102+43a3d93' 06:56:11 Snapping | Snapping / Snapping - Snapping | 06:56:11 Snapped edgex-device-modbus_local-dev-20201102+43a3d93_amd64.snap [Pipeline] } 06:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider 06:56:14 418f656485bb: Verifying Checksum 06:56:14 418f656485bb: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:57:01 418f656485bb: Pull complete 06:57:01 aebe8db9254c: Pull complete 06:57:01 4f5f7b207d3f: Pull complete 06:57:01 d19ca6af091a: Pull complete 06:57:01 16b5a0711add: Pull complete 06:57:01 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 06:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 06:57:03 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 06:57:03 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 06:57:03 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 06:57:04 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 06:57:04 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1413 kB] 06:57:04 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 06:57:04 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 06:57:04 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1861 kB] 06:57:04 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 06:57:04 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 06:57:04 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1036 kB] 06:57:05 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 06:57:05 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1179 kB] 06:57:05 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 06:57:05 Fetched 5774 kB in 3s (2268 kB/s) 06:57:11 Reading package lists... 06:57:29 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 06:57:29 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 06:57:29 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 06:57:29 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 06:57:34 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... 7% Reading package lists... 20% Reading package lists... 34% Reading package lists... 48% Reading package lists... 62% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 74% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 88% 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 06:57:42 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 06:57:46 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... 7% Reading package lists... 21% Reading package lists... 37% Reading package lists... 52% Reading package lists... 67% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 84% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% 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 06:57:47 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 56% Building dependency tree 06:57:47 Reading state information... 0% Reading state information... 0% Reading state information... Done 06:57:48 The following packages were automatically installed and are no longer required: 06:57:48 libjq1 libonig4 06:57:48 Use 'sudo apt autoremove' to remove them. 06:57:48 Suggested packages: 06:57:48 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 06:57:48 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 06:57:48 diffutils-doc perl-doc libterm-readline-gnu-perl 06:57:48 | libterm-readline-perl-perl 06:57:49 The following NEW packages will be installed: 06:57:49 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 06:57:49 libperl5.26 make netbase patch perl perl-modules-5.26 06:57:49 The following packages will be upgraded: 06:57:49 perl-base 06:57:49 1 upgraded, 14 newly installed, 0 to remove and 33 not upgraded. 06:57:49 Need to get 12.0 MB of archives. 06:57:49 After this operation, 73.6 MB of additional disk space will be used. 06:57:49 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.5 [1237 kB] 06:57:49 0% [1 perl-base 12.6 kB/1237 kB 1%] 5% [1 perl-base 742 kB/1237 kB 60%] 10% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 06:57:50 10% [2 perl-modules-5.26 7382 B/2762 kB 0%] 29% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 06:57:50 29% [3 libgdbm5 23.1 kB/23.1 kB 100%] 31% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 06:57:50 31% [4 libgdbm-compat4 0 B/5536 B 0%] 32% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.5 [3335 kB] 06:57:50 32% [5 libperl5.26 4096 B/3335 kB 0%] 56% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.5 [201 kB] 06:57:50 56% [6 perl 41.1 kB/201 kB 20%] 58% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 06:57:50 58% [7 less 0 B/99.7 kB 0%] 60% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 06:57:50 60% [8 netbase 12.7 kB/12.7 kB 100%] 62% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 06:57:50 62% [9 curl 49.2 kB/152 kB 32%] 64% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 06:57:50 64% [10 libcurl3-gnutls 32.8 kB/179 kB 18%] 67% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 06:57:50 67% [11 liberror-perl 0 B/22.8 kB 0%] 68% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 06:57:50 68% [12 git-man 4096 B/804 kB 1%] 75% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 06:57:50 75% [13 git 12.3 kB/2952 kB 0%] 96% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 06:57:50 96% [14 make 20.5 kB/139 kB 15%] 98% [Working] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 06:57:50 98% [15 patch 57.3 kB/91.8 kB 62%] 100% [Working] Fetched 12.0 MB in 1s (8567 kB/s) 06:57:51 debconf: delaying package configuration, since apt-utils is not installed 06:57:51 (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.) 06:57:51 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:51 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 06:57:57 Setting up perl-base (5.26.1-6ubuntu0.5) ... 06:57:57 Selecting previously unselected package perl-modules-5.26. 06:57:57 (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.) 06:57:57 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 06:57:57 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:57:58 Selecting previously unselected package libgdbm5:arm64. 06:57:58 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 06:57:58 Unpacking libgdbm5:arm64 (1.14.1-6) ... 06:57:58 Selecting previously unselected package libgdbm-compat4:arm64. 06:57:58 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 06:57:58 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 06:57:58 Selecting previously unselected package libperl5.26:arm64. 06:57:58 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:58 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 06:57:59 Selecting previously unselected package perl. 06:57:59 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_arm64.deb ... 06:57:59 Unpacking perl (5.26.1-6ubuntu0.5) ... 06:58:00 Selecting previously unselected package less. 06:58:00 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 06:58:00 Unpacking less (487-0.1) ... 06:58:00 Selecting previously unselected package netbase. 06:58:00 Preparing to unpack .../06-netbase_5.4_all.deb ... 06:58:00 Unpacking netbase (5.4) ... 06:58:00 Selecting previously unselected package curl. 06:58:00 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 06:58:00 Unpacking curl (7.58.0-2ubuntu3.10) ... 06:58:00 Selecting previously unselected package libcurl3-gnutls:arm64. 06:58:00 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 06:58:00 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 06:58:00 Selecting previously unselected package liberror-perl. 06:58:00 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 06:58:00 Unpacking liberror-perl (0.17025-1) ... 06:58:00 Selecting previously unselected package git-man. 06:58:00 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 06:58:01 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 06:58:01 Selecting previously unselected package git. 06:58:01 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 06:58:01 Unpacking git (1:2.17.1-1ubuntu0.7) ... 06:58:02 Selecting previously unselected package make. 06:58:02 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 06:58:02 Unpacking make (4.1-9.1ubuntu1) ... 06:58:02 Selecting previously unselected package patch. 06:58:02 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 06:58:02 Unpacking patch (2.7.6-2ubuntu1.1) ... 06:58:02 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 06:58:02 Setting up less (487-0.1) ... 06:58:03 Setting up make (4.1-9.1ubuntu1) ... 06:58:03 Setting up curl (7.58.0-2ubuntu3.10) ... 06:58:03 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 06:58:03 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:58:03 Setting up libgdbm5:arm64 (1.14.1-6) ... 06:58:03 Setting up patch (2.7.6-2ubuntu1.1) ... 06:58:03 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 06:58:03 Setting up netbase (5.4) ... 06:58:03 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.5) ... 06:58:03 Setting up perl (5.26.1-6ubuntu0.5) ... 06:58:03 Setting up liberror-perl (0.17025-1) ... 06:58:03 Setting up git (1:2.17.1-1ubuntu0.7) ... 06:58:03 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 06:58:04 Processing triggers for mime-support (3.60ubuntu1) ... 06:58:09 curl set to automatically installed. 06:58:09 git set to automatically installed. 06:58:09 git-man set to automatically installed. 06:58:09 less set to automatically installed. 06:58:09 libcurl3-gnutls set to automatically installed. 06:58:09 liberror-perl set to automatically installed. 06:58:09 libgdbm-compat4 set to automatically installed. 06:58:09 libgdbm5 set to automatically installed. 06:58:09 libperl5.26 set to automatically installed. 06:58:10 make set to automatically installed. 06:58:10 netbase set to automatically installed. 06:58:10 patch set to automatically installed. 06:58:10 perl set to automatically installed. 06:58:10 perl-base set to automatically installed. 06:58:10 perl-modules-5.26 set to automatically installed. 06:58:10 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 06:58:10 Please ensure the environment is properly setup before continuing. 06:58:10 Ignore this message if the appropriate measures have already been taken 06:58:11 Pulling go  06:58:15 'device-modbus' has dependencies that need to be staged: go 06:58:15 Skipping pull go (already ran) 06:58:15 Building go  06:58:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:58:15 Dload Upload Total Spent Left Speed 06:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 93.2M 39 36.9M 0 0 34.4M 0 0:00:02 0:00:01 0:00:01 34.4M 83 93.2M 83 77.6M 0 0 37.7M 0 0:00:02 0:00:02 --:--:-- 37.7M 100 93.2M 100 93.2M 0 0 38.2M 0 0:00:02 0:00:02 --:--:-- 38.2M 06:58:19 go1.15.2.linux-arm64.tar.gz: OK 06:58:41 Staging go  06:58:42 Pulling device-modbus  06:58:46 Skipping build go (already ran) 06:58:46 Building device-modbus  06:58:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:58:47 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.4-dev.34 06:58:47 go: downloading github.com/goburrow/modbus v0.1.0 06:58:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.112 06:58:47 go: downloading github.com/goburrow/serial v0.1.0 06:58:47 go: downloading github.com/gorilla/mux v1.7.1 06:58:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.50 06:58:47 go: downloading github.com/go-kit/kit v0.8.0 06:58:47 go: downloading github.com/google/uuid v1.1.2 06:58:47 go: downloading gopkg.in/yaml.v2 v2.3.0 06:58:47 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 06:58:47 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.23 06:58:47 go: downloading github.com/pelletier/go-toml v1.2.0 06:58:47 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.25 06:58:47 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.7 06:58:47 go: downloading github.com/OneOfOne/xxhash v1.2.8 06:58:47 go: downloading github.com/go-playground/validator/v10 v10.3.0 06:58:47 go: downloading github.com/pkg/errors v0.8.1 06:58:47 go: downloading github.com/BurntSushi/toml v0.3.1 06:58:47 go: downloading github.com/hashicorp/consul/api v1.1.0 06:58:47 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 06:58:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:58:47 go: downloading github.com/x448/float16 v0.8.4 06:58:47 go: downloading github.com/mitchellh/copystructure v1.0.0 06:58:47 go: downloading github.com/mitchellh/mapstructure v1.1.2 06:58:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 06:58:47 go: downloading github.com/go-playground/universal-translator v0.17.0 06:58:47 go: downloading github.com/leodido/go-urn v1.2.0 06:58:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 06:58:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 06:58:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 06:58:47 go: downloading github.com/hashicorp/serf v0.8.2 06:58:48 go: downloading github.com/go-playground/locales v0.13.0 06:58:48 go: downloading github.com/go-logfmt/logfmt v0.4.0 06:58:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:58:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 06:58:48 go: downloading github.com/hashicorp/golang-lru v0.5.1 06:59:10 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:59:25 Skipping stage go (already ran) 06:59:25 Staging device-modbus  06:59:27 Priming go  06:59:30 Priming device-modbus  06:59:34 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 06:59:34 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 06:59:34 Determining the version from the project repo (version-script). 06:59:34 The version has been set to 'local-dev-20201102+43a3d93' 06:59:35 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 06:59:35 Snapped edgex-device-modbus_local-dev-20201102+43a3d93_arm64.snap [Pipeline] } 06:59:37 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 06:59:40 provisioning config files... 06:59:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-185@tmp/config1701419387626792441tmp [Pipeline] { [Pipeline] sh 06:59:41 + set +x 06:59:41 + curl -s https://codecov.io/bash 06:59:41 + bash -s -- 06:59:41 06:59:41 _____ _ 06:59:41 / ____| | | 06:59:41 | | ___ __| | ___ ___ _____ __ 06:59:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:59:41 | |___| (_) | (_| | __/ (_| (_) \ V / 06:59:41 \_____\___/ \__,_|\___|\___\___/ \_/ 06:59:41 Bash-20201009-048fee3 06:59:41 06:59:41 06:59:41 ==> Jenkins CI detected. 06:59:41 project root: . 06:59:41 --> token set from env 06:59:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:59:41 ==> Running gcov in . (disable via -X gcov) 06:59:41 ==> Python coveragepy not found 06:59:41 ==> Searching for coverage reports in: 06:59:41 + . 06:59:41 -> Found 1 reports 06:59:41 ==> Detecting git/mercurial file structure 06:59:41 ==> Reading reports 06:59:41 + ./coverage.out bytes=22364 06:59:41 ==> Appending adjustments 06:59:41 https://docs.codecov.io/docs/fixing-reports 06:59:41 + Found adjustments 06:59:41 ==> Gzipping contents 06:59:41 ==> Uploading reports 06:59:41 url: https://codecov.io 06:59:41 query: branch=PR-185&commit=43a3d939038b09c788d4028d29a41d39bd865614&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=185&job=&cmd_args= 06:59:41 -> Pinging Codecov 06:59:41 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-185&commit=43a3d939038b09c788d4028d29a41d39bd865614&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=185&job=&cmd_args= 06:59:41 -> Uploading to 06:59:41 06:59:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:41 Dload Upload Total Spent Left Speed 06:59:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:59:41 X> Failed to upload 06:59:41 ==> Uploading to Codecov 06:59:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:41 Dload Upload Total Spent Left Speed 06:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 4257 0 0 100 4144 0 7686 --:--:-- --:--:-- --:--:-- 7688 100 4257 100 113 100 4144 209 7682 --:--:-- --:--:-- --:--:-- 7674 06:59:42 View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/43a3d939038b09c788d4028d29a41d39bd865614 [Pipeline] } 06:59:42 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] { (Archive Prep) Stage "Archive Prep" 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 06:59:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:59:48 ---> package-listing.sh 06:59:48 ++ tr '[:upper:]' '[:lower:]' 06:59:48 ++ facter osfamily 06:59:48 + OS_FAMILY=redhat 06:59:48 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-185 06:59:48 + START_PACKAGES=/tmp/packages_start.txt 06:59:48 + END_PACKAGES=/tmp/packages_end.txt 06:59:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:59:48 + PACKAGES=/tmp/packages_start.txt 06:59:48 + '[' /w/workspace/xfoundry_device-modbus-go_PR-185 ']' 06:59:48 + PACKAGES=/tmp/packages_end.txt 06:59:48 + case "${OS_FAMILY}" in 06:59:48 + rpm -qa 06:59:48 + sort 06:59:53 + '[' -f /tmp/packages_start.txt ']' 06:59:53 + '[' -f /tmp/packages_end.txt ']' 06:59:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:59:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-185 ']' 06:59:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-185/archives/ 06:59:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-185/archives/ [Pipeline] echo 06:59:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:59:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:59:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:54 06:59:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:59:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:59:55 alpine: Pulling from edgex-lftools-log-publisher 06:59:55 df20fa9351a1: Already exists 06:59:55 36b3adc4ff6f: Pulling fs layer 06:59:55 8ad3a11d3b57: Pulling fs layer 06:59:55 46f8f816bc3b: Pulling fs layer 06:59:55 93b61091891f: Pulling fs layer 06:59:55 93b9cdb0e59b: Pulling fs layer 06:59:55 5e14af77c1be: Pulling fs layer 06:59:55 01666e4c0597: Pulling fs layer 06:59:55 93b61091891f: Waiting 06:59:55 93b9cdb0e59b: Waiting 06:59:55 aa168da1d23b: Pulling fs layer 06:59:55 5e14af77c1be: Waiting 06:59:55 01666e4c0597: Waiting 06:59:55 aa168da1d23b: Waiting 06:59:55 46f8f816bc3b: Verifying Checksum 06:59:55 46f8f816bc3b: Download complete 06:59:55 36b3adc4ff6f: Download complete 06:59:55 93b9cdb0e59b: Verifying Checksum 06:59:55 93b9cdb0e59b: Download complete 06:59:55 5e14af77c1be: Verifying Checksum 06:59:55 5e14af77c1be: Download complete 06:59:55 01666e4c0597: Verifying Checksum 06:59:55 01666e4c0597: Download complete 06:59:55 93b61091891f: Download complete 06:59:55 36b3adc4ff6f: Pull complete 06:59:56 8ad3a11d3b57: Verifying Checksum 06:59:56 8ad3a11d3b57: Download complete 06:59:58 8ad3a11d3b57: Pull complete 06:59:59 46f8f816bc3b: Pull complete 07:00:00 93b61091891f: Pull complete 07:00:00 93b9cdb0e59b: Pull complete 07:00:00 5e14af77c1be: Pull complete 07:00:01 01666e4c0597: Pull complete 07:00:02 aa168da1d23b: Verifying Checksum 07:00:02 aa168da1d23b: Download complete 07:00:18 aa168da1d23b: Pull complete 07:00:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:00:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:00:18 prd-centos7-docker-4c-2g-10056 does not seem to be running inside a container 07:00:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-185 -v /w/workspace/xfoundry_device-modbus-go_PR-185:/w/workspace/xfoundry_device-modbus-go_PR-185:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-185@tmp:/w/workspace/xfoundry_device-modbus-go_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:00:22 $ docker top e83760d98f353a503df22a7a7ff298bc50bc1f1e87fd9734d3dbdd14a257510b -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:23 + touch /tmp/pre-build-complete [Pipeline] sh 07:00:23 + mkdir -p /var/log/sa [Pipeline] sh 07:00:24 + ls /var/log/sa-host 07:00:24 + sadf -c /var/log/sa-host/sa02 07:00:24 file_magic: OK 07:00:24 HZ: Using current value: 100 07:00:24 file_header: OK 07:00:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:00:24 Statistics: 07:00:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:00:24 File successfully converted to sysstat format version 12.2.1 07:00:24 + sadf -c /var/log/sa-host/sa05 07:00:24 file_magic: OK 07:00:24 HZ: Using current value: 100 07:00:24 file_header: OK 07:00:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:00:24 Statistics: 07:00:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:00:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:24 provisioning config files... 07:00:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-185@tmp/config610418471052063391tmp [Pipeline] { [Pipeline] echo 07:00:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:00:25 ---> create-netrc.sh [Pipeline] } 07:00:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:00:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:00:26 ---> python-tools-install.sh [Pipeline] echo 07:00:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:00:27 ---> sudo-logs.sh 07:00:27 Archiving 'sudo' log.. [Pipeline] echo 07:00:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:00:27 ---> job-cost.sh 07:00:27 lf-activate-venv: SKIPPING 07:00:27 INFO: No Stack... 07:00:28 INFO: Retrieving Pricing Info for: v1-standard-2 07:00:29 INFO: Archiving Costs [Pipeline] echo 07:00:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:00:29 ---> logs-deploy.sh 07:00:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-185/1 07:00:29 INFO: archiving workspace using pattern(s): 07:00:32 Archives upload complete. 07:00:32 INFO: archiving logs to Nexus