Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from e87ea98fbb132d59e763cae69118d03512cef1c8+12b1a35b74ef9c89c590951cdcdb7fdae4622f9b (44ce4d5c9d9c005cd4bd0625f359833dea30e769) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5962 in /w/workspace/gexfoundry_device-mqtt-go_PR-177 [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-177 # 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 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit e87ea98fbb132d59e763cae69118d03512cef1c8 Merge succeeded, producing 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf Checking out Revision 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf (PR-177) > 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/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf # timeout=10 Commit message: "Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD" > git rev-list --no-walk e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:45 ========================================================= 23:17:45 EdgeX Global Pipelines Version Info 23:17:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:46 ------------------- 23:17:46 stable info: 23:17:46 ------------------- 23:17:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:46 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 23:17:46 Message: update stable to v1.0.144 23:17:47 ------------------- 23:17:47 experimental info: 23:17:47 ------------------- 23:17:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:47 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 23:17:47 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf [Pipeline] echo 23:17:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c7a1cc [Pipeline] echo 23:17:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:51 + git log --format=format:%s -1 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf [Pipeline] echo 23:17:51 GIT_COMMIT: 9c7a1cc5a20fe79c539016a1c94f3f8b276637cf, Commit Message: Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD [Pipeline] echo 23:17:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:53 23:17:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:17:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:53 latest: Pulling from edgex-devops/git-semver 23:17:53 31603596830f: Pulling fs layer 23:17:53 2a8b12db71e7: Pulling fs layer 23:17:53 6ca5941a6612: Pulling fs layer 23:17:53 ecc8261a40a4: Pulling fs layer 23:17:53 ecc8261a40a4: Waiting 23:17:53 2a8b12db71e7: Verifying Checksum 23:17:53 2a8b12db71e7: Download complete 23:17:53 31603596830f: Verifying Checksum 23:17:53 31603596830f: Download complete 23:17:53 ecc8261a40a4: Verifying Checksum 23:17:53 ecc8261a40a4: Download complete 23:17:53 6ca5941a6612: Verifying Checksum 23:17:53 6ca5941a6612: Download complete 23:17:54 31603596830f: Pull complete 23:17:54 2a8b12db71e7: Pull complete 23:17:55 6ca5941a6612: Pull complete 23:17:55 ecc8261a40a4: Pull complete 23:17:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:17:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:17:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:17:55 prd-centos7-docker-4c-2g-5962 does not seem to be running inside a container 23:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-177 -v /w/workspace/gexfoundry_device-mqtt-go_PR-177:/w/workspace/gexfoundry_device-mqtt-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-177@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:17:57 $ docker top 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:57 [ssh-agent] Looking for ssh-agent implementation... 23:17:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:58 $ docker exec 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd ssh-agent 23:17:58 SSH_AUTH_SOCK=/tmp/ssh-LU1QBtwgS30u/agent.11 23:17:58 SSH_AGENT_PID=17 23:17:58 Running ssh-add (command line suppressed) 23:17:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/private_key_2977390273908450285.key (/w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/private_key_2977390273908450285.key) 23:17:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:58 + git tag --points-at HEAD [Pipeline] } 23:17:58 $ docker exec --env ******** --env ******** 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd ssh-agent -k 23:17:59 unset SSH_AUTH_SOCK; 23:17:59 unset SSH_AGENT_PID; 23:17:59 echo Agent pid 17 killed; 23:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:59 [ssh-agent] Looking for ssh-agent implementation... 23:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:59 $ docker exec 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd ssh-agent 23:17:59 SSH_AUTH_SOCK=/tmp/ssh-HtqA6vqZLA0W/agent.46 23:17:59 SSH_AGENT_PID=51 23:17:59 Running ssh-add (command line suppressed) 23:17:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/private_key_7096810208227236103.key (/w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/private_key_7096810208227236103.key) 23:17:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:00 + git semver init 23:18:00 # -> Open(): unable to determine branch for HEAD 23:18:00 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-177/.git 23:18:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-177 23:18:00 # $SEMVER_REMOTE_NAME = origin 23:18:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:18:00 # $SEMVER_USER_NAME = edgex-jenkins 23:18:00 # $SEMVER_BRANCH = PR-177 23:18:00 # $SEMVER_TEMP = /tmp/semver-383835692 23:18:00 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:18:00 # '/tmp/semver-383835692' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-177/.semver' 23:18:00 # -> Force: false 23:18:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-177/.semver [Pipeline] } 23:18:00 $ docker exec --env ******** --env ******** 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd ssh-agent -k 23:18:00 unset SSH_AUTH_SOCK; 23:18:00 unset SSH_AGENT_PID; 23:18:00 echo Agent pid 51 killed; 23:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:01 + git semver [Pipeline] } 23:18:01 $ docker stop --time=1 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd 23:18:02 $ docker rm -f 917533ec66038d6d01aee0e63d27ae0d05f5f5795138570e54832ea4f5b466fd [Pipeline] // withDockerContainer [Pipeline] sh 23:18:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:03 Stashed 1 file(s) [Pipeline] echo 23:18:03 [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 23:18:19 Still waiting to schedule task 23:18:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:18:19 Still waiting to schedule task 23:18:19 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:20:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5963 in /w/workspace/gexfoundry_device-mqtt-go_PR-177 [Pipeline] { [Pipeline] ws 23:20:10 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:20:15 using credential edgex-jenkins-ssh 23:20:15 Cloning the remote Git repository 23:20:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:15 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:20:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:15 > git --version # timeout=10 23:20:15 > git --version # 'git version 2.17.1' 23:20:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:20:17 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit e87ea98fbb132d59e763cae69118d03512cef1c8 23:20:17 Merge succeeded, producing ebb4fb78be81820a53443020e730f76304612e8e 23:20:17 Checking out Revision ebb4fb78be81820a53443020e730f76304612e8e (PR-177) 23:20:17 > git config core.sparsecheckout # timeout=10 23:20:17 > git checkout -f e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 23:20:17 > git remote # timeout=10 23:20:17 > git config --get remote.origin.url # timeout=10 23:20:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:17 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 23:20:17 > git rev-parse HEAD^{commit} # timeout=10 23:20:17 > git config core.sparsecheckout # timeout=10 23:20:17 > git checkout -f ebb4fb78be81820a53443020e730f76304612e8e # timeout=10 23:20:21 Commit message: "Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD" 23:20:21 > git rev-list --no-walk e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:20:23 ========================================================= 23:20:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:20:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:20:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 23:20:25 Sending build context to Docker daemon 478.2kB 23:20:25 Step 1/8 : ARG BASE=golang:1.15-alpine 23:20:25 Step 2/8 : FROM ${BASE} 23:20:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:25 b538f80385f9: Pulling fs layer 23:20:25 74f711af9a0d: Pulling fs layer 23:20:25 99f96fe45779: Pulling fs layer 23:20:25 8529a6b9a6be: Pulling fs layer 23:20:25 45590311c82a: Pulling fs layer 23:20:25 69ca0ff8b7b3: Pulling fs layer 23:20:25 209524e5b208: Pulling fs layer 23:20:25 45590311c82a: Waiting 23:20:25 69ca0ff8b7b3: Waiting 23:20:25 8529a6b9a6be: Waiting 23:20:25 209524e5b208: Waiting 23:20:25 99f96fe45779: Download complete 23:20:25 74f711af9a0d: Verifying Checksum 23:20:25 74f711af9a0d: Download complete 23:20:25 45590311c82a: Download complete 23:20:25 b538f80385f9: Verifying Checksum 23:20:25 b538f80385f9: Download complete 23:20:25 69ca0ff8b7b3: Verifying Checksum 23:20:25 69ca0ff8b7b3: Download complete 23:20:26 b538f80385f9: Pull complete 23:20:27 74f711af9a0d: Pull complete 23:20:27 99f96fe45779: Pull complete 23:20:28 209524e5b208: Verifying Checksum 23:20:28 209524e5b208: Download complete 23:20:29 8529a6b9a6be: Verifying Checksum 23:20:29 8529a6b9a6be: Download complete 23:20:41 8529a6b9a6be: Pull complete 23:20:41 45590311c82a: Pull complete 23:20:41 69ca0ff8b7b3: Pull complete 23:20:44 209524e5b208: Pull complete 23:20:44 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 23:20:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:20:44 ---> 5bddaf1c2fca 23:20:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:20:48 ---> Running in 4a621b75e067 23:20:48 Removing intermediate container 4a621b75e067 23:20:48 ---> 793938c1ba53 23:20:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:20:49 ---> Running in c2b759fd0142 23:20:51 Removing intermediate container c2b759fd0142 23:20:51 ---> eff8d4c6771f 23:20:51 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:20:51 ---> Running in 2dc6ccece1a7 23:20:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:20:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:20:54 (1/14) Installing libmagic (5.38-r0) 23:20:54 (2/14) Installing file (5.38-r0) 23:20:55 (3/14) Installing libc-dev (0.7.2-r3) 23:20:55 (4/14) Installing g++ (9.3.0-r2) 23:20:59 (5/14) Installing fortify-headers (1.1-r0) 23:20:59 (6/14) Installing patch (2.7.6-r6) 23:20:59 (7/14) Installing build-base (0.5-r2) 23:20:59 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:20:59 (9/14) Installing libedit (20191231.3.1-r0) 23:21:00 (10/14) Installing openssh-client (8.3_p1-r0) 23:21:00 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:21:00 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:21:00 (13/14) Installing openssh-server (8.3_p1-r0) 23:21:00 (14/14) Installing openssh (8.3_p1-r0) 23:21:00 Executing busybox-1.31.1-r16.trigger 23:21:00 OK: 221 MiB in 53 packages 23:21:05 Running on prd-centos7-docker-4c-2g-5964 in /w/workspace/gexfoundry_device-mqtt-go_PR-177 [Pipeline] { [Pipeline] ws 23:21:06 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:21:06 Removing intermediate container 2dc6ccece1a7 23:21:06 ---> a54b0e6f928f 23:21:06 Step 6/8 : WORKDIR /device-mqtt-go 23:21:06 ---> Running in 43913c7462e0 23:21:06 Removing intermediate container 43913c7462e0 23:21:06 ---> 8f93bbc584bb 23:21:06 Step 7/8 : COPY . . 23:21:07 ---> ae7c5158d3f2 23:21:07 Step 8/8 : RUN go mod download 23:21:07 ---> Running in 3d4c72bc0505 23:21:08 using credential edgex-jenkins-ssh 23:21:08 Cloning the remote Git repository 23:21:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:21:08 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:21:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:08 > git --version # timeout=10 23:21:08 > git --version # 'git version 2.16.5' 23:21:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:21:10 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit e87ea98fbb132d59e763cae69118d03512cef1c8 23:21:10 Merge succeeded, producing bcca16ac735211a1f740cbd720fef27d1d417e12 23:21:10 Checking out Revision bcca16ac735211a1f740cbd720fef27d1d417e12 (PR-177) 23:21:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:21:10 > git config core.sparsecheckout # timeout=10 23:21:10 > git checkout -f e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 23:21:10 > git remote # timeout=10 23:21:10 > git config --get remote.origin.url # timeout=10 23:21:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:10 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 23:21:10 > git rev-parse HEAD^{commit} # timeout=10 23:21:10 > git config core.sparsecheckout # timeout=10 23:21:10 > git checkout -f bcca16ac735211a1f740cbd720fef27d1d417e12 # timeout=10 23:21:15 Commit message: "Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD" 23:21:15 > git rev-list --no-walk e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:21:16 ========================================================= 23:21:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:21:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:21:17 + 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 . 23:21:17 Sending build context to Docker daemon 478.2kB 23:21:17 Step 1/8 : ARG BASE=golang:1.15-alpine 23:21:17 Step 2/8 : FROM ${BASE} 23:21:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:17 df20fa9351a1: Pulling fs layer 23:21:17 ed8968b2872e: Pulling fs layer 23:21:17 a92cc7c5fd73: Pulling fs layer 23:21:17 e871e8e8d7a9: Pulling fs layer 23:21:17 e73272ec9a57: Pulling fs layer 23:21:17 1e910a182e73: Pulling fs layer 23:21:17 4e634b169226: Pulling fs layer 23:21:17 e871e8e8d7a9: Waiting 23:21:17 e73272ec9a57: Waiting 23:21:17 1e910a182e73: Waiting 23:21:17 4e634b169226: Waiting 23:21:17 a92cc7c5fd73: Verifying Checksum 23:21:17 a92cc7c5fd73: Download complete 23:21:17 ed8968b2872e: Verifying Checksum 23:21:17 ed8968b2872e: Download complete 23:21:17 e73272ec9a57: Verifying Checksum 23:21:17 e73272ec9a57: Download complete 23:21:17 1e910a182e73: Verifying Checksum 23:21:17 1e910a182e73: Download complete 23:21:17 df20fa9351a1: Verifying Checksum 23:21:17 df20fa9351a1: Download complete 23:21:18 df20fa9351a1: Pull complete 23:21:18 ed8968b2872e: Pull complete 23:21:18 a92cc7c5fd73: Pull complete 23:21:19 4e634b169226: Verifying Checksum 23:21:19 4e634b169226: Download complete 23:21:20 e871e8e8d7a9: Verifying Checksum 23:21:20 e871e8e8d7a9: Download complete 23:21:22 Removing intermediate container 3d4c72bc0505 23:21:22 ---> fbfbeaf4bf50 23:21:22 Successfully built fbfbeaf4bf50 23:21:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:21:22 + docker inspect -f . ci-base-image-arm64 23:21:22 . [Pipeline] withDockerContainer 23:21:23 prd-ubuntu18.04-docker-arm64-4c-16g-5963 does not seem to be running inside a container 23:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:25 $ docker top c179760bd8e76e97e743df8aeca75ce49dad513813b028c709509f64f19765ed -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:26 + go version 23:21:26 go version go1.15.2 linux/arm64 [Pipeline] } 23:21:26 $ docker stop --time=1 c179760bd8e76e97e743df8aeca75ce49dad513813b028c709509f64f19765ed 23:21:28 $ docker rm -f c179760bd8e76e97e743df8aeca75ce49dad513813b028c709509f64f19765ed 23:21:28 e871e8e8d7a9: Pull complete 23:21:28 e73272ec9a57: Pull complete 23:21:28 1e910a182e73: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:29 + docker inspect -f . ci-base-image-arm64 23:21:29 . [Pipeline] withDockerContainer 23:21:29 prd-ubuntu18.04-docker-arm64-4c-16g-5963 does not seem to be running inside a container 23:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:31 $ docker top 928a870b545f2c548aa4e078ee0b9a336dc336443aadc1bbb9b191036fd79430 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:32 4e634b169226: Pull complete 23:21:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 23:21:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:21:32 ---> f7629b54cfaa 23:21:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 23:21:32 ---> Running in 69ef8c6cdc11 23:21:32 Removing intermediate container 69ef8c6cdc11 23:21:32 ---> 7e90f552015f 23:21:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:21:32 ---> Running in 048aff20d354 23:21:33 + make test 23:21:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:21:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:21:34 Removing intermediate container 048aff20d354 23:21:34 ---> 0968ebdab503 23:21:34 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 23:21:34 ---> Running in 68536424a03e 23:21:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:21:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:21:37 (1/14) Installing libmagic (5.38-r0) 23:21:37 (2/14) Installing file (5.38-r0) 23:21:38 (3/14) Installing libc-dev (0.7.2-r3) 23:21:38 (4/14) Installing g++ (9.3.0-r2) 23:21:43 (5/14) Installing fortify-headers (1.1-r0) 23:21:43 (6/14) Installing patch (2.7.6-r6) 23:21:43 (7/14) Installing build-base (0.5-r2) 23:21:43 (8/14) Installing openssh-keygen (8.3_p1-r0) 23:21:43 (9/14) Installing libedit (20191231.3.1-r0) 23:21:43 (10/14) Installing openssh-client (8.3_p1-r0) 23:21:43 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 23:21:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 23:21:44 (13/14) Installing openssh-server (8.3_p1-r0) 23:21:44 (14/14) Installing openssh (8.3_p1-r0) 23:21:44 Executing busybox-1.31.1-r16.trigger 23:21:44 OK: 237 MiB in 53 packages 23:21:47 Removing intermediate container 68536424a03e 23:21:47 ---> 4f2e55f6e56a 23:21:47 Step 6/8 : WORKDIR /device-mqtt-go 23:21:47 ---> Running in f0d25de7642b 23:21:47 Removing intermediate container f0d25de7642b 23:21:47 ---> 16f2490693a3 23:21:47 Step 7/8 : COPY . . 23:21:48 ---> 9e636a5a6950 23:21:48 Step 8/8 : RUN go mod download 23:21:48 ---> Running in 7e3c420b83b3 23:22:01 Removing intermediate container 7e3c420b83b3 23:22:01 ---> 714a9cab83f5 23:22:01 Successfully built 714a9cab83f5 23:22:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:22:01 + docker inspect -f . ci-base-image-x86_64 23:22:01 . [Pipeline] withDockerContainer 23:22:01 prd-centos7-docker-4c-2g-5964 does not seem to be running inside a container 23:22:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:03 $ docker top b5927b9568179e40a14297566cbb0c6dcdf8a702e9d33877cf47278bc16d52f6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:04 + go version 23:22:04 go version go1.15.2 linux/amd64 [Pipeline] } 23:22:04 $ docker stop --time=1 b5927b9568179e40a14297566cbb0c6dcdf8a702e9d33877cf47278bc16d52f6 23:22:05 $ docker rm -f b5927b9568179e40a14297566cbb0c6dcdf8a702e9d33877cf47278bc16d52f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:06 + docker inspect -f . ci-base-image-x86_64 23:22:06 . [Pipeline] withDockerContainer 23:22:06 prd-centos7-docker-4c-2g-5964 does not seem to be running inside a container 23:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:22:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:07 $ docker top 25b1eb352b96b1730ac09e7f9167a94bc510c00774cb714e51d6ac3363fc58b8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:07 + make test 23:22:07 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:22:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 27.4% of statements 23:22:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:22:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:22:16 gofmt -l . 23:22:16 ["`gofmt -l .`" = ""] 23:22:16 ./bin/test-attribution-txt.sh 23:22:16 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:22:17 Stashed 1 file(s) [Pipeline] } 23:22:17 $ docker stop --time=1 928a870b545f2c548aa4e078ee0b9a336dc336443aadc1bbb9b191036fd79430 23:22:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 27.4% of statements 23:22:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 23:22:19 $ docker rm -f 928a870b545f2c548aa4e078ee0b9a336dc336443aadc1bbb9b191036fd79430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 23:22:21 gofmt -l . 23:22:21 ["`gofmt -l .`" = ""] 23:22:21 ./bin/test-attribution-txt.sh 23:22:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 23:22:23 Warning: overwriting stash ‘coverage-report’ [Pipeline] sh 23:22:23 Stashed 1 file(s) [Pipeline] } 23:22:23 $ docker stop --time=1 25b1eb352b96b1730ac09e7f9167a94bc510c00774cb714e51d6ac3363fc58b8 23:22:23 + sudo chown -R jenkins:jenkins . 23:22:25 $ docker rm -f 25b1eb352b96b1730ac09e7f9167a94bc510c00774cb714e51d6ac3363fc58b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:22:26 + ls -al . 23:22:26 total 132 23:22:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 16 23:22 . 23:22:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 23:20 .. 23:22:26 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 23:20 .dockerignore 23:22:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 23:20 .git 23:22:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 23:20 .github 23:22:26 -rw-rw-r-- 1 jenkins jenkins 336 Oct 16 23:20 .gitignore 23:22:26 -rw-rw-r-- 1 jenkins jenkins 5255 Oct 16 23:20 Attribution.txt 23:22:26 -rw-rw-r-- 1 jenkins jenkins 1784 Oct 16 23:20 Dockerfile 23:22:26 -rw-rw-r-- 1 jenkins jenkins 953 Oct 16 23:20 Dockerfile.build 23:22:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 16 23:20 Jenkinsfile 23:22:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 16 23:20 LICENSE 23:22:26 -rw-rw-r-- 1 jenkins jenkins 902 Oct 16 23:20 Makefile 23:22:26 -rw-rw-r-- 1 jenkins jenkins 444 Oct 16 23:20 README.md 23:22:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 23:18 VERSION 23:22:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 23:20 bin 23:22:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 23:20 cmd 23:22:26 -rw-r--r-- 1 jenkins jenkins 18963 Oct 16 23:22 coverage.out 23:22:26 -rw-r--r-- 1 jenkins jenkins 546 Oct 16 23:22 go.mod 23:22:26 -rw-r--r-- 1 jenkins jenkins 13621 Oct 16 23:22 go.sum 23:22:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 23:20 internal 23:22:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 23:20 mock 23:22:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 23:20 snap 23:22:26 -rw-rw-r-- 1 jenkins jenkins 227 Oct 16 23:20 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] sh 23:22:26 + 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=9c7a1cc5a20fe79c539016a1c94f3f8b276637cf --label arch=arm64 --label version=0.0.0 . 23:22:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:22:27 Sending build context to Docker daemon 498.2kB 23:22:27 + ls -al . 23:22:27 total 100 23:22:27 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 16 23:22 . 23:22:27 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 23:21 .. 23:22:27 -rw-rw-r--. 1 jenkins jenkins 5255 Oct 16 23:21 Attribution.txt 23:22:27 drwxrwxr-x. 2 jenkins jenkins 87 Oct 16 23:21 bin 23:22:27 drwxrwxr-x. 3 jenkins jenkins 32 Oct 16 23:21 cmd 23:22:27 -rw-r--r--. 1 jenkins jenkins 18963 Oct 16 23:22 coverage.out 23:22:27 -rw-rw-r--. 1 jenkins jenkins 1784 Oct 16 23:21 Dockerfile 23:22:27 -rw-rw-r--. 1 jenkins jenkins 953 Oct 16 23:21 Dockerfile.build 23:22:27 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 23:21 .dockerignore 23:22:27 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 23:21 .git 23:22:27 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 23:21 .github 23:22:27 -rw-rw-r--. 1 jenkins jenkins 336 Oct 16 23:21 .gitignore 23:22:27 -rw-r--r--. 1 jenkins jenkins 546 Oct 16 23:22 go.mod 23:22:27 -rw-r--r--. 1 jenkins jenkins 13621 Oct 16 23:22 go.sum 23:22:27 drwxrwxr-x. 3 jenkins jenkins 20 Oct 16 23:21 internal 23:22:27 -rw-rw-r--. 1 jenkins jenkins 677 Oct 16 23:21 Jenkinsfile 23:22:27 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 16 23:21 LICENSE 23:22:27 -rw-rw-r--. 1 jenkins jenkins 902 Oct 16 23:21 Makefile 23:22:27 drwxrwxr-x. 2 jenkins jenkins 23 Oct 16 23:21 mock 23:22:27 -rw-rw-r--. 1 jenkins jenkins 444 Oct 16 23:21 README.md 23:22:27 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 23:21 snap 23:22:27 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 23:18 VERSION 23:22:27 -rw-rw-r--. 1 jenkins jenkins 227 Oct 16 23:21 version.go [Pipeline] isUnix [Pipeline] sh 23:22:27 Step 1/22 : ARG BASE=golang:1.15-alpine 23:22:27 Step 2/22 : FROM ${BASE} AS builder 23:22:27 ---> fbfbeaf4bf50 23:22:27 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 23:22:27 ---> Running in a30eb53a8368 23:22:27 + 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=9c7a1cc5a20fe79c539016a1c94f3f8b276637cf --label arch=amd64 --label version=0.0.0 . 23:22:27 Sending build context to Docker daemon 498.2kB 23:22:27 Step 1/22 : ARG BASE=golang:1.15-alpine 23:22:27 Step 2/22 : FROM ${BASE} AS builder 23:22:27 ---> 714a9cab83f5 23:22:27 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 23:22:27 ---> Running in 1734b809d6f0 23:22:27 Removing intermediate container a30eb53a8368 23:22:27 ---> 75adb4de0d4f 23:22:27 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 23:22:27 ---> Running in b6601714d815 23:22:28 Removing intermediate container 1734b809d6f0 23:22:28 ---> aa2c7a7f7431 23:22:28 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 23:22:28 ---> Running in a40f6e9689d1 23:22:28 Removing intermediate container a40f6e9689d1 23:22:28 ---> 988830382ada 23:22:28 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:28 ---> Running in 9ac926d21536 23:22:28 Removing intermediate container b6601714d815 23:22:28 ---> 12b312e3dd38 23:22:28 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:28 ---> Running in 0395c06ee71b 23:22:29 Removing intermediate container 9ac926d21536 23:22:29 ---> 036df4b95a7f 23:22:29 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:22:29 ---> Running in 67a5f3a7f415 23:22:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:22:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:22:30 OK: 237 MiB in 53 packages 23:22:30 Removing intermediate container 67a5f3a7f415 23:22:30 ---> 462e5f9a48fc 23:22:30 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 23:22:31 Removing intermediate container 0395c06ee71b 23:22:31 ---> 76b62ea1a373 23:22:31 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:22:31 ---> Running in 3f5ee42e6a4b 23:22:31 ---> Running in 2d708600451d 23:22:31 Removing intermediate container 2d708600451d 23:22:31 ---> 15f86be22fcf 23:22:31 Step 8/22 : COPY . . 23:22:32 ---> 1d4737ff6416 23:22:32 Step 9/22 : ARG MAKE='make build' 23:22:32 ---> Running in 58310f5afe20 23:22:32 Removing intermediate container 58310f5afe20 23:22:32 ---> ec53d769518b 23:22:32 Step 10/22 : RUN $MAKE 23:22:32 ---> Running in 8ef71b55ffc3 23:22:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:22: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 23:22:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:22:33 OK: 221 MiB in 53 packages 23:22:35 Removing intermediate container 3f5ee42e6a4b 23:22:35 ---> e0cd0db84626 23:22:35 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 23:22:35 ---> Running in fe5e167449f1 23:22:35 Removing intermediate container fe5e167449f1 23:22:35 ---> c31aab76689f 23:22:35 Step 8/22 : COPY . . 23:22:38 ---> 4c3d1bba679d 23:22:38 Step 9/22 : ARG MAKE='make build' 23:22:38 ---> Running in da2dce147b41 23:22:39 Removing intermediate container da2dce147b41 23:22:39 ---> c505aaa941c6 23:22:39 Step 10/22 : RUN $MAKE 23:22:39 ---> Running in f0bc020f2fc6 23:22:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 23:22:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:22:45 Removing intermediate container 8ef71b55ffc3 23:22:45 ---> a1de220960a9 23:22:45 Step 11/22 : FROM alpine 23:22:45 latest: Pulling from library/alpine 23:22:45 df20fa9351a1: Already exists 23:22:45 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 23:22:45 Status: Downloaded newer image for alpine:latest 23:22:45 ---> a24bb4013296 23:22:45 Step 12/22 : ENV APP_PORT=49982 23:22:46 ---> Running in bc94e810df35 23:22:46 Removing intermediate container bc94e810df35 23:22:46 ---> e7a3da3da253 23:22:46 Step 13/22 : EXPOSE $APP_PORT 23:22:46 ---> Running in d8cb3646d32d 23:22:46 Removing intermediate container d8cb3646d32d 23:22:46 ---> 664f0383ecd2 23:22:46 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 23:22:46 ---> a82426e397c3 23:22:46 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 23:22:47 ---> c049ae1c8a78 23:22:47 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 23:22:47 ---> d5e3680a38c3 23:22:47 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 23:22:47 ---> Running in d71200d15b06 23:22:47 Removing intermediate container d71200d15b06 23:22:47 ---> 0da74d1e5738 23:22:47 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 23:22:47 ---> Running in 02be556c2f9a 23:22:47 Removing intermediate container 02be556c2f9a 23:22:47 ---> f9229c352018 23:22:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:22:47 ---> Running in 38ac26162689 23:22:47 Removing intermediate container 38ac26162689 23:22:47 ---> 2f8a5931cecf 23:22:47 Step 20/22 : LABEL arch=amd64 23:22:48 ---> Running in 24ebf45a520f 23:22:48 Removing intermediate container 24ebf45a520f 23:22:48 ---> 53d90cac2f52 23:22:48 Step 21/22 : LABEL git_sha=9c7a1cc5a20fe79c539016a1c94f3f8b276637cf 23:22:48 ---> Running in 53b9e28296fd 23:22:48 Removing intermediate container 53b9e28296fd 23:22:48 ---> 5e95b1970fb4 23:22:48 Step 22/22 : LABEL version=0.0.0 23:22:48 ---> Running in 3d04c79d5a10 23:22:48 Removing intermediate container 3d04c79d5a10 23:22:48 ---> e72002a38965 23:22:48 [Warning] One or more build-args [ARCH] were not consumed 23:22:48 Successfully built e72002a38965 23:22:48 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 23:23:04 Still waiting to schedule task 23:23:04 All nodes of label ‘centos7-docker-8c-8g’ are offline 23:23:07 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:23:14 Removing intermediate container f0bc020f2fc6 23:23:14 ---> 3f653b42d07d 23:23:14 Step 11/22 : FROM alpine 23:23:14 latest: Pulling from library/alpine 23:23:14 b538f80385f9: Already exists 23:23:14 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 23:23:14 Status: Downloaded newer image for alpine:latest 23:23:14 ---> 62ee0e9f8440 23:23:14 Step 12/22 : ENV APP_PORT=49982 23:23:15 ---> Running in 038383ec935e 23:23:15 Removing intermediate container 038383ec935e 23:23:15 ---> 643b33f40aac 23:23:15 Step 13/22 : EXPOSE $APP_PORT 23:23:15 ---> Running in 4f6d7c1dff53 23:23:15 Removing intermediate container 4f6d7c1dff53 23:23:15 ---> 9cf6c6bd6201 23:23:15 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 23:23:17 ---> b9f4fca42a93 23:23:17 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 23:23:17 ---> afa0429a99be 23:23:17 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 23:23:18 ---> 367ea3f6a64d 23:23:18 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 23:23:18 ---> Running in 81188c456c27 23:23:19 Removing intermediate container 81188c456c27 23:23:19 ---> 112c4068d6ef 23:23:19 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 23:23:19 ---> Running in e08934e3da4d 23:23:20 Removing intermediate container e08934e3da4d 23:23:20 ---> 86ced6eea3b4 23:23:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:23:20 ---> Running in 1c6fc8bef8dd 23:23:20 Removing intermediate container 1c6fc8bef8dd 23:23:20 ---> 2ae697017957 23:23:20 Step 20/22 : LABEL arch=arm64 23:23:20 ---> Running in 6ad8418f82d9 23:23:21 Removing intermediate container 6ad8418f82d9 23:23:21 ---> 5cbed3468ce2 23:23:21 Step 21/22 : LABEL git_sha=9c7a1cc5a20fe79c539016a1c94f3f8b276637cf 23:23:21 ---> Running in 8b9ce2b5391d 23:23:21 Removing intermediate container 8b9ce2b5391d 23:23:21 ---> 3ad61095ae92 23:23:21 Step 22/22 : LABEL version=0.0.0 23:23:21 ---> Running in e4b9fb8a0ad5 23:23:22 Removing intermediate container e4b9fb8a0ad5 23:23:22 ---> 6e2499719064 23:23:22 [Warning] One or more build-args [ARCH] were not consumed 23:23:22 Successfully built 6e2499719064 23:23:22 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 23:23:38 Still waiting to schedule task 23:23:38 All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline 23:24:13 Running on prd-centos7-docker-8c-8g-5965 in /w/workspace/gexfoundry_device-mqtt-go_PR-177 [Pipeline] { [Pipeline] ws 23:24:13 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:24:15 using credential edgex-jenkins-ssh 23:24:15 Cloning the remote Git repository 23:24:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:24:15 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:24:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:24:15 > git --version # timeout=10 23:24:15 > git --version # 'git version 2.16.5' 23:24:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:24:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:24:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:24:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:24:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:24:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:24:17 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit e87ea98fbb132d59e763cae69118d03512cef1c8 23:24:17 Merge succeeded, producing 0d6712badf4be3db6411e97b2c6c715a614ab952 23:24:17 Checking out Revision 0d6712badf4be3db6411e97b2c6c715a614ab952 (PR-177) 23:24:16 > git config core.sparsecheckout # timeout=10 23:24:16 > git checkout -f e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 23:24:16 > git remote # timeout=10 23:24:16 > git config --get remote.origin.url # timeout=10 23:24:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:16 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 23:24:16 > git rev-parse HEAD^{commit} # timeout=10 23:24:16 > git config core.sparsecheckout # timeout=10 23:24:16 > git checkout -f 0d6712badf4be3db6411e97b2c6c715a614ab952 # timeout=10 23:24:20 Commit message: "Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD" 23:24:20 > git rev-list --no-walk e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:22 ++ find /w/workspace/device-mqtt-go/2 23:24:22 ++ grep snapcraft.yaml 23:24:22 + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:22 provisioning config files... 23:24:22 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config4691279356074225384tmp [Pipeline] { [Pipeline] sh 23:24:22 + cp /w/workspace/device-mqtt-go/2@tmp/config4691279356074225384tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 23:24:22 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/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 23:24:22 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 23:24:22 latest: Pulling from edgex-devops/edgex-snap-builder 23:24:22 f08d8e2a3ba1: Pulling fs layer 23:24:22 3baa9cb2483b: Pulling fs layer 23:24:22 94e5ff4c0b15: Pulling fs layer 23:24:22 1860925334f9: Pulling fs layer 23:24:22 2daf38717194: Pulling fs layer 23:24:22 309017e8d7a4: Pulling fs layer 23:24:22 f7790dc9fd0f: Pulling fs layer 23:24:22 cac0ae9282c2: Pulling fs layer 23:24:22 1f4cadf9a1ed: Pulling fs layer 23:24:22 309017e8d7a4: Waiting 23:24:22 f7790dc9fd0f: Waiting 23:24:22 cac0ae9282c2: Waiting 23:24:22 1f4cadf9a1ed: Waiting 23:24:22 1860925334f9: Waiting 23:24:22 2daf38717194: Waiting 23:24:22 94e5ff4c0b15: Download complete 23:24:22 3baa9cb2483b: Download complete 23:24:22 1860925334f9: Verifying Checksum 23:24:22 1860925334f9: Download complete 23:24:23 309017e8d7a4: Verifying Checksum 23:24:23 309017e8d7a4: Download complete 23:24:25 f7790dc9fd0f: Verifying Checksum 23:24:25 f7790dc9fd0f: Download complete 23:24:25 cac0ae9282c2: Download complete 23:24:25 1f4cadf9a1ed: Verifying Checksum 23:24:25 1f4cadf9a1ed: Download complete 23:24:26 f08d8e2a3ba1: Verifying Checksum 23:24:26 f08d8e2a3ba1: Download complete 23:24:26 f08d8e2a3ba1: Pull complete 23:24:26 3baa9cb2483b: Pull complete 23:24:26 94e5ff4c0b15: Pull complete 23:24:27 1860925334f9: Pull complete 23:24:30 2daf38717194: Verifying Checksum 23:24:30 2daf38717194: Download complete 23:24:42 2daf38717194: Pull complete 23:24:42 309017e8d7a4: Pull complete 23:24:42 f7790dc9fd0f: Pull complete 23:24:42 cac0ae9282c2: Pull complete 23:24:42 1f4cadf9a1ed: Pull complete 23:24:42 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 23:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 23:24:46 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 23:24:46 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 23:24:46 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 23:24:46 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 23:24:46 Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1733 kB] 23:24:46 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.5 kB] 23:24:46 Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2112 kB] 23:24:46 Get:8 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [205 kB] 23:24:46 Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.0 kB] 23:24:46 Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1348 kB] 23:24:46 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [231 kB] 23:24:46 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2150 kB] 23:24:46 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 23:24:46 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 23:24:47 Fetched 8114 kB in 1s (5468 kB/s) 23:24:48 Reading package lists... 23:24:49 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 23:24:50 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 23:24:50 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 23:24:50 0% [2 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 23:24:51 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... 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 23:24:52 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 23:24:53 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... 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 23:24:53 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 23:24:53 Reading state information... 0% Reading state information... 0% Reading state information... Done 23:24:53 The following packages were automatically installed and are no longer required: 23:24:53 libjq1 libonig4 23:24:53 Use 'sudo apt autoremove' to remove them. 23:24:53 Suggested packages: 23:24:53 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 23:24:53 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 23:24:53 diffutils-doc perl-doc libterm-readline-gnu-perl 23:24:53 | libterm-readline-perl-perl 23:24:53 The following NEW packages will be installed: 23:24:53 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 23:24:53 libperl5.26 make netbase patch perl perl-modules-5.26 23:24:53 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 23:24:53 Need to get 12.0 MB of archives. 23:24:53 After this operation, 77.5 MB of additional disk space will be used. 23:24:53 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] 23:24:54 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 4% [1 perl-modules-5.26 648 kB/2763 kB 23%] 20% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 23:24:54 20% [2 libgdbm5 26.0 kB/26.0 kB 100%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 23:24:54 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] 23:24:54 26% [4 libperl5.26 392 kB/3527 kB 11%] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] 23:24:54 48% [5 perl 7636 B/201 kB 4%] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 23:24:54 51% [6 less 44.2 kB/112 kB 40%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 23:24:54 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 23:24:54 54% [8 curl 12.1 kB/159 kB 8%] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 23:24:54 57% [9 libcurl3-gnutls 18.1 kB/213 kB 9%] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 23:24:54 60% [10 liberror-perl 10.1 kB/22.8 kB 44%] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 23:24:54 61% [11 git-man 25.6 kB/804 kB 3%] 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] 23:24:54 68% [12 git 48.7 kB/3915 kB 1%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 23:24:54 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] 23:24:54 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (8925 kB/s) 23:24:54 debconf: delaying package configuration, since apt-utils is not installed 23:24:55 Selecting previously unselected package perl-modules-5.26. 23:24:55 (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.) 23:24:55 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 23:24:55 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 23:24:56 Selecting previously unselected package libgdbm5:amd64. 23:24:56 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 23:24:56 Unpacking libgdbm5:amd64 (1.14.1-6) ... 23:24:56 Selecting previously unselected package libgdbm-compat4:amd64. 23:24:56 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 23:24:56 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 23:24:56 Selecting previously unselected package libperl5.26:amd64. 23:24:56 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... 23:24:56 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 23:24:56 Selecting previously unselected package perl. 23:24:56 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... 23:24:56 Unpacking perl (5.26.1-6ubuntu0.3) ... 23:24:56 Selecting previously unselected package less. 23:24:56 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 23:24:56 Unpacking less (487-0.1) ... 23:24:56 Selecting previously unselected package netbase. 23:24:56 Preparing to unpack .../06-netbase_5.4_all.deb ... 23:24:56 Unpacking netbase (5.4) ... 23:24:56 Selecting previously unselected package curl. 23:24:56 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 23:24:56 Unpacking curl (7.58.0-2ubuntu3.10) ... 23:24:57 Selecting previously unselected package libcurl3-gnutls:amd64. 23:24:57 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 23:24:57 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 23:24:57 Selecting previously unselected package liberror-perl. 23:24:57 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 23:24:57 Unpacking liberror-perl (0.17025-1) ... 23:24:57 Selecting previously unselected package git-man. 23:24:57 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 23:24:57 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 23:24:57 Selecting previously unselected package git. 23:24:57 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 23:24:57 Unpacking git (1:2.17.1-1ubuntu0.7) ... 23:24:58 Selecting previously unselected package make. 23:24:58 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 23:24:58 Unpacking make (4.1-9.1ubuntu1) ... 23:24:58 Selecting previously unselected package patch. 23:24:58 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 23:24:58 Unpacking patch (2.7.6-2ubuntu1.1) ... 23:24:58 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 23:24:58 Setting up less (487-0.1) ... 23:24:58 Setting up make (4.1-9.1ubuntu1) ... 23:24:58 Setting up curl (7.58.0-2ubuntu3.10) ... 23:24:58 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 23:24:58 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 23:24:58 Setting up libgdbm5:amd64 (1.14.1-6) ... 23:24:58 Setting up patch (2.7.6-2ubuntu1.1) ... 23:24:58 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 23:24:58 Setting up netbase (5.4) ... 23:24:58 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... 23:24:58 Setting up perl (5.26.1-6ubuntu0.3) ... 23:24:58 Setting up liberror-perl (0.17025-1) ... 23:24:58 Setting up git (1:2.17.1-1ubuntu0.7) ... 23:24:58 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 23:24:58 Processing triggers for mime-support (3.60ubuntu1) ... 23:24:59 curl set to automatically installed. 23:24:59 git set to automatically installed. 23:24:59 git-man set to automatically installed. 23:24:59 less set to automatically installed. 23:24:59 libcurl3-gnutls set to automatically installed. 23:24:59 liberror-perl set to automatically installed. 23:24:59 libgdbm-compat4 set to automatically installed. 23:24:59 libgdbm5 set to automatically installed. 23:24:59 libperl5.26 set to automatically installed. 23:24:59 make set to automatically installed. 23:24:59 netbase set to automatically installed. 23:24:59 patch set to automatically installed. 23:24:59 perl set to automatically installed. 23:24:59 perl-modules-5.26 set to automatically installed. 23:24:59 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 23:24:59 Please ensure the environment is properly setup before continuing. 23:24:59 Ignore this message if the appropriate measures have already been taken 23:25:00 Pulling go  23:25:01 'device-mqtt' has dependencies that need to be staged: go 23:25:01 Skipping pull go (already ran) 23:25:01 Building go  23:25:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:01 Dload Upload Total Spent Left Speed 23:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 9 115M 9 10.8M 0 0 29.5M 0 0:00:03 --:--:-- 0:00:03 29.4M 66 115M 66 76.4M 0 0 55.4M 0 0:00:02 0:00:01 0:00:01 55.4M 100 115M 100 115M 0 0 57.3M 0 0:00:02 0:00:02 --:--:-- 57.3M 23:25:03 go1.15.2.linux-amd64.tar.gz: OK 23:25:08 Staging go  23:25:08 Pulling device-mqtt  23:25:09 Skipping build go (already ran) 23:25:09 Building device-mqtt  23:25:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 23:25:09 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 23:25:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 23:25:09 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 23:25:09 go: downloading github.com/spf13/cast v1.3.0 23:25:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 23:25:10 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 23:25:10 go: downloading github.com/go-kit/kit v0.8.0 23:25:10 go: downloading github.com/google/uuid v1.1.1 23:25:10 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:25:10 go: downloading github.com/gorilla/mux v1.7.1 23:25:10 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 23:25:10 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 23:25:10 go: downloading github.com/OneOfOne/xxhash v1.2.6 23:25:10 go: downloading github.com/x448/float16 v0.8.4 23:25:10 go: downloading github.com/pkg/errors v0.8.1 23:25:10 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 23:25:10 go: downloading gopkg.in/yaml.v2 v2.2.8 23:25:10 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 23:25:10 go: downloading github.com/pelletier/go-toml v1.2.0 23:25:10 go: downloading github.com/BurntSushi/toml v0.3.1 23:25:10 go: downloading github.com/hashicorp/consul/api v1.1.0 23:25:10 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:25:10 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:25:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:25:10 go: downloading github.com/mitchellh/copystructure v1.0.0 23:25:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:25:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 23:25:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:25:10 go: downloading github.com/hashicorp/serf v0.8.2 23:25:10 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:25:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:25:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:25:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:25:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:25:17 Skipping stage go (already ran) 23:25:17 Staging device-mqtt  23:25:17 Priming go  23:25:18 Priming device-mqtt  23:25:19 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 23:25:19 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 23:25:19 Determining the version from the project repo (version-script). 23:25:19 The version has been set to 'local-dev-20201016+0d6712b' 23:25:19 Snapping | Snapping / Snapping - Snapping | 23:25:19 Snapped edgex-device-mqtt_local-dev-20201016+0d6712b_amd64.snap [Pipeline] } 23:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:35 Running on prd-ubuntu18.04-docker-arm64-16c-16g-5966 in /w/workspace/gexfoundry_device-mqtt-go_PR-177 [Pipeline] { [Pipeline] ws 23:25:35 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:25:39 using credential edgex-jenkins-ssh 23:25:39 Cloning the remote Git repository 23:25:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:25:39 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:25:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:25:39 > git --version # timeout=10 23:25:39 > git --version # 'git version 2.17.1' 23:25:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:25:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:25:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:25:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:25:40 Merging remotes/origin/master commit 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b into PR head commit e87ea98fbb132d59e763cae69118d03512cef1c8 23:25:41 Merge succeeded, producing d3f938fe2e836340b80473d56dbb9bec1397a622 23:25:41 Checking out Revision d3f938fe2e836340b80473d56dbb9bec1397a622 (PR-177) 23:25:41 > git config core.sparsecheckout # timeout=10 23:25:41 > git checkout -f e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 23:25:41 > git remote # timeout=10 23:25:41 > git config --get remote.origin.url # timeout=10 23:25:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:41 > git merge 12b1a35b74ef9c89c590951cdcdb7fdae4622f9b # timeout=10 23:25:41 > git rev-parse HEAD^{commit} # timeout=10 23:25:41 > git config core.sparsecheckout # timeout=10 23:25:41 > git checkout -f d3f938fe2e836340b80473d56dbb9bec1397a622 # timeout=10 23:25:45 Commit message: "Merge commit '12b1a35b74ef9c89c590951cdcdb7fdae4622f9b' into HEAD" 23:25:45 > git rev-list --no-walk e87ea98fbb132d59e763cae69118d03512cef1c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:46 + find /w/workspace/device-mqtt-go/2 23:25:46 + grep snapcraft.yaml 23:25:46 + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/2/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:47 provisioning config files... 23:25:47 copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/2@tmp/config4843177315297919550tmp [Pipeline] { [Pipeline] sh 23:25:47 + cp /w/workspace/device-mqtt-go/2@tmp/config4843177315297919550tmp /w/workspace/device-mqtt-go/2/edgex-snap-store-login [Pipeline] sh 23:25:47 + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/2:/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 23:25:48 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally 23:25:48 latest: Pulling from edgex-devops/edgex-snap-builder-arm64 23:25:48 237528ba509b: Pulling fs layer 23:25:48 393b96f31d8b: Pulling fs layer 23:25:48 4d82b0e39008: Pulling fs layer 23:25:48 e7ca375b8d34: Pulling fs layer 23:25:48 418f656485bb: Pulling fs layer 23:25:48 aebe8db9254c: Pulling fs layer 23:25:48 4f5f7b207d3f: Pulling fs layer 23:25:48 d19ca6af091a: Pulling fs layer 23:25:48 16b5a0711add: Pulling fs layer 23:25:48 aebe8db9254c: Waiting 23:25:48 e7ca375b8d34: Waiting 23:25:48 418f656485bb: Waiting 23:25:48 4d82b0e39008: Download complete 23:25:48 393b96f31d8b: Verifying Checksum 23:25:48 393b96f31d8b: Download complete 23:25:48 e7ca375b8d34: Verifying Checksum 23:25:48 e7ca375b8d34: Download complete 23:25:48 aebe8db9254c: Download complete 23:25:49 4f5f7b207d3f: Verifying Checksum 23:25:49 4f5f7b207d3f: Download complete 23:25:49 d19ca6af091a: Verifying Checksum 23:25:49 d19ca6af091a: Download complete 23:25:49 16b5a0711add: Verifying Checksum 23:25:49 16b5a0711add: Download complete 23:25:50 237528ba509b: Verifying Checksum 23:25:50 237528ba509b: Download complete 23:25:53 237528ba509b: Pull complete 23:25:54 393b96f31d8b: Pull complete 23:25:54 4d82b0e39008: Pull complete 23:25:54 e7ca375b8d34: Pull complete 23:25:59 418f656485bb: Verifying Checksum 23:25:59 418f656485bb: Download complete 23:26:46 418f656485bb: Pull complete 23:26:46 aebe8db9254c: Pull complete 23:26:46 4f5f7b207d3f: Pull complete 23:26:46 d19ca6af091a: Pull complete 23:26:46 16b5a0711add: Pull complete 23:26:46 Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e 23:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest 23:26:47 Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 23:26:47 Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] 23:26:47 Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] 23:26:47 Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] 23:26:48 Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1856 kB] 23:26:48 Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] 23:26:48 Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1401 kB] 23:26:48 Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] 23:26:48 Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] 23:26:48 Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] 23:26:48 Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] 23:26:48 Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1024 kB] 23:26:48 Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1173 kB] 23:26:48 Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] 23:26:49 Fetched 5740 kB in 2s (2342 kB/s) 23:26:53 Reading package lists... 23:27:06 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease 23:27:06 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease 23:27:06 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease 23:27:06 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease 23:27:11 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 9% Reading package lists... 29% Reading package lists... 49% Reading package lists... 68% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 88% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done 23:27:18 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 23:27:22 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 10% Reading package lists... 31% Reading package lists... 50% Reading package lists... 66% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 85% 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 23:27:22 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 66% Building dependency tree 23:27:22 Reading state information... 0% Reading state information... 0% Reading state information... Done 23:27:23 The following packages were automatically installed and are no longer required: 23:27:23 libjq1 libonig4 23:27:23 Use 'sudo apt autoremove' to remove them. 23:27:23 Suggested packages: 23:27:23 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 23:27:23 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 23:27:23 diffutils-doc perl-doc libterm-readline-gnu-perl 23:27:23 | libterm-readline-perl-perl 23:27:23 The following NEW packages will be installed: 23:27:23 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 23:27:23 libperl5.26 make netbase patch perl perl-modules-5.26 23:27:23 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. 23:27:23 Need to get 10.8 MB of archives. 23:27:23 After this operation, 73.6 MB of additional disk space will be used. 23:27:23 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] 23:27:24 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 695 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] 23:27:24 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] 23:27:24 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] 23:27:25 25% [4 libperl5.26 12.3 kB/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] 23:27:25 51% [5 perl 24.9 kB/201 kB 12%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] 23:27:25 54% [6 less 12.3 kB/99.7 kB 12%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] 23:27:25 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] 23:27:25 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] 23:27:25 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] 23:27:25 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 23:27:25 65% [11 git-man 28.5 kB/804 kB 4%] 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] 23:27:25 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] 23:27:25 95% [13 make 8505 B/139 kB 6%] 98% [Waiting for headers] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] 23:27:25 98% [14 patch 61.4 kB/91.8 kB 67%] 100% [Working] Fetched 10.8 MB in 1s (7939 kB/s) 23:27:25 debconf: delaying package configuration, since apt-utils is not installed 23:27:25 Selecting previously unselected package perl-modules-5.26. 23:27:25 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) 23:27:25 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... 23:27:25 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 23:27:27 Selecting previously unselected package libgdbm5:arm64. 23:27:27 Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... 23:27:27 Unpacking libgdbm5:arm64 (1.14.1-6) ... 23:27:27 Selecting previously unselected package libgdbm-compat4:arm64. 23:27:27 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... 23:27:27 Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... 23:27:27 Selecting previously unselected package libperl5.26:arm64. 23:27:27 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... 23:27:27 Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 23:27:29 Selecting previously unselected package perl. 23:27:29 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... 23:27:29 Unpacking perl (5.26.1-6ubuntu0.3) ... 23:27:29 Selecting previously unselected package less. 23:27:29 Preparing to unpack .../05-less_487-0.1_arm64.deb ... 23:27:29 Unpacking less (487-0.1) ... 23:27:29 Selecting previously unselected package netbase. 23:27:29 Preparing to unpack .../06-netbase_5.4_all.deb ... 23:27:29 Unpacking netbase (5.4) ... 23:27:29 Selecting previously unselected package curl. 23:27:29 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... 23:27:29 Unpacking curl (7.58.0-2ubuntu3.10) ... 23:27:29 Selecting previously unselected package libcurl3-gnutls:arm64. 23:27:29 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... 23:27:29 Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 23:27:29 Selecting previously unselected package liberror-perl. 23:27:29 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 23:27:29 Unpacking liberror-perl (0.17025-1) ... 23:27:29 Selecting previously unselected package git-man. 23:27:29 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 23:27:29 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 23:27:30 Selecting previously unselected package git. 23:27:30 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... 23:27:30 Unpacking git (1:2.17.1-1ubuntu0.7) ... 23:27:31 Selecting previously unselected package make. 23:27:31 Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... 23:27:31 Unpacking make (4.1-9.1ubuntu1) ... 23:27:31 Selecting previously unselected package patch. 23:27:31 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... 23:27:31 Unpacking patch (2.7.6-2ubuntu1.1) ... 23:27:31 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 23:27:31 Setting up less (487-0.1) ... 23:27:32 Setting up make (4.1-9.1ubuntu1) ... 23:27:32 Setting up curl (7.58.0-2ubuntu3.10) ... 23:27:32 Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... 23:27:32 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... 23:27:32 Setting up libgdbm5:arm64 (1.14.1-6) ... 23:27:32 Setting up patch (2.7.6-2ubuntu1.1) ... 23:27:32 Setting up libgdbm-compat4:arm64 (1.14.1-6) ... 23:27:32 Setting up netbase (5.4) ... 23:27:32 Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... 23:27:32 Setting up perl (5.26.1-6ubuntu0.3) ... 23:27:32 Setting up liberror-perl (0.17025-1) ... 23:27:32 Setting up git (1:2.17.1-1ubuntu0.7) ... 23:27:33 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 23:27:33 Processing triggers for mime-support (3.60ubuntu1) ... 23:27:38 curl set to automatically installed. 23:27:38 git set to automatically installed. 23:27:38 git-man set to automatically installed. 23:27:38 less set to automatically installed. 23:27:38 libcurl3-gnutls set to automatically installed. 23:27:38 liberror-perl set to automatically installed. 23:27:38 libgdbm-compat4 set to automatically installed. 23:27:38 libgdbm5 set to automatically installed. 23:27:38 libperl5.26 set to automatically installed. 23:27:38 make set to automatically installed. 23:27:38 netbase set to automatically installed. 23:27:38 patch set to automatically installed. 23:27:38 perl set to automatically installed. 23:27:38 perl-modules-5.26 set to automatically installed. 23:27:38 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 23:27:38 Please ensure the environment is properly setup before continuing. 23:27:38 Ignore this message if the appropriate measures have already been taken 23:27:39 Pulling go  23:27:43 'device-mqtt' has dependencies that need to be staged: go 23:27:43 Skipping pull go (already ran) 23:27:43 Building go  23:27:43 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:43 Dload Upload Total Spent Left Speed 23:27:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 30 93.2M 30 28.4M 0 0 33.9M 0 0:00:02 --:--:-- 0:00:02 33.9M 80 93.2M 80 74.6M 0 0 40.2M 0 0:00:02 0:00:01 0:00:01 40.2M 100 93.2M 100 93.2M 0 0 41.1M 0 0:00:02 0:00:02 --:--:-- 41.1M 23:27:47 go1.15.2.linux-arm64.tar.gz: OK 23:28:05 Staging go  23:28:08 Pulling device-mqtt  23:28:11 Skipping build go (already ran) 23:28:11 Building device-mqtt  23:28:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 23:28:13 go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 23:28:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 23:28:13 go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce 23:28:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.2.0 23:28:13 go: downloading github.com/spf13/cast v1.3.0 23:28:13 go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd 23:28:13 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 23:28:13 go: downloading github.com/gorilla/mux v1.7.1 23:28:13 go: downloading github.com/go-kit/kit v0.8.0 23:28:13 go: downloading github.com/pelletier/go-toml v1.2.0 23:28:13 go: downloading github.com/pkg/errors v0.8.1 23:28:13 go: downloading github.com/google/uuid v1.1.1 23:28:13 go: downloading github.com/OneOfOne/xxhash v1.2.6 23:28:13 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 23:28:13 go: downloading gopkg.in/yaml.v2 v2.2.8 23:28:13 go: downloading github.com/BurntSushi/toml v0.3.1 23:28:13 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 23:28:13 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 23:28:13 go: downloading github.com/hashicorp/consul/api v1.1.0 23:28:13 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 23:28:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:28:13 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:28:13 go: downloading github.com/mitchellh/copystructure v1.0.0 23:28:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:28:13 go: downloading github.com/hashicorp/serf v0.8.2 23:28:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 23:28:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:28:13 go: downloading github.com/x448/float16 v0.8.4 23:28:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:28:14 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:28:14 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:28:14 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:28:14 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:28:36 CGO_ENABLED=0 GO111MODULE=on go build ./... 23:28:51 Skipping stage go (already ran) 23:28:51 Staging device-mqtt  23:28:53 Priming go  23:28:56 Priming device-mqtt  23:29:00 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 23:29:00 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 23:29:00 Determining the version from the project repo (version-script). 23:29:00 The version has been set to 'local-dev-20201016+d3f938f' 23:29:00 Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | 23:29:00 Snapped edgex-device-mqtt_local-dev-20201016+d3f938f_arm64.snap [Pipeline] } 23:29:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 23:29:05 provisioning config files... 23:29:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/config6509570666979802147tmp [Pipeline] { [Pipeline] sh 23:29:05 + set +x 23:29:05 + curl -s https://codecov.io/bash 23:29:05 + bash -s -- 23:29:05 23:29:05 _____ _ 23:29:05 / ____| | | 23:29:05 | | ___ __| | ___ ___ _____ __ 23:29:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:29:05 | |___| (_) | (_| | __/ (_| (_) \ V / 23:29:05 \_____\___/ \__,_|\___|\___\___/ \_/ 23:29:05 Bash-20201009-048fee3 23:29:05 23:29:05 23:29:05 ==> Jenkins CI detected. 23:29:05 project root: . 23:29:05 Fixing merge commit SHA 23:29:05 --> token set from env 23:29:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:29:05 ==> Running gcov in . (disable via -X gcov) 23:29:05 ==> Python coveragepy not found 23:29:05 ==> Searching for coverage reports in: 23:29:05 + . 23:29:05 -> Found 1 reports 23:29:05 ==> Detecting git/mercurial file structure 23:29:05 ==> Reading reports 23:29:06 + ./coverage.out bytes=18963 23:29:06 ==> Appending adjustments 23:29:06 https://docs.codecov.io/docs/fixing-reports 23:29:06 + Found adjustments 23:29:06 ==> Gzipping contents 23:29:06 ==> Uploading reports 23:29:06 url: https://codecov.io 23:29:06 query: branch=PR-177&commit=12b1a35b74ef9c89c590951cdcdb7fdae4622f9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=177&job=&cmd_args= 23:29:06 -> Pinging Codecov 23:29:06 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-177&commit=12b1a35b74ef9c89c590951cdcdb7fdae4622f9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=177&job=&cmd_args= 23:29:06 -> Uploading to 23:29:06 23:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:06 Dload Upload Total Spent Left Speed 23:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 23:29:06 X> Failed to upload 23:29:06 ==> Uploading to Codecov 23:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:06 Dload Upload Total Spent Left Speed 23:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 3382 0 0 100 3271 0 5218 --:--:-- --:--:-- --:--:-- 5216 100 3382 100 111 100 3271 177 5217 --:--:-- --:--:-- --:--:-- 5216 23:29:06 View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/12b1a35b74ef9c89c590951cdcdb7fdae4622f9b [Pipeline] } 23:29:06 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 23:29:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:10 ---> package-listing.sh 23:29:10 ++ facter osfamily 23:29:10 ++ tr '[:upper:]' '[:lower:]' 23:29:10 + OS_FAMILY=redhat 23:29:10 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-177 23:29:10 + START_PACKAGES=/tmp/packages_start.txt 23:29:10 + END_PACKAGES=/tmp/packages_end.txt 23:29:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:10 + PACKAGES=/tmp/packages_start.txt 23:29:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-177 ']' 23:29:10 + PACKAGES=/tmp/packages_end.txt 23:29:10 + case "${OS_FAMILY}" in 23:29:10 + rpm -qa 23:29:10 + sort 23:29:14 + '[' -f /tmp/packages_start.txt ']' 23:29:14 + '[' -f /tmp/packages_end.txt ']' 23:29:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-177 ']' 23:29:14 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-177/archives/ 23:29:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-177/archives/ [Pipeline] echo 23:29:14 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:29:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:29:15 23:29:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:29:15 alpine: Pulling from edgex-lftools-log-publisher 23:29:15 df20fa9351a1: Pulling fs layer 23:29:15 36b3adc4ff6f: Pulling fs layer 23:29:15 8ad3a11d3b57: Pulling fs layer 23:29:15 46f8f816bc3b: Pulling fs layer 23:29:15 93b61091891f: Pulling fs layer 23:29:15 93b9cdb0e59b: Pulling fs layer 23:29:15 5e14af77c1be: Pulling fs layer 23:29:15 01666e4c0597: Pulling fs layer 23:29:15 aa168da1d23b: Pulling fs layer 23:29:15 46f8f816bc3b: Waiting 23:29:15 93b61091891f: Waiting 23:29:15 5e14af77c1be: Waiting 23:29:15 01666e4c0597: Waiting 23:29:15 93b9cdb0e59b: Waiting 23:29:15 36b3adc4ff6f: Verifying Checksum 23:29:15 36b3adc4ff6f: Download complete 23:29:15 46f8f816bc3b: Verifying Checksum 23:29:15 46f8f816bc3b: Download complete 23:29:15 df20fa9351a1: Verifying Checksum 23:29:15 df20fa9351a1: Download complete 23:29:15 93b9cdb0e59b: Verifying Checksum 23:29:15 93b9cdb0e59b: Download complete 23:29:15 93b61091891f: Verifying Checksum 23:29:15 93b61091891f: Download complete 23:29:15 01666e4c0597: Verifying Checksum 23:29:15 01666e4c0597: Download complete 23:29:15 5e14af77c1be: Verifying Checksum 23:29:15 5e14af77c1be: Download complete 23:29:15 df20fa9351a1: Pull complete 23:29:16 36b3adc4ff6f: Pull complete 23:29:16 8ad3a11d3b57: Verifying Checksum 23:29:16 8ad3a11d3b57: Download complete 23:29:17 8ad3a11d3b57: Pull complete 23:29:17 46f8f816bc3b: Pull complete 23:29:18 93b61091891f: Pull complete 23:29:18 93b9cdb0e59b: Pull complete 23:29:18 5e14af77c1be: Pull complete 23:29:18 aa168da1d23b: Verifying Checksum 23:29:18 aa168da1d23b: Download complete 23:29:18 01666e4c0597: Pull complete 23:29:24 aa168da1d23b: Pull complete 23:29:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:29:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:29:25 prd-centos7-docker-4c-2g-5962 does not seem to be running inside a container 23:29:25 $ 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-177/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-177 -v /w/workspace/gexfoundry_device-mqtt-go_PR-177:/w/workspace/gexfoundry_device-mqtt-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-177@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:29:28 $ docker top 610f2a619ae4ed91836de840e56b6969d5234a4bceb836a31a8a2998f229b654 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:28 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:28 + mkdir -p /var/log/sa [Pipeline] sh 23:29:29 + ls /var/log/sa-host 23:29:29 + sadf -c /var/log/sa-host/sa05 23:29:29 file_magic: OK 23:29:29 HZ: Using current value: 100 23:29:29 file_header: OK 23:29:29 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 23:29:29 Statistics: 23:29:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:29:29 File successfully converted to sysstat format version 12.2.1 23:29:29 + sadf -c /var/log/sa-host/sa16 23:29:29 file_magic: OK 23:29:29 HZ: Using current value: 100 23:29:29 file_header: OK 23:29:29 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 23:29:29 Statistics: 23:29:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:29:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:29 provisioning config files... 23:29:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-177@tmp/config626713178153558391tmp [Pipeline] { [Pipeline] echo 23:29:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:30 ---> create-netrc.sh [Pipeline] } 23:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:29:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:29:30 ---> python-tools-install.sh [Pipeline] echo 23:29:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:31 ---> sudo-logs.sh 23:29:31 Archiving 'sudo' log.. [Pipeline] echo 23:29:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:31 ---> job-cost.sh 23:29:31 lf-activate-venv: SKIPPING 23:29:31 INFO: No Stack... 23:29:32 INFO: Retrieving Pricing Info for: v1-standard-2 23:29:32 INFO: Archiving Costs [Pipeline] echo 23:29:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:33 ---> logs-deploy.sh 23:29:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-177/2 23:29:33 INFO: archiving workspace using pattern(s): 23:29:35 Archives upload complete. 23:29:35 INFO: archiving logs to Nexus