Pull request #174 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from e2ee2c1de404a021a32a0b399017ad1304ef83e1+e5b81f2f6d4871b949c13603cb110c658a649c68 (39f518441f7db4e28397406200eeea5d06c53816) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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-174/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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-125 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # 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 e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:50 ========================================================= 08:24:50 EdgeX Global Pipelines Version Info 08:24:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:51 ------------------- 08:24:51 stable info: 08:24:51 ------------------- 08:24:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:24:51 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:24:51 Message: update stable to v1.0.122 08:24:52 ------------------- 08:24:52 experimental info: 08:24:52 ------------------- 08:24:52 Commited By: **** collab-it+edgex@linuxfoundation.org 08:24:52 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:24:52 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:24:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 08:24:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:24:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2ee2c1de404a021a32a0b399017ad1304ef83e1 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2ee2c1 [Pipeline] echo 08:24:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:57 + git log --format=format:%s -1 e2ee2c1de404a021a32a0b399017ad1304ef83e1 [Pipeline] echo 08:24:57 GIT_COMMIT: e2ee2c1de404a021a32a0b399017ad1304ef83e1, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:24:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:24:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:58 08:24:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:24:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:59 latest: Pulling from edgex-devops/git-semver 08:24:59 31603596830f: Pulling fs layer 08:24:59 2a8b12db71e7: Pulling fs layer 08:24:59 6ca5941a6612: Pulling fs layer 08:24:59 ecc8261a40a4: Pulling fs layer 08:24:59 ecc8261a40a4: Waiting 08:24:59 2a8b12db71e7: Download complete 08:24:59 31603596830f: Verifying Checksum 08:24:59 31603596830f: Download complete 08:24:59 ecc8261a40a4: Verifying Checksum 08:24:59 ecc8261a40a4: Download complete 08:24:59 6ca5941a6612: Verifying Checksum 08:24:59 6ca5941a6612: Download complete 08:24:59 31603596830f: Pull complete 08:24:59 2a8b12db71e7: Pull complete 08:25:00 6ca5941a6612: Pull complete 08:25:00 ecc8261a40a4: Pull complete 08:25:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:25:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:25:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:25:00 prd-centos7-docker-4c-2g-125 does not seem to be running inside a container 08:25:00 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-174 -v /w/workspace/xfoundry_device-modbus-go_PR-174:/w/workspace/xfoundry_device-modbus-go_PR-174:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-174@tmp:/w/workspace/xfoundry_device-modbus-go_PR-174@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:25:02 $ docker top 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:25:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:02 [ssh-agent] Looking for ssh-agent implementation... 08:25:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:03 $ docker exec 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent 08:25:03 SSH_AUTH_SOCK=/tmp/ssh-zXZW7zwLDBXB/agent.11 08:25:03 SSH_AGENT_PID=17 08:25:03 Running ssh-add (command line suppressed) 08:25:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_5159481543297891667.key (/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_5159481543297891667.key) 08:25:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:03 + git describe --exact-match --tags HEAD 08:25:03 fatal: No names found, cannot describe anything. [Pipeline] } 08:25:03 $ docker exec --env ******** --env ******** 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent -k 08:25:03 unset SSH_AUTH_SOCK; 08:25:03 unset SSH_AGENT_PID; 08:25:03 echo Agent pid 17 killed; 08:25:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:25:04 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:25:04 This usually means this commit has not been tagged. [Pipeline] sshagent 08:25:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:04 [ssh-agent] Looking for ssh-agent implementation... 08:25:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:04 $ docker exec 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent 08:25:04 SSH_AUTH_SOCK=/tmp/ssh-r3iMhsstTJpB/agent.46 08:25:04 SSH_AGENT_PID=51 08:25:04 Running ssh-add (command line suppressed) 08:25:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_4582302734350669977.key (/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_4582302734350669977.key) 08:25:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:05 + git semver init 08:25:05 # -> Open(): unable to determine branch for HEAD 08:25:05 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-174/.git 08:25:05 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-174 08:25:05 # $SEMVER_REMOTE_NAME = origin 08:25:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:25:05 # $SEMVER_USER_NAME = edgex-jenkins 08:25:05 # $SEMVER_BRANCH = PR-174 08:25:05 # $SEMVER_TEMP = /tmp/semver-315714452 08:25:05 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 08:25:07 # '/tmp/semver-315714452' -> '/w/workspace/xfoundry_device-modbus-go_PR-174/.semver' 08:25:07 # -> Force: false 08:25:07 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-174/.semver [Pipeline] } 08:25:07 $ docker exec --env ******** --env ******** 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent -k 08:25:07 unset SSH_AUTH_SOCK; 08:25:07 unset SSH_AGENT_PID; 08:25:07 echo Agent pid 51 killed; 08:25:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:25:07 + git semver [Pipeline] } 08:25:07 $ docker stop --time=1 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 08:25:09 $ docker rm -f 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:25:10 Stashed 29 file(s) [Pipeline] echo 08:25:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:25:10 Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:25:26 Still waiting to schedule task 08:25:26 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-125’ 08:25:26 Still waiting to schedule task 08:25:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:27:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-126 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws 08:27:20 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:27:25 using credential edgex-jenkins-ssh 08:27:25 Cloning the remote Git repository 08:27:25 Cloning with configured refspecs honoured and without tags 08:27:26 Fetching without tags 08:27:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:27:25 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:27:25 > git --version # timeout=10 08:27:25 > git --version # 'git version 2.17.1' 08:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:27:26 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 08:27:26 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:27:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:27 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:27:27 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:27:27 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) 08:27:27 > git config core.sparsecheckout # timeout=10 08:27:27 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:27:27 > git remote # timeout=10 08:27:27 > git config --get remote.origin.url # timeout=10 08:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:27 > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 08:27:27 > git rev-parse HEAD^{commit} # timeout=10 08:27:27 > git config core.sparsecheckout # timeout=10 08:27:27 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:27:31 Commit message: "build: Upgrade to Go1.15" 08:27:31 > git --version # timeout=10 08:27:31 > git --version # 'git version 2.17.1' 08:27:31 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:27:33 ========================================================= 08:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:27:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:27:34 + 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 . 08:27:35 Sending build context to Docker daemon 675.8kB 08:27:35 Step 1/8 : ARG BASE=golang:1.15-alpine 08:27:35 Step 2/8 : FROM ${BASE} 08:27:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:27:35 b538f80385f9: Pulling fs layer 08:27:35 74f711af9a0d: Pulling fs layer 08:27:35 99f96fe45779: Pulling fs layer 08:27:35 8529a6b9a6be: Pulling fs layer 08:27:35 45590311c82a: Pulling fs layer 08:27:35 69ca0ff8b7b3: Pulling fs layer 08:27:35 209524e5b208: Pulling fs layer 08:27:35 45590311c82a: Waiting 08:27:35 69ca0ff8b7b3: Waiting 08:27:35 209524e5b208: Waiting 08:27:35 8529a6b9a6be: Waiting 08:27:35 99f96fe45779: Download complete 08:27:35 74f711af9a0d: Verifying Checksum 08:27:35 74f711af9a0d: Download complete 08:27:35 45590311c82a: Verifying Checksum 08:27:35 45590311c82a: Download complete 08:27:35 Running on prd-centos7-docker-4c-2g-127 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws 08:27:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:27:36 69ca0ff8b7b3: Verifying Checksum 08:27:36 69ca0ff8b7b3: Download complete 08:27:36 b538f80385f9: Verifying Checksum 08:27:36 b538f80385f9: Download complete 08:27:37 b538f80385f9: Pull complete 08:27:37 74f711af9a0d: Pull complete 08:27:37 using credential edgex-jenkins-ssh 08:27:37 Cloning the remote Git repository 08:27:37 Cloning with configured refspecs honoured and without tags 08:27:38 99f96fe45779: Pull complete 08:27:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:27:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:27:38 209524e5b208: Verifying Checksum 08:27:38 209524e5b208: Download complete 08:27:39 Fetching without tags 08:27:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:27:38 > git --version # timeout=10 08:27:38 > git --version # 'git version 2.16.5' 08:27:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:38 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:27:38 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 08:27:39 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:27:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:27:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:39 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:27:39 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:27:39 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:27:39 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) 08:27:39 8529a6b9a6be: Verifying Checksum 08:27:39 8529a6b9a6be: Download complete 08:27:39 > git config core.sparsecheckout # timeout=10 08:27:39 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:27:39 > git remote # timeout=10 08:27:39 > git config --get remote.origin.url # timeout=10 08:27:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:39 > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 08:27:39 > git rev-parse HEAD^{commit} # timeout=10 08:27:39 > git config core.sparsecheckout # timeout=10 08:27:39 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:27:43 Commit message: "build: Upgrade to Go1.15" 08:27:43 > git --version # timeout=10 08:27:43 > git --version # 'git version 2.16.5' 08:27:43 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:27:44 ========================================================= 08:27:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:27:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:27:44 + 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 . 08:27:45 Sending build context to Docker daemon 675.8kB 08:27:45 Step 1/8 : ARG BASE=golang:1.15-alpine 08:27:45 Step 2/8 : FROM ${BASE} 08:27:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:27:45 df20fa9351a1: Pulling fs layer 08:27:45 ed8968b2872e: Pulling fs layer 08:27:45 a92cc7c5fd73: Pulling fs layer 08:27:45 e871e8e8d7a9: Pulling fs layer 08:27:45 e73272ec9a57: Pulling fs layer 08:27:45 1e910a182e73: Pulling fs layer 08:27:45 4e634b169226: Pulling fs layer 08:27:45 e871e8e8d7a9: Waiting 08:27:45 e73272ec9a57: Waiting 08:27:45 4e634b169226: Waiting 08:27:45 a92cc7c5fd73: Verifying Checksum 08:27:45 a92cc7c5fd73: Download complete 08:27:45 ed8968b2872e: Verifying Checksum 08:27:45 ed8968b2872e: Download complete 08:27:45 e73272ec9a57: Verifying Checksum 08:27:45 e73272ec9a57: Download complete 08:27:45 1e910a182e73: Download complete 08:27:45 df20fa9351a1: Verifying Checksum 08:27:45 df20fa9351a1: Download complete 08:27:45 df20fa9351a1: Pull complete 08:27:45 ed8968b2872e: Pull complete 08:27:46 a92cc7c5fd73: Pull complete 08:27:46 4e634b169226: Verifying Checksum 08:27:46 4e634b169226: Download complete 08:27:47 e871e8e8d7a9: Verifying Checksum 08:27:47 e871e8e8d7a9: Download complete 08:27:50 8529a6b9a6be: Pull complete 08:27:50 45590311c82a: Pull complete 08:27:51 69ca0ff8b7b3: Pull complete 08:27:52 e871e8e8d7a9: Pull complete 08:27:52 e73272ec9a57: Pull complete 08:27:52 1e910a182e73: Pull complete 08:27:55 209524e5b208: Pull complete 08:27:55 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:27:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:27:55 ---> 5bddaf1c2fca 08:27:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:27:57 ---> Running in db85c8224fc5 08:27:57 Removing intermediate container db85c8224fc5 08:27:57 ---> a9e85786ca44 08:27:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:27:57 ---> Running in 58d0ca32a4a1 08:27:58 4e634b169226: Pull complete 08:27:58 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:27:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:27:58 ---> f7629b54cfaa 08:27:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:27:58 ---> Running in 1961ddf88313 08:27:58 Removing intermediate container 1961ddf88313 08:27:58 ---> df96b3104e6e 08:27:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:27:58 ---> Running in 21f59b61dda3 08:27:59 Removing intermediate container 21f59b61dda3 08:27:59 ---> 4342e018ba38 08:27:59 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:27:59 ---> Running in ae40fe9eb16f 08:28:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:28:00 Removing intermediate container 58d0ca32a4a1 08:28:00 ---> e3d038a7cb15 08:28:00 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:28:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:28:00 ---> Running in f8dd15bcfe43 08:28:00 (1/14) Installing libmagic (5.38-r0) 08:28:01 (2/14) Installing file (5.38-r0) 08:28:01 (3/14) Installing libc-dev (0.7.2-r3) 08:28:01 (4/14) Installing g++ (9.3.0-r2) 08:28:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:28:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:28:03 (1/14) Installing libmagic (5.38-r0) 08:28:03 (2/14) Installing file (5.38-r0) 08:28:03 (3/14) Installing libc-dev (0.7.2-r3) 08:28:04 (4/14) Installing g++ (9.3.0-r2) 08:28:08 (5/14) Installing fortify-headers (1.1-r0) 08:28:08 (6/14) Installing patch (2.7.6-r6) 08:28:08 (7/14) Installing build-base (0.5-r2) 08:28:08 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:28:08 (9/14) Installing libedit (20191231.3.1-r0) 08:28:08 (10/14) Installing openssh-client (8.3_p1-r0) 08:28:09 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:28:09 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:28:09 (13/14) Installing openssh-server (8.3_p1-r0) 08:28:09 (14/14) Installing openssh (8.3_p1-r0) 08:28:09 Executing busybox-1.31.1-r16.trigger 08:28:09 OK: 237 MiB in 53 packages 08:28:10 (5/14) Installing fortify-headers (1.1-r0) 08:28:10 (6/14) Installing patch (2.7.6-r6) 08:28:10 (7/14) Installing build-base (0.5-r2) 08:28:10 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:28:10 (9/14) Installing libedit (20191231.3.1-r0) 08:28:10 (10/14) Installing openssh-client (8.3_p1-r0) 08:28:11 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:28:11 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:28:11 (13/14) Installing openssh-server (8.3_p1-r0) 08:28:11 (14/14) Installing openssh (8.3_p1-r0) 08:28:11 Executing busybox-1.31.1-r16.trigger 08:28:11 OK: 221 MiB in 53 packages 08:28:13 Removing intermediate container ae40fe9eb16f 08:28:13 ---> 3b2d2678e1ae 08:28:13 Step 6/8 : WORKDIR /device-modbus-go 08:28:13 ---> Running in 02c335b0d337 08:28:13 Removing intermediate container 02c335b0d337 08:28:13 ---> 9d1f35304002 08:28:13 Step 7/8 : COPY . . 08:28:14 ---> 5e01b7556c31 08:28:14 Step 8/8 : RUN go mod download 08:28:14 ---> Running in c7716cd5f6b8 08:28:16 Removing intermediate container f8dd15bcfe43 08:28:16 ---> 0c7f37479393 08:28:16 Step 6/8 : WORKDIR /device-modbus-go 08:28:16 ---> Running in 814b1fc1c430 08:28:16 Removing intermediate container 814b1fc1c430 08:28:16 ---> 0bdeb6dc5b5f 08:28:16 Step 7/8 : COPY . . 08:28:17 ---> d68d65fb3596 08:28:17 Step 8/8 : RUN go mod download 08:28:17 ---> Running in c17564b93d86 08:28:26 Removing intermediate container c7716cd5f6b8 08:28:26 ---> 38a82408bea5 08:28:26 Successfully built 38a82408bea5 08:28:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:28:27 + docker inspect -f . ci-base-image-x86_64 08:28:27 . [Pipeline] withDockerContainer 08:28:27 prd-centos7-docker-4c-2g-127 does not seem to be running inside a container 08:28:27 $ 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 ******** ci-base-image-x86_64 cat 08:28:28 $ docker top a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:28 + go version 08:28:28 go version go1.15.2 linux/amd64 [Pipeline] } 08:28:28 $ docker stop --time=1 a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 08:28:30 $ docker rm -f a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:28:31 + docker inspect -f . ci-base-image-x86_64 08:28:31 . [Pipeline] withDockerContainer 08:28:31 prd-centos7-docker-4c-2g-127 does not seem to be running inside a container 08:28:31 $ 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 ******** ci-base-image-x86_64 cat 08:28:32 $ docker top 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 -eo pid,comm 08:28:32 Removing intermediate container c17564b93d86 08:28:32 ---> 28a2458d3550 08:28:32 Successfully built 28a2458d3550 08:28:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 08:28:32 + make test 08:28:32 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:28:33 + docker inspect -f . ci-base-image-arm64 08:28:33 . [Pipeline] withDockerContainer 08:28:33 prd-ubuntu18.04-docker-arm64-4c-16g-126 does not seem to be running inside a container 08:28:33 $ 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 ******** ci-base-image-arm64 cat 08:28:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:28:35 $ docker top a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:36 + go version 08:28:36 go version go1.15.2 linux/arm64 [Pipeline] } 08:28:36 $ docker stop --time=1 a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b 08:28:38 $ docker rm -f a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:28:40 + docker inspect -f . ci-base-image-arm64 08:28:40 . [Pipeline] withDockerContainer 08:28:40 prd-ubuntu18.04-docker-arm64-4c-16g-126 does not seem to be running inside a container 08:28:40 $ 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 ******** ci-base-image-arm64 cat 08:28:42 $ docker top 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:28:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.258s coverage: 50.3% of statements 08:28:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:28:43 + make test 08:28:43 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:28:44 gofmt -l . 08:28:44 [ "`gofmt -l .`" = "" ] 08:28:44 ./bin/test-attribution-txt.sh 08:28:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:28:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:28:45 Stashed 1 file(s) [Pipeline] } 08:28:45 $ docker stop --time=1 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 08:28:47 $ docker rm -f 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:28:51 + ls -al . 08:28:51 total 104 08:28:51 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 08:28 . 08:28:51 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:27 .. 08:28:51 -rw-rw-r--. 1 jenkins jenkins 4913 Sep 17 08:27 Attribution.txt 08:28:51 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:27 bin 08:28:51 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:27 cmd 08:28:51 -rw-r--r--. 1 jenkins jenkins 22364 Sep 17 08:28 coverage.out 08:28:51 -rw-rw-r--. 1 jenkins jenkins 1430 Sep 17 08:27 Dockerfile 08:28:51 -rw-rw-r--. 1 jenkins jenkins 954 Sep 17 08:27 Dockerfile.build 08:28:51 -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 08:27 .dockerignore 08:28:51 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:27 .git 08:28:51 drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:27 .github 08:28:51 -rw-rw-r--. 1 jenkins jenkins 338 Sep 17 08:27 .gitignore 08:28:51 -rw-r--r--. 1 jenkins jenkins 559 Sep 17 08:28 go.mod 08:28:51 -rw-r--r--. 1 jenkins jenkins 13471 Sep 17 08:28 go.sum 08:28:51 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:27 internal 08:28:51 -rw-rw-r--. 1 jenkins jenkins 679 Sep 17 08:27 Jenkinsfile 08:28:51 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:27 LICENSE 08:28:51 -rw-rw-r--. 1 jenkins jenkins 880 Sep 17 08:27 Makefile 08:28:51 -rw-rw-r--. 1 jenkins jenkins 591 Sep 17 08:27 README.md 08:28:51 drwxrwxr-x. 3 jenkins jenkins 58 Sep 17 08:27 .semver 08:28:51 drwxrwxr-x. 2 jenkins jenkins 52 Sep 17 08:27 simulator 08:28:51 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:27 snap 08:28:51 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:25 VERSION 08:28:51 -rw-rw-r--. 1 jenkins jenkins 229 Sep 17 08:27 version.go [Pipeline] isUnix [Pipeline] sh 08:28:51 + 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=e2ee2c1de404a021a32a0b399017ad1304ef83e1 --label arch=amd64 --label version=0.0.0 . 08:28:51 Sending build context to Docker daemon 707.1kB 08:28:51 Step 1/20 : ARG BASE=golang:1.15-alpine 08:28:51 Step 2/20 : FROM ${BASE} AS builder 08:28:51 ---> 38a82408bea5 08:28:51 Step 3/20 : ARG MAKE='make build' 08:28:51 ---> Running in fc80659d5e69 08:28:51 Removing intermediate container fc80659d5e69 08:28:51 ---> afcde5bcff59 08:28:51 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:51 ---> Running in 85d3ffd35678 08:28:52 Removing intermediate container 85d3ffd35678 08:28:52 ---> e56422084be7 08:28:52 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:28:52 ---> Running in a940be68c8ca 08:28:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:28:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:28:54 OK: 237 MiB in 53 packages 08:28:55 Removing intermediate container a940be68c8ca 08:28:55 ---> 6d5ffe2d203c 08:28:55 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:28:55 ---> Running in 58fbb25cd0c7 08:28:55 Removing intermediate container 58fbb25cd0c7 08:28:55 ---> 69b3863f00cd 08:28:55 Step 7/20 : COPY . . 08:28:56 ---> b1211ae50922 08:28:56 Step 8/20 : RUN ${MAKE} 08:28:56 ---> Running in 47521b91e46b 08:28: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 08:29:05 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:29:07 Removing intermediate container 47521b91e46b 08:29:07 ---> 5ea297693302 08:29:07 Step 9/20 : FROM scratch 08:29:07 ---> 08:29:07 Step 10/20 : ENV APP_PORT=49991 08:29:07 ---> Running in 862755b17d50 08:29:07 Removing intermediate container 862755b17d50 08:29:07 ---> 28e53e6bf5be 08:29:07 Step 11/20 : EXPOSE $APP_PORT 08:29:07 ---> Running in ec45590ca38e 08:29:07 Removing intermediate container ec45590ca38e 08:29:07 ---> fcb08a4b33ce 08:29:07 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:29:08 ---> d891a30b6a47 08:29:08 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:29:08 ---> 9e4c7afac86f 08:29:08 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:29:08 ---> 3186620166bb 08:29:08 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:29:08 ---> Running in 0594e6431723 08:29:08 Removing intermediate container 0594e6431723 08:29:08 ---> 441b2b10f1f5 08:29:08 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:29:09 ---> Running in 2ef35045b09e 08:29:09 Removing intermediate container 2ef35045b09e 08:29:09 ---> a63e9d95eb0a 08:29:09 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:29:09 ---> Running in 056c1469591e 08:29:09 Removing intermediate container 056c1469591e 08:29:09 ---> cb8fdaf7716f 08:29:09 Step 18/20 : LABEL arch=amd64 08:29:09 ---> Running in ee6bb13dc1a6 08:29:09 Removing intermediate container ee6bb13dc1a6 08:29:09 ---> 663043ff0cc1 08:29:09 Step 19/20 : LABEL git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:29:09 ---> Running in ab99db2b74de 08:29:09 Removing intermediate container ab99db2b74de 08:29:09 ---> d022db9444b0 08:29:09 Step 20/20 : LABEL version=0.0.0 08:29:09 ---> Running in de988855a0bd 08:29:10 Removing intermediate container de988855a0bd 08:29:10 ---> b14e55d525ce 08:29:10 [Warning] One or more build-args [ARCH] were not consumed 08:29:10 Successfully built b14e55d525ce 08:29:10 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 08:29:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:29:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.562s coverage: 50.3% of statements 08:29:17 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:29:19 gofmt -l . 08:29:19 [ "`gofmt -l .`" = "" ] 08:29:19 ./bin/test-attribution-txt.sh 08:29:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:29:20 Warning: overwriting stash ‘coverage-report’ 08:29:21 Stashed 1 file(s) [Pipeline] } 08:29:21 $ docker stop --time=1 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 08:29:23 $ docker rm -f 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:29:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:29:25 + ls -al . 08:29:25 total 140 08:29:25 drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 08:29 . 08:29:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:27 .. 08:29:25 -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 08:27 .dockerignore 08:29:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:27 .git 08:29:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 .github 08:29:25 -rw-rw-r-- 1 jenkins jenkins 338 Sep 17 08:27 .gitignore 08:29:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 .semver 08:29:25 -rw-rw-r-- 1 jenkins jenkins 4913 Sep 17 08:27 Attribution.txt 08:29:25 -rw-rw-r-- 1 jenkins jenkins 1430 Sep 17 08:27 Dockerfile 08:29:25 -rw-rw-r-- 1 jenkins jenkins 954 Sep 17 08:27 Dockerfile.build 08:29:25 -rw-rw-r-- 1 jenkins jenkins 679 Sep 17 08:27 Jenkinsfile 08:29:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:27 LICENSE 08:29:25 -rw-rw-r-- 1 jenkins jenkins 880 Sep 17 08:27 Makefile 08:29:25 -rw-rw-r-- 1 jenkins jenkins 591 Sep 17 08:27 README.md 08:29:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:25 VERSION 08:29:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 bin 08:29:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 cmd 08:29:25 -rw-r--r-- 1 jenkins jenkins 22364 Sep 17 08:29 coverage.out 08:29:25 -rw-r--r-- 1 jenkins jenkins 559 Sep 17 08:29 go.mod 08:29:25 -rw-r--r-- 1 jenkins jenkins 13471 Sep 17 08:29 go.sum 08:29:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 internal 08:29:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 simulator 08:29:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:27 snap 08:29:25 -rw-rw-r-- 1 jenkins jenkins 229 Sep 17 08:27 version.go [Pipeline] isUnix [Pipeline] sh 08:29:25 + 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=e2ee2c1de404a021a32a0b399017ad1304ef83e1 --label arch=arm64 --label version=0.0.0 . 08:29:26 Sending build context to Docker daemon 707.1kB 08:29:26 Step 1/20 : ARG BASE=golang:1.15-alpine 08:29:26 Step 2/20 : FROM ${BASE} AS builder 08:29:26 ---> 28a2458d3550 08:29:26 Step 3/20 : ARG MAKE='make build' 08:29:26 Still waiting to schedule task 08:29:26 All nodes of label ‘centos7-docker-8c-8g’ are offline 08:29:26 ---> Running in 6117c0f8134a 08:29:26 Removing intermediate container 6117c0f8134a 08:29:26 ---> 6b0a7ef722ce 08:29:26 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:26 ---> Running in c352260e158a 08:29:29 Removing intermediate container c352260e158a 08:29:29 ---> 10ba93e41a30 08:29:29 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:29:29 ---> Running in 0827cc73465b 08:29:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:29:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:29:32 OK: 221 MiB in 53 packages 08:29:33 Removing intermediate container 0827cc73465b 08:29:33 ---> 268e210ea9b6 08:29:33 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:29:33 ---> Running in 1451c2125e06 08:29:34 Removing intermediate container 1451c2125e06 08:29:34 ---> 9717756b113f 08:29:34 Step 7/20 : COPY . . 08:29:35 ---> daa809ab1dc4 08:29:35 Step 8/20 : RUN ${MAKE} 08:29:35 ---> Running in 194a296a7832 08:29:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:29:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:30:04 Removing intermediate container 194a296a7832 08:30:04 ---> 65400711a6cb 08:30:04 Step 9/20 : FROM scratch 08:30:04 ---> 08:30:04 Step 10/20 : ENV APP_PORT=49991 08:30:04 ---> Running in f2d7d84d2487 08:30:04 Removing intermediate container f2d7d84d2487 08:30:04 ---> 68b2ff810b6d 08:30:04 Step 11/20 : EXPOSE $APP_PORT 08:30:05 ---> Running in 49074f5fd6cf 08:30:05 Removing intermediate container 49074f5fd6cf 08:30:05 ---> 5f42fa3646b9 08:30:05 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:30:06 ---> 6d883f003803 08:30:06 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:30:07 ---> 33767c12ca5b 08:30:07 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:30:07 ---> 2d760b90d676 08:30:07 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:30:07 ---> Running in 10d58ac52aa1 08:30:08 Removing intermediate container 10d58ac52aa1 08:30:08 ---> 25e7c290e2ba 08:30:08 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:30:08 ---> Running in 97460650daf7 08:30:08 Removing intermediate container 97460650daf7 08:30:08 ---> 074610146168 08:30:08 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:30:09 ---> Running in d5a178fe3c09 08:30:09 Removing intermediate container d5a178fe3c09 08:30:09 ---> 6e204361bdbb 08:30:09 Step 18/20 : LABEL arch=arm64 08:30:09 ---> Running in 5997517fccc9 08:30:10 Removing intermediate container 5997517fccc9 08:30:10 ---> e8faaffc0e8b 08:30:10 Step 19/20 : LABEL git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:30:10 ---> Running in e4da33fa2a58 08:30:10 Removing intermediate container e4da33fa2a58 08:30:10 ---> 848116028165 08:30:10 Step 20/20 : LABEL version=0.0.0 08:30:10 ---> Running in 4a50d6f9c9bd 08:30:10 Removing intermediate container 4a50d6f9c9bd 08:30:10 ---> 63b6b3ce5edd 08:30:10 [Warning] One or more build-args [ARCH] were not consumed 08:30:10 Successfully built 63b6b3ce5edd 08:30:11 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 08:30:27 Still waiting to schedule task 08:30:27 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 08:30:38 Running on prd-centos7-docker-8c-8g-129 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws 08:30:38 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:30:40 using credential edgex-jenkins-ssh 08:30:40 Cloning the remote Git repository 08:30:40 Cloning with configured refspecs honoured and without tags 08:30:41 Fetching without tags 08:30:40 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:30:40 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:30:40 > git --version # timeout=10 08:30:40 > git --version # 'git version 2.16.5' 08:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:30:41 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 08:30:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:30:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:30:41 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:30:41 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:30:41 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) 08:30:41 > git config core.sparsecheckout # timeout=10 08:30:41 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:30:41 > git remote # timeout=10 08:30:41 > git config --get remote.origin.url # timeout=10 08:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:30:41 > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 08:30:41 > git rev-parse HEAD^{commit} # timeout=10 08:30:41 > git config core.sparsecheckout # timeout=10 08:30:41 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:30:45 Commit message: "build: Upgrade to Go1.15" 08:30:45 > git --version # timeout=10 08:30:45 > git --version # 'git version 2.16.5' 08:30:45 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:47 ++ find /w/workspace/device-modbus-go/1 08:30:47 ++ grep snapcraft.yaml 08:30:47 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:30:47 provisioning config files... 08:30:47 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3182314799413822043tmp [Pipeline] { [Pipeline] sh 08:30:48 + cp /w/workspace/device-modbus-go/1@tmp/config3182314799413822043tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 08:30:48 + 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 08:30:48 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 08:30:48 latest: Pulling from edgex-devops/edgex-snap-builder 08:30:48 f08d8e2a3ba1: Pulling fs layer 08:30:48 3baa9cb2483b: Pulling fs layer 08:30:48 94e5ff4c0b15: Pulling fs layer 08:30:48 1860925334f9: Pulling fs layer 08:30:48 2daf38717194: Pulling fs layer 08:30:48 309017e8d7a4: Pulling fs layer 08:30:48 f7790dc9fd0f: Pulling fs layer 08:30:48 cac0ae9282c2: Pulling fs layer 08:30:48 1f4cadf9a1ed: Pulling fs layer 08:30:48 1860925334f9: Waiting 08:30:48 2daf38717194: Waiting 08:30:48 cac0ae9282c2: Waiting 08:30:48 1f4cadf9a1ed: Waiting 08:30:48 309017e8d7a4: Waiting 08:30:48 f7790dc9fd0f: Waiting 08:30:48 94e5ff4c0b15: Verifying Checksum 08:30:48 94e5ff4c0b15: Download complete 08:30:48 3baa9cb2483b: Download complete 08:30:48 1860925334f9: Download complete 08:30:48 309017e8d7a4: Download complete 08:30:48 f7790dc9fd0f: Verifying Checksum 08:30:48 f7790dc9fd0f: Download complete 08:30:49 cac0ae9282c2: Verifying Checksum 08:30:51 1f4cadf9a1ed: Verifying Checksum 08:30:51 1f4cadf9a1ed: Download complete 08:30:51 f08d8e2a3ba1: Verifying Checksum 08:30:51 f08d8e2a3ba1: Download complete 08:30:52 f08d8e2a3ba1: Pull complete 08:30:52 3baa9cb2483b: Pull complete 08:30:52 94e5ff4c0b15: Pull complete 08:30:52 1860925334f9: Pull complete 08:30:57 2daf38717194: Verifying Checksum 08:30:57 2daf38717194: Download complete 08:31:12 2daf38717194: Pull complete 08:31:12 309017e8d7a4: Pull complete 08:31:12 f7790dc9fd0f: Pull complete 08:31:12 cac0ae9282c2: Pull complete 08:31:12 1f4cadf9a1ed: Pull complete 08:31:12 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 08:31:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:31:13 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 08:31:13 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:31:13 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 08:31:13 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [901 kB] 08:31:13 Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [10.1 kB] 08:31:13 Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1089 kB] 08:31:13 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [116 kB] 08:31:14 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 08:31:14 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.7 kB] 08:31:14 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [132 kB] 08:31:14 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1429 kB] 08:31:14 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1385 kB] 08:31:14 Fetched 5342 kB in 1s (4053 kB/s) 08:31:15 Reading package lists... 08:31:17 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 08:31:17 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:31:17 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 08:31:18 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 08:31:19 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 88% 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 08:31:20 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 08:31:21 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% 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 08:31:21 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 08:31:21 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:31:21 The following packages were automatically installed and are no longer required: 08:31:21 libjq1 libonig4 08:31:21 Use 'sudo apt autoremove' to remove them. 08:31:21 Suggested packages: 08:31:21 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:31:21 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:31:21 diffutils-doc perl-doc libterm-readline-gnu-perl 08:31:21 | libterm-readline-perl-perl 08:31:21 The following NEW packages will be installed: 08:31:21 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:31:21 libperl5.26 make netbase patch perl perl-modules-5.26 08:31:21 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. 08:31:21 Need to get 12.0 MB of archives. 08:31:21 After this operation, 77.5 MB of additional disk space will be used. 08:31:21 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 08:31:22 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 2% [1 perl-modules-5.26 332 kB/2763 kB 12%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 08:31:22 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 08:31:22 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 08:31:23 23% [4 libperl5.26 69.3 kB/3527 kB 2%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 08:31:23 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 08:31:23 51% [6 less 28.4 kB/112 kB 25%] 53% [Working] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 08:31:23 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 08:31:23 54% [8 curl 34.7 kB/159 kB 22%] 57% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 08:31:23 57% [9 libcurl3-gnutls 0 B/213 kB 0%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 08:31:23 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 08:31:23 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 08:31:23 68% [12 git 65.5 kB/3915 kB 2%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 08:31:23 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 08:31:23 98% [14 patch 65.5 kB/102 kB 64%] 100% [Working] Fetched 12.0 MB in 2s (7521 kB/s) 08:31:23 debconf: delaying package configuration, since apt-utils is not installed 08:31:23 Selecting previously unselected package perl-modules-5.26. 08:31:23 (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.) 08:31:23 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:31:23 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:31:24 Selecting previously unselected package libgdbm5:amd64. 08:31:24 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 08:31:24 Unpacking libgdbm5:amd64 (1.14.1-6) ... 08:31:24 Selecting previously unselected package libgdbm-compat4:amd64. 08:31:24 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 08:31:24 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 08:31:24 Selecting previously unselected package libperl5.26:amd64. 08:31:24 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 08:31:24 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:31:25 Selecting previously unselected package perl. 08:31:25 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 08:31:25 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:31:25 Selecting previously unselected package less. 08:31:25 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 08:31:25 Unpacking less (487-0.1) ... 08:31:25 Selecting previously unselected package netbase. 08:31:25 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:31:25 Unpacking netbase (5.4) ... 08:31:25 Selecting previously unselected package curl. 08:31:25 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 08:31:25 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:31:25 Selecting previously unselected package libcurl3-gnutls:amd64. 08:31:25 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 08:31:25 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:31:25 Selecting previously unselected package liberror-perl. 08:31:25 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:31:25 Unpacking liberror-perl (0.17025-1) ... 08:31:25 Selecting previously unselected package git-man. 08:31:25 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:31:25 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:31:25 Selecting previously unselected package git. 08:31:25 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 08:31:25 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:31:26 Selecting previously unselected package make. 08:31:26 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 08:31:26 Unpacking make (4.1-9.1ubuntu1) ... 08:31:26 Selecting previously unselected package patch. 08:31:26 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 08:31:26 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:31:26 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:31:26 Setting up less (487-0.1) ... 08:31:26 Setting up make (4.1-9.1ubuntu1) ... 08:31:26 Setting up curl (7.58.0-2ubuntu3.10) ... 08:31:26 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:31:26 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:31:26 Setting up libgdbm5:amd64 (1.14.1-6) ... 08:31:26 Setting up patch (2.7.6-2ubuntu1.1) ... 08:31:26 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 08:31:26 Setting up netbase (5.4) ... 08:31:26 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:31:26 Setting up perl (5.26.1-6ubuntu0.3) ... 08:31:26 Setting up liberror-perl (0.17025-1) ... 08:31:26 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:31:26 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:31:26 Processing triggers for mime-support (3.60ubuntu1) ... 08:31:28 curl set to automatically installed. 08:31:28 git set to automatically installed. 08:31:28 git-man set to automatically installed. 08:31:28 less set to automatically installed. 08:31:28 libcurl3-gnutls set to automatically installed. 08:31:28 liberror-perl set to automatically installed. 08:31:28 libgdbm-compat4 set to automatically installed. 08:31:28 libgdbm5 set to automatically installed. 08:31:28 libperl5.26 set to automatically installed. 08:31:28 make set to automatically installed. 08:31:28 netbase set to automatically installed. 08:31:28 patch set to automatically installed. 08:31:28 perl set to automatically installed. 08:31:28 perl-modules-5.26 set to automatically installed. 08:31:28 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:31:28 Please ensure the environment is properly setup before continuing. 08:31:28 Ignore this message if the appropriate measures have already been taken 08:31:28 Pulling go  08:31:29 'device-modbus' has dependencies that need to be staged: go 08:31:29 Skipping pull go (already ran) 08:31:29 Building go  08:31:29 % Total % Received % Xferd Average Speed Time Time Time Current 08:31:29 Dload Upload Total Spent Left Speed 08:31:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 115M 39 45.8M 0 0 52.2M 0 0:00:02 --:--:-- 0:00:02 52.2M 100 115M 100 115M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M 08:31:31 go1.15.2.linux-amd64.tar.gz: OK 08:31:37 Staging go  08:31:37 Pulling device-modbus  08:31:37 Skipping build go (already ran) 08:31:37 Building device-modbus  08:31:37 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:31:38 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:31:38 go: downloading github.com/goburrow/modbus v0.1.0 08:31:38 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:31:38 go: downloading github.com/goburrow/serial v0.1.0 08:31:38 go: downloading github.com/gorilla/mux v1.7.1 08:31:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:31:38 go: downloading github.com/go-kit/kit v0.8.0 08:31:38 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:31:38 go: downloading github.com/google/uuid v1.1.1 08:31:38 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:31:38 go: downloading gopkg.in/yaml.v2 v2.2.8 08:31:38 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:31:38 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:31:38 go: downloading github.com/pelletier/go-toml v1.2.0 08:31:38 go: downloading github.com/pkg/errors v0.8.1 08:31:38 go: downloading github.com/hashicorp/consul/api v1.1.0 08:31:38 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:31:38 go: downloading github.com/BurntSushi/toml v0.3.1 08:31:38 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:31:38 go: downloading github.com/mitchellh/copystructure v1.0.0 08:31:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:31:38 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:31:38 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:31:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:31:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:31:38 go: downloading github.com/hashicorp/serf v0.8.2 08:31:38 go: downloading github.com/x448/float16 v0.8.4 08:31:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:31:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:31:38 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:31:38 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:31:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:31:46 Skipping stage go (already ran) 08:31:46 Staging device-modbus  08:31:46 Priming go  08:31:47 Priming device-modbus  08:31:47 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:31:47 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:31:47 Determining the version from the project repo (version-script). 08:31:47 The version has been set to 'local-dev-20200917+e2ee2c1' 08:31:48 Snapping | Snapping / Snapping - Snapping | 08:31:48 Snapped edgex-device-modbus_local-dev-20200917+e2ee2c1_amd64.snap [Pipeline] } 08:31:50 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] } 08:32:29 Running on prd-ubuntu18.04-docker-arm64-16c-16g-131 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws 08:32:29 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:32:34 using credential edgex-jenkins-ssh 08:32:34 Cloning the remote Git repository 08:32:34 Cloning with configured refspecs honoured and without tags 08:32:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:32:34 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:32:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:32:34 > git --version # timeout=10 08:32:34 > git --version # 'git version 2.17.1' 08:32:34 using GIT_SSH to set credentials SSH Credentials for GitHub 08:32:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:32:35 Fetching without tags 08:32:35 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:32:35 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 08:32:35 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) 08:32:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:32:35 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 08:32:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:32:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:32:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:32:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:32:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:32:35 > git config core.sparsecheckout # timeout=10 08:32:35 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:32:35 > git remote # timeout=10 08:32:35 > git config --get remote.origin.url # timeout=10 08:32:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:32:35 > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 08:32:35 > git rev-parse HEAD^{commit} # timeout=10 08:32:35 > git config core.sparsecheckout # timeout=10 08:32:35 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 08:32:40 Commit message: "build: Upgrade to Go1.15" 08:32:40 > git --version # timeout=10 08:32:40 > git --version # 'git version 2.17.1' 08:32:40 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:41 + find /w/workspace/device-modbus-go/1 08:32:41 + grep snapcraft.yaml 08:32:41 + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:32:41 provisioning config files... 08:32:41 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config7859234491285052290tmp [Pipeline] { [Pipeline] sh 08:32:42 + cp /w/workspace/device-modbus-go/1@tmp/config7859234491285052290tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 08:32:42 + 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 08:32:43 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 08:32:43 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 08:32:43 237528ba509b: Pulling fs layer 08:32:43 393b96f31d8b: Pulling fs layer 08:32:43 4d82b0e39008: Pulling fs layer 08:32:43 e7ca375b8d34: Pulling fs layer 08:32:43 418f656485bb: Pulling fs layer 08:32:43 aebe8db9254c: Pulling fs layer 08:32:43 4f5f7b207d3f: Pulling fs layer 08:32:43 d19ca6af091a: Pulling fs layer 08:32:43 16b5a0711add: Pulling fs layer 08:32:43 16b5a0711add: Waiting 08:32:43 d19ca6af091a: Waiting 08:32:43 e7ca375b8d34: Waiting 08:32:43 aebe8db9254c: Waiting 08:32:43 418f656485bb: Waiting 08:32:43 4f5f7b207d3f: Waiting 08:32:43 4d82b0e39008: Verifying Checksum 08:32:43 4d82b0e39008: Download complete 08:32:43 393b96f31d8b: Verifying Checksum 08:32:43 393b96f31d8b: Download complete 08:32:43 e7ca375b8d34: Verifying Checksum 08:32:43 e7ca375b8d34: Download complete 08:32:43 aebe8db9254c: Verifying Checksum 08:32:43 aebe8db9254c: Download complete 08:32:45 4f5f7b207d3f: Download complete 08:32:45 d19ca6af091a: Verifying Checksum 08:32:45 d19ca6af091a: Download complete 08:32:46 16b5a0711add: Verifying Checksum 08:32:46 237528ba509b: Verifying Checksum 08:32:46 237528ba509b: Download complete 08:32:50 237528ba509b: Pull complete 08:32:50 393b96f31d8b: Pull complete 08:32:50 4d82b0e39008: Pull complete 08:32:50 e7ca375b8d34: Pull complete 08:32:57 418f656485bb: Verifying Checksum 08:32:57 418f656485bb: Download complete 08:33:44 418f656485bb: Pull complete 08:33:44 aebe8db9254c: Pull complete 08:33:44 4f5f7b207d3f: Pull complete 08:33:44 d19ca6af091a: Pull complete 08:33:44 16b5a0711add: Pull complete 08:33:44 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 08:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 08:33:44 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:33:44 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 08:33:44 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 08:33:44 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 08:33:44 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [943 kB] 08:33:44 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1264 kB] 08:33:44 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [672 kB] 08:33:44 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [787 kB] 08:33:45 Fetched 3917 kB in 2s (1694 kB/s) 08:33:49 Reading package lists... 08:34:04 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:34:04 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 08:34:04 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 08:34:04 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 08:34:10 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... 8% Reading package lists... 29% Reading package lists... 47% Reading package lists... 63% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 77% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 08:34:16 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 08:34:22 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... 8% Reading package lists... 24% Reading package lists... 39% Reading package lists... 53% Reading package lists... 69% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 85% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 08:34:23 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 2% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 92% Building dependency tree 08:34:23 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:34:24 The following packages were automatically installed and are no longer required: 08:34:24 libjq1 libonig4 08:34:24 Use 'sudo apt autoremove' to remove them. 08:34:24 Suggested packages: 08:34:24 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:34:24 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:34:24 diffutils-doc perl-doc libterm-readline-gnu-perl 08:34:24 | libterm-readline-perl-perl 08:34:24 The following NEW packages will be installed: 08:34:24 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:34:24 libperl5.26 make netbase patch perl perl-modules-5.26 08:34:24 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. 08:34:24 Need to get 10.8 MB of archives. 08:34:24 After this operation, 73.6 MB of additional disk space will be used. 08:34:25 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] 08:34:25 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 622 kB/2763 kB 23%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 08:34:25 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 08:34:25 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] 08:34:25 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 08:34:25 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 08:34:25 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 08:34:25 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 08:34:25 58% [8 curl 53.2 kB/152 kB 35%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 08:34:25 61% [9 libcurl3-gnutls 24.6 kB/179 kB 14%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 08:34:25 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 08:34:26 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 08:34:26 72% [12 git 41.0 kB/2952 kB 1%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 08:34:26 96% [13 make 65.5 kB/139 kB 47%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 08:34:26 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (7263 kB/s) 08:34:27 debconf: delaying package configuration, since apt-utils is not installed 08:34:27 Selecting previously unselected package perl-modules-5.26. 08:34:27 (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.) 08:34:27 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:34:27 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:34:28 Selecting previously unselected package libgdbm5:arm64. 08:34:28 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 08:34:28 Unpacking libgdbm5:arm64 (1.14.1-6) ... 08:34:28 Selecting previously unselected package libgdbm-compat4:arm64. 08:34:28 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 08:34:28 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 08:34:29 Selecting previously unselected package libperl5.26:arm64. 08:34:29 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 08:34:29 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:34:30 Selecting previously unselected package perl. 08:34:30 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 08:34:30 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:34:30 Selecting previously unselected package less. 08:34:30 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 08:34:30 Unpacking less (487-0.1) ... 08:34:30 Selecting previously unselected package netbase. 08:34:30 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:34:30 Unpacking netbase (5.4) ... 08:34:30 Selecting previously unselected package curl. 08:34:30 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 08:34:30 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:34:31 Selecting previously unselected package libcurl3-gnutls:arm64. 08:34:31 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 08:34:31 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:34:31 Selecting previously unselected package liberror-perl. 08:34:31 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:34:31 Unpacking liberror-perl (0.17025-1) ... 08:34:31 Selecting previously unselected package git-man. 08:34:31 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:34:31 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:34:31 Selecting previously unselected package git. 08:34:31 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 08:34:31 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:34:33 Selecting previously unselected package make. 08:34:33 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 08:34:33 Unpacking make (4.1-9.1ubuntu1) ... 08:34:33 Selecting previously unselected package patch. 08:34:33 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 08:34:33 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:34:33 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:34:33 Setting up less (487-0.1) ... 08:34:34 Setting up make (4.1-9.1ubuntu1) ... 08:34:34 Setting up curl (7.58.0-2ubuntu3.10) ... 08:34:34 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:34:34 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:34:34 Setting up libgdbm5:arm64 (1.14.1-6) ... 08:34:34 Setting up patch (2.7.6-2ubuntu1.1) ... 08:34:34 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 08:34:34 Setting up netbase (5.4) ... 08:34:34 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:34:34 Setting up perl (5.26.1-6ubuntu0.3) ... 08:34:34 Setting up liberror-perl (0.17025-1) ... 08:34:34 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:34:34 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:34:34 Processing triggers for mime-support (3.60ubuntu1) ... 08:34:41 curl set to automatically installed. 08:34:41 git set to automatically installed. 08:34:41 git-man set to automatically installed. 08:34:41 less set to automatically installed. 08:34:41 libcurl3-gnutls set to automatically installed. 08:34:41 liberror-perl set to automatically installed. 08:34:41 libgdbm-compat4 set to automatically installed. 08:34:41 libgdbm5 set to automatically installed. 08:34:41 libperl5.26 set to automatically installed. 08:34:41 make set to automatically installed. 08:34:41 netbase set to automatically installed. 08:34:41 patch set to automatically installed. 08:34:41 perl set to automatically installed. 08:34:41 perl-modules-5.26 set to automatically installed. 08:34:41 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:34:41 Please ensure the environment is properly setup before continuing. 08:34:41 Ignore this message if the appropriate measures have already been taken 08:34:42 Pulling go  08:34:47 'device-modbus' has dependencies that need to be staged: go 08:34:47 Skipping pull go (already ran) 08:34:47 Building go  08:34:47 % Total % Received % Xferd Average Speed Time Time Time Current 08:34:47 Dload Upload Total Spent Left Speed 08:34:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 93.2M 4 4351k 0 0 12.8M 0 0:00:07 --:--:-- 0:00:07 12.8M 49 93.2M 49 46.5M 0 0 34.0M 0 0:00:02 0:00:01 0:00:01 34.0M 93 93.2M 93 87.2M 0 0 37.4M 0 0:00:02 0:00:02 --:--:-- 37.4M 100 93.2M 100 93.2M 0 0 37.9M 0 0:00:02 0:00:02 --:--:-- 37.9M 08:34:50 go1.15.2.linux-arm64.tar.gz: OK 08:35:12 Staging go  08:35:16 Pulling device-modbus  08:35:20 Skipping build go (already ran) 08:35:20 Building device-modbus  08:35:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:35:21 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:35:21 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:35:21 go: downloading github.com/goburrow/modbus v0.1.0 08:35:21 go: downloading github.com/goburrow/serial v0.1.0 08:35:21 go: downloading github.com/gorilla/mux v1.7.1 08:35:21 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:35:21 go: downloading github.com/google/uuid v1.1.1 08:35:21 go: downloading github.com/go-kit/kit v0.8.0 08:35:21 go: downloading gopkg.in/yaml.v2 v2.2.8 08:35:21 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:35:21 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:35:21 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:35:21 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:35:21 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:35:21 go: downloading github.com/pkg/errors v0.8.1 08:35:21 go: downloading github.com/pelletier/go-toml v1.2.0 08:35:21 go: downloading github.com/BurntSushi/toml v0.3.1 08:35:21 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:35:21 go: downloading github.com/hashicorp/consul/api v1.1.0 08:35:21 go: downloading github.com/x448/float16 v0.8.4 08:35:21 go: downloading github.com/mitchellh/copystructure v1.0.0 08:35:21 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:35:21 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:35:21 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:35:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:35:21 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:35:21 go: downloading github.com/hashicorp/serf v0.8.2 08:35:22 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:35:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:35:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:35:22 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:35:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:35:59 Skipping stage go (already ran) 08:35:59 Staging device-modbus  08:35:59 Priming go  08:36:03 Priming device-modbus  08:36:07 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:36:07 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:36:07 Determining the version from the project repo (version-script). 08:36:07 The version has been set to 'local-dev-20200917+e2ee2c1' 08:36:07 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 08:36:07 Snapped edgex-device-modbus_local-dev-20200917+e2ee2c1_arm64.snap [Pipeline] } 08:36:10 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 08:36:13 provisioning config files... 08:36:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config7932375409687168123tmp [Pipeline] { [Pipeline] sh 08:36:13 + curl -s https://codecov.io/bash 08:36:13 + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config7932375409687168123tmp [Pipeline] } 08:36:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:36:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:36:18 ---> package-listing.sh 08:36:18 ++ facter osfamily 08:36:18 ++ tr '[:upper:]' '[:lower:]' 08:36:18 + OS_FAMILY=redhat 08:36:18 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-174 08:36:18 + START_PACKAGES=/tmp/packages_start.txt 08:36:18 + END_PACKAGES=/tmp/packages_end.txt 08:36:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:36:18 + PACKAGES=/tmp/packages_start.txt 08:36:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-174 ']' 08:36:18 + PACKAGES=/tmp/packages_end.txt 08:36:18 + case "${OS_FAMILY}" in 08:36:18 + rpm -qa 08:36:18 + sort 08:36:22 + '[' -f /tmp/packages_start.txt ']' 08:36:22 + '[' -f /tmp/packages_end.txt ']' 08:36:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:36:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-174 ']' 08:36:22 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-174/archives/ 08:36:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-174/archives/ [Pipeline] isUnix [Pipeline] sh 08:36:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:22 08:36:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:36:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:23 alpine: Pulling from edgex-lftools-log-publisher 08:36:23 df20fa9351a1: Pulling fs layer 08:36:23 36b3adc4ff6f: Pulling fs layer 08:36:23 8ad3a11d3b57: Pulling fs layer 08:36:23 46f8f816bc3b: Pulling fs layer 08:36:23 0dadc02b9964: Pulling fs layer 08:36:23 ce6a7cf60c04: Pulling fs layer 08:36:23 7a184a31f384: Pulling fs layer 08:36:23 0879bd2ef858: Pulling fs layer 08:36:23 0dadc02b9964: Waiting 08:36:23 ce6a7cf60c04: Waiting 08:36:23 7a184a31f384: Waiting 08:36:23 0879bd2ef858: Waiting 08:36:23 36b3adc4ff6f: Download complete 08:36:23 46f8f816bc3b: Verifying Checksum 08:36:23 46f8f816bc3b: Download complete 08:36:23 df20fa9351a1: Verifying Checksum 08:36:23 ce6a7cf60c04: Verifying Checksum 08:36:23 ce6a7cf60c04: Download complete 08:36:23 7a184a31f384: Download complete 08:36:23 0dadc02b9964: Verifying Checksum 08:36:23 0dadc02b9964: Download complete 08:36:23 df20fa9351a1: Pull complete 08:36:23 36b3adc4ff6f: Pull complete 08:36:23 8ad3a11d3b57: Verifying Checksum 08:36:23 8ad3a11d3b57: Download complete 08:36:24 8ad3a11d3b57: Pull complete 08:36:24 46f8f816bc3b: Pull complete 08:36:24 0dadc02b9964: Pull complete 08:36:24 0879bd2ef858: Verifying Checksum 08:36:24 ce6a7cf60c04: Pull complete 08:36:25 7a184a31f384: Pull complete 08:36:27 0879bd2ef858: Pull complete 08:36:27 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:36:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:36:27 prd-centos7-docker-4c-2g-125 does not seem to be running inside a container 08:36:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/xfoundry_device-modbus-go_PR-174 -v /w/workspace/xfoundry_device-modbus-go_PR-174:/w/workspace/xfoundry_device-modbus-go_PR-174:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-174@tmp:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:36:32 $ docker top de6f49ef599857567d0dd4c83e646ecad7c673be25aa67b795bbf13890754465 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:33 + mkdir -p /var/log/sa [Pipeline] sh 08:36:33 + ls /var/log/sa-host 08:36:33 + sadf -c /var/log/sa-host/sa05 08:36:33 file_magic: OK 08:36:33 HZ: Using current value: 100 08:36:33 file_header: OK 08:36:33 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 08:36:33 Statistics: 08:36:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:36:33 File successfully converted to sysstat format version 12.2.1 08:36:33 + sadf -c /var/log/sa-host/sa17 08:36:33 file_magic: OK 08:36:33 HZ: Using current value: 100 08:36:33 file_header: OK 08:36:33 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 08:36:33 Statistics: 08:36:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:36:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:33 provisioning config files... 08:36:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config6514655407803576275tmp [Pipeline] { [Pipeline] echo 08:36:33 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:36:34 ---> create-netrc.sh [Pipeline] echo 08:36:34 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:36:34 ---> logs-deploy.sh 08:36:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-174/1 08:36:34 INFO: archiving workspace using pattern(s): 08:36:36 Archives upload complete. 08:36:36 INFO: archiving logs to Nexus