Pull request #173 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-mqtt-go Obtained Jenkinsfile from b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c+a4d671bc363cd3b6b16a5de27983df7bd02b35a1 (4513a179f946546cdae475e47d7bb8d662d832bb) 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-mqtt-go/branches/PR-173/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-mqtt-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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-136 in /w/workspace/gexfoundry_device-mqtt-go_PR-173 [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 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-173 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/173/head:refs/remotes/origin/PR-173 # 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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c Checking out Revision b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c (PR-173) > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # 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:36:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:36:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:36:56 ========================================================= 08:36:56 EdgeX Global Pipelines Version Info 08:36:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:36:57 ------------------- 08:36:57 stable info: 08:36:57 ------------------- 08:36:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:36:57 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:36:57 Message: update stable to v1.0.122 08:36:58 ------------------- 08:36:58 experimental info: 08:36:58 ------------------- 08:36:58 Commited By: **** collab-it+edgex@linuxfoundation.org 08:36:58 Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 08:36:58 Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:36:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:37:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:37:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:37:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:37:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:37:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:37:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 08:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 08:37:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 08:37:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c [Pipeline] echo 08:37:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7208c3 [Pipeline] echo 08:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:04 + git log --format=format:%s -1 b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c [Pipeline] echo 08:37:04 GIT_COMMIT: b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo 08:37:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:37:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:05 08:37:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:37:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:06 latest: Pulling from edgex-devops/git-semver 08:37:06 31603596830f: Pulling fs layer 08:37:06 2a8b12db71e7: Pulling fs layer 08:37:06 6ca5941a6612: Pulling fs layer 08:37:06 ecc8261a40a4: Pulling fs layer 08:37:06 ecc8261a40a4: Waiting 08:37:06 2a8b12db71e7: Verifying Checksum 08:37:06 2a8b12db71e7: Download complete 08:37:06 31603596830f: Verifying Checksum 08:37:06 31603596830f: Download complete 08:37:06 ecc8261a40a4: Verifying Checksum 08:37:06 ecc8261a40a4: Download complete 08:37:06 6ca5941a6612: Verifying Checksum 08:37:06 6ca5941a6612: Download complete 08:37:06 31603596830f: Pull complete 08:37:06 2a8b12db71e7: Pull complete 08:37:07 6ca5941a6612: Pull complete 08:37:07 ecc8261a40a4: Pull complete 08:37:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:37:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:37:07 prd-centos7-docker-4c-2g-136 does not seem to be running inside a container 08:37:07 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-173 -v /w/workspace/gexfoundry_device-mqtt-go_PR-173:/w/workspace/gexfoundry_device-mqtt-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-173@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:37:09 $ docker top 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:09 [ssh-agent] Looking for ssh-agent implementation... 08:37:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:10 $ docker exec 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 ssh-agent 08:37:10 SSH_AUTH_SOCK=/tmp/ssh-tgJHh52e3uCc/agent.11 08:37:10 SSH_AGENT_PID=16 08:37:10 Running ssh-add (command line suppressed) 08:37:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/private_key_945314219717666122.key (/w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/private_key_945314219717666122.key) 08:37:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:10 + git describe --exact-match --tags HEAD 08:37:10 fatal: No names found, cannot describe anything. [Pipeline] } 08:37:10 $ docker exec --env ******** --env ******** 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 ssh-agent -k 08:37:11 unset SSH_AUTH_SOCK; 08:37:11 unset SSH_AGENT_PID; 08:37:11 echo Agent pid 16 killed; 08:37:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:37:11 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:37:11 This usually means this commit has not been tagged. [Pipeline] sshagent 08:37:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:11 [ssh-agent] Looking for ssh-agent implementation... 08:37:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:11 $ docker exec 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 ssh-agent 08:37:11 SSH_AUTH_SOCK=/tmp/ssh-a9n7m56VOcYp/agent.45 08:37:11 SSH_AGENT_PID=51 08:37:11 Running ssh-add (command line suppressed) 08:37:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/private_key_560111656734062204.key (/w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/private_key_560111656734062204.key) 08:37:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:12 + git semver init 08:37:12 # -> Open(): unable to determine branch for HEAD 08:37:12 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-173/.git 08:37:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-173 08:37:12 # $SEMVER_REMOTE_NAME = origin 08:37:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:37:12 # $SEMVER_USER_NAME = edgex-jenkins 08:37:12 # $SEMVER_BRANCH = PR-173 08:37:12 # $SEMVER_TEMP = /tmp/semver-509367984 08:37:12 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:37:12 # '/tmp/semver-509367984' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-173/.semver' 08:37:12 # -> Force: false 08:37:12 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-173/.semver [Pipeline] } 08:37:12 $ docker exec --env ******** --env ******** 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 ssh-agent -k 08:37:13 unset SSH_AUTH_SOCK; 08:37:13 unset SSH_AGENT_PID; 08:37:13 echo Agent pid 51 killed; 08:37:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:13 + git semver [Pipeline] } 08:37:13 $ docker stop --time=1 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 08:37:15 $ docker rm -f 914b42f1ba2c48dcaf090b42b4911f2c59e0a6624b839a552cdb972fd0c43705 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:37:15 Stashed 26 file(s) [Pipeline] echo 08:37:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:37:16 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:37:31 Still waiting to schedule task 08:37:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:37:31 Still waiting to schedule task 08:37:31 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:40:31 Running on prd-centos7-docker-4c-2g-138 in /w/workspace/gexfoundry_device-mqtt-go_PR-173 [Pipeline] { [Pipeline] ws 08:40:31 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:40:34 using credential edgex-jenkins-ssh 08:40:34 Cloning the remote Git repository 08:40:34 Cloning with configured refspecs honoured and without tags 08:40:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:40:34 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:40:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:40:34 > git --version # timeout=10 08:40:34 > git --version # 'git version 2.16.5' 08:40:34 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:34 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:35 Fetching without tags 08:40:36 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:40:36 Merge succeeded, producing b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:40:36 Checking out Revision b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c (PR-173) 08:40:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:40:35 > git config --add remote.origin.fetch +refs/pull/173/head:refs/remotes/origin/PR-173 # timeout=10 08:40:35 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:40:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:40:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:35 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:36 > git config core.sparsecheckout # timeout=10 08:40:36 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:40:36 > git remote # timeout=10 08:40:36 > git config --get remote.origin.url # timeout=10 08:40:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:36 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 08:40:36 > git rev-parse HEAD^{commit} # timeout=10 08:40:36 > git config core.sparsecheckout # timeout=10 08:40:36 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:40:39 Commit message: "build: Upgrade to Go1.15" 08:40:39 > git --version # timeout=10 08:40:39 > git --version # 'git version 2.16.5' 08:40:39 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:40:41 ========================================================= 08:40:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:40:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:40:42 + 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:40:42 Sending build context to Docker daemon 625.7kB 08:40:42 Step 1/8 : ARG BASE=golang:1.15-alpine 08:40:42 Step 2/8 : FROM ${BASE} 08:40:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:40:42 df20fa9351a1: Pulling fs layer 08:40:42 ed8968b2872e: Pulling fs layer 08:40:42 a92cc7c5fd73: Pulling fs layer 08:40:42 e871e8e8d7a9: Pulling fs layer 08:40:42 e73272ec9a57: Pulling fs layer 08:40:42 1e910a182e73: Pulling fs layer 08:40:42 4e634b169226: Pulling fs layer 08:40:42 e73272ec9a57: Waiting 08:40:42 1e910a182e73: Waiting 08:40:42 4e634b169226: Waiting 08:40:42 e871e8e8d7a9: Waiting 08:40:42 a92cc7c5fd73: Verifying Checksum 08:40:42 a92cc7c5fd73: Download complete 08:40:42 ed8968b2872e: Download complete 08:40:43 e73272ec9a57: Verifying Checksum 08:40:43 e73272ec9a57: Download complete 08:40:43 1e910a182e73: Verifying Checksum 08:40:43 1e910a182e73: Download complete 08:40:43 df20fa9351a1: Download complete 08:40:43 df20fa9351a1: Pull complete 08:40:44 ed8968b2872e: Pull complete 08:40:44 a92cc7c5fd73: Pull complete 08:40:46 4e634b169226: Verifying Checksum 08:40:46 4e634b169226: Download complete 08:40:47 e871e8e8d7a9: Download complete 08:40:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-137 in /w/workspace/gexfoundry_device-mqtt-go_PR-173 [Pipeline] { [Pipeline] ws 08:40:51 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:40:52 e871e8e8d7a9: Pull complete 08:40:52 e73272ec9a57: Pull complete 08:40:52 1e910a182e73: Pull complete 08:40:56 using credential edgex-jenkins-ssh 08:40:56 Cloning the remote Git repository 08:40:56 Cloning with configured refspecs honoured and without tags 08:40:57 Fetching without tags 08:40:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:40:57 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:40:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:40:57 > git --version # timeout=10 08:40:57 > git --version # 'git version 2.17.1' 08:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:40:57 > git config --add remote.origin.fetch +refs/pull/173/head:refs/remotes/origin/PR-173 # timeout=10 08:40:57 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:40:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:57 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:40:58 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:40:58 Merge succeeded, producing b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:40:58 Checking out Revision b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c (PR-173) 08:40:59 4e634b169226: Pull complete 08:40:58 > git config core.sparsecheckout # timeout=10 08:40:58 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:40:58 > git remote # timeout=10 08:40:58 > git config --get remote.origin.url # timeout=10 08:40:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:40:58 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 08:40:58 > git rev-parse HEAD^{commit} # timeout=10 08:40:58 > git config core.sparsecheckout # timeout=10 08:40:58 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:40:59 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:40:59 ---> f7629b54cfaa 08:40:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:40:59 ---> Running in 7d458c99eff1 08:40:59 Removing intermediate container 7d458c99eff1 08:40:59 ---> 8ba1cc6b46fa 08:40:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:40:59 ---> Running in 617a20e88b91 08:41:00 Removing intermediate container 617a20e88b91 08:41:00 ---> b520787dbdef 08:41:00 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:41:01 ---> Running in 53c80ba5bc59 08:41:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:41:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:41:02 Commit message: "build: Upgrade to Go1.15" 08:41:02 > git --version # timeout=10 08:41:02 > git --version # 'git version 2.17.1' 08:41:02 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 08:41:03 (1/14) Installing libmagic (5.38-r0) [Pipeline] withEnv [Pipeline] { 08:41:03 (2/14) Installing file (5.38-r0) 08:41:03 (3/14) Installing libc-dev (0.7.2-r3) 08:41:03 (4/14) Installing g++ (9.3.0-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:41:04 ========================================================= 08:41:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:41:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:41:05 + 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:41:06 Sending build context to Docker daemon 625.7kB 08:41:06 Step 1/8 : ARG BASE=golang:1.15-alpine 08:41:06 Step 2/8 : FROM ${BASE} 08:41:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:41:06 b538f80385f9: Pulling fs layer 08:41:06 74f711af9a0d: Pulling fs layer 08:41:06 99f96fe45779: Pulling fs layer 08:41:06 8529a6b9a6be: Pulling fs layer 08:41:06 45590311c82a: Pulling fs layer 08:41:06 69ca0ff8b7b3: Pulling fs layer 08:41:06 209524e5b208: Pulling fs layer 08:41:06 45590311c82a: Waiting 08:41:06 8529a6b9a6be: Waiting 08:41:06 69ca0ff8b7b3: Waiting 08:41:06 209524e5b208: Waiting 08:41:06 99f96fe45779: Verifying Checksum 08:41:06 99f96fe45779: Download complete 08:41:06 74f711af9a0d: Verifying Checksum 08:41:06 74f711af9a0d: Download complete 08:41:06 45590311c82a: Verifying Checksum 08:41:06 45590311c82a: Download complete 08:41:06 69ca0ff8b7b3: Verifying Checksum 08:41:06 69ca0ff8b7b3: Download complete 08:41:07 b538f80385f9: Verifying Checksum 08:41:07 b538f80385f9: Download complete 08:41:08 b538f80385f9: Pull complete 08:41:08 74f711af9a0d: Pull complete 08:41:08 99f96fe45779: Pull complete 08:41:10 209524e5b208: Verifying Checksum 08:41:10 209524e5b208: Download complete 08:41:12 8529a6b9a6be: Verifying Checksum 08:41:12 8529a6b9a6be: Download complete 08:41:22 8529a6b9a6be: Pull complete 08:41:22 45590311c82a: Pull complete 08:41:22 69ca0ff8b7b3: Pull complete 08:41:27 209524e5b208: Pull complete 08:41:27 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:41:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:41:27 ---> 5bddaf1c2fca 08:41:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:41:29 ---> Running in 85adf268f435 08:41:29 Removing intermediate container 85adf268f435 08:41:29 ---> 52b0e233cf09 08:41:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:29 ---> Running in f493cdef5e28 08:41:32 Removing intermediate container f493cdef5e28 08:41:32 ---> aa0395ba060a 08:41:32 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:41:32 ---> Running in f175f391ca78 08:41:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:41:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:41:35 (5/14) Installing fortify-headers (1.1-r0) 08:41:35 (6/14) Installing patch (2.7.6-r6) 08:41:35 (7/14) Installing build-base (0.5-r2) 08:41:35 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:41:35 (9/14) Installing libedit (20191231.3.1-r0) 08:41:35 (10/14) Installing openssh-client (8.3_p1-r0) 08:41:35 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:41:35 (1/14) Installing libmagic (5.38-r0) 08:41:35 (2/14) Installing file (5.38-r0) 08:41:35 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:41:35 (13/14) Installing openssh-server (8.3_p1-r0) 08:41:36 (3/14) Installing libc-dev (0.7.2-r3) 08:41:36 (4/14) Installing g++ (9.3.0-r2) 08:41:36 (14/14) Installing openssh (8.3_p1-r0) 08:41:37 Executing busybox-1.31.1-r16.trigger 08:41:37 OK: 237 MiB in 53 packages 08:41:39 Removing intermediate container 53c80ba5bc59 08:41:39 ---> a7e024a0d365 08:41:39 Step 6/8 : WORKDIR /device-mqtt-go 08:41:39 ---> Running in db4908bf7c4f 08:41:39 Removing intermediate container db4908bf7c4f 08:41:39 ---> 7fb415567350 08:41:39 Step 7/8 : COPY . . 08:41:40 ---> a6785c486f12 08:41:40 Step 8/8 : RUN go mod download 08:41:40 ---> Running in 12e167332f08 08:41:55 Removing intermediate container 12e167332f08 08:41:55 ---> 88658e3bcf73 08:41:55 Successfully built 88658e3bcf73 08:41:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:41:56 + docker inspect -f . ci-base-image-x86_64 08:41:56 . [Pipeline] withDockerContainer 08:41:56 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 08:41:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat 08:41:57 $ docker top dcadd6cf1cec35c63983e9732c9ce91bef63f7cf9460761da680dfcc54b39bdd -eo pid,comm [Pipeline] { [Pipeline] sh 08:41:58 + go version 08:41:58 go version go1.15.2 linux/amd64 [Pipeline] } 08:41:58 $ docker stop --time=1 dcadd6cf1cec35c63983e9732c9ce91bef63f7cf9460761da680dfcc54b39bdd 08:41:59 $ docker rm -f dcadd6cf1cec35c63983e9732c9ce91bef63f7cf9460761da680dfcc54b39bdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:42:01 + docker inspect -f . ci-base-image-x86_64 08:42:01 . [Pipeline] withDockerContainer 08:42:01 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 08:42:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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-x86_64 cat 08:42:02 $ docker top c342bfea3e7255b5f6787b13e28fcc87f432bc576cd87edd201ad3e496be2622 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:02 + make test 08:42:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:42:02 (5/14) Installing fortify-headers (1.1-r0) 08:42:02 (6/14) Installing patch (2.7.6-r6) 08:42:02 (7/14) Installing build-base (0.5-r2) 08:42:02 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:42:02 (9/14) Installing libedit (20191231.3.1-r0) 08:42:02 (10/14) Installing openssh-client (8.3_p1-r0) 08:42:02 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:42:02 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:42:02 (13/14) Installing openssh-server (8.3_p1-r0) 08:42:02 (14/14) Installing openssh (8.3_p1-r0) 08:42:02 Executing busybox-1.31.1-r16.trigger 08:42:02 OK: 221 MiB in 53 packages 08:42:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:42:05 Removing intermediate container f175f391ca78 08:42:05 ---> e3bef08009d2 08:42:05 Step 6/8 : WORKDIR /device-mqtt-go 08:42:05 ---> Running in b322643c7a68 08:42:06 Removing intermediate container b322643c7a68 08:42:06 ---> d40008916632 08:42:06 Step 7/8 : COPY . . 08:42:07 ---> 3cfec12819af 08:42:07 Step 8/8 : RUN go mod download 08:42:07 ---> Running in 3fb2775908df 08:42:13 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:42:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.006s coverage: 28.3% of statements 08:42:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:42:13 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:42:15 gofmt -l . 08:42:15 ["`gofmt -l .`" = ""] 08:42:15 ./bin/test-attribution-txt.sh 08:42:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:42:16 Stashed 1 file(s) [Pipeline] } 08:42:16 $ docker stop --time=1 c342bfea3e7255b5f6787b13e28fcc87f432bc576cd87edd201ad3e496be2622 08:42:19 $ docker rm -f c342bfea3e7255b5f6787b13e28fcc87f432bc576cd87edd201ad3e496be2622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:42:21 + ls -al . 08:42:21 total 100 08:42:21 drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 08:42 . 08:42:21 drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:40 .. 08:42:21 -rw-rw-r--. 1 jenkins jenkins 4896 Sep 17 08:40 Attribution.txt 08:42:21 drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:40 bin 08:42:21 drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:40 cmd 08:42:21 -rw-r--r--. 1 jenkins jenkins 18939 Sep 17 08:42 coverage.out 08:42:21 -rw-rw-r--. 1 jenkins jenkins 1784 Sep 17 08:40 Dockerfile 08:42:21 -rw-rw-r--. 1 jenkins jenkins 953 Sep 17 08:40 Dockerfile.build 08:42:21 -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 08:40 .dockerignore 08:42:21 drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:40 .git 08:42:21 drwxrwxr-x. 2 jenkins jenkins 60 Sep 17 08:40 .github 08:42:21 -rw-rw-r--. 1 jenkins jenkins 336 Sep 17 08:40 .gitignore 08:42:21 -rw-r--r--. 1 jenkins jenkins 510 Sep 17 08:42 go.mod 08:42:21 -rw-r--r--. 1 jenkins jenkins 13621 Sep 17 08:42 go.sum 08:42:21 drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:40 internal 08:42:21 -rw-rw-r--. 1 jenkins jenkins 677 Sep 17 08:40 Jenkinsfile 08:42:21 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:40 LICENSE 08:42:21 -rw-rw-r--. 1 jenkins jenkins 902 Sep 17 08:40 Makefile 08:42:21 drwxrwxr-x. 2 jenkins jenkins 23 Sep 17 08:40 mock 08:42:21 -rw-rw-r--. 1 jenkins jenkins 444 Sep 17 08:40 README.md 08:42:21 drwxrwxr-x. 3 jenkins jenkins 58 Sep 17 08:40 .semver 08:42:21 drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:40 snap 08:42:21 -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:37 VERSION 08:42:21 -rw-rw-r--. 1 jenkins jenkins 227 Sep 17 08:40 version.go [Pipeline] isUnix [Pipeline] sh 08:42:22 + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c --label arch=amd64 --label version=0.0.0 . 08:42:22 Sending build context to Docker daemon 645.1kB 08:42:22 Removing intermediate container 3fb2775908df 08:42:22 ---> d7f1e16ab972 08:42:22 Successfully built d7f1e16ab972 08:42:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:42:22 Step 1/22 : ARG BASE=golang:1.15-alpine 08:42:22 Step 2/22 : FROM ${BASE} AS builder 08:42:22 ---> 88658e3bcf73 08:42:22 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:42:22 ---> Running in 86d73e3cebba 08:42:22 + docker inspect -f . ci-base-image-arm64 08:42:22 . [Pipeline] withDockerContainer 08:42:22 Removing intermediate container 86d73e3cebba 08:42:22 ---> ced576f71712 08:42:22 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:42:22 ---> Running in ef51fa8ed655 08:42:22 prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container 08:42:22 Removing intermediate container ef51fa8ed655 08:42:22 ---> 913b47f04f39 08:42:22 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:42:22 ---> Running in 54dc9653c508 08:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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:42:23 Removing intermediate container 54dc9653c508 08:42:23 ---> 905e16afe521 08:42:23 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:23 ---> Running in 738181554efb 08:42:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:42:24 $ docker top b54cb514f9ca86af3c00832dc93dedc6c9e4b20fdd2f1d920815626909f49342 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:42:26 + go version 08:42:26 go version go1.15.2 linux/arm64 [Pipeline] } 08:42:26 $ docker stop --time=1 b54cb514f9ca86af3c00832dc93dedc6c9e4b20fdd2f1d920815626909f49342 08:42:26 OK: 237 MiB in 53 packages 08:42:27 Removing intermediate container 738181554efb 08:42:27 ---> 91e03e230795 08:42:27 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 08:42:27 ---> Running in 3ac643173844 08:42:27 Removing intermediate container 3ac643173844 08:42:27 ---> d8fb8699d6d2 08:42:27 Step 8/22 : COPY . . 08:42:28 ---> 091695edd989 08:42:28 Step 9/22 : ARG MAKE='make build' 08:42:28 $ docker rm -f b54cb514f9ca86af3c00832dc93dedc6c9e4b20fdd2f1d920815626909f49342 08:42:28 ---> Running in 7811445eeac7 08:42:28 Removing intermediate container 7811445eeac7 08:42:28 ---> d64a7bc5f522 08:42:28 Step 10/22 : RUN $MAKE 08:42:28 ---> Running in 593dd7fa87bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 08:42:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:42:29 + docker inspect -f . ci-base-image-arm64 08:42:29 . [Pipeline] withDockerContainer 08:42:29 prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container 08:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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:42:31 $ docker top e31bf628e4056e980ccf5533dd300673e01db2505537f6e0e8a30a4205e9b638 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:33 + make test 08:42:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:42:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:42:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:42:42 Removing intermediate container 593dd7fa87bc 08:42:42 ---> 5e0ced7fe70d 08:42:42 Step 11/22 : FROM alpine 08:42:42 latest: Pulling from library/alpine 08:42:42 df20fa9351a1: Already exists 08:42:42 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:42:42 Status: Downloaded newer image for alpine:latest 08:42:42 ---> a24bb4013296 08:42:42 Step 12/22 : ENV APP_PORT=49982 08:42:42 ---> Running in 7029b0c5473e 08:42:42 Removing intermediate container 7029b0c5473e 08:42:42 ---> 0309cd17e55c 08:42:42 Step 13/22 : EXPOSE $APP_PORT 08:42:42 ---> Running in c5a45a94eb36 08:42:42 Removing intermediate container c5a45a94eb36 08:42:42 ---> ad005195ca55 08:42:42 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 08:42:43 ---> e9be175b2c11 08:42:43 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 08:42:43 ---> 9f95fd5a4dff 08:42:43 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 08:42:44 ---> d1bd949ae5a0 08:42:44 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 08:42:44 ---> Running in 46ca9c018003 08:42:44 Removing intermediate container 46ca9c018003 08:42:44 ---> 0d20356ec65d 08:42:44 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 08:42:44 ---> Running in 0bf6c9e562a5 08:42:44 Removing intermediate container 0bf6c9e562a5 08:42:44 ---> ff06d9675244 08:42:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:42:44 ---> Running in 390badb224b4 08:42:44 Removing intermediate container 390badb224b4 08:42:44 ---> 378cbd5c1689 08:42:44 Step 20/22 : LABEL arch=amd64 08:42:44 ---> Running in d3bcc95a16f0 08:42:45 Removing intermediate container d3bcc95a16f0 08:42:45 ---> 12d864077e73 08:42:45 Step 21/22 : LABEL git_sha=b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:42:45 ---> Running in 934140177e96 08:42:45 Removing intermediate container 934140177e96 08:42:45 ---> 429523fca40e 08:42:45 Step 22/22 : LABEL version=0.0.0 08:42:45 ---> Running in cdf0f397f95a 08:42:45 Removing intermediate container cdf0f397f95a 08:42:45 ---> d03f6faaa82e 08:42:45 [Warning] One or more build-args [ARCH] were not consumed 08:42:45 Successfully built d03f6faaa82e 08:42:45 Successfully tagged docker-device-mqtt-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:43:02 Still waiting to schedule task 08:43:02 All nodes of label ‘centos7-docker-8c-8g’ are offline 08:43:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:43:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 28.3% of statements 08:43:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:43:06 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:43:13 gofmt -l . 08:43:13 ["`gofmt -l .`" = ""] 08:43:13 ./bin/test-attribution-txt.sh 08:43:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:43:13 Warning: overwriting stash ‘coverage-report’ 08:43:14 Stashed 1 file(s) [Pipeline] } 08:43:14 $ docker stop --time=1 e31bf628e4056e980ccf5533dd300673e01db2505537f6e0e8a30a4205e9b638 08:43:16 $ docker rm -f e31bf628e4056e980ccf5533dd300673e01db2505537f6e0e8a30a4205e9b638 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:43:18 + ls -al . 08:43:18 total 136 08:43:18 drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 08:43 . 08:43:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:40 .. 08:43:18 -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 08:40 .dockerignore 08:43:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:41 .git 08:43:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:40 .github 08:43:18 -rw-rw-r-- 1 jenkins jenkins 336 Sep 17 08:40 .gitignore 08:43:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:41 .semver 08:43:18 -rw-rw-r-- 1 jenkins jenkins 4896 Sep 17 08:40 Attribution.txt 08:43:18 -rw-rw-r-- 1 jenkins jenkins 1784 Sep 17 08:40 Dockerfile 08:43:18 -rw-rw-r-- 1 jenkins jenkins 953 Sep 17 08:40 Dockerfile.build 08:43:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 08:40 Jenkinsfile 08:43:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:40 LICENSE 08:43:18 -rw-rw-r-- 1 jenkins jenkins 902 Sep 17 08:40 Makefile 08:43:18 -rw-rw-r-- 1 jenkins jenkins 444 Sep 17 08:40 README.md 08:43:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:37 VERSION 08:43:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:40 bin 08:43:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:40 cmd 08:43:18 -rw-r--r-- 1 jenkins jenkins 18939 Sep 17 08:43 coverage.out 08:43:18 -rw-r--r-- 1 jenkins jenkins 510 Sep 17 08:43 go.mod 08:43:18 -rw-r--r-- 1 jenkins jenkins 13621 Sep 17 08:43 go.sum 08:43:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:40 internal 08:43:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:40 mock 08:43:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:40 snap 08:43:18 -rw-rw-r-- 1 jenkins jenkins 227 Sep 17 08:40 version.go [Pipeline] isUnix [Pipeline] sh 08:43:19 + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c --label arch=arm64 --label version=0.0.0 . 08:43:19 Sending build context to Docker daemon 645.1kB 08:43:19 Step 1/22 : ARG BASE=golang:1.15-alpine 08:43:19 Step 2/22 : FROM ${BASE} AS builder 08:43:19 ---> d7f1e16ab972 08:43:19 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 08:43:19 ---> Running in 91b85d0ae5c4 08:43:20 Removing intermediate container 91b85d0ae5c4 08:43:20 ---> c45dfc8b3c21 08:43:20 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 08:43:20 ---> Running in c64a28a1b255 08:43:21 Removing intermediate container c64a28a1b255 08:43:21 ---> ea2ae8d24598 08:43:21 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:43:21 ---> Running in 12f1ab11cf8e 08:43:23 Removing intermediate container 12f1ab11cf8e 08:43:23 ---> 607612ed289e 08:43:23 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:43:23 ---> Running in 548c39f70fe1 08:43:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:43:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:43:27 OK: 221 MiB in 53 packages 08:43:28 Removing intermediate container 548c39f70fe1 08:43:28 ---> 70143b77ce70 08:43:28 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 08:43:28 ---> Running in b744c5ad69e2 08:43:28 Removing intermediate container b744c5ad69e2 08:43:28 ---> 735c3f5f7391 08:43:28 Step 8/22 : COPY . . 08:43:29 ---> fddb0998e879 08:43:29 Step 9/22 : ARG MAKE='make build' 08:43:29 ---> Running in a0f841b75a26 08:43:30 Removing intermediate container a0f841b75a26 08:43:30 ---> c425eb6fa74a 08:43:30 Step 10/22 : RUN $MAKE 08:43:30 ---> Running in 9f8983545b35 08:43:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 08:43:58 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:44:03 Removing intermediate container 9f8983545b35 08:44:03 ---> 550c048460a5 08:44:03 Step 11/22 : FROM alpine 08:44:03 latest: Pulling from library/alpine 08:44:03 b538f80385f9: Already exists 08:44:03 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 08:44:03 Status: Downloaded newer image for alpine:latest 08:44:03 ---> 62ee0e9f8440 08:44:03 Step 12/22 : ENV APP_PORT=49982 08:44:03 Running on prd-centos7-docker-8c-8g-141 in /w/workspace/gexfoundry_device-mqtt-go_PR-173 [Pipeline] { [Pipeline] ws 08:44:03 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:44:03 ---> Running in e3d4dbd86bb1 08:44:03 Removing intermediate container e3d4dbd86bb1 08:44:03 ---> aba15bd73601 08:44:03 Step 13/22 : EXPOSE $APP_PORT 08:44:04 ---> Running in 4c0959e09d56 08:44:04 Removing intermediate container 4c0959e09d56 08:44:04 ---> 7bf1e6ea57d2 08:44:04 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 08:44:05 using credential edgex-jenkins-ssh 08:44:05 Cloning the remote Git repository 08:44:05 Cloning with configured refspecs honoured and without tags 08:44:05 ---> e335c4f6b47d 08:44:05 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 08:44:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:44:05 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:44:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:44:05 > git --version # timeout=10 08:44:05 > git --version # 'git version 2.16.5' 08:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:44:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:44:06 Fetching without tags 08:44:06 ---> c487dc7d4666 08:44:06 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 08:44:06 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:44:06 Merge succeeded, producing b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:44:06 Checking out Revision b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c (PR-173) 08:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:44:06 > git config --add remote.origin.fetch +refs/pull/173/head:refs/remotes/origin/PR-173 # timeout=10 08:44:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:44:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:44:06 > git config core.sparsecheckout # timeout=10 08:44:06 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:44:06 > git remote # timeout=10 08:44:06 > git config --get remote.origin.url # timeout=10 08:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 08:44:06 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 08:44:06 > git rev-parse HEAD^{commit} # timeout=10 08:44:06 > git config core.sparsecheckout # timeout=10 08:44:06 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:44:07 ---> 51e5ac7d7a72 08:44:07 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 08:44:07 ---> Running in faab4510bf8c 08:44:08 Removing intermediate container faab4510bf8c 08:44:08 ---> fccd741a0802 08:44:08 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 08:44:08 ---> Running in f710350bbfce 08:44:08 Removing intermediate container f710350bbfce 08:44:08 ---> 33b1abd5a6e9 08:44:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:44:08 ---> Running in 94936c9b9546 08:44:09 Removing intermediate container 94936c9b9546 08:44:09 ---> c6f856a403dd 08:44:09 Step 20/22 : LABEL arch=arm64 08:44:09 ---> Running in 10b81d8959ef 08:44:09 Removing intermediate container 10b81d8959ef 08:44:09 ---> 4de28e50f13d 08:44:09 Step 21/22 : LABEL git_sha=b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:44:09 ---> Running in bbea8ed534b3 08:44:10 Removing intermediate container bbea8ed534b3 08:44:10 ---> 3a5f87f92c76 08:44:10 Step 22/22 : LABEL version=0.0.0 08:44:10 ---> Running in 4e8c968e6f7a 08:44:10 Commit message: "build: Upgrade to Go1.15" 08:44:10 > git --version # timeout=10 08:44:10 > git --version # 'git version 2.16.5' 08:44:10 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 08:44:11 Removing intermediate container 4e8c968e6f7a 08:44:11 ---> 00410305eec8 08:44:11 [Warning] One or more build-args [ARCH] were not consumed 08:44:11 Successfully built 00410305eec8 08:44:11 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 08:44:12 ++ find /w/workspace/device-mqtt-go/1 08:44:12 ++ grep snapcraft.yaml 08:44:12 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:12 provisioning config files... 08:44:12 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config3099208711004969745tmp [Pipeline] { [Pipeline] sh [Pipeline] findFiles [Pipeline] node 08:44:13 + cp /w/workspace/device-mqtt-go/1@tmp/config3099208711004969745tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 08:44:13 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-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:44:13 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 08:44:13 latest: Pulling from edgex-devops/edgex-snap-builder 08:44:13 f08d8e2a3ba1: Pulling fs layer 08:44:13 3baa9cb2483b: Pulling fs layer 08:44:13 94e5ff4c0b15: Pulling fs layer 08:44:13 1860925334f9: Pulling fs layer 08:44:13 2daf38717194: Pulling fs layer 08:44:13 309017e8d7a4: Pulling fs layer 08:44:13 f7790dc9fd0f: Pulling fs layer 08:44:13 cac0ae9282c2: Pulling fs layer 08:44:13 1f4cadf9a1ed: Pulling fs layer 08:44:13 1860925334f9: Waiting 08:44:13 2daf38717194: Waiting 08:44:13 309017e8d7a4: Waiting 08:44:13 f7790dc9fd0f: Waiting 08:44:13 cac0ae9282c2: Waiting 08:44:13 1f4cadf9a1ed: Waiting 08:44:13 94e5ff4c0b15: Verifying Checksum 08:44:13 94e5ff4c0b15: Download complete 08:44:13 3baa9cb2483b: Verifying Checksum 08:44:13 3baa9cb2483b: Download complete 08:44:13 1860925334f9: Download complete 08:44:13 309017e8d7a4: Verifying Checksum 08:44:13 309017e8d7a4: Download complete 08:44:13 f7790dc9fd0f: Download complete 08:44:16 cac0ae9282c2: Verifying Checksum 08:44:16 cac0ae9282c2: Download complete 08:44:16 1f4cadf9a1ed: Verifying Checksum 08:44:16 1f4cadf9a1ed: Download complete 08:44:17 f08d8e2a3ba1: Download complete 08:44:18 f08d8e2a3ba1: Pull complete 08:44:19 3baa9cb2483b: Pull complete 08:44:19 94e5ff4c0b15: Pull complete 08:44:19 1860925334f9: Pull complete 08:44:23 2daf38717194: Verifying Checksum 08:44:23 2daf38717194: Download complete 08:44:28 Still waiting to schedule task 08:44:28 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 08:44:41 2daf38717194: Pull complete 08:44:41 309017e8d7a4: Pull complete 08:44:41 f7790dc9fd0f: Pull complete 08:44:41 cac0ae9282c2: Pull complete 08:44:41 1f4cadf9a1ed: Pull complete 08:44:41 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 08:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:44:45 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 08:44:45 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:44:45 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 08:44:45 Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [901 kB] 08:44:45 Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [116 kB] 08:44:45 Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1089 kB] 08:44:45 Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [10.1 kB] 08:44:45 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 08:44:45 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1385 kB] 08:44:46 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1429 kB] 08:44:46 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [132 kB] 08:44:46 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.7 kB] 08:44:46 Fetched 5342 kB in 1s (3951 kB/s) 08:44:47 Reading package lists... 08:44:51 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 08:44:51 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 08:44:51 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:44:51 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:44:52 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... 55% 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:44:54 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:44:56 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... 58% 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:44:56 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 08:44:56 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:44:56 The following packages were automatically installed and are no longer required: 08:44:56 libjq1 libonig4 08:44:56 Use 'sudo apt autoremove' to remove them. 08:44:56 Suggested packages: 08:44:56 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:44:56 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:44:56 diffutils-doc perl-doc libterm-readline-gnu-perl 08:44:56 | libterm-readline-perl-perl 08:44:56 The following NEW packages will be installed: 08:44:56 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:44:56 libperl5.26 make netbase patch perl perl-modules-5.26 08:44:56 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. 08:44:56 Need to get 12.0 MB of archives. 08:44:56 After this operation, 77.5 MB of additional disk space will be used. 08:44:56 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:44:57 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 578 kB/2763 kB 21%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 08:44:57 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 08:44:57 21% [3 libgdbm-compat4 6084 B/6084 B 100%] 23% [Working] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 08:44:57 23% [4 libperl5.26 16.4 kB/3527 kB 0%] 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:44:57 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:44:57 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 08:44:57 53% [7 netbase 8192 B/12.7 kB 64%] 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:44:58 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 08:44:58 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 08:44:58 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:44:58 61% [11 git-man 4096 B/804 kB 1%] 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:44:58 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 08:44:58 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:44:58 98% [14 patch 8192 B/102 kB 8%] 100% [Working] Fetched 12.0 MB in 1s (9053 kB/s) 08:44:58 debconf: delaying package configuration, since apt-utils is not installed 08:44:58 Selecting previously unselected package perl-modules-5.26. 08:44:58 (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:44:58 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:44:58 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:44:59 Selecting previously unselected package libgdbm5:amd64. 08:44:59 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 08:44:59 Unpacking libgdbm5:amd64 (1.14.1-6) ... 08:44:59 Selecting previously unselected package libgdbm-compat4:amd64. 08:44:59 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 08:44:59 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 08:44:59 Selecting previously unselected package libperl5.26:amd64. 08:44:59 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 08:44:59 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:45:00 Selecting previously unselected package perl. 08:45:00 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 08:45:00 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:45:00 Selecting previously unselected package less. 08:45:00 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 08:45:00 Unpacking less (487-0.1) ... 08:45:00 Selecting previously unselected package netbase. 08:45:00 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:45:00 Unpacking netbase (5.4) ... 08:45:00 Selecting previously unselected package curl. 08:45:00 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 08:45:00 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:45:00 Selecting previously unselected package libcurl3-gnutls:amd64. 08:45:00 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 08:45:00 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:45:00 Selecting previously unselected package liberror-perl. 08:45:00 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:45:00 Unpacking liberror-perl (0.17025-1) ... 08:45:00 Selecting previously unselected package git-man. 08:45:00 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:45:00 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:45:00 Selecting previously unselected package git. 08:45:00 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 08:45:00 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:45:01 Selecting previously unselected package make. 08:45:01 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 08:45:01 Unpacking make (4.1-9.1ubuntu1) ... 08:45:01 Selecting previously unselected package patch. 08:45:01 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 08:45:01 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:45:01 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:45:01 Setting up less (487-0.1) ... 08:45:01 Setting up make (4.1-9.1ubuntu1) ... 08:45:01 Setting up curl (7.58.0-2ubuntu3.10) ... 08:45:01 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:45:01 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:45:01 Setting up libgdbm5:amd64 (1.14.1-6) ... 08:45:01 Setting up patch (2.7.6-2ubuntu1.1) ... 08:45:01 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 08:45:01 Setting up netbase (5.4) ... 08:45:01 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 08:45:01 Setting up perl (5.26.1-6ubuntu0.3) ... 08:45:01 Setting up liberror-perl (0.17025-1) ... 08:45:01 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:45:02 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:45:02 Processing triggers for mime-support (3.60ubuntu1) ... 08:45:03 curl set to automatically installed. 08:45:03 git set to automatically installed. 08:45:03 git-man set to automatically installed. 08:45:03 less set to automatically installed. 08:45:03 libcurl3-gnutls set to automatically installed. 08:45:03 liberror-perl set to automatically installed. 08:45:03 libgdbm-compat4 set to automatically installed. 08:45:03 libgdbm5 set to automatically installed. 08:45:03 libperl5.26 set to automatically installed. 08:45:03 make set to automatically installed. 08:45:03 netbase set to automatically installed. 08:45:03 patch set to automatically installed. 08:45:03 perl set to automatically installed. 08:45:03 perl-modules-5.26 set to automatically installed. 08:45:03 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:45:03 Please ensure the environment is properly setup before continuing. 08:45:03 Ignore this message if the appropriate measures have already been taken 08:45:04 Pulling go  08:45:05 'device-mqtt' has dependencies that need to be staged: go 08:45:05 Skipping pull go (already ran) 08:45:05 Building go  08:45:05 % Total % Received % Xferd Average Speed Time Time Time Current 08:45:05 Dload Upload Total Spent Left Speed 08:45:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 17 115M 17 20.5M 0 0 38.9M 0 0:00:02 --:--:-- 0:00:02 38.8M 73 115M 73 84.9M 0 0 54.7M 0 0:00:02 0:00:01 0:00:01 54.7M 100 115M 100 115M 0 0 56.8M 0 0:00:02 0:00:02 --:--:-- 56.8M 08:45:08 go1.15.2.linux-amd64.tar.gz: OK 08:45:14 Staging go  08:45:15 Pulling device-mqtt  08:45:16 Skipping build go (already ran) 08:45:16 Building device-mqtt  08:45:16 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 08:45:17 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:45:17 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 08:45:17 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 08:45:17 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:45:17 go: downloading github.com/spf13/cast v1.3.0 08:45:17 go: downloading github.com/gorilla/mux v1.7.1 08:45:17 go: downloading github.com/google/uuid v1.1.1 08:45:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:45:17 go: downloading github.com/pkg/errors v0.8.1 08:45:17 go: downloading github.com/go-kit/kit v0.8.0 08:45:17 go: downloading gopkg.in/yaml.v2 v2.2.8 08:45:17 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:45:17 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 08:45:17 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:45:17 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:45:17 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:45:17 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:45:17 go: downloading github.com/pelletier/go-toml v1.2.0 08:45:17 go: downloading github.com/hashicorp/consul/api v1.1.0 08:45:17 go: downloading github.com/x448/float16 v0.8.4 08:45:17 go: downloading github.com/BurntSushi/toml v0.3.1 08:45:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:45:17 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:45:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:45:17 go: downloading github.com/mitchellh/copystructure v1.0.0 08:45:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:45:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:45:17 go: downloading github.com/hashicorp/serf v0.8.2 08:45:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:45:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:45:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:45:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:45:17 go: downloading github.com/hashicorp/golang-lru v0.5.0 08:45:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:45:27 Skipping stage go (already ran) 08:45:27 Staging device-mqtt  08:45:28 Priming go  08:45:29 Priming device-mqtt  08:45:29 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:45:29 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:45:29 Determining the version from the project repo (version-script). 08:45:29 The version has been set to 'local-dev-20200917+b7208c3' 08:45:30 Snapping | Snapping / Snapping - Snapping \ Snapping | 08:45:30 Snapped edgex-device-mqtt_local-dev-20200917+b7208c3_amd64.snap [Pipeline] } 08:45:33 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:46:20 Running on prd-ubuntu18.04-docker-arm64-16c-16g-143 in /w/workspace/gexfoundry_device-mqtt-go_PR-173 [Pipeline] { [Pipeline] ws 08:46:20 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 08:46:24 using credential edgex-jenkins-ssh 08:46:24 Cloning the remote Git repository 08:46:24 Cloning with configured refspecs honoured and without tags 08:46:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:46:25 > git init /w/workspace/device-mqtt-go/1 # timeout=10 08:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:46:25 > git --version # timeout=10 08:46:25 > git --version # 'git version 2.17.1' 08:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:25 Fetching without tags 08:46:26 Merging remotes/origin/master commit a4d671bc363cd3b6b16a5de27983df7bd02b35a1 into PR head commit b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:46:26 Merge succeeded, producing b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c 08:46:26 Checking out Revision b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c (PR-173) 08:46:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:46:25 > git config --add remote.origin.fetch +refs/pull/173/head:refs/remotes/origin/PR-173 # timeout=10 08:46:25 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:25 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:26 > git config core.sparsecheckout # timeout=10 08:46:26 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:46:26 > git remote # timeout=10 08:46:26 > git config --get remote.origin.url # timeout=10 08:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:26 > git merge a4d671bc363cd3b6b16a5de27983df7bd02b35a1 # timeout=10 08:46:26 > git rev-parse HEAD^{commit} # timeout=10 08:46:26 > git config core.sparsecheckout # timeout=10 08:46:26 > git checkout -f b7208c3a10df9dfac5b8b3b0ed7de7f517129f7c # timeout=10 08:46:30 Commit message: "build: Upgrade to Go1.15" 08:46:30 > git --version # timeout=10 08:46:30 > git --version # 'git version 2.17.1' 08:46:30 fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:32 + find /w/workspace/device-mqtt-go/1 08:46:32 + grep snapcraft.yaml 08:46:32 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:32 provisioning config files... 08:46:32 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/1@tmp/config148751683690516773tmp [Pipeline] { [Pipeline] sh 08:46:33 + cp /w/workspace/device-mqtt-go/1@tmp/config148751683690516773tmp /w/workspace/device-mqtt-go/1/edgex-snap-store-login [Pipeline] sh 08:46:33 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-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:46:34 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 08:46:34 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 08:46:34 237528ba509b: Pulling fs layer 08:46:34 393b96f31d8b: Pulling fs layer 08:46:34 4d82b0e39008: Pulling fs layer 08:46:34 e7ca375b8d34: Pulling fs layer 08:46:34 418f656485bb: Pulling fs layer 08:46:34 aebe8db9254c: Pulling fs layer 08:46:34 4f5f7b207d3f: Pulling fs layer 08:46:34 d19ca6af091a: Pulling fs layer 08:46:34 16b5a0711add: Pulling fs layer 08:46:34 aebe8db9254c: Waiting 08:46:34 16b5a0711add: Waiting 08:46:34 d19ca6af091a: Waiting 08:46:34 e7ca375b8d34: Waiting 08:46:34 4d82b0e39008: Verifying Checksum 08:46:34 4d82b0e39008: Download complete 08:46:34 393b96f31d8b: Download complete 08:46:34 e7ca375b8d34: Download complete 08:46:36 aebe8db9254c: Verifying Checksum 08:46:36 aebe8db9254c: Download complete 08:46:36 4f5f7b207d3f: Download complete 08:46:36 d19ca6af091a: Verifying Checksum 08:46:36 d19ca6af091a: Download complete 08:46:36 16b5a0711add: Verifying Checksum 08:46:36 16b5a0711add: Download complete 08:46:40 237528ba509b: Verifying Checksum 08:46:40 237528ba509b: Download complete 08:46:42 237528ba509b: Pull complete 08:46:43 393b96f31d8b: Pull complete 08:46:43 4d82b0e39008: Pull complete 08:46:44 e7ca375b8d34: Pull complete 08:46:52 418f656485bb: Verifying Checksum 08:46:52 418f656485bb: Download complete 08:47:39 418f656485bb: Pull complete 08:47:39 aebe8db9254c: Pull complete 08:47:39 4f5f7b207d3f: Pull complete 08:47:39 d19ca6af091a: Pull complete 08:47:39 16b5a0711add: Pull complete 08:47:39 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 08:47:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 08:47:39 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:47:39 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 08:47:40 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 08:47:40 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 08:47:40 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [943 kB] 08:47:41 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1264 kB] 08:47:41 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [672 kB] 08:47:41 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [787 kB] 08:47:41 Fetched 3917 kB in 2s (1805 kB/s) 08:47:47 Reading package lists... 08:48:02 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 08:48:02 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 08:48:02 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 08:48:02 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 08:48:06 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... 25% Reading package lists... 44% Reading package lists... 61% 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... 99% Reading package lists... Done 08:48:13 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:48:17 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... 10% Reading package lists... 31% Reading package lists... 51% 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... 84% 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:48:18 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 52% Building dependency tree 08:48:18 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:48:18 The following packages were automatically installed and are no longer required: 08:48:18 libjq1 libonig4 08:48:18 Use 'sudo apt autoremove' to remove them. 08:48:18 Suggested packages: 08:48:18 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:48:18 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:48:18 diffutils-doc perl-doc libterm-readline-gnu-perl 08:48:18 | libterm-readline-perl-perl 08:48:19 The following NEW packages will be installed: 08:48:19 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:48:19 libperl5.26 make netbase patch perl perl-modules-5.26 08:48:19 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. 08:48:19 Need to get 10.8 MB of archives. 08:48:19 After this operation, 73.6 MB of additional disk space will be used. 08:48:19 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:48:20 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 718 kB/2763 kB 26%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 08:48:20 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 08:48:20 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:48:20 25% [4 libperl5.26 4096 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:48:20 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:48:20 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:48:20 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:48:20 58% [8 curl 55.4 kB/152 kB 36%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 08:48:20 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 08:48:20 63% [10 liberror-perl 8192 B/22.8 kB 36%] 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:48:20 65% [11 git-man 0 B/804 kB 0%] 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:48:20 72% [12 git 11.2 kB/2952 kB 0%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] 08:48:20 96% [13 make 41.0 kB/139 kB 30%] 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:48:20 98% [14 patch 61.4 kB/91.8 kB 67%] 100% [Working] Fetched 10.8 MB in 1s (7908 kB/s) 08:48:21 debconf: delaying package configuration, since apt-utils is not installed 08:48:21 Selecting previously unselected package perl-modules-5.26. 08:48:21 (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:48:21 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 08:48:21 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:48:22 Selecting previously unselected package libgdbm5:arm64. 08:48:22 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 08:48:22 Unpacking libgdbm5:arm64 (1.14.1-6) ... 08:48:23 Selecting previously unselected package libgdbm-compat4:arm64. 08:48:23 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 08:48:23 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 08:48:23 Selecting previously unselected package libperl5.26:arm64. 08:48:23 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 08:48:23 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:48:24 Selecting previously unselected package perl. 08:48:24 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 08:48:24 Unpacking perl (5.26.1-6ubuntu0.3) ... 08:48:24 Selecting previously unselected package less. 08:48:24 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 08:48:24 Unpacking less (487-0.1) ... 08:48:24 Selecting previously unselected package netbase. 08:48:24 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:48:24 Unpacking netbase (5.4) ... 08:48:24 Selecting previously unselected package curl. 08:48:24 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 08:48:24 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:48:25 Selecting previously unselected package libcurl3-gnutls:arm64. 08:48:25 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 08:48:25 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:48:25 Selecting previously unselected package liberror-perl. 08:48:25 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:48:25 Unpacking liberror-perl (0.17025-1) ... 08:48:25 Selecting previously unselected package git-man. 08:48:25 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:48:25 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:48:25 Selecting previously unselected package git. 08:48:25 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 08:48:25 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:48:27 Selecting previously unselected package make. 08:48:27 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 08:48:27 Unpacking make (4.1-9.1ubuntu1) ... 08:48:27 Selecting previously unselected package patch. 08:48:27 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 08:48:27 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:48:27 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:48:27 Setting up less (487-0.1) ... 08:48:27 Setting up make (4.1-9.1ubuntu1) ... 08:48:27 Setting up curl (7.58.0-2ubuntu3.10) ... 08:48:27 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 08:48:27 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 08:48:28 Setting up libgdbm5:arm64 (1.14.1-6) ... 08:48:28 Setting up patch (2.7.6-2ubuntu1.1) ... 08:48:28 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 08:48:28 Setting up netbase (5.4) ... 08:48:28 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 08:48:28 Setting up perl (5.26.1-6ubuntu0.3) ... 08:48:28 Setting up liberror-perl (0.17025-1) ... 08:48:28 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:48:28 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:48:28 Processing triggers for mime-support (3.60ubuntu1) ... 08:48:33 curl set to automatically installed. 08:48:33 git set to automatically installed. 08:48:33 git-man set to automatically installed. 08:48:33 less set to automatically installed. 08:48:33 libcurl3-gnutls set to automatically installed. 08:48:33 liberror-perl set to automatically installed. 08:48:33 libgdbm-compat4 set to automatically installed. 08:48:33 libgdbm5 set to automatically installed. 08:48:33 libperl5.26 set to automatically installed. 08:48:33 make set to automatically installed. 08:48:33 netbase set to automatically installed. 08:48:33 patch set to automatically installed. 08:48:33 perl set to automatically installed. 08:48:33 perl-modules-5.26 set to automatically installed. 08:48:34 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:48:34 Please ensure the environment is properly setup before continuing. 08:48:34 Ignore this message if the appropriate measures have already been taken 08:48:34 Pulling go  08:48:39 'device-mqtt' has dependencies that need to be staged: go 08:48:39 Skipping pull go (already ran) 08:48:39 Building go  08:48:39 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:39 Dload Upload Total Spent Left Speed 08:48:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 14 93.2M 14 13.7M 0 0 23.7M 0 0:00:03 --:--:-- 0:00:03 23.7M 56 93.2M 56 52.9M 0 0 33.5M 0 0:00:02 0:00:01 0:00:01 33.5M 99 93.2M 99 92.7M 0 0 36.0M 0 0:00:02 0:00:02 --:--:-- 36.0M 100 93.2M 100 93.2M 0 0 36.1M 0 0:00:02 0:00:02 --:--:-- 36.1M 08:48:42 go1.15.2.linux-arm64.tar.gz: OK 08:49:04 Staging go  08:49:04 Pulling device-mqtt  08:49:08 Skipping build go (already ran) 08:49:08 Building device-mqtt  08:49:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 08:49:10 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 08:49:10 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 08:49:10 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 08:49:10 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 08:49:10 go: downloading github.com/spf13/cast v1.3.0 08:49:10 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 08:49:10 go: downloading github.com/gorilla/mux v1.7.1 08:49:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 08:49:10 go: downloading github.com/google/uuid v1.1.1 08:49:10 go: downloading github.com/go-kit/kit v0.8.0 08:49:10 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:49:10 go: downloading github.com/BurntSushi/toml v0.3.1 08:49:10 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 08:49:10 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 08:49:10 go: downloading github.com/pelletier/go-toml v1.2.0 08:49:10 go: downloading github.com/OneOfOne/xxhash v1.2.6 08:49:10 go: downloading gopkg.in/yaml.v2 v2.2.8 08:49:10 go: downloading github.com/pkg/errors v0.8.1 08:49:10 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 08:49:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:49:10 go: downloading github.com/hashicorp/consul/api v1.1.0 08:49:10 go: downloading github.com/x448/float16 v0.8.4 08:49:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:49:10 go: downloading github.com/mitchellh/copystructure v1.0.0 08:49:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:49:10 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:49:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:49:10 go: downloading github.com/hashicorp/serf v0.8.2 08:49:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:49:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:49:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:49:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:49:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 08:49:29 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:49:51 Skipping stage go (already ran) 08:49:51 Staging device-mqtt  08:49:52 Priming go  08:49:57 Priming device-mqtt  08:50:01 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:50:01 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:50:01 Determining the version from the project repo (version-script). 08:50:01 The version has been set to 'local-dev-20200917+b7208c3' 08:50:02 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping / Snapping | 08:50:02 Snapped edgex-device-mqtt_local-dev-20200917+b7208c3_arm64.snap [Pipeline] } 08:50:05 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:50:07 provisioning config files... 08:50:07 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/config691446350084692030tmp [Pipeline] { [Pipeline] sh 08:50:08 + curl -s https://codecov.io/bash 08:50:08 + bash -s - -t @/w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/config691446350084692030tmp [Pipeline] } 08:50:08 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:50:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:50:12 ---> package-listing.sh 08:50:12 ++ facter osfamily 08:50:12 ++ tr '[:upper:]' '[:lower:]' 08:50:12 + OS_FAMILY=redhat 08:50:12 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-173 08:50:12 + START_PACKAGES=/tmp/packages_start.txt 08:50:12 + END_PACKAGES=/tmp/packages_end.txt 08:50:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:50:12 + PACKAGES=/tmp/packages_start.txt 08:50:12 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-173 ']' 08:50:12 + PACKAGES=/tmp/packages_end.txt 08:50:12 + case "${OS_FAMILY}" in 08:50:12 + rpm -qa 08:50:12 + sort 08:50:16 + '[' -f /tmp/packages_start.txt ']' 08:50:16 + '[' -f /tmp/packages_end.txt ']' 08:50:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:50:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-173 ']' 08:50:16 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-173/archives/ 08:50:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-173/archives/ [Pipeline] isUnix [Pipeline] sh 08:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:17 08:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:50:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:17 alpine: Pulling from edgex-lftools-log-publisher 08:50:17 df20fa9351a1: Pulling fs layer 08:50:17 36b3adc4ff6f: Pulling fs layer 08:50:17 8ad3a11d3b57: Pulling fs layer 08:50:17 46f8f816bc3b: Pulling fs layer 08:50:17 0dadc02b9964: Pulling fs layer 08:50:17 ce6a7cf60c04: Pulling fs layer 08:50:17 7a184a31f384: Pulling fs layer 08:50:17 0879bd2ef858: Pulling fs layer 08:50:17 46f8f816bc3b: Waiting 08:50:17 0dadc02b9964: Waiting 08:50:17 7a184a31f384: Waiting 08:50:17 0879bd2ef858: Waiting 08:50:17 36b3adc4ff6f: Verifying Checksum 08:50:17 36b3adc4ff6f: Download complete 08:50:17 46f8f816bc3b: Verifying Checksum 08:50:17 46f8f816bc3b: Download complete 08:50:17 df20fa9351a1: Download complete 08:50:17 ce6a7cf60c04: Verifying Checksum 08:50:17 ce6a7cf60c04: Download complete 08:50:17 7a184a31f384: Verifying Checksum 08:50:17 7a184a31f384: Download complete 08:50:17 0dadc02b9964: Verifying Checksum 08:50:17 0dadc02b9964: Download complete 08:50:17 8ad3a11d3b57: Verifying Checksum 08:50:17 8ad3a11d3b57: Download complete 08:50:17 df20fa9351a1: Pull complete 08:50:18 36b3adc4ff6f: Pull complete 08:50:18 0879bd2ef858: Verifying Checksum 08:50:18 0879bd2ef858: Download complete 08:50:18 8ad3a11d3b57: Pull complete 08:50:18 46f8f816bc3b: Pull complete 08:50:19 0dadc02b9964: Pull complete 08:50:19 ce6a7cf60c04: Pull complete 08:50:19 7a184a31f384: Pull complete 08:50:21 0879bd2ef858: Pull complete 08:50:21 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:50:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:50:22 prd-centos7-docker-4c-2g-136 does not seem to be running inside a container 08:50:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/gexfoundry_device-mqtt-go_PR-173 -v /w/workspace/gexfoundry_device-mqtt-go_PR-173:/w/workspace/gexfoundry_device-mqtt-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-173@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:50:27 $ docker top 325dde634236ac46597f1f4b9038902bf261ffba8c302c4b5b3bb960451ba46f -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:28 + mkdir -p /var/log/sa [Pipeline] sh 08:50:28 + ls /var/log/sa-host 08:50:28 + sadf -c /var/log/sa-host/sa05 08:50:28 file_magic: OK 08:50:28 HZ: Using current value: 100 08:50:28 file_header: OK 08:50:28 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:50:28 Statistics: 08:50:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:50:28 File successfully converted to sysstat format version 12.2.1 08:50:28 + sadf -c /var/log/sa-host/sa17 08:50:28 file_magic: OK 08:50:28 HZ: Using current value: 100 08:50:28 file_header: OK 08:50:28 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:50:28 Statistics: 08:50:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:50:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:50:28 provisioning config files... 08:50:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-173@tmp/config6833840297032345962tmp [Pipeline] { [Pipeline] echo 08:50:28 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:50:29 ---> create-netrc.sh [Pipeline] echo 08:50:29 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:50:29 ---> logs-deploy.sh 08:50:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-173/1 08:50:29 INFO: archiving workspace using pattern(s): 08:50:31 Archives upload complete. 08:50:31 INFO: archiving logs to Nexus