Pull request #170 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 97ecc07e81cc599f0ec8b87939834737f980773d+12b1a35b74ef9c89c590951cdcdb7fdae4622f9b (f785d41d0a94b0c8cc2e5d8c010eeb48e3aa07c4) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5875 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-170 # 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 --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-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 --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 97ecc07e81cc599f0ec8b87939834737f980773d Merge succeeded, producing 97ecc07e81cc599f0ec8b87939834737f980773d Checking out Revision 97ecc07e81cc599f0ec8b87939834737f980773d (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:48:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:48:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:48:52 ========================================================= 09:48:52 EdgeX Global Pipelines Version Info 09:48:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:48:54 ------------------- 09:48:54 stable info: 09:48:54 ------------------- 09:48:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:48:54 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:48:54 Message: update stable to v1.0.144 09:48:55 ------------------- 09:48:55 experimental info: 09:48:55 ------------------- 09:48:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:48:55 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:48:55 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97ecc07e81cc599f0ec8b87939834737f980773d [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97ecc07 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:59 + git log --format=format:%s -1 97ecc07e81cc599f0ec8b87939834737f980773d [Pipeline] echo 09:48:59 GIT_COMMIT: 97ecc07e81cc599f0ec8b87939834737f980773d, Commit Message: Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo 09:48:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:00 09:49:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:49:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:00 latest: Pulling from edgex-devops/git-semver 09:49:00 31603596830f: Pulling fs layer 09:49:00 2a8b12db71e7: Pulling fs layer 09:49:00 6ca5941a6612: Pulling fs layer 09:49:00 ecc8261a40a4: Pulling fs layer 09:49:00 ecc8261a40a4: Waiting 09:49:00 2a8b12db71e7: Verifying Checksum 09:49:00 2a8b12db71e7: Download complete 09:49:00 31603596830f: Verifying Checksum 09:49:00 31603596830f: Download complete 09:49:00 ecc8261a40a4: Verifying Checksum 09:49:00 ecc8261a40a4: Download complete 09:49:00 6ca5941a6612: Verifying Checksum 09:49:00 6ca5941a6612: Download complete 09:49:00 31603596830f: Pull complete 09:49:00 2a8b12db71e7: Pull complete 09:49:01 6ca5941a6612: Pull complete 09:49:01 ecc8261a40a4: Pull complete 09:49:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:49:01 prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container 09:49:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:49:03 $ docker top 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:49:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:04 [ssh-agent] Looking for ssh-agent implementation... 09:49:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:04 $ docker exec 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f ssh-agent 09:49:04 SSH_AUTH_SOCK=/tmp/ssh-2QWplJZHXo9d/agent.11 09:49:04 SSH_AGENT_PID=16 09:49:04 Running ssh-add (command line suppressed) 09:49:04 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6426841090409535101.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6426841090409535101.key) 09:49:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:04 + git tag --points-at HEAD [Pipeline] } 09:49:05 $ docker exec --env ******** --env ******** 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f ssh-agent -k 09:49:05 unset SSH_AUTH_SOCK; 09:49:05 unset SSH_AGENT_PID; 09:49:05 echo Agent pid 16 killed; 09:49:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:49:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:05 [ssh-agent] Looking for ssh-agent implementation... 09:49:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:05 $ docker exec 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f ssh-agent 09:49:05 SSH_AUTH_SOCK=/tmp/ssh-x1wqkw780JBH/agent.44 09:49:05 SSH_AGENT_PID=50 09:49:05 Running ssh-add (command line suppressed) 09:49:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_2470677868749437607.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_2470677868749437607.key) 09:49:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:06 + git semver init 09:49:06 # -> Open(): unable to determine branch for HEAD 09:49:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.git 09:49:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-170 09:49:06 # $SEMVER_REMOTE_NAME = origin 09:49:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:49:06 # $SEMVER_USER_NAME = edgex-jenkins 09:49:06 # $SEMVER_BRANCH = PR-170 09:49:06 # $SEMVER_TEMP = /tmp/semver-209244999 09:49:06 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:49:06 # '/tmp/semver-209244999' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver' 09:49:06 # -> Force: false 09:49:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver [Pipeline] } 09:49:06 $ docker exec --env ******** --env ******** 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f ssh-agent -k 09:49:06 unset SSH_AUTH_SOCK; 09:49:06 unset SSH_AGENT_PID; 09:49:06 echo Agent pid 50 killed; 09:49:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:49:07 + git semver [Pipeline] } 09:49:07 $ docker stop --time=1 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f 09:49:08 $ docker rm -f 7456b49c26666c5cba2f14fb34a0d422a2ecbb23b3a7c48bf9c7acd17bef5b2f [Pipeline] // withDockerContainer [Pipeline] sh 09:49:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:49:09 Stashed 1 file(s) [Pipeline] echo 09:49:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:49:25 Still waiting to schedule task 09:49:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:49:25 Still waiting to schedule task 09:49:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:49:44 Running on prd-centos7-docker-4c-2g-5878 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:49:44 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 09:49:46 using credential edgex-jenkins-ssh 09:49:46 Cloning the remote Git repository 09:49:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:49:47 > git init /w/workspace/device-mqtt-go/7 # timeout=10 09:49:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:49:47 > git --version # timeout=10 09:49:47 > git --version # 'git version 2.16.5' 09:49:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:49:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:48 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 97ecc07e81cc599f0ec8b87939834737f980773d 09:49:48 Merge succeeded, producing 97ecc07e81cc599f0ec8b87939834737f980773d 09:49:48 Checking out Revision 97ecc07e81cc599f0ec8b87939834737f980773d (PR-170) 09:49:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:49:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:49:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:49:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:49:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:49:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:49:48 > git config core.sparsecheckout # timeout=10 09:49:48 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:49:48 > git remote # timeout=10 09:49:48 > git config --get remote.origin.url # timeout=10 09:49:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:49:48 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 09:49:48 > git rev-parse HEAD^{commit} # timeout=10 09:49:48 > git config core.sparsecheckout # timeout=10 09:49:48 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:49:52 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:49:52 ========================================================= 09:49:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:49:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:49:53 + 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 . 09:49:53 Sending build context to Docker daemon 449.5kB 09:49:53 Step 1/8 : ARG BASE=golang:1.15-alpine 09:49:53 Step 2/8 : FROM ${BASE} 09:49:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:49:53 df20fa9351a1: Pulling fs layer 09:49:53 ed8968b2872e: Pulling fs layer 09:49:53 a92cc7c5fd73: Pulling fs layer 09:49:53 e871e8e8d7a9: Pulling fs layer 09:49:53 e73272ec9a57: Pulling fs layer 09:49:53 1e910a182e73: Pulling fs layer 09:49:53 4e634b169226: Pulling fs layer 09:49:53 e73272ec9a57: Waiting 09:49:53 1e910a182e73: Waiting 09:49:53 4e634b169226: Waiting 09:49:53 e871e8e8d7a9: Waiting 09:49:53 a92cc7c5fd73: Download complete 09:49:53 ed8968b2872e: Verifying Checksum 09:49:53 ed8968b2872e: Download complete 09:49:53 e73272ec9a57: Verifying Checksum 09:49:53 e73272ec9a57: Download complete 09:49:53 1e910a182e73: Verifying Checksum 09:49:53 1e910a182e73: Download complete 09:49:53 df20fa9351a1: Verifying Checksum 09:49:53 df20fa9351a1: Download complete 09:49:54 df20fa9351a1: Pull complete 09:49:54 ed8968b2872e: Pull complete 09:49:54 a92cc7c5fd73: Pull complete 09:49:55 4e634b169226: Verifying Checksum 09:49:55 4e634b169226: Download complete 09:49:56 e871e8e8d7a9: Verifying Checksum 09:49:56 e871e8e8d7a9: Download complete 09:50:01 e871e8e8d7a9: Pull complete 09:50:01 e73272ec9a57: Pull complete 09:50:01 1e910a182e73: Pull complete 09:50:06 4e634b169226: Pull complete 09:50:06 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:50:06 ---> f7629b54cfaa 09:50:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:50:06 ---> Running in 648f1da4218b 09:50:06 Removing intermediate container 648f1da4218b 09:50:06 ---> 0abcab7b6c03 09:50:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:06 ---> Running in 09f186563b93 09:50:07 Removing intermediate container 09f186563b93 09:50:07 ---> 716a29b0d715 09:50:07 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:50:07 ---> Running in bfa4ce8ad748 09:50:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:50:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:50:09 (1/14) Installing libmagic (5.38-r0) 09:50:09 (2/14) Installing file (5.38-r0) 09:50:09 (3/14) Installing libc-dev (0.7.2-r3) 09:50:09 (4/14) Installing g++ (9.3.0-r2) 09:50:15 (5/14) Installing fortify-headers (1.1-r0) 09:50:15 (6/14) Installing patch (2.7.6-r6) 09:50:15 (7/14) Installing build-base (0.5-r2) 09:50:15 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:50:15 (9/14) Installing libedit (20191231.3.1-r0) 09:50:15 (10/14) Installing openssh-client (8.3_p1-r0) 09:50:15 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:50:15 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:50:15 (13/14) Installing openssh-server (8.3_p1-r0) 09:50:16 (14/14) Installing openssh (8.3_p1-r0) 09:50:16 Executing busybox-1.31.1-r16.trigger 09:50:16 OK: 237 MiB in 53 packages 09:50:20 Removing intermediate container bfa4ce8ad748 09:50:20 ---> a378d8893956 09:50:20 Step 6/8 : WORKDIR /device-mqtt-go 09:50:20 ---> Running in 34474e3d730f 09:50:20 Removing intermediate container 34474e3d730f 09:50:20 ---> 95879519a339 09:50:20 Step 7/8 : COPY . . 09:50:20 ---> c18cd0514631 09:50:20 Step 8/8 : RUN go mod download 09:50:20 ---> Running in 3a8e5a012802 09:50:32 Removing intermediate container 3a8e5a012802 09:50:32 ---> 5ce87487d3b9 09:50:32 Successfully built 5ce87487d3b9 09:50:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:50:33 + docker inspect -f . ci-base-image-x86_64 09:50:33 . [Pipeline] withDockerContainer 09:50:33 prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container 09:50:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:50:34 $ docker top a4f6e24ff7909a7a7f6947d057a8d3149f03ce9fb6153794d5a070236a8b7c05 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:34 + go version 09:50:34 go version go1.15.2 linux/amd64 [Pipeline] } 09:50:35 $ docker stop --time=1 a4f6e24ff7909a7a7f6947d057a8d3149f03ce9fb6153794d5a070236a8b7c05 09:50:36 $ docker rm -f a4f6e24ff7909a7a7f6947d057a8d3149f03ce9fb6153794d5a070236a8b7c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:50:37 + docker inspect -f . ci-base-image-x86_64 09:50:37 . [Pipeline] withDockerContainer 09:50:37 prd-centos7-docker-4c-2g-5878 does not seem to be running inside a container 09:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:50:38 $ docker top 4068a1ecba8831cbc0700bea6b5bbb9108ad32871f582469f77adb1b792e8406 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:38 + make test 09:50:38 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:50:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:50:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:50:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 28.3% of statements 09:50:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:50:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:50:52 gofmt -l . 09:50:52 ["`gofmt -l .`" = ""] 09:50:52 ./bin/test-attribution-txt.sh 09:50:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:50:53 Stashed 1 file(s) [Pipeline] } 09:50:53 $ docker stop --time=1 4068a1ecba8831cbc0700bea6b5bbb9108ad32871f582469f77adb1b792e8406 09:50:55 $ docker rm -f 4068a1ecba8831cbc0700bea6b5bbb9108ad32871f582469f77adb1b792e8406 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:50:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:57 + ls -al . 09:50:57 total 100 09:50:57 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 16 09:50 . 09:50:57 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 09:49 .. 09:50:57 -rw-rw-r--. 1 jenkins jenkins 5255 Oct 16 09:49 Attribution.txt 09:50:57 drwxrwxr-x. 2 jenkins jenkins 87 Oct 16 09:49 bin 09:50:57 drwxrwxr-x. 3 jenkins jenkins 32 Oct 16 09:49 cmd 09:50:57 -rw-r--r--. 1 jenkins jenkins 18939 Oct 16 09:50 coverage.out 09:50:57 -rw-rw-r--. 1 jenkins jenkins 1784 Oct 16 09:49 Dockerfile 09:50:57 -rw-rw-r--. 1 jenkins jenkins 953 Oct 16 09:49 Dockerfile.build 09:50:57 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:49 .dockerignore 09:50:57 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:49 .git 09:50:57 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:49 .github 09:50:57 -rw-rw-r--. 1 jenkins jenkins 336 Oct 16 09:49 .gitignore 09:50:57 -rw-r--r--. 1 jenkins jenkins 546 Oct 16 09:50 go.mod 09:50:57 -rw-r--r--. 1 jenkins jenkins 13621 Oct 16 09:50 go.sum 09:50:57 drwxrwxr-x. 3 jenkins jenkins 20 Oct 16 09:49 internal 09:50:57 -rw-rw-r--. 1 jenkins jenkins 677 Oct 16 09:49 Jenkinsfile 09:50:57 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 16 09:49 LICENSE 09:50:57 -rw-rw-r--. 1 jenkins jenkins 902 Oct 16 09:49 Makefile 09:50:57 drwxrwxr-x. 2 jenkins jenkins 23 Oct 16 09:49 mock 09:50:57 -rw-rw-r--. 1 jenkins jenkins 444 Oct 16 09:49 README.md 09:50:57 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:49 snap 09:50:57 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:49 VERSION 09:50:57 -rw-rw-r--. 1 jenkins jenkins 227 Oct 16 09:49 version.go [Pipeline] isUnix [Pipeline] sh 09:50:57 + 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=97ecc07e81cc599f0ec8b87939834737f980773d --label arch=amd64 --label version=0.0.0 . 09:50:57 Sending build context to Docker daemon 469kB 09:50:57 Step 1/22 : ARG BASE=golang:1.15-alpine 09:50:57 Step 2/22 : FROM ${BASE} AS builder 09:50:57 ---> 5ce87487d3b9 09:50:57 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:50:58 ---> Running in b3878e36661f 09:50:58 Removing intermediate container b3878e36661f 09:50:58 ---> 3088e1da57d6 09:50:58 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:50:58 ---> Running in 6c924332a74f 09:50:58 Removing intermediate container 6c924332a74f 09:50:58 ---> fc2084d27f66 09:50:58 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:58 ---> Running in cc0edf6eaa20 09:50:59 Removing intermediate container cc0edf6eaa20 09:50:59 ---> 9860e77e94f1 09:50:59 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:50:59 ---> Running in 0da135f283f8 09:50:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:51:01 OK: 237 MiB in 53 packages 09:51:01 Removing intermediate container 0da135f283f8 09:51:01 ---> 3c4fd9b6ee07 09:51:01 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:51:01 ---> Running in cbf4c1ef033c 09:51:01 Removing intermediate container cbf4c1ef033c 09:51:01 ---> c480905cd3cf 09:51:01 Step 8/22 : COPY . . 09:51:03 ---> 920a90ecccb1 09:51:03 Step 9/22 : ARG MAKE='make build' 09:51:03 ---> Running in 3205265681c2 09:51:03 Removing intermediate container 3205265681c2 09:51:03 ---> 9d09595076e4 09:51:03 Step 10/22 : RUN $MAKE 09:51:03 ---> Running in c87e0f6ec262 09:51:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 09:51:11 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:51:15 Removing intermediate container c87e0f6ec262 09:51:15 ---> b30b67d9827f 09:51:15 Step 11/22 : FROM alpine 09:51:15 latest: Pulling from library/alpine 09:51:15 df20fa9351a1: Already exists 09:51:15 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:51:15 Status: Downloaded newer image for alpine:latest 09:51:15 ---> a24bb4013296 09:51:15 Step 12/22 : ENV APP_PORT=49982 09:51:15 ---> Running in 14af89bbe8c3 09:51:16 Removing intermediate container 14af89bbe8c3 09:51:16 ---> b8db52c7704f 09:51:16 Step 13/22 : EXPOSE $APP_PORT 09:51:16 ---> Running in b118b4d7c28e 09:51:16 Removing intermediate container b118b4d7c28e 09:51:16 ---> 70ae8466b226 09:51:16 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:51:16 ---> be7b83a149fd 09:51:16 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:51:16 ---> 51b3cf3cd91d 09:51:16 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:51:17 ---> 3ee4e1cd627e 09:51:17 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:51:17 ---> Running in 6132f422d84b 09:51:17 Removing intermediate container 6132f422d84b 09:51:17 ---> 8eee7c5e0e83 09:51:17 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:51:17 ---> Running in 9ca8839625c2 09:51:17 Removing intermediate container 9ca8839625c2 09:51:17 ---> 58dc24eb0ea9 09:51:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:51:17 ---> Running in fa13c28db96a 09:51:17 Removing intermediate container fa13c28db96a 09:51:17 ---> 777f7d19eff6 09:51:17 Step 20/22 : LABEL arch=amd64 09:51:17 ---> Running in d506782fe33f 09:51:17 Removing intermediate container d506782fe33f 09:51:17 ---> 81d47fc2705b 09:51:17 Step 21/22 : LABEL git_sha=97ecc07e81cc599f0ec8b87939834737f980773d 09:51:18 ---> Running in c1c3f1b1aa53 09:51:18 Removing intermediate container c1c3f1b1aa53 09:51:18 ---> d5c13e2e444b 09:51:18 Step 22/22 : LABEL version=0.0.0 09:51:18 ---> Running in c2ee2214ee78 09:51:18 Removing intermediate container c2ee2214ee78 09:51:18 ---> 0ce445813b43 09:51:18 [Warning] One or more build-args [ARCH] were not consumed 09:51:18 Successfully built 0ce445813b43 09:51:18 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 09:51:33 Still waiting to schedule task 09:51:33 ‘prd-centos7-docker-8c-8g-5872’ is offline 09:52:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5879 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:52:09 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 09:52:14 using credential edgex-jenkins-ssh 09:52:14 Cloning the remote Git repository 09:52:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:52:14 > git init /w/workspace/device-mqtt-go/7 # timeout=10 09:52:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:52:14 > git --version # timeout=10 09:52:14 > git --version # 'git version 2.17.1' 09:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:52:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:52:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:52:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:52:15 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 97ecc07e81cc599f0ec8b87939834737f980773d 09:52:16 Merge succeeded, producing 97ecc07e81cc599f0ec8b87939834737f980773d 09:52:16 Checking out Revision 97ecc07e81cc599f0ec8b87939834737f980773d (PR-170) 09:52:15 > git config core.sparsecheckout # timeout=10 09:52:15 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:52:16 > git remote # timeout=10 09:52:16 > git config --get remote.origin.url # timeout=10 09:52:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:16 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 09:52:16 > git rev-parse HEAD^{commit} # timeout=10 09:52:16 > git config core.sparsecheckout # timeout=10 09:52:16 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:52:20 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:52:21 ========================================================= 09:52:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:52:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:52:22 + 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 . 09:52:22 Sending build context to Docker daemon 449.5kB 09:52:22 Step 1/8 : ARG BASE=golang:1.15-alpine 09:52:22 Step 2/8 : FROM ${BASE} 09:52:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:52:23 b538f80385f9: Pulling fs layer 09:52:23 74f711af9a0d: Pulling fs layer 09:52:23 99f96fe45779: Pulling fs layer 09:52:23 8529a6b9a6be: Pulling fs layer 09:52:23 45590311c82a: Pulling fs layer 09:52:23 69ca0ff8b7b3: Pulling fs layer 09:52:23 209524e5b208: Pulling fs layer 09:52:23 8529a6b9a6be: Waiting 09:52:23 45590311c82a: Waiting 09:52:23 69ca0ff8b7b3: Waiting 09:52:23 209524e5b208: Waiting 09:52:23 99f96fe45779: Download complete 09:52:23 74f711af9a0d: Verifying Checksum 09:52:23 74f711af9a0d: Download complete 09:52:23 45590311c82a: Verifying Checksum 09:52:23 45590311c82a: Download complete 09:52:23 69ca0ff8b7b3: Verifying Checksum 09:52:23 69ca0ff8b7b3: Download complete 09:52:24 b538f80385f9: Verifying Checksum 09:52:24 b538f80385f9: Download complete 09:52:24 b538f80385f9: Pull complete 09:52:25 74f711af9a0d: Pull complete 09:52:25 99f96fe45779: Pull complete 09:52:26 209524e5b208: Verifying Checksum 09:52:26 209524e5b208: Download complete 09:52:27 8529a6b9a6be: Verifying Checksum 09:52:27 8529a6b9a6be: Download complete 09:52:33 Running on prd-centos7-docker-8c-8g-5880 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:52:33 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 09:52:35 using credential edgex-jenkins-ssh 09:52:35 Cloning the remote Git repository 09:52:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:52:36 > git init /w/workspace/device-mqtt-go/7 # timeout=10 09:52:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:52:36 > git --version # timeout=10 09:52:36 > git --version # 'git version 2.16.5' 09:52:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:36 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 97ecc07e81cc599f0ec8b87939834737f980773d 09:52:37 Merge succeeded, producing 97ecc07e81cc599f0ec8b87939834737f980773d 09:52:37 Checking out Revision 97ecc07e81cc599f0ec8b87939834737f980773d (PR-170) 09:52:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:52:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:52:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:52:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:52:36 > git config core.sparsecheckout # timeout=10 09:52:36 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:52:37 > git remote # timeout=10 09:52:37 > git config --get remote.origin.url # timeout=10 09:52:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:37 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 09:52:37 > git rev-parse HEAD^{commit} # timeout=10 09:52:37 > git config core.sparsecheckout # timeout=10 09:52:37 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:52:37 8529a6b9a6be: Pull complete 09:52:38 45590311c82a: Pull complete 09:52:38 69ca0ff8b7b3: Pull complete 09:52:40 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:42 ++ find /w/workspace/device-mqtt-go/7 09:52:42 ++ grep snapcraft.yaml 09:52:42 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/7/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:42 provisioning config files... 09:52:42 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/7@tmp/config2190213047589594150tmp [Pipeline] { [Pipeline] sh 09:52:42 + cp /w/workspace/device-mqtt-go/7@tmp/config2190213047589594150tmp /w/workspace/device-mqtt-go/7/edgex-snap-store-login [Pipeline] sh 09:52:43 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/7:/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 09:52:43 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 09:52:43 209524e5b208: Pull complete 09:52:43 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:52:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:52:43 ---> 5bddaf1c2fca 09:52:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:52:43 latest: Pulling from edgex-devops/edgex-snap-builder 09:52:43 f08d8e2a3ba1: Pulling fs layer 09:52:43 3baa9cb2483b: Pulling fs layer 09:52:43 94e5ff4c0b15: Pulling fs layer 09:52:43 1860925334f9: Pulling fs layer 09:52:43 2daf38717194: Pulling fs layer 09:52:43 309017e8d7a4: Pulling fs layer 09:52:43 f7790dc9fd0f: Pulling fs layer 09:52:43 cac0ae9282c2: Pulling fs layer 09:52:43 1f4cadf9a1ed: Pulling fs layer 09:52:43 2daf38717194: Waiting 09:52:43 1860925334f9: Waiting 09:52:43 f7790dc9fd0f: Waiting 09:52:43 309017e8d7a4: Waiting 09:52:43 cac0ae9282c2: Waiting 09:52:43 1f4cadf9a1ed: Waiting 09:52:43 94e5ff4c0b15: Verifying Checksum 09:52:43 94e5ff4c0b15: Download complete 09:52:43 1860925334f9: Verifying Checksum 09:52:43 1860925334f9: Download complete 09:52:45 ---> Running in 980433651dab 09:52:45 Removing intermediate container 980433651dab 09:52:45 ---> 89e358bdd994 09:52:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:45 ---> Running in 7dba12511ed4 09:52:46 309017e8d7a4: Verifying Checksum 09:52:46 309017e8d7a4: Download complete 09:52:46 f7790dc9fd0f: Verifying Checksum 09:52:46 f7790dc9fd0f: Download complete 09:52:46 cac0ae9282c2: Verifying Checksum 09:52:46 cac0ae9282c2: Download complete 09:52:46 1f4cadf9a1ed: Download complete 09:52:47 f08d8e2a3ba1: Verifying Checksum 09:52:47 f08d8e2a3ba1: Download complete 09:52:48 Removing intermediate container 7dba12511ed4 09:52:48 ---> 97a81badf791 09:52:48 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:52:48 ---> Running in 138007b6e007 09:52:48 f08d8e2a3ba1: Pull complete 09:52:48 3baa9cb2483b: Pull complete 09:52:48 94e5ff4c0b15: Pull complete 09:52:49 1860925334f9: Pull complete 09:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:52:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:52:52 (1/14) Installing libmagic (5.38-r0) 09:52:52 (2/14) Installing file (5.38-r0) 09:52:53 (3/14) Installing libc-dev (0.7.2-r3) 09:52:53 (4/14) Installing g++ (9.3.0-r2) 09:52:53 2daf38717194: Verifying Checksum 09:52:53 2daf38717194: Download complete 09:53:11 (5/14) Installing fortify-headers (1.1-r0) 09:53:11 (6/14) Installing patch (2.7.6-r6) 09:53:11 (7/14) Installing build-base (0.5-r2) 09:53:11 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:53:11 (9/14) Installing libedit (20191231.3.1-r0) 09:53:11 (10/14) Installing openssh-client (8.3_p1-r0) 09:53:11 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:53:11 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:53:11 (13/14) Installing openssh-server (8.3_p1-r0) 09:53:11 2daf38717194: Pull complete 09:53:11 309017e8d7a4: Pull complete 09:53:11 f7790dc9fd0f: Pull complete 09:53:11 cac0ae9282c2: Pull complete 09:53:11 1f4cadf9a1ed: Pull complete 09:53:11 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 09:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 09:53:11 (14/14) Installing openssh (8.3_p1-r0) 09:53:11 Executing busybox-1.31.1-r16.trigger 09:53:11 OK: 221 MiB in 53 packages 09:53:13 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 09:53:13 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 09:53:13 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 09:53:13 Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1733 kB] 09:53:13 Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [205 kB] 09:53:13 Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1348 kB] 09:53:13 Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.0 kB] 09:53:13 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 09:53:13 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2150 kB] 09:53:13 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2112 kB] 09:53:14 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [231 kB] 09:53:14 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.5 kB] 09:53:14 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 09:53:14 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 09:53:14 Fetched 8114 kB in 2s (5303 kB/s) 09:53:15 Reading package lists... 09:53:16 Removing intermediate container 138007b6e007 09:53:16 ---> 53687c3089c1 09:53:16 Step 6/8 : WORKDIR /device-mqtt-go 09:53:16 ---> Running in 0feb36b01d4f 09:53:16 Removing intermediate container 0feb36b01d4f 09:53:16 ---> b131852a9650 09:53:16 Step 7/8 : COPY . . 09:53:17 ---> 87f34775e45f 09:53:17 Step 8/8 : RUN go mod download 09:53:17 ---> Running in e835d862d49f 09:53:19 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 09:53:19 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 09:53:19 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 09:53:19 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 09:53:20 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 52% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 09:53:22 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 09:53:23 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 58% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 09:53:24 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 09:53:24 Reading state information... 0% Reading state information... 0% Reading state information... Done 09:53:24 The following packages were automatically installed and are no longer required: 09:53:24 libjq1 libonig4 09:53:24 Use 'sudo apt autoremove' to remove them. 09:53:24 Suggested packages: 09:53:24 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:53:24 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 09:53:24 diffutils-doc perl-doc libterm-readline-gnu-perl 09:53:24 | libterm-readline-perl-perl 09:53:24 The following NEW packages will be installed: 09:53:24 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 09:53:24 libperl5.26 make netbase patch perl perl-modules-5.26 09:53:24 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 09:53:24 Need to get 12.0 MB of archives. 09:53:24 After this operation, 77.5 MB of additional disk space will be used. 09:53:24 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] 09:53:25 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 707 kB/2763 kB 26%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 09:53:25 Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 09:53:25 23% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 09:53:25 23% [4 libperl5.26 65.5 kB/3527 kB 2%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 09:53:25 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] 09:53:25 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] 09:53:25 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 09:53:25 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] 09:53:25 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] 09:53:25 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Working] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:53:25 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 09:53:25 68% [12 git 61.4 kB/3915 kB 2%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 09:53:25 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] 09:53:25 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9255 kB/s) 09:53:25 debconf: delaying package configuration, since apt-utils is not installed 09:53:25 Selecting previously unselected package perl-modules-5.26. 09:53:25 (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.) 09:53:25 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:53:25 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:53:26 Selecting previously unselected package libgdbm5:amd64. 09:53:26 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 09:53:26 Unpacking libgdbm5:amd64 (1.14.1-6) ... 09:53:26 Selecting previously unselected package libgdbm-compat4:amd64. 09:53:26 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 09:53:26 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 09:53:27 Selecting previously unselected package libperl5.26:amd64. 09:53:27 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 09:53:27 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:53:27 Selecting previously unselected package perl. 09:53:27 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 09:53:27 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:53:27 Selecting previously unselected package less. 09:53:27 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 09:53:27 Unpacking less (487-0.1) ... 09:53:27 Selecting previously unselected package netbase. 09:53:27 Preparing to unpack .../06-netbase_5.4_all.deb ... 09:53:27 Unpacking netbase (5.4) ... 09:53:27 Selecting previously unselected package curl. 09:53:27 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 09:53:27 Unpacking curl (7.58.0-2ubuntu3.10) ... 09:53:28 Selecting previously unselected package libcurl3-gnutls:amd64. 09:53:28 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 09:53:28 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 09:53:28 Selecting previously unselected package liberror-perl. 09:53:28 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 09:53:28 Unpacking liberror-perl (0.17025-1) ... 09:53:28 Selecting previously unselected package git-man. 09:53:28 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:53:28 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:53:28 Selecting previously unselected package git. 09:53:28 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 09:53:28 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:53:29 Selecting previously unselected package make. 09:53:29 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 09:53:29 Unpacking make (4.1-9.1ubuntu1) ... 09:53:29 Selecting previously unselected package patch. 09:53:29 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 09:53:29 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:53:29 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:53:29 Setting up less (487-0.1) ... 09:53:29 Setting up make (4.1-9.1ubuntu1) ... 09:53:29 Setting up curl (7.58.0-2ubuntu3.10) ... 09:53:29 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 09:53:29 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:53:29 Setting up libgdbm5:amd64 (1.14.1-6) ... 09:53:29 Setting up patch (2.7.6-2ubuntu1.1) ... 09:53:29 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 09:53:29 Setting up netbase (5.4) ... 09:53:29 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:53:29 Setting up perl (5.26.1-6ubuntu0.3) ... 09:53:29 Setting up liberror-perl (0.17025-1) ... 09:53:29 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:53:29 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 09:53:29 Processing triggers for mime-support (3.60ubuntu1) ... 09:53:31 curl set to automatically installed. 09:53:31 git set to automatically installed. 09:53:31 git-man set to automatically installed. 09:53:31 less set to automatically installed. 09:53:31 libcurl3-gnutls set to automatically installed. 09:53:31 liberror-perl set to automatically installed. 09:53:31 libgdbm-compat4 set to automatically installed. 09:53:31 libgdbm5 set to automatically installed. 09:53:31 libperl5.26 set to automatically installed. 09:53:31 make set to automatically installed. 09:53:31 netbase set to automatically installed. 09:53:31 patch set to automatically installed. 09:53:31 perl set to automatically installed. 09:53:31 perl-modules-5.26 set to automatically installed. 09:53:31 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:53:31 Please ensure the environment is properly setup before continuing. 09:53:31 Ignore this message if the appropriate measures have already been taken 09:53:32 Pulling go  09:53:33 'device-mqtt' has dependencies that need to be staged: go 09:53:33 Skipping pull go (already ran) 09:53:33 Building go  09:53:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:33 Dload Upload Total Spent Left Speed 09:53:33 Removing intermediate container e835d862d49f 09:53:33 ---> 8fa85f3bf250 09:53:33 Successfully built 8fa85f3bf250 09:53:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:53:33 + docker inspect -f . ci-base-image-arm64 09:53:33 . [Pipeline] withDockerContainer 09:53:33 prd-ubuntu18.04-docker-arm64-4c-16g-5879 does not seem to be running inside a container 09:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 44 115M 44 51.1M 0 0 53.7M 0 0:00:02 --:--:-- 0:00:02 53.7M 100 115M 100 115M 0 0 60.0M 0 0:00:01 0:00:01 --:--:-- 60.0M 09:53:35 go1.15.2.linux-amd64.tar.gz: OK 09:53:36 $ docker top 5b00ba7788434b9c8069d38bd2a20161fc1c83419e1f6d152801eb144a3aefdf -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:37 + go version 09:53:37 go version go1.15.2 linux/arm64 [Pipeline] } 09:53:37 $ docker stop --time=1 5b00ba7788434b9c8069d38bd2a20161fc1c83419e1f6d152801eb144a3aefdf 09:53:39 $ docker rm -f 5b00ba7788434b9c8069d38bd2a20161fc1c83419e1f6d152801eb144a3aefdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:53:41 + docker inspect -f . ci-base-image-arm64 09:53:41 . [Pipeline] withDockerContainer 09:53:41 prd-ubuntu18.04-docker-arm64-4c-16g-5879 does not seem to be running inside a container 09:53:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:42 Staging go  09:53:42 Pulling device-mqtt  09:53:43 Skipping build go (already ran) 09:53:43 Building device-mqtt  09:53:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 09:53:43 $ docker top da9692e37d8e53643551176c63d9e2deaa0799cb606d90b9bdd8313ffd94bb7a -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:44 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 09:53:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:53:44 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 09:53:44 go: downloading github.com/spf13/cast v1.3.1 09:53:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 09:53:44 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 09:53:44 go: downloading github.com/gorilla/mux v1.7.1 09:53:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 09:53:44 go: downloading gopkg.in/yaml.v2 v2.2.8 09:53:44 go: downloading github.com/google/uuid v1.1.1 09:53:44 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 09:53:44 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 09:53:44 go: downloading github.com/go-kit/kit v0.8.0 09:53:44 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 09:53:44 go: downloading github.com/OneOfOne/xxhash v1.2.6 09:53:44 go: downloading github.com/pkg/errors v0.8.1 09:53:44 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 09:53:44 go: downloading github.com/BurntSushi/toml v0.3.1 09:53:44 go: downloading github.com/pelletier/go-toml v1.2.0 09:53:44 go: downloading github.com/hashicorp/consul/api v1.1.0 09:53:44 go: downloading github.com/x448/float16 v0.8.4 09:53:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:53:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:53:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:53:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 09:53:44 go: downloading github.com/hashicorp/serf v0.8.2 09:53:44 go: downloading github.com/mitchellh/copystructure v1.0.0 09:53:44 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:53:44 go: downloading github.com/go-logfmt/logfmt v0.4.0 09:53:44 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:53:44 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:53:44 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:53:44 go: downloading github.com/hashicorp/golang-lru v0.5.0 09:53:45 + make test 09:53:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:53:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:53:49 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:53:53 Skipping stage go (already ran) 09:53:53 Staging device-mqtt  09:53:54 Priming go  09:53:55 Priming device-mqtt  09:53:56 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 09:53:56 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 09:53:56 Determining the version from the project repo (version-script). 09:53:56 The version has been set to 'local-dev-20201016+97ecc07' 09:53:56 Snapping | Snapping / Snapping - Snapping | 09:53:56 Snapped edgex-device-mqtt_local-dev-20201016+97ecc07_amd64.snap [Pipeline] } 09:53:58 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] } 09:54:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:54:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.025s coverage: 28.3% of statements 09:54:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:54:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:54:27 gofmt -l . 09:54:27 ["`gofmt -l .`" = ""] 09:54:27 ./bin/test-attribution-txt.sh 09:54:27 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:54:28 Warning: overwriting stash ‘coverage-report’ 09:54:29 Stashed 1 file(s) [Pipeline] } 09:54:29 $ docker stop --time=1 da9692e37d8e53643551176c63d9e2deaa0799cb606d90b9bdd8313ffd94bb7a 09:54:31 $ docker rm -f da9692e37d8e53643551176c63d9e2deaa0799cb606d90b9bdd8313ffd94bb7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:33 + ls -al . 09:54:33 total 132 09:54:33 drwxrwxr-x 9 jenkins jenkins 4096 Oct 16 09:54 . 09:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:52 .. 09:54:33 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:52 .dockerignore 09:54:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:52 .git 09:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:52 .github 09:54:33 -rw-rw-r-- 1 jenkins jenkins 336 Oct 16 09:52 .gitignore 09:54:33 -rw-rw-r-- 1 jenkins jenkins 5255 Oct 16 09:52 Attribution.txt 09:54:33 -rw-rw-r-- 1 jenkins jenkins 1784 Oct 16 09:52 Dockerfile 09:54:33 -rw-rw-r-- 1 jenkins jenkins 953 Oct 16 09:52 Dockerfile.build 09:54:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 16 09:52 Jenkinsfile 09:54:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 16 09:52 LICENSE 09:54:33 -rw-rw-r-- 1 jenkins jenkins 902 Oct 16 09:52 Makefile 09:54:33 -rw-rw-r-- 1 jenkins jenkins 444 Oct 16 09:52 README.md 09:54:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:49 VERSION 09:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:52 bin 09:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:52 cmd 09:54:33 -rw-r--r-- 1 jenkins jenkins 18939 Oct 16 09:54 coverage.out 09:54:33 -rw-r--r-- 1 jenkins jenkins 546 Oct 16 09:54 go.mod 09:54:33 -rw-r--r-- 1 jenkins jenkins 13621 Oct 16 09:54 go.sum 09:54:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:52 internal 09:54:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:52 mock 09:54:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:52 snap 09:54:33 -rw-rw-r-- 1 jenkins jenkins 227 Oct 16 09:52 version.go [Pipeline] isUnix [Pipeline] sh 09:54:33 + 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=97ecc07e81cc599f0ec8b87939834737f980773d --label arch=arm64 --label version=0.0.0 . 09:54:34 Sending build context to Docker daemon 469kB 09:54:34 Step 1/22 : ARG BASE=golang:1.15-alpine 09:54:34 Step 2/22 : FROM ${BASE} AS builder 09:54:34 ---> 8fa85f3bf250 09:54:34 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:54:34 ---> Running in 3371da7ce863 09:54:35 Removing intermediate container 3371da7ce863 09:54:35 ---> f21baa2530e8 09:54:35 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:54:35 ---> Running in 6a4059c01638 09:54:35 Removing intermediate container 6a4059c01638 09:54:35 ---> d42dc46f1753 09:54:35 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:35 ---> Running in d8792c3a4d07 09:54:38 Removing intermediate container d8792c3a4d07 09:54:38 ---> d084c27e9bc1 09:54:38 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:54:38 ---> Running in ddd291d51009 09:54:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:54:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:54:41 OK: 221 MiB in 53 packages 09:54:43 Removing intermediate container ddd291d51009 09:54:43 ---> 6645572e9b14 09:54:43 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:54:43 ---> Running in 3bffe96b4fe3 09:54:43 Removing intermediate container 3bffe96b4fe3 09:54:43 ---> be9c12bd6253 09:54:43 Step 8/22 : COPY . . 09:54:44 ---> cb1311b9f4b3 09:54:44 Step 9/22 : ARG MAKE='make build' 09:54:44 ---> Running in a5795ed9f9c9 09:54:44 Removing intermediate container a5795ed9f9c9 09:54:44 ---> 2fed55839923 09:54:44 Step 10/22 : RUN $MAKE 09:54:44 ---> Running in 2cdfba240898 09:54:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 09:55:13 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:55:17 Removing intermediate container 2cdfba240898 09:55:17 ---> 5f35c07385f5 09:55:17 Step 11/22 : FROM alpine 09:55:17 latest: Pulling from library/alpine 09:55:18 b538f80385f9: Already exists 09:55:18 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:55:18 Status: Downloaded newer image for alpine:latest 09:55:18 ---> 62ee0e9f8440 09:55:18 Step 12/22 : ENV APP_PORT=49982 09:55:18 ---> Running in cafd0534f2f1 09:55:19 Removing intermediate container cafd0534f2f1 09:55:19 ---> 7f02ea5701a3 09:55:19 Step 13/22 : EXPOSE $APP_PORT 09:55:19 ---> Running in b3a76fa42223 09:55:19 Removing intermediate container b3a76fa42223 09:55:19 ---> ed742b6c6eb5 09:55:19 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:55:21 ---> 16ed7349648f 09:55:21 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:55:21 ---> ea68df96b46b 09:55:21 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:55:22 ---> 8b89534a1ed0 09:55:22 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:55:22 ---> Running in 7d17a9a6e6b4 09:55:22 Removing intermediate container 7d17a9a6e6b4 09:55:22 ---> 61fdfcfa0e6c 09:55:22 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:55:23 ---> Running in 7c1b9c1258f8 09:55:23 Removing intermediate container 7c1b9c1258f8 09:55:23 ---> f0aeffb4873c 09:55:23 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:55:23 ---> Running in aaecdd19f1ac 09:55:23 Removing intermediate container aaecdd19f1ac 09:55:23 ---> 989a7b1ebacd 09:55:23 Step 20/22 : LABEL arch=arm64 09:55:24 ---> Running in 581b28c7d169 09:55:24 Removing intermediate container 581b28c7d169 09:55:24 ---> d891ad5a33a8 09:55:24 Step 21/22 : LABEL git_sha=97ecc07e81cc599f0ec8b87939834737f980773d 09:55:24 ---> Running in 3add455161df 09:55:25 Removing intermediate container 3add455161df 09:55:25 ---> cda8d25f366d 09:55:25 Step 22/22 : LABEL version=0.0.0 09:55:25 ---> Running in cb8a12c62be1 09:55:25 Removing intermediate container cb8a12c62be1 09:55:25 ---> ee7d9ae9c8f8 09:55:25 [Warning] One or more build-args [ARCH] were not consumed 09:55:25 Successfully built ee7d9ae9c8f8 09:55:25 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 09:55:41 Still waiting to schedule task 09:55:41 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 09:57:26 Running on prd-ubuntu18.04-docker-arm64-16c-16g-5881 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:57:26 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 09:57:30 using credential edgex-jenkins-ssh 09:57:30 Cloning the remote Git repository 09:57:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:57:30 > git init /w/workspace/device-mqtt-go/7 # timeout=10 09:57:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:57:30 > git --version # timeout=10 09:57:30 > git --version # 'git version 2.17.1' 09:57:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:32 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit 97ecc07e81cc599f0ec8b87939834737f980773d 09:57:32 Merge succeeded, producing 97ecc07e81cc599f0ec8b87939834737f980773d 09:57:32 Checking out Revision 97ecc07e81cc599f0ec8b87939834737f980773d (PR-170) 09:57:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:57:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:57:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:57:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:57:32 > git config core.sparsecheckout # timeout=10 09:57:32 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:57:32 > git remote # timeout=10 09:57:32 > git config --get remote.origin.url # timeout=10 09:57:32 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:32 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 09:57:32 > git rev-parse HEAD^{commit} # timeout=10 09:57:32 > git config core.sparsecheckout # timeout=10 09:57:32 > git checkout -f 97ecc07e81cc599f0ec8b87939834737f980773d # timeout=10 09:57:36 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:37 + find /w/workspace/device-mqtt-go/7 09:57:37 + grep snapcraft.yaml 09:57:37 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/7/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:57:38 provisioning config files... 09:57:38 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/7@tmp/config3355940171032371371tmp [Pipeline] { [Pipeline] sh 09:57:38 + cp /w/workspace/device-mqtt-go/7@tmp/config3355940171032371371tmp /w/workspace/device-mqtt-go/7/edgex-snap-store-login [Pipeline] sh 09:57:38 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/7:/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 09:57:39 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 09:57:39 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 09:57:39 237528ba509b: Pulling fs layer 09:57:39 393b96f31d8b: Pulling fs layer 09:57:39 4d82b0e39008: Pulling fs layer 09:57:39 e7ca375b8d34: Pulling fs layer 09:57:39 418f656485bb: Pulling fs layer 09:57:39 aebe8db9254c: Pulling fs layer 09:57:39 4f5f7b207d3f: Pulling fs layer 09:57:39 d19ca6af091a: Pulling fs layer 09:57:39 16b5a0711add: Pulling fs layer 09:57:39 e7ca375b8d34: Waiting 09:57:39 4f5f7b207d3f: Waiting 09:57:39 aebe8db9254c: Waiting 09:57:39 16b5a0711add: Waiting 09:57:39 d19ca6af091a: Waiting 09:57:39 4d82b0e39008: Verifying Checksum 09:57:39 4d82b0e39008: Download complete 09:57:39 393b96f31d8b: Verifying Checksum 09:57:39 393b96f31d8b: Download complete 09:57:39 e7ca375b8d34: Download complete 09:57:39 aebe8db9254c: Verifying Checksum 09:57:39 aebe8db9254c: Download complete 09:57:39 4f5f7b207d3f: Download complete 09:57:40 d19ca6af091a: Verifying Checksum 09:57:40 d19ca6af091a: Download complete 09:57:40 16b5a0711add: Download complete 09:57:42 237528ba509b: Verifying Checksum 09:57:42 237528ba509b: Download complete 09:57:45 237528ba509b: Pull complete 09:57:46 393b96f31d8b: Pull complete 09:57:46 4d82b0e39008: Pull complete 09:57:46 e7ca375b8d34: Pull complete 09:57:50 418f656485bb: Verifying Checksum 09:57:50 418f656485bb: Download complete 09:58:37 418f656485bb: Pull complete 09:58:37 aebe8db9254c: Pull complete 09:58:37 4f5f7b207d3f: Pull complete 09:58:37 d19ca6af091a: Pull complete 09:58:37 16b5a0711add: Pull complete 09:58:37 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 09:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 09:58:38 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 09:58:38 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 09:58:38 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 09:58:39 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 09:58:39 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1856 kB] 09:58:39 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 09:58:39 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 09:58:39 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1401 kB] 09:58:39 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 09:58:39 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 09:58:39 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1024 kB] 09:58:40 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 09:58:40 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 09:58:40 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1173 kB] 09:58:40 Fetched 5740 kB in 2s (2340 kB/s) 09:58:45 Reading package lists... 09:59:00 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 09:59:00 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 09:59:00 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 09:59:00 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 09:59:03 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 29% Reading package lists... 49% Reading package lists... 68% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 88% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 09:59:10 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 09:59:14 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 29% Reading package lists... 49% Reading package lists... 68% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 88% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 09:59:15 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 58% Building dependency tree 09:59:15 Reading state information... 0% Reading state information... 0% Reading state information... Done 09:59:16 The following packages were automatically installed and are no longer required: 09:59:16 libjq1 libonig4 09:59:16 Use 'sudo apt autoremove' to remove them. 09:59:16 Suggested packages: 09:59:16 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:59:16 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 09:59:16 diffutils-doc perl-doc libterm-readline-gnu-perl 09:59:16 | libterm-readline-perl-perl 09:59:16 The following NEW packages will be installed: 09:59:16 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 09:59:16 libperl5.26 make netbase patch perl perl-modules-5.26 09:59:16 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 09:59:16 Need to get 10.8 MB of archives. 09:59:16 After this operation, 73.6 MB of additional disk space will be used. 09:59:16 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] 09:59:17 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 680 kB/2763 kB 25%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] 09:59:17 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 09:59:17 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] 09:59:17 25% [4 libperl5.26 8192 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] 09:59:17 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] 09:59:17 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] 09:59:17 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] 09:59:17 58% [8 curl 53.2 kB/152 kB 35%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 09:59:17 60% [9 libcurl3-gnutls 20.5 kB/179 kB 11%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 09:59:17 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:59:17 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 09:59:17 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] 09:59:17 96% [13 make 41.0 kB/139 kB 30%] 98% [Waiting for headers] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 09:59:17 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (7212 kB/s) 09:59:18 debconf: delaying package configuration, since apt-utils is not installed 09:59:18 Selecting previously unselected package perl-modules-5.26. 09:59:18 (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.) 09:59:18 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:59:18 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:59:20 Selecting previously unselected package libgdbm5:arm64. 09:59:20 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 09:59:20 Unpacking libgdbm5:arm64 (1.14.1-6) ... 09:59:20 Selecting previously unselected package libgdbm-compat4:arm64. 09:59:20 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 09:59:20 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 09:59:20 Selecting previously unselected package libperl5.26:arm64. 09:59:20 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 09:59:20 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:59:21 Selecting previously unselected package perl. 09:59:21 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 09:59:21 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:59:21 Selecting previously unselected package less. 09:59:21 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 09:59:21 Unpacking less (487-0.1) ... 09:59:22 Selecting previously unselected package netbase. 09:59:22 Preparing to unpack .../06-netbase_5.4_all.deb ... 09:59:22 Unpacking netbase (5.4) ... 09:59:22 Selecting previously unselected package curl. 09:59:22 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 09:59:22 Unpacking curl (7.58.0-2ubuntu3.10) ... 09:59:22 Selecting previously unselected package libcurl3-gnutls:arm64. 09:59:22 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 09:59:22 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 09:59:22 Selecting previously unselected package liberror-perl. 09:59:22 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 09:59:22 Unpacking liberror-perl (0.17025-1) ... 09:59:22 Selecting previously unselected package git-man. 09:59:22 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:59:22 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:59:22 Selecting previously unselected package git. 09:59:22 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 09:59:23 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:59:24 Selecting previously unselected package make. 09:59:24 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 09:59:24 Unpacking make (4.1-9.1ubuntu1) ... 09:59:24 Selecting previously unselected package patch. 09:59:24 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 09:59:24 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:59:24 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:59:24 Setting up less (487-0.1) ... 09:59:25 Setting up make (4.1-9.1ubuntu1) ... 09:59:25 Setting up curl (7.58.0-2ubuntu3.10) ... 09:59:25 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 09:59:25 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:59:25 Setting up libgdbm5:arm64 (1.14.1-6) ... 09:59:25 Setting up patch (2.7.6-2ubuntu1.1) ... 09:59:25 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 09:59:25 Setting up netbase (5.4) ... 09:59:25 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:59:25 Setting up perl (5.26.1-6ubuntu0.3) ... 09:59:25 Setting up liberror-perl (0.17025-1) ... 09:59:25 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:59:25 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 09:59:25 Processing triggers for mime-support (3.60ubuntu1) ... 09:59:31 curl set to automatically installed. 09:59:31 git set to automatically installed. 09:59:31 git-man set to automatically installed. 09:59:31 less set to automatically installed. 09:59:31 libcurl3-gnutls set to automatically installed. 09:59:31 liberror-perl set to automatically installed. 09:59:31 libgdbm-compat4 set to automatically installed. 09:59:31 libgdbm5 set to automatically installed. 09:59:31 libperl5.26 set to automatically installed. 09:59:31 make set to automatically installed. 09:59:31 netbase set to automatically installed. 09:59:31 patch set to automatically installed. 09:59:31 perl set to automatically installed. 09:59:31 perl-modules-5.26 set to automatically installed. 09:59:31 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:59:31 Please ensure the environment is properly setup before continuing. 09:59:31 Ignore this message if the appropriate measures have already been taken 09:59:32 Pulling go  09:59:35 'device-mqtt' has dependencies that need to be staged: go 09:59:35 Skipping pull go (already ran) 09:59:35 Building go  09:59:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:59:35 Dload Upload Total Spent Left Speed 09:59:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 31 93.2M 31 29.4M 0 0 33.7M 0 0:00:02 --:--:-- 0:00:02 33.7M 81 93.2M 81 75.6M 0 0 40.6M 0 0:00:02 0:00:01 0:00:01 40.6M 100 93.2M 100 93.2M 0 0 41.7M 0 0:00:02 0:00:02 --:--:-- 41.7M 09:59:39 go1.15.2.linux-arm64.tar.gz: OK 09:59:57 Staging go  10:00:00 Pulling device-mqtt  10:00:03 Skipping build go (already ran) 10:00:03 Building device-mqtt  10:00:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 10:00:05 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 10:00:05 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 10:00:05 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 10:00:05 go: downloading github.com/spf13/cast v1.3.1 10:00:05 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 10:00:05 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 10:00:06 go: downloading github.com/gorilla/mux v1.7.1 10:00:06 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 10:00:06 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 10:00:06 go: downloading github.com/google/uuid v1.1.1 10:00:06 go: downloading gopkg.in/yaml.v2 v2.2.8 10:00:06 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 10:00:06 go: downloading github.com/pkg/errors v0.8.1 10:00:06 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 10:00:06 go: downloading github.com/go-kit/kit v0.8.0 10:00:06 go: downloading github.com/pelletier/go-toml v1.2.0 10:00:06 go: downloading github.com/hashicorp/consul/api v1.1.0 10:00:06 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 10:00:06 go: downloading github.com/OneOfOne/xxhash v1.2.6 10:00:06 go: downloading github.com/BurntSushi/toml v0.3.1 10:00:06 go: downloading github.com/x448/float16 v0.8.4 10:00:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:00:06 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:00:06 go: downloading github.com/mitchellh/copystructure v1.0.0 10:00:06 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:00:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 10:00:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:00:06 go: downloading github.com/hashicorp/serf v0.8.2 10:00:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:00:06 go: downloading github.com/go-logfmt/logfmt v0.4.0 10:00:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:00:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:00:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:00:25 CGO_ENABLED=0 GO111MODULE=on go build ./... 10:00:40 Skipping stage go (already ran) 10:00:40 Staging device-mqtt  10:00:43 Priming go  10:00:46 Priming device-mqtt  10:00:50 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 10:00:50 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 10:00:50 Determining the version from the project repo (version-script). 10:00:50 The version has been set to 'local-dev-20201016+97ecc07' 10:00:51 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 10:00:51 Snapped edgex-device-mqtt_local-dev-20201016+97ecc07_arm64.snap [Pipeline] } 10:00:53 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 10:00:56 provisioning config files... 10:00:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config461854399774276689tmp [Pipeline] { [Pipeline] sh 10:00:56 + set +x 10:00:56 + curl -s https://codecov.io/bash 10:00:56 + bash -s -- 10:00:56 10:00:56 _____ _ 10:00:56 / ____| | | 10:00:56 | | ___ __| | ___ ___ _____ __ 10:00:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:00:56 | |___| (_) | (_| | __/ (_| (_) \ V / 10:00:56 \_____\___/ \__,_|\___|\___\___/ \_/ 10:00:56 Bash-20201009-048fee3 10:00:56 10:00:56 10:00:56 ==> Jenkins CI detected. 10:00:56 project root: . 10:00:56 --> token set from env 10:00:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:00:56 ==> Running gcov in . (disable via -X gcov) 10:00:56 ==> Python coveragepy not found 10:00:56 ==> Searching for coverage reports in: 10:00:56 + . 10:00:56 -> Found 1 reports 10:00:56 ==> Detecting git/mercurial file structure 10:00:56 ==> Reading reports 10:00:56 + ./coverage.out bytes=18939 10:00:56 ==> Appending adjustments 10:00:56 https://docs.codecov.io/docs/fixing-reports 10:00:57 + Found adjustments 10:00:57 ==> Gzipping contents 10:00:57 ==> Uploading reports 10:00:57 url: https://codecov.io 10:00:57 query: branch=PR-170&commit=97ecc07e81cc599f0ec8b87939834737f980773d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 10:00:57 -> Pinging Codecov 10:00:57 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-170&commit=97ecc07e81cc599f0ec8b87939834737f980773d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 10:00:57 -> Uploading to 10:00:57 10:00:57 % Total % Received % Xferd Average Speed Time Time Time Current 10:00:57 Dload Upload Total Spent Left Speed 10:00:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 10:00:57 X> Failed to upload 10:00:57 ==> Uploading to Codecov 10:00:57 % Total % Received % Xferd Average Speed Time Time Time Current 10:00:57 Dload Upload Total Spent Left Speed 10:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3358 100 111 100 3247 133 3918 --:--:-- --:--:-- --:--:-- 3921 10:00:58 View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/97ecc07e81cc599f0ec8b87939834737f980773d [Pipeline] } 10:00:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:01:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:01:02 ---> package-listing.sh 10:01:02 ++ facter osfamily 10:01:02 ++ tr '[:upper:]' '[:lower:]' 10:01:02 + OS_FAMILY=redhat 10:01:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-170 10:01:02 + START_PACKAGES=/tmp/packages_start.txt 10:01:02 + END_PACKAGES=/tmp/packages_end.txt 10:01:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:01:02 + PACKAGES=/tmp/packages_start.txt 10:01:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 10:01:02 + PACKAGES=/tmp/packages_end.txt 10:01:02 + case "${OS_FAMILY}" in 10:01:02 + sort 10:01:02 + rpm -qa 10:01:06 + '[' -f /tmp/packages_start.txt ']' 10:01:06 + '[' -f /tmp/packages_end.txt ']' 10:01:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:01:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 10:01:06 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ 10:01:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ [Pipeline] echo 10:01:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:01:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:01:06 10:01:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:01:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:01:07 alpine: Pulling from edgex-lftools-log-publisher 10:01:07 df20fa9351a1: Pulling fs layer 10:01:07 36b3adc4ff6f: Pulling fs layer 10:01:07 8ad3a11d3b57: Pulling fs layer 10:01:07 46f8f816bc3b: Pulling fs layer 10:01:07 93b61091891f: Pulling fs layer 10:01:07 93b9cdb0e59b: Pulling fs layer 10:01:07 5e14af77c1be: Pulling fs layer 10:01:07 01666e4c0597: Pulling fs layer 10:01:07 aa168da1d23b: Pulling fs layer 10:01:07 46f8f816bc3b: Waiting 10:01:07 93b61091891f: Waiting 10:01:07 01666e4c0597: Waiting 10:01:07 5e14af77c1be: Waiting 10:01:07 aa168da1d23b: Waiting 10:01:07 93b9cdb0e59b: Waiting 10:01:07 36b3adc4ff6f: Verifying Checksum 10:01:07 36b3adc4ff6f: Download complete 10:01:07 46f8f816bc3b: Verifying Checksum 10:01:07 46f8f816bc3b: Download complete 10:01:07 df20fa9351a1: Download complete 10:01:07 93b9cdb0e59b: Verifying Checksum 10:01:07 93b9cdb0e59b: Download complete 10:01:07 93b61091891f: Verifying Checksum 10:01:07 93b61091891f: Download complete 10:01:07 5e14af77c1be: Verifying Checksum 10:01:07 5e14af77c1be: Download complete 10:01:07 01666e4c0597: Verifying Checksum 10:01:07 01666e4c0597: Download complete 10:01:07 df20fa9351a1: Pull complete 10:01:08 36b3adc4ff6f: Pull complete 10:01:08 8ad3a11d3b57: Verifying Checksum 10:01:08 8ad3a11d3b57: Download complete 10:01:08 8ad3a11d3b57: Pull complete 10:01:08 46f8f816bc3b: Pull complete 10:01:09 93b61091891f: Pull complete 10:01:09 93b9cdb0e59b: Pull complete 10:01:09 5e14af77c1be: Pull complete 10:01:09 aa168da1d23b: Verifying Checksum 10:01:09 aa168da1d23b: Download complete 10:01:09 01666e4c0597: Pull complete 10:01:16 aa168da1d23b: Pull complete 10:01:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:01:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:01:17 prd-centos7-docker-4c-2g-5875 does not seem to be running inside a container 10:01:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:01:21 $ docker top 7043baf36c60827bb72e85c8ce863673b2dd1350dd9baf1e5a942aa9297f9160 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:21 + touch /tmp/pre-build-complete [Pipeline] sh 10:01:22 + mkdir -p /var/log/sa [Pipeline] sh 10:01:22 + ls /var/log/sa-host 10:01:22 + sadf -c /var/log/sa-host/sa05 10:01:22 file_magic: OK 10:01:22 HZ: Using current value: 100 10:01:22 file_header: OK 10:01:22 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 10:01:22 Statistics: 10:01:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:01:22 File successfully converted to sysstat format version 12.2.1 10:01:22 + sadf -c /var/log/sa-host/sa16 10:01:22 file_magic: OK 10:01:22 HZ: Using current value: 100 10:01:22 file_header: OK 10:01:22 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 10:01:22 Statistics: 10:01:22 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... 10:01:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:22 provisioning config files... 10:01:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config3191239816100713250tmp [Pipeline] { [Pipeline] echo 10:01:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:01:23 ---> create-netrc.sh [Pipeline] } 10:01:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:01:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:01:23 ---> python-tools-install.sh [Pipeline] echo 10:01:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:01:24 ---> sudo-logs.sh 10:01:24 Archiving 'sudo' log.. [Pipeline] echo 10:01:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:01:24 ---> job-cost.sh 10:01:24 lf-activate-venv: SKIPPING 10:01:24 INFO: No Stack... 10:01:27 INFO: Retrieving Pricing Info for: v1-standard-2 10:01:27 INFO: Archiving Costs [Pipeline] echo 10:01:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:01:28 ---> logs-deploy.sh 10:01:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-170/7 10:01:28 INFO: archiving workspace using pattern(s): 10:01:29 Archives upload complete. 10:01:29 INFO: archiving logs to Nexus