Pull request #170 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0+f7b704da3e9a84fb10464ba1b2bdd449b0700fcc (addfbfc995719d978987208f9206c10bc97ade53) 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-170/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5860 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 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # 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 f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" First time build. Skipping changelog. > git rev-list --no-walk 3f5aa68dbeb043a3879a33889abdf6e3a44a48a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:33:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:33:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:33:33 ========================================================= 09:33:33 EdgeX Global Pipelines Version Info 09:33:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:33:37 ------------------- 09:33:37 stable info: 09:33:37 ------------------- 09:33:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:33:37 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:33:37 Message: update stable to v1.0.144 09:33:38 ------------------- 09:33:38 experimental info: 09:33:38 ------------------- 09:33:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:33:38 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:33:38 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:33:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:33:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cbfbfc [Pipeline] echo 09:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:43 + git log --format=format:%s -1 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] echo 09:33:43 GIT_COMMIT: 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0, Commit Message: Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo 09:33:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:33:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:45 09:33:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:33:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:46 latest: Pulling from edgex-devops/git-semver 09:33:46 31603596830f: Pulling fs layer 09:33:46 2a8b12db71e7: Pulling fs layer 09:33:46 6ca5941a6612: Pulling fs layer 09:33:46 ecc8261a40a4: Pulling fs layer 09:33:46 ecc8261a40a4: Waiting 09:33:46 2a8b12db71e7: Download complete 09:33:47 31603596830f: Verifying Checksum 09:33:47 31603596830f: Download complete 09:33:48 ecc8261a40a4: Verifying Checksum 09:33:48 ecc8261a40a4: Download complete 09:33:48 31603596830f: Pull complete 09:33:48 2a8b12db71e7: Pull complete 09:33:49 6ca5941a6612: Verifying Checksum 09:33:49 6ca5941a6612: Download complete 09:33:51 6ca5941a6612: Pull complete 09:33:51 ecc8261a40a4: Pull complete 09:33:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:33:52 prd-centos7-docker-4c-2g-5860 does not seem to be running inside a container 09:33:52 $ 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:33:54 $ docker top cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:55 [ssh-agent] Looking for ssh-agent implementation... 09:33:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:55 $ docker exec cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent 09:33:56 SSH_AUTH_SOCK=/tmp/ssh-kVWMcshRqR1q/agent.13 09:33:56 SSH_AGENT_PID=19 09:33:56 Running ssh-add (command line suppressed) 09:33:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6646514751914238904.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6646514751914238904.key) 09:33:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:56 + git tag --points-at HEAD [Pipeline] } 09:33:57 $ docker exec --env ******** --env ******** cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent -k 09:33:57 unset SSH_AUTH_SOCK; 09:33:57 unset SSH_AGENT_PID; 09:33:57 echo Agent pid 19 killed; 09:33:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:33:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:57 [ssh-agent] Looking for ssh-agent implementation... 09:33:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:57 $ docker exec cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent 09:33:58 SSH_AUTH_SOCK=/tmp/ssh-qqRA90Op721d/agent.48 09:33:58 SSH_AGENT_PID=53 09:33:58 Running ssh-add (command line suppressed) 09:33:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6566102925867441063.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6566102925867441063.key) 09:33:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:59 + git semver init 09:33:59 # -> Open(): unable to determine branch for HEAD 09:33:59 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.git 09:33:59 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-170 09:33:59 # $SEMVER_REMOTE_NAME = origin 09:33:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:33:59 # $SEMVER_USER_NAME = edgex-jenkins 09:33:59 # $SEMVER_BRANCH = PR-170 09:33:59 # $SEMVER_TEMP = /tmp/semver-113525446 09:33:59 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 09:34:00 # '/tmp/semver-113525446' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver' 09:34:00 # -> Force: false 09:34:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver [Pipeline] } 09:34:00 $ docker exec --env ******** --env ******** cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent -k 09:34:00 unset SSH_AUTH_SOCK; 09:34:00 unset SSH_AGENT_PID; 09:34:00 echo Agent pid 53 killed; 09:34:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:01 + git semver [Pipeline] } 09:34:01 $ docker stop --time=1 cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 09:34:03 $ docker rm -f cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:05 Stashed 1 file(s) [Pipeline] echo 09:34:05 [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:34:20 Still waiting to schedule task 09:34:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:34:20 Still waiting to schedule task 09:34:20 ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5844’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5853’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5857’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5864’ is offline 09:36:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5867 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:36:01 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 09:36:07 using credential edgex-jenkins-ssh 09:36:08 Cloning the remote Git repository 09:36:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:36:08 > git init /w/workspace/device-mqtt-go/5 # timeout=10 09:36:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:36:08 > git --version # timeout=10 09:36:08 > git --version # 'git version 2.17.1' 09:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:36:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:09 > 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:36:09 Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:36:10 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:36:10 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) 09:36:09 > git config core.sparsecheckout # timeout=10 09:36:09 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:36:09 > git remote # timeout=10 09:36:10 > git config --get remote.origin.url # timeout=10 09:36:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:10 > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:36:10 > git rev-parse HEAD^{commit} # timeout=10 09:36:10 > git config core.sparsecheckout # timeout=10 09:36:10 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:36:14 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:36:15 ========================================================= 09:36:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:36:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:36:16 + 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:36:17 Sending build context to Docker daemon 450kB 09:36:17 Step 1/8 : ARG BASE=golang:1.15-alpine 09:36:17 Step 2/8 : FROM ${BASE} 09:36:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:18 b538f80385f9: Pulling fs layer 09:36:18 74f711af9a0d: Pulling fs layer 09:36:18 99f96fe45779: Pulling fs layer 09:36:18 8529a6b9a6be: Pulling fs layer 09:36:18 45590311c82a: Pulling fs layer 09:36:18 69ca0ff8b7b3: Pulling fs layer 09:36:18 209524e5b208: Pulling fs layer 09:36:18 8529a6b9a6be: Waiting 09:36:18 45590311c82a: Waiting 09:36:18 69ca0ff8b7b3: Waiting 09:36:18 209524e5b208: Waiting 09:36:18 99f96fe45779: Verifying Checksum 09:36:18 99f96fe45779: Download complete 09:36:18 45590311c82a: Verifying Checksum 09:36:18 45590311c82a: Download complete 09:36:18 69ca0ff8b7b3: Verifying Checksum 09:36:18 69ca0ff8b7b3: Download complete 09:36:18 b538f80385f9: Verifying Checksum 09:36:18 b538f80385f9: Download complete 09:36:19 b538f80385f9: Pull complete 09:36:19 74f711af9a0d: Pull complete 09:36:19 99f96fe45779: Pull complete 09:36:20 209524e5b208: Verifying Checksum 09:36:20 209524e5b208: Download complete 09:36:21 8529a6b9a6be: Verifying Checksum 09:36:21 8529a6b9a6be: Download complete 09:36:32 8529a6b9a6be: Pull complete 09:36:32 45590311c82a: Pull complete 09:36:32 69ca0ff8b7b3: Pull complete 09:36:36 209524e5b208: Pull complete 09:36:36 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:36:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:36:36 ---> 5bddaf1c2fca 09:36:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:36:39 ---> Running in 97416e91c13f 09:36:39 Removing intermediate container 97416e91c13f 09:36:39 ---> 1c6ed5d77a17 09:36:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:39 ---> Running in 1f504100c9b5 09:36:43 Removing intermediate container 1f504100c9b5 09:36:43 ---> 3cf300bd6a20 09:36:43 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:36:43 ---> Running in 88d0095a6e0b 09:36:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:36:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:36:45 (1/14) Installing libmagic (5.38-r0) 09:36:46 (2/14) Installing file (5.38-r0) 09:36:46 (3/14) Installing libc-dev (0.7.2-r3) 09:36:46 (4/14) Installing g++ (9.3.0-r2) 09:36:56 (5/14) Installing fortify-headers (1.1-r0) 09:36:56 (6/14) Installing patch (2.7.6-r6) 09:36:56 (7/14) Installing build-base (0.5-r2) 09:36:56 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:36:56 (9/14) Installing libedit (20191231.3.1-r0) 09:36:56 (10/14) Installing openssh-client (8.3_p1-r0) 09:36:57 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:36:57 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:36:57 (13/14) Installing openssh-server (8.3_p1-r0) 09:36:57 (14/14) Installing openssh (8.3_p1-r0) 09:36:57 Executing busybox-1.31.1-r16.trigger 09:36:57 OK: 221 MiB in 53 packages 09:37:02 Removing intermediate container 88d0095a6e0b 09:37:02 ---> 8f9da8ac716a 09:37:02 Step 6/8 : WORKDIR /device-mqtt-go 09:37:02 ---> Running in d86047c55f48 09:37:02 Removing intermediate container d86047c55f48 09:37:02 ---> 3e2b55b699ec 09:37:02 Step 7/8 : COPY . . 09:37:03 ---> 45bb58da618e 09:37:03 Step 8/8 : RUN go mod download 09:37:03 ---> Running in 70003f7942ac 09:37:19 Removing intermediate container 70003f7942ac 09:37:19 ---> 524e184adff6 09:37:19 Successfully built 524e184adff6 09:37:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:37:19 + docker inspect -f . ci-base-image-arm64 09:37:19 . [Pipeline] withDockerContainer 09:37:19 prd-ubuntu18.04-docker-arm64-4c-16g-5867 does not seem to be running inside a container 09:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:37:21 $ docker top bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:23 + go version 09:37:23 go version go1.15.2 linux/arm64 [Pipeline] } 09:37:23 $ docker stop --time=1 bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 09:37:25 $ docker rm -f bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:37:26 + docker inspect -f . ci-base-image-arm64 09:37:26 . [Pipeline] withDockerContainer 09:37:26 prd-ubuntu18.04-docker-arm64-4c-16g-5867 does not seem to be running inside a container 09:37:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:37:28 $ docker top 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:30 + make test 09:37:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:37:31 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:38:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:38:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.025s coverage: 28.3% of statements 09:38:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:38:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:38:13 gofmt -l . 09:38:13 ["`gofmt -l .`" = ""] 09:38:13 ./bin/test-attribution-txt.sh 09:38:13 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:38:15 Stashed 1 file(s) [Pipeline] } 09:38:15 $ docker stop --time=1 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab 09:38:17 $ docker rm -f 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:38:19 + ls -al . 09:38:19 total 132 09:38:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 16 09:38 . 09:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:36 .. 09:38:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:36 .dockerignore 09:38:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:36 .git 09:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 .github 09:38:19 -rw-rw-r-- 1 jenkins jenkins 336 Oct 16 09:36 .gitignore 09:38:19 -rw-rw-r-- 1 jenkins jenkins 5255 Oct 16 09:36 Attribution.txt 09:38:19 -rw-rw-r-- 1 jenkins jenkins 1784 Oct 16 09:36 Dockerfile 09:38:19 -rw-rw-r-- 1 jenkins jenkins 953 Oct 16 09:36 Dockerfile.build 09:38:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 16 09:36 Jenkinsfile 09:38:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 16 09:36 LICENSE 09:38:19 -rw-rw-r-- 1 jenkins jenkins 902 Oct 16 09:36 Makefile 09:38:19 -rw-rw-r-- 1 jenkins jenkins 444 Oct 16 09:36 README.md 09:38:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:34 VERSION 09:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 bin 09:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:36 cmd 09:38:19 -rw-r--r-- 1 jenkins jenkins 18939 Oct 16 09:38 coverage.out 09:38:19 -rw-r--r-- 1 jenkins jenkins 546 Oct 16 09:38 go.mod 09:38:19 -rw-r--r-- 1 jenkins jenkins 13621 Oct 16 09:38 go.sum 09:38:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:36 internal 09:38:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 mock 09:38:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:36 snap 09:38:19 -rw-rw-r-- 1 jenkins jenkins 227 Oct 16 09:36 version.go [Pipeline] isUnix [Pipeline] sh 09:38:20 + 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=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 --label arch=arm64 --label version=0.0.0 . 09:38:20 Sending build context to Docker daemon 469.5kB 09:38:20 Step 1/22 : ARG BASE=golang:1.15-alpine 09:38:20 Step 2/22 : FROM ${BASE} AS builder 09:38:20 ---> 524e184adff6 09:38:20 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:38:20 ---> Running in cca6dc2a523e 09:38:21 Removing intermediate container cca6dc2a523e 09:38:21 ---> 658cda9b43bb 09:38:21 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:38:21 ---> Running in cfd50177b517 09:38:22 Removing intermediate container cfd50177b517 09:38:22 ---> 0f3781e11346 09:38:22 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:38:22 ---> Running in 2d65a840cf1b 09:38:24 Removing intermediate container 2d65a840cf1b 09:38:24 ---> f8a0609d2b84 09:38:24 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:38:24 ---> Running in de789e13cf57 09:38:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:38:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:38:27 OK: 221 MiB in 53 packages 09:38:29 Removing intermediate container de789e13cf57 09:38:29 ---> 34a051729a3c 09:38:29 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:38:29 ---> Running in 057eb20025c6 09:38:29 Removing intermediate container 057eb20025c6 09:38:29 ---> 6e8b52c3cce7 09:38:29 Step 8/22 : COPY . . 09:38:30 ---> d29306856926 09:38:30 Step 9/22 : ARG MAKE='make build' 09:38:30 ---> Running in 244f3a9ca9f5 09:38:30 Removing intermediate container 244f3a9ca9f5 09:38:30 ---> 39f84033035c 09:38:30 Step 10/22 : RUN $MAKE 09:38:31 ---> Running in 910485872c10 09:38:32 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:38:59 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:39:04 Removing intermediate container 910485872c10 09:39:04 ---> 375620ad41fc 09:39:04 Step 11/22 : FROM alpine 09:39:04 latest: Pulling from library/alpine 09:39:04 b538f80385f9: Already exists 09:39:04 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:39:04 Status: Downloaded newer image for alpine:latest 09:39:04 ---> 62ee0e9f8440 09:39:04 Step 12/22 : ENV APP_PORT=49982 09:39:04 ---> Running in c2ef3ed43655 09:39:04 Removing intermediate container c2ef3ed43655 09:39:04 ---> 372dd86fb5b2 09:39:04 Step 13/22 : EXPOSE $APP_PORT 09:39:05 ---> Running in f352e475bc86 09:39:05 Removing intermediate container f352e475bc86 09:39:05 ---> 2be10ac8d5a0 09:39:05 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:39:06 ---> b99f4f3b7175 09:39:06 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:39:07 ---> 590916bb16bc 09:39:07 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:39:08 ---> ad418d33483c 09:39:08 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:39:08 ---> Running in b042cfa68d58 09:39:08 Removing intermediate container b042cfa68d58 09:39:08 ---> 45f4f2abe4a2 09:39:08 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:39:08 ---> Running in 9f03017b673b 09:39:09 Removing intermediate container 9f03017b673b 09:39:09 ---> 6e7fe3d097b3 09:39:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:39:09 ---> Running in 1c30a65385b7 09:39:10 Removing intermediate container 1c30a65385b7 09:39:10 ---> 31e08fccc42b 09:39:10 Step 20/22 : LABEL arch=arm64 09:39:10 ---> Running in 9cf7b5a0236a 09:39:10 Removing intermediate container 9cf7b5a0236a 09:39:10 ---> 10950e107b04 09:39:10 Step 21/22 : LABEL git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:39:10 ---> Running in 2cb1d56c5bef 09:39:10 Removing intermediate container 2cb1d56c5bef 09:39:10 ---> 72f0b610ff85 09:39:10 Step 22/22 : LABEL version=0.0.0 09:39:11 ---> Running in 384287661ada 09:39:11 Removing intermediate container 384287661ada 09:39:11 ---> 5be248e91c4f 09:39:11 [Warning] One or more build-args [ARCH] were not consumed 09:39:11 Successfully built 5be248e91c4f 09:39:11 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:39:27 Still waiting to schedule task 09:39:27 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 09:40:40 Running on prd-centos7-docker-4c-2g-5869 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:40:40 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 09:40:46 using credential edgex-jenkins-ssh 09:40:47 Cloning the remote Git repository 09:40:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:40:47 > git init /w/workspace/device-mqtt-go/5 # timeout=10 09:40:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:40:47 > git --version # timeout=10 09:40:47 > git --version # 'git version 2.16.5' 09:40:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:40:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:40:48 Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:40:48 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:40:48 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) 09:40:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:40:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:40:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:40:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:40: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:40:48 > git config core.sparsecheckout # timeout=10 09:40:48 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:40:48 > git remote # timeout=10 09:40:48 > git config --get remote.origin.url # timeout=10 09:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:40:48 > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:40:48 > git rev-parse HEAD^{commit} # timeout=10 09:40:48 > git config core.sparsecheckout # timeout=10 09:40:48 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:40: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:40:53 ========================================================= 09:40:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:40:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:40:54 + 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:40:55 Sending build context to Docker daemon 452.1kB 09:40:55 Step 1/8 : ARG BASE=golang:1.15-alpine 09:40:55 Step 2/8 : FROM ${BASE} 09:40:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:40:55 df20fa9351a1: Pulling fs layer 09:40:55 ed8968b2872e: Pulling fs layer 09:40:55 a92cc7c5fd73: Pulling fs layer 09:40:55 e871e8e8d7a9: Pulling fs layer 09:40:55 e73272ec9a57: Pulling fs layer 09:40:55 1e910a182e73: Pulling fs layer 09:40:55 4e634b169226: Pulling fs layer 09:40:55 e871e8e8d7a9: Waiting 09:40:55 e73272ec9a57: Waiting 09:40:55 1e910a182e73: Waiting 09:40:55 4e634b169226: Waiting 09:40:55 a92cc7c5fd73: Download complete 09:40:55 ed8968b2872e: Verifying Checksum 09:40:55 ed8968b2872e: Download complete 09:40:55 e73272ec9a57: Download complete 09:40:55 1e910a182e73: Verifying Checksum 09:40:55 1e910a182e73: Download complete 09:40:55 df20fa9351a1: Verifying Checksum 09:40:55 df20fa9351a1: Download complete 09:40:56 df20fa9351a1: Pull complete 09:40:56 ed8968b2872e: Pull complete 09:40:56 a92cc7c5fd73: Pull complete 09:41:00 4e634b169226: Download complete 09:41:03 e871e8e8d7a9: Verifying Checksum 09:41:03 e871e8e8d7a9: Download complete 09:41:13 e871e8e8d7a9: Pull complete 09:41:13 e73272ec9a57: Pull complete 09:41:13 1e910a182e73: Pull complete 09:41:23 4e634b169226: Pull complete 09:41:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:41:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:41:23 ---> f7629b54cfaa 09:41:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 09:41:23 ---> Running in 40fbaf99a573 09:41:23 Removing intermediate container 40fbaf99a573 09:41:23 ---> 051d31b2e082 09:41:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:41:23 ---> Running in cadab8fa14b1 09:41:24 Removing intermediate container cadab8fa14b1 09:41:24 ---> 269bb6934c78 09:41:24 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 09:41:25 ---> Running in 3da7d55fa465 09:41:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:41:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:41:27 (1/14) Installing libmagic (5.38-r0) 09:41:27 (2/14) Installing file (5.38-r0) 09:41:27 (3/14) Installing libc-dev (0.7.2-r3) 09:41:27 (4/14) Installing g++ (9.3.0-r2) 09:41:40 (5/14) Installing fortify-headers (1.1-r0) 09:41:40 (6/14) Installing patch (2.7.6-r6) 09:41:40 (7/14) Installing build-base (0.5-r2) 09:41:40 (8/14) Installing openssh-keygen (8.3_p1-r0) 09:41:40 (9/14) Installing libedit (20191231.3.1-r0) 09:41:40 (10/14) Installing openssh-client (8.3_p1-r0) 09:41:41 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 09:41:41 (12/14) Installing openssh-server-common (8.3_p1-r0) 09:41:41 (13/14) Installing openssh-server (8.3_p1-r0) 09:41:42 (14/14) Installing openssh (8.3_p1-r0) 09:41:42 Executing busybox-1.31.1-r16.trigger 09:41:42 OK: 237 MiB in 53 packages 09:41:46 Removing intermediate container 3da7d55fa465 09:41:46 ---> ab632855c3cd 09:41:46 Step 6/8 : WORKDIR /device-mqtt-go 09:41:46 ---> Running in 6a56de3d1a5a 09:41:46 Removing intermediate container 6a56de3d1a5a 09:41:46 ---> be2697b9e4ca 09:41:46 Step 7/8 : COPY . . 09:41:46 ---> c901e313a3c2 09:41:46 Step 8/8 : RUN go mod download 09:41:46 ---> Running in 88780736ee26 09:42:01 Removing intermediate container 88780736ee26 09:42:01 ---> e883a8b7bddb 09:42:01 Successfully built e883a8b7bddb 09:42:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:42:02 + docker inspect -f . ci-base-image-x86_64 09:42:02 . [Pipeline] withDockerContainer 09:42:03 prd-centos7-docker-4c-2g-5869 does not seem to be running inside a container 09:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** ci-base-image-x86_64 cat 09:42:04 $ docker top 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:05 + go version 09:42:05 go version go1.15.2 linux/amd64 [Pipeline] } 09:42:05 $ docker stop --time=1 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f 09:42:07 $ docker rm -f 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:42:08 + docker inspect -f . ci-base-image-x86_64 09:42:08 . [Pipeline] withDockerContainer 09:42:08 prd-centos7-docker-4c-2g-5869 does not seem to be running inside a container 09:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** -e ******** ci-base-image-x86_64 cat 09:42:09 $ docker top 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:42:09 + make test 09:42:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:42:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:42:19 Running on prd-ubuntu18.04-docker-arm64-16c-16g-5871 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:42:19 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 09:42:23 using credential edgex-jenkins-ssh 09:42:23 Cloning the remote Git repository 09:42:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:42:23 > git init /w/workspace/device-mqtt-go/5 # timeout=10 09:42:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:42:23 > git --version # timeout=10 09:42:23 > git --version # 'git version 2.17.1' 09:42:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:24 Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:42:25 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:42:25 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) 09:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:42:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:42:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:42:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:24 > 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:42:24 > git config core.sparsecheckout # timeout=10 09:42:24 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:42:24 > git remote # timeout=10 09:42:25 > git config --get remote.origin.url # timeout=10 09:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:42:25 > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:42:25 > git rev-parse HEAD^{commit} # timeout=10 09:42:25 > git config core.sparsecheckout # timeout=10 09:42:25 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:42:29 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" 09:42:29 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:42:29 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.024s coverage: 28.3% of statements 09:42:29 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:42:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:32 + find /w/workspace/device-mqtt-go/5 09:42:32 + grep snapcraft.yaml 09:42:32 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { 09:42:32 gofmt -l . [Pipeline] configFileProvider 09:42:32 provisioning config files... 09:42:32 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/5@tmp/config559952197406761238tmp [Pipeline] { [Pipeline] sh 09:42:32 ["`gofmt -l .`" = ""] 09:42:32 ./bin/test-attribution-txt.sh 09:42:32 + cp /w/workspace/device-mqtt-go/5@tmp/config559952197406761238tmp /w/workspace/device-mqtt-go/5/edgex-snap-store-login [Pipeline] sh 09:42:33 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/5:/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:42:33 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:42:33 Warning: overwriting stash ‘coverage-report’ 09:42:33 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 09:42:33 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 09:42:33 237528ba509b: Pulling fs layer 09:42:33 393b96f31d8b: Pulling fs layer 09:42:33 4d82b0e39008: Pulling fs layer 09:42:33 e7ca375b8d34: Pulling fs layer 09:42:33 418f656485bb: Pulling fs layer 09:42:33 aebe8db9254c: Pulling fs layer 09:42:33 418f656485bb: Waiting 09:42:33 e7ca375b8d34: Waiting 09:42:33 4f5f7b207d3f: Pulling fs layer 09:42:33 d19ca6af091a: Pulling fs layer 09:42:33 aebe8db9254c: Waiting 09:42:33 16b5a0711add: Pulling fs layer 09:42:33 4f5f7b207d3f: Waiting 09:42:33 d19ca6af091a: Waiting 09:42:33 16b5a0711add: Waiting 09:42:33 4d82b0e39008: Verifying Checksum 09:42:33 4d82b0e39008: Download complete 09:42:33 e7ca375b8d34: Verifying Checksum 09:42:33 e7ca375b8d34: Download complete 09:42:33 aebe8db9254c: Download complete 09:42:33 Stashed 1 file(s) [Pipeline] } 09:42:33 $ docker stop --time=1 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 09:42:34 4f5f7b207d3f: Verifying Checksum 09:42:34 4f5f7b207d3f: Download complete 09:42:34 d19ca6af091a: Verifying Checksum 09:42:34 d19ca6af091a: Download complete 09:42:34 16b5a0711add: Verifying Checksum 09:42:34 16b5a0711add: Download complete 09:42:36 $ docker rm -f 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:42:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:42:38 + ls -al . 09:42:38 total 100 09:42:38 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 16 09:42 . 09:42:38 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 09:40 .. 09:42:38 -rw-rw-r--. 1 jenkins jenkins 5255 Oct 16 09:40 Attribution.txt 09:42:38 drwxrwxr-x. 2 jenkins jenkins 87 Oct 16 09:40 bin 09:42:38 drwxrwxr-x. 3 jenkins jenkins 32 Oct 16 09:40 cmd 09:42:38 -rw-r--r--. 1 jenkins jenkins 18939 Oct 16 09:42 coverage.out 09:42:38 -rw-rw-r--. 1 jenkins jenkins 1784 Oct 16 09:40 Dockerfile 09:42:38 -rw-rw-r--. 1 jenkins jenkins 953 Oct 16 09:40 Dockerfile.build 09:42:38 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:40 .dockerignore 09:42:38 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:40 .git 09:42:38 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:40 .github 09:42:38 -rw-rw-r--. 1 jenkins jenkins 336 Oct 16 09:40 .gitignore 09:42:38 -rw-r--r--. 1 jenkins jenkins 546 Oct 16 09:42 go.mod 09:42:38 -rw-r--r--. 1 jenkins jenkins 13621 Oct 16 09:42 go.sum 09:42:38 drwxrwxr-x. 3 jenkins jenkins 20 Oct 16 09:40 internal 09:42:38 -rw-rw-r--. 1 jenkins jenkins 677 Oct 16 09:40 Jenkinsfile 09:42:38 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 16 09:40 LICENSE 09:42:38 -rw-rw-r--. 1 jenkins jenkins 902 Oct 16 09:40 Makefile 09:42:38 drwxrwxr-x. 2 jenkins jenkins 23 Oct 16 09:40 mock 09:42:38 -rw-rw-r--. 1 jenkins jenkins 444 Oct 16 09:40 README.md 09:42:38 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:40 snap 09:42:38 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:34 VERSION 09:42:38 -rw-rw-r--. 1 jenkins jenkins 227 Oct 16 09:40 version.go [Pipeline] isUnix [Pipeline] sh 09:42:38 + 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=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 --label arch=amd64 --label version=0.0.0 . 09:42:38 Sending build context to Docker daemon 471.6kB 09:42:38 Step 1/22 : ARG BASE=golang:1.15-alpine 09:42:38 Step 2/22 : FROM ${BASE} AS builder 09:42:38 ---> e883a8b7bddb 09:42:38 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 09:42:38 ---> Running in f7a4a0dbb122 09:42:38 Removing intermediate container f7a4a0dbb122 09:42:38 ---> 1bdb8d815eb5 09:42:38 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 09:42:38 ---> Running in 9dc8c86785ae 09:42:39 237528ba509b: Verifying Checksum 09:42:39 237528ba509b: Download complete 09:42:39 Removing intermediate container 9dc8c86785ae 09:42:39 ---> 61837d2e80f3 09:42:39 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:42:39 ---> Running in cd8e37779fa5 09:42:40 Removing intermediate container cd8e37779fa5 09:42:40 ---> f8796e16afd0 09:42:40 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:40 ---> Running in abd134c78ed2 09:42:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:42:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:42:42 237528ba509b: Pull complete 09:42:42 393b96f31d8b: Pull complete 09:42:42 4d82b0e39008: Pull complete 09:42:43 e7ca375b8d34: Pull complete 09:42:44 OK: 237 MiB in 53 packages 09:42:44 Removing intermediate container abd134c78ed2 09:42:44 ---> 998028792824 09:42:44 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 09:42:44 ---> Running in 170ee8395521 09:42:45 Removing intermediate container 170ee8395521 09:42:45 ---> 61bd7d751f3f 09:42:45 Step 8/22 : COPY . . 09:42:45 ---> 69eb673a5a2c 09:42:45 Step 9/22 : ARG MAKE='make build' 09:42:45 ---> Running in 752caf41060c 09:42:45 Removing intermediate container 752caf41060c 09:42:45 ---> 898bb6dab1dd 09:42:45 Step 10/22 : RUN $MAKE 09:42:45 ---> Running in 32fd703f48fc 09:42: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:42:53 418f656485bb: Verifying Checksum 09:42:53 418f656485bb: Download complete 09:43:02 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:43:05 Removing intermediate container 32fd703f48fc 09:43:05 ---> db10c07af1e3 09:43:05 Step 11/22 : FROM alpine 09:43:06 latest: Pulling from library/alpine 09:43:06 df20fa9351a1: Already exists 09:43:06 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 09:43:06 Status: Downloaded newer image for alpine:latest 09:43:06 ---> a24bb4013296 09:43:06 Step 12/22 : ENV APP_PORT=49982 09:43:06 ---> Running in 27184bdce60a 09:43:06 Removing intermediate container 27184bdce60a 09:43:06 ---> bf717c2bab6a 09:43:06 Step 13/22 : EXPOSE $APP_PORT 09:43:06 ---> Running in 3a9925516222 09:43:06 Removing intermediate container 3a9925516222 09:43:06 ---> 91c633fbc75d 09:43:06 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 09:43:07 ---> b159c323a045 09:43:07 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 09:43:07 ---> 8c51bc4cdc8c 09:43:07 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 09:43:08 ---> c840d33f2ac4 09:43:08 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 09:43:08 ---> Running in b4e7bd7b019a 09:43:08 Removing intermediate container b4e7bd7b019a 09:43:08 ---> 6864902be60c 09:43:08 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 09:43:08 ---> Running in 3a88fb98b050 09:43:08 Removing intermediate container 3a88fb98b050 09:43:08 ---> ad4c2d06d515 09:43:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:43:08 ---> Running in 73055d4a8e8a 09:43:08 Removing intermediate container 73055d4a8e8a 09:43:08 ---> 646f6690a313 09:43:08 Step 20/22 : LABEL arch=amd64 09:43:09 ---> Running in daf51aebe884 09:43:09 Removing intermediate container daf51aebe884 09:43:09 ---> 962c303005b3 09:43:09 Step 21/22 : LABEL git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:43:09 ---> Running in e6da7e39f26e 09:43:09 Removing intermediate container e6da7e39f26e 09:43:09 ---> c8d5c98299cd 09:43:09 Step 22/22 : LABEL version=0.0.0 09:43:09 ---> Running in c49a9873710f 09:43:09 Removing intermediate container c49a9873710f 09:43:09 ---> 82b28dee6f0f 09:43:09 [Warning] One or more build-args [ARCH] were not consumed 09:43:09 Successfully built 82b28dee6f0f 09:43:09 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:43:25 Still waiting to schedule task 09:43:25 All nodes of label ‘centos7-docker-8c-8g’ are offline 09:43:40 418f656485bb: Pull complete 09:43:40 aebe8db9254c: Pull complete 09:43:40 4f5f7b207d3f: Pull complete 09:43:40 d19ca6af091a: Pull complete 09:43:40 16b5a0711add: Pull complete 09:43:40 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 09:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 09:43:40 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 09:43:40 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 09:43:40 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 09:43:40 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 09:43:40 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1401 kB] 09:43:41 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 09:43:41 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 09:43:41 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1856 kB] 09:43:41 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 09:43:41 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 09:43:41 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1173 kB] 09:43:41 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1024 kB] 09:43:41 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 09:43:41 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 09:43:42 Fetched 5740 kB in 2s (2382 kB/s) 09:43:46 Reading package lists... 09:44:01 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 09:44:01 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 09:44:01 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 09:44:01 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 09:44:05 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... 10% Reading package lists... 32% Reading package lists... 54% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 74% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 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:44:11 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:44:15 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 11% Reading package lists... 33% Reading package lists... 55% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 76% 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... 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:44:15 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 09:44:15 Reading state information... 0% Reading state information... 0% Reading state information... Done 09:44:17 The following packages were automatically installed and are no longer required: 09:44:17 libjq1 libonig4 09:44:17 Use 'sudo apt autoremove' to remove them. 09:44:17 Suggested packages: 09:44:17 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:44:17 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 09:44:17 diffutils-doc perl-doc libterm-readline-gnu-perl 09:44:17 | libterm-readline-perl-perl 09:44:17 The following NEW packages will be installed: 09:44:17 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 09:44:17 libperl5.26 make netbase patch perl perl-modules-5.26 09:44:17 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 09:44:17 Need to get 10.8 MB of archives. 09:44:17 After this operation, 73.6 MB of additional disk space will be used. 09:44:17 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:44:18 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 689 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:44:18 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Waiting for headers] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 09:44:18 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:44:18 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] 09:44:18 51% [5 perl 12.3 kB/201 kB 6%] 54% [Waiting for headers] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 09:44:18 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 09:44:18 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Waiting for headers] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] 09:44:18 58% [8 curl 55.4 kB/152 kB 36%] 60% [Waiting for headers] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] 09:44:18 61% [9 libcurl3-gnutls 34.1 kB/179 kB 19%] 63% [Waiting for headers] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] 09:44:18 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:44:18 65% [11 git-man 20.5 kB/804 kB 3%] 72% [Waiting for headers] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] 09:44:18 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:44:18 95% [13 make 8505 B/139 kB 6%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 09:44:18 98% [14 patch 49.2 kB/91.8 kB 54%] 100% [Working] Fetched 10.8 MB in 2s (6981 kB/s) 09:44:18 debconf: delaying package configuration, since apt-utils is not installed 09:44:19 Selecting previously unselected package perl-modules-5.26. 09:44:19 (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:44:19 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:44:19 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:44:20 Selecting previously unselected package libgdbm5:arm64. 09:44:20 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 09:44:20 Unpacking libgdbm5:arm64 (1.14.1-6) ... 09:44:20 Selecting previously unselected package libgdbm-compat4:arm64. 09:44:20 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 09:44:20 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 09:44:20 Selecting previously unselected package libperl5.26:arm64. 09:44:20 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 09:44:20 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:44:22 Selecting previously unselected package perl. 09:44:22 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 09:44:22 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:44:22 Selecting previously unselected package less. 09:44:22 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 09:44:22 Unpacking less (487-0.1) ... 09:44:22 Selecting previously unselected package netbase. 09:44:22 Preparing to unpack .../06-netbase_5.4_all.deb ... 09:44:22 Unpacking netbase (5.4) ... 09:44:22 Selecting previously unselected package curl. 09:44:22 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 09:44:22 Unpacking curl (7.58.0-2ubuntu3.10) ... 09:44:22 Selecting previously unselected package libcurl3-gnutls:arm64. 09:44:22 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 09:44:22 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 09:44:23 Selecting previously unselected package liberror-perl. 09:44:23 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 09:44:23 Unpacking liberror-perl (0.17025-1) ... 09:44:23 Selecting previously unselected package git-man. 09:44:23 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:44:23 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:44:23 Selecting previously unselected package git. 09:44:23 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 09:44:23 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:44:24 Selecting previously unselected package make. 09:44:24 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 09:44:24 Unpacking make (4.1-9.1ubuntu1) ... 09:44:24 Selecting previously unselected package patch. 09:44:24 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 09:44:24 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:44:25 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:44:25 Setting up less (487-0.1) ... 09:44:25 Setting up make (4.1-9.1ubuntu1) ... 09:44:25 Setting up curl (7.58.0-2ubuntu3.10) ... 09:44:25 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 09:44:25 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:44:25 Setting up libgdbm5:arm64 (1.14.1-6) ... 09:44:25 Setting up patch (2.7.6-2ubuntu1.1) ... 09:44:25 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 09:44:25 Setting up netbase (5.4) ... 09:44:25 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 09:44:25 Setting up perl (5.26.1-6ubuntu0.3) ... 09:44:25 Setting up liberror-perl (0.17025-1) ... 09:44:25 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:44:26 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 09:44:26 Processing triggers for mime-support (3.60ubuntu1) ... 09:44:31 curl set to automatically installed. 09:44:31 git set to automatically installed. 09:44:31 git-man set to automatically installed. 09:44:31 less set to automatically installed. 09:44:31 libcurl3-gnutls set to automatically installed. 09:44:31 liberror-perl set to automatically installed. 09:44:31 libgdbm-compat4 set to automatically installed. 09:44:31 libgdbm5 set to automatically installed. 09:44:31 libperl5.26 set to automatically installed. 09:44:31 make set to automatically installed. 09:44:31 netbase set to automatically installed. 09:44:31 patch set to automatically installed. 09:44:31 perl set to automatically installed. 09:44:31 perl-modules-5.26 set to automatically installed. 09:44:32 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:44:32 Please ensure the environment is properly setup before continuing. 09:44:32 Ignore this message if the appropriate measures have already been taken 09:44:32 Pulling go  09:44:34 Running on prd-centos7-docker-8c-8g-5872 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws 09:44:34 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 09:44:36 'device-mqtt' has dependencies that need to be staged: go 09:44:36 Skipping pull go (already ran) 09:44:36 Building go  09:44:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:36 Dload Upload Total Spent Left Speed 09:44:36 using credential edgex-jenkins-ssh 09:44:36 Cloning the remote Git repository 09:44:36 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:44:36 > git init /w/workspace/device-mqtt-go/5 # timeout=10 09:44:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:44:36 > git --version # timeout=10 09:44:36 > git --version # 'git version 2.16.5' 09:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:37 Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:44:37 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 09:44:37 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) 09:44:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:44:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:44:37 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:37 > 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:44:37 > git config core.sparsecheckout # timeout=10 09:44:37 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:44:37 > git remote # timeout=10 09:44:37 > git config --get remote.origin.url # timeout=10 09:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:37 > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 09:44:37 > git rev-parse HEAD^{commit} # timeout=10 09:44:37 > git config core.sparsecheckout # timeout=10 09:44:37 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 09:44:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 26 93.2M 26 24.6M 0 0 28.7M 0 0:00:03 --:--:-- 0:00:03 28.6M 69 93.2M 69 64.8M 0 0 35.4M 0 0:00:02 0:00:01 0:00:01 35.4M 100 93.2M 100 93.2M 0 0 37.2M 0 0:00:02 0:00:02 --:--:-- 37.2M 09:44:40 go1.15.2.linux-arm64.tar.gz: OK 09:44:41 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:42 ++ find /w/workspace/device-mqtt-go/5 09:44:42 ++ grep snapcraft.yaml 09:44:42 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:42 provisioning config files... 09:44:42 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/5@tmp/config6042978196490518875tmp [Pipeline] { [Pipeline] sh 09:44:42 + cp /w/workspace/device-mqtt-go/5@tmp/config6042978196490518875tmp /w/workspace/device-mqtt-go/5/edgex-snap-store-login [Pipeline] sh 09:44:43 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/5:/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:44:43 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 09:44:43 latest: Pulling from edgex-devops/edgex-snap-builder 09:44:43 f08d8e2a3ba1: Pulling fs layer 09:44:43 3baa9cb2483b: Pulling fs layer 09:44:43 94e5ff4c0b15: Pulling fs layer 09:44:43 1860925334f9: Pulling fs layer 09:44:43 2daf38717194: Pulling fs layer 09:44:43 309017e8d7a4: Pulling fs layer 09:44:43 f7790dc9fd0f: Pulling fs layer 09:44:43 cac0ae9282c2: Pulling fs layer 09:44:43 1f4cadf9a1ed: Pulling fs layer 09:44:43 cac0ae9282c2: Waiting 09:44:43 f7790dc9fd0f: Waiting 09:44:43 309017e8d7a4: Waiting 09:44:43 1f4cadf9a1ed: Waiting 09:44:43 1860925334f9: Waiting 09:44:43 2daf38717194: Waiting 09:44:43 3baa9cb2483b: Download complete 09:44:43 94e5ff4c0b15: Verifying Checksum 09:44:43 94e5ff4c0b15: Download complete 09:44:43 1860925334f9: Verifying Checksum 09:44:43 1860925334f9: Download complete 09:44:43 309017e8d7a4: Verifying Checksum 09:44:43 309017e8d7a4: Download complete 09:44:43 f7790dc9fd0f: Verifying Checksum 09:44:43 f7790dc9fd0f: Download complete 09:44:43 cac0ae9282c2: Download complete 09:44:43 1f4cadf9a1ed: Verifying Checksum 09:44:45 f08d8e2a3ba1: Verifying Checksum 09:44:45 f08d8e2a3ba1: Download complete 09:44:46 f08d8e2a3ba1: Pull complete 09:44:46 3baa9cb2483b: Pull complete 09:44:46 94e5ff4c0b15: Pull complete 09:44:46 1860925334f9: Pull complete 09:44:50 2daf38717194: Verifying Checksum 09:44:50 2daf38717194: Download complete 09:44:58 Staging go  09:45:01 Pulling device-mqtt  09:45:04 Skipping build go (already ran) 09:45:04 Building device-mqtt  09:45:04 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:45:05 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 09:45:05 go: downloading github.com/spf13/cast v1.3.1 09:45:05 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:45:05 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 09:45:05 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 09:45:05 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 09:45:05 go: downloading github.com/gorilla/mux v1.7.1 09:45:05 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 09:45:05 go: downloading gopkg.in/yaml.v2 v2.2.8 09:45:06 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 09:45:06 go: downloading github.com/google/uuid v1.1.1 09:45:06 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 09:45:06 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 09:45:06 go: downloading github.com/OneOfOne/xxhash v1.2.6 09:45:06 go: downloading github.com/pkg/errors v0.8.1 09:45:06 go: downloading github.com/go-kit/kit v0.8.0 09:45:06 go: downloading github.com/hashicorp/consul/api v1.1.0 09:45:06 go: downloading github.com/pelletier/go-toml v1.2.0 09:45:06 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 09:45:06 go: downloading github.com/BurntSushi/toml v0.3.1 09:45:06 go: downloading github.com/x448/float16 v0.8.4 09:45:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:45:06 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:45:06 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:45:06 go: downloading github.com/mitchellh/copystructure v1.0.0 09:45:06 go: downloading github.com/hashicorp/serf v0.8.2 09:45:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 09:45:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:45:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:45:06 go: downloading github.com/go-logfmt/logfmt v0.4.0 09:45:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:45:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:45:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 09:45:08 2daf38717194: Pull complete 09:45:08 309017e8d7a4: Pull complete 09:45:08 f7790dc9fd0f: Pull complete 09:45:08 cac0ae9282c2: Pull complete 09:45:08 1f4cadf9a1ed: Pull complete 09:45:08 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 09:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 09:45:10 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 09:45:10 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 09:45:10 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 09:45:10 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 09:45:10 Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.0 kB] 09:45:10 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2150 kB] 09:45:10 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1348 kB] 09:45:10 Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1733 kB] 09:45:11 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [231 kB] 09:45:11 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2112 kB] 09:45:11 Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [205 kB] 09:45:11 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.5 kB] 09:45:11 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 09:45:11 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 09:45:11 Fetched 8114 kB in 2s (4639 kB/s) 09:45:13 Reading package lists... 09:45:15 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 09:45:15 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 09:45:15 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 09:45:16 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 09:45:17 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... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 62% 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:45:19 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:45:19 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... 61% 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:45:20 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 09:45:20 Reading state information... 0% Reading state information... 0% Reading state information... Done 09:45:20 The following packages were automatically installed and are no longer required: 09:45:20 libjq1 libonig4 09:45:20 Use 'sudo apt autoremove' to remove them. 09:45:20 Suggested packages: 09:45:20 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 09:45:20 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 09:45:20 diffutils-doc perl-doc libterm-readline-gnu-perl 09:45:20 | libterm-readline-perl-perl 09:45:20 The following NEW packages will be installed: 09:45:20 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 09:45:20 libperl5.26 make netbase patch perl perl-modules-5.26 09:45:20 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 09:45:20 Need to get 12.0 MB of archives. 09:45:20 After this operation, 77.5 MB of additional disk space will be used. 09:45:20 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:45:21 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 698 kB/2763 kB 25%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 09:45:21 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 09:45:21 21% [3 libgdbm-compat4 6084 B/6084 B 100%] 23% [Working] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 09:45:21 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 09:45:21 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:45:21 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:45:21 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:45:21 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:45:21 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:45:21 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 09:45:21 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:45:21 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 09:45:21 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:45:21 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9106 kB/s) 09:45:21 debconf: delaying package configuration, since apt-utils is not installed 09:45:21 Selecting previously unselected package perl-modules-5.26. 09:45:21 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) 09:45:21 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 09:45:21 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:45:22 Selecting previously unselected package libgdbm5:amd64. 09:45:22 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 09:45:22 Unpacking libgdbm5:amd64 (1.14.1-6) ... 09:45:23 Selecting previously unselected package libgdbm-compat4:amd64. 09:45:23 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 09:45:23 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 09:45:23 Selecting previously unselected package libperl5.26:amd64. 09:45:23 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 09:45:23 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:45:23 Selecting previously unselected package perl. 09:45:23 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 09:45:23 Unpacking perl (5.26.1-6ubuntu0.3) ... 09:45:23 Selecting previously unselected package less. 09:45:23 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 09:45:23 Unpacking less (487-0.1) ... 09:45:23 Selecting previously unselected package netbase. 09:45:23 Preparing to unpack .../06-netbase_5.4_all.deb ... 09:45:23 Unpacking netbase (5.4) ... 09:45:23 Selecting previously unselected package curl. 09:45:23 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 09:45:23 Unpacking curl (7.58.0-2ubuntu3.10) ... 09:45:23 Selecting previously unselected package libcurl3-gnutls:amd64. 09:45:23 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 09:45:23 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 09:45:23 Selecting previously unselected package liberror-perl. 09:45:23 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 09:45:23 Unpacking liberror-perl (0.17025-1) ... 09:45:23 Selecting previously unselected package git-man. 09:45:23 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 09:45:23 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 09:45:24 Selecting previously unselected package git. 09:45:24 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 09:45:24 Unpacking git (1:2.17.1-1ubuntu0.7) ... 09:45:24 Selecting previously unselected package make. 09:45:24 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 09:45:24 Unpacking make (4.1-9.1ubuntu1) ... 09:45:24 Selecting previously unselected package patch. 09:45:24 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 09:45:24 Unpacking patch (2.7.6-2ubuntu1.1) ... 09:45:24 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 09:45:24 Setting up less (487-0.1) ... 09:45:25 Setting up make (4.1-9.1ubuntu1) ... 09:45:25 Setting up curl (7.58.0-2ubuntu3.10) ... 09:45:25 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 09:45:25 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 09:45:25 Setting up libgdbm5:amd64 (1.14.1-6) ... 09:45:25 Setting up patch (2.7.6-2ubuntu1.1) ... 09:45:25 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 09:45:25 Setting up netbase (5.4) ... 09:45:25 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:45:25 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 09:45:25 Setting up perl (5.26.1-6ubuntu0.3) ... 09:45:25 Setting up liberror-perl (0.17025-1) ... 09:45:25 Setting up git (1:2.17.1-1ubuntu0.7) ... 09:45:25 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 09:45:25 Processing triggers for mime-support (3.60ubuntu1) ... 09:45:26 curl set to automatically installed. 09:45:26 git set to automatically installed. 09:45:26 git-man set to automatically installed. 09:45:26 less set to automatically installed. 09:45:26 libcurl3-gnutls set to automatically installed. 09:45:26 liberror-perl set to automatically installed. 09:45:26 libgdbm-compat4 set to automatically installed. 09:45:26 libgdbm5 set to automatically installed. 09:45:26 libperl5.26 set to automatically installed. 09:45:26 make set to automatically installed. 09:45:26 netbase set to automatically installed. 09:45:26 patch set to automatically installed. 09:45:26 perl set to automatically installed. 09:45:26 perl-modules-5.26 set to automatically installed. 09:45:26 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 09:45:26 Please ensure the environment is properly setup before continuing. 09:45:26 Ignore this message if the appropriate measures have already been taken 09:45:27 Pulling go  09:45:28 'device-mqtt' has dependencies that need to be staged: go 09:45:28 Skipping pull go (already ran) 09:45:28 Building go  09:45:28 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:28 Dload Upload Total Spent Left Speed 09:45:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 23 115M 23 27.6M 0 0 43.8M 0 0:00:02 --:--:-- 0:00:02 43.8M 87 115M 87 101M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M 100 115M 100 115M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M 09:45:31 go1.15.2.linux-amd64.tar.gz: OK 09:45:36 Staging go  09:45:37 Pulling device-mqtt  09:45:38 Skipping build go (already ran) 09:45:38 Building device-mqtt  09:45:38 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:45:39 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 09:45:39 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 09:45:39 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 09:45:39 go: downloading github.com/spf13/cast v1.3.1 09:45:39 go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 09:45:39 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 09:45:39 go: downloading github.com/gorilla/mux v1.7.1 09:45:39 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 09:45:39 go: downloading github.com/google/uuid v1.1.1 09:45:39 go: downloading github.com/pkg/errors v0.8.1 09:45:39 go: downloading gopkg.in/yaml.v2 v2.2.8 09:45:39 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 09:45:39 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 09:45:39 go: downloading github.com/go-kit/kit v0.8.0 09:45:39 go: downloading github.com/BurntSushi/toml v0.3.1 09:45:39 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 09:45:39 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 09:45:39 go: downloading github.com/pelletier/go-toml v1.2.0 09:45:39 go: downloading github.com/OneOfOne/xxhash v1.2.6 09:45:39 go: downloading github.com/hashicorp/consul/api v1.1.0 09:45:39 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:45:39 go: downloading github.com/x448/float16 v0.8.4 09:45:39 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:45:39 go: downloading github.com/mitchellh/copystructure v1.0.0 09:45:39 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:45:39 go: downloading github.com/hashicorp/serf v0.8.2 09:45:39 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 09:45:39 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:45:39 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:45:39 go: downloading github.com/go-logfmt/logfmt v0.4.0 09:45:39 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:45:39 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:45:39 go: downloading github.com/hashicorp/golang-lru v0.5.0 09:45:40 Skipping stage go (already ran) 09:45:40 Staging device-mqtt  09:45:43 Priming go  09:45:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:45:46 Priming device-mqtt  09:45:48 Skipping stage go (already ran) 09:45:48 Staging device-mqtt  09:45:48 Priming go  09:45:49 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 09:45:49 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 09:45:49 Determining the version from the project repo (version-script). 09:45:49 The version has been set to 'local-dev-20201016+7cbfbfc' 09:45:49 Priming device-mqtt  09:45:50 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 09:45:50 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 09:45:50 Determining the version from the project repo (version-script). 09:45:50 The version has been set to 'local-dev-20201016+7cbfbfc' 09:45:50 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 09:45:50 Snapped edgex-device-mqtt_local-dev-20201016+7cbfbfc_arm64.snap 09:45:50 Snapping | Snapping / Snapping - Snapping | 09:45:50 Snapped edgex-device-mqtt_local-dev-20201016+7cbfbfc_amd64.snap [Pipeline] } 09:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } 09:45:53 Deleting 1 temporary files [Pipeline] // node [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [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 09:45:55 provisioning config files... 09:45:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config8739439425964342211tmp [Pipeline] { [Pipeline] sh 09:45:56 + set +x 09:45:56 + curl -s https://codecov.io/bash 09:45:56 + bash -s -- 09:45:56 09:45:56 _____ _ 09:45:56 / ____| | | 09:45:56 | | ___ __| | ___ ___ _____ __ 09:45:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:45:56 | |___| (_) | (_| | __/ (_| (_) \ V / 09:45:56 \_____\___/ \__,_|\___|\___\___/ \_/ 09:45:56 Bash-20201009-048fee3 09:45:56 09:45:56 09:45:56 ==> Jenkins CI detected. 09:45:56 project root: . 09:45:56 --> token set from env 09:45:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:45:56 ==> Running gcov in . (disable via -X gcov) 09:45:56 ==> Python coveragepy not found 09:45:56 ==> Searching for coverage reports in: 09:45:56 + . 09:45:56 -> Found 1 reports 09:45:56 ==> Detecting git/mercurial file structure 09:45:56 ==> Reading reports 09:45:56 + ./coverage.out bytes=18939 09:45:56 ==> Appending adjustments 09:45:56 https://docs.codecov.io/docs/fixing-reports 09:45:56 + Found adjustments 09:45:56 ==> Gzipping contents 09:45:56 ==> Uploading reports 09:45:56 url: https://codecov.io 09:45:56 query: branch=PR-170&commit=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 09:45:56 -> Pinging Codecov 09:45:56 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-170&commit=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= 09:45:57 -> Uploading to 09:45:57 09:45:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:57 Dload Upload Total Spent Left Speed 09:45:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:45:57 X> Failed to upload 09:45:57 ==> Uploading to Codecov 09:45:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:45:57 Dload Upload Total Spent Left Speed 09:45:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 3358 0 0 100 3247 0 6136 --:--:-- --:--:-- --:--:-- 6137 100 3358 100 111 100 3247 209 6132 --:--:-- --:--:-- --:--:-- 6126 09:45:57 View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] } 09:45:57 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 09:46:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:46:01 ---> package-listing.sh 09:46:01 ++ facter osfamily 09:46:01 ++ tr '[:upper:]' '[:lower:]' 09:46:02 + OS_FAMILY=redhat 09:46:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-170 09:46:02 + START_PACKAGES=/tmp/packages_start.txt 09:46:02 + END_PACKAGES=/tmp/packages_end.txt 09:46:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:46:02 + PACKAGES=/tmp/packages_start.txt 09:46:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 09:46:02 + PACKAGES=/tmp/packages_end.txt 09:46:02 + case "${OS_FAMILY}" in 09:46:02 + sort 09:46:02 + rpm -qa 09:46:06 + '[' -f /tmp/packages_start.txt ']' 09:46:06 + '[' -f /tmp/packages_end.txt ']' 09:46:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:46:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' 09:46:06 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ 09:46: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 09:46: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 09:46:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:46:07 09:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:46:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:46:08 alpine: Pulling from edgex-lftools-log-publisher 09:46:08 df20fa9351a1: Pulling fs layer 09:46:08 36b3adc4ff6f: Pulling fs layer 09:46:08 8ad3a11d3b57: Pulling fs layer 09:46:08 46f8f816bc3b: Pulling fs layer 09:46:08 93b61091891f: Pulling fs layer 09:46:08 93b9cdb0e59b: Pulling fs layer 09:46:08 5e14af77c1be: Pulling fs layer 09:46:08 46f8f816bc3b: Waiting 09:46:08 93b61091891f: Waiting 09:46:08 93b9cdb0e59b: Waiting 09:46:08 01666e4c0597: Pulling fs layer 09:46:08 aa168da1d23b: Pulling fs layer 09:46:08 5e14af77c1be: Waiting 09:46:08 01666e4c0597: Waiting 09:46:08 aa168da1d23b: Waiting 09:46:08 36b3adc4ff6f: Verifying Checksum 09:46:08 36b3adc4ff6f: Download complete 09:46:08 46f8f816bc3b: Verifying Checksum 09:46:08 46f8f816bc3b: Download complete 09:46:08 df20fa9351a1: Verifying Checksum 09:46:08 93b9cdb0e59b: Download complete 09:46:08 5e14af77c1be: Verifying Checksum 09:46:08 5e14af77c1be: Download complete 09:46:08 01666e4c0597: Verifying Checksum 09:46:08 01666e4c0597: Download complete 09:46:08 93b61091891f: Verifying Checksum 09:46:08 93b61091891f: Download complete 09:46:09 df20fa9351a1: Pull complete 09:46:09 8ad3a11d3b57: Verifying Checksum 09:46:09 8ad3a11d3b57: Download complete 09:46:10 36b3adc4ff6f: Pull complete 09:46:11 8ad3a11d3b57: Pull complete 09:46:11 46f8f816bc3b: Pull complete 09:46:12 93b61091891f: Pull complete 09:46:12 93b9cdb0e59b: Pull complete 09:46:12 5e14af77c1be: Pull complete 09:46:12 01666e4c0597: Pull complete 09:46:13 aa168da1d23b: Verifying Checksum 09:46:13 aa168da1d23b: Download complete 09:46:26 aa168da1d23b: Pull complete 09:46:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:46:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:46:26 prd-centos7-docker-4c-2g-5860 does not seem to be running inside a container 09:46:26 $ 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 09:46:30 $ docker top 8be58cf635cb5b0273102f67f8966e3499df7710da52e64bfb16b3be3e9dab7e -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:31 + touch /tmp/pre-build-complete [Pipeline] sh 09:46:32 + mkdir -p /var/log/sa [Pipeline] sh 09:46:32 + ls /var/log/sa-host 09:46:32 + sadf -c /var/log/sa-host/sa05 09:46:32 file_magic: OK 09:46:32 HZ: Using current value: 100 09:46:32 file_header: OK 09:46:32 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 09:46:32 Statistics: 09:46:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:46:32 File successfully converted to sysstat format version 12.2.1 09:46:32 + sadf -c /var/log/sa-host/sa16 09:46:32 file_magic: OK 09:46:32 HZ: Using current value: 100 09:46:32 file_header: OK 09:46:32 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 09:46:32 Statistics: 09:46:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:46:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:32 provisioning config files... 09:46:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config1478040608181546070tmp [Pipeline] { [Pipeline] echo 09:46:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:46:33 ---> create-netrc.sh [Pipeline] } 09:46:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:46:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:46:33 ---> python-tools-install.sh [Pipeline] echo 09:46:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:46:34 ---> sudo-logs.sh 09:46:34 Archiving 'sudo' log.. [Pipeline] echo 09:46:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:46:34 ---> job-cost.sh 09:46:34 lf-activate-venv: SKIPPING 09:46:34 INFO: No Stack... 09:46:36 INFO: Retrieving Pricing Info for: v1-standard-2 09:46:36 INFO: Archiving Costs [Pipeline] echo 09:46:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:46:37 ---> logs-deploy.sh 09:46:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-170/5 09:46:37 INFO: archiving workspace using pattern(s): 09:46:40 Archives upload complete. 09:46:40 INFO: archiving logs to Nexus