Pull request #170 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0+f7b704da3e9a84fb10464ba1b2bdd449b0700fcc (addfbfc995719d978987208f9206c10bc97ade53) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-170/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5860 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-170 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" First time build. Skipping changelog. > git rev-list --no-walk 3f5aa68dbeb043a3879a33889abdf6e3a44a48a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T09:33:33.230Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T09:33:33.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T09:33:33.568Z] ========================================================= [2020-10-16T09:33:33.568Z] EdgeX Global Pipelines Version Info [2020-10-16T09:33:33.568Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:33:37.917Z] ------------------- [2020-10-16T09:33:37.917Z] stable info: [2020-10-16T09:33:37.917Z] ------------------- [2020-10-16T09:33:37.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:33:37.917Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:33:37.917Z] Message: update stable to v1.0.144 [2020-10-16T09:33:38.928Z] ------------------- [2020-10-16T09:33:38.928Z] experimental info: [2020-10-16T09:33:38.928Z] ------------------- [2020-10-16T09:33:38.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:33:38.928Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:33:38.928Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T09:33:39.380Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-10-16T09:33:39.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-10-16T09:33:39.602Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T09:33:39.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T09:33:39.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T09:33:39.904Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T09:33:40.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T09:33:40.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T09:33:40.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-10-16T09:33:40.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T09:33:40.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T09:33:40.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-10-16T09:33:41.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T09:33:41.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T09:33:41.396Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T09:33:41.484Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T09:33:41.573Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:33:41.664Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:33:41.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T09:33:41.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-10-16T09:33:41.929Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-16T09:33:42.038Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-16T09:33:42.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T09:33:42.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T09:33:42.308Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T09:33:42.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo [2020-10-16T09:33:42.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo [2020-10-16T09:33:42.695Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo [2020-10-16T09:33:42.790Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] echo [2020-10-16T09:33:42.885Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cbfbfc [Pipeline] echo [2020-10-16T09:33:42.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:33:43.691Z] + git log --format=format:%s -1 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] echo [2020-10-16T09:33:43.859Z] GIT_COMMIT: 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0, Commit Message: Bump github.com/spf13/cast from 1.3.0 to 1.3.1 [Pipeline] echo [2020-10-16T09:33:43.907Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:44.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:33:45.210Z] [2020-10-16T09:33:45.211Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:45.841Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:33:46.198Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T09:33:46.198Z] 31603596830f: Pulling fs layer [2020-10-16T09:33:46.198Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T09:33:46.198Z] 6ca5941a6612: Pulling fs layer [2020-10-16T09:33:46.198Z] ecc8261a40a4: Pulling fs layer [2020-10-16T09:33:46.198Z] ecc8261a40a4: Waiting [2020-10-16T09:33:46.198Z] 2a8b12db71e7: Download complete [2020-10-16T09:33:47.883Z] 31603596830f: Verifying Checksum [2020-10-16T09:33:47.883Z] 31603596830f: Download complete [2020-10-16T09:33:48.493Z] ecc8261a40a4: Verifying Checksum [2020-10-16T09:33:48.493Z] ecc8261a40a4: Download complete [2020-10-16T09:33:48.493Z] 31603596830f: Pull complete [2020-10-16T09:33:48.993Z] 2a8b12db71e7: Pull complete [2020-10-16T09:33:49.326Z] 6ca5941a6612: Verifying Checksum [2020-10-16T09:33:49.326Z] 6ca5941a6612: Download complete [2020-10-16T09:33:51.057Z] 6ca5941a6612: Pull complete [2020-10-16T09:33:51.787Z] ecc8261a40a4: Pull complete [2020-10-16T09:33:51.787Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T09:33:51.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:33:51.787Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T09:33:52.402Z] prd-centos7-docker-4c-2g-5860 does not seem to be running inside a container [2020-10-16T09:33:52.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-16T09:33:54.735Z] $ docker top cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T09:33:55.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:33:55.180Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:33:55.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:33:55.567Z] $ docker exec cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent [2020-10-16T09:33:56.026Z] SSH_AUTH_SOCK=/tmp/ssh-kVWMcshRqR1q/agent.13 [2020-10-16T09:33:56.026Z] SSH_AGENT_PID=19 [2020-10-16T09:33:56.056Z] Running ssh-add (command line suppressed) [2020-10-16T09:33:56.355Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6646514751914238904.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6646514751914238904.key) [2020-10-16T09:33:56.461Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:33:56.976Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T09:33:57.047Z] $ docker exec --env ******** --env ******** cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent -k [2020-10-16T09:33:57.333Z] unset SSH_AUTH_SOCK; [2020-10-16T09:33:57.333Z] unset SSH_AGENT_PID; [2020-10-16T09:33:57.333Z] echo Agent pid 19 killed; [2020-10-16T09:33:57.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T09:33:57.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:33:57.586Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:33:57.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:33:57.984Z] $ docker exec cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent [2020-10-16T09:33:58.523Z] SSH_AUTH_SOCK=/tmp/ssh-qqRA90Op721d/agent.48 [2020-10-16T09:33:58.523Z] SSH_AGENT_PID=53 [2020-10-16T09:33:58.552Z] Running ssh-add (command line suppressed) [2020-10-16T09:33:58.953Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6566102925867441063.key (/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/private_key_6566102925867441063.key) [2020-10-16T09:33:59.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:33:59.627Z] + git semver init [2020-10-16T09:33:59.627Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T09:33:59.627Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.git [2020-10-16T09:33:59.627Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-170 [2020-10-16T09:33:59.627Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T09:33:59.627Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T09:33:59.627Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T09:33:59.627Z] # $SEMVER_BRANCH = PR-170 [2020-10-16T09:33:59.627Z] # $SEMVER_TEMP = /tmp/semver-113525446 [2020-10-16T09:33:59.627Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-10-16T09:34:00.300Z] # '/tmp/semver-113525446' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver' [2020-10-16T09:34:00.300Z] # -> Force: false [2020-10-16T09:34:00.300Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-170/.semver [Pipeline] } [2020-10-16T09:34:00.328Z] $ docker exec --env ******** --env ******** cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 ssh-agent -k [2020-10-16T09:34:00.601Z] unset SSH_AUTH_SOCK; [2020-10-16T09:34:00.602Z] unset SSH_AGENT_PID; [2020-10-16T09:34:00.602Z] echo Agent pid 53 killed; [2020-10-16T09:34:00.708Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T09:34:01.267Z] + git semver [Pipeline] } [2020-10-16T09:34:01.317Z] $ docker stop --time=1 cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 [2020-10-16T09:34:03.039Z] $ docker rm -f cb2f1ace10fb4998842b6529a78dc6b7a611d379164e33b356689629d180ad40 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T09:34:03.925Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T09:34:05.353Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T09:34:05.356Z] [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 [2020-10-16T09:34:20.967Z] Still waiting to schedule task [2020-10-16T09:34:20.967Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T09:34:20.971Z] Still waiting to schedule task [2020-10-16T09:34:20.971Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5844’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5853’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-5857’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5864’ is offline [2020-10-16T09:36:01.823Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5867 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws [2020-10-16T09:36:01.885Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2020-10-16T09:36:07.969Z] using credential edgex-jenkins-ssh [2020-10-16T09:36:08.050Z] Cloning the remote Git repository [2020-10-16T09:36:08.157Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:36:08.288Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2020-10-16T09:36:08.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:36:08.375Z] > git --version # timeout=10 [2020-10-16T09:36:08.396Z] > git --version # 'git version 2.17.1' [2020-10-16T09:36:08.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:36:08.468Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:36:09.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:36:09.271Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:36:09.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:36:09.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:36:09.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:36:09.371Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:36:09.847Z] Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:36:10.171Z] Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:36:10.171Z] Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) [2020-10-16T09:36:09.884Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:36:09.898Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:36:09.988Z] > git remote # timeout=10 [2020-10-16T09:36:10.056Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:36:10.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:36:10.104Z] > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 [2020-10-16T09:36:10.152Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:36:10.193Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:36:10.255Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:36:14.717Z] Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T09:36:15.676Z] ========================================================= [2020-10-16T09:36:15.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T09:36:15.676Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:36:16.745Z] + 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 . [2020-10-16T09:36:17.734Z] Sending build context to Docker daemon 450kB [2020-10-16T09:36:17.734Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:36:17.734Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:36:18.009Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T09:36:18.009Z] b538f80385f9: Pulling fs layer [2020-10-16T09:36:18.009Z] 74f711af9a0d: Pulling fs layer [2020-10-16T09:36:18.009Z] 99f96fe45779: Pulling fs layer [2020-10-16T09:36:18.009Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T09:36:18.009Z] 45590311c82a: Pulling fs layer [2020-10-16T09:36:18.009Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T09:36:18.009Z] 209524e5b208: Pulling fs layer [2020-10-16T09:36:18.009Z] 8529a6b9a6be: Waiting [2020-10-16T09:36:18.009Z] 45590311c82a: Waiting [2020-10-16T09:36:18.009Z] 69ca0ff8b7b3: Waiting [2020-10-16T09:36:18.009Z] 209524e5b208: Waiting [2020-10-16T09:36:18.009Z] 99f96fe45779: Verifying Checksum [2020-10-16T09:36:18.009Z] 99f96fe45779: Download complete [2020-10-16T09:36:18.009Z] 45590311c82a: Verifying Checksum [2020-10-16T09:36:18.009Z] 45590311c82a: Download complete [2020-10-16T09:36:18.009Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T09:36:18.009Z] 69ca0ff8b7b3: Download complete [2020-10-16T09:36:18.009Z] b538f80385f9: Verifying Checksum [2020-10-16T09:36:18.009Z] b538f80385f9: Download complete [2020-10-16T09:36:19.018Z] b538f80385f9: Pull complete [2020-10-16T09:36:19.629Z] 74f711af9a0d: Pull complete [2020-10-16T09:36:19.912Z] 99f96fe45779: Pull complete [2020-10-16T09:36:20.901Z] 209524e5b208: Verifying Checksum [2020-10-16T09:36:20.901Z] 209524e5b208: Download complete [2020-10-16T09:36:21.891Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T09:36:21.891Z] 8529a6b9a6be: Download complete [2020-10-16T09:36:32.105Z] 8529a6b9a6be: Pull complete [2020-10-16T09:36:32.380Z] 45590311c82a: Pull complete [2020-10-16T09:36:32.655Z] 69ca0ff8b7b3: Pull complete [2020-10-16T09:36:36.071Z] 209524e5b208: Pull complete [2020-10-16T09:36:36.071Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T09:36:36.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T09:36:36.071Z] ---> 5bddaf1c2fca [2020-10-16T09:36:36.071Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-16T09:36:39.475Z] ---> Running in 97416e91c13f [2020-10-16T09:36:39.475Z] Removing intermediate container 97416e91c13f [2020-10-16T09:36:39.475Z] ---> 1c6ed5d77a17 [2020-10-16T09:36:39.475Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:36:39.749Z] ---> Running in 1f504100c9b5 [2020-10-16T09:36:43.166Z] Removing intermediate container 1f504100c9b5 [2020-10-16T09:36:43.166Z] ---> 3cf300bd6a20 [2020-10-16T09:36:43.166Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-16T09:36:43.166Z] ---> Running in 88d0095a6e0b [2020-10-16T09:36:44.628Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:45.231Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:45.828Z] (1/14) Installing libmagic (5.38-r0) [2020-10-16T09:36:46.101Z] (2/14) Installing file (5.38-r0) [2020-10-16T09:36:46.101Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-16T09:36:46.378Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-16T09:36:56.546Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-16T09:36:56.546Z] (6/14) Installing patch (2.7.6-r6) [2020-10-16T09:36:56.546Z] (7/14) Installing build-base (0.5-r2) [2020-10-16T09:36:56.546Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-16T09:36:56.546Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-16T09:36:56.546Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-16T09:36:57.144Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-16T09:36:57.418Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-16T09:36:57.418Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-16T09:36:57.689Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-16T09:36:57.963Z] Executing busybox-1.31.1-r16.trigger [2020-10-16T09:36:57.963Z] OK: 221 MiB in 53 packages [2020-10-16T09:37:02.293Z] Removing intermediate container 88d0095a6e0b [2020-10-16T09:37:02.293Z] ---> 8f9da8ac716a [2020-10-16T09:37:02.293Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-10-16T09:37:02.293Z] ---> Running in d86047c55f48 [2020-10-16T09:37:02.893Z] Removing intermediate container d86047c55f48 [2020-10-16T09:37:02.893Z] ---> 3e2b55b699ec [2020-10-16T09:37:02.893Z] Step 7/8 : COPY . . [2020-10-16T09:37:03.896Z] ---> 45bb58da618e [2020-10-16T09:37:03.896Z] Step 8/8 : RUN go mod download [2020-10-16T09:37:03.896Z] ---> Running in 70003f7942ac [2020-10-16T09:37:19.014Z] Removing intermediate container 70003f7942ac [2020-10-16T09:37:19.014Z] ---> 524e184adff6 [2020-10-16T09:37:19.014Z] Successfully built 524e184adff6 [2020-10-16T09:37:19.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:19.429Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:37:19.430Z] . [Pipeline] withDockerContainer [2020-10-16T09:37:19.708Z] prd-ubuntu18.04-docker-arm64-4c-16g-5867 does not seem to be running inside a container [2020-10-16T09:37:19.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-16T09:37:21.732Z] $ docker top bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:37:23.168Z] + go version [2020-10-16T09:37:23.168Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T09:37:23.203Z] $ docker stop --time=1 bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 [2020-10-16T09:37:25.147Z] $ docker rm -f bb11f3529a2bb7e599da7e4a1ea588250789669385bda96bd4be2d0f5745f202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:26.247Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:37:26.247Z] . [Pipeline] withDockerContainer [2020-10-16T09:37:26.517Z] prd-ubuntu18.04-docker-arm64-4c-16g-5867 does not seem to be running inside a container [2020-10-16T09:37:26.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-16T09:37:28.583Z] $ docker top 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:37:30.009Z] + make test [2020-10-16T09:37:30.009Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-16T09:37:31.930Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-10-16T09:38:11.021Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-10-16T09:38:11.021Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.025s coverage: 28.3% of statements [2020-10-16T09:38:11.021Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-10-16T09:38:11.021Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-10-16T09:38:13.001Z] gofmt -l . [2020-10-16T09:38:13.001Z] ["`gofmt -l .`" = ""] [2020-10-16T09:38:13.001Z] ./bin/test-attribution-txt.sh [2020-10-16T09:38:13.983Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:38:15.084Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:38:15.113Z] $ docker stop --time=1 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab [2020-10-16T09:38:17.537Z] $ docker rm -f 0de5fde17cd7150e1c0151f16ac2e051e58d847bc70eb77ec4f769b79bde29ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:38:19.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:38:19.920Z] + ls -al . [2020-10-16T09:38:19.920Z] total 132 [2020-10-16T09:38:19.920Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 16 09:38 . [2020-10-16T09:38:19.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:36 .. [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:36 .dockerignore [2020-10-16T09:38:19.920Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:36 .git [2020-10-16T09:38:19.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 .github [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 336 Oct 16 09:36 .gitignore [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 5255 Oct 16 09:36 Attribution.txt [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 1784 Oct 16 09:36 Dockerfile [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 953 Oct 16 09:36 Dockerfile.build [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 16 09:36 Jenkinsfile [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 16 09:36 LICENSE [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 902 Oct 16 09:36 Makefile [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 16 09:36 README.md [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:34 VERSION [2020-10-16T09:38:19.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 bin [2020-10-16T09:38:19.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:36 cmd [2020-10-16T09:38:19.920Z] -rw-r--r-- 1 jenkins jenkins 18939 Oct 16 09:38 coverage.out [2020-10-16T09:38:19.920Z] -rw-r--r-- 1 jenkins jenkins 546 Oct 16 09:38 go.mod [2020-10-16T09:38:19.920Z] -rw-r--r-- 1 jenkins jenkins 13621 Oct 16 09:38 go.sum [2020-10-16T09:38:19.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 16 09:36 internal [2020-10-16T09:38:19.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:36 mock [2020-10-16T09:38:19.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:36 snap [2020-10-16T09:38:19.920Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 16 09:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:38:20.306Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 --label arch=arm64 --label version=0.0.0 . [2020-10-16T09:38:20.591Z] Sending build context to Docker daemon 469.5kB [2020-10-16T09:38:20.591Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-16T09:38:20.591Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-16T09:38:20.591Z] ---> 524e184adff6 [2020-10-16T09:38:20.591Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-16T09:38:20.872Z] ---> Running in cca6dc2a523e [2020-10-16T09:38:21.485Z] Removing intermediate container cca6dc2a523e [2020-10-16T09:38:21.485Z] ---> 658cda9b43bb [2020-10-16T09:38:21.485Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-16T09:38:21.485Z] ---> Running in cfd50177b517 [2020-10-16T09:38:22.102Z] Removing intermediate container cfd50177b517 [2020-10-16T09:38:22.102Z] ---> 0f3781e11346 [2020-10-16T09:38:22.102Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:38:22.102Z] ---> Running in 2d65a840cf1b [2020-10-16T09:38:24.812Z] Removing intermediate container 2d65a840cf1b [2020-10-16T09:38:24.812Z] ---> f8a0609d2b84 [2020-10-16T09:38:24.812Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-16T09:38:24.812Z] ---> Running in de789e13cf57 [2020-10-16T09:38:26.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:38:27.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:38:27.959Z] OK: 221 MiB in 53 packages [2020-10-16T09:38:29.003Z] Removing intermediate container de789e13cf57 [2020-10-16T09:38:29.003Z] ---> 34a051729a3c [2020-10-16T09:38:29.003Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-10-16T09:38:29.003Z] ---> Running in 057eb20025c6 [2020-10-16T09:38:29.641Z] Removing intermediate container 057eb20025c6 [2020-10-16T09:38:29.641Z] ---> 6e8b52c3cce7 [2020-10-16T09:38:29.641Z] Step 8/22 : COPY . . [2020-10-16T09:38:30.700Z] ---> d29306856926 [2020-10-16T09:38:30.700Z] Step 9/22 : ARG MAKE='make build' [2020-10-16T09:38:30.700Z] ---> Running in 244f3a9ca9f5 [2020-10-16T09:38:30.988Z] Removing intermediate container 244f3a9ca9f5 [2020-10-16T09:38:30.988Z] ---> 39f84033035c [2020-10-16T09:38:30.988Z] Step 10/22 : RUN $MAKE [2020-10-16T09:38:31.292Z] ---> Running in 910485872c10 [2020-10-16T09:38:32.764Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-16T09:38:59.825Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-16T09:39:04.184Z] Removing intermediate container 910485872c10 [2020-10-16T09:39:04.184Z] ---> 375620ad41fc [2020-10-16T09:39:04.184Z] Step 11/22 : FROM alpine [2020-10-16T09:39:04.184Z] latest: Pulling from library/alpine [2020-10-16T09:39:04.184Z] b538f80385f9: Already exists [2020-10-16T09:39:04.184Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-16T09:39:04.184Z] Status: Downloaded newer image for alpine:latest [2020-10-16T09:39:04.184Z] ---> 62ee0e9f8440 [2020-10-16T09:39:04.184Z] Step 12/22 : ENV APP_PORT=49982 [2020-10-16T09:39:04.460Z] ---> Running in c2ef3ed43655 [2020-10-16T09:39:04.736Z] Removing intermediate container c2ef3ed43655 [2020-10-16T09:39:04.736Z] ---> 372dd86fb5b2 [2020-10-16T09:39:04.736Z] Step 13/22 : EXPOSE $APP_PORT [2020-10-16T09:39:05.012Z] ---> Running in f352e475bc86 [2020-10-16T09:39:05.609Z] Removing intermediate container f352e475bc86 [2020-10-16T09:39:05.609Z] ---> 2be10ac8d5a0 [2020-10-16T09:39:05.609Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-10-16T09:39:06.599Z] ---> b99f4f3b7175 [2020-10-16T09:39:06.599Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-10-16T09:39:07.591Z] ---> 590916bb16bc [2020-10-16T09:39:07.591Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-10-16T09:39:08.199Z] ---> ad418d33483c [2020-10-16T09:39:08.199Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-10-16T09:39:08.199Z] ---> Running in b042cfa68d58 [2020-10-16T09:39:08.803Z] Removing intermediate container b042cfa68d58 [2020-10-16T09:39:08.803Z] ---> 45f4f2abe4a2 [2020-10-16T09:39:08.803Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-10-16T09:39:08.803Z] ---> Running in 9f03017b673b [2020-10-16T09:39:09.407Z] Removing intermediate container 9f03017b673b [2020-10-16T09:39:09.407Z] ---> 6e7fe3d097b3 [2020-10-16T09:39:09.407Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:39:09.407Z] ---> Running in 1c30a65385b7 [2020-10-16T09:39:10.008Z] Removing intermediate container 1c30a65385b7 [2020-10-16T09:39:10.008Z] ---> 31e08fccc42b [2020-10-16T09:39:10.008Z] Step 20/22 : LABEL arch=arm64 [2020-10-16T09:39:10.008Z] ---> Running in 9cf7b5a0236a [2020-10-16T09:39:10.613Z] Removing intermediate container 9cf7b5a0236a [2020-10-16T09:39:10.613Z] ---> 10950e107b04 [2020-10-16T09:39:10.613Z] Step 21/22 : LABEL git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:39:10.613Z] ---> Running in 2cb1d56c5bef [2020-10-16T09:39:10.892Z] Removing intermediate container 2cb1d56c5bef [2020-10-16T09:39:10.892Z] ---> 72f0b610ff85 [2020-10-16T09:39:10.892Z] Step 22/22 : LABEL version=0.0.0 [2020-10-16T09:39:11.169Z] ---> Running in 384287661ada [2020-10-16T09:39:11.446Z] Removing intermediate container 384287661ada [2020-10-16T09:39:11.446Z] ---> 5be248e91c4f [2020-10-16T09:39:11.446Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:39:11.719Z] Successfully built 5be248e91c4f [2020-10-16T09:39:11.719Z] 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 [2020-10-16T09:39:27.298Z] Still waiting to schedule task [2020-10-16T09:39:27.298Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-10-16T09:40:40.412Z] Running on prd-centos7-docker-4c-2g-5869 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws [2020-10-16T09:40:40.507Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2020-10-16T09:40:46.996Z] using credential edgex-jenkins-ssh [2020-10-16T09:40:47.055Z] Cloning the remote Git repository [2020-10-16T09:40:47.094Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:40:47.182Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2020-10-16T09:40:47.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:40:47.249Z] > git --version # timeout=10 [2020-10-16T09:40:47.283Z] > git --version # 'git version 2.16.5' [2020-10-16T09:40:47.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:40:47.335Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:40:48.438Z] Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:40:48.587Z] Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:40:48.587Z] Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) [2020-10-16T09:40:47.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:40:48.006Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:40:48.025Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:40:48.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:40:48.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:40:48.062Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:40:48.456Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:40:48.480Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:40:48.529Z] > git remote # timeout=10 [2020-10-16T09:40:48.537Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:40:48.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:40:48.560Z] > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 [2020-10-16T09:40:48.575Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:40:48.589Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:40:48.598Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:40:52.647Z] Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T09:40:53.848Z] ========================================================= [2020-10-16T09:40:53.848Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T09:40:53.848Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:40:54.751Z] + 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 . [2020-10-16T09:40:55.368Z] Sending build context to Docker daemon 452.1kB [2020-10-16T09:40:55.368Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:40:55.368Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:40:55.643Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T09:40:55.643Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:40:55.643Z] ed8968b2872e: Pulling fs layer [2020-10-16T09:40:55.643Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T09:40:55.643Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T09:40:55.643Z] e73272ec9a57: Pulling fs layer [2020-10-16T09:40:55.643Z] 1e910a182e73: Pulling fs layer [2020-10-16T09:40:55.643Z] 4e634b169226: Pulling fs layer [2020-10-16T09:40:55.643Z] e871e8e8d7a9: Waiting [2020-10-16T09:40:55.643Z] e73272ec9a57: Waiting [2020-10-16T09:40:55.643Z] 1e910a182e73: Waiting [2020-10-16T09:40:55.644Z] 4e634b169226: Waiting [2020-10-16T09:40:55.644Z] a92cc7c5fd73: Download complete [2020-10-16T09:40:55.644Z] ed8968b2872e: Verifying Checksum [2020-10-16T09:40:55.644Z] ed8968b2872e: Download complete [2020-10-16T09:40:55.644Z] e73272ec9a57: Download complete [2020-10-16T09:40:55.644Z] 1e910a182e73: Verifying Checksum [2020-10-16T09:40:55.644Z] 1e910a182e73: Download complete [2020-10-16T09:40:55.921Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:40:55.921Z] df20fa9351a1: Download complete [2020-10-16T09:40:56.542Z] df20fa9351a1: Pull complete [2020-10-16T09:40:56.873Z] ed8968b2872e: Pull complete [2020-10-16T09:40:56.873Z] a92cc7c5fd73: Pull complete [2020-10-16T09:41:00.466Z] 4e634b169226: Download complete [2020-10-16T09:41:03.307Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T09:41:03.307Z] e871e8e8d7a9: Download complete [2020-10-16T09:41:13.576Z] e871e8e8d7a9: Pull complete [2020-10-16T09:41:13.576Z] e73272ec9a57: Pull complete [2020-10-16T09:41:13.576Z] 1e910a182e73: Pull complete [2020-10-16T09:41:23.887Z] 4e634b169226: Pull complete [2020-10-16T09:41:23.887Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T09:41:23.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T09:41:23.887Z] ---> f7629b54cfaa [2020-10-16T09:41:23.887Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-10-16T09:41:23.887Z] ---> Running in 40fbaf99a573 [2020-10-16T09:41:23.887Z] Removing intermediate container 40fbaf99a573 [2020-10-16T09:41:23.887Z] ---> 051d31b2e082 [2020-10-16T09:41:23.887Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:41:23.887Z] ---> Running in cadab8fa14b1 [2020-10-16T09:41:24.975Z] Removing intermediate container cadab8fa14b1 [2020-10-16T09:41:24.975Z] ---> 269bb6934c78 [2020-10-16T09:41:24.975Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-10-16T09:41:25.394Z] ---> Running in 3da7d55fa465 [2020-10-16T09:41:25.670Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:41:26.676Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:41:27.284Z] (1/14) Installing libmagic (5.38-r0) [2020-10-16T09:41:27.602Z] (2/14) Installing file (5.38-r0) [2020-10-16T09:41:27.602Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-10-16T09:41:27.602Z] (4/14) Installing g++ (9.3.0-r2) [2020-10-16T09:41:40.263Z] (5/14) Installing fortify-headers (1.1-r0) [2020-10-16T09:41:40.263Z] (6/14) Installing patch (2.7.6-r6) [2020-10-16T09:41:40.263Z] (7/14) Installing build-base (0.5-r2) [2020-10-16T09:41:40.553Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-10-16T09:41:40.553Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-10-16T09:41:40.822Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-10-16T09:41:41.916Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-10-16T09:41:41.916Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-10-16T09:41:41.916Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-10-16T09:41:42.230Z] (14/14) Installing openssh (8.3_p1-r0) [2020-10-16T09:41:42.526Z] Executing busybox-1.31.1-r16.trigger [2020-10-16T09:41:42.526Z] OK: 237 MiB in 53 packages [2020-10-16T09:41:46.246Z] Removing intermediate container 3da7d55fa465 [2020-10-16T09:41:46.246Z] ---> ab632855c3cd [2020-10-16T09:41:46.246Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-10-16T09:41:46.246Z] ---> Running in 6a56de3d1a5a [2020-10-16T09:41:46.246Z] Removing intermediate container 6a56de3d1a5a [2020-10-16T09:41:46.246Z] ---> be2697b9e4ca [2020-10-16T09:41:46.246Z] Step 7/8 : COPY . . [2020-10-16T09:41:46.838Z] ---> c901e313a3c2 [2020-10-16T09:41:46.838Z] Step 8/8 : RUN go mod download [2020-10-16T09:41:46.838Z] ---> Running in 88780736ee26 [2020-10-16T09:42:01.961Z] Removing intermediate container 88780736ee26 [2020-10-16T09:42:01.961Z] ---> e883a8b7bddb [2020-10-16T09:42:01.961Z] Successfully built e883a8b7bddb [2020-10-16T09:42:01.961Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:42:02.617Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:42:02.617Z] . [Pipeline] withDockerContainer [2020-10-16T09:42:03.063Z] prd-centos7-docker-4c-2g-5869 does not seem to be running inside a container [2020-10-16T09:42:03.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T09:42:04.753Z] $ docker top 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:42:05.361Z] + go version [2020-10-16T09:42:05.361Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T09:42:05.414Z] $ docker stop --time=1 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f [2020-10-16T09:42:07.090Z] $ docker rm -f 696579584d8fb25c62c65e159c77024d58b3c85539e95ee4545229a8101aad4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:42:08.030Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:42:08.030Z] . [Pipeline] withDockerContainer [2020-10-16T09:42:08.209Z] prd-centos7-docker-4c-2g-5869 does not seem to be running inside a container [2020-10-16T09:42:08.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T09:42:09.192Z] $ docker top 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:42:09.874Z] + make test [2020-10-16T09:42:09.874Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-10-16T09:42:10.874Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2020-10-16T09:42:19.307Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-5871 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws [2020-10-16T09:42:19.364Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2020-10-16T09:42:23.374Z] using credential edgex-jenkins-ssh [2020-10-16T09:42:23.437Z] Cloning the remote Git repository [2020-10-16T09:42:23.493Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:42:23.595Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2020-10-16T09:42:23.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:42:23.659Z] > git --version # timeout=10 [2020-10-16T09:42:23.673Z] > git --version # 'git version 2.17.1' [2020-10-16T09:42:23.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:42:23.721Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:42:24.884Z] Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:42:25.078Z] Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:42:25.079Z] Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) [2020-10-16T09:42:24.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:42:24.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:42:24.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:42:24.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:42:24.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:42:24.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:42:24.906Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:42:24.917Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:42:24.987Z] > git remote # timeout=10 [2020-10-16T09:42:25.003Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:42:25.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:42:25.046Z] > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 [2020-10-16T09:42:25.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:42:25.088Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:42:25.097Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:42:29.178Z] Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [2020-10-16T09:42:29.565Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2020-10-16T09:42:29.565Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.024s coverage: 28.3% of statements [2020-10-16T09:42:29.565Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2020-10-16T09:42:29.565Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-16T09:42:32.031Z] + find /w/workspace/device-mqtt-go/5 [2020-10-16T09:42:32.031Z] + grep snapcraft.yaml [2020-10-16T09:42:32.031Z] + grep -Po ^name: \K(.*) /w/workspace/device-mqtt-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [2020-10-16T09:42:32.241Z] gofmt -l . [Pipeline] configFileProvider [2020-10-16T09:42:32.280Z] provisioning config files... [2020-10-16T09:42:32.302Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/5@tmp/config559952197406761238tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:42:32.512Z] ["`gofmt -l .`" = ""] [2020-10-16T09:42:32.513Z] ./bin/test-attribution-txt.sh [2020-10-16T09:42:32.703Z] + cp /w/workspace/device-mqtt-go/5@tmp/config559952197406761238tmp /w/workspace/device-mqtt-go/5/edgex-snap-store-login [Pipeline] sh [2020-10-16T09:42:33.043Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/5:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-10-16T09:42:33.537Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:42:33.564Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T09:42:33.643Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-10-16T09:42:33.917Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-10-16T09:42:33.917Z] 237528ba509b: Pulling fs layer [2020-10-16T09:42:33.917Z] 393b96f31d8b: Pulling fs layer [2020-10-16T09:42:33.917Z] 4d82b0e39008: Pulling fs layer [2020-10-16T09:42:33.917Z] e7ca375b8d34: Pulling fs layer [2020-10-16T09:42:33.917Z] 418f656485bb: Pulling fs layer [2020-10-16T09:42:33.917Z] aebe8db9254c: Pulling fs layer [2020-10-16T09:42:33.917Z] 418f656485bb: Waiting [2020-10-16T09:42:33.917Z] e7ca375b8d34: Waiting [2020-10-16T09:42:33.917Z] 4f5f7b207d3f: Pulling fs layer [2020-10-16T09:42:33.917Z] d19ca6af091a: Pulling fs layer [2020-10-16T09:42:33.917Z] aebe8db9254c: Waiting [2020-10-16T09:42:33.917Z] 16b5a0711add: Pulling fs layer [2020-10-16T09:42:33.917Z] 4f5f7b207d3f: Waiting [2020-10-16T09:42:33.917Z] d19ca6af091a: Waiting [2020-10-16T09:42:33.917Z] 16b5a0711add: Waiting [2020-10-16T09:42:33.917Z] 4d82b0e39008: Verifying Checksum [2020-10-16T09:42:33.917Z] 4d82b0e39008: Download complete [2020-10-16T09:42:33.917Z] e7ca375b8d34: Verifying Checksum [2020-10-16T09:42:33.917Z] e7ca375b8d34: Download complete [2020-10-16T09:42:33.917Z] aebe8db9254c: Download complete [2020-10-16T09:42:33.936Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:42:33.947Z] $ docker stop --time=1 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 [2020-10-16T09:42:34.512Z] 4f5f7b207d3f: Verifying Checksum [2020-10-16T09:42:34.512Z] 4f5f7b207d3f: Download complete [2020-10-16T09:42:34.785Z] d19ca6af091a: Verifying Checksum [2020-10-16T09:42:34.785Z] d19ca6af091a: Download complete [2020-10-16T09:42:34.785Z] 16b5a0711add: Verifying Checksum [2020-10-16T09:42:34.785Z] 16b5a0711add: Download complete [2020-10-16T09:42:36.470Z] $ docker rm -f 20a2eb4329f3a80ac4ebf40394dc04c084a590cad04001bd70c58b3c573fd1f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T09:42:37.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:42:38.046Z] + ls -al . [2020-10-16T09:42:38.046Z] total 100 [2020-10-16T09:42:38.046Z] drwxrwxr-x. 9 jenkins jenkins 4096 Oct 16 09:42 . [2020-10-16T09:42:38.046Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 09:40 .. [2020-10-16T09:42:38.046Z] -rw-rw-r--. 1 jenkins jenkins 5255 Oct 16 09:40 Attribution.txt [2020-10-16T09:42:38.046Z] drwxrwxr-x. 2 jenkins jenkins 87 Oct 16 09:40 bin [2020-10-16T09:42:38.046Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 16 09:40 cmd [2020-10-16T09:42:38.046Z] -rw-r--r--. 1 jenkins jenkins 18939 Oct 16 09:42 coverage.out [2020-10-16T09:42:38.046Z] -rw-rw-r--. 1 jenkins jenkins 1784 Oct 16 09:40 Dockerfile [2020-10-16T09:42:38.046Z] -rw-rw-r--. 1 jenkins jenkins 953 Oct 16 09:40 Dockerfile.build [2020-10-16T09:42:38.046Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:40 .dockerignore [2020-10-16T09:42:38.046Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:40 .git [2020-10-16T09:42:38.046Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:40 .github [2020-10-16T09:42:38.046Z] -rw-rw-r--. 1 jenkins jenkins 336 Oct 16 09:40 .gitignore [2020-10-16T09:42:38.047Z] -rw-r--r--. 1 jenkins jenkins 546 Oct 16 09:42 go.mod [2020-10-16T09:42:38.047Z] -rw-r--r--. 1 jenkins jenkins 13621 Oct 16 09:42 go.sum [2020-10-16T09:42:38.047Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 16 09:40 internal [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 16 09:40 Jenkinsfile [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 16 09:40 LICENSE [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 902 Oct 16 09:40 Makefile [2020-10-16T09:42:38.047Z] drwxrwxr-x. 2 jenkins jenkins 23 Oct 16 09:40 mock [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 16 09:40 README.md [2020-10-16T09:42:38.047Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:40 snap [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:34 VERSION [2020-10-16T09:42:38.047Z] -rw-rw-r--. 1 jenkins jenkins 227 Oct 16 09:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:42:38.412Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 --label arch=amd64 --label version=0.0.0 . [2020-10-16T09:42:38.680Z] Sending build context to Docker daemon 471.6kB [2020-10-16T09:42:38.680Z] Step 1/22 : ARG BASE=golang:1.15-alpine [2020-10-16T09:42:38.680Z] Step 2/22 : FROM ${BASE} AS builder [2020-10-16T09:42:38.680Z] ---> e883a8b7bddb [2020-10-16T09:42:38.680Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2020-10-16T09:42:38.680Z] ---> Running in f7a4a0dbb122 [2020-10-16T09:42:38.946Z] Removing intermediate container f7a4a0dbb122 [2020-10-16T09:42:38.946Z] ---> 1bdb8d815eb5 [2020-10-16T09:42:38.946Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2020-10-16T09:42:38.946Z] ---> Running in 9dc8c86785ae [2020-10-16T09:42:39.088Z] 237528ba509b: Verifying Checksum [2020-10-16T09:42:39.088Z] 237528ba509b: Download complete [2020-10-16T09:42:39.212Z] Removing intermediate container 9dc8c86785ae [2020-10-16T09:42:39.212Z] ---> 61837d2e80f3 [2020-10-16T09:42:39.212Z] Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:42:39.212Z] ---> Running in cd8e37779fa5 [2020-10-16T09:42:40.177Z] Removing intermediate container cd8e37779fa5 [2020-10-16T09:42:40.177Z] ---> f8796e16afd0 [2020-10-16T09:42:40.177Z] Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-10-16T09:42:40.177Z] ---> Running in abd134c78ed2 [2020-10-16T09:42:40.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:42:42.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:42:42.481Z] 237528ba509b: Pull complete [2020-10-16T09:42:42.481Z] 393b96f31d8b: Pull complete [2020-10-16T09:42:42.757Z] 4d82b0e39008: Pull complete [2020-10-16T09:42:43.354Z] e7ca375b8d34: Pull complete [2020-10-16T09:42:44.170Z] OK: 237 MiB in 53 packages [2020-10-16T09:42:44.757Z] Removing intermediate container abd134c78ed2 [2020-10-16T09:42:44.757Z] ---> 998028792824 [2020-10-16T09:42:44.757Z] Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go [2020-10-16T09:42:44.757Z] ---> Running in 170ee8395521 [2020-10-16T09:42:45.027Z] Removing intermediate container 170ee8395521 [2020-10-16T09:42:45.027Z] ---> 61bd7d751f3f [2020-10-16T09:42:45.027Z] Step 8/22 : COPY . . [2020-10-16T09:42:45.616Z] ---> 69eb673a5a2c [2020-10-16T09:42:45.616Z] Step 9/22 : ARG MAKE='make build' [2020-10-16T09:42:45.616Z] ---> Running in 752caf41060c [2020-10-16T09:42:45.890Z] Removing intermediate container 752caf41060c [2020-10-16T09:42:45.890Z] ---> 898bb6dab1dd [2020-10-16T09:42:45.890Z] Step 10/22 : RUN $MAKE [2020-10-16T09:42:45.890Z] ---> Running in 32fd703f48fc [2020-10-16T09:42:46.875Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-16T09:42:53.508Z] 418f656485bb: Verifying Checksum [2020-10-16T09:42:53.508Z] 418f656485bb: Download complete [2020-10-16T09:43:02.364Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-16T09:43:05.775Z] Removing intermediate container 32fd703f48fc [2020-10-16T09:43:05.775Z] ---> db10c07af1e3 [2020-10-16T09:43:05.775Z] Step 11/22 : FROM alpine [2020-10-16T09:43:06.044Z] latest: Pulling from library/alpine [2020-10-16T09:43:06.044Z] df20fa9351a1: Already exists [2020-10-16T09:43:06.310Z] Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 [2020-10-16T09:43:06.310Z] Status: Downloaded newer image for alpine:latest [2020-10-16T09:43:06.310Z] ---> a24bb4013296 [2020-10-16T09:43:06.310Z] Step 12/22 : ENV APP_PORT=49982 [2020-10-16T09:43:06.310Z] ---> Running in 27184bdce60a [2020-10-16T09:43:06.578Z] Removing intermediate container 27184bdce60a [2020-10-16T09:43:06.578Z] ---> bf717c2bab6a [2020-10-16T09:43:06.578Z] Step 13/22 : EXPOSE $APP_PORT [2020-10-16T09:43:06.578Z] ---> Running in 3a9925516222 [2020-10-16T09:43:06.844Z] Removing intermediate container 3a9925516222 [2020-10-16T09:43:06.844Z] ---> 91c633fbc75d [2020-10-16T09:43:06.844Z] Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / [2020-10-16T09:43:07.798Z] ---> b159c323a045 [2020-10-16T09:43:07.798Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / [2020-10-16T09:43:07.798Z] ---> 8c51bc4cdc8c [2020-10-16T09:43:07.798Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / [2020-10-16T09:43:08.117Z] ---> c840d33f2ac4 [2020-10-16T09:43:08.118Z] Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' [2020-10-16T09:43:08.389Z] ---> Running in b4e7bd7b019a [2020-10-16T09:43:08.389Z] Removing intermediate container b4e7bd7b019a [2020-10-16T09:43:08.389Z] ---> 6864902be60c [2020-10-16T09:43:08.389Z] Step 18/22 : ENTRYPOINT ["/device-mqtt"] [2020-10-16T09:43:08.659Z] ---> Running in 3a88fb98b050 [2020-10-16T09:43:08.659Z] Removing intermediate container 3a88fb98b050 [2020-10-16T09:43:08.659Z] ---> ad4c2d06d515 [2020-10-16T09:43:08.659Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:43:08.937Z] ---> Running in 73055d4a8e8a [2020-10-16T09:43:08.937Z] Removing intermediate container 73055d4a8e8a [2020-10-16T09:43:08.937Z] ---> 646f6690a313 [2020-10-16T09:43:08.937Z] Step 20/22 : LABEL arch=amd64 [2020-10-16T09:43:09.249Z] ---> Running in daf51aebe884 [2020-10-16T09:43:09.249Z] Removing intermediate container daf51aebe884 [2020-10-16T09:43:09.249Z] ---> 962c303005b3 [2020-10-16T09:43:09.249Z] Step 21/22 : LABEL git_sha=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:43:09.595Z] ---> Running in e6da7e39f26e [2020-10-16T09:43:09.595Z] Removing intermediate container e6da7e39f26e [2020-10-16T09:43:09.595Z] ---> c8d5c98299cd [2020-10-16T09:43:09.595Z] Step 22/22 : LABEL version=0.0.0 [2020-10-16T09:43:09.886Z] ---> Running in c49a9873710f [2020-10-16T09:43:09.886Z] Removing intermediate container c49a9873710f [2020-10-16T09:43:09.886Z] ---> 82b28dee6f0f [2020-10-16T09:43:09.886Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:43:09.886Z] Successfully built 82b28dee6f0f [2020-10-16T09:43:09.886Z] 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 [2020-10-16T09:43:25.667Z] Still waiting to schedule task [2020-10-16T09:43:25.667Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-10-16T09:43:40.481Z] 418f656485bb: Pull complete [2020-10-16T09:43:40.481Z] aebe8db9254c: Pull complete [2020-10-16T09:43:40.481Z] 4f5f7b207d3f: Pull complete [2020-10-16T09:43:40.481Z] d19ca6af091a: Pull complete [2020-10-16T09:43:40.481Z] 16b5a0711add: Pull complete [2020-10-16T09:43:40.481Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-10-16T09:43:40.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-10-16T09:43:40.481Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-16T09:43:40.481Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-10-16T09:43:40.481Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-10-16T09:43:40.481Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-10-16T09:43:40.756Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1401 kB] [2020-10-16T09:43:41.031Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [2242 B] [2020-10-16T09:43:41.031Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5546 B] [2020-10-16T09:43:41.031Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1856 kB] [2020-10-16T09:43:41.306Z] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB] [2020-10-16T09:43:41.306Z] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB] [2020-10-16T09:43:41.306Z] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1173 kB] [2020-10-16T09:43:41.578Z] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1024 kB] [2020-10-16T09:43:41.852Z] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2430 B] [2020-10-16T09:43:41.852Z] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [1149 B] [2020-10-16T09:43:42.125Z] Fetched 5740 kB in 2s (2382 kB/s) [2020-10-16T09:43:46.433Z] Reading package lists... [2020-10-16T09:44:01.501Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-10-16T09:44:01.501Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-10-16T09:44:01.501Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-10-16T09:44:01.501Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-10-16T09:44:05.012Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 10% Reading package lists... 32% Reading package lists... 54% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 74% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-16T09:44:11.706Z] 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 [2020-10-16T09:44:15.223Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 11% Reading package lists... 33% Reading package lists... 55% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 76% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 77% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-16T09:44:15.834Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-10-16T09:44:15.834Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-10-16T09:44:17.169Z] The following packages were automatically installed and are no longer required: [2020-10-16T09:44:17.169Z] libjq1 libonig4 [2020-10-16T09:44:17.169Z] Use 'sudo apt autoremove' to remove them. [2020-10-16T09:44:17.169Z] Suggested packages: [2020-10-16T09:44:17.169Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-10-16T09:44:17.169Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-10-16T09:44:17.169Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-10-16T09:44:17.169Z] | libterm-readline-perl-perl [2020-10-16T09:44:17.169Z] The following NEW packages will be installed: [2020-10-16T09:44:17.169Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-10-16T09:44:17.169Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-10-16T09:44:17.169Z] 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. [2020-10-16T09:44:17.169Z] Need to get 10.8 MB of archives. [2020-10-16T09:44:17.169Z] After this operation, 73.6 MB of additional disk space will be used. [2020-10-16T09:44:17.169Z] 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] [2020-10-16T09:44:18.030Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 689 kB/2763 kB 25%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-10-16T09:44:18.030Z] 22% [2 libgdbm5 0 B/23.1 kB 0%] 24% [Waiting for headers] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-10-16T09:44:18.030Z] 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] [2020-10-16T09:44:18.301Z] 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-10-16T09:44:18.302Z] 51% [5 perl 12.3 kB/201 kB 6%] 54% [Waiting for headers] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-10-16T09:44:18.302Z] 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Waiting for headers] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-10-16T09:44:18.302Z] 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] [2020-10-16T09:44:18.302Z] 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] [2020-10-16T09:44:18.302Z] 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] [2020-10-16T09:44:18.302Z] 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-10-16T09:44:18.302Z] 65% [11 git-man 20.5 kB/804 kB 3%] 72% [Waiting for headers] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-10-16T09:44:18.572Z] 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] [2020-10-16T09:44:18.572Z] 95% [13 make 8505 B/139 kB 6%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-10-16T09:44:18.572Z] 98% [14 patch 49.2 kB/91.8 kB 54%] 100% [Working] Fetched 10.8 MB in 2s (6981 kB/s) [2020-10-16T09:44:18.843Z] debconf: delaying package configuration, since apt-utils is not installed [2020-10-16T09:44:19.114Z] Selecting previously unselected package perl-modules-5.26. [2020-10-16T09:44:19.114Z] (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.) [2020-10-16T09:44:19.114Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-10-16T09:44:19.114Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:20.541Z] Selecting previously unselected package libgdbm5:arm64. [2020-10-16T09:44:20.541Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-10-16T09:44:20.541Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-10-16T09:44:20.814Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-10-16T09:44:20.814Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-10-16T09:44:20.814Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-10-16T09:44:20.814Z] Selecting previously unselected package libperl5.26:arm64. [2020-10-16T09:44:20.814Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-10-16T09:44:20.814Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:22.249Z] Selecting previously unselected package perl. [2020-10-16T09:44:22.249Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-10-16T09:44:22.249Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:22.530Z] Selecting previously unselected package less. [2020-10-16T09:44:22.530Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-10-16T09:44:22.530Z] Unpacking less (487-0.1) ... [2020-10-16T09:44:22.530Z] Selecting previously unselected package netbase. [2020-10-16T09:44:22.530Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-10-16T09:44:22.530Z] Unpacking netbase (5.4) ... [2020-10-16T09:44:22.801Z] Selecting previously unselected package curl. [2020-10-16T09:44:22.801Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-10-16T09:44:22.801Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-10-16T09:44:22.801Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-10-16T09:44:22.801Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-10-16T09:44:22.801Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-10-16T09:44:23.073Z] Selecting previously unselected package liberror-perl. [2020-10-16T09:44:23.073Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-10-16T09:44:23.073Z] Unpacking liberror-perl (0.17025-1) ... [2020-10-16T09:44:23.073Z] Selecting previously unselected package git-man. [2020-10-16T09:44:23.073Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-10-16T09:44:23.073Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:44:23.348Z] Selecting previously unselected package git. [2020-10-16T09:44:23.348Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-10-16T09:44:23.624Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:44:24.603Z] Selecting previously unselected package make. [2020-10-16T09:44:24.603Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-10-16T09:44:24.603Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-10-16T09:44:24.877Z] Selecting previously unselected package patch. [2020-10-16T09:44:24.877Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-10-16T09:44:24.877Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-10-16T09:44:25.151Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:44:25.151Z] Setting up less (487-0.1) ... [2020-10-16T09:44:25.423Z] Setting up make (4.1-9.1ubuntu1) ... [2020-10-16T09:44:25.423Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-10-16T09:44:25.423Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-10-16T09:44:25.694Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:25.694Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-10-16T09:44:25.694Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-10-16T09:44:25.694Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-10-16T09:44:25.694Z] Setting up netbase (5.4) ... [2020-10-16T09:44:25.966Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:25.966Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-10-16T09:44:25.966Z] Setting up liberror-perl (0.17025-1) ... [2020-10-16T09:44:25.966Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:44:26.238Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-16T09:44:26.238Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-16T09:44:31.620Z] curl set to automatically installed. [2020-10-16T09:44:31.620Z] git set to automatically installed. [2020-10-16T09:44:31.620Z] git-man set to automatically installed. [2020-10-16T09:44:31.620Z] less set to automatically installed. [2020-10-16T09:44:31.620Z] libcurl3-gnutls set to automatically installed. [2020-10-16T09:44:31.620Z] liberror-perl set to automatically installed. [2020-10-16T09:44:31.620Z] libgdbm-compat4 set to automatically installed. [2020-10-16T09:44:31.892Z] libgdbm5 set to automatically installed. [2020-10-16T09:44:31.892Z] libperl5.26 set to automatically installed. [2020-10-16T09:44:31.892Z] make set to automatically installed. [2020-10-16T09:44:31.892Z] netbase set to automatically installed. [2020-10-16T09:44:31.892Z] patch set to automatically installed. [2020-10-16T09:44:31.892Z] perl set to automatically installed. [2020-10-16T09:44:31.892Z] perl-modules-5.26 set to automatically installed. [2020-10-16T09:44:32.165Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-10-16T09:44:32.165Z] Please ensure the environment is properly setup before continuing. [2020-10-16T09:44:32.165Z] Ignore this message if the appropriate measures have already been taken [2020-10-16T09:44:32.762Z] Pulling go  [2020-10-16T09:44:34.194Z] Running on prd-centos7-docker-8c-8g-5872 in /w/workspace/gexfoundry_device-mqtt-go_PR-170 [Pipeline] { [Pipeline] ws [2020-10-16T09:44:34.248Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2020-10-16T09:44:36.163Z] 'device-mqtt' has dependencies that need to be staged: go [2020-10-16T09:44:36.163Z] Skipping pull go (already ran) [2020-10-16T09:44:36.163Z] Building go  [2020-10-16T09:44:36.163Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:44:36.163Z] Dload Upload Total Spent Left Speed [2020-10-16T09:44:36.277Z] using credential edgex-jenkins-ssh [2020-10-16T09:44:36.328Z] Cloning the remote Git repository [2020-10-16T09:44:36.277Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:44:36.341Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2020-10-16T09:44:36.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:44:36.366Z] > git --version # timeout=10 [2020-10-16T09:44:36.371Z] > git --version # 'git version 2.16.5' [2020-10-16T09:44:36.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:44:36.394Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:44:37.394Z] Merging remotes/origin/master commit f7b704da3e9a84fb10464ba1b2bdd449b0700fcc into PR head commit 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:44:37.462Z] Merge succeeded, producing 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [2020-10-16T09:44:37.463Z] Checking out Revision 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 (PR-170) [2020-10-16T09:44:37.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:44:37.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:44:37.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-10-16T09:44:37.039Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-10-16T09:44:37.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:44:37.043Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T09:44:37.405Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:44:37.410Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:44:37.438Z] > git remote # timeout=10 [2020-10-16T09:44:37.442Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:44:37.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:44:37.450Z] > git merge f7b704da3e9a84fb10464ba1b2bdd449b0700fcc # timeout=10 [2020-10-16T09:44:37.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:44:37.469Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:44:37.473Z] > git checkout -f 7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 # timeout=10 [2020-10-16T09:44:38.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 26 93.2M 26 24.6M 0 0 28.7M 0 0:00:03 --:--:-- 0:00:03 28.6M 69 93.2M 69 64.8M 0 0 35.4M 0 0:00:02 0:00:01 0:00:01 35.4M 100 93.2M 100 93.2M 0 0 37.2M 0 0:00:02 0:00:02 --:--:-- 37.2M [2020-10-16T09:44:40.136Z] go1.15.2.linux-arm64.tar.gz: OK [2020-10-16T09:44:41.041Z] Commit message: "Bump github.com/spf13/cast from 1.3.0 to 1.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-10-16T09:44:42.411Z] ++ find /w/workspace/device-mqtt-go/5 [2020-10-16T09:44:42.411Z] ++ grep snapcraft.yaml [2020-10-16T09:44:42.411Z] + grep -Po '^name: \K(.*)' /w/workspace/device-mqtt-go/5/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T09:44:42.541Z] provisioning config files... [2020-10-16T09:44:42.552Z] copy managed file [EdgeX] to file:/w/workspace/device-mqtt-go/5@tmp/config6042978196490518875tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:44:42.923Z] + cp /w/workspace/device-mqtt-go/5@tmp/config6042978196490518875tmp /w/workspace/device-mqtt-go/5/edgex-snap-store-login [Pipeline] sh [2020-10-16T09:44:43.227Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-mqtt-go/5:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-10-16T09:44:43.227Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-10-16T09:44:43.227Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-10-16T09:44:43.227Z] f08d8e2a3ba1: Pulling fs layer [2020-10-16T09:44:43.227Z] 3baa9cb2483b: Pulling fs layer [2020-10-16T09:44:43.227Z] 94e5ff4c0b15: Pulling fs layer [2020-10-16T09:44:43.227Z] 1860925334f9: Pulling fs layer [2020-10-16T09:44:43.227Z] 2daf38717194: Pulling fs layer [2020-10-16T09:44:43.227Z] 309017e8d7a4: Pulling fs layer [2020-10-16T09:44:43.227Z] f7790dc9fd0f: Pulling fs layer [2020-10-16T09:44:43.227Z] cac0ae9282c2: Pulling fs layer [2020-10-16T09:44:43.227Z] 1f4cadf9a1ed: Pulling fs layer [2020-10-16T09:44:43.227Z] cac0ae9282c2: Waiting [2020-10-16T09:44:43.227Z] f7790dc9fd0f: Waiting [2020-10-16T09:44:43.227Z] 309017e8d7a4: Waiting [2020-10-16T09:44:43.227Z] 1f4cadf9a1ed: Waiting [2020-10-16T09:44:43.227Z] 1860925334f9: Waiting [2020-10-16T09:44:43.227Z] 2daf38717194: Waiting [2020-10-16T09:44:43.227Z] 3baa9cb2483b: Download complete [2020-10-16T09:44:43.227Z] 94e5ff4c0b15: Verifying Checksum [2020-10-16T09:44:43.227Z] 94e5ff4c0b15: Download complete [2020-10-16T09:44:43.488Z] 1860925334f9: Verifying Checksum [2020-10-16T09:44:43.488Z] 1860925334f9: Download complete [2020-10-16T09:44:43.488Z] 309017e8d7a4: Verifying Checksum [2020-10-16T09:44:43.488Z] 309017e8d7a4: Download complete [2020-10-16T09:44:43.488Z] f7790dc9fd0f: Verifying Checksum [2020-10-16T09:44:43.488Z] f7790dc9fd0f: Download complete [2020-10-16T09:44:43.488Z] cac0ae9282c2: Download complete [2020-10-16T09:44:43.488Z] 1f4cadf9a1ed: Verifying Checksum [2020-10-16T09:44:45.404Z] f08d8e2a3ba1: Verifying Checksum [2020-10-16T09:44:45.404Z] f08d8e2a3ba1: Download complete [2020-10-16T09:44:46.347Z] f08d8e2a3ba1: Pull complete [2020-10-16T09:44:46.347Z] 3baa9cb2483b: Pull complete [2020-10-16T09:44:46.608Z] 94e5ff4c0b15: Pull complete [2020-10-16T09:44:46.608Z] 1860925334f9: Pull complete [2020-10-16T09:44:50.820Z] 2daf38717194: Verifying Checksum [2020-10-16T09:44:50.820Z] 2daf38717194: Download complete [2020-10-16T09:44:58.435Z] Staging go  [2020-10-16T09:45:01.090Z] Pulling device-mqtt  [2020-10-16T09:45:04.512Z] Skipping build go (already ran) [2020-10-16T09:45:04.512Z] Building device-mqtt  [2020-10-16T09:45:04.512Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-16T09:45:05.954Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-10-16T09:45:05.954Z] go: downloading github.com/spf13/cast v1.3.1 [2020-10-16T09:45:05.954Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-10-16T09:45:05.954Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-10-16T09:45:05.954Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-10-16T09:45:05.954Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-10-16T09:45:05.954Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-10-16T09:45:05.954Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-10-16T09:45:05.954Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-10-16T09:45:06.230Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-10-16T09:45:06.230Z] go: downloading github.com/google/uuid v1.1.1 [2020-10-16T09:45:06.230Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-10-16T09:45:06.230Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-10-16T09:45:06.230Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-10-16T09:45:06.230Z] go: downloading github.com/pkg/errors v0.8.1 [2020-10-16T09:45:06.230Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-10-16T09:45:06.230Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-10-16T09:45:06.230Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-10-16T09:45:06.230Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-10-16T09:45:06.230Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-10-16T09:45:06.230Z] go: downloading github.com/x448/float16 v0.8.4 [2020-10-16T09:45:06.501Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-10-16T09:45:06.501Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-10-16T09:45:06.501Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-10-16T09:45:06.501Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-10-16T09:45:06.501Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-10-16T09:45:06.501Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-10-16T09:45:06.501Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-10-16T09:45:06.501Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-10-16T09:45:06.773Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-10-16T09:45:06.773Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-10-16T09:45:06.773Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-10-16T09:45:06.773Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-10-16T09:45:08.957Z] 2daf38717194: Pull complete [2020-10-16T09:45:08.957Z] 309017e8d7a4: Pull complete [2020-10-16T09:45:08.957Z] f7790dc9fd0f: Pull complete [2020-10-16T09:45:08.957Z] cac0ae9282c2: Pull complete [2020-10-16T09:45:08.957Z] 1f4cadf9a1ed: Pull complete [2020-10-16T09:45:08.957Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-10-16T09:45:08.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-10-16T09:45:10.351Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-10-16T09:45:10.351Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-10-16T09:45:10.351Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-10-16T09:45:10.351Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-10-16T09:45:10.612Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.0 kB] [2020-10-16T09:45:10.612Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2150 kB] [2020-10-16T09:45:10.612Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1348 kB] [2020-10-16T09:45:10.872Z] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1733 kB] [2020-10-16T09:45:11.132Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [231 kB] [2020-10-16T09:45:11.132Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2112 kB] [2020-10-16T09:45:11.132Z] Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [205 kB] [2020-10-16T09:45:11.132Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [45.5 kB] [2020-10-16T09:45:11.132Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-10-16T09:45:11.132Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-10-16T09:45:11.705Z] Fetched 8114 kB in 2s (4639 kB/s) [2020-10-16T09:45:13.089Z] Reading package lists... [2020-10-16T09:45:15.895Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-10-16T09:45:15.895Z] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-10-16T09:45:15.895Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-10-16T09:45:16.157Z] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-10-16T09:45:17.250Z] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 62% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-16T09:45:19.166Z] 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 [2020-10-16T09:45:19.998Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 73% Reading package lists... 73% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-10-16T09:45:20.261Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-10-16T09:45:20.261Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-10-16T09:45:20.261Z] The following packages were automatically installed and are no longer required: [2020-10-16T09:45:20.261Z] libjq1 libonig4 [2020-10-16T09:45:20.261Z] Use 'sudo apt autoremove' to remove them. [2020-10-16T09:45:20.261Z] Suggested packages: [2020-10-16T09:45:20.261Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-10-16T09:45:20.261Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-10-16T09:45:20.261Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-10-16T09:45:20.261Z] | libterm-readline-perl-perl [2020-10-16T09:45:20.522Z] The following NEW packages will be installed: [2020-10-16T09:45:20.522Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-10-16T09:45:20.522Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-10-16T09:45:20.522Z] 0 upgraded, 14 newly installed, 0 to remove and 29 not upgraded. [2020-10-16T09:45:20.522Z] Need to get 12.0 MB of archives. [2020-10-16T09:45:20.522Z] After this operation, 77.5 MB of additional disk space will be used. [2020-10-16T09:45:20.522Z] 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] [2020-10-16T09:45:21.351Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 698 kB/2763 kB 25%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-10-16T09:45:21.351Z] 21% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-10-16T09:45:21.351Z] 21% [3 libgdbm-compat4 6084 B/6084 B 100%] 23% [Working] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-10-16T09:45:21.612Z] 23% [4 libperl5.26 22.2 kB/3527 kB 1%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-10-16T09:45:21.612Z] 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-10-16T09:45:21.612Z] 51% [6 less 28.4 kB/112 kB 25%] 53% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-10-16T09:45:21.612Z] 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-10-16T09:45:21.612Z] 54% [8 curl 34.7 kB/159 kB 22%] 57% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-10-16T09:45:21.612Z] 57% [9 libcurl3-gnutls 6834 B/213 kB 3%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-10-16T09:45:21.612Z] 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-10-16T09:45:21.612Z] 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-10-16T09:45:21.873Z] 68% [12 git 15.7 kB/3915 kB 0%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-10-16T09:45:21.873Z] 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] [2020-10-16T09:45:21.873Z] 98% [14 patch 9523 B/102 kB 9%] 100% [Working] Fetched 12.0 MB in 1s (9106 kB/s) [2020-10-16T09:45:21.873Z] debconf: delaying package configuration, since apt-utils is not installed [2020-10-16T09:45:21.873Z] Selecting previously unselected package perl-modules-5.26. [2020-10-16T09:45:21.873Z] (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.) [2020-10-16T09:45:21.873Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-10-16T09:45:21.873Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:22.817Z] Selecting previously unselected package libgdbm5:amd64. [2020-10-16T09:45:22.817Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-10-16T09:45:22.817Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-10-16T09:45:23.078Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-10-16T09:45:23.078Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-10-16T09:45:23.078Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-10-16T09:45:23.078Z] Selecting previously unselected package libperl5.26:amd64. [2020-10-16T09:45:23.078Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-10-16T09:45:23.078Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:23.651Z] Selecting previously unselected package perl. [2020-10-16T09:45:23.651Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-10-16T09:45:23.651Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:23.651Z] Selecting previously unselected package less. [2020-10-16T09:45:23.651Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-10-16T09:45:23.651Z] Unpacking less (487-0.1) ... [2020-10-16T09:45:23.651Z] Selecting previously unselected package netbase. [2020-10-16T09:45:23.651Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-10-16T09:45:23.651Z] Unpacking netbase (5.4) ... [2020-10-16T09:45:23.911Z] Selecting previously unselected package curl. [2020-10-16T09:45:23.911Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-10-16T09:45:23.911Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-10-16T09:45:23.911Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-10-16T09:45:23.911Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-10-16T09:45:23.911Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-10-16T09:45:23.911Z] Selecting previously unselected package liberror-perl. [2020-10-16T09:45:23.911Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-10-16T09:45:23.911Z] Unpacking liberror-perl (0.17025-1) ... [2020-10-16T09:45:23.911Z] Selecting previously unselected package git-man. [2020-10-16T09:45:23.911Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-10-16T09:45:23.911Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:45:24.171Z] Selecting previously unselected package git. [2020-10-16T09:45:24.171Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-10-16T09:45:24.171Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:45:24.746Z] Selecting previously unselected package make. [2020-10-16T09:45:24.746Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-10-16T09:45:24.746Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-10-16T09:45:24.746Z] Selecting previously unselected package patch. [2020-10-16T09:45:24.746Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-10-16T09:45:24.746Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-10-16T09:45:24.746Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:45:24.746Z] Setting up less (487-0.1) ... [2020-10-16T09:45:25.007Z] Setting up make (4.1-9.1ubuntu1) ... [2020-10-16T09:45:25.007Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-10-16T09:45:25.007Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-10-16T09:45:25.007Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:25.007Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-10-16T09:45:25.007Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-10-16T09:45:25.007Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-10-16T09:45:25.007Z] Setting up netbase (5.4) ... [2020-10-16T09:45:25.100Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-16T09:45:25.268Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:25.268Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-10-16T09:45:25.268Z] Setting up liberror-perl (0.17025-1) ... [2020-10-16T09:45:25.268Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-10-16T09:45:25.268Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-10-16T09:45:25.268Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-10-16T09:45:26.659Z] curl set to automatically installed. [2020-10-16T09:45:26.659Z] git set to automatically installed. [2020-10-16T09:45:26.659Z] git-man set to automatically installed. [2020-10-16T09:45:26.659Z] less set to automatically installed. [2020-10-16T09:45:26.659Z] libcurl3-gnutls set to automatically installed. [2020-10-16T09:45:26.659Z] liberror-perl set to automatically installed. [2020-10-16T09:45:26.659Z] libgdbm-compat4 set to automatically installed. [2020-10-16T09:45:26.659Z] libgdbm5 set to automatically installed. [2020-10-16T09:45:26.659Z] libperl5.26 set to automatically installed. [2020-10-16T09:45:26.659Z] make set to automatically installed. [2020-10-16T09:45:26.659Z] netbase set to automatically installed. [2020-10-16T09:45:26.659Z] patch set to automatically installed. [2020-10-16T09:45:26.659Z] perl set to automatically installed. [2020-10-16T09:45:26.659Z] perl-modules-5.26 set to automatically installed. [2020-10-16T09:45:26.659Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-10-16T09:45:26.659Z] Please ensure the environment is properly setup before continuing. [2020-10-16T09:45:26.659Z] Ignore this message if the appropriate measures have already been taken [2020-10-16T09:45:27.598Z] Pulling go  [2020-10-16T09:45:28.541Z] 'device-mqtt' has dependencies that need to be staged: go [2020-10-16T09:45:28.541Z] Skipping pull go (already ran) [2020-10-16T09:45:28.541Z] Building go  [2020-10-16T09:45:28.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:45:28.541Z] Dload Upload Total Spent Left Speed [2020-10-16T09:45:30.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 23 115M 23 27.6M 0 0 43.8M 0 0:00:02 --:--:-- 0:00:02 43.8M 87 115M 87 101M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M 100 115M 100 115M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M [2020-10-16T09:45:31.263Z] go1.15.2.linux-amd64.tar.gz: OK [2020-10-16T09:45:36.582Z] Staging go  [2020-10-16T09:45:37.521Z] Pulling device-mqtt  [2020-10-16T09:45:38.463Z] Skipping build go (already ran) [2020-10-16T09:45:38.463Z] Building device-mqtt  [2020-10-16T09:45:38.463Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2020-10-16T09:45:39.407Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-10-16T09:45:39.407Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-10-16T09:45:39.407Z] go: downloading gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce [2020-10-16T09:45:39.407Z] go: downloading github.com/spf13/cast v1.3.1 [2020-10-16T09:45:39.407Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.1.1 [2020-10-16T09:45:39.407Z] go: downloading golang.org/x/net v0.0.0-20190213061140-3a22650c66bd [2020-10-16T09:45:39.407Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-10-16T09:45:39.407Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-10-16T09:45:39.407Z] go: downloading github.com/google/uuid v1.1.1 [2020-10-16T09:45:39.407Z] go: downloading github.com/pkg/errors v0.8.1 [2020-10-16T09:45:39.407Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-10-16T09:45:39.407Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-10-16T09:45:39.407Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-10-16T09:45:39.408Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-10-16T09:45:39.408Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-10-16T09:45:39.408Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-10-16T09:45:39.408Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-10-16T09:45:39.408Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-10-16T09:45:39.408Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-10-16T09:45:39.408Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-10-16T09:45:39.408Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-10-16T09:45:39.408Z] go: downloading github.com/x448/float16 v0.8.4 [2020-10-16T09:45:39.408Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-10-16T09:45:39.408Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-10-16T09:45:39.408Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-10-16T09:45:39.408Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-10-16T09:45:39.408Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-10-16T09:45:39.408Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-10-16T09:45:39.669Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-10-16T09:45:39.669Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-10-16T09:45:39.669Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-10-16T09:45:39.669Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-10-16T09:45:39.669Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2020-10-16T09:45:40.177Z] Skipping stage go (already ran) [2020-10-16T09:45:40.177Z] Staging device-mqtt  [2020-10-16T09:45:43.555Z] Priming go  [2020-10-16T09:45:44.986Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-10-16T09:45:46.167Z] Priming device-mqtt  [2020-10-16T09:45:48.286Z] Skipping stage go (already ran) [2020-10-16T09:45:48.286Z] Staging device-mqtt  [2020-10-16T09:45:48.856Z] Priming go  [2020-10-16T09:45:49.551Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-10-16T09:45:49.551Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-10-16T09:45:49.551Z] Determining the version from the project repo (version-script). [2020-10-16T09:45:49.551Z] The version has been set to 'local-dev-20201016+7cbfbfc' [2020-10-16T09:45:49.802Z] Priming device-mqtt  [2020-10-16T09:45:50.372Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-10-16T09:45:50.372Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-10-16T09:45:50.372Z] Determining the version from the project repo (version-script). [2020-10-16T09:45:50.372Z] The version has been set to 'local-dev-20201016+7cbfbfc' [2020-10-16T09:45:50.373Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | [2020-10-16T09:45:50.373Z] Snapped edgex-device-mqtt_local-dev-20201016+7cbfbfc_arm64.snap [2020-10-16T09:45:50.933Z] Snapping | Snapping / Snapping - Snapping | [2020-10-16T09:45:50.934Z] Snapped edgex-device-mqtt_local-dev-20201016+7cbfbfc_amd64.snap [Pipeline] } [2020-10-16T09:45:53.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [2020-10-16T09:45:53.570Z] Deleting 1 temporary files [Pipeline] // node [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-16T09:45:55.988Z] provisioning config files... [2020-10-16T09:45:56.004Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config8739439425964342211tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:45:56.393Z] + set +x [2020-10-16T09:45:56.393Z] + curl -s https://codecov.io/bash [2020-10-16T09:45:56.393Z] + bash -s -- [2020-10-16T09:45:56.665Z] [2020-10-16T09:45:56.665Z] _____ _ [2020-10-16T09:45:56.665Z] / ____| | | [2020-10-16T09:45:56.665Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T09:45:56.665Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T09:45:56.665Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T09:45:56.665Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T09:45:56.665Z] Bash-20201009-048fee3 [2020-10-16T09:45:56.665Z] [2020-10-16T09:45:56.665Z] [2020-10-16T09:45:56.665Z] ==> Jenkins CI detected. [2020-10-16T09:45:56.665Z] project root: . [2020-10-16T09:45:56.665Z] --> token set from env [2020-10-16T09:45:56.665Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T09:45:56.665Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T09:45:56.665Z] ==> Python coveragepy not found [2020-10-16T09:45:56.665Z] ==> Searching for coverage reports in: [2020-10-16T09:45:56.665Z] + . [2020-10-16T09:45:56.665Z] -> Found 1 reports [2020-10-16T09:45:56.665Z] ==> Detecting git/mercurial file structure [2020-10-16T09:45:56.665Z] ==> Reading reports [2020-10-16T09:45:56.665Z] + ./coverage.out bytes=18939 [2020-10-16T09:45:56.665Z] ==> Appending adjustments [2020-10-16T09:45:56.665Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T09:45:56.932Z] + Found adjustments [2020-10-16T09:45:56.932Z] ==> Gzipping contents [2020-10-16T09:45:56.932Z] ==> Uploading reports [2020-10-16T09:45:56.932Z] url: https://codecov.io [2020-10-16T09:45:56.932Z] query: branch=PR-170&commit=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2020-10-16T09:45:56.932Z] -> Pinging Codecov [2020-10-16T09:45:56.932Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-170&commit=7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-170%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2020-10-16T09:45:57.197Z] -> Uploading to [2020-10-16T09:45:57.197Z] [2020-10-16T09:45:57.197Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:45:57.197Z] Dload Upload Total Spent Left Speed [2020-10-16T09:45:57.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T09:45:57.197Z] X> Failed to upload [2020-10-16T09:45:57.197Z] ==> Uploading to Codecov [2020-10-16T09:45:57.197Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:45:57.197Z] Dload Upload Total Spent Left Speed [2020-10-16T09:45:57.777Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 3358 0 0 100 3247 0 6136 --:--:-- --:--:-- --:--:-- 6137 100 3358 100 111 100 3247 209 6132 --:--:-- --:--:-- --:--:-- 6126 [2020-10-16T09:45:57.777Z] View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7cbfbfcd05aa750d48f3c4c7b3a5a065a76a2fc0 [Pipeline] } [2020-10-16T09:45:57.789Z] 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 [2020-10-16T09:46:00.763Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:01.801Z] ---> package-listing.sh [2020-10-16T09:46:01.801Z] ++ facter osfamily [2020-10-16T09:46:01.801Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T09:46:02.102Z] + OS_FAMILY=redhat [2020-10-16T09:46:02.102Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-170 [2020-10-16T09:46:02.102Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T09:46:02.102Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T09:46:02.102Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T09:46:02.102Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T09:46:02.102Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' [2020-10-16T09:46:02.102Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T09:46:02.102Z] + case "${OS_FAMILY}" in [2020-10-16T09:46:02.102Z] + sort [2020-10-16T09:46:02.102Z] + rpm -qa [2020-10-16T09:46:06.445Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T09:46:06.445Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T09:46:06.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T09:46:06.445Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-170 ']' [2020-10-16T09:46:06.445Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ [2020-10-16T09:46:06.445Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-170/archives/ [Pipeline] echo [2020-10-16T09:46:06.463Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T09:46:06.818Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:46:07.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:46:07.769Z] [2020-10-16T09:46:07.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:46:08.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:46:08.219Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T09:46:08.219Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:46:08.219Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T09:46:08.219Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T09:46:08.219Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T09:46:08.219Z] 93b61091891f: Pulling fs layer [2020-10-16T09:46:08.219Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T09:46:08.219Z] 5e14af77c1be: Pulling fs layer [2020-10-16T09:46:08.219Z] 46f8f816bc3b: Waiting [2020-10-16T09:46:08.219Z] 93b61091891f: Waiting [2020-10-16T09:46:08.219Z] 93b9cdb0e59b: Waiting [2020-10-16T09:46:08.219Z] 01666e4c0597: Pulling fs layer [2020-10-16T09:46:08.219Z] aa168da1d23b: Pulling fs layer [2020-10-16T09:46:08.219Z] 5e14af77c1be: Waiting [2020-10-16T09:46:08.219Z] 01666e4c0597: Waiting [2020-10-16T09:46:08.219Z] aa168da1d23b: Waiting [2020-10-16T09:46:08.219Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T09:46:08.219Z] 36b3adc4ff6f: Download complete [2020-10-16T09:46:08.219Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T09:46:08.219Z] 46f8f816bc3b: Download complete [2020-10-16T09:46:08.490Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:46:08.490Z] 93b9cdb0e59b: Download complete [2020-10-16T09:46:08.490Z] 5e14af77c1be: Verifying Checksum [2020-10-16T09:46:08.490Z] 5e14af77c1be: Download complete [2020-10-16T09:46:08.490Z] 01666e4c0597: Verifying Checksum [2020-10-16T09:46:08.490Z] 01666e4c0597: Download complete [2020-10-16T09:46:08.490Z] 93b61091891f: Verifying Checksum [2020-10-16T09:46:08.490Z] 93b61091891f: Download complete [2020-10-16T09:46:09.517Z] df20fa9351a1: Pull complete [2020-10-16T09:46:09.518Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T09:46:09.518Z] 8ad3a11d3b57: Download complete [2020-10-16T09:46:10.139Z] 36b3adc4ff6f: Pull complete [2020-10-16T09:46:11.626Z] 8ad3a11d3b57: Pull complete [2020-10-16T09:46:11.626Z] 46f8f816bc3b: Pull complete [2020-10-16T09:46:12.226Z] 93b61091891f: Pull complete [2020-10-16T09:46:12.501Z] 93b9cdb0e59b: Pull complete [2020-10-16T09:46:12.501Z] 5e14af77c1be: Pull complete [2020-10-16T09:46:12.784Z] 01666e4c0597: Pull complete [2020-10-16T09:46:13.392Z] aa168da1d23b: Verifying Checksum [2020-10-16T09:46:13.392Z] aa168da1d23b: Download complete [2020-10-16T09:46:26.286Z] aa168da1d23b: Pull complete [2020-10-16T09:46:26.286Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T09:46:26.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:46:26.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T09:46:26.646Z] prd-centos7-docker-4c-2g-5860 does not seem to be running inside a container [2020-10-16T09:46:26.790Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-170 -v /w/workspace/gexfoundry_device-mqtt-go_PR-170:/w/workspace/gexfoundry_device-mqtt-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T09:46:30.864Z] $ docker top 8be58cf635cb5b0273102f67f8966e3499df7710da52e64bfb16b3be3e9dab7e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:46:31.694Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T09:46:32.109Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T09:46:32.561Z] + ls /var/log/sa-host [2020-10-16T09:46:32.561Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T09:46:32.561Z] file_magic: OK [2020-10-16T09:46:32.561Z] HZ: Using current value: 100 [2020-10-16T09:46:32.561Z] file_header: OK [2020-10-16T09:46:32.561Z] 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 [2020-10-16T09:46:32.561Z] Statistics: [2020-10-16T09:46:32.561Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:46:32.561Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T09:46:32.561Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T09:46:32.561Z] file_magic: OK [2020-10-16T09:46:32.561Z] HZ: Using current value: 100 [2020-10-16T09:46:32.561Z] file_header: OK [2020-10-16T09:46:32.561Z] 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 [2020-10-16T09:46:32.561Z] Statistics: [2020-10-16T09:46:32.561Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:46:32.561Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T09:46:32.818Z] provisioning config files... [2020-10-16T09:46:32.852Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-170@tmp/config1478040608181546070tmp [Pipeline] { [Pipeline] echo [2020-10-16T09:46:32.956Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:33.359Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T09:46:33.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T09:46:33.545Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:33.924Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T09:46:33.951Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:34.329Z] ---> sudo-logs.sh [2020-10-16T09:46:34.330Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T09:46:34.353Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:34.754Z] ---> job-cost.sh [2020-10-16T09:46:34.754Z] lf-activate-venv: SKIPPING [2020-10-16T09:46:34.754Z] INFO: No Stack... [2020-10-16T09:46:36.283Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T09:46:36.603Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T09:46:36.626Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:46:37.273Z] ---> logs-deploy.sh [2020-10-16T09:46:37.273Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-170/5 [2020-10-16T09:46:37.273Z] INFO: archiving workspace using pattern(s): [2020-10-16T09:46:40.325Z] Archives upload complete. [2020-10-16T09:46:40.325Z] INFO: archiving logs to Nexus